<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">define(['underscore'],function(_){'use strict';return{formatAddressToPickupAddress:function(address){var sourceCode=_.findWhere(address.customAttributes,{'attribute_code':'sourceCode'});if(!sourceCode&amp;&amp;!_.isEmpty(address.extensionAttributes)&amp;&amp;address.extensionAttributes['pickup_location_code']){sourceCode={value:address.extensionAttributes['pickup_location_code']};}
if(sourceCode&amp;&amp;address.getType()!=='store-pickup-address'){address=_.extend({},address,{saveInAddressBook:0,canUseForBilling:function(){return false;},getType:function(){return'store-pickup-address';},getKey:function(){return this.getType()+sourceCode.value;}});}
return address;}};});</pre></body></html>