1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="59d90d64-0e17-bc17-5e54-14c0a15e09ef")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,47988,e=>{"use strict";function t(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function n(e){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?t(Object(i),!0).forEach(function(t){var n,r,a;n=e,r=t,a=i[t],(r=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=typeof i)return i;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(r))in n?Object.defineProperty(n,r,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[r]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):t(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}function i(e){return"span"===e._type&&"text"in e&&"string"==typeof e.text&&(typeof e.marks>"u"||Array.isArray(e.marks)&&e.marks.every(e=>"string"==typeof e))}function r(e){return"string"==typeof e._type&&"@"!==e._type[0]&&(!("markDefs"in e)||!e.markDefs||Array.isArray(e.markDefs)&&e.markDefs.every(e=>"string"==typeof e._key))&&"children"in e&&Array.isArray(e.children)&&e.children.every(e=>"object"==typeof e&&"_type"in e)}function a(e){return r(e)&&"listItem"in e&&"string"==typeof e.listItem&&(typeof e.level>"u"||"number"==typeof e.level)}function o(e){return"@list"===e._type}function l(e){return"@span"===e._type}function s(e){return"@text"===e._type}let c=["strong","em","code","underline","strike-through"];function d(e,t,n){if(!i(e)||!e.marks||!e.marks.length)return[];let r=e.marks.slice(),a={};return r.forEach(e=>{a[e]=1;for(let r=t+1;r<n.length;r++){let t=n[r];if(t&&i(t)&&Array.isArray(t.marks)&&-1!==t.marks.indexOf(e))a[e]++;else break}}),r.sort((e,t)=>(function(e,t,n){let i=e[t],r=e[n];if(i!==r)return r-i;let a=c.indexOf(t),o=c.indexOf(n);return a!==o?a-o:t.localeCompare(n)})(a,e,t))}function u(e,t,n){return{_type:"@list",_key:`${e._key||`${t}`}-parent`,mode:n,level:e.level||1,listItem:e.listItem,children:[e]}}function f(e,t){let n=t.level||1,r=t.listItem||"normal",a="string"==typeof t.listItem;if(o(e)&&(e.level||1)===n&&a&&(e.listItem||"normal")===r)return e;if(!("children"in e))return;let l=e.children[e.children.length-1];return l&&!i(l)?f(l,t):void 0}var m=e.i(262757),p=e.i(291911);let h=["block","list","listItem","marks","types"],v=["listItem"],g=["_key"];function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function x(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach(function(t){var i,r,a;i=e,r=t,a=n[t],(r=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=typeof i)return i;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(r))in i?Object.defineProperty(i,r,{value:a,enumerable:!0,configurable:!0,writable:!0}):i[r]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function k(e,t){if(null==e)return{};var n,i,r=function(e,t){if(null==e)return{};var n,i,r={},a=Object.keys(e);for(i=0;i<a.length;i++)n=a[i],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function _(e,t,n){let i=t[n],r=e[n];return"function"==typeof i||i&&"function"==typeof r?i:i?x(x({},r),i):r}let b={textDecoration:"underline"},w=(e,t)=>"[@portabletext/react] Unknown ".concat(e,", specify a component for it in the `components.").concat(t,"` prop"),j=e=>w('block type "'.concat(e,'"'),"types");function N(e){console.warn(e)}let O={display:"none"},S={types:{},block:{normal:e=>{let{children:t}=e;return(0,m.jsx)("p",{children:t})},blockquote:e=>{let{children:t}=e;return(0,m.jsx)("blockquote",{children:t})},h1:e=>{let{children:t}=e;return(0,m.jsx)("h1",{children:t})},h2:e=>{let{children:t}=e;return(0,m.jsx)("h2",{children:t})},h3:e=>{let{children:t}=e;return(0,m.jsx)("h3",{children:t})},h4:e=>{let{children:t}=e;return(0,m.jsx)("h4",{children:t})},h5:e=>{let{children:t}=e;return(0,m.jsx)("h5",{children:t})},h6:e=>{let{children:t}=e;return(0,m.jsx)("h6",{children:t})}},marks:{em:e=>{let{children:t}=e;return(0,m.jsx)("em",{children:t})},strong:e=>{let{children:t}=e;return(0,m.jsx)("strong",{children:t})},code:e=>{let{children:t}=e;return(0,m.jsx)("code",{children:t})},underline:e=>{let{children:t}=e;return(0,m.jsx)("span",{style:b,children:t})},"strike-through":e=>{let{children:t}=e;return(0,m.jsx)("del",{children:t})},link:e=>{let{children:t,value:n}=e;return(0,m.jsx)("a",{href:null==n?void 0:n.href,children:t})}},list:{number:e=>{let{children:t}=e;return(0,m.jsx)("ol",{children:t})},bullet:e=>{let{children:t}=e;return(0,m.jsx)("ul",{children:t})}},listItem:e=>{let{children:t}=e;return(0,m.jsx)("li",{children:t})},hardBreak:()=>(0,m.jsx)("br",{}),unknownType:e=>{let{value:t,isInline:n}=e,i=j(t._type);return n?(0,m.jsx)("span",{style:O,children:i}):(0,m.jsx)("div",{style:O,children:i})},unknownMark:e=>{let{markType:t,children:n}=e;return(0,m.jsx)("span",{className:"unknown__pt__mark__".concat(t),children:n})},unknownList:e=>{let{children:t}=e;return(0,m.jsx)("ul",{children:t})},unknownListItem:e=>{let{children:t}=e;return(0,m.jsx)("li",{children:t})},unknownBlockStyle:e=>{let{children:t}=e;return(0,m.jsx)("p",{children:t})}};function I(e){let{node:t,index:n,isInline:r,renderNode:a}=e,o=(function(e){var t,n;let{children:r}=e,a=null!=(t=e.markDefs)?t:[];if(!r||!r.length)return[];let o=r.map(d),l={_type:"@span",children:[],markType:"<unknown>"},s=[l];for(let e=0;e<r.length;e++){let t=r[e];if(!t)continue;let l=o[e]||[],c=1;if(s.length>1)for(;c<s.length;c++){let e=(null==(n=s[c])?void 0:n.markKey)||"",t=l.indexOf(e);if(-1===t)break;l.splice(t,1)}let d=(s=s.slice(0,c))[s.length-1];if(d){for(let e of l){let n=null==a?void 0:a.find(t=>t._key===e),i=n?n._type:e,r={_type:"@span",_key:t._key,children:[],markDef:n,markType:i,markKey:e};d.children.push(r),s.push(r),d=r}if(i(t)){let e=t.text.split(` 3`);for(let t=e.length;t-- >1;)e.splice(t,0,` 4`);d.children=d.children.concat(e.map(e=>
4({_type:"@text",text:e})))}else d.children=d.children.concat(t)}}return l.children})(t).map((e,t)=>a({node:e,isInline:!0,index:t,renderNode:a}));return{_key:t._key||"block-".concat(n),children:o,index:n,isInline:r,node:t}}function C(){}e.s(["PortableText",0,function(e){let{value:t,components:i,listNestingMode:c,onMissingComponent:d=N}=e,y=d||C,b=function(e,t){let i,r=[];for(let s=0;s<e.length;s++){let c=e[s];if(c){var o,l;if(!a(c)){r.push(c),i=void 0;continue}if(!i){i=u(c,s,t),r.push(i);continue}if(o=c,l=i,(o.level||1)===l.level&&o.listItem===l.listItem){i.children.push(c);continue}if((c.level||1)>i.level){let e=u(c,s,t);if("html"===t){let t=i.children[i.children.length-1],r=n(n({},t),{},{children:[...t.children,e]});i.children[i.children.length-1]=r}else i.children.push(e);i=e;continue}if((c.level||1)<i.level){let e=r[r.length-1],n=e&&f(e,c);if(n){(i=n).children.push(c);continue}i=u(c,s,t),r.push(i);continue}if(c.listItem!==i.listItem){let e=r[r.length-1],n=e&&f(e,{level:c.level||1});if(n&&n.listItem===c.listItem){(i=n).children.push(c);continue}i=u(c,s,t),r.push(i);continue}console.warn("Unknown state encountered for block",c),r.push(c)}}return r}(Array.isArray(t)?t:[t],c||"html"),O=(0,p.useMemo)(()=>i?function(e,t){let{block:n,list:i,listItem:r,marks:a,types:o}=t,l=k(t,h);return x(x({},e),{},{block:_(e,t,"block"),list:_(e,t,"list"),listItem:_(e,t,"listItem"),marks:_(e,t,"marks"),types:_(e,t,"types")},l)}(S,i):S,[i]),P=(0,p.useMemo)(()=>{var e,t;return e=O,t=y,function n(i){var c,d,u,f,p,h,y,_;let b,N,{node:O,index:S,isInline:C}=i,P=O._key||"node-".concat(S);return o(O)?function(i,r,a){let o=i.children.map((e,t)=>n({node:e._key?e:x(x({},e),{},{_key:"li-".concat(r,"-").concat(t)}),index:t,isInline:!1,renderNode:n})),l=e.list,s=("function"==typeof l?l:l[i.listItem])||e.unknownList;if(s===e.unknownList){let e=i.listItem||"bullet";t(w('list style "'.concat(e,'"'),"list"),{nodeType:"listStyle",type:e})}return(0,m.jsx)(s,{value:i,index:r,isInline:!1,renderNode:n,children:o},a)}(O,S,P):a(O)?function(i,r,a){let o=I({node:i,index:r,isInline:!1,renderNode:n}),l=e.listItem,s=("function"==typeof l?l:l[i.listItem])||e.unknownListItem;if(s===e.unknownListItem){let e=i.listItem||"bullet";t(w('list item style "'.concat(e,'"'),"listItem"),{type:e,nodeType:"listItemStyle"})}let c=o.children;if(i.style&&"normal"!==i.style){let{listItem:e}=i;c=n({node:k(i,v),index:r,isInline:!1,renderNode:n})}return(0,m.jsx)(s,{value:i,index:r,isInline:!1,renderNode:n,children:c},a)}(O,S,P):l(O)?function(i,r){let{markDef:a,markType:o,markKey:c}=i,d=e.marks[o]||e.unknownMark,u=i.children.map((e,t)=>n({node:e,index:t,isInline:!0,renderNode:n}));return d===e.unknownMark&&t(w('mark type "'.concat(o,'"'),"marks"),{nodeType:"mark",type:o}),(0,m.jsx)(d,{text:function e(t){let n="";return t.children.forEach(t=>{s(t)?n+=t.text:l(t)&&(n+=e(t))}),n}(i),value:a,markType:o,markKey:c,renderNode:n,children:u},r)}(O,P):O._type in e.types?(c=O,d=S,u=P,f=C,(b=e.types[c._type])?(0,m.jsx)(b,x({},{value:c,isInline:f,index:d,renderNode:n}),u):null):r(O)?function(i,r,a,o){let l=I({node:i,index:r,isInline:o,renderNode:n}),{_key:s}=l,c=k(l,g),d=c.node.style||"normal",u=("function"==typeof e.block?e.block:e.block[d])||e.unknownBlockStyle;return u===e.unknownBlockStyle&&t(w('block style "'.concat(d,'"'),"block"),{nodeType:"blockStyle",type:d}),(0,m.jsx)(u,x(x({},c),{},{value:c.node,renderNode:n}),a)}(O,S,P,C):s(O)?function(t,n){if("\n"===t.text){let t=e.hardBreak;return t?(0,m.jsx)(t,{},n):"\n"}return t.text}(O,P):(p=O,h=S,y=P,_=C,t(j(p._type),{nodeType:"block",type:p._type}),N=e.unknownType,(0,m.jsx)(N,x({},{value:p,isInline:_,index:h,renderNode:n}),y))}},[O,y]),L=b.map((e,t)=>P({node:e,index:t,isInline:!1,renderNode:P}));return(0,m.jsx)(m.Fragment,{children:L})}],47988)},987450,e=>{"use strict";var t={0:8203,1:8204,2:8205,3:8290,4:8291,5:8288,6:65279,7:8289,8:119155,9:119156,a:119157,b:119158,c:119159,d:119160,e:119161,f:119162},n={0:8203,1:8204,2:8205,3:65279},i=[,,,,].fill(String.fromCodePoint(n[0])).join("");Object.fromEntries(Object.entries(n).map(e=>e.reverse())),Object.fromEntries(Object.entries(t).map(e=>e.reverse()));var r=`${Object.values(t).map(e=>`\\u{${e.toString(16)}}`).join("")}`,a=RegExp(`[${r}]{4,}`,"gu");e.s(["C",0,function(e,t,r="auto"){let a;return!0===r||"auto"===r&&(!(!Number.isNaN(Number(e))||/[a-z]/i.test(e)&&!/\d+(?:[-:\/]\d+){2}(?:T\d+(?:[-:\/]\d+){1,2}(\.\d+)?Z?)?/.test(e))&&Date.parse(e)||function(e){try{new URL(e,e.startsWith("/")?"https://acme.com":void 0)}catch{return!1}return!0}(e))?e:`${e}${a=JSON.stringify(t),`${i}${Array.from(a).map(e=>{let t=e.charCodeAt(0);if(t>255)throw Error(`Only ASCII edit info can be encoded. Error attempting to encode ${a} on character ${e} (${t})`);return Array.from(t.toString(4).padStart(4,"0")).map(e=>String.fromCodePoint(n[e])).join("")}).join("")}`}`},"stegaClean",0,function(e){var t,n;return e&&JSON.parse({cleaned:(t=JSON.stringify(e)).replace(a,""),encoded:(null==(n=t.match(a))?void 0:n[0])||""}.cleaned)}])},383328,(e,t,n)=>{e.e,t.exports=function(){function e(){return(e=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}var n="image-Tb9Ew8CXIwaY6R1kjMvI0uRR-2000x3000-jpg";function i(e){return("image-"+e.split("/").slice(-1)[0]).replace(/\.([a-z]+)$/,"-$1")}var r=[["width","w"],["height","h"],["format","fm"],["download","dl"],["blur","blur"],["sharpen","sharp"],["
4invert","invert"],["orientation","or"],["minHeight","min-h"],["maxHeight","max-h"],["minWidth","min-w"],["maxWidth","max-w"],["quality","q"],["fit","fit"],["crop","crop"],["saturation","sat"],["auto","auto"],["dpr","dpr"],["pad","pad"]],a=["clip","crop","fill","fillmax","max","scale","min"],o=["top","bottom","left","right","center","focalpoint","entropy"],l=["format"],s=function(){function s(t,n){this.options=void 0,this.options=t?e({},t.options||{},n||{}):e({},n||{})}var c=s.prototype;return c.withOptions=function(n){var i=n.baseUrl||this.options.baseUrl,a={baseUrl:i};for(var o in n)n.hasOwnProperty(o)&&(a[function(e){for(var n,i=function(e){var n="u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e){if(e){if("string"==typeof e)return t(e,void 0);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return t(e,void 0)}}(e))){n&&(e=n);var i=0;return function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(r);!(n=i()).done;){var a=n.value,o=a[0],l=a[1];if(e===o||e===l)return o}return e}(o)]=n[o]);return new s(this,e({baseUrl:i},a))},c.image=function(e){return this.withOptions({source:e})},c.dataset=function(e){return this.withOptions({dataset:e})},c.projectId=function(e){return this.withOptions({projectId:e})},c.bg=function(e){return this.withOptions({bg:e})},c.dpr=function(e){return this.withOptions(e&&1!==e?{dpr:e}:{})},c.width=function(e){return this.withOptions({width:e})},c.height=function(e){return this.withOptions({height:e})},c.focalPoint=function(e,t){return this.withOptions({focalPoint:{x:e,y:t}})},c.maxWidth=function(e){return this.withOptions({maxWidth:e})},c.minWidth=function(e){return this.withOptions({minWidth:e})},c.maxHeight=function(e){return this.withOptions({maxHeight:e})},c.minHeight=function(e){return this.withOptions({minHeight:e})},c.size=function(e,t){return this.withOptions({width:e,height:t})},c.blur=function(e){return this.withOptions({blur:e})},c.sharpen=function(e){return this.withOptions({sharpen:e})},c.rect=function(e,t,n,i){return this.withOptions({rect:{left:e,top:t,width:n,height:i}})},c.format=function(e){return this.withOptions({format:e})},c.invert=function(e){return this.withOptions({invert:e})},c.orientation=function(e){return this.withOptions({orientation:e})},c.quality=function(e){return this.withOptions({quality:e})},c.forceDownload=function(e){return this.withOptions({download:e})},c.flipHorizontal=function(){return this.withOptions({flipHorizontal:!0})},c.flipVertical=function(){return this.withOptions({flipVertical:!0})},c.ignoreImageParams=function(){return this.withOptions({ignoreImageParams:!0})},c.fit=function(e){if(-1===a.indexOf(e))throw Error('Invalid fit mode "'+e+'"');return this.withOptions({fit:e})},c.crop=function(e){if(-1===o.indexOf(e))throw Error('Invalid crop mode "'+e+'"');return this.withOptions({crop:e})},c.saturation=function(e){return this.withOptions({saturation:e})},c.auto=function(e){if(-1===l.indexOf(e))throw Error('Invalid auto mode "'+e+'"');return this.withOptions({auto:e})},c.pad=function(e){return this.withOptions({pad:e})},c.url=function(){return function(t){var a=e({},t||{}),o=a.source;delete a.source;var l=function(t){var n,r;if(!t)return null;if("string"==typeof t&&(r=t,/^https?:\/\//.test(""+r)))n={asset:{_ref:i(t)}};else if("string"==typeof t)n={asset:{_ref:t}};else if(t&&"string"==typeof t._ref)n={asset:t};else if(t&&"string"==typeof t._id)n={asset:{_ref:t._id||""}};else if(t&&t.asset&&"string"==typeof t.asset.url)n={asset:{_ref:i(t.asset.url)}};else{if("object"!=typeof t.asset)return null;n=e({},t)}return t.crop&&(n.crop=t.crop),t.hotspot&&(n.hotspot=t.hotspot),function(t){if(t.crop&&t.hotspot)return t;var n=e({},t);return n.crop||(n.crop={left:0,top:0,bottom:0,right:0}),n.hotspot||(n.hotspot={x:.5,y:.5,height:1,width:1}),n}(n)}(o);if(!l)throw Error("Unable to resolve image URL from source ("+JSON.stringify(o)+")");var s=function(e){var t=e.split("-"),i=t[1],r=t[2],a=t[3];if(!i||!r||!a)throw Error("Malformed asset _ref '"+e+"'. Expected an id like \""+n+'".');var o=r.split("x"),l=o[0],s=o[1],c=+l,d=+s;if(!(isFinite(c)&&isFinite(d)))throw Error("Malformed asset _ref '"+e+"'. Expected an id like \""+n+'".');return{id:i,width:c,height:d,format:a}}(l.asset._ref||l.asset._id||""),c=Math.round(l.crop.left*s.width),d=Math.round(l.crop.top*s.height),u={left:c,top:d,width:Math.round(s.width-l.crop.right*s.width-c),height:Math.round(s.height-l.crop.bottom*s.height-d)},f=l.hotspot.height*s.height/2,m=l.hotspot.width*s.width/2,p=l.hotspot.x*s.width,h=l.hotspot.y*s.height;return a.rect||a.focalPoint||a.ignoreImageParams||a.crop||(a=e({}
4,a,function(e,t){var n,i=t.width,r=t.height;if(!(i&&r))return{width:i,height:r,rect:e.crop};var a=e.crop,o=e.hotspot,l=i/r;if(a.width/a.height>l){var s=Math.round(a.height),c=Math.round(s*l),d=Math.max(0,Math.round(a.top)),u=Math.max(0,Math.round(Math.round((o.right-o.left)/2+o.left)-c/2));u<a.left?u=a.left:u+c>a.left+a.width&&(u=a.left+a.width-c),n={left:u,top:d,width:c,height:s}}else{var f=a.width,m=Math.round(f/l),p=Math.max(0,Math.round(a.left)),h=Math.max(0,Math.round(Math.round((o.bottom-o.top)/2+o.top)-m/2));h<a.top?h=a.top:h+m>a.top+a.height&&(h=a.top+a.height-m),n={left:p,top:h,width:f,height:m}}return{width:i,height:r,rect:n}}({crop:u,hotspot:{left:p-m,top:h-f,right:p+m,bottom:h+f}},a))),function(e){var t=(e.baseUrl||"https://cdn.sanity.io").replace(/\/+$/,""),n=e.asset.id+"-"+e.asset.width+"x"+e.asset.height+"."+e.asset.format,i=t+"/images/"+e.projectId+"/"+e.dataset+"/"+n,a=[];if(e.rect){var o=e.rect,l=o.left,s=o.top,c=o.width,d=o.height;(0!==l||0!==s||d!==e.asset.height||c!==e.asset.width)&&a.push("rect="+l+","+s+","+c+","+d)}e.bg&&a.push("bg="+e.bg),e.focalPoint&&(a.push("fp-x="+e.focalPoint.x),a.push("fp-y="+e.focalPoint.y));var u=[e.flipHorizontal&&"h",e.flipVertical&&"v"].filter(Boolean).join("");return(u&&a.push("flip="+u),r.forEach(function(t){var n=t[0],i=t[1];void 0!==e[n]?a.push(i+"="+encodeURIComponent(e[n])):void 0!==e[i]&&a.push(i+"="+encodeURIComponent(e[i]))}),0===a.length)?i:i+"?"+a.join("&")}(e({},a,{asset:s}))}(this.options)},c.toString=function(){return this.url()},s}();return function(e){if(e&&"config"in e&&"function"==typeof e.config){var t=e.config(),n=t.apiHost,i=t.projectId,r=t.dataset;return new s(null,{baseUrl:(n||"https://api.sanity.io").replace(/^https:\/\/api\./,"https://cdn."),projectId:i,dataset:r})}if(e&&"clientConfig"in e&&"object"==typeof e.clientConfig){var a=e.clientConfig,o=a.apiHost,l=a.projectId,c=a.dataset;return new s(null,{baseUrl:(o||"https://api.sanity.io").replace(/^https:\/\/api\./,"https://cdn."),projectId:l,dataset:c})}return new s(null,e)}}()},808609,e=>{"use strict";let t;var n=e.i(919915),i=e.i(383328);e.s(["urlFor",0,function(e){return(t??=(0,i.default)((0,n.getSanityClient)())).image(e).auto("format").dpr(2).quality(75)}])},587590,e=>{"use strict";e.i(999331),e.s([])},999331,e=>{"use strict";var t=e.i(262757),n=e.i(748922),i=e.i(789365),r=e.i(632139),a=e.i(451915),o=e.i(899929),l=e.i(907796);function s(e){let r,a,s,d,m,p=(0,n.c)(17),{href:h,openInNewTab:v,children:g}=e;p[0]!==h?(r=h.startsWith("mailto:"),p[0]=h,p[1]=r):r=p[1];let y=r;p[2]!==h||p[3]!==y?(a=y?u(h):void 0,p[2]=h,p[3]=y,p[4]=a):a=p[4];let x=a,k=!y&&!c(h),_=v||k?"_blank":void 0,b=k?"noreferrer noopener":void 0;p[5]!==h?(s=()=>(0,l.trackInternalNavigationClick)({scope:l.InternalNavigationScope.MAIN_CONTENT,nextPage:(0,o.getTrackingNextPage)(h)}),p[5]=h,p[6]=s):s=p[6];let w=s,j=k?void 0:w;return p[7]!==y?(d=y&&(0,t.jsx)(f,{}),p[7]=y,p[8]=d):d=p[8],p[9]!==g||p[10]!==h||p[11]!==x||p[12]!==b||p[13]!==j||p[14]!==d||p[15]!==_?(m=(0,t.jsxs)(i.TextLink,{inline:!0,href:h,rel:b,target:_,"aria-label":x,className:"text-text-link underline",onClick:j,"data-sentry-element":"TextLink","data-sentry-component":"LinkComponent","data-sentry-source-file":"link-component.tsx",children:[g,d]}),p[9]=g,p[10]=h,p[11]=x,p[12]=b,p[13]=j,p[14]=d,p[15]=_,p[16]=m):m=p[16],m}let c=e=>d().some(t=>e.startsWith(t)),d=()=>{let{currentUrlBase:e}=r.clientConfig.general;return[e,e.replace("www.","")]},u=e=>{let t=e.slice(7).split("?")[0];return t?decodeURIComponent(t):void 0};function f(){let e,i=(0,n.c)(1);return i[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)("span",{className:"sr-only","data-sentry-component":"MailToHint","data-sentry-source-file":"link-component.tsx",children:((e={})=>(a.experimentalStaticLocale??e.locale??(0,a.getLocale)(),"(abre o teu cliente de e-mail)"))()}),i[0]=e):e=i[0],e}var m=e.i(684973),p=e.i(47988),h=e.i(615379);e.s(["RichTextComponent",0,e=>{let i,r,a,o=(0,n.c)(6),{itemSections:l,skipTopMargin:c}=e;o[0]!==c?(i=c,r={block:{normal:({children:e})=>(0,t.jsx)("p",{children:e}),h2:({children:e,value:n,index:r})=>(0,t.jsx)(m.Text,{variant:"Display4",component:"h2",className:(0,h.default)(i&&0===r?"mt-0":"mt-150","scroll-mt-[6rem]"),id:n._key,children:e}),h3:({children:e,index:n})=>(0,t.jsx)(m.Text,{variant:"HeadingXXL",component:"h3",className:i&&0===n?"mt-0":"mt-50",children:e}),h4:({children:e,index:n})=>(0,t.jsx)(m.Text,{variant:"HeadingMedium",className:(0,h.default)(i&&0===n?"mt-0":"mt-50"),children:e}),t2:({children:e,index:n})=>(0,t.jsx)(m.Text,{variant:"Display4",component:"p",className:i&&0===n?"mt-0":"mt-150",children:e}),t3:({children:e,index:n})=>(0,t.jsx)(m.Text,{variant:"HeadingXXL",component:"p",className:i&&0===n?"mt-0":"mt-50",children:e}),t4:({children:e,index:n})=>(0,t.jsx)(m.Text,{variant:"HeadingMedium",component:"p",className:(0,h.default)(i&&0===n?"mt-0":"mt-50"),children:e}),bodyLargeText:({children:e})=>(0,t.jsx)(m.Text,{variant:"BodyLarge",children:e})},marks:{link:({children:e,value:n})=>(0,t.jsx)(s,{href:n.href,openInNewTab:n.blank,children:e})},list:{bullet:({children:e})=>(0,t.jsx)("ul",{className:"list-inside list-disc pl-100",children:e}),number:({children:e})=>(0,t.jsx)("ol",{className:"list-inside list-decimal pl-100",children:e})}},o[0]=c,o[1]=r):r=o[1];let d=r,u=null==l?void 0:l[0];if(!l||!u)return null;let f="parent-"+u._key;return o[2]!==d||o[3]!==l||o[4]!==f?(a=(0,t.jsx)(p.PortableText,{value:l,components:d,"data-sentry-element":"PortableText","data-sentry-component":"RichTextComponent","data-sentry-source-file":"rich-text-component.tsx"},f),o[2]=d,o[3]=l,o[4]=f,o[5]=a):a=o[5],a}],999331)},134999,996888,e=>{"use strict";var t,n=e.i(262757),i=e.i(748922),r=e.i(398198);e.i(908169);var a=e.i(596909),o=e.i(642159),l=e.i(987157),s=e.i(991669),c=e.i(964154),d=e.i(166090),u=e.i(409930),f=e.i(239626),m=e.i(621686),p=e.i(443270);let h=(e,t,n)=>(n||t)/(1-e/100);e.s(["getConditionName",0,e=>{switch(e){case"new":return(0,f.product__condition_type_new)();case"demo":return(0,u.product__condition_type_demo)();case"refurbished":return(0,m.product__condition_type_refurbished)();case"damagedpackaging":return(0,d.product__condition_type_damaged_packaging)();case"almostnew":return(0,c.product__condition_type_almostnew)();case"used":return(0,p.product__condition_type_used)();default:throw Error(`Unknown condition: ${e}`)}},"getPreviousPrice",0,h],996888);var v=e.i(684973),g=e.i(451915);e.i(637094);var y=e.i(534237),x=e.i(682881),k=((t={}).BADGE="badge",t.ICON_BADGE="icon-badge",t.LABEL_BADGE="label-badge",t);e.s(["BadgeTypeEnum",()=>k,"DealsBadge",0,e=>{let t,c,d,u,f,m,p,k,_,b,w=(0,i.c)(22),{price:j,priceDrop:N,size:O,withText:S}=e,I=void 0===S||S;w[0]!==j||w[1]!==N?(c=Math.round(N),t=((e,t={})=>(g.experimentalStaticLocale??t.locale??(0,g.getLocale)(),`campaigns:product-card.expected-price-explanation ${null==e?void 0:e.expectedPrice}`))({expectedPrice:(0,x.getCurrencyString)(Math.round(h(N,j)))}),d=((e,t={})=>(g.experimentalStaticLocale??t.locale??(0,g.getLocale)(),`campaigns:product-card.percentage-below-trend ${null==e?void 0:e.percentage}`))({percentage:c.toString()}),w[0]=j,w[1]=N,w[2]=t,w[3]=c,w[4]=d):(t=w[2],c=w[3],d=w[4]);let C=d,P=`${c}%`;w[5]===Symbol.for("react.memo_cache_sentinel")?(u=y.linkTo.info.aboutDealsCalculation(),w[5]=u):u=w[5];let L=u;w[6]!==t?(f=(0,n.jsx)(v.Text,{variant:"BodySmall",className:"text-text-secondary mb-75","data-sentry-element":"Text","data-sentry-source-file":"deals-badge.tsx",children:t}),w[6]=t,w[7]=f):f=w[7],w[8]===Symbol.for("react.memo_cache_sentinel")?(m=L&&(0,n.jsx)(s.Link,{href:L,target:"_blank",children:(0,n.jsx)(v.Text,{variant:"TitleSmall",className:"text-text-link",children:((e={})=>(g.experimentalStaticLocale??e.locale??(0,g.getLocale)(),"campaigns:product-card.read-more-about-price-trend"))()})}),w[8]=m):m=w[8],w[9]!==C||w[10]!==f?(p=(0,n.jsxs)(l.PopoverContent,{side:"bottom",align:"center",sideOffset:5,title:C,"data-sentry-element":"PopoverContent","data-sentry-source-file":"deals-badge.tsx",children:[f,m]}),w[9]=C,w[10]=f,w[11]=p):p=w[11];let T=!I;return w[12]!==P||w[13]!==I?(k=I&&(0,n.jsxs)("span",{className:"flex items-center gap-25",children:[P,(0,n.jsx)(a.IconInfoOutlined,{size:16})]}),w[12]=P,w[13]=I,w[14]=k):k=w[14],w[15]!==O||w[16]!==T||w[17]!==k?(_=(0,n.jsx)(l.PopoverTrigger,{"data-sentry-element":"PopoverTrigger","data-sentry-source-file":"deals-badge.tsx",children:(0,n.jsx)(r.Badge,{intent:"INFO",className:"cursor-pointer [&]:gap-25",circular:T,icon:o.IconTrendingDown,size:O,text:k,"data-sentry-element":"Badge","data-sentry-source-file":"deals-badge.tsx"})}),w[15]=O,w[16]=T,w[17]=k,w[18]=_):_=w[18],w[19]!==p||w[20]!==_?
4(b=(0,n.jsx)("div",{className:"relative","data-sentry-component":"DealsBadge","data-sentry-source-file":"deals-badge.tsx",children:(0,n.jsxs)(l.Popover,{"data-sentry-element":"Popover","data-sentry-source-file":"deals-badge.tsx",children:[p,_]})}),w[19]=p,w[20]=_,w[21]=b):b=w[21],b}],134999)},658124,365314,702631,e=>{"use strict";var t=e.i(262757),n=e.i(748922),i=e.i(398198),r=e.i(615379);let a=e=>(0,r.default)("flex items-center gap-50",e&&"justify-end");e.s(["getStyledBadgeWrapper",0,a],365314),e.s(["MembershipBadge",0,e=>{let r,o,l,s=(0,n.c)(7),{alignRight:c,isMembershipPrice:d,translation:u}=e;return d?(s[0]!==c?(r=a(c),s[0]=c,s[1]=r):r=s[1],s[2]!==u?(o=(0,t.jsx)(i.Badge,{intent:"PROMOTION",size:"Small",text:u,dataTest:"MembershipPriceBadge","data-sentry-element":"Badge","data-sentry-source-file":"membership-badge.tsx"}),s[2]=u,s[3]=o):o=s[3],s[4]!==r||s[5]!==o?(l=(0,t.jsx)("span",{className:r,"data-sentry-component":"MembershipBadge","data-sentry-source-file":"membership-badge.tsx",children:o}),s[4]=r,s[5]=o,s[6]=l):l=s[6],l):null}],658124),e.i(908169);var o=e.i(596909),l=e.i(684973);e.s(["MembershipInformation",0,e=>{let i,r,a=(0,n.c)(3),{isMembershipPrice:s,isPaidMembership:c,translation:d}=e;return s&&c?(a[0]===Symbol.for("react.memo_cache_sentinel")?(i=(0,t.jsx)(o.IconInfoOutlined,{size:12,"data-sentry-element":"IconInfoOutlined","data-sentry-source-file":"membership-info.tsx"}),a[0]=i):i=a[0],a[1]!==d?(r=(0,t.jsxs)(l.Text,{variant:"Label",className:"mb-25 leading-100","data-sentry-element":"Text","data-sentry-component":"MembershipInformation","data-sentry-source-file":"membership-info.tsx",children:[i,(0,t.jsx)("span",{className:"pl-25 whitespace-break-spaces italic","data-testid":"PaidMembershipInfo",children:d})]}),a[1]=d,a[2]=r):r=a[2],r):null}],702631)},672308,e=>{"use strict";var t=e.i(262757),n=e.i(748922),i=e.i(398198);e.i(908169);var r=e.i(922943);e.s(["UsedBadge",0,function(e){let a,o=(0,n.c)(2);return o[0]!==e?(a=(0,t.jsx)(i.Badge,{className:"w-fit max-w-full whitespace-nowrap [&_>_span]:overflow-hidden [&_>_span]:text-ellipsis [&_>_svg]:shrink-0",intent:"REUSED",icon:r.IconRecycle,dataTest:"UsedBadge",...e,"data-sentry-element":"Badge","data-sentry-component":"UsedBadge","data-sentry-source-file":"used-badge.tsx"}),o[0]=e,o[1]=a):a=o[1],a}])},722388,e=>{"use strict";var t=e.i(262757),n=e.i(748922),i=e.i(615379),r=e.i(291911);let a={none:"p-0",small:"p-50",medium:"p-75",large:"p-100",xlarge:"p-150"};function o(){return Date.now()}function l(){return Date.now()}e.s(["CARD_CLICK_MAX_PRESS_MS",0,200,"Card",0,function(e){let s,c,d,u,f,m,p,h,v,g,y=(0,n.c)(21);y[0]!==e?({children:s,className:c,padding:u,targetClassName:f,...d}=e,y[0]=e,y[1]=s,y[2]=c,y[3]=d,y[4]=u,y[5]=f):(s=y[1],c=y[2],d=y[3],u=y[4],f=y[5]);let x=void 0===u?"medium":u,[k,_]=(0,r.useState)(l),[b,w]=(0,r.useState)(o),j=!!f&&"cursor-pointer transition-shadow duration-200 ease-in-out hover:shadow-md",N=a[x];return y[6]!==c||y[7]!==j||y[8]!==N?(m=(0,i.default)("rounded-50 border-border-card-outline bg-surface-card border border-solid",j,N,c),y[6]=c,y[7]=j,y[8]=N,y[9]=m):m=y[9],y[10]===Symbol.for("react.memo_cache_sentinel")?(p=()=>w(Date.now()),h=()=>_(Date.now()),y[10]=p,y[11]=h):(p=y[10],h=y[11]),y[12]!==b||y[13]!==f||y[14]!==k?(v=e=>{if(e.currentTarget.contains(e.target)&&k-b<200&&f){var t;null==(t=e.currentTarget.querySelector("."+f))||t.click()}},y[12]=b,y[13]=f,y[14]=k,y[15]=v):v=y[15],y[16]!==s||y[17]!==d||y[18]!==m||y[19]!==v?(g=(0,t.jsx)("div",{role:"link",className:m,onMouseDown:p,onMouseUp:h,onClick:v,...d,"data-sentry-component":"Card","data-sentry-source-file":"index.tsx",children:s}),y[16]=s,y[17]=d,y[18]=m,y[19]=v,y[20]=g):g=y[20],g},"PlainCard",0,function(e){let r,a,o,l,s,c=(0,n.c)(11);c[0]!==e?({disabled:a,children:r,...o}=e,c[0]=e,c[1]=r,c[2]=a,c[3]=o):(r=c[1],a=c[2],o=c[3]);let d=a&&"bg-surface-background",u=!a&&"border-border-card-outline bg-surface-card cursor-pointer border transition-shadow duration-200 ease-in-out hover:shadow-md";return c[4]!==d||c[5]!==u?(l=(0,i.default)("rounded-75 relative",d,u),c[4]=d,c[5]=u,c[6]=l):l=c[6],c[7]!==r||c[8]!==o||c[9]!==l?
4(s=(0,t.jsx)("div",{...o,className:l,"data-sentry-component":"PlainCard","data-sentry-source-file":"index.tsx",children:r}),c[7]=r,c[8]=o,c[9]=l,c[10]=s):s=c[10],s}])},890184,e=>{"use strict";var t=e.i(813621),n=e.i(863750);let i=(0,t.withNavigationTracking)(n.ButtonLink);e.s(["ButtonLinkWithTracking",0,i])},483753,e=>{"use strict";var t=e.i(813621),n=e.i(889e3);let i=(0,t.withNavigationTracking)(n.ImageLink);e.s(["ImageLinkWithTracking",0,i])},446654,e=>{"use strict";var t=e.i(262757),n=e.i(748922),i=e.i(398198);e.i(908169);var r=e.i(627128),a=e.i(743091),o=e.i(960866);e.s(["SponsoredProductBadge",0,e=>{let l,s,c=(0,n.c)(3),{productCardData:d,adId:u,size:f}=e;return(d?(0,a.showFeature)("sponsored",d):!!u)?(c[0]===Symbol.for("react.memo_cache_sentinel")?(l=(0,o.product__sponsored_product_title)(),c[0]=l):l=c[0],c[1]!==f?(s=(0,t.jsx)(i.Badge,{className:"w-fit max-w-full px-50 whitespace-nowrap [&_>_span]:overflow-hidden [&_>_span]:text-ellipsis [&_>_svg]:shrink-0",icon:r.IconInfoFilled,intent:"PROMOTION",text:l,circular:!0,size:f,"data-sentry-element":"Badge","data-sentry-component":"SponsoredProductBadge","data-sentry-source-file":"sponsored-badge.tsx"}),c[1]=f,c[2]=s):s=c[2],s):null}])},4884,e=>{"use strict";async function t(e,{availability:i,condition:r}={}){if(!e.length)return[];let a=new URLSearchParams({productIds:e.join(",")});i&&a.set("availability",i),r&&a.set("condition",r);let o=await fetch(`/api/product-cards?${a}`);if(!o.ok)throw Error(`Failed to fetch product cards for ${e.join(",")}`);return(await o.json()).map(n)}function n(e){let{priceExpiresAt:t}=e.offer;return t?{...e,offer:{...e.offer,priceExpiresAt:new Date(t)}}:e}e.s(["fetchProductCards",0,t,"reviveProductCard",0,n])},857359,e=>{"use strict";async function t(e){if(!e.length)return[];let t=await fetch(`/api/product-offerlist-cards?productIds=${e.join(",")}`);if(!t.ok)throw Error(`Failed to fetch product offerlist cards for ${e.join(",")}`);return await t.json()}e.s(["fetchProductOfferlistCards",0,t])},873436,e=>{"use strict";var t=e.i(262757),n=e.i(748922),i=e.i(890184),r=e.i(871527),a=e.i(684973),o=e.i(451915);let l=()=>{let e,i=(0,n.c)(1);return i[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)("div",{className:"rounded-75 bg-surface-background flex items-center justify-center p-75","data-sentry-component":"NoResultText","data-sentry-source-file":"no-result-text.tsx",children:(0,t.jsx)(a.Text,{className:"text-text-secondary",variant:"Label","data-sentry-element":"Text","data-sentry-source-file":"no-result-text.tsx",children:((e={})=>(o.experimentalStaticLocale??e.locale??(0,o.getLocale)(),"expert:offers.missing-retailers"))()})}),i[0]=e):e=i[0],e};var s=e.i(672308),c=e.i(403160),d=e.i(198639),u=e.i(889223);e.i(908169);var f=e.i(205153),m=e.i(761900),p=e.i(181401),h=e.i(939131),v=e.i(866017),g=e.i(917778),y=e.i(12850),x=e.i(615379);function k(e){let i,r,a,o=(0,n.c)(8),{className:l,featured:s,status:c}=e;o[0]!==s||o[1]!==c?(i=()=>{switch(c){case"in_stock_preorder":case"incoming":return(0,t.jsx)(h.IconStockIncoming,{className:(0,x.default)(s?"text-legacy-icon-warning":"text-text-tertiary")});case"in_stock":return(0,t.jsx)(v.IconStockInStock,{className:(0,x.default)(s?"text-legacy-icon-success":"text-text-tertiary")});case"not_in_stock":return(0,t.jsx)(g.IconStockOutOfStock,{className:(0,x.default)(s?"text-legacy-icon-error":"text-text-tertiary")});default:return(0,t.jsx)(y.IconStockUnknown,{className:"text-text-tertiary"})}},o[0]=s,o[1]=c,o[2]=i):i=o[2];let d=i;return o[3]!==d?(r=d(),o[3]=d,o[4]=r):r=o[4],o[5]!==l||o[6]!==r?(a=(0,t.jsx)("div",{className:l,"data-sentry-component":"StockStatusIcon","data-sentry-source-file":"stock-status-icon.tsx",children:r}),o[5]=l,o[6]=r,o[7]=a):a=o[7],a}var _=e.i(443270),b=e.i(661225),w=e.i(585741),j=e.i(866209),N=e.i(889654);async function O({featured:e,offerId:t,price:n,productId:i,scope:r,index:a}){(0,N.trackProductPriceClick)({productId:i,price:n,featured:!!e,status:"",isAlternative:!1,context:r}),await (0,j.trackOfferClickWithRevenue)({offerId:t,index:a,isRawOffer:!1,priceType:"regular",hasShippingInfo:!0,scope:r,condition:void 0,isPartOfPromotion:void 0,isPjDeal:void 0})}var S=e.i(682881);let I=e=>{let i,r=(0,n.c)(5),{mode:a,offer:o,index:l,productId:s}=e,c=void 0===a?"normal":a;if(r[0]!==l||r[1]!==c||r[2]!==o||r[3]!==s){var d;i=(null==(d=o.shop)?void 0:d.featured)?(0,t.jsx)(P,{index:l,mode:c,offer:o,productId:s},o.id):(0,t.jsx)(L,{mode:c,offer:o},o.id),r[0]=l,r[1]=c,r[2]=o,r[3]=s,r[4]=i}else i=r[4];return i},C="flex items-center justify-between rounded-75 bg-surface-background pl-50 p-25 relative",P=e=>{let i,r,a,o,l=(0,n.c)(14),{mode:s,offer:c,productId:d,index:u}
4=e,{externalUri:f,id:m,price:p,shop:h}=c;l[0]!==m||l[1]!==u||l[2]!==p||l[3]!==d||l[4]!==(null==h?void 0:h.featured)?(i=e=>{e.stopPropagation(),O({index:u,offerId:m,productId:d,price:p,featured:null==h?void 0:h.featured,scope:w.TrackClickScope.PRODUCT_CARD_OFFER_LIST})},l[0]=m,l[1]=u,l[2]=p,l[3]=d,l[4]=null==h?void 0:h.featured,l[5]=i):i=l[5],null==h||h.featured;let v=i,g=f??"";return l[6]===Symbol.for("react.memo_cache_sentinel")?(r=(0,x.default)(C,"hover:bg-surface-background-darker transition-colors"),l[6]=r):r=l[6],l[7]!==s||l[8]!==c?(a=(0,t.jsx)(T,{mode:s,offer:c,"data-sentry-element":"Row","data-sentry-source-file":"product-offerlist-row.tsx"}),l[7]=s,l[8]=c,l[9]=a):a=l[9],l[10]!==v||l[11]!==g||l[12]!==a?(o=(0,t.jsx)("a",{href:g,target:"_blank",rel:"noopener nofollow",className:r,onClick:v,"data-sentry-component":"FeaturedOfferRow","data-sentry-source-file":"product-offerlist-row.tsx",children:a}),l[10]=v,l[11]=g,l[12]=a,l[13]=o):o=l[13],o},L=e=>{let i,r=(0,n.c)(3),{mode:a,offer:o}=e;return r[0]!==a||r[1]!==o?(i=(0,t.jsx)("div",{className:C,"data-sentry-component":"NonFeaturedOfferRow","data-sentry-source-file":"product-offerlist-row.tsx",children:(0,t.jsx)(T,{mode:a,offer:o,"data-sentry-element":"Row","data-sentry-source-file":"product-offerlist-row.tsx"})}),r[0]=a,r[1]=o,r[2]=i):i=r[2],i},T=e=>{let i,r,o,l,h,v,g,y,w,j,N,O,I=(0,n.c)(35),{mode:C,offer:P}=e,{price:L,externalUri:T,stockStatus:D,shop:E}=P;I[0]!==(null==E?void 0:E.rating)?(i=(null==E?void 0:E.rating)?d.default.convert((null==E?void 0:E.rating)??0):void 0,I[0]=null==E?void 0:E.rating,I[1]=i):i=I[1];let R=i;I[2]!==E?(r=(null==E?void 0:E.logo)?(0,t.jsx)(m.Image,{src:null==E?void 0:E.logo,alt:E.name??"",width:"88",height:"31"}):(0,t.jsxs)("div",{className:"flex items-center gap-50",children:[!(null==E?void 0:E.featured)&&(0,t.jsx)(p.InfoPopover,{text:(0,b.product__transparency_store_info)()}),(0,t.jsx)(a.Text,{variant:(null==E?void 0:E.featured)?"TitleSmall":"BodySmall",className:(0,x.default)(!(null==E?void 0:E.featured)&&"text-text-tertiary"),children:null==E?void 0:E.name})]}),I[2]=E,I[3]=r):r=I[3],I[4]!==C||I[5]!==R||I[6]!==(null==E?void 0:E.featured)?(o=R&&(0,t.jsx)(c.SmileyRating,{className:(0,x.default)("flex","md:hidden","slim"===C?"lg:hidden":"lg:flex"),featured:!!(null==E?void 0:E.featured),rating:R}),I[4]=C,I[5]=R,I[6]=null==E?void 0:E.featured,I[7]=o):o=I[7],I[8]!==r||I[9]!==o?(l=(0,t.jsxs)("div",{className:"flex gap-75",children:[r,o]}),I[8]=r,I[9]=o,I[10]=l):l=I[10],I[11]!==P.used?(h=P.used&&(0,t.jsx)(s.UsedBadge,{text:(0,_.product__condition_type_used)()}),I[11]=P.used,I[12]=h):h=I[12];let F=(null==E?void 0:E.featured)??!1;I[13]!==D||I[14]!==F?(v=(0,t.jsx)(k,{featured:F,status:D,"data-sentry-element":"StockStatusIcon","data-sentry-source-file":"product-offerlist-row.tsx"}),I[13]=D,I[14]=F,I[15]=v):v=I[15];let M=!(null==E?void 0:E.featured)&&"text-text-tertiary";I[16]!==M?(g=(0,x.default)(M),I[16]=M,I[17]=g):g=I[17];let A=L??0;return I[18]!==A?(y=(0,S.getCurrencyString)(A),I[18]=A,I[19]=y):y=I[19],I[20]!==y||I[21]!==g?(w=(0,t.jsx)(a.Text,{variant:"HeadingMedium",component:"p",className:g,"data-sentry-element":"Text","data-sentry-source-file":"product-offerlist-row.tsx",children:y}),I[20]=y,I[21]=g,I[22]=w):w=I[22],I[23]!==T||I[24]!==C||I[25]!==(null==E?void 0:E.featured)?(j=(null==E?void 0:E.featured)&&T?(0,t.jsx)(u.Button,{size:"small",variant:"secondary",icon:"chevronRight"}):(0,t.jsx)("div",{className:(0,x.default)("flex p-[10px]","slim"===C?"px-[2px]":""),children:(0,t.jsx)(f.IconChevronRight,{pathClassName:"fill-text-tertiary",size:20})}),I[23]=T,I[24]=C,I[25]=null==E?void 0:E.featured,I[26]=j):j=I[26],I[27]!==w||I[28]!==j||I[29]!==h||I[30]!==v?(N=(0,t.jsxs)("div",{className:"flex items-center gap-75",children:[h,v,w,j]}),I[27]=w,I[28]=j,I[29]=h,I[30]=v,I[31]=N):N=I[31],I[32]!==N||I[33]!==l?(O=(0,t.jsxs)(t.Fragment,{children:[l,N]}),I[32]=N,I[33]=l,I[34]=O):O=I[34],O};var D=e.i(722388),E=e.i(889e3),R=e.i(483753),F=e.i(632139);let M=`${F.clientConfig.general.cdnUrlBase}/product/standard/280/0.jpg`,A=e=>{let i,r=(0,n.c)(13),{imageSrc:a,name:o,className:l,href:s,openInNewTab:c,size:d,tracking:u}=e,f=void 0===d?140:d;if(!s){let e,n=a??M,i=o??"";return r[0]!==l||r[1]!==f||r[2]!==n||r[3]!==i?(e=(0,t.jsx)(m.Image,{className:l,src:n,alt:i,width:f,height:f}),r[0]=l,r[1]=f,r[2]=n,r[3]=i,r[4]=e):e=r[4],e}return r[5]!==l||r[6]!==s||r[7]!==a||r[8]!==o||r[9]!==c||r[10]!==f||r[11]!==u?(i=u?(0,t.jsx)(R.ImageLinkWithTracking,{src:a??M,alt:o??"",width:f,height:f,href:s,tracking:u,openInNewTab:c,className:l,"data-sentry-element":"ImageLinkWithTracking","data-sentry-component":"ProductMedia","data-sentry-source-file":"product-media.tsx"}):(0,t.jsx)(E.ImageLink,{src:a??M,alt:o??"",width:f,height:f,href:s,openInNewTab:c,className:l,"data-sentry-element":"ImageLink","data-sentry-component":"ProductMedia","data-sentry-source-file":"product-media.tsx"}),r[5]=l,r[6]=s,r[7]=a,r[8]=o,r[9]=c,r[10]=f,r[11]=u,r[12]=i):i=r[12],i};var B=e.i(79932);let $=(e,t={})=>{let n;
4return o.experimentalStaticLocale??t.locale??(0,o.getLocale)(),"other"===(n=B.plural("pt-PT",null==e?void 0:e.count,{}))?`category:product-offer.cta ${null==e?void 0:e.count}`:"one"===n?"category:product-offer.cta":"many"===n?`category:product-offer.cta ${null==e?void 0:e.count}`:"category__product_offer_cta"},U=e=>{let s,c,d,u,f,m,p,h,v,g=(0,n.c)(27),{offerRows:y,offersCount:x,product:k,title:_,trackingProps:b}=e,{id:w,imageSrc:j,name:N,productHref:O,rating:S,reviewsCount:C}=k;return g[0]!==_?(s=_&&(0,t.jsx)(a.Text,{variant:"HeadingXL",className:"mx-50 mt-50 mb-75",children:_}),g[0]=_,g[1]=s):s=g[1],g[2]!==j||g[3]!==N?(c=(0,t.jsx)(A,{imageSrc:j,name:N,"data-sentry-element":"ProductMedia","data-sentry-source-file":"product-offerlist-card-horizontal.tsx"}),g[2]=j,g[3]=N,g[4]=c):c=g[4],g[5]!==S||g[6]!==C?(d=S?(0,t.jsx)(r.Rating,{count:C,rate:S,colorVariant:"primary"}):null,g[5]=S,g[6]=C,g[7]=d):d=g[7],g[8]!==c||g[9]!==d?(u=(0,t.jsxs)("div",{className:"my-auto flex grow-0 flex-col items-center justify-center md:mx-0 md:mr-150",children:[c,d]}),g[8]=c,g[9]=d,g[10]=u):u=g[10],g[11]!==w||g[12]!==y?(f=y.length>0?y.map((e,n)=>(0,t.jsx)(I,{offer:e,productId:w,index:n},e.id)):(0,t.jsx)(l,{}),g[11]=w,g[12]=y,g[13]=f):f=g[13],g[14]!==x||g[15]!==O||g[16]!==b?(m=O?(0,t.jsx)("div",{className:"flex items-center gap-25 text-center",children:(0,t.jsx)(i.ButtonLinkWithTracking,{className:"product-page-cta w-full",href:O,tracking:b,variant:"outline",stopPropagation:!0,children:x?$({count:x}):((e={})=>(o.experimentalStaticLocale??e.locale??(0,o.getLocale)(),"product:price-cta.see-product"))()})}):null,g[14]=x,g[15]=O,g[16]=b,g[17]=m):m=g[17],g[18]!==f||g[19]!==m?(p=(0,t.jsxs)("div",{className:"flex grow flex-col justify-center gap-50",children:[f,m]}),g[18]=f,g[19]=m,g[20]=p):p=g[20],g[21]!==u||g[22]!==p?(h=(0,t.jsxs)("div",{className:"flex w-full flex-col md:flex-row",children:[u,p]}),g[21]=u,g[22]=p,g[23]=h):h=g[23],g[24]!==s||g[25]!==h?(v=(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)(D.Card,{targetClassName:"product-page-cta","data-sentry-element":"Card","data-sentry-source-file":"product-offerlist-card-horizontal.tsx",children:[s,h]})}),g[24]=s,g[25]=h,g[26]=v):v=g[26],v},z=e=>{let o,s,c,d,u,f,m,p,h,v,g=(0,n.c)(30),{offerRows:y,offersCount:x,product:k,title:_,trackingProps:b}=e,{categoryName:w,id:j,imageSrc:N,name:O,productHref:S,rating:C,reviewsCount:P}=k;return g[0]!==N||g[1]!==O?(o=(0,t.jsx)(A,{className:"self-center p-75",imageSrc:N,name:O,size:204,"data-sentry-element":"ProductMedia","data-sentry-source-file":"product-offerlist-card-vertical.tsx"}),g[0]=N,g[1]=O,g[2]=o):o=g[2],g[3]!==w?(s=w&&(0,t.jsx)(a.Text,{variant:"Label",className:"text-text-secondary",children:w}),g[3]=w,g[4]=s):s=g[4],g[5]!==_?(c=_&&(0,t.jsx)(a.Text,{variant:"TitleSmall",children:_}),g[5]=_,g[6]=c):c=g[6],g[7]!==C||g[8]!==P?(d=C?(0,t.jsx)(r.Rating,{count:P,rate:C,colorVariant:"primary"}):null,g[7]=C,g[8]=P,g[9]=d):d=g[9],g[10]!==s||g[11]!==c||g[12]!==d?(u=(0,t.jsxs)("div",{className:"flex flex-col gap-25",children:[s,c,d]}),g[10]=s,g[11]=c,g[12]=d,g[13]=u):u=g[13],g[14]!==o||g[15]!==u?(f=(0,t.jsxs)("div",{className:"flex flex-col gap-25",children:[o,u]}),g[14]=o,g[15]=u,g[16]=f):f=g[16],g[17]!==j||g[18]!==y?(m=y.length>0?y.map((e,n)=>(0,t.jsx)(I,{mode:"slim",offer:e,productId:j,index:n},e.id)):(0,t.jsx)(l,{}),g[17]=j,g[18]=y,g[19]=m):m=g[19],g[20]!==x||g[21]!==S||g[22]!==b?(p=S?(0,t.jsx)("div",{className:"flex items-center gap-25 text-center",children:(0,t.jsx)(i.ButtonLinkWithTracking,{className:"product-page-cta w-full",href:S,tracking:b,variant:"outline",stopPropagation:!0,children:$({count:x||1})})}):null,g[20]=x,g[21]=S,g[22]=b,g[23]=p):p=g[23],g[24]!==m||g[25]!==p?(h=(0,t.jsxs)("div",{className:"flex w-full grow flex-col gap-50",children:[m,p]}),g[24]=m,g[25]=p,g[26]=h):h=g[26],g[27]!==f||g[28]!==h?(v=(0,t.jsx)(D.Card,{targetClassName:"product-page-cta","data-sentry-element":"Card","data-sentry-component":"ProductOfferlistCardVertical","data-sentry-source-file":"product-offerlist-card-vertical.tsx",children:(0,t.jsxs)("div",{className:"flex flex-col gap-100",children:[f,h]})}),g[27]=f,g[28]=h,g[29]=v):v=g[29],v};var G=e.i(907796);function W(e){var t;return(null==(t=e.shop)?void 0:t.featured)&&"in_stock"===e.stockStatus}function H(e){var t;return(null==(t=e.shop)?void 0:t.featured)&&"in_stock"!==e.stockStatus}function V(e){var t;return!(null==(t=e.shop)?void 0:t.featured)}e.s(["ProductOfferListCard",0,e=>{let i,r,a,o=(0,n.c)(13),{offers:l,placement:s,product:c,title:d}=e;o[0]!==l?(i=[...(null==l?void 0:l.filter(W))??[],...(null==l?void 0:l.filter(H))??[],...(null==l?void 0:l.filter(V))??[]].slice(0,3),o[0]=l,o[1]=i):i=o[1];let u=i;o[2]===Symbol.for("react.memo_cache_sentinel")?(r={scope:G.InternalNavigationScope.PRODUCT_OFFERLIST_CARD},o[2]=r):r=o[2];let f=r;if("vertical"===(void 0===s?"horizontal":s)){let e,n=null==l?void 0:l.length;return o[3]!==u||o[4]!==c||o[5]!==n||o[6]!==d?(e=(0,t.jsx)(z,{offerRows:u,offersCount:n,product:c,title:d,trackingProps:f}),o[3]=u,o[4]=c,o[5]=n,o[6]=d,o[7]=e):e=o[7],e}let m=null==l?void 0:l.length;return o[8]!==u||o[9]!==c||o[10]!==m||o[11]!==d?(a=(0,t.jsx)(U,{offerRows:u,offersCount:m,product:c,title:d,trackingProps:f,"data-sentry-element":"ProductOfferlistCardHorizontal","data-sentry-component":"ProductOfferListCard","data-sentry-source-file":"index.tsx"}),o[8]=u,o[9]=c,o[10]=m,o[11]=d,o[12]=a):a=o[12],a}],873436)},871527,189486,e=>{"use strict";var t=e.i(262757),n=e.i(748922),i=e.i(632139),r=e.i(263853),a=e.i(761900),o=e.i(615379);let l=e=>
4{let l,s,c,d,u=(0,n.c)(10),{className:f,colorVariant:m,fillValue:p,size:h}=e,v=void 0===m?"primary":m,g=void 0===h?16:h;return u[0]!==f?(l=(0,o.default)("flex",f),u[0]=f,u[1]=l):l=u[1],u[2]===Symbol.for("react.memo_cache_sentinel")?(s=[void 0,void 0,void 0,void 0,void 0],u[2]=s):s=u[2],u[3]!==v||u[4]!==p||u[5]!==g?(c=s.map((e,n)=>{let o,l,s,c=n+1,d=p>=c?"filled":p<c&&p>c-1?"half":"empty",u=(o=`${i.clientConfig.general.cdnUrlBase}/g/rfe/icons/stars`,l="half"===d,"empty"===d?`${o}/empty-new.svg`:"expert"===v?l?`${o}/expert-half-new.svg`:`${o}/expert-full-new.svg`:l?`${o}/primary-half-new.svg`:`${o}/primary-full-new.svg`);return(0,t.jsx)(a.Image,{className:"mr-px",src:u,alt:(s=`${d} star ${c}`,(0,r.capitalize)(s)),width:g,height:g},`star-${c}`)}),u[3]=v,u[4]=p,u[5]=g,u[6]=c):c=u[6],u[7]!==l||u[8]!==c?(d=(0,t.jsx)("div",{className:l,"data-sentry-component":"Stars","data-sentry-source-file":"index.tsx",children:c}),u[7]=l,u[8]=c,u[9]=d):d=u[9],d};var s=e.i(684973),c=e.i(198639),d=e.i(79932),u=e.i(451915);let f=(e,t={})=>{let n;return u.experimentalStaticLocale??t.locale??(0,u.getLocale)(),"other"===(n=d.plural("pt-PT",null==e?void 0:e.count,{}))||"one"===n||"many"===n?`reviews:rating.n-reviews ${null==e?void 0:e.count}`:"reviews__rating_n_reviews"};e.s(["reviews__rating_n_reviews",0,f],189486);var m=e.i(930048);e.s(["Rating",0,e=>{let i,r,a,d,p,h,v,g,y=(0,n.c)(25),{className:x,colorVariant:k,count:_,rate:b,size:w,compactLabel:j}=e,N=void 0===w?"medium":w,O=void 0===j||j;if(y[0]!==O||y[1]!==_||y[2]!==b||y[3]!==N){let e;switch(r=c.default.convert(b??0,1),N){case"xl":a=28;break;case"large":a=18;break;case"medium":a=16;break;case"small":a=12}y[8]!==O||y[9]!==_?(e=()=>{if(!_)return null;let e=_>500,t=Math.min(_,500);return O?t:e?((e,t={})=>(u.experimentalStaticLocale??t.locale??(0,u.getLocale)(),`reviews:rating.n-reviews-limited ${null==e?void 0:e.count}`))({count:_}):f({count:_})},y[8]=O,y[9]=_,y[10]=e):e=y[10],i=e,d=(0,m.reviews__rating_rate_n_text_version)({count:r.rounded}),y[0]=O,y[1]=_,y[2]=b,y[3]=N,y[4]=i,y[5]=r,y[6]=a,y[7]=d}else i=y[4],r=y[5],a=y[6],d=y[7];let S=d;return y[11]!==x?(p=(0,o.default)(x,"flex flex-wrap items-center gap-25"),y[11]=x,y[12]=p):p=y[12],y[13]!==k||y[14]!==r.half||y[15]!==a?(h=(0,t.jsx)(l,{colorVariant:k,fillValue:r.half,size:a,"data-sentry-element":"Stars","data-sentry-source-file":"index.tsx"}),y[13]=k,y[14]=r.half,y[15]=a,y[16]=h):h=y[16],y[17]!==_||y[18]!==i?(v=_&&(0,t.jsxs)(s.Text,{variant:"BodySmall",className:"text-text-secondary",children:["(",i(),")"]}),y[17]=_,y[18]=i,y[19]=v):v=y[19],y[20]!==S||y[21]!==p||y[22]!==h||y[23]!==v?(g=(0,t.jsxs)("div",{className:p,"aria-label":S,"data-sentry-component":"Rating","data-sentry-source-file":"index.tsx",children:[h,v]}),y[20]=S,y[21]=p,y[22]=h,y[23]=v,y[24]=g):g=y[24],g}],871527)},39085,e=>{"use strict";var t=e.i(262757),n=e.i(748922);e.s(["YoutubeLoader",0,e=>{let i,r=(0,n.c)(6),{className:a,youtubeId:o,size:l,title:s}=e,c=(null==l?void 0:l.width)??640,d=(null==l?void 0:l.height)??360,u=`https://www.youtube.com/embed/${o}?autoplay=0`,f=s??"YouTube video player",m=`border-0 ${a}`;return r[0]!==c||r[1]!==d||r[2]!==u||r[3]!==f||r[4]!==m?(i=(0,t.jsx)("iframe",{width:c,height:d,src:u,title:f,allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0,className:m,"data-sentry-component":"YoutubeLoader","data-sentry-source-file":"index.tsx"}),r[0]=c,r[1]=d,r[2]=u,r[3]=f,r[4]=m,r[5]=i):i=r[5],i}])},410751,(e,t,n)=>{var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetOfferClickLoggerData"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"offerClickLoggerData"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"productId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"productName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"offerId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"offerName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"offerPrice"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"offerCurrency"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"priceId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"shopOfferId"},arguments:[],directives:[]}
4,{kind:"Field",name:{kind:"Name",value:"shopId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"shopName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"segmentId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"segmentName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"segmentCostPerClick"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"segmentCostCurrency"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"market"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"profiled"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:325}};i.loc.source={body:"query GetOfferClickLoggerData($id: ID!) {\n offerClickLoggerData(id: $id) {\n productId\n productName\n offerId\n offerName\n offerPrice\n offerCurrency\n priceId\n shopOfferId\n shopId\n shopName\n segmentId\n segmentName\n segmentCostPerClick\n segmentCostCurrency\n market\n profiled\n }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var r={};function a(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}i.definitions.forEach(function(e){if(e.name){var t=new Set;!function e(t,n){if("FragmentSpread"===t.kind)n.add(t.name.value);else if("VariableDefinition"===t.kind){var i=t.type;"NamedType"===i.kind&&n.add(i.name.value)}t.selectionSet&&t.selectionSet.selections.forEach(function(t){e(t,n)}),t.variableDefinitions&&t.variableDefinitions.forEach(function(t){e(t,n)}),t.definitions&&t.definitions.forEach(function(t){e(t,n)})}(e,t),r[e.name.value]=t}}),t.exports=i,t.exports.GetOfferClickLoggerData=function(e,t){var n={kind:e.kind,definitions:[a(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=r[t]||new Set,o=new Set,l=new Set;for(i.forEach(function(e){l.add(e)});l.size>0;){var s=l;l=new Set,s.forEach(function(e){o.has(e)||(o.add(e),(r[e]||new Set).forEach(function(e){l.add(e)}))})}return o.forEach(function(t){var i=a(e,t);i&&n.definitions.push(i)}),n}(i,"GetOfferClickLoggerData")},814866,(e,t,n)=>{var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetRawOfferClickLoggerData"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"rawOfferClickLoggerData"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"offerId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"offerName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"offerPrice"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"offerCurrency"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"priceId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"shopOfferId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"shopId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"shopName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"segmentId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"segmentName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"segmentCostPerClick"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"segmentCostCurrency"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"market"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"profiled"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:301}};i.loc.source={body:"query GetRawOfferClickLoggerData($id: ID!) {\n rawOfferClickLoggerData(id: $id) {\n offerId\n offerName\n offerPrice\n offerCurrency\n priceId\n shopOfferId\n shopId\n shopName\n segmentId\n segmentName\n segmentCostPerClick\n segmentCostCurrency\n market\n profiled\n }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var r={};function a(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}i.definitions.forEach(function(e){if(e.name){var t=new Set;!function e(t,n){if("FragmentSpread"===t.kind)n.add(t.name.value);
4else if("VariableDefinition"===t.kind){var i=t.type;"NamedType"===i.kind&&n.add(i.name.value)}t.selectionSet&&t.selectionSet.selections.forEach(function(t){e(t,n)}),t.variableDefinitions&&t.variableDefinitions.forEach(function(t){e(t,n)}),t.definitions&&t.definitions.forEach(function(t){e(t,n)})}(e,t),r[e.name.value]=t}}),t.exports=i,t.exports.GetRawOfferClickLoggerData=function(e,t){var n={kind:e.kind,definitions:[a(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=r[t]||new Set,o=new Set,l=new Set;for(i.forEach(function(e){l.add(e)});l.size>0;){var s=l;l=new Set,s.forEach(function(e){o.has(e)||(o.add(e),(r[e]||new Set).forEach(function(e){l.add(e)}))})}return o.forEach(function(t){var i=a(e,t);i&&n.definitions.push(i)}),n}(i,"GetRawOfferClickLoggerData")},115526,(e,t,n)=>{var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetShopClickLoggerData"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"shopClickLoggerData"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"shopId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"shopName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"segmentId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"segmentName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"segmentCostPerClick"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"segmentCostCurrency"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"market"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"profiled"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:206}};i.loc.source={body:"query GetShopClickLoggerData($id: ID!) {\n shopClickLoggerData(id: $id) {\n shopId\n shopName\n segmentId\n segmentName\n segmentCostPerClick\n segmentCostCurrency\n market\n profiled\n }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var r={};function a(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}i.definitions.forEach(function(e){if(e.name){var t=new Set;!function e(t,n){if("FragmentSpread"===t.kind)n.add(t.name.value);else if("VariableDefinition"===t.kind){var i=t.type;"NamedType"===i.kind&&n.add(i.name.value)}t.selectionSet&&t.selectionSet.selections.forEach(function(t){e(t,n)}),t.variableDefinitions&&t.variableDefinitions.forEach(function(t){e(t,n)}),t.definitions&&t.definitions.forEach(function(t){e(t,n)})}(e,t),r[e.name.value]=t}}),t.exports=i,t.exports.GetShopClickLoggerData=function(e,t){var n={kind:e.kind,definitions:[a(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=r[t]||new Set,o=new Set,l=new Set;for(i.forEach(function(e){l.add(e)});l.size>0;){var s=l;l=new Set,s.forEach(function(e){o.has(e)||(o.add(e),(r[e]||new Set).forEach(function(e){l.add(e)}))})}return o.forEach(function(t){var i=a(e,t);i&&n.definitions.push(i)}),n}(i,"GetShopClickLoggerData")},585741,e=>{"use strict";var t,n,i=((t={}).RAW="raw",t.OFFER="offer",t.SHOP="shop",t),r=((n={}).CAMPAIGN_LIST_ITEM="campaign_list_item",n.KEYWORD_LANDING_PAGE_OFFER="keyword_landing_page_offer",n.PRODUCT_CARD_OFFER_LIST="Product card offer list",n.PRODUCT_CAROUSEL="Product carousel",n.SEARCH_RESULT_PAGE="search_result_page",n.SPONSORED_ARTICLE_PRODUCT_CAROUSEL="sponsored_article_product_carousel",n.USED_PRODUCT_CARD="used_product_card",n.PRICE_LIST="Price list",n.PRICE_LIST_EXPANDED="Price list expanded",n.PRICE_LIST_SPONSORED="Price list sponsored",n.MOBILE_CONTRACT="product_mobile_contract",n.PROMOTION_MODAL="Promotion modal",n.PROMOTION_PRODUCT_CARD="promotion_product_card",n);e.s(["TrackClickScope",()=>r,"TrackClickType",()=>i])},252279,e=>{"use strict";var t=e.i(889654),n=e.i(485932),i=e.i(158445);let r=async e=>{let{offerId:t,productId:r,storeName:a}=e;(0,n.pushEvent)(i.ProductActionType.PRODUCT_PRICE_CLICK_BOUNCE,{offerId:t,productId:r,storeName:a})};var a=e.i(866209);async function o(e,n){let i,o,{productId:l,price:s,featured:c,status:d,scope:u,offerId:f,storeName:m,isRawOffer:p,priceType:h,condition:v,isPartOfPromotion:g,isPjDeal:y,isAlternative:x,hasShippingInfo:k,isInternational:_,stockStatus:b,shopId:w,productName:j,index:N}=e;(0,t.trackProductPriceClick)({productId:l,price:s,featured:c,status:d,isAlternative:x,context:u}),i=Date.now(),o=()=>{Date.now()-i>15e3&&"visible"===document.visibilityState?document.removeEventListener("visibilitychange",o):"visible"===document.visibilityState&&((()=>{r({offerId:f,productId:l,storeName:m}),null==n||n()})(),document.removeEventListener("visibilitychange",o))},document.addEventListener("visibilitychange",o),await (0,a.trackOfferClickWithRevenue)({offerId:f,index:N,isRawOffer:p,priceType:h,hasShippingInfo:k,scope:u,condition:v,isPartOfPromotion:g,isPjDeal:y,isInternational:_,stockStatus:b,productId:l,productName:j,shopI
4d:w,shopName:m})}e.s(["trackClickout",0,o],252279)},866209,e=>{"use strict";var t=e.i(410751),n=e.i(814866),i=e.i(115526),r=e.i(195422);async function a(e,t){return(0,r.default)("/api/graphql",e,t)}async function o(e,r){switch(e){case"offer":{let{offerClickLoggerData:e}=await a(t.default,{id:r});return e??void 0}case"raw":{let{rawOfferClickLoggerData:e}=await a(n.default,{id:r});return e??void 0}case"shop":{let{shopClickLoggerData:e}=await a(i.default,{id:r});return e??void 0}default:return}}var l=e.i(585741),s=e.i(485932),c=e.i(632139);let d=async e=>{let t,{offerId:n,isRawOffer:i,index:r}=e;if(c.clientConfig.libs.rfeBff.enabled)try{t=await o(i?l.TrackClickType.RAW:l.TrackClickType.OFFER,n)}catch(e){}let a=Object.entries({...e,...t,index:void 0!==r?r+1:void 0}).reduce((e,[t,n])=>void 0===n?{...e}:{...e,[t]:n},{});(0,s.pushEvent)(i?"rawOfferClickWithRevenue":"offerClickWithRevenue",a)};e.s(["trackOfferClickWithRevenue",0,d],866209)},889654,158445,e=>{"use strict";var t,n=e.i(485932);function i(e){switch(e){case"international":case"variant":case"":return"normal";default:return""}}var r=((t={}).PRODUCT_PRICE_CLICK="productPriceClick",t.PRODUCT_PRICE_CLICK_BOUNCE="productPriceClickBounce",t);e.s(["ProductActionType",()=>r],158445),e.s(["trackProductPriceClick",0,function(e){var t,a;(0,n.pushEvent)(r.PRODUCT_PRICE_CLICK,{pretrack:!1,condition:e.condition,context:e.context,featured:e.featured?"Featured":"Not Featured",isAlternative:e.isAlternative,price:(t=e.price,a=e.status,"object"==typeof t&&null!==t?"Price"===t.__typename?t:{...t,type:i(a)}:{price:t,type:i(a)}),productId:e.productId,status:e.status,stockStatus:e.stockStatus})}],889654)},236599,e=>{"use strict";e.s(["createPropertyExistGuard",0,function(...e){return t=>t&&e.every(e=>e in t)},"createTypeGuard",0,function(e){return t=>{if(!t)return!1;for(let[n,i]of Object.entries(e))if(t[n]!==i)return!1;return!0}},"isNotNullOrUndefined",0,function(e){return null!=e}])},480370,e=>{"use strict";var t=e.i(451915);e.s(["expert__expert_top_rated_badge",0,(e={},n={})=>(t.experimentalStaticLocale??n.locale??(0,t.getLocale)(),"expert:expert.top-rated-badge")])},964154,166090,409930,e=>{"use strict";var t=e.i(451915);e.s(["product__condition_type_almostnew",0,(e={},n={})=>(t.experimentalStaticLocale??n.locale??(0,t.getLocale)(),"Como novo")],964154),e.s(["product__condition_type_damaged_packaging",0,(e={},n={})=>(t.experimentalStaticLocale??n.locale??(0,t.getLocale)(),"Embalagem danificada")],166090),e.s(["product__condition_type_demo",0,(e={},n={})=>(t.experimentalStaticLocale??n.locale??(0,t.getLocale)(),"Demo")],409930)},239626,e=>{"use strict";var t=e.i(451915);e.s(["product__condition_type_new",0,(e={},n={})=>(t.experimentalStaticLocale??n.locale??(0,t.getLocale)(),"Novo")])},621686,e=>{"use strict";var t=e.i(451915);e.s(["product__condition_type_refurbished",0,(e={},n={})=>(t.experimentalStaticLocale??n.locale??(0,t.getLocale)(),"Recondicionado")])},443270,e=>{"use strict";var t=e.i(451915);e.s(["product__condition_type_used",0,(e={},n={})=>(t.experimentalStaticLocale??n.locale??(0,t.getLocale)(),"Usado")])},415615,e=>{"use strict";var t=e.i(451915);e.s(["product__external_link_visit_shop",0,(e={},n={})=>(t.experimentalStaticLocale??n.locale??(0,t.getLocale)(),"Ir à loja")])},280189,301246,252485,855714,252642,555389,e=>{"use strict";var t=e.i(451915);e.s(["product__grading_good_condition",0,(e={},n={})=>(t.experimentalStaticLocale??n.locale??(0,t.getLocale)(),"Bom estado")],280189),e.s(["product__grading_like_new",0,(e={},n={})=>(t.experimentalStaticLocale??n.locale??(0,t.getLocale)(),"Como novo")],301246),e.s(["product__grading_ok_condition",0,(e={},n={})=>(t.experimentalStaticLocale??n.locale??(0,t.getLocale)(),"Estado aceitável")],252485),e.s(["product__grading_poor_condition",0,(e={},n={})=>(t.experimentalStaticLocale??n.locale??(0,t.getLocale)(),"Mau estado")],855714),e.s(["product__grading_salvage",0,(e={},n={})=>(t.experimentalStaticLocale??n.locale??(0,t.getLocale)(),"Para peças")],252642),e.s(["product__grading_very_good_condition",0,(e={},n={})=>(t.experimentalStaticLocale??n.locale??(0,t.getLocale)(),"Muito bom estado")],555389)},565879,e=>{"use strict";var t=e.i(451915);e.s(["product__kwlp_compare_prices",0,(e={},n={})=>(t.experimentalStaticLocale??n.locale??(0,t.getLocale)(),"product:kwlp.compare-prices")])},606705,e=>{"use strict";var t=e.i(451915);e.s(["product__promotions_members_price",0,(e={},n={})=>(t.experimentalStaticLocale??n.locale??(0,t.getLocale)(),"Preço para membros")])},426080,e=>{"use strict";var t=e.i(79932),n=e.i(451915);e.s(["product__shop_count",0,(e,i={})=>{let r;return n.experimentalStaticLocale??i.locale??(0,n.getLocale)(),"other"===(r=t.plural("pt-PT",null==e?void 0:e.count,{}))?`${null==e?void 0:e.count} lojas`:"one"===r?`${null==e?void 0:e.count} loja`:"many"===r?`${null==e?void 0:e.count} lojas`:"product__shop_count"}])},960866,e=>{"use strict";var t=e.i(451915);e.s(["product__sponsored_product_title",0,(e={},n={})=>(t.experimentalStaticLocale??n.locale??(0,t.getLocale)(),"product:sponsored-product.title")])},661225,e=>{"use strict";var t=e.i(451915);e.s(["product__transparency_store_info",0,(e={},n={})=>(t.experimentalStaticLocale??n.locale??(0,t.getLocale)(),"Algumas ofertas podem não ter uma ligação direta à loja.")])}]); 5
6//# debugId=59d90d64-0e17-bc17-5e54-14c0a15e09ef
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.