PageSourceSearch

https://www.anker.com/_next/static/chunks/pages/products/[slug]-9d0fc4cce9446b40.js

js anker.com collected 2026-10-01 08:44:00 UTC 5,371 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="5f202d81-5cfa-4708-a88b-987201a8d4cd",e._sentryDebugIdIdentifier="sentry-dbid-5f202d81-5cfa-4708-a88b-987201a8d4cd")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[17905],{221:function(e,n,l){(window.__NEXT_P=window.__NEXT_P||[]).push(["/products/[slug]",function(){return l(99969)}])},99969:function(e,n,l){"use strict";l.r(n),l.d(n,{__N_SSG:function(){return _},default:function(){return g}});var i=l(52676),o=l(75271),d=l(10293),t=l.n(d),a=l(90803),u=l(96496),r=l(70748),v=l(8239),c=l(38600),s=l(63073);l(73422),l(55369);let p=t()(()=>l.e(76045).then(l.bind(l,76045)),{loadableGenerated:{webpack:()=>[76045]}}),m={loading:()=>(0,i.jsx)("div",{className:"flex h-screen w-full items-center justify-center p-3 text-center",children:(0,i.jsx)(a.Z,{})})},f=t()(()=>Promise.all([l.e(37996),l.e(43102)]).then(l.bind(l,43102)),{loadableGenerated:{webpack:()=>[43102]},...m}),w=t()(()=>Promise.all([l.e(49129),l.e(69579)]).then(l.bind(l,69579)),{loadableGenerated:{webpack:()=>[69579]},...m});var _=!0,g=e=>{let{data:n}=(0,s.Z)(),{slug:l,metafields:d,locale:t}=e,{thirdparty:a}=d,{isScarabLoaded:m,isMkqLoaded:_}=(0,u.l8)(),g=(null==d?void 0:d.template)||l,y=(e,n)=>{var l;let i=n.find(n=>n.rules&&n.rules.some(n=>n(e)));return(null==i?void 0:i.templates)||(null===(l=n.find(e=>"Default"===e.name))||void 0===l?void 0:l.templates)};(0,o.useEffect)(()=>{var n,l,i,o;let{product:d}=e;(0,v.RC)({event:"eeEvent",eventCategory:"EnhancedEcommerce",eventAction:"Viewed Prodcut",eventLabel:null==d?void 0:null===(n=d.variants[0])||void 0===n?void 0:n.sku,nonInteraction:!0,ecommerce:{detail:{products:[{name:null==d?void 0:d.name,id:null==d?void 0:null===(l=d.variants[0])||void 0===l?void 0:l.sku,category:"",categoryName:null==d?void 0:d.productType,brand:null==d?void 0:d.vendor,variant:null==d?void 0:null===(i=d.variants[0])||void 0===i?void 0:i.name,price:null==d?void 0:null===(o=d.variants[0])||void 0===o?void 0:o.price,quantity:1}]}}})},[t,e]),(0,o.useEffect)(()=>{var n;let{product:l}=e;if((null===(n=window)||void 0===n?void 0:n.klaviyo)&&l){var i,o,d,t,a,u,r,v,s,p={ProductName:null==l?void 0:l.name,ProductID:(0,c.Ll)(null==l?void 0:l.id),SKU:null==l?void 0:null===(i=l.variants[0])||void 0===i?void 0:i.sku,Categories:null==l?void 0:l.productType,ImageURL:null==l?void 0:null===(d=l.variants[0])||void 0===d?void 0:null===(o=d.image)||void 0===o?void 0:o.url,url:window.location.href,Brand:null==l?void 0:l.vendor,Price:null==l?void 0:null===(t=l.variants[0])||void 0===t?void 0:t.price,CompareAtPrice:null==l?void 0:null===(a=l.variants[0])||void 0===a?void 0:a.listPrice};klaviyo.push(["track","Viewed Product",p]);let e={Title:null==l?void 0:l.name,ItemId:(0,c.Ll)(null==l?void 0:l.id),Categories:null==l?void 0:l.productType,ImageUrl:null==l?void 0:null===(r=l.variants[0])||void 0===r?void 0:null===(u=r.image)||void 0===u?void 0:u.url,Url:window.location.href,Metadata:{Brand:null==l?void 0:l.vendor,Price:null==l?void 0:null===(v=l.variants[0])||void 0===v?void 0:v.price,CompareAtPrice:null==l?void 0:null===(s=l.variants[0])||void 0===s?void 0:s.listPrice}};klaviyo.push(["trackViewedItem",e])}},[e]),(0,o.useEffect)(()=>{var n,l,i,o,d;let{product:t,locale:a}=e;if(!t||!_)return;let u="us"===a?"USD":"uk"===a?"GBP":"ca"===a?"CAD":"au"===a?"AUD":(null==a?void 0:a.includes("eu"))?"EUR":"USD",v=(0,c.Ll)(null==t?void 0:t.id),s=(null==t?void 0:null===(n=t.variants[0])||void 0===n?void 0:n.price)||0,p=(null==t?void 0:null===(l=t.variants[0])||void 0===l?void 0:l.listPrice)||s,m={value:p,currency:u,content_name:null==t?void 0:t.name,content_type:"product",content_ids:[v],contents:[{id:v,title:(null==t?void 0:t.name)||"",image_link:(null==t?void 0:null===(o=t.variants[0])||void 0===o?void 0:null===(i=o.image)||void 0===i?void 0:i.url)||(null==t?void 0:null===(d=t.images[0])||void 0===d?void 0:d.url)||"",link:window.location.href,price_amount:s,sale_price_amount:p,product_type:(null==t?void 0:t.productType)||"",google_product_category:(null==t?void 0:t.vendor)||"",quantity:1}]};(0,r.y)("ViewContent",m)},[e.product.id,e.locale,_]),(0,o.useEffect)(()=>{let{product:n}=e;if(m){var l,i,o;null===(o=window)||void 0===o||o.ScarabQueue.push(["view",(0,c.Ll)(null==n?void 0:null===(i=n.variants)||void 0===i?void 0:null===(l=i[0])||void 0===l?void 0:l.id)])}},[e,m]);let b=(0,o.useMemo)(()=>y(g,[{name:"Default",templates:(0,i.jsx)(f,{...e})},{name:"LightningCable",templates:(0,i.jsx)(w,{...e}),rules:[e=>"a8662"===e,e=>"a8663"===e]},{name:"A1294",templates:(0,i.jsx)(p,{...e}),rules:[e=>e&&(null==e?void 0:e.includes("a1294"))]}]),[g,e]);return(0,i.jsxs)(i.Fragment,{children:[b,(0,i.jsx)("style",{global:"true",children:"\n        .global_footer_layer {\n          padding-bottom: 120px !important;\n        }\n        @media (min-width: 1024px) {\n          .global_footer_layer {\n            padding-bottom: 80px !important;\n          }\n        }\n        \n        @media (max-width: 768px) {\n          :root {\n            --fw-player-margin: 65px 10px;\n          }\n        }\n      "})]})}},73422:function(){},55369:function(){}},function(e){e.O(0,[92888,49774,40179],function(){return e(e.s=221)}),_N_E=e.O()}]);

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.