PageSourceSearch

https://www.ankeritaly.com/_next/static/chunks/9366-5200fccf910b2486.js

js ankeritaly.com collected 2026-09-30 12:54:41 UTC 17,726 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},l=(new e.Error).stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="c06c55c6-abb4-4ae1-897b-819e4ea1511f",e._sentryDebugIdIdentifier="sentry-dbid-c06c55c6-abb4-4ae1-897b-819e4ea1511f")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9366],{31976:function(e,l,t){"use strict";t.d(l,{b:function(){return d}});var i=t(52676),n=t(7684),o=t(14e3),a=t(44599);let d=e=>{var l,t,d,s,c,r,u,m,x,p,v,f,h,b,g,j;let{type:w,product:N,followCollection:y,collection:k,article:C}=e,{origin:_,getLocalizedPath:A}=(0,n.j)(),E=(0,a.L)();return(0,i.jsxs)(i.Fragment,{children:["product"===w&&N&&(0,i.jsx)(o.gR,{itemListElements:[{position:1,name:(null===(s=E.metafields)||void 0===s?void 0:null===(d=s.common)||void 0===d?void 0:null===(t=d.copywriting)||void 0===t?void 0:null===(l=t.breadcrumb)||void 0===l?void 0:l.home)||"Home",item:"".concat(_).concat(A({path:"/"}))},{position:2,name:null==y?void 0:y.title,item:"".concat(_).concat(A({path:"/collections/all"}))},{position:3,name:N.title,item:"".concat(_).concat(A({path:"/products/".concat(N.handle)}))}]}),"collection"===w&&k&&(0,i.jsx)(o.gR,{itemListElements:[{position:1,name:(null===(m=E.metafields)||void 0===m?void 0:null===(u=m.common)||void 0===u?void 0:null===(r=u.copywriting)||void 0===r?void 0:null===(c=r.breadcrumb)||void 0===c?void 0:c.all)||"All",item:"".concat(_).concat(A({path:"/"}))},{position:2,name:k.title,item:"".concat(_).concat(A({path:"/collections/".concat(k.handle)}))}]}),"article"===w&&C&&(0,i.jsx)(o.gR,{itemListElements:[{position:1,name:(null===(f=E.metafields)||void 0===f?void 0:null===(v=f.common)||void 0===v?void 0:null===(p=v.copywriting)||void 0===p?void 0:null===(x=p.breadcrumb)||void 0===x?void 0:x.home)||"Home",item:"".concat(_).concat(A({path:"/"}))},{position:2,name:null===(j=E.metafields)||void 0===j?void 0:null===(g=j.common)||void 0===g?void 0:null===(b=g.copywriting)||void 0===b?void 0:null===(h=b.breadcrumb)||void 0===h?void 0:h.blog,item:"".concat(_).concat(A({path:"/blogs"}))},{position:3,name:C.blog.title,item:"".concat(_).concat(A({path:"/blogs/".concat(C.blog.handle)}))}]})]})}},51324:function(e,l,t){"use strict";t.d(l,{c:function(){return s}});var i=t(52676),n=t(31976),o=t(44599),a=t(7684),d=t(8303);let s=e=>{var l,t,s,c,r,u,m,x;let{article:p,blog:v}=e,f=(0,o.L)(),{getLocalizedPath:h}=(0,a.j)(),b=e=>{let{href:l,children:t}=e;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(d.r,{className:"",href:l,children:t}),(0,i.jsx)("span",{className:"mx-[8px]",children:"/"})]})};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:"flex items-center py-[24px] text-[14px] font-semibold text-[#071d49] l:py-[16px]",children:[(0,i.jsx)(b,{href:"/",children:(null===(c=f.metafields)||void 0===c?void 0:null===(s=c.common)||void 0===s?void 0:null===(t=s.copywriting)||void 0===t?void 0:null===(l=t.breadcrumb)||void 0===l?void 0:l.home)||"Home"}),(0,i.jsx)(b,{href:"".concat(h({path:"/blogs"})),children:(null===(x=f.metafields)||void 0===x?void 0:null===(m=x.common)||void 0===m?void 0:null===(u=m.copywriting)||void 0===u?void 0:null===(r=u.breadcrumb)||void 0===r?void 0:r.blog)||"Blog Center"}),p&&(0,i.jsx)("div",{className:"",children:p.blog.title}),v&&(0,i.jsx)("div",{className:"",children:v.title})]}),(0,i.jsx)(n.b,{type:"article",article:p})]})}},2722:function(e,l,t){"use strict";t.d(l,{I:function(){return p}});var i=t(52676),n=t(51297),o=t(44599),a=t(95922),d=t(32355),s=t(4674),c=t(4716),r=t(75271),u=t(8303),m=t(87745),x=t(89086);let p=e=>{var l,t,p,v,f,h,b,g,j;let{product:w,containerClassName:N,hoverEffect:y=!0,targetBlank:k,onClick:C,buttonLoading:_,onButtonClick:A,isHideColor:E=!1}=e,L=(0,o.L)(),{title:M,subtitle:I,price:D,oldPrice:F,discountValue:P,soldOut:S,imageUrl:B,productOptions:T,selectedOptions:z,href:O}=w,H=(0,s.k)({amount:Number((null==D?void 0:D.amount)||0),baseAmount:Number(null==F?void 0:F.amount)||Number((null==D?void 0:D.amount)||0),currencyCode:(null==D?void 0:D.currencyCode)||"USD",soldOutDescription:null===(p=L.metafields)||void 0===p?void 0:null===(t=p.common)||void 0===t?void 0:null===(l=t.copywriting)||void 0===l?void 0:l.soldOut}),R=(0,r.useMemo)(()=>null==T?void 0:T.some(e=>c.d4.includes(e.name.toLowerCase())),[T]),U=(0,r.useMemo)(()=>(null==T?void 0:T.filter(e=>c.d4.includes(e.name.toLowerCase())).flatMap(e=>
1e.values.map(l=>({name:e.name,value:l.label}))))||[],[T]),q=(0,r.useMemo)(()=>null==z?void 0:z.find(e=>c.d4.includes(e.name.toLowerCase())),[z]);return(0,i.jsx)("div",{className:(0,d.A)("group flex w-full cursor-pointer flex-col overflow-hidden rounded-[10px] bg-white",N),children:(0,i.jsxs)("div",{className:"h-full",children:[(0,i.jsxs)("div",{className:"relative flex h-[272px] w-full max-w-full items-center justify-center rounded-[24px] md:h-[148px]",children:[(0,i.jsx)(u.r,{href:O,target:k?"_blank":"",className:"flex h-full w-full",onClick:()=>{C&&C()},children:(0,i.jsx)(m.t,{url:B,alt:M,className:"product-img h-full w-full",imgClassName:"size-full object-contain"})}),P&&(0,i.jsxs)("div",{className:(0,d.A)("absolute -left-[6px] top-[28px] min-w-[108px] items-center rounded-r-[20px] rounded-tl-[4px] bg-gradient-to-r from-[#83E4FF] to-[#15C5F7] px-[14px] py-[6px] text-white\n            md:-left-[5px] md:top-[16px] md:min-w-[68px] md:px-[8px] md:py-[6px]"),children:[(0,i.jsx)("div",{className:"absolute bottom-[1px] left-0 h-[6px] w-[6px] translate-y-full rounded-bl-full bg-[#18c1f1] md:h-[5px] md:w-[5px]"}),(0,i.jsx)("span",{className:"text-[20px] font-bold leading-none md:text-[14px]",children:P}),(0,i.jsxs)("span",{className:"text-[18px] font-medium leading-none md:text-[14px]",children:["\xa0",(null===(h=L.metafields)||void 0===h?void 0:null===(f=h.common)||void 0===f?void 0:null===(v=f.copywriting)||void 0===v?void 0:v.off)||""]})]})]}),(0,i.jsx)("div",{className:"product-info relative w-full px-[12px] pb-[20px] pt-[16px] text-[16px] font-medium md:mt-[12px] md:px-[8px] md:pb-[16px]",children:(0,i.jsxs)(u.r,{onClick:()=>{C&&C()},href:O,className:"ga-select flex w-full flex-col",target:k?"_blank":"",children:[(0,i.jsx)(n.X6,{className:(0,d.A)("font-medium leading-tight",I?"line-clamp-2 h-[20px] md:line-clamp-2 md:h-[40px]":"line-clamp-2 h-[40px]"),html:M,as:"h3"}),I&&(0,i.jsx)(n.xv,{className:"h-[20px] overflow-hidden text-ellipsis whitespace-nowrap text-[16px] font-normal text-[#777777] md:hidden",html:I}),(0,i.jsx)("div",{className:"mt-[8px] grid min-h-[18px] w-fit grid-flow-col gap-[8px]",children:!E&&R&&U.map((e,l)=>(0,i.jsx)(x.j,{color:e.value,selectedColor:null==q?void 0:q.value},l))}),(0,i.jsx)("div",{className:"item-price mt-[12px] flex h-[40px] items-center gap-[8px] text-[20px] font-medium md:mt-[6px] md:h-[36px] md:gap-[2px] md:text-[16px]",children:S?(0,i.jsx)("span",{className:"text-[#AAAAAA]",children:null===(j=L.metafields)||void 0===j?void 0:null===(g=j.common)||void 0===g?void 0:null===(b=g.copywriting)||void 0===b?void 0:b.soldOut}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("span",{className:"",children:H.price}),H.basePrice&&(0,i.jsx)("span",{className:"item-old-price text-[16px] text-[#AAAAAA] line-through md:text-[13px]",children:H.basePrice})]})}),(0,i.jsx)("div",{className:(0,d.A)("absolute bottom-0 left-0 z-[2] mb-[20px] mt-[12px] h-[40px] w-full px-[12px] md:mb-[16px] md:mt-[6px] md:flex md:h-[36px] md:justify-end x:flex",{"!hidden":S,"!flex":_,"min-x:hidden min-x:group-hover:flex":y}),children:(0,i.jsxs)(n.zx,{className:"flex h-full w-full items-center justify-center gap-[10px] rounded-[30px] bg-brand p-0 text-[20px] text-white md:h-[36px] md:w-[36px]",loading:_,onClick:e=>{A&&(e.preventDefault(),e.stopPropagation(),A())},children:[(0,i.jsx)(a.Z,{className:"h-[22px] w-[22px]"}),(0,i.jsx)("span",{className:"inline-block md:hidden",children:H.price})]})})]})})]})})}},4529:function(e,l,t){"use strict";t.d(l,{B:function(){return d}});var i=t(52676),n=t(51297),o=t(8303),a=t(87745);t(75271);let d=e=>{let{data:l,origin:t}=e,d=l.url.includes("?")?"".concat(l.url,"&ref=").concat(t):"".concat(l.url,"?ref=").concat(t);return(0,i.jsxs)(o.r,{className:"relative mb-[36px] flex h-[80px] w-full items-center overflow-hidden rounded-[10px] p-[24px] md-l:justify-center",style:{background:"linear-gradient(103.91deg, #17BBEF 0.7%, #A4E9FF 116.99%)"},href:d,children:[(0,i.jsx)(n.xv,{as:"div",html:l.text,className:"relative z-1 text-[26px] font-bold text-white"}),l.bg?(0,i.jsx)(a.t,{url:l.bg,className:"absolute left-0 top-0 z-0 h-full w-full",imgClassName:"w-full h-full object-cover"}):(0,i.jsx)(a.t,{url:l.icon,className:"absolute bottom-0 right-[-12px] flex h-[62px] w-[74px] items-center justify-center md-l
1:right-[60px]",imgClassName:"w-full h-full object-cover"})]})}},95194:function(e,l,t){"use strict";t.d(l,{a:function(){return c}});var i=t(52676),n=t(9385),o=t(23638),a=t(48576),d=t(37156),s=t(75271);let c=e=>{var l,t;let{navData:c,blogList:r}=e,{showMoreNum:u=5}=c,{locale:m}=(0,d.useRouter)(),[x,p]=(0,s.useState)(!1),[v,f]=(0,s.useState)(!1),h=(0,s.useCallback)(e=>null==r?void 0:r.find(l=>e===(null==l?void 0:l.handle)),[r]),[b,g]=(0,s.useMemo)(()=>{var e;let l=null==c?void 0:null===(e=c.blogHandles)||void 0===e?void 0:e.map(e=>h(e)||{});if((null==l?void 0:l.length)>u){let e=l.splice(3);return[l,e]}return[l,[]]},[h,null==c?void 0:c.blogHandles,u]);return(0,i.jsxs)("div",{className:"w-full l:relative",children:[(0,i.jsx)("div",{className:"mx-auto w-auto md:bg-[#f7f8fa] l:w-full",children:(0,i.jsxs)("div",{className:"relative flex flex-wrap items-center justify-between border-b border-b-[#e2e2e2] py-[14px]",children:[(0,i.jsx)("a",{className:"block text-[24px] font-bold l:text-[16px]",href:"it"===m?"/blogs":"/".concat(m,"/blogs"),children:(null==c?void 0:c.title)||"Blog Center"}),(0,i.jsx)("div",{className:"flex h-full items-center l:hidden",children:(0,i.jsxs)("div",{className:"flex h-full gap-8",children:[null==b?void 0:b.map((e,l)=>(0,i.jsx)("a",{className:"flex h-full items-center text-[16px] font-medium text-[#071d49] hover:text-black l:mr-[20px] l:text-[14px]",href:"it"===m?"/blogs/".concat(null==e?void 0:e.handle):"/".concat(m,"/blogs/").concat(null==e?void 0:e.handle),children:null==e?void 0:e.title},l)),!!g.length&&(0,i.jsxs)("div",{className:"relative",children:[(0,i.jsx)("a",{className:"flex h-full items-center text-[16px] font-medium text-[#071d49] hover:text-black l:text-[14px]",onMouseEnter:()=>p(!0),onMouseLeave:()=>p(!1),children:(null==c?void 0:c.othersLabel)||"Others"}),(0,i.jsx)(o.M,{children:x&&(0,i.jsx)(a.E.div,{className:"absolute right-0 top-12 z-10 rounded bg-white py-1",initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},transition:{duration:.2},onMouseLeave:()=>p(!1),children:null==g?void 0:g.map((e,l)=>(0,i.jsx)("a",{className:" block whitespace-nowrap bg-white px-6 text-left text-2xl font-medium leading-[46px] text-[#071d49] transition-all duration-200 ease-in-out hover:text-black l:text-base",href:"it"===m?"/blogs/".concat(null==e?void 0:e.handle):"/".concat(m,"/blogs/").concat(null==e?void 0:e.handle),children:null==e?void 0:e.title},"nav-blog-".concat(l)))})})]})]})}),(0,i.jsx)("div",{className:"hidden l:block",children:(0,i.jsxs)("div",{className:"flex items-center justify-center gap-1",onClick:()=>f(!v),children:[(0,i.jsx)("span",{children:(null==c?void 0:c.allLabel)||"All"}),(0,i.jsx)(n.J,{className:"h-4 w-4",name:"arrow-down"})]})})]})}),(0,i.jsx)(o.M,{children:v&&(0,i.jsx)(a.E.div,{className:"hidden bg-[#f7f8fa] l:absolute l:bottom-0 l:left-0 l:z-[2] l:block l:w-full l:translate-y-full",children:(0,i.jsx)(a.E.div,{className:"flex w-full flex-col overflow-hidden pb-4",initial:{height:0},animate:{height:"auto"},exit:{height:0},transition:{duration:.3,delayChildren:.05},children:null===(t=b.concat(g))||void 0===t?void 0:null===(l=t.map)||void 0===l?void 0:l.call(t,(e,l)=>(0,i.jsx)("a",{className:"h-[50px] w-full border-b border-b-[#f2f2f2] text-center text-[16px] font-medium leading-[50px]",href:"it"===m?"/blogs/".concat(null==e?void 0:e.handle):"/".concat(m,"/blogs/").concat(null==e?void 0:e.handle),children:null==e?void 0:e.title},"nav-blog-".concat(l)))})})})]})}},49706:function(e,l,t){"use strict";t.d(l,{x:function(){return g}});var i=t(52676),n=t(47108),o=t(12306),a=t(77977),d=t(90968),s=t(69317),c=t(4716),r=t(91087),u=t(75271),m=t(2722),x=t(79270),p=t(35869),v=t(37156);let f=e=>{let{product:l={}}=e,{pathname:t}=(0,v.useRouter)(),n=(0,u.useMemo)(()=>t.split("/").filter(Boolean).pop()||"Home Page",[t]),o=(0,x.N)({onSuccess(e){(0,p.DU)({event:"ga4Event",event_name:"begin_checkout",event_parameters:{page_group:n,item_list_name:"".concat(n,"_Bundle"),currency:null==l?void 0:l.price.currencyCode,value:null==l?void 0:l.price.amount,items:[{item_id:null==l?void 0:l.sku,item_name:null==l?void 0:l.title,item_brand:"ankernordics",item_category:null==l?void 0:l.productType,item_variant:null==l?void 0:l.variant.title,price:null==l?void 0:l.price.amount,quantity:1}]}})}}),a=(0,u.useCallback)(()=>{o.trigger({lineItems:[{quantity:1,variantId:l.id,customAttributes:[]}],customAttributes:[],discountCode:l.discountCode})},[o,l]);return(0,i.jsx)(m.I,{hoverEffect:!1,product:l,buttonLoading:o.isMutating,onButtonClick:a})};var h=t(99888),b=t.n(h);let g=e=>{let{products:l=[]}=e,{data:t=[]}=(0,s.G)({handles:l.map(e=>e.handle)||[],metafieldIdentifiers:{product:a.P,variant:d.N}}),m=e=>!e.availableForSale||e.price>=c.Ag,x=e=>{let l=e.href;return l||(l="/products/".concat(e.product.handle,"?variant=").concat((0,o.Ll)(e.id))),l},p=(0,u.useMemo)(()=>t.map(e=>{var t,i;let{sku:n=""}=l.find(l=>l.handle===e.handle),o=e.variants.find(e=>{var l;return(null===(l=e.sku)||void 0===l?void 0:l.toLowerCase())===n.toLowerCase()});return o||(o=e.variants[0]),{...e,variant:o,id:o.id,title:e.title,handle:e.handle,subtitle:"",price:e.price,oldPrice:"",sku:null==o?void 0:o.sku,soldOut:m(o),href:x(o),imageUrl:(null==o?void 0:null===(t=o.image)||void 0===t?void 0:t.url)||(null==e?void 0:null===(i=e.featuredImage)||void 0===i?void 0:i.url),productOptions:e.options,selectedOptions:[{name:"Color",value:(null==o?void 0:o.title)||""}]}}),[t,l]),v=(0,n.X)({skus:p.map(e=>e.sku)}),h=(0,u.useMemo)(()=>p.map(e=>{let{variant:l}=e;if(!l)return e;{var t,i;let n=null===(i=v.data)||void 0===i?void 0:null===(t=i[e.sku])||void 0===t?void 0:t.find(l=>l.handle===e.handle),o=(0,r.t)({variant:l,couponDiscount:n})||{},{price:a}=e;return{...e,oldPrice:a,discountCode:(null==n?void 0:n.title)||"",price:{...a,amount:(null==o?void 0:o.finalPrice)||a.amount}}}}),[p,v]);return(0,i.jsx)("div",{className:"blog-recommends-products",children:(0,i.jsx)("div",{className:"flex flex-col gap-[24px]",children:h&&h.map((e,l)=>(0,i.jsx)("div",{className:b().recommendItems,children:(0,i.jsx)(f,{product:e},l)},l))})})}},82396:function(e,l,t){"use strict";t.d(l,{J:function(){return d}});
1var i=t(52676),n=t(51297),o=t(82187),a=t.n(o);t(75271);let d=e=>{let{title:l,className:t}=e;return l&&(0,i.jsx)(n.xv,{as:"div",className:a()(t,"mb-[24px] border-black py-[10px] text-[26px] font-bold l:text-center l:text-[24px] min-l:border-b-1"),html:l})}},54732:function(e,l,t){"use strict";t.d(l,{x:function(){return u}});var i=t(52676),n=t(51297),o=t(44599),a=t(16606),d=t(75795),s=t(82187),c=t.n(s),r=t(75271);let u=e=>{let{data:l={},type:t,dealsType:s}=e,u=(0,o.L)(),m=(0,r.useMemo)(()=>{var e,l;return(null===(l=u.metafields)||void 0===l?void 0:null===(e=l.common)||void 0===e?void 0:e.copywriting)||{}},[u]),[x,p]=(0,r.useState)(""),[v,f]=(0,r.useState)(""),[h,b]=(0,r.useState)(""),[g,j]=(0,r.useState)(!1),w=(0,a.n)(),N=(0,r.useRef)();(0,r.useEffect)(()=>()=>{N.current&&clearTimeout(N.current)},[]);let y=()=>x?(0,d.D)(x)?g?void _():k("agreePolicy"):k("errEmail"):k("fillEmail"),k=(0,r.useCallback)(e=>{f(m[e]||""),N.current&&clearTimeout(N.current),N.current=setTimeout(()=>{f("")},5e3)},[m]),C=(0,r.useCallback)(e=>{f(""),"success"===e?b((null==l?void 0:l.success)||(null==m?void 0:m.success)||""):"fail"===e&&f(m.error||""),p(""),j(!1),N.current=setTimeout(()=>{b(""),f("")},5e3)},[l,m]),_=(0,r.useCallback)(async()=>{w.trigger({email:x,dealsType:s||(null==l?void 0:l.dealsType)||"blog"},{onSuccess(){C("success")}})},[x,l,w,s,C]);return(0,i.jsxs)("section",{className:c()("side"===t&&"w-full"),children:[(0,i.jsx)("div",{className:c()("flex w-full flex-col items-center l:mb-[20px]","side"===t&&"w-full"),children:(0,i.jsxs)("div",{className:c()("flex gap-[12px] l:w-full l:flex-col l:gap-[20px]","side"===t&&"max-w-full flex-col"),children:[(0,i.jsx)("input",{className:"h-[52px] w-[338px] max-w-full rounded-[70px] border-1 border-[#ccc] px-[24px] text-[16px] font-medium text-black placeholder:text-[16px] focus:border-[#ccc] focus-visible:outline-none l:w-full",placeholder:(null==l?void 0:l.buttonPlaceholder)||(null==m?void 0:m.usePlaceholders),value:x,onChange:e=>{var l;return p(null===(l=e.target.value)||void 0===l?void 0:l.trim())},onKeyDown:e=>{"Enter"===e.key&&y()}}),(0,i.jsx)(n.zx,{type:"submit",variant:"primary",loading:w.isMutating,className:"h-[52px] px-[24px] text-[16px] font-semibold l:w-full",onClick:y,children:(null==l?void 0:l.button)||(null==m?void 0:m.subscribeBtnText)})]})}),(0,i.jsx)("div",{className:"mt-[8px] text-[#777]",children:(0,i.jsxs)("div",{className:"checkbox flex items-start gap-[8px]",onClick:()=>j(!g),children:[(0,i.jsx)("input",{className:"mt-[4px]",type:"checkbox",readOnly:!0,checked:g}),(0,i.jsx)(n.xv,{as:"div",className:"md:text-[14px] [&_a]:underline",html:(null==m?void 0:m.policyText)||""})]})}),(0,i.jsx)(n.xv,{as:"div",className:c()(v&&"text-[#ee3749]",h&&"text-brand"),html:h||v})]})}},99888:function(e){e.exports={recommendItems:"styles_recommendItems__VHiYv"}}}]);

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.