enqueueScripts([function(){ (window.webpackJsonpbelcorp_belcorp_mi_negocio_0_3_1=window.webpackJsonpbelcorp_belcorp_mi_negocio_0_3_1||[]).push([["ButtonMiNegocioHeader"],[function(e,n){e.exports=React},,function(e,n){e.exports=__RENDER_8_RUNTIME__},function(e,n,i){"use strict";var t=i(0),a=i(4),o=i(5),c=i.n(o);n.a=function(){var e=Object(a.useQuery)(c.a),n=e.data,i=e.loading;return{isConsultant:Object(t.useMemo)((function(){if(!i&&n){var e=n.profile,t=(e=void 0===e?{}:e).isConsultant,a=void 0!==t&&t,o=e.consultantType;return{isConsultant:a,consultantType:void 0===o?"":o}}return{isConsultant:!1,consultantType:""}}),[n]),loading:i}}},function(e,n){e.exports=ReactApollo},function(e,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GET_IS_CONSULTANT"},variableDefinitions:[],directives:[{kind:"Directive",name:{kind:"Name",value:"context"},arguments:[{kind:"Argument",name:{kind:"Name",value:"sender"},value:{kind:"StringValue",value:"belcorp.belcorp-mi-negocio@0.3.1",block:!1}}]}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"profile"},arguments:[],directives:[{kind:"Directive",name:{kind:"Name",value:"context"},arguments:[{kind:"Argument",name:{kind:"Name",value:"provider"},value:{kind:"StringValue",value:"belcorp.belcorp-challenge",block:!1}}]},{kind:"Directive",name:{kind:"Name",value:"runtimeMeta"},arguments:[{kind:"Argument",name:{kind:"Name",value:"hash"},value:{kind:"StringValue",value:"fafbb4d9e58dcdcfe54dcb947d0e151ef5dd1fc51d7500763e02782e16174383",block:!1}}]}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isConsultant"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"consultantType"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:283}};i.loc.source={body:'query GET_IS_CONSULTANT @context(sender: "belcorp.belcorp-mi-negocio@0.3.1") {\n profile @context(provider: "belcorp.belcorp-challenge") @runtimeMeta(hash: "fafbb4d9e58dcdcfe54dcb947d0e151ef5dd1fc51d7500763e02782e16174383") {\n isConsultant\n consultantType\n __typename\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var t={};function a(e,n){for(var i=0;i0;){var r=l;l=new Set,r.forEach((function(e){c.has(e)||(c.add(e),(t[e]||new Set).forEach((function(e){l.add(e)})))}))}return c.forEach((function(n){var t=a(e,n);t&&i.definitions.push(t)})),i}(i,"GET_IS_CONSULTANT")},,function(e,n){e.exports=__RENDER_8_COMPONENTS__["vtex.css-handles@1.x/useCssHandles"]},function(e,n,i){"use strict";i.r(n),function(e){var n=i(1);i.p=Object(n.getPublicPath)("belcorp.belcorp-mi-negocio@0.3.1");var t=Object(n.register)((function(){return i(10)}),e,"belcorp.belcorp-mi-negocio@0.3.1","belcorp.belcorp-mi-negocio@0.x","ButtonMiNegocioHeader");t.renderHotReload,t.setupHMR}.call(this,i(6)(e))},,function(e,n,i){"use strict";i.r(n);var t=i(0),a=i.n(t),o=i(7),c=i.n(o),l=i(2),r=i(3),d=function(e){var n=e.width,i=void 0===n?"":n,t=e.height,o=void 0===t?"":t;return a.a.createElement("svg",{style:{width:i,height:o,maxWidth:i,minWidth:i},viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.96783 16.0303C7.67494 15.7374 7.67494 15.2626 7.96783 14.9697L14.9678 7.96967C15.2607 7.67678 15.7356 7.67678 16.0285 7.96967C16.3214 8.26256 16.3214 8.73744 16.0285 9.03033L9.02849 16.0303C8.7356 16.3232 8.26072 16.3232 7.96783 16.0303Z",fill:"black"}),a.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.25 10.5C9.66421 10.5 10 10.1642 10 9.75C10 9.33579 9.66421 9 9.25 9C8.83579 9 8.5 9.33579 8.5 9.75C8.5 10.1642 8.83579 10.5 9.25 10.5ZM9.25 11.5C10.2165 11.5 11 10.7165 11 9.75C11 8.7835 10.2165 8 9.25 8C8.2835 8 7.5 8.7835 7.5 9.75C7.5 10.7165 8.2835 11.5 9.25 11.5Z",fill:"black"}),a.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.75 15C15.1642 15 15.5 14.6642 15.5 14.25C15.5 13.8358 15.1642 13.5 14.75 13.5C14.3358 13.5 14 13.8358 14 14.25C14 14.6642 14.3358 15 14.75 15ZM14.75 16C15.7165 16 16.5 15.2165 16.5 14.25C16.5 13.2835 15.7165 12.5 14.75 12.5C13.7835 12.5 13 13.2835 13 14.25C13 15.2165 13.7835 16 14.75 16Z",fill:"black"}),a.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.0002 5.04882L9.79671 3.77666L8.52456 5.98009H5.98025V8.52442L3.77684 9.79656L5.04898 12L3.77681 14.2034L5.98025 15.4756V18.0199H8.52459L9.79674 20.2233L12.0002 18.9512L14.2036 20.2233L15.4757 18.0199H18.02V15.4756L20.2235 14.2034L18.9513 12L20.2235 9.79656L18.02 8.52441V5.98009H15.4758L14.2036 3.77666L12.0002 5.04882ZM12.0002 3.2013L10.0771 2.09102C9.5988 1.81488 8.98721 1.97875 8.71107 2.45705L7.6008 4.3801H5.38025C4.82796 4.3801 4.38025 4.82781 4.38025 5.38009V7.60066L2.45723 8.71092C1.97894 8.98706 1.81506 9.59865 2.0912 10.0769L3.20146 12L2.09117 13.923C1.81503 14.4013 1.97891 15.0129 2.4572 15.2891L4.38025 16.3993V18.6199C4.38025 19.1722 4.82796 19.6199 5.38025 19.6199H7.60083L8.7111 21.5429C8.98724 22.0212 9.59883 22.1851 10.0771 21.909L12.0002 20.7987L13.9232 21.909C14.4015 22.1851 15.0131 22.0212 15.2892 21.5429L16.3995 19.6199H18.62C19.1723 19.6199 19.62 19.1722 19.62 18.6199V16.3994L21.5431 15.2891C22.0214 15.0129 22.1853 14.4013 21.9092 13.923L20.7989 12L21.9091 10.0769C22.1853 9.59865 22.0214 8.98706 21.5431 8.71092L19.62 7.60065V5.3801C19.62 4.82781 19.1723 4.3801 18.62 4.3801H16.3995L15.2893 2.45705C15.0131 1.97875 14.4015 1.81488 13.9232 2.09102L12.0002 3.2013Z",fill:"black"}))},u=["miNegocioHeader","miNegocioHeaderTitle","miNegocioDivider"],s=function(){var e=c()(u).handles,n=Object(l.useRuntime)().account,i=["mexico","peru"].some((function(e){return n.includes(e)})),t=Object(r.a)().isConsultant,o=t.isConsultant,s=t.consultantType;return i||!o||"2"!==s?null:a.a.createElement("section",{className:e.miNegocioHeader},a.a.createElement(d,{width:"20px",height:"20px"}),a.a.createElement("a",{className:e.miNegocioHeaderTitle,href:"/minegocio"},"Mi Negocio"),a.a.createElement("p",{className:e.miNegocioDivider},"|"))};n.default=s}],[[8,"common"]]]); },function(){ (window.webpackJsonpbelcorp_belcorp_challenge_0_8_5=window.webpackJsonpbelcorp_belcorp_challenge_0_8_5||[]).push([["LoginMenuItem"],{0:function(e,n){e.exports=React},27:function(e,n){var a={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GET_PROFILE"},variableDefinitions:[],directives:[{kind:"Directive",name:{kind:"Name",value:"context"},arguments:[{kind:"Argument",name:{kind:"Name",value:"sender"},value:{kind:"StringValue",value:"belcorp.belcorp-challenge@0.8.5",block:!1}}]}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"profile"},arguments:[],directives:[{kind:"Directive",name:{kind:"Name",value:"runtimeMeta"},arguments:[{kind:"Argument",name:{kind:"Name",value:"hash"},value:{kind:"StringValue",value:"1fe8f823455ae1180f3a32ea41f5f6a2c60e77591e950326e561f0b6159bdf9c",block:!1}}]}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"firstName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"lastName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"email"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:229}};a.loc.source={body:'query GET_PROFILE @context(sender: "belcorp.belcorp-challenge@0.8.5") {\n profile @runtimeMeta(hash: "1fe8f823455ae1180f3a32ea41f5f6a2c60e77591e950326e561f0b6159bdf9c") {\n firstName\n lastName\n email\n __typename\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var i={};function t(e,n){for(var a=0;a0;){var l=c;c=new Set,l.forEach((function(e){r.has(e)||(r.add(e),(i[e]||new Set).forEach((function(e){c.add(e)})))}))}return r.forEach((function(n){var i=t(e,n);i&&a.definitions.push(i)})),a}(a,"GET_PROFILE")},3:function(e,n){e.exports=__RENDER_8_COMPONENTS__["belcorp.utilitary-functions@0.x/formatBelcorpDomainUrl"]},5:function(e,n){e.exports=ReactApollo},52:function(e,n,a){"use strict";a.r(n),function(e){var n=a(1);a.p=Object(n.getPublicPath)("belcorp.belcorp-challenge@0.8.5");var i=Object(n.register)((function(){return a(60)}),e,"belcorp.belcorp-challenge@0.8.5","belcorp.belcorp-challenge@0.x","LoginMenuItem");i.renderHotReload,i.setupHMR}.call(this,a(7)(e))},6:function(e,n){e.exports=__RENDER_8_COMPONENTS__["vtex.css-handles@1.x/useCssHandles"]},60:function(e,n,a){"use strict";a.r(n);var i=a(4),t=a(0),o=a.n(t),r=a(3),c=a.n(r),l=a(6),s=a.n(l),u=a(5),d=a(27),f=a.n(d);var m=function(){var e=Object(u.useQuery)(f.a),n=e.data,a=e.loading,i=Object(t.useMemo)((function(){if(!a&&n){var e=n.profile,i=(e=void 0===e?{}:e).firstName,t=void 0===i?"":i,o=e.lastName,r=void 0===o?"":o,c=e.email;return{firstName:t,lastName:r,email:void 0===c?"":c}}return{firstName:"",lastName:"",email:""}}),[n,a]);return Object.assign({},i)},v=["loginButton","loginButtonWrapper","loginText"];var p=function(e){var n,a,t=e.device,r=s()(v).handles,l=m(),u=l.firstName,d=l.lastName,f=l.email,p=Boolean(f),k=function(e,n,a){return e?n?a?"".concat(n," ").concat(a):n:"Mi cuenta":"Iniciar sesión"}(p,u,d),b=c()("checkout"),h=window.location.origin,g=function(e,n){return e?"account":"login?returnUrl=".concat(n)}(p,(n=h.split("."),-1!==(a=Object(i.a)(n,1)[0]).indexOf("esika")?"/authEsika":-1!==a.indexOf("cyzone")?"/authCyzone":"/authLbel")),N="".concat(b,"/").concat(g);return o.a.createElement("span",{className:"".concat(r.loginButtonWrapper)},o.a.createElement("a",{className:"".concat(r.loginButton),href:N}),"desktop"===t?o.a.createElement("a",{className:"".concat(r.loginText),href:N},k):"")};n.default=p}},[[52,"common"]]]); },function(){ (window.webpackJsonpbelcorp_belcorp_consultant_0_8_11=window.webpackJsonpbelcorp_belcorp_consultant_0_8_11||[]).push([[2],{13:function(e,n,i){"use strict";var a=i(2),t=i(0);n.a=function(){var e=Object(t.useState)(!1),n=Object(a.a)(e,2),i=n[0],l=n[1],d=function(){l(window.innerWidth<=1024)};return Object(t.useLayoutEffect)((function(){d()}),[d]),Object(t.useLayoutEffect)((function(){return window.addEventListener("resize",d),function(){return window.removeEventListener("resize",d)}}),[]),i}},14:function(e,n){var i={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"getDocumentsLines"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"acronym"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"account"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"fields"}},type:{kind:"ListType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"pageSize"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"page"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"where"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]}],directives:[{kind:"Directive",name:{kind:"Name",value:"context"},arguments:[{kind:"Argument",name:{kind:"Name",value:"sender"},value:{kind:"StringValue",value:"belcorp.belcorp-consultant@0.8.11",block:!1}}]}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"documents"},arguments:[{kind:"Argument",name:{kind:"Name",value:"account"},value:{kind:"Variable",name:{kind:"Name",value:"account"}}},{kind:"Argument",name:{kind:"Name",value:"acronym"},value:{kind:"Variable",name:{kind:"Name",value:"acronym"}}},{kind:"Argument",name:{kind:"Name",value:"fields"},value:{kind:"Variable",name:{kind:"Name",value:"fields"}}},{kind:"Argument",name:{kind:"Name",value:"pageSize"},value:{kind:"Variable",name:{kind:"Name",value:"pageSize"}}},{kind:"Argument",name:{kind:"Name",value:"page"},value:{kind:"Variable",name:{kind:"Name",value:"page"}}},{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"Variable",name:{kind:"Name",value:"where"}}}],directives:[{kind:"Directive",name:{kind:"Name",value:"runtimeMeta"},arguments:[{kind:"Argument",name:{kind:"Name",value:"hash"},value:{kind:"StringValue",value:"e8bccf91ed48a7cda4f187793fe10bd8df0d1650bb33496667c805b1e3c3aeed",block:!1}}]}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"fields"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"key"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:463}};i.loc.source={body:'query getDocumentsLines($acronym: String, $account: String, $fields: [String], $pageSize: Int, $page: Int, $where: String) @context(sender: "belcorp.belcorp-consultant@0.8.11") {\n documents(account: $account, acronym: $acronym, fields: $fields, pageSize: $pageSize, page: $page, where: $where) @runtimeMeta(hash: "e8bccf91ed48a7cda4f187793fe10bd8df0d1650bb33496667c805b1e3c3aeed") {\n fields {\n key\n value\n __typename\n }\n __typename\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function t(e,n){for(var i=0;i0;){var o=r;r=new Set,o.forEach((function(e){d.has(e)||(d.add(e),(a[e]||new Set).forEach((function(e){r.add(e)})))}))}return d.forEach((function(n){var a=t(e,n);a&&i.definitions.push(a)})),i}(i,"getDocumentsLines")},4:function(e,n,i){"use strict";i.d(n,"h",(function(){return l})),i.d(n,"f",(function(){return d})),i.d(n,"i",(function(){return r})),i.d(n,"c",(function(){return o})),i.d(n,"b",(function(){return c})),i.d(n,"g",(function(){return u})),i.d(n,"d",(function(){return C})),i.d(n,"a",(function(){return m})),i.d(n,"e",(function(){return v}));var a=i(0),t=i.n(a),l=function(e){var n=e.width,i=void 0===n?"":n,a=e.height,l=void 0===a?"":a;return t.a.createElement("svg",{style:{width:i,height:l,maxWidth:i,minWidth:i},viewBox:"0 0 28 26",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.3073 1.5999V0.690207C13.3073 0.309016 13.6215 0 14.0091 0C14.3967 0 14.7108 0.309016 14.7108 0.690207V1.5999C14.7108 1.62688 14.7093 1.6535 14.7062 1.67968C14.9733 1.76398 15.2216 1.88762 15.4498 2.04198C15.7188 2.224 15.9089 2.4103 16.0226 2.55397C16.2606 2.8548 16.2056 3.28846 15.8998 3.52257C15.5939 3.75667 15.153 3.70258 14.9149 3.40175C14.8834 3.36182 14.7925 3.27273 14.6544 3.17935C14.4251 3.02425 14.1668 2.93369 13.8786 2.93369C13.1882 2.93369 12.7628 3.27543 12.7628 3.56453C12.7628 3.97106 13.081 4.2876 14.1912 4.54031C15.7681 4.89922 16.6014 5.78507 16.6014 6.83888C16.6014 7.87939 15.9766 8.82062 14.7108 9.077V10.0076C14.7108 10.3888 14.3967 10.6979 14.0091 10.6979C13.6215 10.6979 13.3073 10.3888 13.3073 10.0076V9.10213C12.9104 9.04992 12.5534 8.95242 12.2371 8.81948C11.923 8.68753 11.7019 8.54554 11.5701 8.4306C11.2802 8.17767 11.2536 7.74144 11.5107 7.45625C11.7679 7.17106 12.2114 7.14491 12.5014 7.39784C12.5247 7.41818 12.6196 7.47911 12.7885 7.55008C13.1048 7.683 13.5029 7.76513 13.9909 7.76513C14.8783 7.76513 15.1979 7.36258 15.1979 6.83888C15.1979 6.4744 14.8531 6.10786 13.8747 5.88518C12.1794 5.49928 11.3593 4.68341 11.3593 3.56453C11.3593 2.60098 12.1802 1.8068 13.3073 1.60367C13.3073 1.60241 13.3073 1.60116 13.3073 1.5999Z",fill:"black"}),t.a.createElement("path",{d:"M13.4831 19.4599C12.5338 19.4599 12.5338 18.0266 13.4831 18.0266H16.3311C16.7245 18.0266 17.0431 17.7062 17.0431 17.31C17.0431 16.9137 16.7245 16.5933 16.3311 16.5933H12.9833C12.2939 16.5933 11.6099 16.4818 10.9568 16.2627L9.36241 15.7278C8.34008 15.3831 7.23436 15.3831 6.21093 15.7282L3.74033 16.5566L3.51529 16.5933H2.09132C1.6981 16.5933 0.667316 16.2627 0.667316 15.1601C0.667316 14.0575 1.69806 13.7579 2.09128 13.7579H3.39978L5.75972 12.9666C7.07555 12.5229 8.49881 12.5229 9.81366 12.9662L11.4071 13.5008C11.9148 13.6712 12.4468 13.7579 12.9833 13.7579H16.331C17.5003 13.7579 18.4502 14.703 18.4668 15.8767L22.2075 12.9473C24.1629 12.2936 26.3657 13.1427 27.0109 14.4435C27.488 15.4061 27.7229 18.0266 25.6017 19.4068L20.3191 23.7564C19.1755 24.6995 17.7417 25.2144 16.261 25.2144H15.3667C14.3735 25.2144 13.3932 24.9814 12.5007 24.5338L8.95026 22.7463C8.49405 22.5161 7.97265 22.4586 7.47676 22.5844L2.80327 23.7597C2.09129 23.7597 1.28686 23.3721 1.09134 22.5844C0.895811 21.7967 1.53724 21.0104 1.91873 20.9145L6.59072 19.7396C7.41635 19.5301 8.28771 19.6262 9.0484 20.01L12.5974 21.7967C13.2919 22.145 14.0549 22.3264 14.8273 22.3264H15.7216C16.8736 22.3264 17.9884 21.9261 18.8777 21.1927L24.1592 16.8439C24.4727 16.5843 24.5665 16.1425 24.386 15.7782C24.1426 15.2875 23.5123 15.1435 23.0822 15.4806L18.9632 18.7061C18.3373 19.1947 17.5687 19.4599 16.7782 19.4599H13.4831Z",fill:"black"}))},d=function(e){var n=e.width,i=void 0===n?"":n,a=e.height,l=void 0===a?"":a;return t.a.createElement("svg",{style:{width:i,height:l,maxWidth:i,minWidth:i},viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.85218 5.62971C6.62488 5.62971 5.62996 6.62463 5.62996 7.85193C5.62996 9.07923 6.62488 10.0742 7.85218 10.0742C9.07948 10.0742 10.0744 9.07923 10.0744 7.85193C10.0744 6.62463 9.07948 5.62971 7.85218 5.62971ZM2.66699 7.85193C2.66699 4.98823 4.98848 2.66675 7.85218 2.66675C10.7159 2.66675 13.0374 4.98823 13.0374 7.85193C13.0374 10.7156 10.7159 13.0371 7.85218 13.0371C4.98848 13.0371 2.66699 10.7156 2.66699 7.85193ZM27.4183 4.58211C27.9968 5.16066 27.9968 6.09869 27.4183 6.67724L6.67753 27.418C6.09897 27.9965 5.16095 27.9965 4.58239 27.418C4.00384 26.8394 4.00384 25.9014 4.58239 25.3229L25.3231 4.58211C25.9017 4.00355 26.8397 4.00355 27.4183 4.58211ZM21.9263 24.1482C21.9263 22.9209 22.9212 21.9259 24.1485 21.9259C25.3758 21.9259 26.3707 22.9209 26.3707 24.1482C26.3707 25.3755 25.3758 26.3704 24.1485 26.3704C22.9212 26.3704 21.9263 25.3755 21.9263 24.1482ZM24.1485 18.963C21.2848 18.963 18.9633 21.2845 18.9633 24.1482C18.9633 27.0119 21.2848 29.3333 24.1485 29.3333C27.0122 29.3333 29.3337 27.0119 29.3337 24.1482C29.3337 21.2845 27.0122 18.963 24.1485 18.963Z",fill:"black"}))},r=function(e){var n=e.width,i=void 0===n?"":n,a=e.height,l=void 0===a?"":a;return t.a.createElement("svg",{style:{width:i,height:l,maxWidth:i,minWidth:i},viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.33301 11.3333C8.33301 6.73096 12.064 3 16.6663 3C21.2687 3 24.9997 6.73096 24.9997 11.3333V24H22.9997V11.3333C22.9997 7.83553 20.1641 5 16.6663 5C13.1685 5 10.333 7.83553 10.333 11.3333V24H8.33301V11.3333Z",fill:"black"}),t.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.3331 18.9333C18.744 18.9333 18.2664 19.4109 18.2664 20V20.1735C18.2664 21.8649 19.4035 23.345 21.0378 23.7808L23.7453 24.5028C24.4457 24.6896 24.9331 25.3239 24.9331 26.0488V27.3334C24.9331 27.9225 25.4106 28.4 25.9997 28.4C26.5888 28.4 27.0664 27.9225 27.0664 27.3334V26.0488C27.0664 24.3574 25.9293 22.8773 24.295 22.4415L21.5875 21.7195C20.8871 21.5327 20.3997 20.8984 20.3997 20.1735V20C20.3997 19.4109 19.9222 18.9333 19.3331 18.9333Z",fill:"black"}),t.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.9996 18.9333C14.5887 18.9333 15.0663 19.4109 15.0663 20V20.1248C15.0663 21.8479 13.8871 23.3471 12.2125 23.753L8.95598 24.5425C8.23832 24.7165 7.73294 25.359 7.73294 26.0975V27.3334C7.73294 27.9225 7.25538 28.4 6.66628 28.4C6.07717 28.4 5.59961 27.9225 5.59961 27.3334V26.0975C5.59961 24.3744 6.77882 22.8752 8.45337 22.4692L11.7099 21.6798C12.4276 21.5058 12.9329 20.8632 12.9329 20.1248V20C12.9329 19.4109 13.4105 18.9333 13.9996 18.9333Z",fill:"black"}),t.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.0622 24.0259L10.6025 22.9916L12.0646 22.3418L12.5243 23.3761C14.1197 26.9656 19.2142 26.9656 20.8095 23.3761L21.2692 22.3418L22.7313 22.9916L22.2716 24.0259C20.1132 28.8823 13.2206 28.8823 11.0622 24.0259Z",fill:"black"}),t.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.1259 7.1589C16.5713 6.87257 17.1627 6.98307 17.4747 7.41091L18.0097 8.14472C18.6449 9.01582 19.582 9.61887 20.638 9.83609L21.5348 10.0206C21.9997 10.1162 22.3333 10.5255 22.3333 11.0001V15.3334C22.3333 18.463 19.7963 21.0001 16.6667 21.0001C13.5371 21.0001 11 18.463 11 15.3334V11.0001C11 10.6598 11.173 10.3429 11.4592 10.1589L16.1259 7.1589ZM13 11.546V15.3334C13 17.3585 14.6416 19.0001 16.6667 19.0001C18.6917 19.0001 20.3333 17.3585 20.3333 15.3334V11.8153L20.235 11.7951C18.703 11.4799 17.3422 10.6092 16.4143 9.35112L13 11.546Z",fill:"black"}))},o=function(e){var n=e.width,i=void 0===n?"":n,a=e.height,l=void 0===a?"":a;return t.a.createElement("svg",{style:{width:i,height:l,maxWidth:i,minWidth:i},viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.a.createElement("path",{d:"M11.4335 8.20016L6.56683 3.3335L5.8335 4.06683L10.3668 8.60016L6.0335 12.9335L6.36683 13.2668L10.7002 8.9335L11.4335 8.20016Z",fill:"black"}))},c=function(e){var n=e.width,i=void 0===n?"":n,a=e.height,l=void 0===a?"":a;return t.a.createElement("svg",{style:{width:i,height:l,maxWidth:i,minWidth:i},viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.a.createElement("circle",{cx:"60",cy:"60",r:"60",fill:"#C4C4C4"}),t.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M50.625 44.375C50.625 39.1973 54.8223 35 60 35C65.1777 35 69.375 39.1973 69.375 44.375C69.375 49.5527 65.1777 53.75 60 53.75C54.8223 53.75 50.625 49.5527 50.625 44.375ZM60 28.75C51.3705 28.75 44.375 35.7456 44.375 44.375C44.375 53.0044 51.3705 60 60 60C68.6294 60 75.625 53.0044 75.625 44.375C75.625 35.7456 68.6294 28.75 60 28.75ZM47.5 66.25C43.356 66.25 39.3817 67.8962 36.4515 70.8265C33.5212 73.7567 31.875 77.731 31.875 81.875V88.125C31.875 89.8509 33.2741 91.25 35 91.25C36.7259 91.25 38.125 89.8509 38.125 88.125V81.875C38.125 79.3886 39.1127 77.004 40.8709 75.2459C42.629 73.4877 45.0136 72.5 47.5 72.5H72.5C74.9864 72.5 77.371 73.4877 79.1291 75.2459C80.8873 77.004 81.875 79.3886 81.875 81.875V88.125C81.875 89.8509 83.2741 91.25 85 91.25C86.7259 91.25 88.125 89.8509 88.125 88.125V81.875C88.125 77.731 86.4788 73.7567 83.5485 70.8265C80.6183 67.8962 76.644 66.25 72.5 66.25H47.5Z",fill:"white"}))},u=function(e){var n=e.width,i=void 0===n?"":n,a=e.height,l=void 0===a?"":a;return t.a.createElement("svg",{style:{width:i,height:l,maxWidth:i,minWidth:i},viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.a.createElement("path",{d:"M25.6067 29.3334C25.5095 29.3334 25.4 29.3334 25.3027 29.3212C21.3751 28.8956 17.5569 27.5337 14.2616 25.3935C11.1973 23.448 8.5464 20.7971 6.60082 17.7328C4.46067 14.4253 3.09876 10.5949 2.68533 6.66729C2.58805 5.67018 2.87989 4.72171 3.5122 3.97996C4.13236 3.22604 5.02003 2.77613 5.98066 2.67885C6.0901 2.66669 6.19954 2.66669 6.30898 2.66669H9.95695C9.96911 2.66669 9.98127 2.66669 9.99343 2.66669C11.7931 2.66669 13.3374 4.00428 13.5928 5.80394C13.7387 6.88617 14.0062 7.94408 14.3832 8.96552C14.8817 10.2909 14.5656 11.7988 13.5563 12.808L12.6808 13.6836C14.1156 15.921 16.0126 17.8301 18.2622 19.265L19.1377 18.3894C20.1469 17.3923 21.6669 17.064 22.9924 17.5626C24.0016 17.9395 25.0717 18.207 26.1418 18.3408C27.9779 18.5962 29.3277 20.1891 29.2912 22.0253V25.6611C29.2912 26.6339 28.9142 27.5458 28.2333 28.239C27.5523 28.9321 26.6282 29.309 25.6554 29.3212C25.6311 29.3334 25.6189 29.3334 25.6067 29.3334ZM9.98127 5.09867C9.96911 5.09867 9.96911 5.09867 9.98127 5.09867H6.30898C5.87122 5.13515 5.57939 5.28107 5.37267 5.53642C5.16595 5.77962 5.06867 6.09578 5.09299 6.4241C5.46995 9.95047 6.6981 13.416 8.63152 16.4195C10.3947 19.192 12.7902 21.5875 15.5627 23.3507C18.554 25.2963 22.0074 26.5123 25.5338 26.9014C25.9594 26.95 26.2512 26.7798 26.4823 26.5487C26.7133 26.3177 26.8349 26.0137 26.8349 25.6854V22.0374C26.8349 22.0253 26.8349 22.0131 26.8349 22.0009C26.8471 21.3808 26.3971 20.8579 25.7891 20.7728C24.5488 20.6147 23.3085 20.2985 22.1169 19.8608C21.6669 19.6906 21.1684 19.8 20.8279 20.1283L19.2836 21.6726C18.8945 22.0617 18.2986 22.1347 17.8244 21.8672C14.5899 20.031 11.9147 17.3437 10.0785 14.1213C9.82319 13.6228 9.89615 13.0269 10.2853 12.6378L11.8296 11.0935C12.1579 10.7652 12.2673 10.2666 12.0971 9.81671C11.6472 8.62504 11.3432 7.38473 11.1729 6.13226C11.1 5.54858 10.5771 5.09867 9.98127 5.09867Z",fill:"black"}))},C=function(e){var n=e.width,i=void 0===n?"":n,a=e.height,l=void 0===a?"":a;return t.a.createElement("svg",{style:{width:i,height:l,maxWidth:i,minWidth:i},viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.14189 7.40529C4.36239 6.96924 4.81584 6.66667 5.33313 6.66667H26.6665C27.1838 6.66667 27.6372 6.96924 27.8577 7.40529L15.9998 15.7058L4.14189 7.40529ZM1.3332 7.97622C1.33297 7.9898 1.33295 8.00337 1.33313 8.01694V24C1.33313 26.203 3.13008 28 5.33313 28H26.6665C28.8695 28 30.6665 26.203 30.6665 24V8.01583C30.6666 8.00309 30.6666 7.99033 30.6664 7.97757C30.6542 5.78477 28.862 4 26.6665 4H5.33313C3.13801 4 1.34607 5.78404 1.3332 7.97622ZM27.9998 10.5609V24C27.9998 24.7303 27.3967 25.3333 26.6665 25.3333H5.33313C4.60284 25.3333 3.9998 24.7303 3.9998 24V10.5609L15.2352 18.4257C15.6943 18.747 16.3053 18.747 16.7644 18.4257L27.9998 10.5609Z",fill:"black"}))},m=function(e){var n=e.width,i=void 0===n?"":n,a=e.height,l=void 0===a?"":a;return t.a.createElement("svg",{style:{width:i,height:l,maxWidth:i,minWidth:i},viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.00065 2.54513C4.98819 2.54513 2.54611 4.98721 2.54611 7.99967C2.54611 11.0121 4.98819 13.4542 8.00065 13.4542C11.0131 13.4542 13.4552 11.0121 13.4552 7.99967C13.4552 4.98721 11.0131 2.54513 8.00065 2.54513ZM1.33398 7.99967C1.33398 4.31778 4.31875 1.33301 8.00065 1.33301C11.6825 1.33301 14.6673 4.31778 14.6673 7.99967C14.6673 11.6816 11.6825 14.6663 8.00065 14.6663C4.31875 14.6663 1.33398 11.6816 1.33398 7.99967ZM8.00065 7.39361C8.33537 7.39361 8.60671 7.66496 8.60671 7.99967V10.4239C8.60671 10.7586 8.33537 11.03 8.00065 11.03C7.66593 11.03 7.39459 10.7586 7.39459 10.4239V7.99967C7.39459 7.66496 7.66593 7.39361 8.00065 7.39361ZM8.00065 4.96937C7.66593 4.96937 7.39459 5.24071 7.39459 5.57543C7.39459 5.91015 7.66593 6.18149 8.00065 6.18149H8.00671C8.34143 6.18149 8.61277 5.91015 8.61277 5.57543C8.61277 5.24071 8.34143 4.96937 8.00671 4.96937H8.00065Z",fill:"#D40000"}))},v=function(e){var n=e.width,i=void 0===n?"":n,a=e.height,l=void 0===a?"":a;return t.a.createElement("svg",{style:{width:i,height:l,maxWidth:i,minWidth:i},viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.1751 2.01543C14.64 2.48034 14.64 3.23411 14.1751 3.69902L7.87406 10.0001L14.1751 16.3011C14.64 16.7661 14.64 17.5198 14.1751 17.9847C13.7102 18.4496 12.9564 18.4496 12.4915 17.9847L5.34868 10.8419C4.88377 10.377 4.88377 9.6232 5.34868 9.15829L12.4915 2.01543C12.9564 1.55052 13.7102 1.55052 14.1751 2.01543Z",fill:"black"}))}},8:function(e,n,i){"use strict";i.d(n,"a",(function(){return r}));var a=i(12),t=i(7),l=i(14),d=i.n(l),r=function(e){var n=e.acronym,i=e.fields,l=e.pageSize,r=e.page,o=e.where,c=Object(t.useRuntime)().account.replace(/(esika|lbel|cyzone)/gm,"belcorp"),u=Object(a.useQuery)(d.a,{variables:{account:c,acronym:n,fields:i,pageSize:l,page:r,where:o}});return{loading:u.loading,error:u.error,data:u.data,networkStatus:u.networkStatus}}}}]); },function(){ (window.webpackJsonpbelcorp_belcorp_consultant_0_8_11=window.webpackJsonpbelcorp_belcorp_consultant_0_8_11||[]).push([["ConsultantBar"],{0:function(t,n){t.exports=React},11:function(t,n){t.exports=__RENDER_8_COMPONENTS__["vtex.order-manager@0.x/OrderForm"]},12:function(t,n){t.exports=ReactApollo},20:function(t,n){t.exports=regeneratorRuntime},21:function(t,n){t.exports=__RENDER_8_COMPONENTS__["vtex.styleguide@9.x/Modal"]},35:function(t,n,e){"use strict";e.r(n),function(t){var n=e(9);e.p=Object(n.getPublicPath)("belcorp.belcorp-consultant@0.8.11");var a=Object(n.register)((function(){return e(43)}),t,"belcorp.belcorp-consultant@0.8.11","belcorp.belcorp-consultant@0.x","ConsultantBar");a.renderHotReload,a.setupHMR}.call(this,e(18)(t))},43:function(t,n,e){"use strict";e.r(n);var a=e(6),o=e(3),c=e.n(o),l=e(10),r=e(2),i=e(0),s=e.n(i),u=e(5),d=e.n(u),m=e(8),p=e(1),g=e(4),v=e(13),E=e(16),f=e(7),b=e(11),h=e(21),x=e.n(h),C=["nonExistingConsultantModal","nonExistingConsultantModalTitle","nonExistingConsultantModalMessage","nonExistingConsultantModalMessageStrong","nonExistingConsultantModalPrimaryButton","nonExistingConsultantModalSecondaryButton"],O=function(t){var n=t.consultantStore,e=t.isModalOpen,a=t.country,o=t.handlePrimaryButton,c=d()(C).handles,l=Object(i.useRef)(null),r=Object(f.useRuntime)().navigate;return s.a.createElement(s.a.Fragment,null,s.a.createElement("div",{id:"nonExistingConsultantModal",ref:l,className:c.nonExistingConsultantModal}),s.a.createElement(x.a,{centered:!0,container:l.current,isOpen:e,responsiveFullScreen:!0},s.a.createElement("svg",{width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},s.a.createElement("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M20.0002 6.36362C12.469 6.36362 6.3638 12.4688 6.3638 20C6.3638 27.5311 12.469 33.6363 20.0002 33.6363C27.5313 33.6363 33.6365 27.5311 33.6365 20C33.6365 12.4688 27.5313 6.36362 20.0002 6.36362ZM3.3335 20C3.3335 10.7952 10.7954 3.33331 20.0002 3.33331C29.2049 3.33331 36.6668 10.7952 36.6668 20C36.6668 29.2047 29.2049 36.6666 20.0002 36.6666C10.7954 36.6666 3.3335 29.2047 3.3335 20ZM20.0002 18.4848C20.837 18.4848 21.5153 19.1632 21.5153 20V26.0606C21.5153 26.8974 20.837 27.5757 20.0002 27.5757C19.1634 27.5757 18.485 26.8974 18.485 26.0606V20C18.485 19.1632 19.1634 18.4848 20.0002 18.4848ZM20.0002 12.4242C19.1634 12.4242 18.485 13.1026 18.485 13.9394C18.485 14.7762 19.1634 15.4545 20.0002 15.4545H20.0153C20.8521 15.4545 21.5305 14.7762 21.5305 13.9394C21.5305 13.1026 20.8521 12.4242 20.0153 12.4242H20.0002Z",fill:"black"})),s.a.createElement("h3",{className:c.nonExistingConsultantModalTitle},"Esta consultora ya no vende nuestros productos"),"ECU"===a||"PAN"===a?s.a.createElement("p",{className:c.nonExistingConsultantModalMessage},"La tienda online"," ",s.a.createElement("b",{className:c.nonExistingConsultantModalMessageStrong},n)," ","ahora está inactiva. Te hemos asignado aleatoriamente una nueva consultora, elige entre mantenerla o elegir otra."):s.a.createElement("p",{className:c.nonExistingConsultantModalMessage},"La tienda online"," ",s.a.createElement("b",{className:c.nonExistingConsultantModalMessageStrong},n)," ","ahora está inactiva. Sigue disfrutando de nuestros productos con estas opciones:"),s.a.createElement("button",{className:c.nonExistingConsultantModalPrimaryButton,onClick:o,style:{cursor:"pointer"}},"ECU"===a||"PAN"===a?"Mantener nueva consultora":"Continuar sin consultora"),s.a.createElement("button",{className:c.nonExistingConsultantModalSecondaryButton,onClick:function(){r({to:"/consultora"})},style:{cursor:"pointer"}},"Buscar una consultora nueva")))},N=["consultant","consultantText","consultantTextStrong","consultantTextStrongSecondLine","consultantselectedimg","consultantAlign"],j=function(t){var n,e,o=d()(N).handles,u=Object(v.a)(),h=Object(p.g)("consultora").split(",")[0],x=Object(E.useConsultantCookieContext)().utmiCpParam,C=Object(i.useState)(!1),j=Object(r.a)(C,2),_=j[0],M=j[1],w={acronym:"MS",fields:["firstName","lastName","pictureUrl","consultantCode","campaign"],where:"storeUrl=".concat(p.a.includes(null==x?void 0:x.data)?"":null!==(n=null==x?void 0:x.data)&&void 0!==n?n:"")},y=(null!==(e=Object(m.a)(w))&&void 0!==e?e:{data:{documents:[]}}).data,S=Object(b.useOrderForm)().orderForm,U=Object(f.useRuntime)(),k=U.culture,P=U.navigate,R=U.account,T=Object(i.useState)(""),A=Object(r.a)(T,2),D=A[0],B=A[1],J=function(t){var n,e="Consultant validation Error - ".concat(t);null===(n=window.newrelic)||void 0===n||n.noticeError(new Error(e))},F=function(){var t=Object(l.a)(c.a.mark((function t(n,e){var a,o,l;return c.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,a=R.replace(/(esika|lbel|cyzone)/gm,"belcorp"),t.next=4,fetch("/api/dataentities/MS/search?storeUrl=".concat(n,"&_fields=storeUrl&an=").concat(a),{method:"GET",headers:{"Content-Type":"application/json",Accept:"application/vnd.vtex.ds.v10+json"}});case 4:return o=t.sent,t.next=7,o.json();case 7:if(l=t.sent,!o.ok){t.next=20;break}if(0!==(null==l?void 0:l.length)){t.next=18;break}if(B(n),"ECU"===(null==k?void 0:k.country)||"PAN"===(null==k?void 0:k.country)){t.next=15;break}return document.cookie="consultantUrl=;domain=".concat(Object(p.h)(),";path=/;max-age=7776000;secure;"),t.next=15,Object(p.c)(S);case 15:M(!0),J('"'.concat(null==x?void 0:x.data,'" not found - Response from API: ').concat(JSON.stringify(l)," - Details: ").concat(JSON.stringify({clientUtmi:n,cookieUtmi:e}))),Object(p.m)(n)||J('"'.concat(null==x?void 0:x.data,'" contains the character ñ - Details: ').concat(JSON.stringify({clientUtmi:n,cookieUtmi:e})));case 18:t.next=21;break;case 20:J('Error during "'.concat(null==x?void 0:x.data,'" search - Response from API: ').concat(JSON.stringify(l)," - Details: ").concat(JSON.stringify({clientUtmi:n,cookieUtmi:e})));case 21:t.next=26;break;case 23:t.prev=23,t.t0=t.catch(0),J('Error during "'.concat(null==x?void 0:x.data,'" search - Error: ').concat(t.t0," - Details: ").concat(JSON.stringify({clientUtmi:n,cookieUtmi:e})));case 26:case"end":return t.stop()}}),t,null,[[0,23]])})));return function(n,e){return t.apply(this,arguments)}}(),L=Object(i.useState)(""),H=Object(r.a)(L,2),V=H[0],Z=H[1];Object(i.useEffect)((function(){var t=new URL(window.location.href).searchParams.get("utmi_cp"),n=null==x?void 0:x.data;t&&!V&&Z(t),t&&n&&t===n&&!window.isConsultantValidatorExecuted&&("ECU"===(null==k?void 0:k.country)||"PAN"===(null==k?void 0:k.country)?V&&V!==t&&(window.isConsultantValidatorExecuted=!0,B(V),M(!0),J("initial consultant changed - Details: ".concat(JSON.stringify({clientUtmi:t,cookieUtmi:n,firstUtmiCpParam:V})))):(window.isConsultantValidatorExecuted=!0,F(t,n)))}),[window.location.href,null==x?void 0:x.data]);var I,z=Object(i.useMemo)((function(){return null==y?void 0:y.documents.map((function(t){return null==t?void 0:t.fields.reduce((function(t,n){return Object.assign(Object.assign({},t),Object(a.a)({},n.key,n.value.normalize("NFD").replace(/[\u0300-\u036f]/g,"")))}),{})}))}),[y]);return s.a.createElement(s.a.Fragment,null,s.a.createElement("div",{className:o.consultantAlign},z&&(null==z?void 0:z.length)>0?function(){var t,n,e,a,c,l,r,i="PER"===(null==k?void 0:k.country)?"Tu consultora es":"Estás en la tienda online de:";return h!==z[0].firstName&&(document.cookie="consultora=".concat(Object.values(z[0]).join(","),";domain=").concat(Object(p.h)(),";path=/;secure;max-age=7776000;")),0===Object(p.g)("consultora").length&&(document.cookie="consultora=".concat(Object.values(z[0]).join(","),";domain=").concat(Object(p.h)(),";path=/;secure;max-age=7776000;")),s.a.createElement("a",{href:"/consultora",className:o.consultant,onClick:function(){return Object(p.o)({event:"virtualEvent",category:"ui :: boton consultora :: paso 1",action:"click",label:"Datos de consultora"})}},!!z&&(null==z?void 0:z.length)>0&&s.a.createElement(s.a.Fragment,null,(null===(t=z[0])||void 0===t?void 0:t.pictureUrl)&&"null"!==(null===(n=z[0])||void 0===n?void 0:n.pictureUrl)?s.a.createElement("img",{className:o.consultantselectedimg,src:null===(e=z[0])||void 0===e?void 0:e.pictureUrl,alt:""}):s.a.createElement(g.b,{width:u?"24px":"28px",height:u?"24px":"28px"}),s.a.createElement("p",{className:o.consultantText},i,s.a.createElement("strong",{className:(null===(a=z[0])||void 0===a?void 0:a.firstName.length)>=14?o.consultantTextStrongSecondLine:o.consultantTextStrong},(null===(c=z[0])||void 0===c?void 0:c.firstName.length)>=30?Object(p.s)((null===(l=z[0])||void 0===l?void 0:l.firstName.substring(0,30))+"..."):Object(p.s)(null===(r=z[0])||void 0===r?void 0:r.firstName)))))}():(I="PER"===(null==k?void 0:k.country)?"Asignarme una consultora online":"Compra a través de una consultora online",s.a.createElement("a",{href:"/consultora",className:o.consultant,onClick:function(t){var n=Object(p.j)().section;Object(p.o)({event:"virtualEventGA4",content_type:"button",selected_content:t.currentTarget.innerText,section:n,campaign:Object(p.f)(),currency:Object(p.i)(),position_ui:"header",destination_page:t.currentTarget.href})}},s.a.createElement(g.i,{width:"24px",height:"24px"}),s.a.createElement("p",{className:o.consultantText},I),s.a.createElement(g.c,{width:"24px",height:"24px"})))),s.a.createElement(O,{consultantStore:D,isModalOpen:_,country:null==k?void 0:k.country,handlePrimaryButton:function(){M(!1);var t=new URL(window.location.href);t.searchParams.has("utmi_cp")&&("ECU"!==(null==k?void 0:k.country)&&"PAN"!==(null==k?void 0:k.country)&&t.searchParams.delete("utmi_cp"),P({to:"".concat(t.pathname).concat(t.search).concat(t.hash)}))}}))};n.default=j},5:function(t,n){t.exports=__RENDER_8_COMPONENTS__["vtex.css-handles@1.x/useCssHandles"]},7:function(t,n){t.exports=__RENDER_8_RUNTIME__}},[[35,"common",0,1,2]]]); }], document.currentScript.dataset.index)