1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="3890a1bc-030e-4c0a-a169-7a889e98eb30",e._sentryDebugIdIdentifier="sentry-dbid-3890a1bc-030e-4c0a-a169-7a889e98eb30")}catch(e){}("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"a1914b02daa8c613ead1e27da03d97f802f0ebde"};(self.webpackChunkinvisiblefence=self.webpackChunkinvisiblefence||[]).push([[8700],{24564:function(e,t,n){n.d(t,{A:function(){return r}});var a=n(28610),o=n(45655);function r(){const{tt:e}=(0,a.useUiComponentsInternationalContext)(),t={[o.ShopifyCountriesEnum.CANADA]:e(e=>e.countriesListCommon.canada),[o.ShopifyCountriesEnum.AUSTRALIA]:e(e=>e.countriesListCommon.australia),[o.ShopifyCountriesEnum.AUSTRIA]:e(e=>e.countriesListCommon.austria),[o.ShopifyCountriesEnum.BELGIUM]:e(e=>e.countriesListCommon.belgium),[o.ShopifyCountriesEnum.CZECHIA]:e(e=>e.countriesListCommon.czechia),[o.ShopifyCountriesEnum.DENMARK]:e(e=>e.countriesListCommon.denmark),[o.ShopifyCountriesEnum.FINLAND]:e(e=>e.countriesListCommon.finland),[o.ShopifyCountriesEnum.FRANCE]:e(e=>e.countriesListCommon.france),[o.ShopifyCountriesEnum.GERMANY]:e(e=>e.countriesListCommon.germany),[o.ShopifyCountriesEnum.HONG_KONG]:e(e=>e.countriesListCommon.hongKong),[o.ShopifyCountriesEnum.IRELAND]:e(e=>e.countriesListCommon.ireland),[o.ShopifyCountriesEnum.ITALY]:e(e=>e.countriesListCommon.italy),[o.ShopifyCountriesEnum.JAPAN]:e(e=>e.countriesListCommon.japan),[o.ShopifyCountriesEnum.NETHERLANDS]:e(e=>e.countriesListCommon.netherlands),[o.ShopifyCountriesEnum.NEW_ZEALAND]:e(e=>e.countriesListCommon.newZealand),[o.ShopifyCountriesEnum.PORTUGAL]:e(e=>e.countriesListCommon.portugal),[o.ShopifyCountriesEnum.ROMANIA]:e(e=>e.countriesListCommon.romania),[o.ShopifyCountriesEnum.SINGAPORE]:e(e=>e.countriesListCommon.singapore),[o.ShopifyCountriesEnum.SPAIN]:e(e=>e.countriesListCommon.spain),[o.ShopifyCountriesEnum.SWEDEN]:e(e=>e.countriesListCommon.sweden),[o.ShopifyCountriesEnum.SWITZERLAND]:e(e=>e.countriesListCommon.switzerland),[o.ShopifyCountriesEnum.UNITED_KINGDOM]:e(e=>e.countriesListCommon.unitedKingdom),[o.ShopifyCountriesEnum.UNITED_STATES]:e(e=>e.countriesListCommon.unitedStates)};return{getLocalizedCountryName:e=>{var n;return null!==(n=null==t?void 0:t[e])&&void 0!==n?n:e}}}},31358:function(e,t,n){n.r(t),n.d(t,{default:function(){return B}});var a=n(14041),o=n(93910),r=n(11352),l=n(36923),s=n(2359),i=n(38475),d=n(28610),u=n(34064),m=n(1335),c=n(41204),p=n(45655),E=n(80435),v=n(24564);var f=function({data:e}){const{tt:t}=(0,d.useUiComponentsInternationalContext)(),n=(0,a.use)(c.U6),r=(0,a.use)(o.C),l=(null==n?void 0:n.currency)||"USD",s=(0,p.useLocalizedNavigation)(),{getLocalizedCountryName:i}=(0,v.A)();return a.createElement("div",null,a.createElement("p",null,t(e=>e.addressCommon.addressDeletionConfirmationText)),a.createElement("div",{className:"bg-muted p-4 my-4 mx-0 border border-border"},a.createElement("p",null,a.createElement("strong",null,null==e?void 0:e.firstName," ",null==e?void 0:e.lastName)),(null==e?void 0:e.company)&&a.createElement("p",null,null==e?void 0:e.company),(null==e?void 0:e.address1)&&a.createElement("p",null,null==e?void 0:e.address1),(null==e?void 0:e.address2)&&a.createElement("p",null,null==e?void 0:e.address2),a.createElement("p",null,null==e?void 0:e.city,", ",null==e?void 0:e.province," ",null==e?void 0:e.zip),a.createElement("p",null,i(null==e?void 0:e.country)),(null==e?void 0:e.phone)&&a.createElement("span",null,t(e=>e.addressCommon.phoneLabelInAccountAddress)," ",null==e?void 0:e.phone)),a.createElement(E.$,{type:"button",className:"mr-2",onClick:async()=>{await r.deleteAddress(e.id).then(()=>s((0,m.A)({slug:"/account/addresses",currency:l}),{state:{activeForm:{name:"addressList",data:{},refresh:!0}}}))}},t(e=>e.buttonCommon.deleteButton))," ",a.createElement(E.$,{type:"button",onClick:()=>s((0,m.A)({slug:"/account/addresses",currency:l}),{state:{activeForm:{name:"addressList",data:{},refresh:!1}}}),variant:"secondary"},t(e=>e.buttonCommon.cancelButton)))};
1var C=function({data:e}){const{tt:t}=(0,d.useUiComponentsInternationalContext)(),n=(0,a.use)(c.U6),r=(0,a.use)(o.C),l=(null==n?void 0:n.currency)||"USD",s=(0,p.useLocalizedNavigation)(),{getLocalizedCountryName:i}=(0,v.A)();return a.createElement("div",null,a.createElement("p",null,t(e=>e.orderCommon.shouldThisBeDefaultAddressQuestion)),a.createElement("div",{className:"bg-muted p-4 my-4 mx-0 border border-border"},a.createElement("p",null,a.createElement("strong",null,null==e?void 0:e.firstName," ",null==e?void 0:e.lastName)),(null==e?void 0:e.company)&&a.createElement("p",null,null==e?void 0:e.company),(null==e?void 0:e.address1)&&a.createElement("p",null,null==e?void 0:e.address1),(null==e?void 0:e.address2)&&a.createElement("p",null,null==e?void 0:e.address2),a.createElement("p",null,null==e?void 0:e.city,", ",null==e?void 0:e.province," ",null==e?void 0:e.zip),a.createElement("p",null,i(null==e?void 0:e.country)),(null==e?void 0:e.phone)&&a.createElement("span",null,t(e=>e.addressCommon.phoneLabelInAccountAddress)," ",null==e?void 0:e.phone)),a.createElement(E.$,{type:"button",className:"mr-2",onClick:async()=>{await r.updateCustomerDefaultAddress(e.id).then(()=>s((0,m.A)({slug:"/account/addresses",currency:l}),{state:{activeForm:{name:"addressList",data:{},refresh:!0}}}))}},t(e=>e.addressCommon.makeDefaultButton))," ",a.createElement(E.$,{type:"button",onClick:()=>s((0,m.A)({slug:"/account/addresses",currency:l}),{state:{activeForm:{name:"addressList",data:{},refresh:!1}}})},t(e=>e.buttonCommon.cancelButton)))},y=n(24440),h=n(87983),b=n(14606),g=n(59501),A=n(89626),N=n(32868),L=n(28414),S=n(16230);const D={"United States":["Alabama","Alaska","American Samoa","Arizona","Arkansas","Armed Forces Americas","Armed Forces Europe","Armed Forces Pacific","California","Colorado","Connecticut","Delaware","District of Columbia","Federated States Of Micronesia","Florida","Georgia","Guam","Hawaii","Idaho","Illinois","Indiana","Iowa","Kansas","Kentucky","Louisiana","Maine","Marshall Islands","Maryland","Massachusetts","Michigan","Minnesota","Mississippi","Missouri","Montana","Nebraska","Nevada","New Hampshire","New Jersey","New Mexico","New York","North Carolina","North Dakota","Northern Mariana Islands","Ohio","Oklahoma","Oregon","Palau","Pennsylvania","Puerto Rico","Rhode Island","South Carolina","South Dakota","Tennessee","Texas","Utah","Vermont","Virgin Islands","Virginia","Washington","West Virginia","Wisconsin","Wyoming"],Canada:["Alberta","British Columbia","Manitoba","New Brunswick","Newfoundland and Labrador","Northwest Territories","Nova Scotia","Nunavut","Ontario","Prince Edward Island","Quebec","Saskatchewan","Yukon Territory"]};function I(){const{locale:e,tt:t}=(0,d.useUiComponentsInternationalContext)(),n=(0,L.Zg)(),o=(0,a.useCallback)(({label:e})=>t(e=>e.accountFormCommon.fieldRequiredValidationMessage,{label:e}),[t]),r=(()=>{const{locale:e}=(0,d.useUiComponentsInternationalContext)();return e===p.GLOBAL_LOCALES.English.id||e===p.GLOBAL_LOCALES.EnglishCanada.id||e===p.GLOBAL_LOCALES.FrenchCanada.id?[p.ShopifyCountriesEnum.UNITED_STATES,p.ShopifyCountriesEnum.CANADA]:[p.ShopifyCountriesEnum.AUSTRALIA,p.ShopifyCountriesEnum.AUSTRIA,p.ShopifyCountriesEnum.BELGIUM,p.ShopifyCountriesEnum.CZECHIA,p.ShopifyCountriesEnum.DENMARK,p.ShopifyCountriesEnum.FINLAND,p.ShopifyCountriesEnum.FRANCE,p.ShopifyCountriesEnum.GERMANY,p.ShopifyCountriesEnum.HONG_KONG,p.ShopifyCountriesEnum.IRELAND,p.ShopifyCountriesEnum.ITALY,p.ShopifyCountriesEnum.JAPAN,p.ShopifyCountriesEnum.NETHERLANDS,p.ShopifyCountriesEnum.NEW_ZEALAND,p.ShopifyCountriesEnum.PORTUGAL,p.ShopifyCountriesEnum.ROMANIA,p.ShopifyCountriesEnum.SINGAPORE,p.ShopifyCountriesEnum.SPAIN,p.ShopifyCountriesEnum.SWEDEN,p.ShopifyCountriesEnum.SWITZERLAND,p.ShopifyCountriesEnum.UNITED_KINGDOM]})();let l={firstName:{defaultValue:"",validation:n.string().trim().requiredLocalized(o).label(t(e=>e.accountFormCommon.firstNameLabel))},lastName:{defaultValue:"",validation:n.string().trim().requiredLocalized(o).label(t(e=>e.accountFormCommon.lastNameLabel))},company:{defaultValue:"",validation:n.string().trim().label(t(e=>e.addressCommon.companyLabel)).nullable()},phone:{defaultValue:"",validation:n.string().nullable().testLocalized("phone",({label:e})=>t(e=>e.accountFormCommon.fieldInvalidValueValidationMessage,{label:e}),e=>!((null==e?void 0:e.length)>0)||(0,N.h1)(e)).label(t(e=>e.accountFormCommon.phoneNumberLabel))},address1:{defaultValue:"",validation:n.string().trim().requiredLocalized(o).label(t(e=>e.addressCommon.addressLine1Label))},address2:{defaultValue:"",validation:n.string().trim().nullable().label(t(e=>e.addressCommon.addressLine2Label))},city:{defaultValue:"",validation:n.string().trim().requiredLocalized(o).label(t(e=>e.addressCommon.cityLabel))}
1,country:{values:r,defaultValue:p.LOCALIZED_SHOPIFY_COUNTRIES[e],validation:n.string().trim().requiredLocalized(o).label(t(e=>e.addressCommon.countryLabel))},zip:{defaultValue:"",validation:n.string().trim().requiredLocalized(o).label(t(e=>e.addressCommon.zipPostcodeLabel))}};var s;return["en-us","en-ca","fr-ca"].includes(e)&&(s={province:{defaultValue:"",validation:n.string().trim().requiredLocalized(o).label(t(e=>e.addressCommon.stateProvinceLabel))}},l={...l,...s}),{fieldsSettings:l,fieldsDefaultValues:Object.keys(l).reduce((e,t)=>{var n;return{...e,[t]:null===(n=l[t])||void 0===n?void 0:n.defaultValue}},{}),fieldsValidation:Object.keys(l).reduce((e,t)=>{var n;return{...e,[t]:null===(n=l[t])||void 0===n?void 0:n.validation}},{})}}const w={},x=()=>a.createElement("span",{className:"text-sm text-red-500 contents"}," *"),k=({children:e})=>a.createElement(A.gC,{ref:e=>{e&&(e.ontouchstart=e=>e.preventDefault())}},e),F=({id:e,label:t,register:n,errorMessage:o,required:r=!1})=>a.createElement("div",{className:"my-4 md:max-w-[60%]"},a.createElement(b.J,{htmlFor:e,className:"flex flex-col gap-1 text-lg"},a.createElement("span",null,t,r&&a.createElement(x,null)),a.createElement(g.p,Object.assign({type:"text",name:e,id:e},n(e)))),o&&a.createElement(S.X,null,o));var M=function({data:e=w,action:t}){var n,r,l,s,i,u,f,C,M,U,T,O,z,V,R,P;const{tt:_}=(0,d.useUiComponentsInternationalContext)(),G=(0,L.Zg)(),B=(0,a.use)(c.U6),q=(0,a.use)(o.C),H=(null==B?void 0:B.currency)||"USD",W=(0,p.useLocalizedNavigation)(),{fieldsSettings:$,fieldsDefaultValues:K,fieldsValidation:Z}=I(),{getLocalizedCountryName:j}=(0,v.A)(),Y="editAddress"===t?{...e}:K,{0:J,1:X}=(0,a.useState)(Y.country),{0:Q,1:ee}=(0,a.useState)(Y.province),te=(0,a.useMemo)(()=>G.object().shape(Z),[Z,G]),{register:ne,handleSubmit:ae,control:oe,setValue:re,formState:{errors:le}}=(0,y.mN)({mode:"all",defaultValues:Y,resolver:(0,h.t)(te)});return a.createElement("form",{onSubmit:ae((e,n)=>{n.preventDefault(),delete e.__typename,delete e.name,delete e.id,delete e.country_code,"newAddress"===t&&q.addAddress(e).then(()=>{W((0,m.A)({slug:"/account/addresses",currency:H}),{state:{activeForm:{name:"addressList",data:{},refresh:!0}}})}),"editAddress"===t&&(void 0===e.phone&&(e.phone=""),q.editAddress(Y.id,e).then(()=>{W((0,m.A)({slug:"/account/addresses",currency:H}),{state:{activeForm:{name:"addressList",data:{},refresh:!0}}})}))})},$.firstName&&a.createElement(F,{id:"firstName",label:_(e=>e.accountFormCommon.firstNameLabel),register:ne,errorMessage:null===(n=le.firstName)||void 0===n?void 0:n.message,required:!0}),$.lastName&&a.createElement(F,{id:"lastName",label:_(e=>e.accountFormCommon.lastNameLabel),register:ne,errorMessage:null===(r=le.lastName)||void 0===r?void 0:r.message,required:!0}),$.company&&a.createElement(F,{id:"company",label:_(e=>e.addressCommon.companyNameLabel),register:ne,errorMessage:null===(l=le.company)||void 0===l?void 0:l.message}),$.phone&&a.createElement("div",{className:"my-4 md:max-w-[60%]"},a.createElement(b.J,{htmlFor:"phone",className:"flex flex-col gap-1 text-lg"},a.createElement("span",null,_(e=>e.accountFormCommon.phoneNumberLabel)),a.createElement(N.Ay,{inputComponent:g.p,placeholder:_(e=>e.accountFormCommon.phoneNumPlaceholder),value:Y.phone,onChange:e=>re("phone",e,{shouldValidate:!0}),id:"phone",control:oe})),(null===(s=le.phone)||void 0===s?void 0:s.message)&&a.createElement(S.X,null,null===(i=le.phone)||void 0===i?void 0:i.message)),$.address1&&a.createElement(F,{id:"address1",label:_(e=>e.addressCommon.addressLine1Label),register:ne,errorMessage:null===(u=le.address1)||void 0===u?void 0:u.message,required:!0}),$.address2&&a.createElement(F,{id:"address2",label:_(e=>e.addressCommon.addressLine2Label),register:ne,errorMessage:null===(f=le.address2)||void 0===f?void 0:f.message}),$.city&&a.createElement(F,{id:"city",label:_(e=>e.addressCommon.cityLabel),register:ne,errorMessage:null===(C=le.city)||void 0===C?void 0:C.message,required:!0}),$.country&&a.createElement("div",{className:"my-4 md:max-w-[60%]"},a.createElement(b.J,{htmlFor:"country",className:"flex flex-col gap-1 text-lg"},a.createElement("span",null,_(e=>e.addressCommon.countryLabel)," ",a.createElement(x,null)),a.createElement(A.l6,{name:"country",value:J||void 0,onValueChange:e=>{X(e),ee(""),re("country",e,{shouldDirty:!0,shouldValidate:!0}),re("province","",{shouldDirty:!0,shouldValidate:!0})}},a.createElement(A.s3,{id:"country"},a.createElement(A.bq,{className:"w-full",hasError:!(null===(M=le.country)||void 0===M||!M.message)},a.createElement(A.yv,{placeholder:_(e=>e.addressCommon.chooseCountryDefaultSelectOption)})),a.createElement(k,null,$.country.values.map(e=>a.createElement(A.eb,{value:e,key:e},j(e)))))),a.createElement("input",Object.assign({type:"hidden"},ne("country")))),(null===(U=le.country)||void 0===U?void 0:U.message)&&a.createElement(S.X,null,null===(T=le.country)||void 0===T?void 0:T.message)),$.province&&a.createElement("div",{className:"my-4 md:max-w-[60%]"},a.createElement(b.J,{htmlFor:"province",className:"flex flex-col gap-1 text-lg"},a.createElement("span",null,_(e=>e.addressCommon.stateProvinceLabel)," ",a.createElement(x,null)),a.createElement(A.l6,{name:"province",value:Q||void 0,onValueChange:e=>{ee(e),re("province",e,{shouldDirty:!0,shouldValidate:!0})}},a.createElement(A.s3,{id:"province"},a.createElement(A.bq,{className:"w-full",hasError:!(null===(O=le.province)||void 0===O||!O.message)},a.createElement(A.yv,{placeholder:"Choose a State/Province"})),a.createElement(k,null,null===(z=D[J||"United States"])||void 0===z?void 0:z.map(e=>a.createElement(A.eb,{value:e,key:e},e))))),a.createElement("input",Object.assign({type:"hidden"},ne("province")))),(null===(V=le.province)||void 0===V?void 0:V.message)&&a.createElement(S.X,null,null===(R=le.province)||void 0===R?void 0:R.message)),$.zip&&a.createElement(F,{id:"zip",label:_(e=>e.addressCommon.zipPostcodeLabel),register:ne,errorMessage:null===(P=le.zip)||void 0===P?void 0:P.message,required:!0}),a.createElement(E.$,{type:"submit",className:"mb-4"},_(e=>e.addressCommon.saveAddressButton)),a.createElement("br",null),a.createElement(E.$,{type:"button",onClick:e=>{e.preventDefault(),W((0,m.A)({slug:"/account/addresses",currency:H}),{state:{activeForm:{name:"addressList",data:{},refresh:!1}}})},variant:"secondary",className:"mb-4"},_(e=>e.buttonCommon.cancelButton)))};var U=function({node:e,isDefaultAddress:t}
1){const{tt:n}=(0,d.useUiComponentsInternationalContext)(),o=(0,a.use)(c.U6),r=(null==o?void 0:o.currency)||"USD",l=(0,p.useLocalizedNavigation)(),{getLocalizedCountryName:s}=(0,v.A)();return a.createElement("div",{key:e.id,className:"flex flex-col bg-muted border border-border p-6 min-h-[inherit] md:p-4 [&>p:last-of-type]:mb-6"},a.createElement("p",{className:"m-0 p-0 mb-1 border-0"},a.createElement("strong",null,null==e?void 0:e.firstName," ",null==e?void 0:e.lastName),t&&` ${n(e=>e.addressCommon.defaultAddress)}`),(null==e?void 0:e.company)&&a.createElement("p",{className:"m-0 p-0 mb-1 border-0"},e.company),(null==e?void 0:e.address1)&&a.createElement("p",{className:"m-0 p-0 mb-1 border-0"},e.address1),(null==e?void 0:e.address2)&&a.createElement("p",{className:"m-0 p-0 mb-1 border-0"},e.address2),a.createElement("p",{className:"m-0 p-0 mb-1 border-0"},null==e?void 0:e.city," ",null==e?void 0:e.province),a.createElement("p",{className:"m-0 p-0 mb-1 border-0"},null==e?void 0:e.zip),a.createElement("p",{className:"m-0 p-0 mb-1 border-0"},s(null==e?void 0:e.country)),(null==e?void 0:e.phone)&&a.createElement("p",{className:"m-0 p-0 mb-1 border-0"},e.phone),a.createElement("div",{className:"flex gap-4 flex-col mt-auto md:flex-row"},a.createElement(E.$,{type:"button",onClick:t=>{t.preventDefault(),l((0,m.A)({slug:"/account/addresses?view=edit",currency:r}),{state:{activeForm:{name:"editAddress",data:e}}})}},n(e=>e.buttonCommon.editButton)),!t&&a.createElement(E.$,{type:"button",onClick:t=>{t.preventDefault(),l((0,m.A)({slug:"/account/addresses?view=make-default",currency:r}),{state:{activeForm:{name:"setDefaultAddress",data:e}}})}},n(e=>e.addressCommon.makeDefaultButton)),a.createElement(E.$,{type:"button",onClick:t=>{t.preventDefault(),l((0,m.A)({slug:"/account/addresses?view=delete",currency:r}),{state:{activeForm:{name:"deleteAddress",data:e}}})},variant:"secondary"},n(e=>e.buttonCommon.deleteButton))))};var T=function(){const{tt:e}=(0,d.useUiComponentsInternationalContext)(),t=(0,a.use)(c.U6),n=(null==t?void 0:t.currency)||"USD",o=(0,p.useLocalizedNavigation)();return a.createElement("div",{className:"flex justify-start border-transparent md:justify-center md:items-center md:w-full md:border md:border-border md:p-6 md:text-center md:bg-muted"},a.createElement(E.$,{type:"button",className:"",onClick:e=>{e.preventDefault(),o((0,m.A)({slug:"/account/addresses#new-address",currency:n}),{state:{activeForm:{name:"newAddress",data:{}}}})}},e(e=>e.addressCommon.addNewAddressButton)))};const O="undefined"!=typeof globalThis;function z({form:e}){var t;const{tt:n}=(0,d.useUiComponentsInternationalContext)(),r=(0,a.use)(o.C),{0:l,1:s}=(0,a.useState)(null),{0:m,1:c}=(0,a.useState)(""),p=(0,a.useCallback)(async()=>{if(O)try{const{customerAddresses:e}=await r.fetchCustomerAddresses();if(!e)return;s(e)}catch(e){console.error("Something went wrong",e),c(n(e=>e.addressCommon.somethingWentWrongMessage))}},[r,n]);switch((0,a.useEffect)(()=>{p()},[p]),null==e?void 0:e.name){case"newAddress":return a.createElement(M,{data:{},action:"newAddress"});case"editAddress":return a.createElement(M,{data:null==e?void 0:e.data,action:"editAddress"});case"deleteAddress":return a.createElement(f,{data:null==e?void 0:e.data});case"setDefaultAddress":return a.createElement(C,{data:null==e?void 0:e.data});default:return a.createElement(a.Fragment,null,m&&a.createElement("p",null,m),!m&&!l&&a.createElement(u.A,{className:"sso-login-spinner-container"},a.createElement(i.wC,{height:60,width:60,wrapperClass:"[&>svg]:stroke-primary"})),l&&a.createElement("div",{className:"grid gap-6 wrap-break-word md:grid-cols-2"},null==l||null===(t=l.addresses)||void 0===t?void 0:t.edges.map(({node:e})=>{var t;const n=(null==l||null===(t=l.defaultAddress)||void 0===t?void 0:t.id)===(null==e?void 0:e.id);return a.createElement(U,{key:e.id,node:e,isDefaultAddress:n})}),a.createElement(T,null)))}}var V=function({state:e}){var t;const n=null!=e&&null!==(t=e.activeForm)&&void 0!==t&&t.refresh?"refresh":"default";return a.createElement(z,{key:n,form:null==e?void 0:e.activeForm})},R=n(58361),P=n(48222),_=n(80832);function G({state:e={}}){const{siteSettings:t}=(0,a.useContext)(r.O);return a.createElement(l.A,null,a.createElement("h1",null,t.addressesPageHeadline),a.createElement("p",null,t.addressesPageSubHeadline),a.createElement(V,{state:null!=e?e:{activeForm:{name:"addressList",data:{}}}}))}var B=function({location:e}){const t=(0,a.useContext)(o.C);return t.isAuthenticated(),a.createElement(_.A,{location:e,headTagData:{title:"Account - Addresses | Invisible Fence",description:"",meta:(0,s.A)({title:"Account - Addresses | Invisible Fence",description:"",url:"/account/addresses"},"invisiblefence")}},t.customer.isAuthenticated&&a.createElement(a.Fragment,null,a.createElement(R.A,null,a.createElement(P.A,{elements:[{text:"Home",link:"/"},{text:"Account",link:"/account"},{text:"Addresses",link:"/account/addresses"}]}
1)),a.createElement(G,{state:null==e?void 0:e.state})),!t.customer.isAuthenticated&&a.createElement("div",null,"Loading..."))}}}]); 2//# sourceMappingURL=component---src-page-templates-account-addresses-tsx-9a8eb1f32468328cb1d4.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.