PageSourceSearch

https://tele2.ee/_next/static/chunks/5944-build88004.js

js tele2.ee collected 2026-10-01 10:45:30 UTC 124,856 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5944,6840],{1777:(e,n,i)=>{var a={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"addSimpleProductToCart"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"cartId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"cartItems"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NamedType",name:{kind:"Name",value:"SimpleProductCartItemInput"}}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"productId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"addData"},name:{kind:"Name",value:"addSimpleProductsToCart"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"cart_id"},value:{kind:"Variable",name:{kind:"Name",value:"cartId"}}},{kind:"ObjectField",name:{kind:"Name",value:"cart_items"},value:{kind:"Variable",name:{kind:"Name",value:"cartItems"}}}]}}],directives:[{kind:"Directive",name:{kind:"Name",value:"connection"},arguments:[{kind:"Argument",name:{kind:"Name",value:"key"},value:{kind:"StringValue",value:"addSimpleProductsToCart",block:!1}}]}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"cart"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"MinicartFragment"},directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"productDetail"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"productId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"upsell_products"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"related_products"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"related_vas"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"items"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"visible_in_related"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:677}};a.loc.source={body:"#import '../Cart/components/Context/components/Mutations/miniCartFragment.graphql'\n\nmutation addSimpleProductToCart($cartId: String!, $cartItems: [SimpleProductCartItemInput]!, $productId: Int!) {\n    addData: addSimpleProductsToCart(input: { cart_id: $cartId, cart_items: $cartItems })\n    @connection(key: \"addSimpleProductsToCart\") {\n        cart {\n            ...MinicartFragment\n        }\n    }\n    productDetail(id: $productId) {\n        id\n        upsell_products {\n            id\n        }\n        related_products {\n            id\n        }\n        related_vas {\n            items {\n                id\n                visible_in_related\n            }\n        }\n    }\n}",name:"GraphQL request",locationOffset:{line:1,column:1}};var t={};a.definitions=a.definitions.concat(i(94503).definitions.filter(function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!t[n]&&(t[n]=!0,!0)}));var d={};function r(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}a.definitions.forEach(function(e){if(e.name){var n=new Set;!function e(n,i){if("FragmentSpread"===n.kind)i.add(n.name.value);
1else if("VariableDefinition"===n.kind){var a=n.type;"NamedType"===a.kind&&i.add(a.name.value)}n.selectionSet&&n.selectionSet.selections.forEach(function(n){e(n,i)}),n.variableDefinitions&&n.variableDefinitions.forEach(function(n){e(n,i)}),n.definitions&&n.definitions.forEach(function(n){e(n,i)})}(e,n),d[e.name.value]=n}}),e.exports=a,e.exports.addSimpleProductToCart=function(e,n){var i={kind:e.kind,definitions:[r(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=d[n]||new Set,t=new Set,l=new Set;for(a.forEach(function(e){l.add(e)});l.size>0;){var s=l;l=new Set,s.forEach(function(e){t.has(e)||(t.add(e),(d[e]||new Set).forEach(function(e){l.add(e)}))})}return t.forEach(function(n){var a=r(e,n);a&&i.definitions.push(a)}),i}(a,"addSimpleProductToCart")},2468:e=>{e.exports={"product-drawer__header":"ProductInfoDrawerContent_product-drawer__header__AsmDO","product-drawer__header--no-overlay":"ProductInfoDrawerContent_product-drawer__header--no-overlay__GHCat","product-drawer__header-content":"ProductInfoDrawerContent_product-drawer__header-content__Yga4H","product-drawer__product-image":"ProductInfoDrawerContent_product-drawer__product-image__IgYOu","product-drawer__product-title":"ProductInfoDrawerContent_product-drawer__product-title__vY2LZ","product-drawer__product-description":"ProductInfoDrawerContent_product-drawer__product-description__jzwKE","product-drawer__inner-content":"ProductInfoDrawerContent_product-drawer__inner-content__k7Hxf","product-drawer__usp-description":"ProductInfoDrawerContent_product-drawer__usp-description__b8dq4","product-drawer__expandable-blocks":"ProductInfoDrawerContent_product-drawer__expandable-blocks__BQ3ZR",button:"ProductInfoDrawerContent_button__N8hJn"}},3122:e=>{e.exports={"flash-message":"Message_flash-message__OCrVj","flash-message__inner":"Message_flash-message__inner__VyBqe","flash-message__icon":"Message_flash-message__icon__Dq4nh","flash-message__inner--error":"Message_flash-message__inner--error__tgA0E","flash-message__inner--info":"Message_flash-message__inner--info__71MAV"}},5330:(e,n,i)=>{"use strict";i.d(n,{c:()=>t});var a=i(69432);function t(e,n){if(!e)return null;if(!n)return e;if("SimpleProduct"===n.__typename&&"SimpleProduct"===e.__typename)return{...e,images:n.images};if("ConfigurableProduct"===n.__typename&&(0,a.d1)(e)){let i=new Map((n.variation??[]).filter(e=>!!e?.sku).map(e=>[e.sku,e.images])),a=(e.variation??[]).map(e=>{if(!e?.sku)return e;let n=i.get(e.sku);return void 0===n?e:{...e,images:n}});return{...e,images:n.images,variation:a}}return e}},9742:e=>{var n={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"Specifications"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Specification"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"code"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"label"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"tooltip"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"icon"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"attributes"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"code"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"label"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"tooltip"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:177}};n.loc.source={body:"fragment Specifications on Specification {\n    code\n    label\n    tooltip\n    icon\n    attributes {\n        code\n        type\n        value\n        label\n        tooltip\n    }\n}",name:"GraphQL request",locationOffset:{line:1,column:1}};var i={};function a(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}n.definitions.forEach(function(e){if(e.name){var n=new Set;!function e(n,i){if("FragmentSpread"===n.kind)i.add(n.name.value);
1else if("VariableDefinition"===n.kind){var a=n.type;"NamedType"===a.kind&&i.add(a.name.value)}n.selectionSet&&n.selectionSet.selections.forEach(function(n){e(n,i)}),n.variableDefinitions&&n.variableDefinitions.forEach(function(n){e(n,i)}),n.definitions&&n.definitions.forEach(function(n){e(n,i)})}(e,n),i[e.name.value]=n}}),e.exports=n,e.exports.Specifications=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var d=i[n]||new Set,r=new Set,l=new Set;for(d.forEach(function(e){l.add(e)});l.size>0;){var s=l;l=new Set,s.forEach(function(e){r.has(e)||(r.add(e),(i[e]||new Set).forEach(function(e){l.add(e)}))})}return r.forEach(function(n){var i=a(e,n);i&&t.definitions.push(i)}),t}(n,"Specifications")},13686:e=>{e.exports={messages_container:"AppProviders_messages_container__1zjkf"}},14548:e=>{e.exports={root:"MessageContent_root__TUJMz",login:"MessageContent_login__DxdnT",info:"MessageContent_info__NplmK",inner:"MessageContent_inner__8IaIy",heading:"MessageContent_heading__DF4u5",content:"MessageContent_content__Xgoke",message:"MessageContent_message__F29jz",text:"MessageContent_text__8u_yC",container:"MessageContent_container__0AMGe",button_holder:"MessageContent_button_holder__Otbbb",consent:"MessageContent_consent__drNEM","consent--error":"MessageContent_consent--error__SQv0p",button:"MessageContent_button__n5QvA","root--disabled-container":"MessageContent_root--disabled-container__UNFVw"}},16182:e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetGiftProducts"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"ids"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"giftsList"},arguments:[{kind:"Argument",name:{kind:"Name",value:"ids"},value:{kind:"Variable",name:{kind:"Name",value:"ids"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"product_id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"items"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sku"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type_id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url_key"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"cached_image_url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"images"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"plp_image"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"label"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"position"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"price"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"price"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"specialPrice"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"quantity"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"total_stock"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"stock_status"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"detailed_usp_description"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"related_vas"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"items"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"sku"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"catalog_type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"price_monthly"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"price"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"specialPrice"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"binding_period"},arguments:[],directives:[]}]}}]}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ConfigurableProduct"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"configurable_options"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"attribute_code"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"label"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"values"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"label"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"value_index"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"variation"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sku"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"parent_sku"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url_key"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"quantity"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"images"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"plp_image"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"label"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"position"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"color"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"code"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"label"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hex_value"},arguments:[],directives:[]}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"variants"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"product"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sku"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url_key"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"cached_image_url"},arguments:[],directives:[]}]}}]}}]}}]}}]}}]}}],loc:{start:0,end:2106}};n.loc.source={body:"query GetGiftProducts($ids: [Int!]!) {\n    giftsList(ids: $ids) {\
1n        product_id\n        items {\n            sku\n            name\n            type_id\n            url_key\n            id\n            cached_image_url\n            images {\n                plp_image {\n                    label\n                    url\n                    position\n                }\n            }\n            price {\n                price\n                specialPrice\n            }\n            quantity\n            total_stock\n            stock_status\n            detailed_usp_description\n            related_vas {\n                items {\n                    id\n                    name\n                    sku\n                    catalog_type\n                    price_monthly {\n                        price\n                        specialPrice\n                        binding_period\n                    }\n                }\n            }\n            ... on ConfigurableProduct {\n                configurable_options {\n                    attribute_code\n                    label\n                    values {\n                        label\n                        value_index\n                    }\n                }\n                variation {\n                    sku\n                    parent_sku\n                    url_key\n                    quantity\n                    images {\n                        plp_image {\n                            label\n                            url\n                            position\n                        }\n                    }\n                    color {\n                        name\n                        value {\n                            value\n                            code\n                            label\n                            hex_value\n                        }\n                    }\n                }\n                variants {\n                    product {\n                        sku\n                        url_key\n                        name\n                        cached_image_url\n                    }\n                }\n            }\n        }\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var i={};function a(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}n.definitions.forEach(function(e){if(e.name){var n=new Set;!function e(n,i){if("FragmentSpread"===n.kind)i.add(n.name.value);else if("VariableDefinition"===n.kind){var a=n.type;"NamedType"===a.kind&&i.add(a.name.value)}n.selectionSet&&n.selectionSet.selections.forEach(function(n){e(n,i)}),n.variableDefinitions&&n.variableDefinitions.forEach(function(n){e(n,i)}),n.definitions&&n.definitions.forEach(function(n){e(n,i)})}(e,n),i[e.name.value]=n}}),e.exports=n,e.exports.GetGiftProducts=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var d=i[n]||new Set,r=new Set,l=new Set;for(d.forEach(function(e){l.add(e)});l.size>0;){var s=l;l=new Set,s.forEach(function(e){r.has(e)||(r.add(e),(i[e]||new Set).forEach(function(e){l.add(e)}))})}return r.forEach(function(n){var i=a(e,n);i&&t.definitions.push(i)}),t}(n,"GetGiftProducts")},17564:e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ProductDetailMedia"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"productDetail"},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:"__typename"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"SimpleProduct"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"images"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"thumbnail"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"label"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"position"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"main_image"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"label"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"position"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"plp_image"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"label"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"position"},arguments:[],directives:[]}]}}]}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ConfigurableProduct"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"images"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"thumbnail"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"label"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"position"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"main_image"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"label"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"position"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"plp_image"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"label"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"position"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"variation"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sku"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"images"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"thumbnail"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"label"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"position"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"main_image"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"label"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"position"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"plp_image"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"label"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"position"},arguments:[],directives:[]}]}}]}}]}}]}}]}}]}}],loc:{start:0,end:1551}};n.loc.source={body:"query ProductDetailMedia($id: Int) {\n    productDetail(id: $id) {\n        __typename\n        id\n        ... on SimpleProduct {\n            images {\n                thumbnail {\n                    label\n                    url\n                    position\n                }\n                main_image {\n                    label\n                    url\n                    position\n                }\n                plp_image {\n                    label\n                    url\n                    position\n                }\n            }\n        }\n        ... on ConfigurableProduct {\n            images {\n                thumbnail {\n                    label\n                    url\n                    position\n                }\n                main_image {\n                    label\n                    url\n                    position\n                }\n                plp_image {\n                    label\n                    url\n                    position\n                }\n            }\n            variation {\n                sku\n                images {\n                    thumbnail {\n                        label\n                        url\n                        position\n                    }\n                    main_image {\n                        label\n                        url\n                        position\n                    }\n                    plp_image {\n                        label\n                        url\n                        position\n                    }\n                }\n            }\n        }\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var i={};function a(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}n.definitions.forEach(function(e){if(e.name){var n=new Set;!function e(n,i){if("FragmentSpread"===n.kind)i.add(n.name.value);
1else if("VariableDefinition"===n.kind){var a=n.type;"NamedType"===a.kind&&i.add(a.name.value)}n.selectionSet&&n.selectionSet.selections.forEach(function(n){e(n,i)}),n.variableDefinitions&&n.variableDefinitions.forEach(function(n){e(n,i)}),n.definitions&&n.definitions.forEach(function(n){e(n,i)})}(e,n),i[e.name.value]=n}}),e.exports=n,e.exports.ProductDetailMedia=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var d=i[n]||new Set,r=new Set,l=new Set;for(d.forEach(function(e){l.add(e)});l.size>0;){var s=l;l=new Set,s.forEach(function(e){r.has(e)||(r.add(e),(i[e]||new Set).forEach(function(e){l.add(e)}))})}return r.forEach(function(n){var i=a(e,n);i&&t.definitions.push(i)}),t}(n,"ProductDetailMedia")},20279:(e,n,i)=>{"use strict";i.d(n,{y5:()=>ef,y0:()=>eN});var a=i(37876),t=i(14232),d=i(89099),r=i(42723),l=i.n(r),s=i(82773),o=i(92590),c=i(9871),u=i(49916),m=i(74691),v=i(25448),k=i(37463),p=i.n(k);let _=[{type:"UsernamePasswod",Component:function(e){let{method:n}=e,{t:i}=(0,c.Bd)(),{isRedirecting:t,logIn:d,referrerUrl:r}=(0,s.Ew)();async function l(){d(r?new URL(`${r}`).search:"")}return(0,a.jsx)("div",{className:p().root,children:(0,a.jsx)(m.l1,{initialValues:{},onSubmit:l,children:e=>{let{handleSubmit:d}=e;return(0,a.jsx)("form",{name:`log-in-${n.code}`,onSubmit:d,className:p().form,children:(0,a.jsx)(v.A,{ariaLabelText:i("auth__authorize"),type:"primary",buttonType:"submit",disabled:t,name:"login-proceed",loading:t,ButtonClasses:{root:p().proceed},children:i("auth__authorize")})})}})})}}];function g({method:e}){let n=_.find(n=>n.type===e.type);return n?(0,a.jsx)(n.Component,{method:e}):(console.error(`Method with type - ${e.type} is not configured`),null)}var f=i(65222),N=i.n(f);let h={code:"UsernamePasswod",id:"UsernamePasswod",options:[],type:"UsernamePasswod"};function S(){return(0,a.jsx)("div",{className:N().root,children:(0,a.jsx)(g,{method:h})})}var y=i(69241),F=i(51809),b=i(77983),x=i.n(b),P=i(8247),w=i(55336);let C=()=>{let{logInOpen:e,setLogInOpen:n}=(0,s.Ew)(),{t:i}=(0,c.Bd)(),t=()=>{n(!1)};return(0,a.jsx)("div",{children:(0,a.jsx)(F.A,{open:e,onClose:t,type:"tertiary",header:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("button",{"aria-label":"close",className:(0,y.A)(x().close,"button-login-cancel"),onClick:t,children:(0,a.jsx)(u.A,{iconType:P.kQ.closeAlt,size:w.F0.md})}),(0,a.jsx)("div",{className:x().title,children:i("auth__log-in")})]}),children:(0,a.jsx)(S,{})})})};var D=i(78635),E=i(64976),j=i(46668),I=i(60219),T=i(59666),V=i(85560),A=i(82046),q=i.n(A),M=i(34129),O=i(18001);function L(){let e=(0,d.useRouter)(),{isError:n,setIsError:i,errorMessage:r}=(0,j.B)(),{setOnSubmitCallback:l}=(0,I.xW)(),{data:s}=(0,T.LV)(),o=s?.config?.hide_lead_button??!1;async function c(e){return new Promise(n=>{(0,O.b)(s,e)&&i(!1),n()})}return((()=>{let e=(0,d.useRouter)(),n=(0,V.m)(q()),{purchase:i}=(0,M.x)();async function a(){try{let{data:e}=await n({fetchPolicy:"no-cache"});i({...e.checkout_last_order_data,purchaseStatus:"failed"})}catch(e){console.error(e)}}(0,t.useEffect)(()=>{e.query.hasOwnProperty("error")&&a()},[e])})(),(0,t.useEffect)(()=>
1{l(()=>c)},[]),e.query.hasOwnProperty("error")||n)?(0,a.jsx)(E.A,{disableContact:o,message:r}):null}var $=i(11191),G=i(3122),B=i.n(G);function z(){let{message:e}=(0,$.TP)();return e.text?(0,a.jsx)("div",{className:(0,y.A)(B()["flash-message"],"message",`message--${e.type}`),children:(0,a.jsxs)("div",{className:(0,y.A)(B()["flash-message__inner"],B()[`flash-message__inner--${e.type}`]),children:[(0,a.jsx)(u.A,{IconClasses:{root:B()["flash-message__icon"]},size:w.F0.sm,iconType:"error"===e.type?P.kQ.icInfo:P.kQ.check}),e.text]})}):(0,a.jsx)("div",{})}var U=i(18931),Q=i(96435),R=i(88294);let H=()=>{let{data:e,viewMode:n}=(0,Q.vd)();if(!e)return null;if("info"===n){let n=i(74823).default;return(0,a.jsx)(n,{data:e})}let t=(0,R.V6)(e.productDetail?.catalog_type??"");return t?(0,a.jsx)(t.Component,{data:e}):null};function Y(){let{isOpen:e,close:n,data:i,productDrawerId:r,setIsOpen:l,setupProduct:s,setViewMode:o,setIsTypeGift:c}=(0,Q.vd)(),{setOnAddToCartSuccessCallback:u}=(0,j.B)(),m=i?(0,R.V6)(i.productDetail?.catalog_type??"")?.name:"",{pageType:v}=eN(),k=(0,d.useRouter)(),p=async()=>{let e=window.location.hash;if(!e)return;let n=e.match(/#product-(.+?(?=&|$))/),i=e.match(/#productInfo-(.+?(?=&|$))/),a=e.match(/#giftProduct-(.+?(?=&|$))/);if(n){c(!1),l(!0),o(R.Fj.addToCart),await s(void 0,n[1],!0,v);return}if(i){c(!1),l(!0),o("info"),await s(void 0,i[1],!0,v);return}if(a){c(!0),l(!0),o(R.Fj.addToCart),await s(void 0,a[1],!0,v);return}};return(0,t.useEffect)(()=>{e?u(()=>n):u(null)},[e,i]),(0,t.useEffect)(()=>{r&&(l(!0),s(r,"",!0,v))},[r]),(0,t.useEffect)(()=>(p(),window.addEventListener("hashchange",p,!1),()=>{window.removeEventListener("hashchange",p,!1)}),[v,k.locale]),(0,a.jsx)(U.A,{onCloseButtonClick:n,name:"product-drawer",open:e,type:"hardware"===m||"vas"===m?"secondary":void 0,children:(0,a.jsx)(H,{})})}var W=i(18847),K=i.n(W),J=i(94021),Z=i.n(J),X=i(54431),ee=i(8261),en=i(70346),ei=i.n(en),ea=i(9477);let et=()=>{let{close:e,isOpen:n,data:i,blockId:r}=(()=>{let[e,n]=(0,t.useState)(!1),[i,a]=(0,t.useState)(""),r=(0,d.useRouter)(),{flash:l}=(0,$.TP)(),s=(0,t.useCallback)(async()=>{n(!1),a("");let e=(0,ee.getPath)(r.asPath)||"/";r.query.hasOwnProperty("slug")&&(e=r.query.slug),await r.replace(r.route,e,{shallow:!0})},[r]),{data:o,error:c}=(0,X.IT)(Z(),{variables:{identifier:i},skip:!i});(0,t.useEffect)(()=>{o&&i&&(o.cmsBlocks?.items?.find(e=>e?.identifier===i)||(l(null,"error"),s()))},[i,s,o,l]),(0,t.useEffect)(()=>{c&&(l(null,"error"),s())},[s,c,l]);let u=(0,t.useCallback)(async()=>{let e=m();if(!e)return;let i=e.match(/#block-(.+?(?=&|$))/);i&&(n(!0),a(i[1]))},[]);(0,t.useEffect)(()=>(u().then(),window.addEventListener("hashchange",u,!1),()=>{window.removeEventListener("hashchange",u,!1)}),[u]);let m=()=>window.location.hash;return{data:o,isOpen:e,close:s,blockId:i}})(),{t:l}=(0,c.Bd)(),{website:s}=(0,o.gJ)(),u=i?.cmsBlocks?.items?.find(e=>e?.identifier===r);return(0,a.jsx)(U.A,{onCloseButtonClick:e,name:"cms-drawer",open:n,type:"extra",children:(0,a.jsx)("div",{children:u&&(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:ei().header,children:u.title}),(0,a.jsx)("div",{className:ei().body,children:(0,a.jsx)(ea.A,{html:u.content})}),(0,a.jsx)("div",{className:ei().footer,children:(0,a.jsx)(v.A,{ariaLabelText:l("forms__close"),ButtonClasses:{root:ei().button},type:s.theme.type,onClick:async()=>{await e()},children:(0,a.jsx)(a.Fragment,{children:l("forms__close")})})})]})})})};var ed=i(13686),er=i.n(ed),el=i(48664),es=i.n(el),eo=i(61123),ec=i(66140),eu=i(69859),em=i(91559);let ev=()=>{let{miniCart:e}=(0,j.B)(),{t:n}=(0,c.Bd)(),[i,d]=(0,t.useState)(!0),r="cart-message-active",{isVisible:l,isDone:s,counting:o,hours:m,minutes:v,seconds:k}=(0,eu.b)(e?.reservation_expires_at??"",e?.active_scenarios??"","is_new_number");return((0,t.useEffect)(()=>l&&i?(document.body.classList.add(r),()=>{document.body.classList.remove(r)}):void document.body.classList.remove(r),[l,i]),l&&i)?(0,a.jsxs)("div",{className:es().root,children:[(0,a.jsx)(em.A,{iconType:P.kQ.close,onClick:()=>{d(!1)},className:es().close}),(0,a.jsx)(eo.A,{children:(0,a.jsxs)("div",{className:es().content,children:[(0,a.jsxs)("div",{className:es().text,children:[(0,a.jsx)(u.A,{className:es().icon,iconType:P.kQ.hourglass}),(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:es().title,children:s?n("cart-message__expired"):n("cart-message__time-left",{time:o?m?n("time__left-hours",{hours:`${("0"+m).slice(-2)}:${("0"+v).slice(-2)}`}):`${("0"+v).slice(-2)}:${("0"+k).slice(-2)}`:"00:00"})}),(0,a.jsx)("div",{children:n(s?"cart-message__expired-description":"cart-message__time-left-description")})]})]}),(0,a.jsx)(ec.A,{href:"/checkout",ariaLabelText:n("cart-message__continue-shopping"),className:es().button,type:"normal",children:n("cart-message__continue-shopping")})]})})]}):null},ek=K()(()=>Promise.all([i.e(6527),i.e(38)]).then(i.bind(i,38)),{loadableGenerated:{webpack:()=>[38]},ssr:!1});function ep({children:e}){let n=eN();return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(C,{}),"checkout page"!==n.pageType&&"thank you page"!==n.pageType&&(0,a.jsx)(ev,{}),"checkout page"!==n.pageType&&(0,a.jsx)("div",{className:er().messages_container,children:(0,a.jsx)(D.A,{})}),(0,a.jsx)(L,{}),(0,a.jsx)(z,{}),(0,a.jsx)(Y,{}),(0,a.jsx)(ek,{}),(0,a.jsx)(et,{}),e]})}var e_=i(75527);let eg=(0,t.createContext)({pageType:"",dataLayerReady:!1}),ef=({children:e,pageType:n,onPageTypeView:i,id:r})=>{let c=(0,d.useRouter)(),{isLoading:u,currentCustomer:m}=(0,s.Ew)(),{website:v}=(0,o.gJ)(),[k,p]=(0,t.useState)(!1),[_,g]=(0,t.useState)(!1),f=(0,t.useMemo)(()=>({path:"",href:"",locale:""}),[]),[N,h]=(0,e_.M)("prev_page",f),S=(0,t.useCallback)(()=>
1{if(k)return;let e=c.asPath.split("?")[0].replace(/%/g,"");(e!==N.path.split("?")[0].replace(/%/g,"")||N.locale!==c.locale)&&(l().dataLayer({dataLayer:{event:"page_view",pagePath:e,language:c.locale,customerClass:v.name,pageType:n,customerLoginStatus:m?"logged in":"logged out",customerId:m?Array.isArray(m.primaryAsset)?m.primaryAsset[0].hashedMsisdn:m.primaryAsset?.hashedMsisdn:"undefined",previous_page:N.path?N.href:"undefined"}}),g(!0),h({path:c.asPath,href:window.location.href,locale:c.locale??""}),i&&i())},[k,c.asPath,c.locale,N,v.name,n,m,h,i]);return(0,t.useEffect)(()=>{let e=()=>{p(!0),h(f)};return window.addEventListener("beforeunload",e),()=>{window.removeEventListener("beforeunload",e)}},[f,h]),(0,t.useEffect)(()=>{u||S()},[u,r,S]),(0,a.jsx)(eg.Provider,{value:{pageType:n,dataLayerReady:_},children:(0,a.jsx)(ep,{children:e})})},eN=()=>(0,t.useContext)(eg)},24283:(e,n,i)=>{"use strict";i.d(n,{B:()=>k});var a=i(14232),t=i(64177),d=i(46668),r=i(1777),l=i.n(r),s=i(28318),o=i.n(s),c=i(33030),u=i(60219),m=i(20279);let v=[c.v.configurable,c.v.simple],k=e=>{let{product:n,parentProduct:i,additionalProducts:r=[],leadFormCode:s,binding:k,additionalData:p}=e,{addItemToCart:_,addingItem:g}=(0,d.B)(),{pageType:f}=(0,m.y0)(),[N]=(0,t.n)(l()),[h]=(0,t.n)(o()),S=(0,u.xW)(),y=(0,a.useCallback)(async(e,a)=>{if(!n||!i)return;let t="__typename"in i?i?.__typename:void 0,d="sku"in n?n.sku:null;t!==c.v.configurable||d&&d!==i.sku?await F({item:n,productId:"id"in n?n.id:0,productType:t,quantity:1,additionalProducts:r,custom_link:e,additionalData:p,skipRelatedPageRedirect:a},i):console.error("Configurable add to cart blocked: variation sku not ready.")},[h,n,i,r]),F=async(e,n)=>{let i={...e,period:0,placement:f,binding:e.binding??k,addItemMutation:void 0};if(s&&S){let e=[n?.id,...r.map(e=>e.id)].join(",");S.setFormCode(s),S.setCustomFields([{name:"cart-items",value:e}]);return}v.includes(e.productType??"")?(e.productType===c.v.configurable&&(i.parentSku=n?.sku??"",i.productId=n?.id??0,_({...i,addConfigurableItemMutation:h})),e.productType===c.v.simple&&_({...i,addSimpleItemMutation:N})):console.error("Unsupported product type. Cannot add to cart.")};return{addToCart:F,handleAddToCart:y,isAddingItem:g===n}}},26856:(e,n,i)=>{"use strict";i.d(n,{He:()=>M,ZU:()=>O});var a=i(37876),t=i(14232),d=i(93932),r=i(89099),l=i(8247),s=i(8261),o=i(54431),c=i(67471),u=i.n(c),m=i(82851),v=i.n(m),k=i(16182),p=i.n(k),_=i(38111),g=i.n(_),f=i(87063),N=i(85648);let h=e=>e?.productDetail;var S=i(17564),y=i.n(S),F=i(5330);let b=e=>e?.productDetail;var x=i(68974),P=i.n(x),w=i(42620),C=i(69432);let D=e=>e?.productDetail;var E=i(26689),j=i(24283),I=i(71314),T=i(96464),V=i(41779);let A=(0,t.createContext)({}),q=A.Provider;function M({children:e,product:n,overrides:i={}}){let c,m,k,_,{pricePlans:S,vases:x,gifts:A,dataLoaded:O}=(e=>{let n=(0,t.useRef)(e?.id),[i,a]=(0,t.useState)(null);e?.id!==n.current&&(n.current=e?.id,a(null));let{data:d}=(0,o.IT)(u(),{variables:{id:e?.id},skip:!e?.id,errorPolicy:"all"}),{data:r=null,error:l,loading:s}=(0,o.IT)(p(),{variables:{ids:[n.current]},skip:!!i,fetchPolicy:"cache-first"});(0,t.useEffect)(()=>{r&&a(r.giftsList[0]?.items??null)},[r]);let c=d&&!v().isEmpty(d),m=c?d.productDetail?.price_plan_products:[],k=c?d.productDetail?.related_vas?.items:[];return r?.giftsList[0]?.items,{pricePlans:m,vases:k,gifts:i,dataLoaded:c}})(n),{product:L}=(e=>{let n=(0,t.useCallback)(D,[]),i=!!(e&&(0,C.d1)(e)&&e.id),{data:a,loading:d}=(0,N.E)({document:P(),operationName:"ProductDetailVariations",id:i?e?.id:null,select:n});return{product:(0,w.g)(e,a),variations:a,variationsLoaded:!!a,loading:d}})(n),{product:$}=(e=>{let n=(0,t.useCallback)(b,[]),{data:i,loading:a}=(0,N.E)({document:y(),operationName:"ProductDetailMedia",id:e?.id,select:n});return{product:(0,F.c)(e,i),media:i,mediaLoaded:!!i,loading:a}})(L??n),{product:G}=(e=>{let n=(0,t.useCallback)(h,[]),{data:i,loading:a}=(0,N.E)({document:g(),operationName:"ProductDetailContent",id:e?.id,select:n});return{product:(0,f.x)(e,i),content:i,contentLoaded:!!i,loading:a}})($??L??n),{colorQuery:B="varvi",pricePlanQuery:z="pakett",vasQuery:U="kindlustus",noSelection:Q="ei",pricePlanVasQuery:R="pakett_vas",giftQuery:H="gift",giftColorQuery:Y="gift_color"}=i,{itemView:W}=(0,d.Y)(),K=(0,r.useRouter)(),[J,Z]=(0,t.useState)(),[X,ee]=(0,t.useState)(!1),[en,ei]=(0,t.useState)(!1),{addToCart:ea}=(0,j.B)({}),[et,ed]=(0,t.useState)(!1),[er,el]=(0,t.useState)(!1),es=G??$??L??n,eo=!!n&&(0,C.d1)(n),ec=es&&(0,C.d1)(es)?es:n,[eu,em]=(0,t.useState)(null),[ev,ek]=(0,t.useState)(null),[ep,e_]=(0,t.useState)(!1);(0,t.useEffect)(()=>{ee(!1),Z(null),ei(!1),el(!1),e_(!1)},[n]);let eg=(0,t.useCallback)((e,n="name")=>!!e&&S?.find(i=>!!i?.hasOwnProperty(n)&&i[n]===e),[S]),ef=(0,t.useCallback)((e,n="name")=>!!x?.length&&x.find(i=>!!i?.hasOwnProperty(n)&&i[n]===e),[x]),eN=(0,t.useCallback)((e,n="name")=>A?.length&&e.length?A.find(i=>i?.hasOwnProperty(n)?i[n]===e:null)??null:null,[A]),eh=(0,t.useCallback)(e=>[B,z,U,R,H,Y].map(n=>{let i=e.find(e=>e.key===n);return i?null===i.value?null:{key:i.key,value:i.value}:K.query[n]?{key:n,value:K.query[n]}:void 0}).filter(e=>e).reduce((e,n)=>{let i="";return e&&(i="&"),e+i+`${n?.key}=${n?.value}`},""),[B,z,K.query,U,R]),eS=(0,t.useCallback)(e=>{if(!K.isReady)return;let n=eh(e),i=(0,s.getUrlPath)(K.asPath);K.replace(`/${i}?${n}`,"",{shallow:!0})},[eh,K]),ey=(0,t.useCallback)(e=>{let n=eo?(0,E.by)(ec.variation):0;
1return(eo?ec.variation?.find(n=>n?.color?.value?.code===e):null)||(eo&&ec.variation?.length?ec.variation[n]:null)},[ec.variation,eo]),eF=(0,t.useCallback)(()=>{if(!eo)return n;let e=new URL(window.location.toString()).searchParams.get(B),i=ey(e??"");return e||eS([{key:B,value:i?.color?.value?.code??""}]),i},[B,ey,eo,n,eS]),eb=(0,t.useCallback)(async()=>{let e=new URL(window.location.toString()),i=e.searchParams.get("autoadd"),a=e.searchParams.get("autoredirect");if(!i&&!a||en)return;let t=[],d=ey(e.searchParams.get(B)??""),r=eg(e.searchParams.get(z)??"","url_key"),l=ef(e.searchParams.get(U)??"","url_key");(!eo||d?.sku&&d.sku!==n?.sku)&&(r&&t.push({sku:r.sku??null}),l&&t.push({sku:l.sku??null}),ei(!0),e.searchParams.delete("autoadd"),e.searchParams.delete("autoredirect"),await K.replace(`${e.pathname}${e.search}`,"",{shallow:!0}),await ea({item:{sku:d?.sku},productId:null,productType:n?.__typename,quantity:1,additionalProducts:t,redirect:!!a},n))},[ea,en,B,eg,ey,ef,eo,z,n,K,U]),ex=eg(K.query[z]?.toString()??"","url_key"),eP=(c=ex||null,c?.related_vas?.items??[]),ew=(m=(K.query[R]?.toString()??"").split(","),eP?.filter(e=>m.includes(e?.sku??""))??[]),eC=(K.query[R]?.toString()??"").split(",")??[],eD=ex?(k=K.query[z]===Q?l.mc:void 0,ex?ex.name:k):null,eE=ef(K.query[U]?.toString()??"","url_key"),ej=eE?(_=K.query[U]===Q?l.mc:void 0,eE?eE.name:_):null,eI=[...ew,...eE?[eE]:[]];(0,t.useEffect)(()=>{let e=eN(K.query[H]?.toString()??"","url_key");e?em(e):em(null)},[K.query[H],A]);let eT=(0,t.useMemo)(()=>eu&&eu&&"name"in eu&&eu.name?eu.name:null,[eu]),eV=(0,V.yQ)(ep,eT,A),eA=(0,t.useCallback)((e,n)=>{let i=(0,C.d1)(n),a=i?(0,E.by)(n.variation):0;return(i?n.variation?.find(n=>n?.color?.value?.code===e):null)||(i?n.variation?.length?n.variation[a]:null:n)},[]);(0,t.useEffect)(()=>{eu&&ek(eA(K.query[Y]?.toString()??"",eu))},[K.query[Y],eu]),(0,t.useEffect)(()=>{O&&eb()},[eb,O]),(0,t.useEffect)(()=>{X||(!eo||ec.variation?.length)&&(ee(!0),Z(eF()))},[ec.variation?.length,eF,X,eo]);let{elementRef:eq}=(0,I.z)(e=>{ed(!e)},[]),eM=J||(eo?ec.variation?.length?ec.variation[0]:null:n),eO=eM?eo&&es&&(0,C.d1)(es)?es.variation?.find(e=>e?.sku===eM.sku)??eM:es?.__typename==="SimpleProduct"?es:eM:null;return(0,a.jsx)(q,{value:{vases:x,product:es,pricePlans:S,selectedVasItems:eI,currentVariation:eO,currentPricePlan:ex||null,currentVas:eE||null,selectedVas:ej||null,selectedGift:eT,giftProducts:A,pricePlan:eD||null,handleColorChange:e=>{let n=eo?ec.variation?.find(n=>n?.color?.value?.hex_value===e):null;eS([{key:B,value:n?n.color?.value?.code??Q:Q}]),X&&Z(n)},handlePricePlanOnChange:e=>{let n=eg(e);n&&W(n,{placement:"e-shop product page"}),eS([{key:z,value:n?n.url_key??Q:Q},{key:R,value:Q}])},handleVasOnChange:e=>{let n=ef(e);eS([{key:U,value:n?n.url_key??Q:Q}])},handleGiftOnChange:e=>{let n=eN(e);eS([{key:H,value:n?n.url_key??Q:Q}]),e_(!1)},handleGiftColorChange:e=>{let n=eu?eu.variation?.find(n=>n?.color?.value?.hex_value===e):null;eS([{key:Y,value:n?n.color?.value?.code??Q:Q}])},handleGiftVasChange:e=>{e_(e)},giftVasChecked:ep,giftVas:eV,availabilityStatus:(0,T.y)(eO),toCartElement:eq,barVisible:et,handlePricePlanVasesOnChange:e=>{if(!ex)return;let n=(new URL(window.location.toString()).searchParams.get(R)??"").split(",");n.includes(Q)&&n.pop(),!n.includes(e)&&e.length?n.push(e):n=n.filter(n=>n!==e),eS([{key:R,value:n&&n.length?n.toString()??Q:Q}])},selectedCurrentPricePlanVasSkus:eC,currentPricePlanSelectedVasItems:ew,setShowEfficiencyLabel:el,showEfficiencyLabel:er,currentGiftVariation:ev},children:e})}let O=()=>(0,t.useContext)(A)},28318:(e,n,i)=>{var a={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"addConfigurableProductToCart"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"cartId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"cartItems"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NamedType",name:{kind:"Name",value:"ConfigurableProductCartItemInput"}}}},directives:[]}
1,{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"productId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"addData"},name:{kind:"Name",value:"addConfigurableProductsToCart"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"cart_id"},value:{kind:"Variable",name:{kind:"Name",value:"cartId"}}},{kind:"ObjectField",name:{kind:"Name",value:"cart_items"},value:{kind:"Variable",name:{kind:"Name",value:"cartItems"}}}]}}],directives:[{kind:"Directive",name:{kind:"Name",value:"connection"},arguments:[{kind:"Argument",name:{kind:"Name",value:"key"},value:{kind:"StringValue",value:"addConfigurableProductsToCart",block:!1}}]}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"cart"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"MinicartFragment"},directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"productDetail"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"productId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"upsell_products"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"related_products"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"related_vas"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"items"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"visible_in_related"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:713}};a.loc.source={body:"#import '../Cart/components/Context/components/Mutations/miniCartFragment.graphql'\n\nmutation addConfigurableProductToCart(\n    $cartId: String!\n    $cartItems: [ConfigurableProductCartItemInput]!\n    $productId: Int!\n) {\n    addData: addConfigurableProductsToCart(input: { cart_id: $cartId, cart_items: $cartItems })\n    @connection(key: \"addConfigurableProductsToCart\") {\n        cart {\n            ...MinicartFragment\n        }\n    }\n    productDetail(id: $productId) {\n        id\n        upsell_products {\n            id\n        }\n        related_products {\n            id\n        }\n        related_vas {\n            items {\n                id\n                visible_in_related\n            }\n        }\n    }\n}",name:"GraphQL request",locationOffset:{line:1,column:1}};var t={};a.definitions=a.definitions.concat(i(94503).definitions.filter(function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!t[n]&&(t[n]=!0,!0)}));var d={};function r(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}a.definitions.forEach(function(e){if(e.name){var n=new Set;!function e(n,i){if("FragmentSpread"===n.kind)i.add(n.name.value);else if("VariableDefinition"===n.kind){var a=n.type;"NamedType"===a.kind&&i.add(a.name.value)}n.selectionSet&&n.selectionSet.selections.forEach(function(n){e(n,i)}),n.variableDefinitions&&n.variableDefinitions.forEach(function(n){e(n,i)}),n.definitions&&n.definitions.forEach(function(n){e(n,i)})}(e,n),d[e.name.value]=n}}),e.exports=a,e.exports.addConfigurableProductToCart=function(e,n){var i={kind:e.kind,definitions:[r(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=d[n]||new Set,t=new Set,l=new Set;for(a.forEach(function(e){l.add(e)});l.size>0;){var s=l;
1l=new Set,s.forEach(function(e){t.has(e)||(t.add(e),(d[e]||new Set).forEach(function(e){l.add(e)}))})}return t.forEach(function(n){var a=r(e,n);a&&i.definitions.push(a)}),i}(a,"addConfigurableProductToCart")},34129:(e,n,i)=>{"use strict";i.d(n,{x:()=>v});var a=i(42723),t=i.n(a),d=i(92590),r=i(34320),l=i(26689),s=i(82773),o=i(8467),c=i(33030),u=i(89099);let m="Subscription",v=()=>{let{website:e}=(0,d.gJ)(),{selectedAccount:n}=(0,s.Ew)(),{priceLayer:i,itemTypeLayer:a}=(0,o.v)(),v=(0,u.useRouter)();return{purchase:(d,s)=>{let o=d.items.map(e=>{var n;let t,l,o,u;return{...(n=d.payment_type,l=(t=!!e.monthly_price.price)?e.monthly_price:e.price,o=(0,r.A)(e.additional_data),u=t?l.period:"undefined",{id:e.salestool_id,sku:o.directo_code?o.directo_code:e.sku,additional_id:e.sku,name:e.name,quantity:1,brand:o.brand,leasing_min_price:"0"!==o.leasing_min_price?o.leasing_min_price:"undefined",variant:o.variant,id_variant:o.id_variant,product_tag:o.product_tag?o.product_tag:"undefined",category:o.category_path,leasing_period:u||"undefined",product_payment:e.catalog_type===c.v.pricePlan||e.catalog_type===c.v.vas?m:"inbank"===n?"Leasing":"Full price",activation_type:o.action_type,placement:e.placement?e.placement:"product page",...a(o),...i(e,"monthly_price",t)}),...s}}),u=0;o.map(e=>{e.product_payment===m&&(u+=e.price)});let k=o.reduce((e,n)=>(e[n.id]=(e[n.id]||0)+1,e),{});t().dataLayer({dataLayer:{event:"purchase",page_type:"thankYouPage",language:v.locale,customer_class:e.name,sales_funnel:d.active_scenarios,customer_type:n?n.type:"undefined",item_list:[...new Set(o.map(e=>e.name))],product_list:Object.entries(k).map(([e,n])=>`${e},${n}`),quantity_products:o?.length,payment_type:d.payment_type,purchase_status:d.purchaseStatus,step_name:"purchase",step_number:d.step_number,ecommerce:{purchase:{actionField:{id:d.increment_id,salestool_order_id:d.salestool_order_id,revenue:(0,l.$g)(d.grand_total+u),shipping:(0,l.$g)(d.shipping_amount),shipping_method:d.shipping_description},products:o}}}})}}}},35434:e=>{e.exports={"panel--hoverable":"ExpansionPanel_panel--hoverable__nWue9",summary:"ExpansionPanel_summary__5hUWD",overlay:"ExpansionPanel_overlay__Ghz_p","summary_icon--normal":"ExpansionPanel_summary_icon--normal__tVN5M","summary_icon--hover":"ExpansionPanel_summary_icon--hover__2SVNf",summary_title:"ExpansionPanel_summary_title__V_1oa",summaryButton:"ExpansionPanel_summaryButton__kHRt4",summary_description:"ExpansionPanel_summary_description__Esj6a",summary_icon:"ExpansionPanel_summary_icon__Cbyi7","panel--image":"ExpansionPanel_panel--image__t7Xps","panel--icon":"ExpansionPanel_panel--icon__XutPM",details:"ExpansionPanel_details__M_Jfn","panel--expanded":"ExpansionPanel_panel--expanded__0954U",summary_image:"ExpansionPanel_summary_image__2dyVi",summary_top_image:"ExpansionPanel_summary_top_image__I941F",summary_figure:"ExpansionPanel_summary_figure__wgrpw",summary_content:"ExpansionPanel_summary_content__LYN6k",details_overlay:"ExpansionPanel_details_overlay__s2poT",details_content:"ExpansionPanel_details_content__ptUE5",popover:"ExpansionPanel_popover__WbxIE",details_popover:"ExpansionPanel_details_popover__a9l3O","root--secondary":"ExpansionPanel_root--secondary__yzz_L","root--tertiary":"ExpansionPanel_root--tertiary__GgmXm","root--extra":"ExpansionPanel_root--extra__m33Zd","root--normal":"ExpansionPanel_root--normal__lIkSc","root--alternate":"ExpansionPanel_root--alternate__EYkYV","root--base":"ExpansionPanel_root--base__GVy6R","root--info":"ExpansionPanel_root--info__tvHK1","root--widget":"ExpansionPanel_root--widget__NqMFC",panel:"ExpansionPanel_panel__cUIAe"}},36453:e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"productDetail"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"urlKey"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"ignoreVisibility"}},type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"productDetail"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}},{kind:"Argument",name:{kind:"Name",value:"url_key"},value:{kind:"Variable",name:{kind:"Name",value:"urlKey"}}},{kind:"Argument",name:{kind:"Name",value:"ignore_visibility"},value:{kind:"Variable",name:{kind:"Name",value:"ignoreVisibility"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"brand_label"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"brand"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"phone_model_option_id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"operating_system"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"salestool_id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"directo_code"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"directo_sku"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"sku"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"meta_title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"meta_keyword"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"meta_description"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"meta_robots"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"catalog_type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url_key"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"total_stock"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"show_lead_form"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"lead_form_code"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"product_url_full"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"is_preorder"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"preorder_delivery_message"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"campaign_price"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"canonical_path"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"cached_image_url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"to_cart_custom_link"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"to_cart_custom_text"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"view_more_custom_link"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"price_prefix"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"price_label"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"price_promotion_label"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"category_path"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"categories"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"pdp_related_categories"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"category_id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"filter_type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"filter_value"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"icon"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"payments_group"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"leasing_inbank_code"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"leasing_inbank_code_default"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"leasing_inbank_default_period"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"smartrent_default_period"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"type_data"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"is_accessory"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"is_device"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"is_insurance"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"is_priceplan"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"image"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"price"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"price"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"specialPrice"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"leasing_price"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"special_leasing_price"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"buynowpaylater_price"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"smartdeal_price"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"zero_interest_rate"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"tags"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"values"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"code"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"label"},arguments:[],directives:[]}]}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"SimpleProduct"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"package_type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"plan_type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"price_monthly"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"price"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"specialPrice"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"is_with_tax"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"binding_period"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"binding_price_monthly"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"price"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"specialPrice"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"is_with_tax"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"binding_period"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"original_discount_amount"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"small_image"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"thumbnail"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"quantity"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"source_quantity"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"source_code"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"quantity"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:2484}};n.loc.source={body:"query productDetail($id: Int, $urlKey: String, $ignoreVisibility: Boolean) {\n    productDetail(id: $id, url_key: $urlKey, ignore_visibility: $
1ignoreVisibility) {\n        __typename\n        id\n        name\n        brand_label\n        brand\n        phone_model_option_id\n        operating_system\n        salestool_id\n        directo_code\n        directo_sku\n        sku\n        meta_title\n        meta_keyword\n        meta_description\n        meta_robots\n        catalog_type\n        url_key\n        total_stock\n        show_lead_form\n        lead_form_code\n        product_url_full\n        is_preorder\n        preorder_delivery_message\n        campaign_price\n        canonical_path\n        cached_image_url\n        to_cart_custom_link\n        to_cart_custom_text\n        view_more_custom_link\n        price_prefix\n        price_label\n        price_promotion_label\n        category_path\n        categories {\n            id\n        }\n        pdp_related_categories {\n            category_id\n            name\n            filter_type\n            filter_value\n            icon\n        }\n        payments_group {\n            leasing_inbank_code\n            leasing_inbank_code_default\n            leasing_inbank_default_period\n            smartrent_default_period\n        }\n        type_data {\n            is_accessory\n            is_device\n            is_insurance\n            is_priceplan\n        }\n        image {\n            url\n        }\n        price {\n            price\n            specialPrice\n            leasing_price\n            special_leasing_price\n            buynowpaylater_price\n            smartdeal_price\n            zero_interest_rate\n        }\n        tags {\n            name\n            values {\n                code\n                value\n                label\n            }\n        }\n        ... on SimpleProduct {\n            package_type\n            plan_type\n            price_monthly {\n                price\n                specialPrice\n                is_with_tax\n                binding_period\n            }\n            binding_price_monthly {\n                price\n                specialPrice\n                is_with_tax\n                binding_period\n                original_discount_amount\n            }\n            small_image {\n                url\n            }\n            thumbnail {\n                url\n            }\n            quantity\n            source_quantity {\n                source_code\n                quantity\n            }\n        }\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var i={};function a(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}n.definitions.forEach(function(e){if(e.name){var n=new Set;!function e(n,i){if("FragmentSpread"===n.kind)i.add(n.name.value);else if("VariableDefinition"===n.kind){var a=n.type;"NamedType"===a.kind&&i.add(a.name.value)}n.selectionSet&&n.selectionSet.selections.forEach(function(n){e(n,i)}),n.variableDefinitions&&n.variableDefinitions.forEach(function(n){e(n,i)}),n.definitions&&n.definitions.forEach(function(n){e(n,i)})}(e,n),i[e.name.value]=n}}),e.exports=n,e.exports.productDetail=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var d=i[n]||new Set,r=new Set,l=new Set;for(d.forEach(function(e){l.add(e)});l.size>0;){var s=l;l=new Set,s.forEach(function(e){r.has(e)||(r.add(e),(i[e]||new Set).forEach(function(e){l.add(e)}))})}return r.forEach(function(n){var i=a(e,n);i&&t.definitions.push(i)}),t}(n,"productDetail")},37463:e=>{e.exports={root:"LogInMethodUsernamePassword_root__y1V2_",form:"LogInMethodUsernamePassword_form__Toug0",proceed:"LogInMethodUsernamePassword_proceed__UnUp8"}},38111:(e,n,i)=>{var a={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ProductDetailContent"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"productDetail"},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:"__typename"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"short_description"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"html"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"html"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"usp_description"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"detailed_usp_description"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"specification"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"Specifications"},directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"pdp_usp"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"content"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"pdp_smartrent_calculator"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"content"},arguments:[],directives:[]}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"SimpleProduct"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"detailed_usp_description"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"useful_information"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"content"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"terms_and_conditions"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"content"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:786}};
1a.loc.source={body:'#import "../../specifications.graphql"\n\nquery ProductDetailContent($id: Int) {\n    productDetail(id: $id) {\n        __typename\n        id\n        short_description {\n            html\n        }\n        description {\n            html\n        }\n        usp_description\n        detailed_usp_description\n        specification {\n            ...Specifications\n        }\n        pdp_usp {\n            title\n            content\n        }\n        pdp_smartrent_calculator {\n            title\n            content\n        }\n        ... on SimpleProduct {\n            detailed_usp_description\n            useful_information {\n                title\n                content\n            }\n            terms_and_conditions {\n                title\n                content\n            }\n        }\n    }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var t={};a.definitions=a.definitions.concat(i(9742).definitions.filter(function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!t[n]&&(t[n]=!0,!0)}));var d={};function r(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}a.definitions.forEach(function(e){if(e.name){var n=new Set;!function e(n,i){if("FragmentSpread"===n.kind)i.add(n.name.value);else if("VariableDefinition"===n.kind){var a=n.type;"NamedType"===a.kind&&i.add(a.name.value)}n.selectionSet&&n.selectionSet.selections.forEach(function(n){e(n,i)}),n.variableDefinitions&&n.variableDefinitions.forEach(function(n){e(n,i)}),n.definitions&&n.definitions.forEach(function(n){e(n,i)})}(e,n),d[e.name.value]=n}}),e.exports=a,e.exports.ProductDetailContent=function(e,n){var i={kind:e.kind,definitions:[r(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=d[n]||new Set,t=new Set,l=new Set;for(a.forEach(function(e){l.add(e)});l.size>0;){var s=l;l=new Set,s.forEach(function(e){t.has(e)||(t.add(e),(d[e]||new Set).forEach(function(e){l.add(e)}))})}return t.forEach(function(n){var a=r(e,n);a&&i.definitions.push(a)}),i}(a,"ProductDetailContent")},41779:(e,n,i)=>{"use strict";i.d(n,{Sc:()=>r,it:()=>t,yQ:()=>d});var a=i(14232);let t=!1,d=(e,n,i)=>(0,a.useMemo)(()=>{if(!e||!n||!i)return null;let a=i.find(e=>e?.name===n);return a?.related_vas?.items?.[0]??null},[e,n,i]),r=e=>e?e.price_monthly?.price??0:0},42620:(e,n,i)=>{"use strict";i.d(n,{g:()=>t});var a=i(69432);function t(e,n){return e?n&&"ConfigurableProduct"===n.__typename&&(0,a.d1)(e)?{...e,variation:n.variation??[]}:e:null}},43852:e=>{e.exports={title:"ProductAttributeBlock_title__FzH8M",content:"ProductAttributeBlock_content__pnIG7"}},44790:e=>{var n={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"OrderDataFragment"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CheckoutLastOrderData"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"increment_id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"salestool_order_id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"store_code"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"grand_total"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"shipping_amount"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"shipping_description"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"active_scenarios"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"can_sign"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"payment_type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"customer_email"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"customer_phone"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"customer_firstname"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"customer_lastname"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hide_prices"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"items_description"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"is_virtual"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"show_service_message"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"step_number"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"delivery"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"expected_delivery"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"terminal_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"terminal_open"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"items"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"image"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"group_id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"sku"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"qty"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"qty_manage"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"salestool_id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"catalog_type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"is_gift"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"is_gift_insurance"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"color"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"placement"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"is_binding"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"additional_data"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"price"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"price"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"specialPrice"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"monthly_price"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"price"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"specialPrice"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"period"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"binding_period"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"service_data"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"configuration"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"data"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:1139}};n.loc.source={body:"fragment OrderDataFragment on CheckoutLastOrderData {\n    increment_id\n    salestool_order_id\n    store_code\n    grand_total\n    shipping_amount\n    shipping_description\n    active_scenarios\n    can_sign\n    payment_type\n    customer_email\n    customer_phone\n    customer_firstname\n    customer_lastname\n    hide_prices\n    items_description\n    is_virtual\n    show_service_message\n    step_number\n    delivery {\n        expected_delivery\n        terminal_name\n        terminal_open\n    }\n    items {\n        id\n        name\n        image\n        group_id\n        sku\n        qty\n        qty_manage\
1n        salestool_id\n        catalog_type\n        is_gift\n        is_gift_insurance\n        color\n        placement\n        is_binding\n        additional_data {\n            name\n            value\n        }\n        price {\n            price\n            specialPrice\n        }\n        monthly_price {\n            price\n            specialPrice\n            period\n            binding_period\n        }\n        service_data {\n            configuration\n            data {\n                name\n                value\n            }\n        }\n    }\n}",name:"GraphQL request",locationOffset:{line:1,column:1}};var i={};function a(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}n.definitions.forEach(function(e){if(e.name){var n=new Set;!function e(n,i){if("FragmentSpread"===n.kind)i.add(n.name.value);else if("VariableDefinition"===n.kind){var a=n.type;"NamedType"===a.kind&&i.add(a.name.value)}n.selectionSet&&n.selectionSet.selections.forEach(function(n){e(n,i)}),n.variableDefinitions&&n.variableDefinitions.forEach(function(n){e(n,i)}),n.definitions&&n.definitions.forEach(function(n){e(n,i)})}(e,n),i[e.name.value]=n}}),e.exports=n,e.exports.OrderDataFragment=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var d=i[n]||new Set,r=new Set,l=new Set;for(d.forEach(function(e){l.add(e)});l.size>0;){var s=l;l=new Set,s.forEach(function(e){r.has(e)||(r.add(e),(i[e]||new Set).forEach(function(e){l.add(e)}))})}return r.forEach(function(n){var i=a(e,n);i&&t.definitions.push(i)}),t}(n,"OrderDataFragment")},47350:(e,n,i)=>{"use strict";i.d(n,{A:()=>s});var a=i(37876),t=i(76840),d=i(9477),r=i(43852),l=i.n(r);function s(e){let{block:n}=e;return n?(0,a.jsx)(t.A,{type:"normal",panels:[{summary:(0,a.jsx)("div",{className:l().title,children:n.title}),details:(0,a.jsx)(d.A,{className:l().content,html:n.content})}]}):null}},48664:e=>{e.exports={root:"CartMessage_root__bzG1F",content:"CartMessage_content__OuUln",text:"CartMessage_text__xcEaW",button:"CartMessage_button__llMBS",title:"CartMessage_title__jXRhq",icon:"CartMessage_icon__UGnD3",close:"CartMessage_close__2qRZU"}},55306:e=>{e.exports={"product-specification":"ProductSimpleSpecification_product-specification__gCBHe","product-specification__seciton-title":"ProductSimpleSpecification_product-specification__seciton-title__pGuNq","product-specification__attribute-label":"ProductSimpleSpecification_product-specification__attribute-label__YBwt8","product-specification__attribute-value":"ProductSimpleSpecification_product-specification__attribute-value__DsV1r","product-specification__attribute":"ProductSimpleSpecification_product-specification__attribute__4wxSC"}},61550:e=>{e.exports={root:"IconButton_root__jZcNK","root--secondary":"IconButton_root--secondary__GkQdp","root--tertiary":"IconButton_root--tertiary__luJuN"}},64976:(e,n,i)=>{"use strict";i.d(n,{A:()=>N,Z:()=>f});var a,t=i(37876),d=i(61123),r=i(49916),l=i(9871),s=i(25448),o=i(69241),c=i(14548),u=i.n(c),m=i(8247),v=i(39127),k=i(72462),p=i(74691),_=i(91408);let g=e=>{let{children:n,disableContainer:i}=e;return i?(0,t.jsx)("div",{className:u().container,children:n}):(0,t.jsx)(d.A,{children:n})};var f=((a={}).Default="default",a.Login="login",a.Info="info",a);function N(e){let{disableContainer:n=!1,disableContact:i=!1,disableConsent:a=!1,message:d="",title:c="",type:f="default"}=e,{t:N}=(0,l.Bd)(),{open:h}=(0,v.y)(),S=(0,p.Wx)({initialValues:{consent:[]},validationSchema:()=>a?_.Ik().shape({}):_.Ik().shape({consent:_.YO().test("all selected",N("forms__required").toString(),e=>!!e?.length)}),onSubmit:async()=>{h()}}),{values:y,handleSubmit:F,errors:b,touched:x}=S;return(0,t.jsx)("div",{"data-testid":"message-content",className:(0,o.A)(u().root,u()[f],{[u()["root--disabled-container"]]:n},"message-bar"),children:(0,t.jsx)(g,{disableContainer:n,children:(0,t.jsxs)("form",{className:u().inner,onSubmit:F,children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:u().message,children:[(0,t.jsx)("div",{children:(0,t.jsx)(r.A,{iconType:m.kQ.alert})}),(0,t.jsxs)("div",{className:u().text,children:[(0,t.jsx)("div",{className:u().heading,"data-test":"checkoutErrorTitle",children:c||N("message__error")}),(0,t.jsx)("div",{className:u().content,"data-test":"checkoutErrorMessage",children:d||N("message__info")})]})]}),!i&&!a&&(0,t.jsx)("div",{className:(0,o.A)(u().consent,{[u()["consent--error"]]:b.consent&&x.consent&&b.consent}),children:(0,t.jsx)(k.A,{value:y.consent,form:S,type:"warning",helperTextType:"warning",name:"consent",options:[{value:"1",label:N("message__consent")}],helperText:b.consent&&x.consent&&b.consent?`* ${b.consent.toString()}`:void 0})})]}),!i&&(0,t.jsx)("div",{className:u().button_holder,children:(0,t.jsx)(s.A,{type:"normal",buttonType:"submit",name:"errorContact",ButtonClasse
1s:{root:u().button},children:N("message__leave-contacts")})})]})})})}},65222:e=>{e.exports={root:"LogInMethods_root__xJXCX"}},67471:e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ProductDetailAdditional"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"productDetail"},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:"__typename"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"price_plan_products"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"sku"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"salestool_id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hasActiveCampaign"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url_key"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"catalog_type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"campaign_product_text"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"product_background_color"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"category_path"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"directo_code"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"brand_label"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"price_prefix"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"show_lead_form"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"lead_form_code"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"included_vases"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"related_vas"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"items"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"catalog_type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"sku"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"category_path"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"salestool_id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"price_prefix"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"price_label"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"html"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"price_monthly"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"price"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"specialPrice"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"binding_period"},arguments:[],directives:[]}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"tags"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"values"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"code"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"label"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"type_data"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"is_accessory"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"is_device"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"is_insurance"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"is_priceplan"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"price"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"price"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"specialPrice"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"leasing_price"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"price_monthly"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"price"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"specialPrice"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"is_with_tax"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"binding_period"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"binding_price_monthly"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"price"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"specialPrice"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"binding_period"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"original_discount_amount"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"is_with_tax"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"grid_specification"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"code"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"label"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"attributes"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"code"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"label"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"small_image"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"related_vas"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"items"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"campaign_product_text"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"product_background_color"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"category_path"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"price_prefix"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url_key"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"sku"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"catalog_type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"show_lead_form"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"lead_form_code"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"tags"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"values"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"code"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"label"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"type_data"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"is_accessory"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"is_device"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"is_insurance"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"is_priceplan"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"price"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"price"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"specialPrice"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"price_monthly"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"price"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"specialPrice"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"binding_period"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"small_image"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"short_description"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"html"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"html"},arguments:[],directives:[]}]}}]}}]}}]}}]}}],loc:{start:0,end:3437}};n.loc.source={body:"query ProductDetailAdditional($id: Int) {\n    productDetail(id: $id) {\n        __typename\n        id\n        price_plan_products {\n            id\n            name\n            sku\n            salestool_id\n            hasActiveCampaign\n            url_key\n            catalog_type\n            campaign_product_text\n            product_background_color\n            category_path\n            directo_code\n            brand_label\n            price_prefix\n            show_lead_form\n            lead_form_code\n            included_vases\n            related_vas {\n                items {\n                    id\n                    catalog_type\n                    name\n                    sku\n                    category_path\n                    salestool_id\n                    price_prefix\n                    price_label\n                    description {\n                        html\n                    }\n                    price_monthly {\n                        price\n                        specialPrice\n                        binding_period\n                    }\n                }\n            }\n            tags {\n                name\n                values {\n                    code\n                    value\n                    label\n                }\n            }\n            type_data {\n                is_accessory\n                is_device\n                is_insurance\n                is_priceplan\n            }\n            price {\n                price\n                specialPrice\n                leasing_price\n            }\n            price_monthly {\n                price\n                specialPrice\n                is_with_tax\n                binding_period\n            }\n            binding_price_monthly {\n                price\n                specialPrice\n                binding_period\n                original_discount_amount\n                is_with_tax\n            }\n            grid_specification {\n                code\n                label\n                attributes {\n                    code\n                    type\n                    value\n                    label\n                }\n            }\n            small_image {\n                url\n            }\n        }\n        related_vas {\n            items {\n                id\n                name\n                campaign_product_text\n                product_background_color\n                category_path\n                price_prefix\n                url_key\n                sku\n                catalog_type\n                show_lead_form\n                lead_form_code\n                tags {\n                    name\n                    values {\n                        code\n                        value\n                        label\n                    }\n                }\n                type_data {\n                    is_accessory\n                    is_device\n                    is_insurance\n                    is_priceplan\n                }\n                price {\n                    price\n                    specialPrice\n                }\n                price_monthly {\n                    price\n                    specialPrice\n                    binding_period\n                }\n                small_image {\n                    url\n                }\n                short_description {\n                    html\n                }\n                description {\n                    html\n                }\n            }\n        }\n    }\n}",name:"GraphQL request",locationOffset:{line:1,column:1}};var i={};function a(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}n.definitions.forEach(function(e){if(e.name){var n=new Set;!function e(n,i){if("FragmentSpread"===n.kind)i.add(n.name.value);
1else if("VariableDefinition"===n.kind){var a=n.type;"NamedType"===a.kind&&i.add(a.name.value)}n.selectionSet&&n.selectionSet.selections.forEach(function(n){e(n,i)}),n.variableDefinitions&&n.variableDefinitions.forEach(function(n){e(n,i)}),n.definitions&&n.definitions.forEach(function(n){e(n,i)})}(e,n),i[e.name.value]=n}}),e.exports=n,e.exports.ProductDetailAdditional=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var d=i[n]||new Set,r=new Set,l=new Set;for(d.forEach(function(e){l.add(e)});l.size>0;){var s=l;l=new Set,s.forEach(function(e){r.has(e)||(r.add(e),(i[e]||new Set).forEach(function(e){l.add(e)}))})}return r.forEach(function(n){var i=a(e,n);i&&t.definitions.push(i)}),t}(n,"ProductDetailAdditional")},67984:(e,n,i)=>{"use strict";i.d(n,{A:()=>o});var a=i(37876),t=i(9871),d=i(77995),r=i(55306),l=i.n(r);let s=e=>!!e?.value&&"Ei"!==e.value&&"No"!==e.value&&("boolean"!==e.type||"0"!==e.value);function o(e){let{product:n}=e,{t:i}=(0,t.Bd)();if(!n?.specification?.length)return null;let r=n.specification.map(e=>{let n={...e};return n.attributes=e?.attributes?.filter(s),n}).filter(e=>e.attributes?.length);return(0,a.jsx)("div",{className:l()["product-specification"],children:r.map(e=>(0,a.jsxs)("div",{className:l()["product-specification__seciton"],children:[(0,a.jsxs)("div",{className:l()["product-specification__seciton-title"],children:[e.label,e.tooltip&&(0,a.jsx)(d.A,{content:e.tooltip,type:"info"})]}),(0,a.jsx)("div",{className:l()["product-specification__seciton-attributes"],children:e.attributes?.map(e=>(0,a.jsxs)("div",{className:l()["product-specification__attribute"],children:[(0,a.jsxs)("div",{className:l()["product-specification__attribute-label"],children:[e?.label,e?.tooltip&&(0,a.jsx)(d.A,{content:e?.tooltip})]}),(0,a.jsx)("div",{className:l()["product-specification__attribute-value"],children:e?.type==="boolean"?`${i("1"===e.value?"yes":"no")}`:`${e?.value}`})]},e?.code))})]},e.code))})}},68974:e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ProductDetailVariations"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"productDetail"},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:"__typename"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ConfigurableProduct"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"variation"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"quantity"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"salestool_id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"directo_code"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"directo_sku"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url_key"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"parent_sku"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"sku"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"color"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"code"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"label"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hex_value"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"default"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"source_quantity"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"source_code"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"quantity"},arguments:[],directives:[]}]}}]}}]}}]}}]}}],loc:{start:0,end:753}};n.loc.source={body:"query ProductDetailVariations($id: Int) {\n    productDetail(id: $id) {\n        __typename\n        id\n        ... on ConfigurableProduct {\n            variation {\n                quantity\n                salestool_id\n                directo_code\n                directo_sku\n                url_key\n                parent_sku\n                sku\n                color {\n                    name\n                    value {\n                        value\n                        code\n                        label\n                        hex_value\
1n                    }\n                }\n                default\n                source_quantity {\n                    source_code\n                    quantity\n                }\n            }\n        }\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var i={};function a(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}n.definitions.forEach(function(e){if(e.name){var n=new Set;!function e(n,i){if("FragmentSpread"===n.kind)i.add(n.name.value);else if("VariableDefinition"===n.kind){var a=n.type;"NamedType"===a.kind&&i.add(a.name.value)}n.selectionSet&&n.selectionSet.selections.forEach(function(n){e(n,i)}),n.variableDefinitions&&n.variableDefinitions.forEach(function(n){e(n,i)}),n.definitions&&n.definitions.forEach(function(n){e(n,i)})}(e,n),i[e.name.value]=n}}),e.exports=n,e.exports.ProductDetailVariations=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var d=i[n]||new Set,r=new Set,l=new Set;for(d.forEach(function(e){l.add(e)});l.size>0;){var s=l;l=new Set,s.forEach(function(e){r.has(e)||(r.add(e),(i[e]||new Set).forEach(function(e){l.add(e)}))})}return r.forEach(function(n){var i=a(e,n);i&&t.definitions.push(i)}),t}(n,"ProductDetailVariations")},69432:(e,n,i)=>{"use strict";i.d(n,{Gz:()=>v,WC:()=>m,d1:()=>u});var a=i(37876),t=i(14232),d=i(26689),r=i(96464),l=i(54431),s=i(57487);let o=(0,t.createContext)({}),c=o.Provider;function u(e){return!!e&&("__typename"in e&&"ConfigurableProduct"===e.__typename||"variation"in e||"variants"in e)}function m({children:e,data:n}){let{productDetail:i}=n,o=!!i&&u(i),{data:v=null,error:k,loading:p}=(0,l.IT)(s.XB,{variables:{ids:[i.id??0]},skip:!o||!i.id}),[_,g]=(0,t.useState)(()=>o?(0,d.by)(i?.variation):0);(0,t.useEffect)(()=>{o&&i?.variation?.length&&(0,t.startTransition)(()=>{g((0,d.by)(i.variation))})},[o,i?.id,i?.variation?.length]);let f=o?i?.variation?.length?i.variation[_]??null:null:i,N=(0,r.y)(f);return(0,a.jsx)(c,{value:{data:n,activeVariation:f,handleColorPickerOnChange:e=>{if(!o||!i?.variation?.length)return;let n=i.variation.findIndex(n=>n?.color?.value?.hex_value===e);g(n>=0?n:0)},availabilityStatus:N,activeVariationIndex:_,energyEfficiencyData:v},children:e})}let v=()=>(0,t.useContext)(o)},70346:e=>{e.exports={header:"CmsDrawer_header__FMRAf",body:"CmsDrawer_body__PwylS",footer:"CmsDrawer_footer__Wte01",button:"CmsDrawer_button__wCg5M"}},71314:(e,n,i)=>{"use strict";i.d(n,{z:()=>t});var a=i(14232);let t=(e,n)=>{let i=(0,a.useRef)(null);return{elementRef:(0,a.useCallback)(n=>{i.current&&i.current.disconnect(),i.current=new IntersectionObserver(n=>{e(n[0].isIntersecting)}),n&&i.current.observe(n)},n)}}},74823:(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>k});var a=i(37876),t=i(69241),d=i(10147),r=i(9477),l=i(67984),s=i(47350),o=i(9871),c=i(15973),u=i(2468),m=i.n(u),v=i(11278);function k(e){let{data:n}=e,{productDetail:i}=n,{t:u}=(0,o.Bd)(),k="pre-paid"===i.package_type;return(0,a.jsxs)("div",{className:m()["product-drawer__content"],children:[(0,a.jsx)("div",{className:(0,t.A)(m()["product-drawer__header"],"product-drawer__header",{[m()["product-drawer__header--no-overlay"]]:k}),style:{backgroundImage:`url(${i.thumbnail?.url})`},children:(0,a.jsxs)("div",{className:m()["product-drawer__header-content"],children:[(0,a.jsx)("div",{className:m()["product-drawer__product-image"],children:(0,a.jsx)(c._,{width:48,height:64,src:(0,v.re)(i.image)??"",alt:`${i.name} icon`})}),(0,a.jsx)("h1",{className:m()["product-drawer__product-title"],children:i?.name}),(0,a.jsx)("div",{className:m()["product-drawer__product-description"],dangerouslySetInnerHTML:{__html:(0,d.stripHtml)(i.description?.html)}})]})}),(0,a.jsxs)("div",{className:m()["product-drawer__inner-content"],children:[i.detailed_usp_description&&(0,a.jsx)(r.A,{className:m()["product-drawer__usp-description"],html:i.detailed_usp_description}),(0,a.jsx)(l.A,{product:i}),(0,a.jsx)("div",{className:"exponea-product-block"}),(0,a.jsxs)("div",{className:m()["product-drawer__expandable-blocks"],children:[(0,a.jsx)(s.A,{block:i.useful_information??null}),(0,a.jsx)(s.A,{block:i.terms_and_conditions??null})]})]})]})}},76675:e=>{e.exports={root:"GlobalMessage_root__eKG44",inner:"GlobalMessage_inner__E_syW",heading:"GlobalMessage_heading__vam2P",text:"GlobalMessage_text__nDYIi",closeIcon:"GlobalMessage_closeIcon__vkvPz",message:"GlobalMessage_message__2UuK5",read_more:"GlobalMessage_read_more__3HeP1"}},76840:(e,n,i)=>{"use strict";i.d(n,{A:()=>N});var a=i(37876),t=i(14232),d=i(35434),r=i.n(d),l=i(69241),s=i(25716),o=i(55336),c=i(45329),u=i(8247),m=i(15973),v=i(49916);let k=e=>{var n;let{panel:i,onClick:t,expandedState:d,summaryId:s,detailsId:c}=e,k=i.PanelProps?.disabled;return(0,a.jsxs)("div",{id:s,className:r().summary,role:"button",tabIndex:k?-1:0,"aria-expanded":d,"aria-controls":c,"aria-disabled":k,"data-di-id":"",onClick:e=>{k||(e.preventDefault(),t())},onKeyDown:e=>
1{k||("Enter"===e.key||" "===e.key)&&(e.preventDefault(),t())},children:[i.PanelProps?.openedImage&&d&&(0,a.jsx)("div",{className:r().summary_top_image,children:(0,a.jsx)(m._,{src:i.PanelProps.openedImage,fill:!0,style:{objectFit:["contain","cover","fill","none","scale-down"].includes(n=i.PanelProps.backgroundSize)?n:"contain"},alt:""})}),(0,a.jsxs)("div",{className:r().summary_content,children:[i.PanelProps?.icon&&(0,a.jsx)("div",{className:r().summary_figure,style:i.PanelProps.iconColor?{color:i.PanelProps.iconColor}:{},children:(0,a.jsx)(v.A,{iconType:i.PanelProps.icon,size:o.F0.md})}),i.PanelProps?.closedImage&&!d&&(0,a.jsx)("div",{className:r().summary_image,children:(0,a.jsx)(m._,{src:i.PanelProps.closedImage,width:64,height:64,alt:""})}),(0,a.jsxs)("div",{className:r().summary_title,children:[(0,a.jsx)("div",{children:(0,a.jsx)("span",{className:r().summaryButton,children:i.summary})}),i.PanelProps?.description&&(0,a.jsx)("div",{className:r().summary_description,children:i.PanelProps.description})]}),(0,a.jsx)("div",{className:(0,l.A)(r().summary_icon,r()["summary_icon--normal"]),children:(0,a.jsx)(v.A,{iconType:d?u.kQ.remove:u.kQ.add})}),(0,a.jsx)("div",{className:(0,l.A)(r().summary_icon,r()["summary_icon--hover"]),style:i.PanelProps?.iconColor?{color:i.PanelProps?.iconColor}:{},children:(0,a.jsx)(v.A,{iconType:d?u.kQ.remove:u.kQ.add})})]}),i.PanelProps?.hoverBackgroundColor&&(0,a.jsx)("div",{className:r().overlay,style:{backgroundColor:i.PanelProps.hoverBackgroundColor}})]})};var p=i(4537),_=i(62295);let g=e=>{let{expandedState:n,panel:i,type:t,anchor:d,onClick:l,collapsible:s=!0,summaryId:o,detailsId:c}=e;return"widget"===t&&d.current?(0,a.jsx)(_.Ay,{open:n,anchorEl:d.current,portal:!0,autoWidth:!0,dynamicTop:!1,anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"},onClose:()=>{l()},children:(0,a.jsxs)("div",{className:r().popover,children:[(0,a.jsx)(k,{panel:i,onClick:l,expandedState:n,summaryId:o,detailsId:c}),(0,a.jsxs)("div",{id:c,role:"region","aria-labelledby":o,className:r().details_popover,style:{width:d.current.offsetWidth},children:[(0,a.jsx)("div",{className:r().details_content,children:i.details}),(0,a.jsx)("div",{className:r().details_overlay})]})]})}):s?(0,a.jsx)(p.A,{in:n,children:(0,a.jsx)("div",{id:c,role:"region","aria-labelledby":o,className:r().details,children:i.details})}):n?(0,a.jsx)("div",{id:c,role:"region","aria-labelledby":o,className:r().details,children:i.details}):null},f=e=>{let{panel:n,onClick:i,expanded:d,type:s,collapsible:u=!0}=e,m=n.PanelProps?.name??"default",v=(0,c.U)(o.UZ.md,"min"),p=(0,t.useRef)(null),_=(0,t.useId)(),f=`${_}-summary`,N=`${_}-details`,h=(0,t.useMemo)(()=>!!n.PanelProps?.disabled||d,[d,n.PanelProps?.disabled]);return n.HiddenProps?.mdUp&&v?null:(0,a.jsxs)("div",{ref:p,className:(0,l.A)(r().panel,{[r()["panel--expanded"]]:h,[r()["panel--hoverable"]]:n.PanelProps?.hoverBackgroundColor,[r()["panel--icon"]]:n.PanelProps?.icon,[r()["panel--image"]]:n.PanelProps?.closedImage||n.PanelProps?.openedImage}),"data-test":`panel-${m}`,children:[(0,a.jsx)(k,{panel:n,onClick:i,expandedState:h,summaryId:f,detailsId:N}),(0,a.jsx)(g,{expandedState:h,panel:n,type:s,anchor:p,onClick:i,collapsible:u,summaryId:f,detailsId:N})]})},N=e=>{let{panels:n,type:i,single:d=!1,collapsible:c=!0}=e,[u,m]=(0,t.useState)([]);return(0,a.jsx)(s.A,{onClickAway:()=>{i===o.QE.widget&&m(n.map((e,n)=>({index:n,open:!1})))},children:(0,a.jsx)("div",{className:(0,l.A)(r().root,r()[`root--${i}`]),children:n.map((e,n)=>{let t=u.find(e=>e.index===n),r=e.PanelProps?.expanded??!1;return(0,a.jsx)(f,{panel:e,type:i,expanded:t?t?.open??r:r,onClick:()=>{((e,n,i,a)=>{let t;if(e.PanelProps?.disabled)return;let r=u;a?(t=!a.open,a.open=t):(t=!n,r.push({index:i,open:t})),e.PanelProps?.onChange&&e.PanelProps.onChange(t),d&&(r=r.map(e=>(e.index===i||(e.open=!1),e))),m([...r])})(e,r,n,t)},collapsible:c},n)})})})}},77983:e=>{e.exports={title:"UserDataLogIn_title__2YTPn",close:"UserDataLogIn_close__4wfSJ"}},78635:(e,n,i)=>{"use strict";i.d(n,{A:()=>f});var a=i(37876),t=i(49916),d=i(14232),r=i(61123),l=i(59666),s=i(9871),o=i(4537),c=i(887),u=i(67445),m=i(6368),v=i(76675),k=i.n(v),p=i(8247),_=i(1908),g=i.n(_);function f(){let e="hide_global_message",{data:n}=(0,l.LV)(),{t:i}=(0,s.Bd)(),[v,_]=(0,d.useState)(!1),[f,N]=(0,d.useState)(!1);(0,d.useEffect)(()=>{N(!0)},[]),(0,d.useEffect)(()=>{_(!g().hasItem(e))},[v]);let h=(0,d.useMemo)(()=>
1{if(!f||!n?.global_message||!n.global_message.message)return!1;let e=!n.global_message.active_from||(0,c.d)(new Date,(0,u.H)(n.global_message.active_from)),i=!n.global_message.active_to||(0,m.Y)(new Date,(0,u.H)(n.global_message.active_to));return!(!e||!i)},[n?.global_message,f]),S=n?.global_message;return h?(0,a.jsx)(o.A,{in:v,children:(0,a.jsx)("div",{style:{backgroundColor:S?.background_color.length?S.background_color:"#0086FF"},className:k().root,children:(0,a.jsx)(r.A,{children:(0,a.jsxs)("div",{className:k().inner,children:[(0,a.jsxs)("div",{className:k().heading,children:[(0,a.jsx)(t.A,{iconType:p.kQ.alert}),(0,a.jsx)("div",{children:i("global_message_read_title")})]}),(0,a.jsx)("div",{className:k().text,children:(0,a.jsxs)("div",{className:k().message,children:[(0,a.jsx)("span",{children:S?.message}),S?.read_more_url&&(0,a.jsxs)("a",{className:k().read_more,href:S.read_more_url,target:"_blank",rel:"noreferrer",children:[i("global_message_read_more"),(0,a.jsx)(t.A,{iconType:p.kQ.arrowRight})]})]})}),(0,a.jsx)("div",{className:k().closeIcon,children:(0,a.jsx)(t.A,{iconType:p.kQ.close,onClick:function(){g().setItem(e,1),_(!1)}})})]})})})}):null}},82046:(e,n,i)=>{var a={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"checkoutLastOrderData"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"checkout_last_order_data"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"OrderDataFragment"},directives:[]}]}}]}}],loc:{start:0,end:136}};a.loc.source={body:'#import "./orderDataFragment.graphql"\n\nquery checkoutLastOrderData {\n    checkout_last_order_data {\n        ...OrderDataFragment\n    }\n}',name:"GraphQL request",locationOffset:{line:1,column:1}};var t={};a.definitions=a.definitions.concat(i(44790).definitions.filter(function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!t[n]&&(t[n]=!0,!0)}));var d={};function r(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}a.definitions.forEach(function(e){if(e.name){var n=new Set;!function e(n,i){if("FragmentSpread"===n.kind)i.add(n.name.value);else if("VariableDefinition"===n.kind){var a=n.type;"NamedType"===a.kind&&i.add(a.name.value)}n.selectionSet&&n.selectionSet.selections.forEach(function(n){e(n,i)}),n.variableDefinitions&&n.variableDefinitions.forEach(function(n){e(n,i)}),n.definitions&&n.definitions.forEach(function(n){e(n,i)})}(e,n),d[e.name.value]=n}}),e.exports=a,e.exports.checkoutLastOrderData=function(e,n){var i={kind:e.kind,definitions:[r(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=d[n]||new Set,t=new Set,l=new Set;for(a.forEach(function(e){l.add(e)});l.size>0;){var s=l;l=new Set,s.forEach(function(e){t.has(e)||(t.add(e),(d[e]||new Set).forEach(function(e){l.add(e)}))})}return t.forEach(function(n){var a=r(e,n);a&&i.definitions.push(a)}),i}(a,"checkoutLastOrderData")},85648:(e,n,i)=>{"use strict";i.d(n,{E:()=>c,G:()=>o});var a=i(67994),t=i(89099),d=i(14232);let r=new Map,l=new Map;function s(e,n,i){return`${e}:${n}:${i}`}async function o(e){let{client:n,document:i,operationName:a,id:t,locale:d,select:o}=e,c=s(a,t,d),u=r.get(c);if(u)return u.data;let m=l.get(c);if(m)return m;let v=n.query({query:i,variables:{id:t},errorPolicy:"all",fetchPolicy:"no-cache"}).then(e=>{let n=o(e.data);return r.set(c,{data:n}),l.delete(c),n}).catch(e=>{throw l.delete(c),e});return l.set(c,v),v}function c(e){let{document:n,operationName:i,id:l,select:c}=e,u=(0,a.m)(),{locale:m=""}=(0,t.useRouter)(),v=l?s(i,l,m):null,[k,p]=(0,d.useState)(()=>{if(!v)return;let e=r.get(v);return e?.data}),[_,g]=(0,d.useState)(()=>!!v&&!r.has(v));return(0,d.useEffect)(()=>{if(!l||!v){p(void 0),g(!1);return}let e=r.get(v);if(e){p(e.data),g(!1);return}let a=!1;return g(!0),o({client:u,document:n,operationName:i,id:l,locale:m,select:c}).then(e=>{a||(p(e),g(!1))}).catch(()=>{a||g(!1)}),()=>{a=!0}},[u,n,l,v,m,i,c]),{data:k,loading:_}}},87063:(e,n,i)=>{"use strict";function a(e,n){if(!e)return null;if(!n)return e;let i={...e,short_description:n.short_description,description:n.description,usp_description:n.usp_description,detailed_usp_description:n.detailed_usp_description,specification:n.specification,pdp_usp:n.pdp_usp,pdp_smartrent_calculator:n.pdp_smartrent_calculator};return"SimpleProduct"===n.__typename&&"SimpleProduct"===i.__typename&&(i.useful_information=n.useful_information,i.terms_and_conditions=n.terms_and_conditions,i.detailed_usp_description=n.detailed_usp_description),i}i.d(n,{x:()=>a})},88294:(e,n,i)=>{"use strict";i.d(n,{Fj:()=>r,V6:()=>o,oX:()=>s});var a=i(18847),t=i.n(a),d=i(33030);let r={default:"default",checkout:"checkout",addToCart:"add-to-cart",info:"info"},l=[{default:!1,name:"package",type:d.v.pricePlan,Component:t()(()=>Promise.all([i.e(1145),i.e(5833),i.e(7425),i.e(4017)]).then(i.bind(i,1236)),{loadableGenerated:{webpack:()=>[1236]}})},{default:!1,name:"vas",type:"vas",Component:t()(()=>
1Promise.all([i.e(1025),i.e(1145),i.e(2156)]).then(i.bind(i,92156)),{loadableGenerated:{webpack:()=>[92156]}})},{default:!0,name:"hardware",type:"hardware",Component:t()(()=>Promise.all([i.e(151),i.e(1145),i.e(6150),i.e(1237),i.e(3871),i.e(4616),i.e(7758),i.e(8023)]).then(i.bind(i,55300)),{loadableGenerated:{webpack:()=>[55300]}})},{default:!1,name:"productInfo",type:"productInfo",Component:t()(()=>Promise.resolve().then(i.bind(i,74823)),{loadableGenerated:{webpack:()=>[74823]}})}],s=[{viewMode:r.addToCart,Component:t()(()=>Promise.all([i.e(4219),i.e(3521)]).then(i.bind(i,53521)),{loadableGenerated:{webpack:()=>[53521]}})},{viewMode:r.checkout,Component:t()(()=>Promise.all([i.e(5129),i.e(8087)]).then(i.bind(i,98087)),{loadableGenerated:{webpack:()=>[98087]}})}],o=e=>{let n=l.find(e=>e.default);return l.find(n=>n.type===e)||n}},91559:(e,n,i)=>{"use strict";i.d(n,{A:()=>o});var a=i(37876),t=i(49916),d=i(61550),r=i.n(d),l=i(69241),s=i(55336);let o=e=>{let{iconType:n,theme:i=s.QE.primary,onClick:d,type:o,disabled:c,name:u="default-icon-button",className:m,iconSize:v=s.F0.sm}=e;return(0,a.jsx)("button",{"aria-hidden":"true",onClick:d,className:(0,l.A)(r().root,r()[`root--${i}`],m),type:o,disabled:c,"data-test":u,"data-testid":u,"aria-label":o??"button",children:(0,a.jsx)(t.A,{iconType:n,size:v})})}},93932:(e,n,i)=>{"use strict";i.d(n,{Y:()=>u});var a=i(42723),t=i.n(a),d=i(8467),r=i(33030),l=i(89099),s=i(20279),o=i(26856),c=i(69432);let u=()=>{let{priceLayer:e,itemTypeLayer:n}=(0,d.v)(),i=(0,l.useRouter)(),a=(0,s.y0)(),u=(0,o.ZU)(),m=(0,c.Gz)(),v=e=>e&&"tags"in e?{product_tag:e?.tags?e.tags.values?.map(e=>e?.code):"undefined"}:{product_tag:"undefined"},k=t=>{switch(t?.catalog_type){case r.v.vas:case r.v.pricePlan:return{id:t?.sku,name:t?.name,brand:"Tele2",placement:a?a.pageType:"price plan page",language:i.locale,category:t?.category_path,...v(t),...e(t),...n(t&&"type_data"in t?t?.type_data:null),...t?.overrides};default:return{id:t?.salestool_id,additional_id:t?.directo_code?t.directo_code:t?.sku,name:t?.name,brand:t?.brand_label,leasing_min_price:t?.price?.leasing_price!==0&&t?.price?.leasing_price?t.price.leasing_price:"undefined",placement:a?a.pageType:"product page",language:i.locale,category:t?.category_path,...(e=>{let n=e&&"directo_code"in e?e?.directo_code:"undefined";if(!u&&!m)return{variant:"undefined",id_variant:"undefined",sku:n};{let e;return e="product page"===a.pageType?u.currentVariation:m.activeVariation,n=e?.directo_code,{variant:e?.color?e.color.value?.code:"undefined",id_variant:e?.sku,sku:n}}})(t),...v(t),...e(t),...n(t?.type_data),...t?.overrides}}},p=e=>e?.catalog_type===r.v.pricePlan?{event:"view_priceplan"}:{event:"view_item"};return{itemView:(e,n={})=>{let i={...k(e),...n};t().dataLayer({dataLayer:{...p(e),ecommerce:{detail:{products:[i]}}}})},itemsView:(e,n={})=>{let i=e?.map(e=>({...k(e),...n}));t().dataLayer({dataLayer:{...p(e?.length?e[0]:null),ecommerce:{detail:{products:i}}}})},addToCart:e=>{let n=e.map(e=>k(e));t().dataLayer({dataLayer:{event:"add_to_cart",ecommerce:{add:{products:n}}}})},campaignProductClick:(e,n={})=>{let i={...k(e),...n};t().dataLayer({dataLayer:{event:"campaign_product_click",...i}})}}}},94021:e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"CmsBlock"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"identifier"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"cmsBlocks"},arguments:[{kind:"Argument",name:{kind:"Name",value:"identifiers"}
1,value:{kind:"ListValue",values:[{kind:"Variable",name:{kind:"Name",value:"identifier"}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"items"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"content"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"identifier"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:177}};n.loc.source={body:"query CmsBlock($identifier: String!) {\n    cmsBlocks(identifiers: [$identifier]) {\n        items {\n            title\n            content\n            identifier\n        }\n    }\n}",name:"GraphQL request",locationOffset:{line:1,column:1}};var i={};function a(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}n.definitions.forEach(function(e){if(e.name){var n=new Set;!function e(n,i){if("FragmentSpread"===n.kind)i.add(n.name.value);else if("VariableDefinition"===n.kind){var a=n.type;"NamedType"===a.kind&&i.add(a.name.value)}n.selectionSet&&n.selectionSet.selections.forEach(function(n){e(n,i)}),n.variableDefinitions&&n.variableDefinitions.forEach(function(n){e(n,i)}),n.definitions&&n.definitions.forEach(function(n){e(n,i)})}(e,n),i[e.name.value]=n}}),e.exports=n,e.exports.CmsBlock=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var d=i[n]||new Set,r=new Set,l=new Set;for(d.forEach(function(e){l.add(e)});l.size>0;){var s=l;l=new Set,s.forEach(function(e){r.has(e)||(r.add(e),(i[e]||new Set).forEach(function(e){l.add(e)}))})}return r.forEach(function(n){var i=a(e,n);i&&t.definitions.push(i)}),t}(n,"CmsBlock")},96435:(e,n,i)=>{"use strict";i.d(n,{ZB:()=>E,vd:()=>j});var a=i(37876),t=i(14232),d=i(88294),r=i(36453),l=i.n(r),s=i(38111),o=i.n(s),c=i(17564),u=i.n(c),m=i(68974),v=i.n(m),k=i(89099),p=i(85560),_=i(11191),g=i(8261),f=i(92590),N=i(24283),h=i(93932),S=i(16182),y=i.n(S),F=i(87063),b=i(5330),x=i(42620),P=i(85648),w=i(67994);let C=(0,t.createContext)({productDrawerId:null,setProductDrawerId:()=>{},show:async()=>{},close:async()=>{},viewMode:"",viewModes:{},isOpen:!1,data:null,isTypeGift:!1,setupProduct:async()=>{},setIsOpen:()=>{},setIsTypeGift:()=>{},setViewMode:()=>{},internetAccessPackagePageSupport:null,setInternetAccessPackagePageSupport:()=>{},skipRelatedPageRedirect:!1,hasParentHardware:!1}),D=C.Provider,E=({children:e,productId:n,viewModeProp:i=d.Fj.default})=>{let[r,s]=(0,t.useState)(null),[c,m]=(0,t.useState)(""),S=(0,k.useRouter)(),[C,E]=(0,t.useState)(null),[j,I]=(0,t.useState)(!1),[T,V]=(0,t.useState)(!1),A=(0,p.m)(l());(0,p.m)(y());let q=(0,w.m)(),{flash:M}=(0,_.TP)(),{website:O}=(0,f.gJ)(),{addToCart:L}=(0,N.B)({}),[$,G]=(0,t.useState)(!1),{itemView:B}=(0,h.Y)(),[z,U]=(0,t.useState)(null),[Q,R]=(0,t.useState)(!1),[H,Y]=(0,t.useState)(!1);(0,t.useEffect)(()=>{n&&(s(n),m(i))},[n]);let W=(0,t.useCallback)(async function(e,n="",i=!1,a){E(null);try{let{data:t}=await A({variables:{id:e,urlKey:n,ignoreVisibility:i}});if(!t.productDetail){M(null,"error"),await J();return}let d=t.productDetail.id,r=t.productDetail;if(d)try{let e=r,n=S.locale??"";if("ConfigurableProduct"===e.__typename){let i=await (0,P.G)({client:q,document:v(),operationName:"ProductDetailVariations",id:d,locale:n,select:e=>e?.productDetail??null});e=(0,x.g)(e,i)??e}let[i,a]=await Promise.all([(0,P.G)({client:q,document:u(),operationName:"ProductDetailMedia",id:d,locale:n,select:e=>e?.productDetail??null}),(0,P.G)({client:q,document:o(),operationName:"ProductDetailContent",id:d,locale:n,select:e=>e?.productDetail??null})]);r=(0,b.c)(e,i),r=(0,F.x)(r,a)}catch(e){console.error(e)}let l={...t,productDetail:r};E(l),B(l.productDetail,{placement:a})}catch(e){console.error(e),M(null,"error"),await J()}},[O,q]),K=(0,t.useCallback)(async e=>{let n=C||e;if(n){let e=encodeURI(n.productDetail?.url_key??""),i=(0,g.getPath)(S.asPath,!0),a=i.split("/");if(a[a.length-1]===e){let n=i.replace(`/${e}`,"");S.replace(n,"",{shallow:!0}),s(null);return}}window.history.replaceState({},"",window.location.pathname),s(null)},[C,S]),J=(0,t.useCallback)(async()=>{I(!1),R(!1),Y(!1),await K()},[K]),Z=async(e,n=d.Fj.default,i=!1,a,t)=>
1{m(n),R("product detail related products"===a),Y(!!t?.hasParentHardware),I(!0),await W(e,"",i,a)},X=(0,t.useCallback)(async()=>{if(c!==d.Fj.addToCart||$)return;let e=new URL(window.location.toString()),n=e.searchParams.get("autoadd"),i=e.searchParams.get("autoredirect"),a=e.searchParams.get("planType"),t=!!e.searchParams.get("sc");if(!n&&!i||!C)return;let r=C.productDetail,l=r?.__typename==="ConfigurableProduct",s=l&&"variation"in r?r.variation?.find(e=>e?.default)?.sku??r.variation?.[0]?.sku:r?.sku;(!l||s&&s!==r?.sku)&&(G(!0),await L({item:{sku:s},productId:r?.id,productType:r?.__typename,quantity:1,additionalProducts:[],redirect:!!i,fromSelfCare:t,binding:"binding"===a,onComplete:async()=>{await K(C)}},r))},[L,$,C,K,c]);return(0,t.useEffect)(()=>{X()},[X]),(0,a.jsx)(D,{value:{productDrawerId:r,setProductDrawerId:s,show:Z,close:J,viewMode:c,viewModes:d.Fj,isOpen:j,data:C,isTypeGift:T,setupProduct:W,setIsOpen:I,setViewMode:m,setIsTypeGift:V,internetAccessPackagePageSupport:z,setInternetAccessPackagePageSupport:U,skipRelatedPageRedirect:Q,hasParentHardware:H},children:e})},j=()=>(0,t.useContext)(C)},96464:(e,n,i)=>{"use strict";i.d(n,{y:()=>a});let a=e=>e?e&&"quantity"in e&&"source_quantity"in e?{availableInEshop:!!e?.quantity,availableInPos:!!e?.source_quantity?.reduce((e,n)=>e+(n?.quantity??0),0)}:{availableInEshop:!0,availableInPos:!0}:{availableInEshop:!1,availableInPos:!1}}}]);

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.