(window.webpackJsonp=window.webpackJsonp||[]).push([[44,140],{"+yCD":function(e,t,i){"use strict";var n=this&&this.__extends||function(){var e=function(t,i){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(t,i)};return function(t,i){function n(){this.constructor=t}e(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}();Object.defineProperty(t,"__esModule",{value:!0});var a=i("q1tI");t.isMouseMoveEvent=function(e){return"clientY"in e};var o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t}(a.Component);t.default=o},0:function(e,t){},"0Oq6":function(e,t,i){"use strict";i.d(t,"b",function(){return o}),i.d(t,"a",function(){return r});var n=i("KDCo"),a=void 0;function o(){n.M||(a=window.scrollY,document.body.style.left="0",document.body.style.right="0",document.body.style.top=-a+"px",document.body.style.position="fixed",document.body.style.overflow="hidden")}function r(){n.M||void 0===a||(document.body.style.left="initial",document.body.style.right="initial",document.body.style.top="initial",document.body.style.position="initial",document.body.style.overflow="initial",window.scrollTo(0,a))}},"0Spu":function(e,t,i){"use strict";var n=i("hfKm"),a=i.n(n),o=i("2Eek"),r=i.n(o),s=i("XoMD"),c=i.n(s),l=i("Jo+v"),d=i.n(l),p=i("4mXO"),u=i.n(p),m=i("pLtp"),f=i.n(m),h=i("XXOK"),g=i.n(h),b=i("vYYK"),x=i("LvDl"),y=i.n(x),v=[],j=[];function w(){return y.a.uniqBy(v,"name")}function k(e){v.push(e)}function _(){v=[]}var O,S,T,I=i("2wwy"),C=i.n(I),N=i("KDCo"),E=i("p+zr"),L=i("K4CH");function M(){var e=new L.UAParser;return{browserVersion:e.getBrowser().version||"",browserType:e.getBrowser().name||"",deviceType:"1"===Object(N.n)(E.B)?"pc":"h5"}}function P(e,t,i){return e>i?S.POOR:e1&&void 0!==arguments[1]&&arguments[1],i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(A(e)){var a={},o={projectName:"web",data:e,deviceInfo:M()};if(a=i?V({},n,{},o):V({},D,{},o,{pageUrl:window.location.href}),t)return console.log("\u4e0a\u62a5\u6570\u636e",a),void Y(a);window.requestIdleCallback?window.requestIdleCallback(function(){console.log("\u4e0a\u62a5\u6570\u636e",a),Y(a)}):setTimeout(function(){console.log("\u4e0a\u62a5\u6570\u636e",a),Y(a)})}else console.log("\u672a\u91c7\u96c6\u5230\u5b8c\u6574\u6570\u636e,\u53d6\u6d88\u4e0a\u62a5")}function Y(e){H(e).then(function(e){e&&console.log("\u4e0a\u62a5\u6210\u529f")}).catch(function(e){console.log("\u4e0a\u62a5\u5931\u8d25",e)})}function X(e,t){var i=f()(e);if(u.a){var n=u()(e);t&&(n=n.filter(function(t){return d()(e,t).enumerable})),i.push.apply(i,n)}return i}function K(e){for(var t=1;t=0&&k(K({},e,{pageType:D.pageType}))}function J(e,t){if(e.value>=0){!function(e){j.push(e)}(K({},e));var i=y.a.uniqBy(j,"name");if(!A(i))return;W(i,!1,!0,{pageType:t.pageType,pageUrl:t.pageUrl}),j=[]}}var Z=F(function(){var e=new PerformanceObserver(function(t){var i=!0,n=!1,a=void 0;try{for(var o,r=g()(t.getEntries());!(i=(o=r.next()).done);i=!0){var s=o.value;"first-contentful-paint"===s.name&&(e.disconnect(),Q({name:O.FCP,value:Math.round(s.startTime),rating:P(s.startTime,1800,3e3),type:"performance"}))}}catch(c){n=!0,a=c}finally{try{i||null==r.return||r.return()}finally{if(n)throw a}}});e.observe({type:"paint",buffered:!0})}),$=F(function(){if(R())Q({name:O.LCP,value:0,rating:P(0,2500,4e3),type:"performance"});else{var e=new PerformanceObserver(function(t){var i=!0,n=!1,a=void 0;try{for(var o,r=g()(t.getEntries());!(i=(o=r.next()).done);i=!0){var s=o.value;e.disconnect(),Q({name:O.LCP,value:Math.round(s.startTime),rating:P(s.startTime,2500,4e3),type:"performance"})}}catch(c){n=!0,a=c}finally{try{i||null==r.return||r.return()}finally{if(n)throw a}}});e.observe({type:"largest-contentful-paint",buffered:!0})}});function ee(){Z(),$(),window.addEventListener("load",function e(){var t=window.performance.timing,i=t.responseStart-t.navigationStart;Q({name:O.TTFB,value:Math.round(i),rating:P(i,800,1800),type:"performance"}),window.removeEventListener("load",e,!0)},!0),window.addEventListener("load",function e(){var t=window.performance.getEntriesByType("navigation");if(t.length>0){var i=t[0],n=i.responseEnd-i.fetchStart;Q({name:O.FP,value:Math.round(n),rating:P(n,1e3,3e3),type:"performance"})}window.removeEventListener("load",e,!0)},!0),window.addEventListener("load",function e(){var t=window.performance.getEntriesByType("navigation");if(t.length>0){var i=t[0],n=i.domContentLoadedEventEnd-i.fetchStart;Q({name:O.DOMREADY,value:Math.round(n),rating:P(n,3e3,5e3),type:"performance"})}window.removeEventListener("load",e,!0)},!0),window.addEventListener("load",function e(){var t=window.performance.getEntriesByType("navigation");if(t.length>0){var i=t[0],n=i.loadEventStart-i.fetchStart;Q({name:O.LOAD,value:Math.round(n),rating:P(n,5e3,1e4),type:"performance"})}window.removeEventListener("load",e,!0)},!0)}var te=F(function(e){var t=new PerformanceObserver(function(i){var n=!0,a=!1,o=void 0;try{for(var r,s=g()(i.getEntries());!(n=(r=s.next()).done);n=!0){var c=r.value;"first-contentful-paint"===c.name&&(t.disconnect(),J({name:O.FCP,value:Math.round(c.startTime),rating:P(c.startTime,1800,3e3),type:"performance"},e))}}catch(l){a=!0,o=l}finally{try{n||null==s.return||s.return()}finally{if(a)throw o}}});t.observe({type:"paint",buffered:!0})}),ie=F(function(e){if(R())J({name:O.LCP,value:0,rating:P(0,2500,4e3),type:"performance"},e);else{var t=new PerformanceObserver(function(i){var n=!0,a=!1,o=void 0;try{for(var r,s=g()(i.getEntries());!(n=(r=s.next()).done);n=!0){var c=r.value;t.disconnect(),J({name:O.LCP,value:Math.round(c.startTime),rating:P(c.startTime,2500,4e3),type:"performance"},e)}}catch(l){a=!0,o=l}finally{try{n||null==s.return||s.return()}finally{if(a)throw o}}});t.observe({type:"largest-contentful-paint",buffered:!0})}});function ne(e){te(e),ie(e),function(e){var t=e.instance;t.events.on("routeChangeComplete",function i(){var n=window.performance.timing,a=n.responseStart-n.navigationStart;J({name:O.TTFB,value:Math.round(a),rating:P(a,800,1800),type:"performance"},e),t.events.off("routeChangeComplete",i)})}(e),function(e){var t=e.instance;t.events.on("routeChangeComplete",function i(){var n=window.performance.getEntriesByType("navigation");if(n.length>0){var a=n[0],o=a.responseEnd-a.fetchStart;J({name:O.FP,value:Math.round(o),rating:P(o,1e3,3e3),type:"performance"},e)}t.events.off("routeChangeComplete",i)})}(e),function(e){var t=e.instance;t.events.on("routeChangeComplete",function i(){var n=window.performance.getEntriesByType("navigation");if(n.length>0){var a=n[0],o=a.domContentLoadedEventEnd-a.fetchStart;J({name:O.DOMREADY,value:Math.round(o),rating:P(o,3e3,5e3),type:"performance"},e)}t.events.off("routeChangeComplete",i)})}(e),function(e){var t=e.instance;t.events.on("routeChangeComplete",function i(){var n=window.performance.getEntriesByType("navigation");if(n.length>0){var a=n[0],o=a.loadEventStart-a.fetchStart;J({name:O.LOAD,value:Math.round(o),rating:P(o,5e3,1e4),type:"performance"},e)}t.events.off("routeChangeComplete",i)})}(e)}var ae=i("9Ea1");i.d(t,"a",function(){return T});var oe=["br","mx","cl","pt","au"],re={init:function(e){if("PerformanceObserver"in window){var t;if(oe.includes(Object(ae.getSite)(e.domain)))return e.custom&&e.instance?(z(e),void ne(e)):(z(e),ee(),t=function(){var e=w();e.length&&(W(e),_())},void window.addEventListener("load",function e(i){t(i),window.removeEventListener("load",e,!0)},!0));console.log("\u53d6\u6d88\u91c7\u96c6")}else console.log("\u53d6\u6d88\u91c7\u96c6")}};t.b=re},"2ZXj":function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i("q1tI"),a=i("m1kc"),o=i("m1kc");t.populatePreviousSlides=function(e,t,i){void 0===i&&(i=0);var r,s,c=e.currentSlide,l=e.itemWidth,d=e.slidesToShow,p=t.children,u=t.showDots,m=t.infinite,f=a.getSlidesToSlide(e,t),h=c-i-(0 div > span"),n=function(n){var a=i[n];a.style.color="#26abff",a.style.cursor="pointer",a.onclick=function(){if(e&&e[n]){window.open(e[n],"_blank");var i=0===n?"prescription-link":1===n?"sunglasses-link":"try_on-link",a=function(){if(Object(d.n)("jwt")){var e=t&&t.is_old_customer;return 0===n?"prescription-link_".concat(e?"old":"new","_login"):1===n?"sunglasses-link_".concat(e?"old":"new","_login"):"try_on-link_".concat(e?"old":"new","_login")}return 0===n?"prescription-link_new":1===n?"sunglasses-link_new":"try_on-link_new"}();Object(l.A)().then(function(){Object(l.eb)(i,{event_category:"index",event_label:a})})}}},a=0;a0&&void 0!==arguments[0]&&arguments[0];return new s.a(function(i,n){if(e||t.tryon_canvas)if(!e||t.aniCanvas){for(var a=e?t.aniCanvas:t.tryon_canvas,o=window.atob(a.toDataURL("image/png").split(",")[1]),r=new ArrayBuffer(o.length),s=new Uint8Array(r),c=0;c0?n.data.slice(a-4*t.w,a-4*t.w+4):null,r=i0?n.data.slice(a-4,a):null,c=e0&&r&&r[3]>0&&s&&s[3]>0&&c&&c[3]>0}),Object(l.a)(this,"getImagePix",function(){var e=t.canvas.getContext("2d");e.clearRect(0,0,t.w,t.h),e.drawImage(t.newImg,0,0,t.w,t.h);for(var i=e.getImageData(0,0,t.w,t.h),n=i.data,a=[],o=0;o=0;c--)if(r(e,c)){s=!0;break}for(var l=!1,d=t+1;d=0;u--)if(r(u,t)){p=!0;break}for(var m=!1,f=e+1;f=129&&e<=135:t="M";break;case e>135:t="L"}return t}i.d(t,"a",function(){return n})},BsKj:function(e,t,i){"use strict";var n=i("hfKm"),a=i.n(n),o=i("2Eek"),r=i.n(o),s=i("XoMD"),c=i.n(s),l=i("Jo+v"),d=i.n(l),p=i("4mXO"),u=i.n(p),m=i("pLtp"),f=i.n(m),h=i("0iUn"),g=i("MI3g"),b=i("a7VT"),x=i("AT/M"),y=i("sLSF"),v=i("Tit0"),j=i("vYYK"),w=i("MX0m"),k=i.n(w),_=i("q1tI"),O=i.n(_),S=i("OqB+"),T=i("/MKj"),I=i("mSaO"),C=i("6jHN"),N=i("/oNl"),E=i("iyuF"),L=O.a.createElement;function M(e,t){var i=f()(e);if(u.a){var n=u()(e);t&&(n=n.filter(function(t){return d()(e,t).enumerable})),i.push.apply(i,n)}return i}function P(e){for(var t=1;tdiv{width:25px !important;height:25px !important;}",".pc_radio>div .iconfont{font-size:18px !important;}",".pc_radio p{font-size:18px !important;}"]),L("div",{className:"jsx-1781211166"},L("form",{onSubmit:i,className:"jsx-1781211166"},[4,2,3,5,1,9,7,6].map(function(e,i){var o=e;return L("p",{key:i,className:"jsx-1781211166 getCodeForm-item update_item_pc"},L(N.m,{type:1,className:"pc_radio",id:o,onChange:function(e){var i=t["subscription"+o];n("subscription"+o,i?"":e)},title:a("account:Newsletters.sel"+o),checked:!!t["subscription"+o]}))}),L("div",{style:{textAlign:"center"},className:"jsx-1781211166"},L("button",{style:{padding:"10px 15px",backgroundColor:"#26ABFF",border:"0",color:"white",fontSize:"14px",fontWeight:"300",cursor:"pointer"},type:"submit",className:"jsx-1781211166"},this.props.t("common:btn.upDate"))))))}}]),t}(_.Component),R=Object(S.a)({mapPropsToValues:function(e){return P({},{subscription4:"4",subscription2:"2",subscription3:"3",subscription5:"5",subscription1:"1"},{},{error:""})},validate:function(e,t){return{}},handleSubmit:function(e,t){var i=t.props,n=(t.setSubmitting,t.setErrors,[]);for(var a in e)e[a]&&n.push(e[a]);i.updateSub(n),i.onClose()}})(A);t.a=Object(T.b)(function(e){return{result:e.newsletters.result}},{updateSub:C.b})(Object(E.a)(["account"])(R))},C62B:function(e,t,i){"use strict";i("SoD3");var n,a=i("9xET"),o=i.n(a),r=(i("YKpo"),i("ZPTe")),s=i.n(r),c=i("0iUn"),l=i("sLSF"),d=i("MI3g"),p=i("a7VT"),u=i("Tit0"),m=i("q1tI"),f=i.n(m),h=i("M1o9"),g=i("HMs9"),b=i("9Ea1"),x=i("/MKj"),y=f.a.createElement,v=Object(g.lazyload)({height:200,once:!0,offset:100})(n=function(e){function t(e){var i;Object(c.a)(this,t),i=Object(d.a)(this,Object(p.a)(t).call(this,e));var n=[{pic:"https://df5apg8r0m634.cloudfront.net/images/2019/0301/0zR6jjbgAv.jpg",video_src:"https://www.youtube.com/embed/XcWkZCLVutI",intro:"intro1",find:"find1"},{pic:"https://df5apg8r0m634.cloudfront.net/images/2019/0520/OK12JYMy5a.jpg",video_src:"https://www.youtube.com/embed/KpcN94kf5j0",intro:"intro2"},{pic:"https://df5apg8r0m634.cloudfront.net/images/2019/0301/LXIbnOXcM7.jpg",video_src:"https://www.youtube.com/embed/KoCtxVlxD4w",intro:"intro3"},{pic:"https://df5apg8r0m634.cloudfront.net/images/16ad0c26d1fcdbc3a3e0bbc029c70df6.png",video_src:"https://www.youtube.com/embed/YOnp3fN1-v0",intro:"intro4"}],a=Object(b.getSite)(i.props.domain);return"uk"===a&&(n[0].find=""),i.state={videos:"us"===a?[{pic:"https://df5apg8r0m634.cloudfront.net/images/2019/0301/0zR6jjbgAv.jpg",video_src:"https://www.youtube.com/embed/XcWkZCLVutI",intro:"intro1",find:"find1"},{pic:"https://df5apg8r0m634.cloudfront.net/images/2021/0623/06df535725b0939c0451c3616a0516d7.jpg",video_src:"https://www.youtube.com/embed/n5UQdbjmI6E",intro:"intro2"},{pic:"https://df5apg8r0m634.cloudfront.net/images/2021/0623/af3306bdb3bfb36e15f8a6fdf7bd65a1.jpg",video_src:"https://www.youtube.com/embed/TYgDpgvju9w",intro:"intro3"},{pic:"https://df5apg8r0m634.cloudfront.net/images/16ad0c26d1fcdbc3a3e0bbc029c70df6.png",video_src:"https://www.youtube.com/embed/YOnp3fN1-v0",intro:"intro4"}]:n},i}return Object(u.a)(t,e),Object(l.a)(t,[{key:"render",value:function(){var e=this.props.t;return y("div",{className:"pc-video-guide-container firmoo-container-main"},y(o.a,{gutter:20},this.state.videos.map(function(t,i){return y(s.a,{key:t.pic.toString(),span:6},y(h.a,{index:i,data:t,t:e}))})))}}]),t}(f.a.Component))||n;t.a=Object(x.b)(function(e){return{domain:e.common.domain}})(v)},CNn7:function(e,t,i){"use strict";i.d(t,"g",function(){return o}),i.d(t,"a",function(){return r}),i.d(t,"b",function(){return s}),i.d(t,"c",function(){return c}),i.d(t,"f",function(){return l}),i.d(t,"d",function(){return d}),i.d(t,"h",function(){return p}),i.d(t,"e",function(){return u});var n=i("cv0A"),a=i("ENPb");function o(e,t,i,o){return{types:a.V,promise:Object(n.p)(e,t,i,o)}}function r(e,t){return{type:a.V.ACTIVECOLOR,colorId:e,stadus:t}}function s(e){return{type:a.V.FAVORITE,colorId:e}}function c(e){return{type:a.V.CHANGE_FOLLOW,colorId:e}}function l(e){return{type:a.V.CHANGE_MARKET,colorId:e}}function d(e){return{type:a.V.CHANGE_STATUS,colorId:e}}function p(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return{type:a.V.SET_PACKGEID,id:e,isPc:t}}function u(e){return{type:a.V.CHANGE_TAB_KEY,tabKey:e}}},CeTK:function(e,t,i){"use strict";var n=i("q1tI"),a=i.n(n),o=i("/MKj"),r=i("z+59"),s=a.a.createElement;t.a=Object(o.b)(function(e){return{frameInfo:e.findMyFit.frameInfo}},{})(function(e){var t=e.frameInfo,i=e.lensWidth,n=e.bridgeWidth,a=e.t,o=e.h5MarginLeft,c=void 0===o?"0px":o,l=e.pcMarginLeft,d=void 0===l?"0px":l,p=e.h5MarginRight,u=void 0===p?"0px":p,m=e.pcMarginRight,f=void 0===m?"0":m;if(!t.length)return null;var h=2*i+n,g=2*t[0]+t[1]-3,b=2*t[0]+t[1]+3;return hb?null:s(r.a,{background:"rgba(71, 148, 80, 0.65)",h5MarginLeft:c,pcMarginLeft:d,h5MarginRight:u,pcMarginRight:f},a("common:FindMyFit.MyFit"))})},ChnY:function(e,t,i){"use strict";var n=i("hfKm"),a=i.n(n),o=i("2Eek"),r=i.n(o),s=i("XoMD"),c=i.n(s),l=i("Jo+v"),d=i.n(l),p=i("4mXO"),u=i.n(p),m=i("pLtp"),f=i.n(m),h=i("0iUn"),g=i("sLSF"),b=i("MI3g"),x=i("a7VT"),y=i("AT/M"),v=i("Tit0"),j=i("vYYK"),w=i("q1tI"),k=i.n(w),_=i("/oNl"),O=i("KDCo"),S=i("kodF"),T=i("exyg"),I=i("GBVL"),C=i("bv8N"),N=i("Q5Yz"),E=i("mSaO"),L=i("cRjh"),M=i("iyuF"),P=i("15dD"),A=k.a.createElement;function R(e,t){var i=f()(e);if(u.a){var n=u()(e);t&&(n=n.filter(function(t){return d()(e,t).enumerable})),i.push.apply(i,n)}return i}function F(e){for(var t=1;t0})}));case 11:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}()},DHYM:function(e,t,i){"use strict";var n,a=i("MX0m"),o=i.n(a),r=i("q1tI"),s=i.n(r),c=i("0iUn"),l=i("sLSF"),d=i("MI3g"),p=i("a7VT"),u=i("AT/M"),m=i("Tit0"),f=i("vYYK"),h=i("/MKj"),g=s.a.createElement,b=function(e){function t(){return Object(c.a)(this,t),Object(d.a)(this,Object(p.a)(t).apply(this,arguments))}return Object(m.a)(t,e),Object(l.a)(t,[{key:"render",value:function(){return g("div",{style:{display:"inline-block"},className:"jsx-670246509"},g(o.a,{id:"670246509"},["button.jsx-670246509{-webkit-text-decoration:none;text-decoration:none;outline:none;background:none;border:none;color:#26abff;height:20px;vertical-align:middle;}","button.jsx-670246509:focus{-webkit-transform:rotate(360deg);-ms-transform:rotate(360deg);transform:rotate(360deg);-webkit-transition:all 1s linear;transition:all 1s linear;}"]),g("button",{className:"jsx-670246509"},g("svg",{t:"1572937257998",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4151",width:"16",height:"16",className:"jsx-670246509"},g("path",{d:"M513.34 831.74C337.03 831.74 193.6 688.31 193.6 512c0-71.09 23.31-138.85 65.53-194.03v51.61c0 17.67 14.33 32 32 32s32-14.33 32-32V239.45c0-5.87-1.59-11.36-4.34-16.09-0.06-0.1-0.11-0.2-0.17-0.3-0.16-0.28-0.34-0.55-0.51-0.82-0.13-0.2-0.26-0.41-0.39-0.61-0.08-0.13-0.17-0.25-0.26-0.37a35.5 35.5 0 0 0-1.58-2.13c-6.81-8.35-16.96-12.35-26.95-11.69h-130c-17.67 0-32 14.33-32 32s14.33 32 32 32h55.35C159.8 339 129.6 423.35 129.6 512c0 51.79 10.15 102.05 30.17 149.38 19.33 45.7 46.99 86.74 82.23 121.97 35.23 35.23 76.27 62.9 121.97 82.23 47.33 20.02 97.59 30.17 149.38 30.17 17.67 0 32-14.33 32-32s-14.34-32.01-32.01-32.01zM855.38 762.3h-51.23c19.81-23 36.93-48.3 50.75-75.22 27.6-53.74 42.18-114.28 42.18-175.08 0-51.79-10.15-102.05-30.17-149.38-19.33-45.7-46.99-86.73-82.23-121.97-35.23-35.23-76.27-62.9-121.97-82.23-47.33-20.02-97.59-30.17-149.38-30.17-17.67 0-32 14.33-32 32s14.33 32 32 32c176.31 0 319.74 143.44 319.74 319.74 0 78.31-27.68 151.61-77.6 209.05l0.24-56.04c0.08-17.67-14.19-32.06-31.86-32.14h-0.14c-17.61 0-31.92 14.24-32 31.86l-0.55 129.43a31.988 31.988 0 0 0 9.32 22.71 31.68 31.68 0 0 0 5.33 4.3c0.02 0.01 0.04 0.02 0.06 0.04 0.48 0.31 0.97 0.61 1.47 0.89l0.15 0.09c0.5 0.28 1 0.54 1.51 0.8 0.03 0.01 0.05 0.03 0.08 0.04 1.64 0.8 3.34 1.46 5.1 1.98 0.01 0 0.02 0.01 0.03 0.01 0.55 0.16 1.1 0.3 1.66 0.43 0.07 0.02 0.15 0.03 0.22 0.05 0.5 0.11 1 0.21 1.5 0.3 0.1 0.02 0.2 0.04 0.3 0.05 0.48 0.08 0.96 0.15 1.44 0.21 0.11 0.01 0.23 0.03 0.34 0.04 0.48 0.05 0.95 0.09 1.43 0.12l0.34 0.03c0.53 0.03 1.07 0.04 1.61 0.05h132.31c17.67 0 32-14.33 32-32s-14.31-31.99-31.98-31.99z","p-id":"4152",fill:"#26ABFF",className:"jsx-670246509"}))))}}]),t}(s.a.Component),x=i("Wa2I"),y=i.n(x),v=i("JZR5"),j=i("JtLL"),w=i("KDCo"),k=i("EsV+"),_=i("PzMG"),O=i("HMqV"),S=i("9nMr"),T=i("wdNe"),I=s.a.createElement,C=function(e){function t(e){var i;return Object(c.a)(this,t),i=Object(d.a)(this,Object(p.a)(t).call(this,e)),Object(f.a)(Object(u.a)(i),"dateForm",function(e){var t=Object(w.Bb)(e);return t=t.month+" "+t.day+" , "+t.year}),Object(f.a)(Object(u.a)(i),"srcFormate",function(e){var t=e&&e.substring(0,4);return"http"!=t?"https://df5apg8r0m634.cloudfront.net/"+e:"http"==t?e:void 0}),Object(f.a)(Object(u.a)(i),"modalContent",function(){var e=i.props.data[i.state.index]?i.props.data[i.state.index]:{},t=e.reviews_photo,n=(e.webp_url,e.product_image),a=e.products_id,r=e.products_model,s=e.products_name_attribute,c=e.reviews_rating,l=e.reviews_text,d=e.customers_name,p=e.date_added,u=e.master_categories_id;return I("div",null," ",i.props.data.length>0&&I("div",{className:"jsx-3483068578 content-container"},I(o.a,{id:"3483068578"},[".modal-button.jsx-3483068578:hover{background-color:transparent;color:black;}",".modal-button.jsx-3483068578{background-color:black;display:inline-block;padding:5px 10px;text-align:center;border:1px solid black;line-height:22px;color:white;}",".active.jsx-3483068578{display:block;}",".inactive.jsx-3483068578{display:none !important;}",".custom-modal.jsx-3483068578{width:800px;position:relative;}"]),I("div",{style:{display:"flex",alignItems:"center",paddingBottom:"20px"},className:"jsx-3483068578"},I(k.c,{href:{pathname:"/pc/customershow",query:{column1:"Shape",type:0,limit:30,page:1}}},I("a",{style:{color:"#26ABFF"},className:"jsx-3483068578"}," ",I("div",{style:{display:"flex",alignItems:"center"},className:"jsx-3483068578"},I("svg",{t:"1572937922349",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"6957",width:"16",height:"16",className:"jsx-3483068578"},I("path",{d:"M475.428571 585.142857v219.428572c0 40.009143-33.133714 73.142857-73.142857 73.142857H109.714286c-40.009143 0-73.142857-33.133714-73.142857-73.142857v-219.428572c0-40.009143 33.133714-73.142857 73.142857-73.142857h292.571428c40.009143 0 73.142857 33.133714 73.142857 73.142857z m0-438.857143v219.428572c0 40.009143-33.133714 73.142857-73.142857 73.142857H109.714286c-40.009143 0-73.142857-33.133714-73.142857-73.142857V146.285714c0-40.009143 33.133714-73.142857 73.142857-73.142857h292.571428c40.009143 0 73.142857 33.133714 73.142857 73.142857z m512 438.857143v219.428572c0 40.009143-33.133714 73.142857-73.142857 73.142857h-292.571428c-40.009143 0-73.142857-33.133714-73.142857-73.142857v-219.428572c0-40.009143 33.133714-73.142857 73.142857-73.142857h292.571428c40.009143 0 73.142857 33.133714 73.142857 73.142857z m0-438.857143v219.428572c0 40.009143-33.133714 73.142857-73.142857 73.142857h-292.571428c-40.009143 0-73.142857-33.133714-73.142857-73.142857V146.285714c0-40.009143 33.133714-73.142857 73.142857-73.142857h292.571428c40.009143 0 73.142857 33.133714 73.142857 73.142857z",fill:"#26ABFF","p-id":"6958",className:"jsx-3483068578"})),I("span",{style:{marginLeft:"5px"},className:"jsx-3483068578"},i.t("common:View_More"))))),I("span",{onClick:function(e){i.state.index>=1&&i.setState({index:i.state.index-1,colorright:""})},style:{display:"inline-block",paddingLeft:"30px",paddingRight:"20px"},className:"jsx-3483068578"},I(S.a,{icon:"icon-arrow-left",style:{fontSize:"16px",fontWeight:"bold",color:i.state.index>=1?"#333":"#b8b8b8"}})),I("span",{onClick:function(e){i.state.index<8&&i.setState({index:i.state.index+1,colorleft:""})},className:"jsx-3483068578"},I(S.a,{icon:"icon-arrow-right",style:{fontSize:"16px",fontWeight:"bold",color:i.state.index<8?"#333":"#b8b8b8"}}))),I("div",{style:{width:"768px",maxWidth:"100%",margin:"0 auto",display:"flex",justifyContent:"space-between",felxWrap:"nowrap"},className:"jsx-3483068578 content-container"},I("div",{style:{width:"60%",padding:"0 10px"},className:"jsx-3483068578"},I(O.a,{sourceArr:[{src:i.srcFormate(Object(T.a)(t)),type:"image/webp"}],defalutImg:i.srcFormate(t)})),I("div",{style:{width:"100%",padding:"0 10px"},className:"jsx-3483068578"},I("p",{style:{textAlign:"center",width:"220px",margin:"0 auto"},className:"jsx-3483068578"},I(O.a,{sourceArr:[{src:Object(T.a)(Object(w.Q)(a,"small",1,n)),type:"image/webp"}],defalutImg:Object(w.Q)(a,"small",1,n)})),I("p",{style:{textAlign:"center"},className:"jsx-3483068578"},I(k.c,{href:"/pc/productDetail/"+a+"?master_categories_id="+u},I("a",{className:"jsx-3483068578"},s||r))),I("hr",{style:{margin:"10px 0 20px 0"},className:"jsx-3483068578"}),I("p",{style:{color:"rgb(51, 51, 51)",display:"flex",alignItems:"center",flexWrap:"nowrap"},className:"jsx-3483068578"},"".concat(i.t("common:Rating"),":")," ",I(_.a,{star:y()(c),size:"22px"})),I("p",{style:{color:"rgb(51, 51, 51)"},className:"jsx-3483068578"},l),I("p",{style:{color:"rgb(153, 153, 153)"},className:"jsx-3483068578"},"by ".concat(d," on ").concat(i.dateForm(p))," "),I("p",{className:"jsx-3483068578"},I(k.c,{href:"/pc/productDetail/"+a+"?master_categories_id="+u},I("a",{className:"jsx-3483068578"}," ",I("span",{className:"jsx-3483068578 modal-button"},i.t("common:SHOP_THIS_LOOK"))," ")))))))}),i.state={modalContent:"",index:0,isShow:!1,colorleft:"",colorright:""},i.t=i.props.t,i}return Object(m.a)(t,e),Object(l.a)(t,[{key:"getId",value:function(e){this.setState({isShow:!0}),this.setState({index:e})}},{key:"render",value:function(){var e=this,t=this.props.data[0],i=t.reviews_photo,n=t.products_id,a=t.webp_url,r=this.props.t;return this.props.data.length>0&&I("div",{className:"jsx-2608903044 "+"custom-list-container ".concat(1===this.props.num?"active":"inactive")},I(o.a,{id:"2608903044"},[".custom-list-container.jsx-2608903044{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;}","@media (max-width:1024px){.custom-list-container.jsx-2608903044{padding:0 20px;}}",".list-left.jsx-2608903044{width:4rem;height:4rem;}",".list-right.jsx-2608903044{width:8.3rem;height:4rem;}",".list-left.jsx-2608903044{overflow:hidden;}",".list-left.jsx-2608903044 div.jsx-2608903044 img.jsx-2608903044{width:100%;}",".list-right.jsx-2608903044{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-align-content:space-between;-ms-flex-line-pack:space-between;align-content:space-between;}",".list-right.jsx-2608903044>div.jsx-2608903044{width:23.12%;height:47.6%;overflow:hidden;}",".list-right.jsx-2608903044 div.jsx-2608903044 img.jsx-2608903044{width:100%;}","@media (max-width:1024px){.list-left.jsx-2608903044{width:4rem;height:3.8rem;}.list-right.jsx-2608903044{width:7.8rem;height:3.8rem;}}","@media (max-width:1023px){.list-left.jsx-2608903044{width:4.6rem;height:4.6rem;}.list-right.jsx-2608903044{width:9.4rem;height:4.6rem;}}","@media (min-width:1200px){.list-left.jsx-2608903044{width:386px;height:386px;}.list-right.jsx-2608903044{width:796px;height:386px;}}"]),I("div",{className:"jsx-2608903044 list-left"},I(v.a,{src:i,webp_url:a||"",link:"".concat(n),getId:function(t){return e.getId(0)},t:r})),I("div",{className:"jsx-2608903044 list-right"},this.props.data.slice(1,this.props.data.length).map(function(t,i){return I("div",{key:i,className:"jsx-2608903044"},I(v.a,{src:t.reviews_photo,webp_url:a||"",link:"".concat(t.products_id),getId:function(t){return e.getId(i+1)},t:r}))})),I(j.a,{title:"",show:this.state.isShow,dialogClassName:"custom-modal",closeModal:function(t){return e.setState({isShow:!1})},content:this.modalContent()}))}}]),t}(s.a.Component),N=s.a.createElement,E=function(e){function t(){return Object(c.a)(this,t),Object(d.a)(this,Object(p.a)(t).apply(this,arguments))}return Object(m.a)(t,e),Object(l.a)(t,[{key:"render",value:function(){var e=this;return N("div",{style:{display:"flex",justifyContent:"space-around"},className:"jsx-871679386 "+"".concat(2===this.props.num?"active":"inactive"," firmoo-container-main")},N(o.a,{id:"871679386"},[".bottom-font.jsx-871679386{font-size:14px;width:100%;}"]),this.props.videoNs.map(function(t,i){return N("div",{style:{width:"585px",padding:"0 15px"},key:i,className:"jsx-871679386"},N("div",{className:"jsx-871679386"},N("p",{className:"jsx-871679386"},N("iframe",{style:{maxWidth:"100%",width:"100%",height:"315px",border:"none"},src:"https://www.youtube.com/embed/"+e.props.data2.video[t].url,allow:"autoplay; encrypted-media",className:"jsx-871679386"})),N("p",{style:{overflow:"hidden",minHeight:"110px",lineHeight:"22px"},className:"jsx-871679386 bottom-font"},e.props.data2.video[t].introduction),N("p",{className:"jsx-871679386 bottom-font"},N("span",{style:{textAlign:"right",color:"#999"},className:"jsx-871679386"},"Frame:"," "),N(k.c,{href:"/pc/productDetail/".concat(e.props.data2.video[t].products_id,"?main_page=product_info&products_id=5446")},N("a",{target:"_blank",className:"jsx-871679386"},e.props.data2.video[t].products_model)),N("span",{style:{textAlign:"left",float:"right",color:"#999"},className:"jsx-871679386"},e.props.data2.video[t].name))))}))}}]),t}(s.a.Component),L=s.a.createElement,M=function(e){function t(){return Object(c.a)(this,t),Object(d.a)(this,Object(p.a)(t).apply(this,arguments))}return Object(m.a)(t,e),Object(l.a)(t,[{key:"render",value:function(){var e=this.props.data3;return L("div",{style:{padding:"0 15px"},className:"jsx-1561864975 "+"".concat(3===this.props.num?"active":"inactive"," firmoo-container-main")},L(o.a,{id:"1561864975"},[".voice.jsx-1561864975{width:100%;border:1px solid rgb(170,170,170);border-radius:10px;padding:15px 20px;margin-bottom:15px;font-size:14px;}",".voice-img.jsx-1561864975{float:left;width:25%;over-flow:hidden;display:inline-block;text-align:left;}",".voice-img.jsx-1561864975 img.jsx-1561864975{width:100%;}",".voice-intro.jsx-1561864975{float:left;width:75%;display:inline-block;}"]),this.props.voiceNs.map(function(t,i){return L("div",{key:i,className:"jsx-1561864975 voice"},L("div",{className:"jsx-1561864975 voice-img"},L(k.c,{href:"/pc/productDetail/".concat(e.Voices[t].products_id,"?main_page=product_info&products_id=2828&utm_source=homesite&utm_medium=bottompart&utm_campaign=customershowpage01")},L("a",{className:"jsx-1561864975"},L(O.a,{sourceArr:[{src:Object(T.a)(e.Voices[t].url),type:"image/webp",media:""}],defalutImg:e.Voices[t].url})))),L("div",{className:"jsx-1561864975 voice-intro"},L("div",{dangerouslySetInnerHTML:{__html:e.Voices[t].introduction},className:"jsx-1561864975"}),L("div",{style:{display:"flex",justifyContent:"space-between"},className:"jsx-1561864975"},L("a",{className:"jsx-1561864975 mores"}),L("i",{className:"jsx-1561864975"},e.Voices[t].name))),L("div",{style:{clear:"both"},className:"jsx-1561864975"}))}))}}]),t}(s.a.Component),P=s.a.createElement,A=function(e){function t(e){var i;return Object(c.a)(this,t),(i=Object(d.a)(this,Object(p.a)(t).call(this,e))).state={},i}return Object(m.a)(t,e),Object(l.a)(t,[{key:"render",value:function(){return P("div",null,this.props.data.length>0&&1==this.props.isShow&&P(C,{num:this.props.isShow,data:this.props.data,t:this.props.t}),2==this.props.isShow&&P(E,{num:this.props.isShow,data2:this.props.data2,videoNs:this.props.videoNs}),3==this.props.isShow&&P(M,{num:this.props.isShow,data3:this.props.data2,voiceNs:this.props.voiceNs}))}}]),t}(s.a.Component),R=i("kodF"),F=i("pQ95"),D=i("HMs9"),z=i("KviV"),B=i("9Ea1"),U=s.a.createElement,G=Object(D.lazyload)({height:200,once:!0,offset:100})(n=function(e){function t(e){var i;return Object(c.a)(this,t),i=Object(d.a)(this,Object(p.a)(t).call(this,e)),Object(f.a)(Object(u.a)(i),"handleClick",function(e){i.setState({show:e})}),Object(f.a)(Object(u.a)(i),"viewMore",function(e){switch(e){case 1:R.a.push({pathname:"/pc/customershow",query:{column1:"Shape",type:0,limit:30,page:1}},{pathname:"/z/customershowpage.html"}).then(function(e){return window.scrollTo(0,0)});break;case 2:R.a.push({pathname:"/pc/customershow",query:{column1:"Feedback",type:1,limit:30,page:1}},{pathname:"/z/customershowpage.html"}).then(function(e){return window.scrollTo(0,0)});break;case 3:R.a.push({pathname:"/pc/customershow",query:{column1:"Feedback",type:0,limit:30,page:1}},{pathname:"/z/customershowpage.html"}).then(function(e){return window.scrollTo(0,0)})}}),Object(f.a)(Object(u.a)(i),"trade",function(e){switch(e){case 1:if(i.props.isLoading)return;i.setState({loading:!0}),i.props.customerShow1(9).then(function(){i.setState({loading:!1})}).catch(function(e){i.setState({loading:!1})});break;case 2:i.setState({videoNs:i.mathFloor(0,4,2)});break;case 3:i.setState({VoicesNs:i.mathFloor(0,4,2)})}}),i.state={loading:!0,show:1,value:[1,2,3],data:[{products_id:1004,reviews_photo:"images/users/2018/0313/small-yWaplU16OI.png",product_image:"Stripe in black and burgundy.jpg",products_model:"YGXR2814",reviews_text:"Super adorable, got them in the free for new customer deal! I'm addicted to buying glasses online, and these came so quickly! I ordered them a week ago tomorrow!",customers_name:"xiaoer xiao",date_added:"Mar 13 2018"},{products_id:1001,reviews_photo:"images/users/2018/0313/small-ii8Q2hl5hq.png",product_image:"6aw127np.jpg",products_model:"MYD6856",reviews_text:"Super adorable, got them in the free for new customer deal! I'm addicted to buying glasses online, and these came so quickly! I ordered them a week ago tomorrow!",customers_name:"xiaoer xiao",date_added:"Mar 13 2018"},{products_id:1004,reviews_photo:"images/users/2018/0313/small-pk4Y05MRGB.png",product_image:"Stripe in black and burgundy.jpg",products_model:"YGXR2814",reviews_text:"Super adorable, got them in the free for new customer deal! I'm addicted to buying glasses online, and these came so quickly! I ordered them a week ago tomorrow!",customers_name:"xiaoer xiao",date_added:"Mar 13 2018"},{products_id:1003,reviews_photo:"images/users/2018/0313/small-jFV7YNB1mP.png",product_image:"Stripe in black and transparent.jpg",products_model:"YGXR2834",reviews_text:"123",customers_name:"xiaoer xiao",date_added:"Mar 13 2018"},{products_id:1004,reviews_photo:"images/users/2018/0313/small-yWaplU16OI.png",product_image:"Stripe in black and burgundy.jpg",products_model:"YGXR2814",reviews_text:"Super adorable, got them in the free for new customer deal! I'm addicted to buying glasses online, and these came so quickly! I ordered them a week ago tomorrow!",customers_name:"xiaoer xiao",date_added:"Mar 13 2018"},{products_id:1001,reviews_photo:"images/users/2018/0313/small-ii8Q2hl5hq.png",product_image:"6aw127np.jpg",products_model:"MYD6856",reviews_text:"Super adorable, got them in the free for new customer deal! I'm addicted to buying glasses online, and these came so quickly! I ordered them a week ago tomorrow!",customers_name:"xiaoer xiao",date_added:"Mar 13 2018"},{products_id:1004,reviews_photo:"images/users/2018/0313/small-pk4Y05MRGB.png",product_image:"Stripe in black and burgundy.jpg",products_model:"YGXR2814",reviews_text:"Super adorable, got them in the free for new customer deal! I'm addicted to buying glasses online, and these came so quickly! I ordered them a week ago tomorrow!",customers_name:"xiaoer xiao",date_added:"Mar 13 2018"},{products_id:1003,reviews_photo:"images/users/2018/0313/small-jFV7YNB1mP.png",product_image:"Stripe in black and transparent.jpg",products_model:"YGXR2834",reviews_text:"123",customers_name:"xiaoer xiao",date_added:"Mar 13 2018"},{products_id:1003,reviews_photo:"images/users/2018/0313/small-jFV7YNB1mP.png",product_image:"Stripe in black and transparent.jpg",products_model:"YGXR2834",reviews_text:"123",customers_name:"xiaoer xiao",date_added:"Mar 13 2018"}],videoNs:i.mathFloor(0,3,2),VoicesNs:i.mathFloor(0,15,2),data2:{imgHeight:"3.5rem",videoHeight:"2rem",type:0,video:[{id:"1",introduction:"I quit my job, so I wasn't gonna have insurance anymore,I wanted to go get a cute new glasses. I wanted to save money I could have literally just like got some online actually new ones that are super cute and I would had like three hundred dollars in my pocket still.",name:"@ Heflin Estelle",products_id:"5446",products_model:"S11050X",url:"IE-9EzNLiFo"},{id:"2",introduction:"The problem with me is when it comes to frames but I never find a pair that I fall in love with. So I came across Fimoo on instagram, checked their post, nice! Cheked our their website, nice! Specially those prices, nice! Very happy experience.",name:"@ STRUGGAIL ",products_id:"4309",products_model:"LKFS9913",url:"bwXamMW7Mcg"},{id:"3",introduction:"I've got glasses from different firms and I would like to compare those ones that I got online. I will share my first shopping glasses online experience honestly.",name:"@ JessIsAMess ",products_id:"4612",products_model:"S6305",url:"DCvf53ZmIiI"}],Voices:[{W:!1,introduction:"This was my first time buying glasses online and only my second time in my life buying glasses! I was very nervous as I have tried on several glasses in stores and couldn't find anything I liked! I ordered 2 pairs of glasses, one being sunglasses. I did not realize that they were clip on sunglasses until they came today so now I have 2 pairs of regular glasses and sunglasses! Super Happy about that! I love them and the price is just unbelievable! both pairs for $62! I will be buying again from here and referring people I know! The are super fast to get also. Took 7 business days from ordering to putting them on my head! I have so much self confidence today and I can't stop taking selfies haha and I am not much of a selfie taker!",name:"Tracy Fewer",products_id:"4606",url:"https://df5apg8r0m634.cloudfront.net/p/4606/1-3eyHQAuLXn.jpg"},{W:!1,introduction:"This is my first time ordering glasses online and it was a little rocky, since I picked out the wrong glasses for my PD. I contacted customer service and they helped switch my order, to the other pairs that I picked out for their BOGO sale, that day! They responded to my emails fairly quickly and I LOVE both my glasses. It took a little getting used to (as it does with new glasses of a stronger prescription, it's been a few years since my last new pair). Overall, I've had a great experience with Firmoo.",name:"Denise Nguyen",products_id:"5521",url:"https://df5apg8r0m634.cloudfront.net/p/5512/1-WXycb07zsL.jpg"},{W:!1,introduction:"Got a coupon code for half off a pair of glasses, having ordered a couple pairs off another site i didn't expect much. Every pair from said site had broken or had lens problems hence why i needed a new pair so bad. The total with shipping with 10 dollars. Waited only a week for shipping, upon opening i thought it was so flimsy looking. But i got a repair kit a soft case and a hard case along with a cleaning cloth. I've worn this pair for about 3 weeks, no problems, and thwy are not even flimsy. These are the cutest glasses i own and i have almost a glasses graveyard in my dresser. I highly recommend and will definitely order again. My only complaint is lack of variety but you'll definitely find something no matter what.",name:"Emily Sanchez",products_id:"4657",url:"https://df5apg8r0m634.cloudfront.net/p/4657/1-kUzw4xAuoS.jpg"},{W:!1,introduction:"I was skeptical about ordering online because it was my first time and I have a very high prescription, but needless to say the prescription is on point they came packaged very nicely in a eye glasses case with a cleaning cloth plus a little bag with extra screws and a gadget for tightening the screws I have a rounder/wider face so I love how these frames look on me, I would really recommend this frame style if you are into big lenses! They are very comfy and light weight! Also very good quality for the price!! They have so many colors/ styles to choose from they also have a photo uploader so you can try on the glasses! Costumer service was very efficient I ordered these 2/28/18 and I received them 3/8/18 I would highly recommend firmoo.",name:"Madison Lee Rautiola",products_id:"4606",url:"https://df5apg8r0m634.cloudfront.net/p/4606/1-3eyHQAuLXn.jpg"},{W:!1,introduction:"I have never ordered prescription glasses online before but I was so smitten with this frame that I just had to get them. The positive reviews helped me in making my decision. This frame looks real good on me and I am super satisfied and happy with the quality of service, delivery and the product itself. The prescription is perfect and I've had no issues adjusting to this new pair at all. It was delivered to me on a Saturday which was a surprise to me as I never had online deliveries delivered on a weekend before. I also needed to add I am super impressed with the speed at which the order was processed and it was smooth sailing with no hiccups at all. Will definitely order more in the future! Thanks Firmoo!",name:"MissJoopsie",products_id:"5436",url:"https://df5apg8r0m634.cloudfront.net/p/5436/1-8Jo1sW2XBF.jpg"},{W:!1,introduction:"I got tired of the limited options available on sites based here in the UK. They never had what I wanted and often times the glasses were flimsy and low quality. 
I wanted big, oversized prescription glasses and typed that into Google and got a list of sites which claimed that they had those. 
They didn't. Then I got to the firmoo link. 
I was pleasantly surprised.I got excited. 
How could a site have so many different types of glasses available? Glasses which I liked! 
I easily started adding lots of different glasses into my basket but then remembered, I've never ordered from here before...
I had the typical questions; how safe is it? Would it come? If I have an issue how quickly could it be rectified? 
So I simply chose two using the BOGO code and waited. Honestly I thought there would be an issue somewhere. But there was NONE. I don't know exactly where it comes from but I know that using the site I used to which was based in the UK, I would expect to receive my glasses by the 12th day after ordering. 
With Firmoo, my glasses were delivered to my door within 6 days. How?? I ordered on a Friday and received the following Thursday.
Already, Firmoo had gone up to a great standard just by how quickly it came, now was the test of how good was the quality..
From the hardcase which I absolutely love, I knew I was in for a treat.. then I inspected the glasses and honestly, I've had a lot of glasses in my time, including designer frames.... The quality was amazing. The feel, the look, how true it was to the picture, the lenses, everything was amazing and it was durable.... I've had my glasses for a while to test them out and give an honest review and it is one of if not the best frames I've had. 
I won't be buying glasses from anywhere but Firmoo. 
My next order will be some prescription sunglasses along with some additional frames so I can change up my look as and when I please lol.
Oh, customer service is also amazing. Answered my questions within an hour and was very courteous and professional.
Thank you Firmoo.",name:"Deborah Stottle",products_id:"4788",url:"https://df5apg8r0m634.cloudfront.net/p/4788/1-iokq7AMUgE.jpg"},{W:!1,introduction:"My first experience with firmoo was a great one! The glasses came in pretty fast within a week. It was nicely packed and came with a case, wipe, and other gadgets for the glasses. The quality of the glasses is great and I wish I knew about this website sooner and wouldn't had paid 300$ for the pair that I have now that got scratched up easily. Also their customer service is excellent. I will definitely buy again. Thank you Firmoo.",name:"Meimi Vang",products_id:"4679",url:"https://df5apg8r0m634.cloudfront.net/p/4697/2-un8S2y5YvH.jpg"},{W:!1,introduction:"Extremely happy with Firmoo!!!
So, my contacts were taking a crap on me and since i just recently had my eyes checked for glasses I thought why not purchase some glasses. Money has been extremely tight, with 4 kids, you moms should know. When I do spend money on myself its for things that I need. I desperately needed to see so I googled cheap and fast glasses. Up popped Firmoo. I have never ordered glasses online before I have always went to Site For Sore Eyes. I really don't have the $100 plus that they charge for glasses. Since my budget was minimal I thought i'd check Firmoo out. I was skeptical at first when they says no more than $39. You know how companies say $39 and then they MAKE you add on the lenses and extras and comes out to almost an arm and a leg ? Firmoo is upfront. My glasses were actually cheaper than $39.00 with shipping added it was $39 and some change with lenses !!! NOT JUST THE FRAMES!. I tried the glasses I was interested in with my photo and I liked how they looked. I chose Standard Shipping.
Purchased my glasses February 9th and received them yesterday the 17th.
The package came with a hard case, lens wiper, a mini screwdriver keychain and some extra screws.
I CAN SEE CLEARLY NOW THANKS TO FIRMOO!
Over all I am very pleased with Firmoo that I wrote a review and I never write reviews... I will definately be spreading the word about them.",name:"Patricia Moreno Sunday",products_id:"2828",url:"https://df5apg8r0m634.cloudfront.net/p/2828/2-Bs1A4v2iDo.jpg"},{W:!1,introduction:"I work for myself, so value is essential. Very very pleased.
I work on my own, so I don't have a benefit plan that pays for glasses. While shopping around I discovered Firmoo. The deals looked too good to be true, so I ordered a very basic first pair of glasses. I wanted to test out their product without spending too much. I kind of expected to be disappointed. When it arrived a week later I was blown away by the quality, style and price. I paid 90% less than the last pair I had bought in a store. And the glasses came with a cool case and a screwdriver. For the second pair I decided to order fancy bi-focals so that I don't have to look over my glasses when trying to read small text. Again, I am blown away by the quality, style and price. This is great value for the money, and I don't even have to leave my house.",name:'Martin J. P. "Martyupnorth" B\xe9langer',products_id:"4309",url:"https://df5apg8r0m634.cloudfront.net/p/4309/1-84923YDO5S.jpg"},{W:!1,introduction:"Such a lovely company to deal with
I ordered my glasses from the UK about a week ago and they arrived VERY fast. Unfortunately I entered my prescription incorrectly and the glasses were no good to me. I emailed to ask if there was anything they could do as this my own error and they explained where I had entered my information incorrectly and showed how to amend this. I spoke with Sophie who was very sweet and she offered me a discount for the full amount excluding shipping so I could reorder my glasses at no cost. I can't believe how lovely this company are and how quickly my issue was resolved. It is so nice to see a company that truly wants to keep customers happy. I will certainly be purchasing more frames in the future!",name:"Demi-Channelle Smyth",products_id:"4429",url:"https://df5apg8r0m634.cloudfront.net/p/4429/1-LkWSfn3g4k.jpg"},{W:!1,introduction:"Great Customer Service and Good Quality Eyeglasses
I was a bit skeptical when shopping for eyeglasses online. I have very interesting vision that's why my eyeglasses in the States are always pricey. This is coming from a person that is near sighted in one eye and far sighted in the other eye.
Eyeglasses: Good quality for the price. I expected very cheap quality but they are very sturdy and well packaged by the Firmoo.
Process: Everything is self explanatory. Make sure you type in your prescription right and shipping address right before submitting your order.
Service: I have received 2 pairs of eyeglasses. However 1 pair had a frame defect which made it harder to adjust. I took pictures and sent it back to my sales rep. About 1-2 weeks later (depending on the manufacturer processing speed), my replacement pair came. They told me to keep the defected one as well.",name:"Brian J. Wong",products_id:"4248",url:"https://df5apg8r0m634.cloudfront.net/p/4248/1-CHcgyrQzHa.jpg"},{W:!1,introduction:"This is by far the most impressive ...
This is by far the most impressive customer service I have EVER received. I purchased my prescription glasses ALWAYS from the US, big box stores (Lenscrafters, Pearl Vision, etc.) and I've been nothing more than marginally satisfied with my purchases. In fact, as a tax-paying, consumer I've purchased many things and rarely have I ever taken something back. If it didn't meet my expectations, I most likely chalked it up to experience and never went back to that vendor for anything else.
I placed a review a week or so back explaining how satisfied I was with my first ever, online purchase of prescription glasses - with the only glitch that my lenses didn't transition, as they were a permanent tint. I've been satisfied with the quality of work and craftsmanship and pricing, just that I couldn't wear them inside and only outside. This was TOTALLY my fault being a 1st time customer and got confused with all of the super-cool options.
Well, a CSR from Firmoo, named \"Vizy\" contacted me via email and actually provided THE ABSOLUTE BEST customer service,. I have ever received I think in my entire adult life! :-) LoL. Firmoo is so 100% committed to each customer having nothing less than 100% satisfaction with their purchase, that Vizy went above and beyond what I had expected, and pleasantly surprised me with a partial refund.
Absolutely amazing!! I had been wearing the glasses for approximately 5 weeks now, and simply wrote a good review, because...well...Firmoo is a great company to work with, and now I will buy all of my future glasses from them. In fact, I have a 2nd pair (this time with transitional lenses, LoL) on the way now. I LOVE these folks and will tell everyone about them.",name:"Monterio Weaver",products_id:"4539",url:"https://df5apg8r0m634.cloudfront.net/p/4539/2-ntstETzI5x.jpg"},{W:!1,introduction:"I've been buying my glasses online for more than 10 years. Firmoo is the best I've ever ordered from - superior quality frames (both of my pairs are better than any I've ever gotten elsewhere online), prompt customer service, always have a sale or discount on top of their already reasonable prices.
They actually sent me the wrong color glasses by mistake. Same style, but wrong color. They admitted the error and fixed it by letting me keep the wrong color they sent (which I did like and do still wear, but would not have chosen them to actually buy) and gave me a Firmoo credit for the cost of the glasses BEFORE the discount code I used on the first purchase had been applied. So, like, I believe I paid $30ish, but the credit was for $55 and could not be combined with another coupon code. They really will own it and make things right if the error was theirs.
It was easy to find another pair I liked, as the color I had originally ordered had sold out by then. I would not have chosen the same style in a different color anyway - I prefer to have different \"looks\" to choose from-, but I guess that might not have been acceptable to somebody else. This was the solution we agreed to so I can't really say what else they would have offered if I hadn't been happy with that solution.
Shipping can take a while, but honestly, you are going to have that same 3-week wait with any other online eyewear company. But if that's the trade-off for getting ~85% off per pair of glasses (compared to my local brick and mortar stores), I have zero problem with that. These are good glasses with TONS of lens options available.",name:"Kristen Mitchell",products_id:"5148",url:"https://df5apg8r0m634.cloudfront.net/p/5148/1-XTqfkoEk9l.jpg"},{W:!1,introduction:"Its Cindy from BC Canada. I got my glasses today and I want to say that I am BEYOND pleased. My new specs are absolutely GORGEOUS!!! they suit me perfectly. I was afraid to buy prescription online glasses because I wasn't sure if the style was going to be good for me since I wasn't physically able to try on different styles and frames sizes but I must say that when I downloaded a picture of myself, and did try several styles wasn't too bad and went for something I never thought it would look so good on me. This is my first time I purchased rx glasses and I must say it won't be the last. I am a pleased costumer and will spread the word. The case my glasses came in is so beautiful plus the repair kit I got its so sweet.
THANK YOU SO MUCH!!!
This is my Christmas present for me and from me. The price is RIGHT! AND I will be placing another order in the near future. Too bad you guys don't do contact lenses if you did I would without a doubt to put an order.
If you know of a reputable place where I can purchase online contact lenses please let me know.
Thank you once again",name:"Cindy Valdez.",products_id:"5357",url:"https://df5apg8r0m634.cloudfront.net/p/5357/1-qOOzpAKRHy.jpg"},{W:!1,introduction:"I was a little hesitant ordering glasses on line; especially progressive lenses. I was surprised how easy it was and the virtual try on was so helpful. I received my glasses today; such fast delivery! I must say I am thrilled with my selection of frames and the quality is excellent. I couldn't have made a better selection at a regular optical store and I am sure it would have cost three times as much. I am thrilled with my glasses and will definitely buy again!",name:"Em Doubleyuh",products_id:"5226",url:"https://df5apg8r0m634.cloudfront.net/p/5226/1-DwNbulBqr1.jpg"}]}},i.t=i.props.t,i}return Object(m.a)(t,e),Object(l.a)(t,[{key:"MoreFold",value:function(e){var t="products_id"+e.products_id,i=!this.state[t];this.setState(Object(f.a)({},t,i))}},{key:"mathFloor",value:function(e,t,i){for(var n=[],a=0;adiv.jsx-2286076905{width:364px;padding:20px 50px;background:#fff;text-align:center;border-radius:5px;}",".tip-container.jsx-2286076905>div.jsx-2286076905 p.jsx-2286076905{margin-bottom:20px;}",".start-guide.jsx-2286076905{width:100%;height:100%;background:rgba(0,0,0,0.7);position:absolute;top:0;left:0;z-index:99;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;color:#fff;padding-top:200px;}",".start-guide.jsx-2286076905 p.jsx-2286076905{width:70%;text-align:center;line-height:20px;}"]),U("div",{className:"jsx-2286076905 alert-try-on-container"},U("iframe",{allow:"camera",scrolling:"NO",id:"myVTO",className:"jsx-2286076905"}),U(O.a,{init:this.jQueryLoad}),U(_.a,{init:this.tryLiveLoad})),U(x.f,{column:!0,style:{padding:"20px 0"}},U("p",{style:{textAlign:"center"},className:"jsx-2286076905"},"Try-on is only for style reference. Please check its product description for detailed sizes."),U("div",{onClick:function(){Object(C.q)("select lenses",{event_category:"try on",event_label:i.products_model})},style:{width:"220px",height:"42px",marginTop:"10px"},className:"jsx-2286076905"},U(D.a,{t:t,c:a,selecUsagetNotice:function(){}}))),U(R,{t:t,pageReady:this.state.isPageReady,setPd:this.setPd}),!this.state.isShowGuid&&U(B.a,{t:t,loadComplete:this.state.isPageReady}),this.state.is_show_tip&&U("div",{className:"jsx-2286076905 tip-container"},U("div",{className:"jsx-2286076905"},U("p",{className:"jsx-2286076905"},"Sorry, this color is currently unavailable for Camera Try-on, please try another one."),U(F.d,{onClick:this.closeShowTip,size:"md",type:"sub",title:"close"}))),this.state.isShowGuid&&U("div",{className:"jsx-2286076905 start-guide"},0===n.try_on?U("p",{className:"jsx-2286076905"},"Sorry, this color is currently unavailable for Camera Try-on, please try another color."):U(h.a.Fragment,null,U("p",{style:{fontSize:"18px",fontFamily:"Roboto-Medium"},className:"jsx-2286076905"},t("notice:tryOn3D.Tips")),U("p",{className:"jsx-2286076905"},"1. This function needs permission to use your camera."),U("p",{className:"jsx-2286076905"},"2. For PC users: Chrome, Firefox, Edge and Safari11 are all compatible."),U(F.d,{onClick:this.closeGuide,size:"md",title:"Try-on with my camera",style:{margin:"20px 0"}}),U(F.d,{onClick:this.props.goBack,size:"md",title:"Back to Image Try-on",type:"text",style:{background:"unset"}}))),this.state.is_error&&U("div",{className:"jsx-2286076905 start-guide"},U("p",{style:{fontSize:"16px",fontFamily:"Roboto-Medium"},className:"jsx-2286076905"},"Please check your camera or change browser."),U(F.d,{onClick:this.props.goBack,style:{width:"280px",background:"unset"},size:"md",title:"No camera? Click to image.",type:"text"})))}}]),t}(f.Component);Object(g.b)(function(e){return{tryOnProduct:e.productDetail.productDetail,colorList:e.productDetail.colorList,tryOnColor:e.productDetail.activeObj}},{})(Object(z.a)(G));var H=i("iyuF"),q=h.a.createElement,V=(p.a.TabPane,function(e){function t(){var e,i;Object(n.a)(this,t);for(var a=arguments.length,c=new Array(a),d=0;d0?b("iframe",{src:i,frameBorder:"0",style:{width:n?"64vw":"100vw",height:n?"40vw":"60vw"},onLoad:this.onLoad,allow:"autoplay; encrypted-media",allowFullScreen:"",className:p.a.dynamic([["2484169511",[n?"10%":"20%",n?"18%":"0"]]])}):b("div",{style:{width:n?"64vw":"100vw",height:n?"40vw":"60vw"},className:p.a.dynamic([["2484169511",[n?"10%":"20%",n?"18%":"0"]]])},b("video",{autoPlay:!0,playsInline:!0,muted:!0,loop:!0,onLoad:this.onLoad,style:{width:n?"64vw":"100vw",height:n?"40vw":"60vw"},onContextMenu:function(e){return e.preventDefault()},className:p.a.dynamic([["2484169511",[n?"10%":"20%",n?"18%":"0"]]])+" preview-video"},b("source",{src:i,className:p.a.dynamic([["2484169511",[n?"10%":"20%",n?"18%":"0"]]])})))))}}]),t}(m.a.Component);Object(l.a)(x,"PropTypes",{close:h.a.func.isRequired,src:h.a.string}),t.a=x},FiHl:function(e,t,i){"use strict";var n=i("0iUn"),a=i("sLSF"),o=i("MI3g"),r=i("a7VT"),s=i("AT/M"),c=i("Tit0"),l=i("vYYK"),d=i("q1tI"),p=i.n(d),u=i("GHFN"),m=p.a.createElement;var f=function(e){function t(e){var i;return Object(n.a)(this,t),i=Object(o.a)(this,Object(r.a)(t).call(this,e)),Object(l.a)(Object(s.a)(i),"onWrapTouchStart",function(e){/iPhone|iPod|iPad/i.test(navigator.userAgent)&&(function(e,t){for(var i=e.matches||e.webkitMatchesSelector||e.mozMatchesSelector||e.msMatchesSelector;e;){if(i.call(e,t))return e;e=e.parentElement}return null}(e.target,".am-modal-content")||e.preventDefault())}),Object(l.a)(Object(s.a)(i),"componentDidMount",function(){}),i.state={unit:"mm",C_AlertShow:!1,modal:!1},i.t=i.props.t,i}return Object(c.a)(t,e),Object(a.a)(t,[{key:"closeUp",value:function(){this.props.closeUp()}},{key:"openUp",value:function(e){e.preventDefault();this.setState(Object(l.a)({},"C_AlertShow",!0))}},{key:"submitRx",value:function(){this.closeUp()}},{key:"render",value:function(){var e=this.props,t=e.maskClosable,i=e.isShowTop;return m(p.a.Fragment,null,m("div",null,m(u.a,{t:this.props.t,title:this.props.title||"",show:this.props.show,onClose:this.closeUp.bind(this),maskClosable:t,isShowTop:i},m("div",{style:{textAlign:"left",height:"100%"}},this.props.children))))}}]),t}(p.a.Component);t.a=f},Hqgn:function(e,t,i){"use strict";i.d(t,"j",function(){return n}),i.d(t,"g",function(){return d}),i.d(t,"b",function(){return a}),i.d(t,"d",function(){return o}),i.d(t,"e",function(){return r}),i.d(t,"f",function(){return s}),i.d(t,"h",function(){return c}),i.d(t,"k",function(){return p}),i.d(t,"c",function(){return u}),i.d(t,"i",function(){return m}),i.d(t,"a",function(){return l});var n=[{id:0,title:"Color",hasVal:!1},{id:1,title:"Size",hasVal:!1},{id:2,title:"Gender",hasVal:!1},{id:3,title:"AgeRange",hasVal:!1},{id:4,title:"Material",hasVal:!1},{id:5,title:"Shape",hasVal:!1},{id:6,title:"Rim",hasVal:!1},{id:7,title:"Feature",hasVal:!1}],a=[{id:0,title:"Black",color:"#000",active:!1,val:"Black"},{id:1,title:"White",color:"#F2F4F5",active:!1,val:"White"},{id:2,title:"Clear",color:"#dcdcdc",active:!1,val:"Clear"},{id:3,title:"Antique",color:"#4a3c29",active:!1,val:"Antique"},{id:4,title:"Blue",color:"#00f",active:!1,val:"Blue"},{id:5,title:"Brown",color:"#a52a2a",active:!1,val:"Brown"},{id:6,title:"Burgundy",color:"#5c0323",active:!1,val:"Burgundy"},{id:7,title:"Gold",color:"#9a7a3f",active:!1,val:"Gold"},{id:8,title:"Grain",color:"#f5deb3",active:!1,val:"Grain"},{id:9,title:"Green",color:"#008000",active:!1,val:"Green"},{id:10,title:"Grey",color:"#808080",active:!1,val:"Grey"},{id:11,title:"Gunmetal",color:"#655742",active:!1,val:"Gunmetal"},{id:12,title:"Matt",color:"#313131",active:!1,val:"Matt"},{id:13,title:"Multicolor",color:"rgba(0, 0, 0, 0)",img:"https://df5apg8r0m634.cloudfront.net/images/c7379ae37120e916fcad50074b9b77fa.jpg?inline",active:!1,val:"Multicolor"},{id:14,title:"Orange",color:"#ffa500",active:!1,val:"Orange"},{id:15,title:"Pattern",color:"rgba(0, 0, 0, 0)",img:"https://df5apg8r0m634.cloudfront.net/images/5c523101cdfc80928ff71dd3179cc987.jpg?inline",active:!1,val:"Pattern"},{id:16,title:"Pink",color:"#ffc0cb",active:!1,val:"Pink"},{id:17,title:"Purple",color:"#800080",active:!1,val:"Purple"},{id:18,title:"Red",color:"#f00",active:!1,val:"Red"},{id:19,title:"Bright Pink",color:"#ff007e",active:!1,val:"Bright Pink"},{id:20,title:"Silver",color:"#c0c0c0",active:!1,val:"Silver"},{id:21,title:"Tortoise",color:"rgba(0, 0, 0, 0)",img:"https://df5apg8r0m634.cloudfront.net/images/e2e229733483885b0d0b83c2946eb75c.png?inline",active:!1,val:"Tortoise"},{id:22,title:"Yellow",color:"#ff0",active:!1,val:"Yellow"},{id:23,title:"Chocolate",color:"#d2691e",active:!1,val:"Chocolate"},{id:24,title:"Ivory",color:"#f6f6cb",active:!1,val:"Ivory"},{id:25,title:"Rose Gold",color:"#c6807e",active:!1,val:"Rose Gold"},{id:26,title:"Rainbow",color:"rgba(0, 0, 0, 0)",img:"https://df5apg8r0m634.cloudfront.net/images/2023/0417/f298fa671eac97cbe9a30eb10ec0e2d8.png",active:!1,val:"Rainbow"},{id:27,title:"Firmoo Color",color:"rgba(0, 0, 0, 0)",img:"https://df5apg8r0m634.cloudfront.net/images/2023/0417/48a47409df5e501b36018303b185f652.png",active:!1,val:"Firmoo Color"}],o=[{title:"Unisex",val:2,id:0,active:!1},{title:"Men",val:1,id:1,active:!1},{title:"Women",val:0,id:2,active:!1},{title:"Kids",val:3,id:3,active:!1}],r=[{title:"Plastic",data:[{id:0,title:"Acetate",val:"p",active:!1},{id:1,title:"TR",val:"tr",active:!1},{id:2,title:"Memory Plastic",val:"mp",active:!1},{id:3,title:"Ultem",val:"stss",active:!1},{id:4,title:"Silica Gel",val:"sg",active:!1}]},{title:"Metal",data:[{id:5,title:"Metal",val:"m",active:!1},{id:6,title:"Memory Metal",val:"mm",active:!1},{id:7,title:"Titanium",val:"t",active:!1}]},{title:"Mixed Materials",data:[{id:8,title:"Mixed Materials",val:"mx",active:!1}]}],s=[{id:0,title:"Rectangle",img:"static/icon/phone/shape_rectangle.png",imgW:1.22,active:!1,val:1},{id:1,title:"Round",img:"static/icon/phone/shape_round.png",imgW:1.22,active:!1,val:3},{id:2,title:"Square",img:"static/icon/phone/shape_square.png",imgW:1.22,active:!1,val:2},{id:3,title:"Oval",img:"static/icon/phone/shape_oval.png",imgW:1.22,active:!1,val:4},{id:4,title:"Aviator",img:"static/icon/phone/shape_aviator.png",imgW:1.22,active:!1,val:5},{id:5,title:"Geometric",img:"static/icon/phone/shape_polygon.png",imgW:1.22,active:!1,val:7},{id:6,title:"Horn-rimmed",img:"static/icon/phone/shape_horn.png",imgW:1.22,active:!1,val:6},{id:7,title:"Cat Eye",img:"static/icon/phone/shape_cat.png",imgW:1.22,active:!1,val:8},{id:8,title:"Heart",img:"static/icon/phone/shape_heart.svg",imgW:1.22,active:!1,val:9},{id:9,title:"Browline",img:"static/icon/phone/shape_browline.svg",imgW:1.22,active:!1,val:10}],c=[{title:"Total Width",data:[{id:0,title:"Small(<129mm)",active:!1,val:"s"},{id:1,title:"Medium(129mm to 135mm)",active:!1,val:"m"},{id:2,title:"Large(>135mm)",active:!1,val:"l"},{id:3,title:"Custom",active:!1,val:""}],customData:[{id:4,title:"Total Width",img:"static/icon/phone/size_total.png",leftTotal:100,rightTotal:150,leftVal:100,rightVal:150,key:"totalWidth"},{id:5,title:"Lens Width",img:"static/icon/phone/size_lens_w.png",leftTotal:30,rightTotal:140,leftVal:30,rightVal:140,key:"lensWidth"},{id:6,title:"Lens Height",img:"static/icon/phone/size_lens_h.png",leftTotal:20,rightTotal:60,leftVal:20,rightVal:60,key:"lensHeight"},{id:7,title:"Bridge Width",img:"static/icon/phone/size_bridge.png",leftTotal:9,rightTotal:30,leftVal:9,rightVal:30,key:"bridgeDistance"},{id:8,title:"Diagonal Length",img:"static/icon/phone/size_diagonal.png",leftTotal:40,rightTotal:70,leftVal:40,rightVal:70,key:"diagonal"},{id:9,title:"Temple Length",img:"static/icon/phone/size_temple.png",leftTotal:30,rightTotal:260,leftVal:30,rightVal:260,key:"templeLength"}]}],l=[{title:"4-7",val:1,id:0,active:!1},{title:"8-12",val:2,id:1,active:!1},{title:"13-15",val:3,id:2,active:!1}],d=[{title:"Featured",id:1,active:!1,val:null},{title:"Newest Arrivals",id:2,active:!1,val:"news"},{title:"Best Sellers",id:3,active:!1,val:"hot"},{title:"High to Low",id:4,active:!1,val:"price_high"},{title:"Low to High",id:5,active:!1,val:"price_low"}],p=[{id:0,title:"Full-Rim",img:"static/icon/phone/rirm_full.png",imgW:1.2,active:!1,val:"f"},{id:1,title:"Semi-Rimless",img:"static/icon/phone/rim_semi.png",imgW:1.2,active:!1,val:"s"},{id:2,title:"Rimless",img:"static/icon/phone/rim_less.png",imgW:1.2,active:!1,val:"r"}],u=[{id:0,title:"Spring Hinge",active:!1,val:"products_have_spring_hinge"},{id:1,title:"Adjustable nose pads",active:!1,val:"adjust_nose_pads"},{id:2,title:"Bifocal & Progressive",active:!1,val:"bifocal"},{id:3,title:"Folding readers",active:!1,val:"folding"},{id:4,title:"Neckglasses",active:!1,val:"neckglasses"},{id:5,title:"Without nose pads",active:!1,val:"without_adjust_nose_pads"}];var m=function(e){if(!e)return{};var t=e.split(","),i=[],n={backgroundSize:"cover",backgroundImage:"none",border:"none"};if(t.map(function(e,t){var o=function(e){var t="Antique bronze"==e?[{id:3,title:"Antique bronze",color:"#4a3c29",active:!1,val:"Antique bronze"}]:a.filter(function(t){return t.title===e});return t.length?t[0]:e}(e);if("string"===typeof o||!o.img)return i.push("string"===typeof o?o:o.color||o.title);(o.img||o.boderColor)&&(i.push(o.color||o.title),o.boderColor&&(n.border="1px solid ".concat(o.boderColor)),o.img&&(n.backgroundImage='url("'+o.img+'")'))}),"none"===n.backgroundImage){var o=i.length>1?i.join(","):"".concat(i,", ").concat(i);n.background="linear-gradient(".concat(o,")")}return{colorClass:i.filter(function(e){return!(e.startsWith("#")||/rgba?/.test(e))}),colorStyle:n}}},JNbM:function(e,t,i){"use strict";var n=i("0iUn"),a=i("sLSF"),o=i("MI3g"),r=i("a7VT"),s=i("AT/M"),c=i("Tit0"),l=i("vYYK"),d=i("MX0m"),p=i.n(d),u=i("q1tI"),m=i.n(u),f=i("/MKj"),h=i("9nMr"),g=i("9Ea1"),b=i("15dD"),x=i("2KCy"),y=i("7T0p"),v=i("7UmG"),j=m.a.createElement,w=function(e){function t(){var e,i;Object(n.a)(this,t);for(var a=arguments.length,c=new Array(a),d=0;d>")))),y("p",{style:{padding:"0 10px"}},t.text3))),y("div",{style:{marginTop:"20px",textAlign:"center"}},y("button",{className:"measure-shape-btn",onClick:function(i){return e.findShape(t.findShape)}},t.button)))}))}}]),t}(p.a.Component),j=i("HMqV"),w=i("wdNe"),k=i("9Ea1"),_=i("/MKj"),O=p.a.createElement,S=function(e){function t(e){var i;return Object(n.a)(this,t),(i=Object(o.a)(this,Object(r.a)(t).call(this,e))).state={showModel:!1,isShow:!1},i}return Object(s.a)(t,e),Object(a.a)(t,[{key:"render",value:function(){var e=this,t=this.props,i=t.index,n=t.data,a=t.t,o=t.domain;return O("div",{style:{textAlign:"center"},className:"jsx-357112174 video-guides-box"},O(l.a,{id:"357112174"},[".video-guides-item.jsx-357112174{position:relative;background-color:#ccc;overflow:hidden;}",".video-icon.jsx-357112174{position:absolute;top:43%;left:46%;font-size:45px;color:white;opacity:0.7;cursor:pointer;}",".video-icon.jsx-357112174:hover{opacity:1;}"]),O("div",{className:"jsx-357112174 video-guides-item"},O("span",{onClick:function(t){return e.setState({showModel:!0})},style:{cursor:"pointer"},className:"jsx-357112174"},O(j.a,{sourceArr:[{src:Object(w.a)(n.pic),type:"image/webp",media:""}],defalutImg:n.pic||n.img})),O("span",{onClick:function(t){return e.setState({showModel:!0})},className:"jsx-357112174 glyphicon glyphicon-play video-icon"})),n.intro&&O("p",{style:{marginTop:"15px",textAlign:"center"},className:"jsx-357112174"},a("common:video.".concat(n.intro))),n.title&&O("p",{style:{marginTop:"15px",textAlign:"center"},className:"jsx-357112174"},n.title),n.sub_title&&n.sub_link&&O("a",{style:{textAlign:"center",cursor:"pointer",display:"block",marginTop:"10px",color:" #26ABFF"},href:n.sub_link,target:"_blank",className:"jsx-357112174"},n.sub_title),n.find&&O("a",{style:{textAlign:"center",cursor:"pointer",color:" #26ABFF"},href:"fr"===Object(k.getSite)(o)?"z/magasiner-par-forme-de-visage.html":"z/glasses-for-face-shape.html",target:"_blank",className:"jsx-357112174"},a("common:video.".concat(n.find))),this.state.showModel&&O(u.a,{isPc:!0,src:n.video_src||n.url,close:function(t){return e.setState({showModel:!1})}}),0===i&&n.find&&O(m.a,{title:"",content:O(v,null),show:this.state.isShow,closeModal:function(t){return e.setState({isShow:!1})},dialogClassName:"measure-style"}))}}]),t}(p.a.Component);t.a=Object(_.b)(function(e){return{domain:e.common.domain}})(S)},NfqM:function(e,t,i){"use strict";i.d(t,"b",function(){return s}),i.d(t,"a",function(){return c});var n=i("eVuF"),a=i.n(n),o=i("p0XB"),r=i.n(o);function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};r()(e.items)?e.items.forEach(function(e){window.snaptr&&window.snaptr("track","ADD_CART",{currency:"GBP",price:e.price,item_ids:[e.id]})}):window.snaptr&&window.snaptr("track","ADD_CART",{currency:"GBP",price:e.items.price,item_ids:[e.items.id]})}function c(){var e=null;return new a.a(function(t,i){window&&window.snaptr?t(!0):e=setInterval(function(){window&&window.snaptr&&(t(!0),clearInterval(e))},50)})}},O3Ch:function(e,t,i){"use strict";var n=i("0iUn"),a=i("sLSF"),o=i("MI3g"),r=i("a7VT"),s=i("AT/M"),c=i("Tit0"),l=i("vYYK"),d=i("q1tI"),p=i.n(d),u=i("mS6G"),m=i.n(u),f=p.a.createElement,h=function(e){function t(){var e,i;Object(n.a)(this,t);for(var a=arguments.length,c=new Array(a),d=0;d0&&(i=!0),t<0&&(i=!1),i}),i.state={emailInModal:"",nameInModal:"",textInModal:"",info:"",isShow:!0},i}return Object(d.a)(t,e),Object(r.a)(t,[{key:"render",value:function(){var e=this.props,t=e.title,i=e.extra,n=e.show,a=(e.titleClass,e.closeModal),o=(e.size,e.dialogClassName,e.confirm),r=e.t,s=e.domain,c=this.getTime();return S(b.a,{title:t,footer:null,visible:n,onCancel:function(e){return a()}},S(h.a.Fragment,null,i,S("div",{className:"jsx-983049242"},S(m.a,{id:"983049242"},[".textarea-inputBtn.jsx-983049242{resize:none;height:70px;}",".input-iputBtn.jsx-983049242{display:inline-block;width:260px;border:1px solid rgb(169,169,169);}",".button-inputBtn.jsx-983049242{color:white;background:#333;border:1px solid #333;width:110px;line-height:27px;text-align:center;}",".button-inputBtn.jsx-983049242:hover{color:black;background-color:white;}",".pc-info.jsx-983049242{text-align:center;color:red;font-size:36px;font-weight:400;}"]),o&&"object"===typeof o&&o.coupon?S("div",{style:{fontSize:"16px",fontWeight:"500",textAlign:"center"},className:"jsx-983049242"},S("div",{style:{fontSize:"24px",lineHeight:"30px",marginBottom:"15px"},className:"jsx-983049242"},r("common:ThankForJoin"),"!"),S("div",{className:"jsx-983049242"},r(c?"common:Enjoy_40_Off_Frames":"common:Enjoy_15_Off_Frames")),S("div",{className:"jsx-983049242"},r("common:Code"),": ",o.coupon),S("div",{className:"jsx-983049242"},r("common:Expires"),": ",o.expireDate),S("div",{className:"jsx-983049242"},S(k.c,{href:T[Object(_.getSite)(s)]?T[Object(_.getSite)(s)]:"/all-products.html"},S("a",{target:"_blank",className:"jsx-983049242"},r("common:Choose_glasses_now")," >")))):S("div",{style:{fontSize:"24px",fontWeight:"500",textAlign:"center"},className:"jsx-983049242"},S("p",{className:"jsx-983049242"},o?"".concat(r("common:ThankForJoin"),"!"):"".concat(r("common:InvalidEmailAddress"),".")),o?S("p",{style:{textAlign:"center"},className:"jsx-983049242"},r("common:AlreadySend"),"."):"",S("p",{className:"jsx-983049242"}," ",S("b",{className:"jsx-983049242"}," ",r("common:ShareCouponWithFd")))))))}}]),t}(f.Component),C=Object(O.b)(function(e){return{domain:e.common.domain}})(I),N=i("GHFN"),E=i("BsKj"),L=i("jgXz"),M=i("9CNf"),P=(i("NxKD"),h.a.createElement),A=function(e){function t(e){var i;return Object(o.a)(this,t),i=Object(s.a)(this,Object(c.a)(t).call(this,e)),Object(p.a)(Object(l.a)(i),"handleChange",function(e){i.setState({value:e.target.value})}),Object(p.a)(Object(l.a)(i),"shareHandle",function(e){e.preventDefault()}),Object(p.a)(Object(l.a)(i),"emailChange",function(e){i.setState({emailInModal:e.target.value})}),Object(p.a)(Object(l.a)(i),"handleSubmit",function(e){try{if(i.setState({isSubmitting:!0}),e.preventDefault(),""==i.state.value)return;/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i.test(i.state.value)?(Object(L.b)({email:i.state.value}).then(function(e){i.setState({isShow:!0,confirm:e,isSubmitting:!1}),e.coupon&&Object(M.a)({email:i.state.value,couponCode:e.coupon})},function(e){alert(e),i.setState({isSubmitting:!1})}).catch(function(e){alert(e),i.setState({isSubmitting:!1})}),1==i.state.checked&&Object(w.c)({subscription:i.props.formData}).then(function(e){i.setState({isSubmitting:!1})},function(e){i.setState({isSubmitting:!1})})):i.setState({isShow:!0,confirm:!1,isSubmitting:!1})}catch(t){console.error(t),i.setState({isSubmitting:!1}),Object(L.h)({path:"/subscribe",host:"subscribe",error:a()(t),level:4,title:"\u8ba2\u9605\u64cd\u4f5c\u51fa\u73b0\u9519\u8bef"})}}),i.state={checked:!0,modal1:!1,isShow:!1,value:"",content:"",emailInModal:"",nameInModal:"",textInModal:"",confirm:!1,showSelect:!1,isSubmitting:!1},i}return Object(d.a)(t,e),Object(r.a)(t,[{key:"render",value:function(){var e=this;return P(f.Fragment,null,P(m.a,{id:"514156908"},[".inputs.jsx-514156908{width:400px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:start;-webkit-justify-content:flex-start;-ms-flex-pack:start;justify-content:flex-start;}","@-webkit-keyframes spin-jsx-514156908{0%{-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg);}100%{-webkit-transform:rotate(360deg);-ms-transform:rotate(360deg);transform:rotate(360deg);}}","@keyframes spin-jsx-514156908{0%{-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg);}100%{-webkit-transform:rotate(360deg);-ms-transform:rotate(360deg);transform:rotate(360deg);}}",".btn-right.jsx-514156908{display:inline-block;height:44px;background-color:#121a24;color:#ffffff;border-radius:0;font-size:18px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;outline:0;border:0;border-radius:0 4px 4px 0;padding:0 20px;font-family:'Roboto-Medium';position:relative;white-space:nowrap;}",".btn-right.loading.jsx-514156908{color:rgba(255,255,255,0.7);}",".btn-right.loading.jsx-514156908::before{content:'';position:absolute;top:50%;left:1px;width:16px;height:16px;margin-top:-8px;border:2px solid transparent;border-top:2px solid #fff;border-radius:50%;-webkit-animation:spin-jsx-514156908 1s linear infinite;animation:spin-jsx-514156908 1s linear infinite;}",".btn-bottom.jsx-514156908{text-align:center;}","input[type='checkbox'].jsx-514156908+label.jsx-514156908::before{content:'';display:inline-block;vertical-align:middle;width:15px;height:15px;margin-right:0.4em;border:1px solid gray;text-indent:5px;line-height:1;padding:2px;}","input[type='checkbox'].jsx-514156908:checked+label.jsx-514156908::before{background-image:url('https://df5apg8r0m634.cloudfront.net/images/3a2a124da67abad65ee393ca5e17863f.png');background-clip:content-box;background-position:50% 68%;background-size:150%;}"]),P("form",{onSubmit:this.handleSubmit,style:{margin:"0 5%"},className:"jsx-514156908"},P("p",{style:this.props.style,className:"jsx-514156908 inputs"},P("input",{type:"text",name:"email",required:!0,style:{display:"inline-block",height:"44px",width:"285px",border:"1px solid ".concat(this.props.bg),padding:"10px",borderRadius:"4px 0 0 4px"},placeholder:this.props.t("common:EnterYourEmailAddressToGetCode"),defaultValue:this.state.value,onChange:this.handleChange,className:"jsx-514156908"}),P("button",{type:"submit",disabled:this.state.isSubmitting,style:{background:"".concat(this.props.bg)},className:"jsx-514156908 "+"btn-right ".concat(this.state.isSubmitting?"loading":"")},this.props.t("common:Subscribe"))),P("p",{style:{margin:"15px 0 0"},className:"jsx-514156908"},P("input",{type:"checkbox",checked:this.state.checked,onChange:function(t){e.setState({checked:t.target.checked})},hidden:!0,name:"update",id:"update",className:"jsx-514156908"}),P("label",{style:{margin:"0 20px 0 0"},htmlFor:"update",className:"jsx-514156908"})," ",P("span",{onClick:function(t){e.setState({modal1:!0})},style:{cursor:"pointer",fontSize:"14px",color:"#121a24",lineHeight:"1.5"},className:"jsx-514156908"}," ",this.props.t("common:updateMe"))," ")),P(N.a,{t:this.props.t,title:"".concat(this.props.t("common:WhatUPreferToShare"),"?"),show:this.state.modal1,onClose:function(t){return e.setState({modal1:!1})},maskClosable:!0},P(E.a,{t:this.props.t,onClose:function(t){return e.setState({modal1:!1})}})),P(C,{title:"",show:this.state.isShow,size:"small",confirm:this.state.confirm,dialogClassName:"custom-modal-inputBtn",closeModal:function(t){return e.setState({isShow:!1})},t:this.props.t}))}}]),t}(f.Component);t.a=Object(O.b)(function(e){return{formData:e.updateSub.subscription}},{})(A)},PXLG:function(e,t,i){"use strict";i.d(t,"b",function(){return o}),i.d(t,"a",function(){return r});var n=i("0q0b");function a(e){var t=e.colorId?"".concat(e.productId,"-").concat(e.colorId):e.productId,i={moduleType:e.moduleType,contentType:2,content:"".concat(t),position:e.position,title:"\u4ea7\u54c1-".concat(e.productName),link:e.link};n.a.reportClick(i)}function o(e,t,i,n,o,r,s){a({productId:e,productName:t,colorId:i,position:n,link:o,moduleType:r,price:s})}function r(e,t,i,n,o){a({productId:e,productName:t,colorId:i,position:n,link:o,moduleType:"H5ProductRecommendations"})}},QVFO:function(e,t,i){"use strict";i.d(t,"a",function(){return T});var n=i("hfKm"),a=i.n(n),o=i("2Eek"),r=i.n(o),s=i("XoMD"),c=i.n(s),l=i("Jo+v"),d=i.n(l),p=i("4mXO"),u=i.n(p),m=i("pLtp"),f=i.n(m),h=i("vYYK"),g=i("dfwq"),b=i("p0XB"),x=i.n(b),y=i("ln6h"),v=i.n(y),j=i("doui"),w=i("O40h"),k=i("jgXz"),_=i("mSaO");function O(e,t){var i=f()(e);if(u.a){var n=u()(e);t&&(n=n.filter(function(t){return d()(e,t).enumerable})),i.push.apply(i,n)}return i}function S(e){for(var t=1;t0&&x()(e.hot)&&e.hot.length>0)return e;if(o&&x()(e.recommend2)&&e.recommend2.length>0)return e;n=!0;var r=S({},e);return t||a?(t&&x()(r.news)&&0!==r.news.length||(r.news=i.news),a&&x()(r.hot)&&0!==r.hot.length||(r.hot=i.hot)):o?x()(r.recommend2)&&0!==r.recommend2.length||(r.recommend2=i.news):(r.news=i.news,r.hot=i.hot,r.recommend2=i.news),r}),e.abrupt("return",[a,n]);case 9:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}()},Re13:function(e,t,i){"use strict";var n=i("hfKm"),a=i.n(n),o=i("2Eek"),r=i.n(o),s=i("XoMD"),c=i.n(s),l=i("Jo+v"),d=i.n(l),p=i("4mXO"),u=i.n(p),m=i("pLtp"),f=i.n(m),h=i("Cg2A"),g=i.n(h),b=i("LX0d"),x=i.n(b),y=i("0iUn"),v=i("sLSF"),j=i("vYYK"),w=i("d04V"),k=i.n(w);function _(e,t){var i=f()(e);if(u.a){var n=u()(e);t&&(n=n.filter(function(t){return d()(e,t).enumerable})),i.push.apply(i,n)}return i}var O=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(y.a)(this,e),Object(j.a)(this,"observer",null),Object(j.a)(this,"registeredElements",new x.a),Object(j.a)(this,"config",void 0),Object(j.a)(this,"scrollTimer",null),Object(j.a)(this,"isUsingScrollFallback",!1),Object(j.a)(this,"nextId",1),this.config=function(e){for(var t=1;t0&&t.left0))return!1;var a=(Math.min(t.bottom,i)-Math.max(t.top,0))*(Math.min(t.right,n)-Math.max(t.left,0)),o=t.height*t.width;return o>0&&a/o>=(this.config.visibilityThreshold||.1)}},{key:"findRegisteredElement",value:function(e){for(var t=k()(this.registeredElements.values()),i=0;i1?i-1:0),a=1;a2&&void 0!==arguments[2]?arguments[2]:{},a="track_".concat(g()(),"_").concat(Math.random().toString(36).substr(2,9)),o=C({exposureDelay:500,oneTime:!0,threshold:0,rootMargin:"0px"},n),r=S.observe(e,function(e,t){return i.handleExposureChange(a,e,t)},{threshold:o.threshold,rootMargin:o.rootMargin});return this.trackedElements.set(a,{observerId:r,element:e,trackingData:t,config:o,hasExposed:!1}),a}},{key:"untrack",value:function(e){var t=this.trackedElements.get(e);t&&(t.timer&&clearTimeout(t.timer),S.unobserve(t.observerId),this.trackedElements.delete(e))}},{key:"handleExposureChange",value:function(e,t,i){var n=this,a=this.trackedElements.get(e);a&&(i&&!a.hasExposed?a.timer=window.setTimeout(function(){var t=C({},a.trackingData,{userType:T.a.getUserType()});T.a.reportExposure(t),a.hasExposed=!0,a.config.oneTime&&n.untrack(e),a.timer=void 0},a.config.exposureDelay||500):!i&&a.timer&&(clearTimeout(a.timer),a.timer=void 0))}},{key:"getTrackedCount",value:function(){return this.trackedElements.size}},{key:"clearAll",value:function(){var e=this;this.trackedElements.forEach(function(t,i){e.untrack(i)})}},{key:"hasExposed",value:function(e){var t=this.trackedElements.get(e);return!!t&&t.hasExposed}}]),e}()),E=function(e,t,i){return N.track(e,t,i)},L=function(e){N.untrack(e)}},Rofo:function(e,t,i){"use strict";function n(e,t,i){return t<0?"":"de"===e||"fr"===e||"it"===e||"mx"===e||"cl"===e||"br"===e||"sa"===e||"pt"===e?"-".concat(t,"%"):"".concat(t,"% ").concat(i("common:OFF"))}i.d(t,"a",function(){return n})},S9TR:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i("q1tI"),a=i("3TDQ");t.default=function(e){var t=e.props,i=e.state,o=e.goToSlide,r=e.clones,s=e.notEnoughChildren,c=i.itemWidth,l=t.children,d=t.infinite,p=t.itemClass,u=t.itemAriaLabel,m=t.partialVisbile,f=t.partialVisible,h=a.getInitialState(i,t),g=h.flexBisis,b=h.shouldRenderOnSSR,x=h.domFullyLoaded,y=h.partialVisibilityGutter;return h.shouldRenderAtAll?(m&&console.warn('WARNING: Please correct props name: "partialVisible" as old typo will be removed in future versions!'),n.createElement(n.Fragment,null,(d?r:n.Children.toArray(l)).map(function(e,r){return n.createElement("li",{key:r,"data-index":r,onClick:function(){t.focusOnSelect&&o(r)},"aria-hidden":a.getIfSlideIsVisbile(r,i)?"false":"true","aria-label":u||(e.props.ariaLabel?e.props.ariaLabel:null),style:{flex:b?"1 0 "+g+"%":"auto",position:"relative",width:x?((m||f)&&y&&!s?c-y:c)+"px":"auto"},className:"react-multi-carousel-item "+(a.getIfSlideIsVisbile(r,i)?"react-multi-carousel-item--active":"")+" "+p},e)}))):null}},SSZS:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i("q1tI"),a=i("v5rg"),o=i("bwfW"),r=i("m1kc");t.default=function(e){var t=e.props,i=e.state,s=e.goToSlide,c=e.getState,l=t.showDots,d=t.customDot,p=t.dotListClass,u=t.infinite,m=t.children;if(!l||r.notEnoughChildren(i))return null;var f,h=i.currentSlide,g=i.slidesToShow,b=r.getSlidesToSlide(i,t),x=n.Children.toArray(m);f=u?Math.ceil(x.length/b):Math.ceil((x.length-g)/b)+1;var y=o.getLookupTableForNextSlides(f,i,t,x),v=a.getOriginalIndexLookupTableByClones(g,x),j=v[h];return n.createElement("ul",{className:"react-multi-carousel-dot-list "+p},Array(f).fill(0).map(function(e,t){var i,a;if(u){a=y[t];var o=v[a];i=j===o||o<=j&&j1&&T(x.a.Fragment,null,T("a",{onClick:function(){return I&&I.prev()},className:"jsx-663643337 glyphiconBtn glyphicon glyphicon-chevron-left"}),T("a",{onClick:function(){return I&&I.next()},className:"jsx-663643337 glyphiconBtn glyphicon glyphicon-chevron-right"})),T(k.a,{ref:function(e){return I=e},infinite:!0,draggable:!0,autoplay:!0,dotsClass:"pc-carousel-dot-item"},i.map(function(t,i){return T("div",{key:i,onClick:function(){Object(O.u)(i+1,{event_label:"banner".concat(i+1,"_").concat(e.props.userInfo.is_old_customer?"old":"new").concat(Object(S.F)()?"_login":"")})},className:"jsx-663643337 pc-banner-img"},T("a",{href:t.link,className:"jsx-663643337 a_href"},T(_.a,{defalutImg:t.img||t.url})))})))}}]),t}(x.a.Component),N=Object(y.b)(function(e){return{domain:e.common.domain,userInfo:e.userInfo.data}})(C),E=i("ifQR"),L=i("HMs9"),M=i.n(L),P=i("wdNe"),A=x.a.createElement,R=Object(L.lazyload)({height:200,once:!0,offset:100})(n=function(e){function t(e){var i;return Object(d.a)(this,t),(i=Object(u.a)(this,Object(m.a)(t).call(this,e))).state={},i.state.banners=[],i}return Object(f.a)(t,e),Object(p.a)(t,[{key:"componentDidMount",value:function(){var e=this;Object(S.i)("64,65,66,67,68,69",null).then(function(t){e.setState({banners:t})})}},{key:"render",value:function(){var e=this,t=this.state.banners,i=!1;return t.forEach(function(e){e.area_id&&(i=!0)}),i?A("div",{style:{marginTop:"80px"},className:"jsx-1945460068 firmoo-container-main ipad-padding"},A(g.a,{id:"1945460068"},[".adv-1.jsx-1945460068{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;margin-bottom:20px;}",".adv-1.jsx-1945460068 div.jsx-1945460068{display:inline-block;width:50%;}",".adv-1-left.jsx-1945460068{margin-right:10px;}",".adv-1-right.jsx-1945460068{margin-left:10px;}",".adv2.jsx-1945460068{width:100%;margin-bottom:20px;}",".adv-2.jsx-1945460068 div.jsx-1945460068{height:200px;margin-bottom:25px;}",".adv-3.jsx-1945460068{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;}",".adv-3.jsx-1945460068 div.jsx-1945460068{width:33.33%;min-height:276px;margin-right:20px;}",".adv-3.jsx-1945460068 div.jsx-1945460068:last-child{margin-right:0;}"]),t&&t.length>0&&A("div",{className:"jsx-1945460068"},(t[0].area_id||t[1].area_id)&&A(M.a,{height:"624px"},A("div",{className:"jsx-1945460068 adv-1"},A("div",{onClick:function(){return Object(O.w)(1,{event_label:"smallad1_".concat(e.props.userInfo.data.is_old_customer?"old":"new").concat(Object(S.F)()?"_login":"")})},className:"jsx-1945460068 adv-1-left"},A("a",{href:t[0].link,className:"jsx-1945460068"},A(_.a,{sourceArr:[{src:Object(P.a)(t[0].img),type:"image/webp",media:""}],defalutImg:t[0].img}))),A("div",{onClick:function(){return Object(O.w)(2,{event_label:"smallad2_".concat(e.props.userInfo.data.is_old_customer?"old":"new").concat(Object(S.F)()?"_login":"")})},className:"jsx-1945460068 adv-1-right"},A("a",{href:t[1].link,className:"jsx-1945460068"},A(_.a,{sourceArr:[{src:Object(P.a)(t[1].img),type:"image/webp",media:""}],defalutImg:t[1].img}))))),t[2].area_id&&A(M.a,{height:"200px"},A("div",{style:{marginBottom:"20px"},onClick:function(){return Object(O.w)(3,{event_label:"smallad3_".concat(e.props.userInfo.data.is_old_customer?"old":"new").concat(Object(S.F)()?"_login":"")})},className:"jsx-1945460068 adv-2"},A("a",{href:t[2].link,className:"jsx-1945460068"},A(_.a,{sourceArr:[{src:Object(P.a)(t[2].img),type:"image/webp",media:""}],defalutImg:t[2].img})))),(t[3].area_id||t[4].area_id||t[5].area_id)&&A(M.a,{height:"300px"},A("div",{className:"jsx-1945460068 adv-3"},A("div",{onClick:function(){return Object(O.w)(4,{event_label:"smallad4_".concat(e.props.userInfo.data.is_old_customer?"old":"new").concat(Object(S.F)()?"_login":"")})},className:"jsx-1945460068"},A("a",{href:t[3].link,className:"jsx-1945460068"},A(_.a,{sourceArr:[{src:Object(P.a)(t[3].img),type:"image/webp",media:""}],defalutImg:t[3].img}))),A("div",{onClick:function(){return Object(O.w)(5,{event_label:"smallad5_".concat(e.props.userInfo.data.is_old_customer?"old":"new").concat(Object(S.F)()?"_login":"")})},className:"jsx-1945460068"},A("a",{href:t[4].link,className:"jsx-1945460068"},A(_.a,{sourceArr:[{src:Object(P.a)(t[4].img),type:"image/webp",media:""}],defalutImg:t[4].img}))),A("div",{onClick:function(){return Object(O.w)(6,{event_label:"smallad6_".concat(e.props.userInfo.data.is_old_customer?"old":"new").concat(Object(S.F)()?"_login":"")})},className:"jsx-1945460068"},A("a",{href:t[5].link,className:"jsx-1945460068"},A(_.a,{sourceArr:[{src:Object(P.a)(t[5].img),type:"image/webp",media:""}],defalutImg:t[5].img}))))))):null}}]),t}(b.Component))||n,F=Object(y.b)(function(e){return{userInfo:e.userInfo}})(R),D=i("DHYM"),z=i("cY+K"),B=i("KDCo"),U=i("vqO1"),G=i("EsV+"),H=i("9Ea1"),q=i("C62B"),V=x.a.createElement;var W=Object(y.b)(function(e){return{domain:e.common.domain,site:e.common.site,siteId:e.common.siteId}})(function(e){return V(x.a.Fragment,null,V(g.a,{id:"1175555278"},[".pc-video-guide-title.jsx-1175555278{text-align:center;font-size:28px;font-weight:400;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}",".pc-video-guide-title.jsx-1175555278 p.jsx-1175555278{margin-bottom:40px;}",".pc-video-guideo-intro.jsx-1175555278{text-align:center;padding-bottom:10px;max-width:90%;margin:0 auto;}",".pc-video-link.jsx-1175555278{text-align:center;margin-bottom:20px;}",".pc-video-link.jsx-1175555278 a.jsx-1175555278{color:#26abff;}"]),!e.isHideTitle&&V(x.a.Fragment,null,V("div",{className:"jsx-1175555278 pc-video-guide-title"},V("p",{className:"jsx-1175555278"},e.t("common:video.title"))),V("div",{className:"jsx-1175555278 pc-video-guideo-intro"},"fm"===Object(H.getSite)(e.domain)?e.t("common:video.describle_fm"):e.t("common:video.describle")),V("div",{className:"jsx-1175555278 pc-video-link"},V(G.c,{href:"zt/videos-guides",as:"/z/videos-guides.html"},V("a",{title:e.t("common:video.AllGuides"),className:"jsx-1175555278"},e.t("common:video.AllGuides"))))),V(q.a,e))}),Y=i("8Kt/"),X=i.n(Y),K=x.a.createElement;var Q=Object(y.b)(function(e){return{domain:e.common.domain,site:e.common.site,siteId:e.common.siteId}})(function(e){var t=e.title,i=e.keywords,n=e.description,a=e.domain,o=Object(H.getEnv)("BASE_URL",a),r=Object(H.getSite)(a);return"uk"===r?(t="Stylish Glasses Online at Firmoo UK | Prescription Spectacles Online",i="prescription glasses, prescription sunglasses, reading glasses, blue light filter, screen glasses, driving glasses",n="Shop discount specs and sunglasses at home! Custom 900+ frames for women/men - Try on - 24/7 live chat - 4.5/5 review"):"es"===r?(t="Gafas graduadas baratas online | Desde 5,95\u20ac en Firmoo Espa\xf1a",i="gafas graduadas, gafas filtro azul, gafas de sol graduadas, gafas progresivas, gafas de lectura, gafas para conducir",n="Comprar tus gafas graduadas online desde 5,95\u20ac. 900+ monturas de gafas mujer y hombre con lentes est\xe1ndar gratuitas. - Probar gafas online - Env\xedo express - 3 Meses garant\xeda. \xa1Pide ahora!"):"fr"===r?(t="Lunettes de vue et de soleil en ligne d\xe8s 5\u20ac | Firmoo.fr",n="Monture + verres d\xe8s 5\u20ac, Achetez en ligne des lunettes de vue et de soleil pas cher et styl\xe9es pour hommes, femmes et enfants. Vous pourrez obtenir 1 achet\xe9 1 offert chez nous. Retours/ \xe9changes sous 30 jours & Chat en direct 24/7.",i="Lunettes de vue, lunettes de vue anti lumi\xe8re bleue, lunette de vue progressive, lunettes de lecture,Lunettes de vue enfant."):"de"===r?(t="Brillen, Gleitsichtbrillen online kaufen | Firmoo.de",i="brillen online , sonnenbrille mit sehst\xe4rke , gleitsichtbrille g\xfcnstig , g\xfcnstige brillen , brille mit sehst\xe4rke",n="Brillen online ab 6\u20ac, Sonnenbrillen & Gleitsichtbrillen online bestellen. \u2713 Bestpreis Garantie \u2713 Geld-zur\xfcck-Garantie \u2713 Einfach online anprobieren \u2713 Jetzt Brillen g\xfcnstig bestellen."):"it"===r?(t="Occhiali da vista & Occhiali da sole graduati online | Firmoo Italia",i="occhiali da vista, occhiali da sole, occhiali progressive, occhiali da lettura, occhiali anti-luce blu, occhiali per pc, occhiali per bambini, occhiali online, firmoo",n="Acquista occhiali da vista e occhiali da sole graduati su Firmoo.it, goditi un\u2019incredibile comodit\xe0 e offerte imperdibili. Acquista ora per risparmia."):"ie"===r?(t="Stylish Glasses Online from \u20ac6 | Firmoo Ireland",i="eyeglasses, prescription glasses, prescription sunglasses, reading glasses, blue light filter, progressive glasses, driving glasses, eyewear",n="Shop affordable glasses online. Get prescription glasses and sunglasses from just \u20ac6, including frames, lenses, 60-day Return & Exchange, and a 365-day warranty"):"au"===r&&(t="Buy Affordable Stylish Prescription Glasses Online | Firmoo AU",n="Buy 1000+ trendy prescription glasses and sunglasses for men, women, and kids online. 2 for 1 Free. 60-day return & exchange, live chat 24/7."),K(X.a,null,K("title",null,"".concat(t)),K("meta",{name:"keywords",content:i}),K("meta",{name:"description",content:n}),K("meta",{name:"p:domain_verify",content:"f0bf9f7c54174b52a2a0a62f3fd0725d"}),K("meta",{property:"og:title",content:Object(H.getSiteConfiguration)("siteName",a),key:"og:title"}),K("meta",{property:"og:type",content:"product.home",key:"og:type"}),K("meta",{property:"og:url",content:o,key:"og:url"}),K("meta",{property:"og:image",content:Object(H.getSiteConfiguration)("shareImageUrl",a),key:"og:image"}),K("base",{href:o}),K("link",{rel:"canonical",href:o}),K("meta",{property:"fb:page_id",content:"145216628841852"}),K("meta",{property:"twitter:account_id",content:"49842233"}),K("meta",{name:"viewport",content:"width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0,viewport-fit=cover,user-scalable=no"}))}),J=i("AT/M"),Z=i("vYYK"),$=(i("eosf"),i("j7zX")),ee=i.n($),te=i("/oNl"),ie=i("kodF"),ne=x.a.createElement,ae=function(e){function t(){return Object(d.a)(this,t),Object(u.a)(this,Object(m.a)(t).apply(this,arguments))}return Object(f.a)(t,e),Object(p.a)(t,[{key:"render",value:function(){var e=this.props,t=e.title,i=e.href;return ne("div",{className:"jsx-1456235016"},ne(g.a,{id:"1456235016"},[".pc-home-view-btn.jsx-1456235016{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;border:1px solid #333;min-width:136px;height:48px;margin:0 8px;cursor:pointer;box-sizing:border-box;padding:0 10px;}",".pc-home-view-btn.jsx-1456235016 p.jsx-1456235016{font-size:20px;color:#333;margin:0;}",".pc-home-view-btn.jsx-1456235016 img.jsx-1456235016{width:23px;height:19px;opacity:0.5;}",".pc-home-view-btn.jsx-1456235016:hover{background:#333;}",".pc-home-view-btn.jsx-1456235016:hover p.jsx-1456235016{color:#fff;}",".pc-home-view-btn.jsx-1456235016 a.jsx-1456235016:active{outline:none;-webkit-text-decoration:none;text-decoration:none;}"]),ne("a",{href:i,className:"jsx-1456235016"},ne("div",{className:"jsx-1456235016 pc-home-view-btn"},ne("p",{className:"jsx-1456235016"},t))))}}]),t}(b.Component),oe=i("lT5N"),re=i("9nMr"),se=i("7UmG"),ce=x.a.createElement,le=function(e){function t(){var e,i;Object(d.a)(this,t);for(var n=arguments.length,a=new Array(n),o=0;o=3&&(i.setState({rightHide:!1}),i.setState({leftHide:!1})),e<3&&(i.setState({rightHide:!1}),i.setState({leftHide:!0})),e==i.props.products.length-3&&(i.setState({rightHide:!0}),i.setState({leftHide:!1}))}),Object(Z.a)(Object(J.a)(i),"renderCarousel",function(){var e=i.props,t=e.products,n=e.isIpad,a=e.t,o=e.c,r=e.href;return ce(b.Fragment,null,ce("div",{style:{position:"relative",padding:"20px 30px 0px"},className:"jsx-2344725837"},ce(g.a,{id:"2344725837"},[".product-glyphicon.jsx-2344725837{width:32px;height:32px;background:rgba(70,76,81,0.6);box-shadow:0px 0px 3px 1px rgba(0,0,0,0.16);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:absolute;top:180px;border-radius:50%;z-index:9;color:#fff;}",".product-glyphicon.jsx-2344725837:hover{background-color:#464c51;}",".product-glyphicon-left.jsx-2344725837{left:5px;cursor:pointer;}",".product-glyphicon-right.jsx-2344725837{right:5px;cursor:pointer;}",".icon-arrow-disabled.jsx-2344725837{pointer-events:none;visibility:hidden;}"]),ce("div",{onClick:function(){return i.Slider&&i.Slider.prev()},className:"jsx-2344725837 "+"product-glyphicon product-glyphicon-left ".concat(i.state.leftHide?"icon-arrow-disabled":"")}," ",ce(re.a,{icon:"icon-arrow-left",style:{fontWeight:"bold",lineHeight:1}})),ce("div",{onClick:function(){return i.Slider&&i.Slider.next()},className:"jsx-2344725837 "+"product-glyphicon product-glyphicon-right ".concat(i.state.rightHide?"icon-arrow-disabled":"")},ce(re.a,{icon:"icon-arrow-right",style:{fontWeight:"bold",lineHeight:1}})),ce(k.a,{ref:function(e){return i.Slider=e},draggable:!0,infinite:!1,slidesToShow:3,slidesToScroll:3,dots:!1,afterChange:function(e){return i.HandleAfterChange(e)}},t.map(function(e,t){return e.products_id&&t<=11&&ce("div",{key:t,className:"jsx-2344725837"},ce("div",{style:{padding:"0 40px"},className:"jsx-2344725837"},ce(oe.a,{index:Number(t),isIpad:n,data:e,t:a,c:o,isIndex:!0,onProductClick:i.props.onProductClick})))})),ce(se.f,null,r&&ce(ae,{title:a("common:ShopAll"),href:r}))))}),i}return Object(f.a)(t,e),Object(p.a)(t,[{key:"componentDidMount",value:function(){this.props.products&&this.props.products.length>3&&(this.setState({rightHide:!1}),this.setState({leftHide:!0}))}},{key:"render",value:function(){var e=this,t=this.props,i=t.products,n=t.c,a=t.href,o=t.t,r=t.isIpad,s=t.type,c=void 0===s?1:s;if(3==c)return this.renderCarousel();var l=1==c?6:8,d=this.state.page,p=(8==c||Math.ceil(i.length/l),[1,2]);return p=i.length<=l?[1]:[1,2],ce(x.a.Fragment,null,ce(g.a,{id:"2408247636"},[".pc-home-page-item.jsx-2408247636{width:48px;height:48px;background:#fff;border:1px solid #333;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;font-size:20px;color:#333;margin:0 8px;cursor:pointer;}",".pc-home-page-item.jsx-2408247636:hover{background:#333;color:#fff;}",".pc-home-page-item-active.jsx-2408247636{background:#333;color:#fff;}",".pc-home-product-list-more.jsx-2408247636{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background:#fff;margin-top:2px;}",".pc-home-product-list.jsx-2408247636{background:#fff;position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:start;-webkit-justify-content:flex-start;-ms-flex-pack:start;justify-content:flex-start;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;font-weight:700;margin-top:30px;}",".pc-home-product-item-4.jsx-2408247636{width:25%;}","@media (max-width:1200px){.pc-home-product-list.jsx-2408247636{padding:0 20px;}}",".pc-home-product-item.jsx-2408247636{width:27%;margin-left:5%;}",".pc-home-product-item-4.jsx-2408247636{width:25%;margin-left:0;padding:0 30px;}","@media (max-width:980px){.pc-home-product-list.jsx-2408247636{-webkit-box-pack:space-around;-webkit-justify-content:space-around;-ms-flex-pack:space-around;justify-content:space-around;padding:0;}.pc-home-product-item.jsx-2408247636{width:30%;}}"]),ce("div",{className:"jsx-2408247636 pc-home-product-list"},i.map(function(t,i){if(i=(d-1)*l&&t.products_id)return ce("div",{key:i,className:"jsx-2408247636 "+"pc-home-product-item ".concat(2==c?"pc-home-product-item-4":"")},ce(oe.a,{index:Number(i),isIpad:r,data:t,t:o,c:n,isIndex:!0,onProductClick:e.props.onProductClick}))})),ce("div",{style:{marginTop:r?"30px":"10px"},className:"jsx-2408247636 pc-home-product-list-more"},p.length>1&&p.map(function(t,i){return ce("div",{onClick:function(){e.onPageChange(t)},key:i,className:"jsx-2408247636 "+"pc-home-page-item ".concat(t===e.state.page?"pc-home-page-item-active":"")},t)}),a&&ce(ae,{title:o("common:ShopAll"),href:a})))}}]),t}(b.Component),de=x.a.createElement,pe=function(e){function t(){return Object(d.a)(this,t),Object(u.a)(this,Object(m.a)(t).apply(this,arguments))}return Object(f.a)(t,e),Object(p.a)(t,[{key:"render",value:function(){var e=this.props,t=e.products,i=e.c,n=e.t,a=e.isIpad;e.date;return de(x.a.Fragment,null,de(g.a,{id:"824964546"},[".home-product-panel.jsx-824964546{position:relative;padding-top:30px;}",".home-product-title.jsx-824964546{font-size:24px;position:relative;color:#333;padding:20px;text-align:center;position:relative;margin-bottom:80px;}",".home-product-title.jsx-824964546:after{content:' ';width:50px;height:4px;background-color:#26abff;position:absolute;bottom:3px;left:0;right:0;margin:0 auto;}"]),de("div",{className:"jsx-824964546 home-product-panel firmoo-container-main"},de("div",{className:"jsx-824964546 home-product-title"},"Daily Special"),de(le,{products:t.news,c:i,href:"/z/daily-special.html",isIpad:a,t:n})))}}]),t}(b.Component),ue=(i("SoD3"),i("9xET")),me=i.n(ue),fe=(i("YKpo"),i("ZPTe")),he=i.n(fe),ge=x.a.createElement,be=function(){return ge(x.a.Fragment,null,ge(g.a,{id:"358157815"},[".empty-item.jsx-358157815{background:rgba(0,0,0,0.06);border-radius:4px;}",".empty-img.jsx-358157815{width:100%;height:166px;margin-bottom:20px;}",".empty-color.jsx-358157815{width:20px;height:20px;border-radius:50%;margin:0 10px;}",".empty-line.jsx-358157815{width:100px;height:16px;}","@-webkit-keyframes skeleton-loading-jsx-358157815{0%{background-position:200% 0;}100%{background-position:-200% 0;}}","@keyframes skeleton-loading-jsx-358157815{0%{background-position:200% 0;}100%{background-position:-200% 0;}}",".skeleton-animation.jsx-358157815{background-image:linear-gradient( 90deg, transparent, rgba(255,255,255,0.5), transparent );background-size:200% 100%;-webkit-animation:skeleton-loading-jsx-358157815 1.5s infinite linear;animation:skeleton-loading-jsx-358157815 1.5s infinite linear;}"]),ge("div",{style:{padding:"20px",margin:"40px"},className:"jsx-358157815"},ge("div",{className:"jsx-358157815 empty-item empty-img skeleton-animation"}),ge(se.f,{style:{marginBottom:"30px"}},ge("div",{className:"jsx-358157815 empty-item empty-color"}),ge("div",{className:"jsx-358157815 empty-item empty-color"}),ge("div",{className:"jsx-358157815 empty-item empty-color"})),ge(se.f,{justify:"space-between",style:{marginBottom:"20px"}},ge("div",{className:"jsx-358157815 empty-item empty-line"}),ge("div",{className:"jsx-358157815 empty-item empty-line"})),ge(se.f,{justify:"space-between"},ge("div",{className:"jsx-358157815 empty-item empty-line"}),ge("div",{className:"jsx-358157815 empty-item empty-line"}))))},xe=function(e){var t=e.type,i=void 0===t?1:t;return ge(x.a.Fragment,null,1==i&&ge(me.a,null,ge(he.a,{span:8},ge(be,null)),ge(he.a,{span:8},ge(be,null)),ge(he.a,{span:8},ge(be,null)),ge(he.a,{span:8},ge(be,null)),ge(he.a,{span:8},ge(be,null)),ge(he.a,{span:8},ge(be,null))),2==i&&ge(me.a,null,ge(he.a,{span:6},ge(be,null)),ge(he.a,{span:6},ge(be,null)),ge(he.a,{span:6},ge(be,null)),ge(he.a,{span:6},ge(be,null)),ge(he.a,{span:6},ge(be,null)),ge(he.a,{span:6},ge(be,null)),ge(he.a,{span:6},ge(be,null)),ge(he.a,{span:6},ge(be,null))),3==i&&ge(me.a,null,ge(he.a,{span:8},ge(be,null)),ge(he.a,{span:8},ge(be,null)),ge(he.a,{span:8},ge(be,null))))},ye=x.a.createElement,ve=ee.a.TabPane,je={mx:"/lentes-los-mas-vendidos.html",pt:"/Mais-Vendidos",cl:"/anteojos-los-mas-vendidos.html"},we={fr:"/nouveaux-arrivages.html",mx:"/novedades/todos.html",pt:"/Novas-Chegadas",cl:"/novedades/todos.html"},ke=function(e){function t(e){var i;return Object(d.a)(this,t),i=Object(u.a)(this,Object(m.a)(t).call(this,e)),Object(Z.a)(Object(J.a)(i),"googleAnalytics",function(){var e=i.state.products,t=e.hot,n=e.news;Object(O.bb)({item_list_id:"home hot products",item_list_name:"home hot products",items:Object(O.U)({productList:t})}),Object(O.bb)({item_list_id:"home news products",item_list_name:"home news products",items:Object(O.U)({productList:n})})}),Object(Z.a)(Object(J.a)(i),"onTabClick",function(e){i.setState({initialPageKey:e,page:1})}),i.state={initialPageKey:"1",page:1,pageNum:6,activeVal:[],loading:!0,products:{news:[],hot:[]}},i}return Object(f.a)(t,e),Object(p.a)(t,[{key:"componentDidMount",value:function(){var e=this;Object(S.E)({limit:12,type:!0}).then(function(t){e.setState({products:t,loading:!1},function(){e.googleAnalytics()})})}},{key:"componentWillReceiveProps",value:function(e){this.props.isOldUser!=e.isOldUser&&"it"!=Object(H.getSite)(e.domain)&&(e.isOldUser?this.setState({initialPageKey:"1"}):this.setState({initialPageKey:"2"}))}},{key:"render",value:function(){var e=this.props,t=e.c,i=e.t,n=e.date,a=e.isIpad,o=e.domain,r=this.state,s=r.products;if(r.loading)return ye(se.f,{style:{heihgt:"600px"}},ye(xe,{type:1}));if(Object(H.getSiteConfiguration)("isShowAuPanel",o))return ye(pe,{date:n,products:s,c:t,isIpad:a,t:i});var c=Object(H.getSite)(o);return ye("div",{className:"jsx-4225307396 pc-home-product-panel firmoo-container-main"},ye(g.a,{id:"4225307396"},[".pc-home-product-panel{position:relative;padding-top:30px;}",".pc-home-product-panel .am-tabs{display:block;}"]),"it"==Object(H.getSite)(o)?ye(x.a.Fragment,null,ye(ee.a,{defaultActiveKey:this.state.initialPageKey,activeKey:this.state.initialPageKey,onTabClick:this.onTabClick,renderTabBar:function(e){return ye(te.b,{data:e})}},ye(ve,{tab:i("common:nav.BestSeller"),key:"1"},ye(le,{products:s.hot,c:t,href:"z/best-sellers.html",t:i,isIpad:a})),ye(ve,{tab:i("common:nav.NewArrivals"),key:"2"},ye(le,{products:s.news,c:t,href:"fr"===Object(H.getSite)()?"nouveaux-arrivages.html":"new-arrivals.html",isIpad:a,t:i})))):ye(x.a.Fragment,null,ye(ee.a,{defaultActiveKey:this.state.initialPageKey,activeKey:this.state.initialPageKey,onTabClick:this.onTabClick,renderTabBar:function(e){return ye(te.b,{data:e})}},ye(ve,{tab:i("common:nav.NewArrivals"),key:"1"},ye(le,{products:s.news,c:t,href:we[c]?we[c]:"new-arrivals.html",isIpad:a,t:i})),ye(ve,{tab:i("common:nav.BestSeller"),key:"2"},ye(le,{products:s.hot,c:t,href:je[c]?je[c]:"z/best-sellers.html",t:i,isIpad:a})))))}}]),t}(b.Component),_e=Object(y.b)(function(e){return{domain:e.common.domain}})(ke),Oe=i("uj2S"),Se=x.a.createElement,Te={de:[{label:"Mit oder ohne Sehst\xe4rke",img:"https://df5apg8r0m634.cloudfront.net/images/2021/0712/8f56adc97418ea40c0677355f55fe2fb.png"},{label:"CE-Zertifizierung",img:"https://df5apg8r0m634.cloudfront.net/images/2021/0712/8f56adc97418ea40c0677355f55fe2fb.png"},{label:"Zufriedenheitsgarantie",img:"https://df5apg8r0m634.cloudfront.net/images/2021/0712/8f56adc97418ea40c0677355f55fe2fb.png"},{label:"24/7 Onlineservice",img:"https://df5apg8r0m634.cloudfront.net/images/2021/0712/8f56adc97418ea40c0677355f55fe2fb.png"}],mx:[{label:"Garant\xeda De Calidad",img:"https://df5apg8r0m634.cloudfront.net/images/2021/0712/8f56adc97418ea40c0677355f55fe2fb.png"},{label:"Seguridad De Pago",img:"https://df5apg8r0m634.cloudfront.net/images/2021/0712/8f56adc97418ea40c0677355f55fe2fb.png"},{label:"Satisfacci\xf3n Garantizada",img:"https://df5apg8r0m634.cloudfront.net/images/2021/0712/8f56adc97418ea40c0677355f55fe2fb.png"},{label:"Chat En Vivo 24/7",img:"https://df5apg8r0m634.cloudfront.net/images/2021/0712/8f56adc97418ea40c0677355f55fe2fb.png"}],fr:[{label:"Assurance qualit\xe9",img:"https://df5apg8r0m634.cloudfront.net/images/2021/0712/8f56adc97418ea40c0677355f55fe2fb.png"},{label:"Certification CE",img:"https://df5apg8r0m634.cloudfront.net/images/2021/0712/8f56adc97418ea40c0677355f55fe2fb.png"},{label:"S\xe9curit\xe9 des paiements",img:"https://df5apg8r0m634.cloudfront.net/images/2021/0712/8f56adc97418ea40c0677355f55fe2fb.png"},{label:"Chat en direct 24/7",img:"https://df5apg8r0m634.cloudfront.net/images/2021/0712/8f56adc97418ea40c0677355f55fe2fb.png"}],it:[{label:"Garanzia di qualit\xe0",img:"https://df5apg8r0m634.cloudfront.net/images/2021/0712/8f56adc97418ea40c0677355f55fe2fb.png"},{label:"Certificazione CE",img:"https://df5apg8r0m634.cloudfront.net/images/2021/0712/8f56adc97418ea40c0677355f55fe2fb.png"},{label:"Sicurezza dei pagamenti",img:"https://df5apg8r0m634.cloudfront.net/images/2021/0712/8f56adc97418ea40c0677355f55fe2fb.png"},{label:"Chat dal vivo 24/7",img:"https://df5apg8r0m634.cloudfront.net/images/2021/0712/8f56adc97418ea40c0677355f55fe2fb.png"}],pt:[{label:"Garantia de qualidade",img:"https://df5apg8r0m634.cloudfront.net/images/2021/0712/8f56adc97418ea40c0677355f55fe2fb.png"},{label:"Certifica\xe7\xe3o CE",img:"https://df5apg8r0m634.cloudfront.net/images/2021/0712/8f56adc97418ea40c0677355f55fe2fb.png"},{label:"Seguran\xe7a de pagamento",img:"https://df5apg8r0m634.cloudfront.net/images/2021/0712/8f56adc97418ea40c0677355f55fe2fb.png"},{label:"Chat em directo",img:"https://df5apg8r0m634.cloudfront.net/images/2021/0712/8f56adc97418ea40c0677355f55fe2fb.png"}]};var Ie=Object(y.b)(function(e){return{domain:e.common.domain,site:e.common.site,siteId:e.common.siteId}})(function(e){var t=e.domain,i=Object(H.getSite)(t);return Te[i]?Se(se.f,{style:{padding:"15px 0",background:"#f5f5f5"}},Se(g.a,{id:"3224439305"},[".icon.jsx-3224439305{width:30px;}"]),Te[i].map(function(e,t){return Se(se.f,{style:{margin:"0 30px"},key:t},e.img&&Se("img",{src:e.img,alt:"",className:"jsx-3224439305 icon"}),Se("div",{className:"jsx-3224439305"},e.label))})):null}),Ce=i("2ksp"),Ne=i("b7Qq"),Ee=i("H2nC"),Le=i("lqN6"),Me=i("Xu9w"),Pe=i("ihKH"),Ae=i("EKWw"),Re=i("x8W1"),Fe=i("pOy0"),De=i("p0XB"),ze=i.n(De),Be=x.a.createElement,Ue=function(e){function t(){return Object(d.a)(this,t),Object(u.a)(this,Object(m.a)(t).apply(this,arguments))}return Object(f.a)(t,e),Object(p.a)(t,[{key:"render",value:function(){var e=this.props,t=e.is_cms,i=e.PcInfobar,n=e.t,a=e.domain,o=i.style,r=i.communication,s=Object(H.getSite)(a);return t&&r.length<1?null:Be(b.Fragment,null,t?Be(b.Fragment,null,Be(g.a,{id:"2341569768"},[]),Be("div",{style:{background:o.imgurl?"url(".concat(o.imgurl,") no-repeat center center"):o.background?o.background:"#f1f1f1",backgroundSize:"100%"},className:"jsx-2341569768 Pc-Infobar-container"},Be("div",{className:"jsx-2341569768"},Be(se.f,{style:{height:"50px"}},r.map(function(e,t){return Be(se.f,{style:{margin:"0 30px"},key:t},Be("img",{style:{width:"30px",marginRight:"5px"},src:e.url,alt:"",className:"jsx-2341569768"}),Be("div",{dangerouslySetInnerHTML:{__html:e.title},style:{width:"100%",fontSize:"14px"},className:"jsx-2341569768"}))}))))):Be(b.Fragment,null,Be(Ie,null),Be("div",null,Object(Oe.c)({isPc:!1,domain:a,site:s})),Be("div",null,Object(Oe.a)({isPc:!0,t:n,domain:a}))))}}]),t}(b.Component),Ge=Object(y.b)(function(e){return{domain:e.common.domain,is_cms:e.pageLayout.is_cms}})(Ue),He=i("hfKm"),qe=i.n(He),Ve=i("2Eek"),We=i.n(Ve),Ye=i("XoMD"),Xe=i.n(Ye),Ke=i("Jo+v"),Qe=i.n(Ke),Je=i("4mXO"),Ze=i.n(Je),$e=i("o5ZL"),et=i("Re13"),tt=i("0q0b"),it=x.a.createElement;function nt(e,t){var i=l()(e);if(Ze.a){var n=Ze()(e);t&&(n=n.filter(function(t){return Qe()(e,t).enumerable})),i.push.apply(i,n)}return i}function at(e){for(var t=1;t0&&i.setState({tptf:e})}).catch(function(){i.setState({tptf:[]})})}),Object(Z.a)(Object(J.a)(i),"getCmsData",function(e){Object(Re.a)(e).then(function(e){e.hot||e.news?e.hot.length<=0&&e.news.length<=0?i.getPreData():i.setState({products:e},function(){i.googleAnalytics()}):i.getPreData()}).catch(function(){i.getPreData()})}),Object(Z.a)(Object(J.a)(i),"getPreData",function(){Object(S.E)({limit:12,type:!0}).then(function(e){i.setState({products:e},function(){i.googleAnalytics()})})}),Object(Z.a)(Object(J.a)(i),"googleAnalytics",function(){var e=i.state.products,t=e.hot,n=e.news;Object(O.bb)({item_list_id:"home hot products",item_list_name:"home hot products",items:Object(O.U)({productList:t})}),Object(O.bb)({item_list_id:"home news products",item_list_name:"home news products",items:Object(O.U)({productList:n})})}),Object(Z.a)(Object(J.a)(i),"onTabClick",function(e){e!==i.state.initialPageKey&&i.setState({initialPageKey:e})}),i}return Object(f.a)(t,e),Object(p.a)(t,[{key:"componentDidMount",value:function(){B.M||(this.googleAnalytics(),this.getData(),this.initTracking())}},{key:"componentWillUnmount",value:function(){this.trackingRefs.forEach(function(e){var t=e.trackId;t&&Object(et.b)(t)}),this.trackingRefs=[]}},{key:"render",value:function(){var e,t=this,i=this.props,n=i.PcProduct,a=void 0===n?{}:n,o=i.t,r=i.c,s=i.isIpad,c=i.is_personalize,l=a.type,d=void 0===l?1:l,p=a.order,u=void 0===p?1:p,m=a.showBest,f=void 0===m||m,h=a.showNew,g=void 0===h||h,b=a.maxwidth,x=void 0===b?1440:b,y=a.style,v=void 0===y?{}:y,j="1"===lt.a.get("is_personalize")||c,w=this.state,k=w.products,_=w.initialPageKey,O=w.tptf;return(e=[{id:0,title:a["new".concat(d)].title,val:"news",products:k.news,isShow:g,href:a["new".concat(d)].shopAll},{id:1,title:a["best".concat(d)].title,val:"hot",isShow:f,products:k.hot,href:a["best".concat(d)].shopAll}].filter(function(e){return e.isShow})).length<1?null:(1!=u&&e.reverse(),j&&O.length>0&&e.unshift({id:0,title:"Recommended for You",val:"Recommended for You",products:O,isShow:!0}),e.forEach(function(e,t){return e.id=t}),pt(te.l,{style:mt({maxWidth:"".concat(x,"px")},v)},pt("div",{ref:this.containerRef},pt(ee.a,{defaultActiveKey:_,activeKey:_,onTabClick:this.onTabClick,renderTabBar:function(e){return pt(te.b,{data:e})}},e.map(function(e,i){return pt(ft,{tab:e.title,key:e.id},e.products.length>0?pt(le,{key:i,products:e.products,c:r,isIpad:s,href:e.href,t:o,type:d,onProductClick:t.handleProductClick}):pt(xe,{type:d}))})))))}}]),t}(b.Component),gt=x.a.createElement;function bt(e,t){var i=l()(e);if(Ze.a){var n=Ze()(e);t&&(n=n.filter(function(t){return Qe()(e,t).enumerable})),i.push.apply(i,n)}return i}function xt(e){for(var t=1;t0?gt(le,{key:i,products:e.products,c:r,isIpad:s,href:e.href,t:o,type:l,onProductClick:t.handleProductClick}):gt(xe,{type:l}))})):a.new.title?gt(le,{key:1,products:j.hot,c:r,isIpad:s,href:a.best.shopAll,t:o,type:l,onProductClick:this.handleProductClick}):gt(le,{key:1,products:j.news,c:r,isIpad:s,href:a.new.shopAll,t:o,type:l,onProductClick:this.handleProductClick}))))}}]),t}(b.Component),jt=(i("IpNk"),x.a.createElement);function wt(e,t){var i=l()(e);if(Ze.a){var n=Ze()(e);t&&(n=n.filter(function(t){return Qe()(e,t).enumerable})),i.push.apply(i,n)}return i}function kt(e){for(var t=1;t5?3:a}};return Tt("div",{className:"jsx-1554372396 firmoo-pc-swiper-container"},Tt(g.a,{id:"1554372396"},[".firmoo-pc-swiper-container{position:relative;margin-left:-10px;margin-right:-10px;}",".firmoo-pc-swiper-container .react-multi-carousel-list{padding-bottom:40px;}",".firmoo-pc-swiper-container .react-multi-carousel-item{padding:0 10px;}",".firmoo-pc-swiper-container .react-multi-carousel-dot button{width:10px;height:10px;display:inline-block;border-radius:100%;background:#000;opacity:0.2;border:none;margin:0 5px;}",".firmoo-pc-swiper-container .react-multi-carousel-dot--active button{opacity:1;background:#26abff;}",".firmoo-pc-swiper-container .react-multiple-carousel__arrow{width:32px;height:32px;min-width:32px;min-height:32px;}",".firmoo-pc-swiper-container .react-multiple-carousel__arrow--right{right:10px;}",".firmoo-pc-swiper-container .react-multiple-carousel__arrow--left{left:10px;}"]),Tt(St.a,{className:"firmoo-pc-swiper",autoPlay:r,showDots:c,infinite:d,responsive:Ct({},p,{},this.props.responsive)},t.map(function(e,t){return i(e,t)})))}}]),t}(b.Component),Et=x.a.createElement;function Lt(e,t){var i=l()(e);if(Ze.a){var n=Ze()(e);t&&(n=n.filter(function(t){return Qe()(e,t).enumerable})),i.push.apply(i,n)}return i}function Mt(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:[],t=i.props.PcCombination,n=t.type,a=void 0===n?1:n,o=t.absolute,r=void 0===o?1:o;if(e.length<1)return null;var s=24;return 2==e.length&&(s=12),3==e.length&&(s=8),Et(b.Fragment,null,Et(g.a,{id:"2317493946"},[".combination-ad-item.jsx-2317493946 .title.jsx-2317493946{font-size:28px !important;font-family:Roboto-Medium;color:#121a24;text-align:center;margin-top:25px;line-height:30px;}",".combination-ad-item.jsx-2317493946 .text.jsx-2317493946{font-size:16px !important;text-align:center;color:#121a24;padding:0 20px;margin:0 20px;margin-top:10px;}",".combination-ad-item.jsx-2317493946 .shopBtn.jsx-2317493946{padding:0 50px;line-height:52px;font-family:Roboto-Medium;background:#121a24;color:#fff;cursor:pointer;text-align:center;font-size:18px;border-radius:4px;margin-top:20px;}",".combination-ad-item.jsx-2317493946 .shopBtn.jsx-2317493946:hover{background:#000;}",".combination-ad-item.jsx-2317493946{position:relative;width:100%;}",".combination-ad-item.jsx-2317493946 .text-layout-2.jsx-2317493946 .shopBtn.jsx-2317493946,.combination-ad-item.jsx-2317493946 .text-layout-3.jsx-2317493946 .shopBtn.jsx-2317493946{margin-bottom:30px;}",".combination-ad-item.jsx-2317493946 .text-layout-3.jsx-2317493946{position:absolute;left:50%;top:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%);padding:0;-webkit-letter-spacing:normal;-moz-letter-spacing:normal;-ms-letter-spacing:normal;letter-spacing:normal;}",".combination-ad-item.jsx-2317493946 .text-layout-4.jsx-2317493946{position:absolute;left:16%;top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);padding:0;-webkit-letter-spacing:normal;-moz-letter-spacing:normal;-ms-letter-spacing:normal;letter-spacing:normal;}",".combination-ad-item.jsx-2317493946 .text-layout-5.jsx-2317493946{position:absolute;right:16%;top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);padding:0;line-height:1;-webkit-letter-spacing:normal;-moz-letter-spacing:normal;-ms-letter-spacing:normal;letter-spacing:normal;}","@media (max-width:1400px){.combination-ad-item.jsx-2317493946 .title.jsx-2317493946{font-size:24px;}.combination-ad-item.jsx-2317493946 .text.jsx-2317493946{font-size:14px;}.combination-ad-item.jsx-2317493946 .shopBtn.jsx-2317493946{line-height:42px;font-size:16px;padding:0 40px;}}"]),Et(me.a,{gutter:30},e.map(function(e,t){return Et(he.a,{span:s,key:t},Et("div",{className:"jsx-2317493946 combination-ad-item"},Et("a",{href:e.href,onClick:function(){Object(O.q)("smallad_".concat(a,"_").concat(t+1),{event_label:e.burial?e.burial:"smallad_".concat(a,"_").concat(t+1,"_").concat(i.props.userInfo.data&&i.props.userInfo.data.is_old_customer?"old":"new").concat(Object(S.F)()?"_login":"")})},className:"jsx-2317493946"},Et(_.a,{defalutImg:e.img})),1!=r&&Et("div",{className:"jsx-2317493946 "+((r&&1!=r?"text-layout-".concat(r):"")||"")},e.title&&Et("div",{dangerouslySetInnerHTML:{__html:e.title},className:"jsx-2317493946 title"}),e.text&&Et("div",{dangerouslySetInnerHTML:{__html:e.text},className:"jsx-2317493946 text"}),e.shopBtn&&Et(se.f,null,Et("a",{href:e.href,className:"jsx-2317493946"},Et("div",{className:"jsx-2317493946 shopBtn"},Et("span",{dangerouslySetInnerHTML:{__html:e.shopBtn},className:"jsx-2317493946"})))))))})))}),Object(Z.a)(Object(J.a)(i),"renderLayout2",function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=i.props.PcCombination.isAutoplay,a=void 0!==n&&n;return Et(Nt,{data:e,renderItem:i.sliderItem,showDots:!0,autoPlay:a,slidesToShow:t})}),Object(Z.a)(Object(J.a)(i),"renderLayout3",function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=i.props.PcCombination,n=t.type,a=void 0===n?1:n,o=t.absolute,r=void 0===o?1:o;if(e.length<1)return null;var s=24;2==e.length&&(s=12),3==e.length&&(s=8);var c=1===a?{height:"380px",maxWidth:"100%",width:"auto",objectFit:"cover"}:{};return Et(b.Fragment,null,Et(g.a,{id:"1306503078"},[".combination-ad-item.jsx-1306503078{position:relative;width:100%;}",".combination-ad-item.jsx-1306503078:not(.combination-ad-item-2){height:100%;}",".combination-ad-item.jsx-1306503078 .text-layout-common.text-layout-2.jsx-1306503078{position:relative;top:0;margin-top:40px;}"]),Et(me.a,{gutter:30},e.map(function(e,t){return Et(he.a,{span:s,key:t},Et("div",{className:"jsx-1306503078 "+"combination-ad-item combination-ad-item-".concat(r)},Et("a",{href:e.href,onClick:function(){Object(O.q)(e.burial?e.burial:"smallad_".concat(a,"_").concat(t+1),{event_label:"smallad_".concat(a,"_").concat(t+1,"_").concat(i.props.userInfo.data&&i.props.userInfo.data.is_old_customer?"old":"new").concat(Object(S.F)()?"_login":"")})},className:"jsx-1306503078"},Et(_.a,{defalutImg:e.img,imageStyle:c,wrapStyle:{height:"100%"}})),1!=r&&Et(_t,{absolute:r,item:e})))})))}),Object(Z.a)(Object(J.a)(i),"renderLayout4",function(){var e=i.props.PcCombination.ad_list4,t=void 0===e?[]:e;return Et(b.Fragment,null,Et(g.a,{id:"142307806"},[".combination-ad-item.jsx-142307806{margin-bottom:-16px;}",".combination-ad-item.jsx-142307806 .title.jsx-142307806{font-size:28px !important;font-family:Roboto-Medium;margin-top:40px;color:#121a24;text-align:center;}",".combination-ad-item.jsx-142307806 .text.jsx-142307806{font-size:16px !important;margin-top:14px;text-align:center;color:#121a24;padding:0 20px;}",".combination-ad-item.jsx-142307806 .shopBtn.jsx-142307806{padding:0 50px;line-height:52px;font-family:Roboto-Medium;background:#121a24;color:#fff;cursor:pointer;text-align:center;font-size:18px;border-radius:4px;margin-top:20px;}",".combination-ad-item.jsx-142307806 .shopBtn.jsx-142307806:hover{background:#000;}",".combination-ad-item.jsx-142307806{position:relative;}",".combination-ad-item.jsx-142307806 .text-layout.jsx-142307806{position:absolute;top:0;bottom:0;margin:auto;max-width:380px;}",".combination-ad-item.jsx-142307806 .text-layout0.jsx-142307806{left:16%;}",".combination-ad-item.jsx-142307806 .text-layout1.jsx-142307806{right:16%;}","@media (max-width:1400px){.combination-ad-item.jsx-142307806 .title.jsx-142307806{font-size:28px;}.combination-ad-item.jsx-142307806 .text.jsx-142307806{font-size:16px;}.combination-ad-item.jsx-142307806 .shopBtn.jsx-142307806{line-height:42px;font-size:16px;padding:0 40px;}}"]),Et("div",{className:"jsx-142307806"},t.map(function(e,t){return Et("div",{key:t,style:{marginBottom:0===t?"40px":0},className:"jsx-142307806 combination-ad-item"},Et("a",{href:e.href,className:"jsx-142307806"},Et(_.a,{defalutImg:e.img})),(e.title||e.shopBtn)&&Et("div",{className:"jsx-142307806 "+"text-layout ".concat("text-layout"+t)},e.title&&Et("div",{dangerouslySetInnerHTML:{__html:e.title},className:"jsx-142307806 title"}),e.text&&Et("div",{dangerouslySetInnerHTML:{__html:e.text},className:"jsx-142307806 text"}),e.shopBtn&&e.href&&Et(se.f,null,Et("a",{href:e.href,className:"jsx-142307806"},Et("div",{className:"jsx-142307806 shopBtn"},e.shopBtn)))))})))}),i}return Object(f.a)(t,e),Object(p.a)(t,[{key:"render",value:function(){var e=this.props.PcCombination,t=e.type,i=e.ad_list1,n=void 0===i?[]:i,a=e.ad_list2,o=void 0===a?[]:a,r=e.ad_list3,s=void 0===r?[]:r,c=e.newAdList1,l=void 0===c?[]:c,d=e.newAdList2,p=void 0===d?[]:d,u=e.newAdList3,m=void 0===u?[]:u,f=e.isAutoplay,h=void 0!==f&&f,g=e.maxwidth,b=void 0===g?1440:g,x=e.style,y=void 0===x?{}:x,v=l[0]?[l[0]]:n,j=p[0]?[p[0],p[1]]:o,w=m[0]?[m[0],m[1],m[2]]:s;return Et(te.l,{style:Mt({maxWidth:"".concat(b,"px")},y),className:"pcCombination-container ".concat(2===e.absolute?"use-current-class":"")},l[0]||1!==t?h?1===t&&this.renderLayout2(l,1):1===t&&this.renderLayout3(v):this.renderLayout1(v),p[0]||2!==t?h?2===t&&this.renderLayout2(p,2):2===t&&this.renderLayout3(j):this.renderLayout1(j),m[0]||3!==t?h?3===t&&this.renderLayout2(m,3):3===t&&this.renderLayout3(w):this.renderLayout1(w))}}]),t}(b.Component),At=Object(y.b)(function(e){return{userInfo:e.userInfo}})(Pt),Rt=i("KCnT"),Ft=i("Wa2I"),Dt=i.n(Ft),zt=i("2wwy"),Bt=i.n(zt),Ut=i("t/7h"),Gt=i("JZR5"),Ht=i("JtLL"),qt=i("PzMG"),Vt=i("KviV"),Wt=x.a.createElement,Yt={1:9,2:6,3:4};function Xt(e,t){for(var i=0,n=[];i=10||(i.number=i.number+1,Object(Ut.a)(10*Yt[i.props.type]).then(function(e){var t=[];t=e instanceof Object?Bt()(e):e,i.setState(function(e){return{showData:Xt(t,Yt[i.props.type]),loading:!1}})}))}),Object(Z.a)(Object(J.a)(i),"renderLayout1",function(e){return Wt(b.Fragment,null,Wt(g.a,{id:"1162952832"},[".item-img-container.jsx-1162952832{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;}",".item-img-box1.jsx-1162952832{width:32%;height:460px;margin-right:20px;margin-bottom:20px;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;}",".item-img-box2.jsx-1162952832{width:100%;height:220px;margin-bottom:20px;}",".item-img-box.jsx-1162952832{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;overflow:hidden;}",".modal-button.jsx-1162952832:hover{background-color:transparent;color:black;}",".modal-button.jsx-1162952832{background-color:black;display:inline-block;padding:5px 10px;text-align:center;border:1px solid black;line-height:22px;color:white;}"]),Wt("div",{className:"jsx-1162952832 item-img-container"},Wt("div",{onClick:function(){i.onModalShow(e[0])},className:"jsx-1162952832 item-img-box item-img-box1"},Wt(Gt.a,{src:e[0].reviews_photo||e[0].img,link:"".concat(e[0].products_id?e[0].products_id:e[0].link),notCustomer:!e[0].products_id,t:i.props.t})),Wt(me.a,{gutter:20,style:{width:"100%"}},e.map(function(e,t){if(0!=t)return Wt(b.Fragment,{key:t},Wt(he.a,{span:6},Wt("div",{onClick:function(){i.onModalShow(e)},className:"jsx-1162952832 item-img-box item-img-box2"},Wt(Gt.a,{src:e.reviews_photo||e.img,link:"".concat(e.products_id?e.products_id:e.link),notCustomer:!e.products_id,t:i.props.t}))))}))))}),Object(Z.a)(Object(J.a)(i),"renderLayout2",function(e){return Wt(b.Fragment,null,Wt(g.a,{id:"1162952832"},[".item-img-container.jsx-1162952832{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;}",".item-img-box1.jsx-1162952832{width:32%;height:460px;margin-right:20px;margin-bottom:20px;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;}",".item-img-box2.jsx-1162952832{width:100%;height:220px;margin-bottom:20px;}",".item-img-box.jsx-1162952832{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;overflow:hidden;}",".modal-button.jsx-1162952832:hover{background-color:transparent;color:black;}",".modal-button.jsx-1162952832{background-color:black;display:inline-block;padding:5px 10px;text-align:center;border:1px solid black;line-height:22px;color:white;}"]),Wt("div",{className:"jsx-1162952832 item-img-container"},e[0]&&Wt("div",{onClick:function(){i.onModalShow(e[0])},className:"jsx-1162952832 item-img-box item-img-box1"},Wt(Gt.a,{src:e[0].reviews_photo||e[0].img,link:"".concat(e[0].products_id?e[0].products_id:e[0].link),notCustomer:!e[0].products_id,t:i.props.t})),e[1]&&Wt("div",{onClick:function(){i.onModalShow(e[1])},className:"jsx-1162952832 item-img-box item-img-box1"},Wt(Gt.a,{src:e[1].reviews_photo||e[1].img,link:"".concat(e[1].products_id?e[1].products_id:e[1].link),notCustomer:!e[1].products_id,t:i.props.t})),Wt(me.a,{gutter:20,style:{width:"100%"}},e.map(function(e,t){if(t>1&&t<6)return Wt(b.Fragment,{key:t},Wt(he.a,{span:12},Wt("div",{onClick:function(){i.onModalShow(e)},className:"jsx-1162952832 item-img-box item-img-box2"},Wt(Gt.a,{src:e.reviews_photo||e.img,link:"".concat(e.products_id?e.products_id:e.link),notCustomer:!e.products_id,t:i.props.t}))))}))))}),Object(Z.a)(Object(J.a)(i),"renderLayout3",function(e){return Wt(b.Fragment,null,Wt(g.a,{id:"3267426500"},[".item-img-container.jsx-3267426500{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;}",".item-img-box2.jsx-3267426500{width:100%;height:353px;}",".item-img-box.jsx-3267426500{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;overflow:hidden;}"]),Wt("div",{className:"jsx-3267426500 item-img-container"},Wt(me.a,{gutter:20,style:{width:"100%"}},e.map(function(e,t){if(t<4)return Wt(b.Fragment,{key:t},Wt(he.a,{span:6},Wt("div",{onClick:function(){i.onModalShow(e)},className:"jsx-3267426500 item-img-box item-img-box2"},Wt(Gt.a,{src:e.reviews_photo||e.img,link:"".concat(e.products_id?e.products_id:e.link),notCustomer:!e.products_id,t:i.props.t}))))}))))}),Object(Z.a)(Object(J.a)(i),"onModalShow",function(e){i.setState({modalContent:e,isShow:!0})}),Object(Z.a)(Object(J.a)(i),"modalContent",function(){var e=i.state.modalContent,t=i.props.t,n=e.reviews_photo,a=(e.webp_url,e.product_image),o=e.products_id,r=e.products_model,s=e.products_name_attribute,c=e.reviews_rating,l=e.reviews_text,d=e.customers_name,p=e.date_added,u=e.master_categories_id;return Wt("div",null," ",i.state.showData.length>0&&Wt("div",{className:"jsx-3483068578 content-container"},Wt(g.a,{id:"3483068578"},[".modal-button.jsx-3483068578:hover{background-color:transparent;color:black;}",".modal-button.jsx-3483068578{background-color:black;display:inline-block;padding:5px 10px;text-align:center;border:1px solid black;line-height:22px;color:white;}",".active.jsx-3483068578{display:block;}",".inactive.jsx-3483068578{display:none !important;}",".custom-modal.jsx-3483068578{width:800px;position:relative;}"]),Wt("div",{style:{display:"flex",alignItems:"center",paddingBottom:"20px"},className:"jsx-3483068578"},Wt(G.c,{href:{pathname:"/pc/customershow",query:{column1:"Shape",type:0,limit:30,page:1}}},Wt("a",{style:{color:"#26ABFF"},className:"jsx-3483068578"}," ",Wt("div",{style:{display:"flex",alignItems:"center"},className:"jsx-3483068578"},Wt("svg",{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"6957",width:"16",height:"16",className:"jsx-3483068578"},Wt("path",{d:"M475.428571 585.142857v219.428572c0 40.009143-33.133714 73.142857-73.142857 73.142857H109.714286c-40.009143 0-73.142857-33.133714-73.142857-73.142857v-219.428572c0-40.009143 33.133714-73.142857 73.142857-73.142857h292.571428c40.009143 0 73.142857 33.133714 73.142857 73.142857z m0-438.857143v219.428572c0 40.009143-33.133714 73.142857-73.142857 73.142857H109.714286c-40.009143 0-73.142857-33.133714-73.142857-73.142857V146.285714c0-40.009143 33.133714-73.142857 73.142857-73.142857h292.571428c40.009143 0 73.142857 33.133714 73.142857 73.142857z m512 438.857143v219.428572c0 40.009143-33.133714 73.142857-73.142857 73.142857h-292.571428c-40.009143 0-73.142857-33.133714-73.142857-73.142857v-219.428572c0-40.009143 33.133714-73.142857 73.142857-73.142857h292.571428c40.009143 0 73.142857 33.133714 73.142857 73.142857z m0-438.857143v219.428572c0 40.009143-33.133714 73.142857-73.142857 73.142857h-292.571428c-40.009143 0-73.142857-33.133714-73.142857-73.142857V146.285714c0-40.009143 33.133714-73.142857 73.142857-73.142857h292.571428c40.009143 0 73.142857 33.133714 73.142857 73.142857z",fill:"#26ABFF","p-id":"6958",className:"jsx-3483068578"})),Wt("span",{style:{marginLeft:"5px"},className:"jsx-3483068578"},t("common:View_More")))))),Wt("div",{style:{width:"768px",maxWidth:"100%",margin:"0 auto",display:"flex",justifyContent:"space-between",flexWrap:"nowrap"},className:"jsx-3483068578 content-container"},Wt("div",{style:{width:"60%",padding:"0 10px"},className:"jsx-3483068578"},Wt(_.a,{defalutImg:i.srcFormate(n)})),Wt("div",{style:{width:"100%",padding:"0 10px"},className:"jsx-3483068578"},Wt("p",{style:{textAlign:"center",width:"220px",margin:"0 auto"},className:"jsx-3483068578"},Wt(_.a,{defalutImg:Object(B.Q)(o,"small",1,a)})),Wt("p",{style:{textAlign:"center"},className:"jsx-3483068578"},Wt(G.c,{href:"/pc/productDetail/"+o+"?master_categories_id="+u},Wt("a",{className:"jsx-3483068578"},s||r))),Wt("hr",{style:{margin:"10px 0 20px 0"},className:"jsx-3483068578"}),Wt("p",{style:{color:"rgb(51, 51, 51)",display:"flex",alignItems:"center",flexWrap:"nowrap"},className:"jsx-3483068578"},"".concat(t("common:Rating"),":")," ",Wt(qt.a,{star:Dt()(c),size:"22px"})),Wt("p",{style:{color:"rgb(51, 51, 51)"},dangerouslySetInnerHTML:{__html:l},className:"jsx-3483068578"}),Wt("p",{style:{color:"rgb(153, 153, 153)"},className:"jsx-3483068578"},"by ".concat(d," on ").concat(i.dateForm(p))," "),Wt("p",{className:"jsx-3483068578"},Wt(G.c,{href:"/pc/productDetail/"+o+"?master_categories_id="+u},Wt("a",{className:"jsx-3483068578"}," ",Wt("span",{className:"jsx-3483068578 modal-button"},t("common:SHOP_THIS_LOOK"))," ")))))))}),Object(Z.a)(Object(J.a)(i),"dateForm",function(e){var t=Object(B.Bb)(e);return t=t.month+" "+t.day+" , "+t.year}),i}return Object(f.a)(t,e),Object(p.a)(t,[{key:"componentDidMount",value:function(){this.getData()}},{key:"render",value:function(){var e=this,t=this.props.type,i=void 0===t?1:t;return this.state.loading?Wt(se.f,{style:{height:"300px"}},Wt(Vt.a,null)):Wt(b.Fragment,null,Wt(g.a,{id:"2704501294"},[".user-img-show.jsx-2704501294{position:relative;}",".product-glyphicon.jsx-2704501294{width:32px;height:32px;background:rgba(70,76,81,0.6);box-shadow:0px 0px 3px 1px rgba(0,0,0,0.16);cursor:pointer;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:absolute;top:180px;border-radius:50%;z-index:9;padding:10px;color:#fff;}",".product-glyphicon.jsx-2704501294:hover{background-color:#464c51;}",".product-glyphicon-left.jsx-2704501294{left:5px;}",".product-glyphicon-right.jsx-2704501294{right:5px;left:auto;}"]),Wt("div",{className:"jsx-2704501294 user-img-show"},this.state.activeIndex>0&&Wt("div",{onClick:function(){e.state.activeIndex<=0||(e.Slider&&e.Slider.prev(),e.setState(function(e){return{activeIndex:e.activeIndex-1}}))},className:"jsx-2704501294 product-glyphicon product-glyphicon-left"}," ",Wt(re.a,{icon:"icon-arrow-left",style:{fontWeight:"bold"}})),this.state.activeIndex<10&&Wt("div",{onClick:function(){e.Slider&&e.Slider.next(),e.state.activeIndex>=10||e.setState(function(e){return{activeIndex:e.activeIndex+1}})},className:"jsx-2704501294 product-glyphicon product-glyphicon-right"},Wt(re.a,{icon:"icon-arrow-right",style:{fontWeight:"bold"}})),Wt(k.a,{ref:function(t){return e.Slider=t},draggable:!0,initialSlide:this.state.activeIndex,infinite:!1,dots:!1},this.state.showData.map(function(t,n){return Wt("div",{key:n,className:"jsx-2704501294"},1==i&&e.renderLayout1(t),2==i&&e.renderLayout2(t),3==i&&e.renderLayout3(t))}))),Wt(Ht.a,{title:"",show:this.state.isShow,dialogClassName:"custom-modal",closeModal:function(){return e.setState({isShow:!1})},content:this.modalContent()}))}}]),t}(b.Component),Qt=i("ZDbh"),Jt=x.a.createElement;function Zt(e,t){var i=l()(e);if(Ze.a){var n=Ze()(e);t&&(n=n.filter(function(t){return Qe()(e,t).enumerable})),i.push.apply(i,n)}return i}function $t(e){for(var t=1;t3&&Jt("div",{onClick:function(){return i.Slider&&i.Slider.prev()},className:"jsx-3450515591 product-glyphicon product-glyphicon-left"}," ",Jt(re.a,{icon:"icon-arrow-left"})),o.length>3&&Jt("div",{onClick:function(){return i.Slider&&i.Slider.next()},className:"jsx-3450515591 product-glyphicon product-glyphicon-right"},Jt(re.a,{icon:"icon-arrow-right"})),Jt(k.a,{ref:function(e){return i.Slider=e},draggable:!0,infinite:!1,slidesToShow:3,slidesToScroll:3,dots:!1,centerMode:!0},o.map(function(e,t){return Jt("div",{key:t,className:"jsx-3450515591 adv"},e.url.indexOf("www.youtube.com")>0?Jt("iframe",{style:{maxWidth:"100%",width:"100%",height:"248px",border:"none"},src:e.url,allow:"autoplay; encrypted-media",title:e.url,className:"jsx-3450515591"}):Jt(Rt.a,{autoPlay:!1,loop:!1,url:e.url,style:{height:"248px",objectFit:"cover"}}),e.title&&Jt("div",{dangerouslySetInnerHTML:{__html:e.title},className:"jsx-3450515591 video-text"}),Jt(se.f,{justify:"space-between",style:{marginTop:"20px"}},e.ids&&Jt("div",{className:"jsx-3450515591"},Jt("span",{className:"jsx-3450515591"},n("common:FRAME"),":"," ",Jt("a",{href:e.link,className:"jsx-3450515591"},e.ids)," ")),e.author&&Jt("div",{className:"jsx-3450515591"},"@",e.author)))}))))}),i}return Object(f.a)(t,e),Object(p.a)(t,[{key:"render",value:function(){var e=this.props,t=e.PcShow,i=e.t,n=t.title,a=t.title1,o=t.title2,r=t.title1visit,s=t.title2visit,c=(t.videos,t.imgList),l=void 0===c?[]:c,d=t.type,p=void 0===d?1:d,u=t.text,m=t.maxwidth,f=void 0===m?1440:m,h=t.style,g=void 0===h?{}:h;if(!r&&!s)return null;var x=[{title:a,content:function(){return Jt("div",{style:{paddingTop:"20px"}},Jt(se.f,{justify:"flex-end",style:{marginBottom:"10px"}},Jt("a",{style:{padding:"10px",textTransform:"uppercase"},href:"/z/customershowpage.html"},i("common:View_More"))),Jt(Kt,{t:i,list:l,type:p}))}},{title:o,content:this.renderVideo}];return r||(x=x.filter(function(e){return e.title!=a})),s||(x=x.filter(function(e){return e.title!=o})),Jt(te.l,{style:$t({maxWidth:"".concat(f,"px")},g),className:"PcShow"},Jt(b.Fragment,null,Jt(Qt.b,{style:{textAlign:"center"},dangerouslySetInnerHTML:{__html:n}}),Jt(Qt.a,{style:{textAlign:"center"},dangerouslySetInnerHTML:{__html:u}})),x.length>1?Jt(ee.a,{defaultActiveKey:this.state.initialPageKey,activeKey:this.state.initialPageKey,onTabClick:this.onTabClick,renderTabBar:function(e){return Jt("div",{style:{borderBottom:"1px solid #e4e4e4"}},Jt(te.b,{size:"small",data:e}))}},x.map(function(e,t){return Jt(ei,{tab:e.title,key:"".concat(t+1)},e.content())})):x[0].content())}}]),t}(b.Component),ii=i("A6FJ"),ni=i("M1o9"),ai=x.a.createElement;function oi(e,t){var i=l()(e);if(Ze.a){var n=Ze()(e);t&&(n=n.filter(function(t){return Qe()(e,t).enumerable})),i.push.apply(i,n)}return i}function ri(e){for(var t=1;t1&&di(b.Fragment,null,di("a",{onClick:function(){return si&&si.prev()},className:"jsx-3081612839 glyphiconBtn glyphicon glyphicon-chevron-left"}),di("a",{onClick:function(){return si&&si.next()},className:"jsx-3081612839 glyphiconBtn glyphicon glyphicon-chevron-right"})),di(k.a,{ref:function(e){return si=e},infinite:!0,draggable:!0,autoplay:!0,dotsClass:"pc-carousel-dot-item"},o.map(function(t,i){return di("div",{key:i,onClick:function(){return e.handleBannerClick(t,i,1)},className:"jsx-3081612839 pc-banner-img"},di("a",{href:t.link,className:"jsx-3081612839 a_href"},di($e.a,{defalutImg:t.img||t.url})))})))))}}]),t}(b.Component),fi=x.a.createElement;function hi(e,t){var i=l()(e);if(Ze.a){var n=Ze()(e);t&&(n=n.filter(function(t){return Qe()(e,t).enumerable})),i.push.apply(i,n)}return i}function gi(e){for(var t=1;t0&&e.products_color_relation[0].product_price.discount_price&&zi("div",{className:"jsx-2344799979 price-coll"},i.props.c(e.products_color_relation[0].product_price.price)),e.products_color_relation&&e.products_color_relation.length>0&&e.products_color_relation[0].product_price.price&&zi("div",{className:"jsx-2344799979 price"},i.props.c(e.products_color_relation[0].product_price.discount_price?e.products_color_relation[0].product_price.discount_price:e.products_color_relation[0].product_price.price))))))}),Object(Z.a)(Object(J.a)(i),"getObjectByFieldValue",function(e,t){return e.find(function(e){return e.componentUniqueId===i.props.componentUniqueId})}),Object(Z.a)(Object(J.a)(i),"getCmsData",function(e){var t=i.props,n=t.PcProductRecommendations,a=void 0===n?{}:n,o=t.ProductList,r=void 0===o?[]:o,s=i.getObjectByFieldValue(r,a.componentUniqueId);return s&&s.recommend2&&s.recommend2.length>0?s.recommend2:[]}),i}return Object(f.a)(t,e),Object(p.a)(t,[{key:"componentDidMount",value:function(){this.getData(),this.initTracking()}},{key:"componentWillUnmount",value:function(){this.trackingRefs.forEach(function(e){var t=e.trackId;t&&Object(et.b)(t)}),this.trackingRefs=[]}},{key:"render",value:function(){var e=this.props.PcProductRecommendations,t=e.bgcolor,i=e.bgimg,n=e.titleColor,a=e.title,o=e.iscountdown,r=e.countdownUs,s=e.ends,c=e.shopMore,l=e.link,d=(e.productList,e.maxwidth),p=void 0===d?1440:d,u=e.style,m=void 0===u?{}:u,f=r&&r[0]?new Date(r[0]).getTime()/1e3:0,h=r&&r[0]?new Date(r[1]).getTime()/1e3:0;return this.productsVal=this.getCmsData(),zi(te.l,{style:Ui({padding:"0 30px",paddingTop:"140px",paddingBottom:"40px",background:t||"url('".concat(i,"') no-repeat"),backgroundSize:"100% 100%",maxWidth:"".concat(p,"px")},m),className:"slider-wrapper-pc-layout PcProductRecommendations"},zi("div",{ref:this.containerRef,className:"jsx-1333973039"},zi(g.a,{id:"1333973039"},[".title.jsx-1333973039{font-size:36px;font-family:Roboto-Medium;}",".concent.jsx-1333973039{font-size:20px;font-family:Roboto-Medium;-webkit-text-decoration:underline;text-decoration:underline;cursor:pointer;}",".concent1.jsx-1333973039{font-size:20px;font-family:Roboto-Medium;margin-right:10px;}",".content-wrapper.jsx-1333973039{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;margin:0 auto;}",".title-wrapper.jsx-1333973039{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding-bottom:40px;max-width:1185px;margin:0 auto;width:100%;}"]),this.productsVal.length>0?zi("div",{style:{maxWidth:"1200px",margin:"0 auto"},className:"jsx-1333973039"},zi("div",{className:"jsx-1333973039 content-wrapper"},zi("div",{className:"jsx-1333973039 title-wrapper"},zi("div",{style:{color:n},className:"jsx-1333973039 title"},a),zi("div",{style:{display:"flex",flexDirection:"row",alignItems:"center"},className:"jsx-1333973039"},o&&zi(Fi.a,{startTime:f,t:this.props.t,lastTime:h,calligraphy:e.calligraphy,countdownBackgroundColor:e.countdownBackgroundColor},zi("div",{style:{color:n},className:"jsx-1333973039 concent1"},s)),zi("a",{target:"_blank",style:{color:n,marginLeft:"50px"},href:l,className:"jsx-1333973039 concent"},c))),zi(Li.a,{className:"PcProductRecommendations",sliders:this.productsVal,renderItem:this.sliderItem,slidesConfig:{initial:1,slides:{perView:3,spacing:15,origin:"center"}},arrow:!0,arrowProps:{left:{disabledIndex:1},right:{disabledIndex:2}}}))):zi(xe,{type:3})))}}]),t}(b.Component),Hi=i("QVFO"),qi=x.a.createElement,Vi=function(e){function t(){var e,i;Object(d.a)(this,t);for(var n=arguments.length,a=new Array(n),r=0;r0?qi(vt,{PcProduct:e.props,componentUniqueId:e.componentUniqueId,key:o,products:n,ProductList:c,c:i,t:t,isIpad:a,is_personalize:s,moduleType:e.name}):qi(te.l,{style:{maxWidth:"1440px",margin:"60px auto 0"}},qi(xe,{type:e.props.type}));case"PcProductRecommendations":return qi(Gi,{key:o,PcProductRecommendations:e.props,componentUniqueId:e.componentUniqueId,ProductList:c,c:i,t:t});case"PcBubble":return qi(rt,{key:o,PcBubble:e.props});case"PcProduct":return qi(ht,{PcProduct:e.props,key:o,products:n,c:i,t:t,isIpad:a,is_personalize:s,moduleType:e.name});case"PcCombination":return qi(At,{key:o,PcCombination:e.props});case"PcShow":return qi(ti,{key:o,PcShow:e.props,t:t});case"PcVideos":return qi(ci,{key:o,PcVideos:e.props,t:t});case"PcSubscription":return qi(li.a,{key:o,PcSubscription:e.props,t:t});case"Customize":return qi(xi.a,{key:o,device:"pc",html:{html:e.props.content},EvalAddScript:e.props});default:return null}}))}}]),t}(b.Component),Wi=Object(y.b)(function(e){return{userInfo:e.userInfo.data,domain:e.common.domain}})(Vi),Yi=i("0Spu"),Xi=x.a.createElement,Ki=function(e){function t(){return Object(d.a)(this,t),Object(u.a)(this,Object(m.a)(t).apply(this,arguments))}return Object(f.a)(t,e),Object(p.a)(t,[{key:"componentDidMount",value:function(){var e=this;Yi.b.init({pageType:Yi.a.HOME,domain:this.props.domain}),this.props.GoogleAnalytics({ecomm_prodid:"",ecomm_pagetype:"home",ecomm_totalvalue:0});Object(H.getSite)(this.props.domain);Le.a.viewHome(),Object(B.y)()&&Object(Ee.h)().then(function(t){e.props.setUserFavorite(Object(B.l)(t,"colors_id"))})}},{key:"render",value:function(){var e=this,t=this.props,i=t.EmbedData,n=void 0===i?{}:i,a=t.userInfo,o=t.products,r=t.date,s=t.isIpad,c=t.t,d=t.c,p=t.banner234,u=t.banner5678,m=t.domain,f=t.is_cms,h=t.pageList,y=t.is_personalize,v=a&&a.is_old_customer||!1,w=n.BODY,k=Object(H.getSiteConfiguration)("isShowUserShow",m),_=Object(H.getSiteConfiguration)("isShowVideo",m),T=Object(H.getSite)(m),I=Object(H.getSiteConfiguration)("isSeoShowDomain",m),C=Object(H.getSiteConfiguration)("seoSite",m),L=Object(H.getSiteConfiguration)("seoSiteTitle",m);return Xi("div",{className:"jsx-3026618651 pc-home-page"},Xi(Pe.a,null),Xi(Me.a,{isPc:!0,mountType:2}),Xi(g.a,{id:"3026618651"},[".pc_category_box.jsx-3026618651{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;padding:40px 0 80px;}",".pc_category_item.jsx-3026618651{width:196px;height:196px;padding:20px;}",".pc_category_name.jsx-3026618651{line-height:1;text-align:center;font-size:18px;padding-top:20px;}"]),Xi(Q,{title:"".concat(I?C+" - ":"").concat(c(L)),description:"fm"===T?"Buy stylish prescription glasses, reading glasses, tinted sunglasses online on Chiceyes. Buy one get one free, plus extra 15% off lenses now. 30-day Return & Exchange. 24/7 Live-Chat. Free shipping.":c("common:seo.index.description"),keywords:c("common:seo.index.keywords")}),Xi(j.a,{is_show_vat:!0,t:c,insert:w,isIpad:s,page_name:"index"},f&&h.length>0?Xi(Wi,{pageList:h,products:o,isIpad:s,t:c,c:d,is_personalize:y}):Xi(b.Fragment,null,Xi(N,{data:p}),Xi("div",{className:"jsx-3026618651"},Object(Oe.c)({isPc:!0,site:T,domain:m})),Xi("div",{className:"jsx-3026618651"},Object(Oe.a)({isPc:!0,t:c,domain:m})),Xi(Ie,null),"fm"!==Object(H.getSite)(m)&&Xi(Ce.a,{mobile:!1,t:c}),Xi("div",{className:"jsx-3026618651 pc_category_box"},u&&u.filter&&u.filter(function(e){return l()(e).length}).map(function(t,i){return Xi("div",{key:i,className:"jsx-3026618651 pc_category_item"},Xi(te.a,{data:t,pc:!0,onClick:function(){Object(O.v)(i+1,{event_label:"entrance".concat(i+1,"_").concat(e.props.userInfo.is_old_customer?"old":"new").concat(Object(S.F)()?"_login":"")})}}),Xi("div",{className:"jsx-3026618651 pc_category_name"},t.two||""))})||""),Xi(_e,{c:d,isOldUser:v,t:c,date:r,isIpad:s}),Xi(F,null),k&&Xi(D.a,{t:this.props.t}),_&&Xi(x.a.Fragment,null,Xi(te.r,{height:"80px"}),Xi(W,{t:c})),Xi("div",{style:{padding:"20px 0"},className:"jsx-3026618651"},Xi(E.a,{isIpad:s}))),this.props.tryOnOn&&Xi(Ae.a,null),Xi(z.b,{t:c,date:r,isIpad:s,isHomePage:!0})))}}],[{key:"getInitialProps",value:function(){var e=Object(s.a)(o.a.mark(function e(t){var i,n,a,s,c,l,d,p,u,m,f,h,g,b,x,y;return o.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:i=t.req,n=t.query,a=void 0===n?{}:n,s=t.reduxStore,c=B.M?i.get("host"):window.location.host,l=Object(H.getEnv)("LANGUAGE",c),d=Object(H.getSiteId)(c),p=B.M?i.cookies:null,u=B.M?a:Object(B.w)(),m=B.M?i.isIpad:/iPad/i.test(navigator.userAgent),f=p&&"1"===p.is_personalize,h=[],g=[],b=[],x=!1;try{x=Object(H.getSiteConfiguration)("is_cms",c),s.dispatch(Object(Fe.c)("is_cms",x))}catch(o){console.log("cms error",o),s.dispatch(Object(Fe.c)("is_cms",!1)),x=!1}if(y=[],!x){e.next=33;break}return e.prev=15,e.next=18,Object(Re.c)({deviceType:1,pageType:"home",cookie:p,req:i,sublink:a.sublink,childProductId:a.childProductId},l,d);case 18:return y=e.sent,e.next=21,s.dispatch(Object(Fe.b)(y.pageData,1));case 21:return e.next=23,s.dispatch(Object(Fe.a)(y.config));case 23:e.next=33;break;case 25:return e.prev=25,e.t0=e.catch(15),console.log("getPageLayout error",e.t0),s.dispatch(Object(Fe.c)("is_cms",!1)),e.next=31,Object(S.i)("33,14,8,32,80,81,82,83,84,85",p,l,d);case 31:h=e.sent,x=!1;case 33:if(!a.preview_cms){e.next=51;break}return e.prev=34,e.next=37,Object(Re.d)({deviceType:1,pageType:"home",cookie:p,id:a.preview_cms,childId:a.childId},l,d);case 37:if(!(y=e.sent)||!y.pageData){e.next=45;break}return e.next=41,s.dispatch(Object(Fe.b)(y.pageData,1));case 41:return e.next=43,s.dispatch(Object(Fe.a)(y.config));case 43:s.dispatch(Object(Fe.c)("is_cms",!0)),x=!0;case 45:e.next=51;break;case 47:e.prev=47,e.t1=e.catch(34),console.log("pageData error",e.t1),y=[];case 51:if(x){e.next=55;break}return e.next=54,Object(S.i)("33,14,8,32,80,81,82,83,84,85",p,l,d);case 54:h=e.sent;case 55:return h&&h.length>0&&(g=Object(r.a)(h).splice(0,4),b=Object(r.a)(h).splice(4,6)),e.abrupt("return",{banner234:g,banner5678:b,urlData:u,isIpad:m,is_personalize:f});case 57:case"end":return e.stop()}},e,null,[[15,25],[34,47]])}));return function(t){return e.apply(this,arguments)}}()}]),t}(x.a.Component);t.default=Object(y.b)(function(e){return{domain:e.common.domain,userInfo:e.userInfo.data,is_cms:e.pageLayout.is_cms,pageList:e.pageLayout.pageList,config:e.pageLayout.config,tryOnOn:e.tryOnCtr.tryOnOn}},{setUserFavorite:Ne.g,initPageLayoutInfo:Fe.b,setPageLayoutInfo:Fe.c,initPageLayoutConfig:Fe.a})(Object(v.a)(["common","specialSub","login","productDetail"])(Object(U.a)(Ki)))},XK2W:function(e,t,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/pc",function(){return i("UDt7")}])},Xu9w:function(e,t,i){"use strict";var n=i("q1tI"),a=i("KDCo"),o=i("jgXz"),r=Object(n.memo)(function(e){var t=e.isPc,i=e.mountType;return Object(n.useEffect)(function(){if(!a.M){var e=new URL(window.location.href).pathname,n=window.performance.timing.responseEnd-window.performance.timing.fetchStart;n>0&&Object(o.f)({clientType:t?0:1,requestType:0,requestTimeCount:n,requestUrl:e,mountType:i})}},[]),null});r.displayName="SsrPerformanceRecord",t.a=r},ZDbh:function(e,t,i){"use strict";i.d(t,"b",function(){return c}),i.d(t,"a",function(){return l}),i.d(t,"d",function(){return d}),i.d(t,"c",function(){return p});var n=i("kOwS"),a=i("qNsG"),o=i("q1tI"),r=i.n(o),s=(i("xxaO"),r.a.createElement),c=function(e){var t=e.className,i=Object(a.a)(e,["className"]);return s(r.a.Fragment,null,s("div",Object(n.a)({className:"font-title ".concat(t||"")},i)))},l=function(e){var t=e.className,i=Object(a.a)(e,["className"]);return s(r.a.Fragment,null,s("div",Object(n.a)({className:"font-text ".concat(t||"")},i)))},d=function(e){var t=e.className,i=Object(a.a)(e,["className"]);return s(r.a.Fragment,null,s("div",Object(n.a)({className:"font-title-mobile ".concat(t||"")},i)))},p=function(e){var t=e.className,i=Object(a.a)(e,["className"]);return s(r.a.Fragment,null,s("div",Object(n.a)({className:"font-text-mobile ".concat(t||"")},i)))}},b7Qq:function(e,t,i){"use strict";i.d(t,"c",function(){return r}),i.d(t,"d",function(){return s}),i.d(t,"e",function(){return c}),i.d(t,"f",function(){return l}),i.d(t,"g",function(){return d}),i.d(t,"a",function(){return p}),i.d(t,"b",function(){return u});var n=i("ENPb"),a=i("D54T"),o=i("cv0A");function r(e){var t=e.id,i=e.data,o=e.cookie,r=void 0===o?"":o,s=e.is_secondary,c=void 0!==s&&s,l=e.is_personalize,d=void 0!==l&&l,p=e.hLang,u=e.hSiteId;return{types:n.hb,promise:Object(a.a)({id:t,data:i,cookie:r,is_secondary:c,is_personalize:d,hLang:p,hSiteId:u})}}function s(e,t,i,a,r){return{types:n.hb,promise:Object(o.r)(e,t,i,a,r)}}function c(e,t,i,a){return{types:n.hb,promise:Object(o.u)(e,t,i,a)}}function l(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return{type:n.hb.SET_SKU_STATUS,is_sku:e}}function d(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return{type:n.hb.SET_USER_FAVORITE_CURRENT,favoriteArr:e}}function p(e){return{type:n.hb.ADD_USER_FAVORITE_CURRENT,color_id:e}}function u(e){return{type:n.hb.SET_PAGE,pagination:e}}},bwfW:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i("v5rg"),a=i("m1kc");t.getLookupTableForNextSlides=function(e,t,i,o){var r={},s=a.getSlidesToSlide(t,i);return Array(e).fill(0).forEach(function(e,i){var a=n.getOriginalCounterPart(i,t,o);if(0===i)r[0]=a;else{var c=r[i-1]+s;r[i]=c}}),r}},cM4p:function(e,t,i){"use strict";var n=i("hfKm"),a=i.n(n),o=i("2Eek"),r=i.n(o),s=i("XoMD"),c=i.n(s),l=i("Jo+v"),d=i.n(l),p=i("4mXO"),u=i.n(p),m=i("pLtp"),f=i.n(m),h=i("ln6h"),g=i.n(h),b=(i("q5v/"),i("QpBz")),x=i.n(b),y=i("O40h"),v=i("0iUn"),j=i("sLSF"),w=i("MI3g"),k=i("a7VT"),_=i("AT/M"),O=i("Tit0"),S=i("vYYK"),T=i("q1tI"),I=i.n(T),C=i("/MKj"),N=i("bv8N"),E=i("Q5Yz"),L=i("9nMr"),M=i("mSaO"),P=i("Xkk+"),A=i("exyg"),R=i("+FG9"),F=i("/oNl"),D=i("tMwj"),z=i("b7Qq"),B=I.a.createElement;function U(e,t){var i=f()(e);if(u.a){var n=u()(e);t&&(n=n.filter(function(t){return d()(e,t).enumerable})),i.push.apply(i,n)}return i}function G(e){for(var t=1;t=4&&n==c.length-1&&E(p.a.Fragment,null,E("div",{className:"jsx-2240671271 pc-bottom-nav-message"},E("p",{style:{fontSize:"16px"},className:"jsx-2240671271"},E("b",{className:"jsx-2240671271"},i("common:footer.HaveQuestions"))),e.$getSiteConfiguration("isShowChat")&&E(p.a.Fragment,null,e.$getSiteConfiguration("tel")?E("p",{className:"jsx-2240671271"},E(S.a,{icon:"icon-nav-tell",style:{fontSize:"16px",marginRight:"5px"}}),i("common:footer.TollFree")):null),E("p",{className:"jsx-2240671271"},E(S.a,{icon:"icon-email",style:{fontSize:"16px",marginRight:"5px"}}),e.$getSiteConfiguration("email")),"de"===s&&E("a",{href:"/Impressum.html",title:"Impressum",target:"_blank",className:"jsx-2240671271"},"Impressum"),e.$getSiteConfiguration("isShowChat")&&E("p",{onClick:function(){Object(I.a)()},style:{cursor:"pointer"},className:"jsx-2240671271"},E(S.a,{icon:"icon-chat",style:{fontSize:"16px",marginRight:"5px"}}),i("common:footer.LiveChat"))),r.length>1&&E("div",{className:"jsx-2240671271 lan_Selec_b"},E("span",{className:"jsx-2240671271"},i("common:LANGUAGE"),":"),r.map(function(t){var i=t.text,n=t.flag;return E("span",{key:n,onClick:function(){return e.handleCgLan(n)},style:{padding:"0 4px"},className:"jsx-2240671271 "+"".concat(o===n?"ac":""," lan_item")},i)}))))}))}),c.length<5&&E(y.a,{lg:5},E(p.a.Fragment,null,E("div",{className:"jsx-2240671271 pc-bottom-nav-message"},E("p",{style:{fontSize:"16px"},className:"jsx-2240671271"},E("b",{className:"jsx-2240671271"},i("common:footer.HaveQuestions"))),"de"!==s&&this.$getSiteConfiguration("isShowChat")&&E(p.a.Fragment,null,this.$getSiteConfiguration("tel")?E("p",{className:"jsx-2240671271"},E(S.a,{icon:"icon-nav-tell",style:{fontSize:"16px",marginRight:"5px"}}),this.$getSiteConfiguration("tel")):null),E("p",{className:"jsx-2240671271"},E(S.a,{icon:"icon-email",style:{fontSize:"16px",marginRight:"5px"}}),this.$getSiteConfiguration("email")),this.$getSiteConfiguration("isShowChat")&&E("p",{onClick:function(){Object(I.a)()},style:{cursor:"pointer"},className:"jsx-2240671271"},E(S.a,{icon:"icon-chat",style:{fontSize:"16px",marginRight:"5px"}}),i("common:footer.LiveChat")),"de"===s&&this.$getSiteConfiguration("isShowChat")&&E(p.a.Fragment,null,this.$getSiteConfiguration("tel")?E("p",{className:"jsx-2240671271"},E(S.a,{icon:"icon-nav-tell",style:{fontSize:"16px",marginRight:"5px"}}),this.$getSiteConfiguration("tel")):null),"de"===s&&E("p",{className:"jsx-2240671271"},"*Im Moment haben wir nur englischer Kundendienst")),r.length>1&&E("div",{className:"jsx-2240671271 lan_Selec_b"},E("span",{className:"jsx-2240671271"},i("common:LANGUAGE"),":"),r.map(function(t){var i=t.text,n=t.flag;return E("span",{key:n,onClick:function(){return e.handleCgLan(n)},style:{padding:"0 4px"},className:"jsx-2240671271 "+"".concat(o===n?"ac":""," lan_item")},i)}))))))}}]),t}(d.Component),M=Object(m.b)(function(e){return{domain:e.common.domain}})(L),P=i("zCcG"),A=i("doui"),R=p.a.createElement,F=function(){var e=Object(d.useState)(!1),t=e[0],i=e[1];return[t,function(){return i(!0)},function(){return i(!1)}]},D=function(e){var t=e.t,i=F(),n=Object(A.a)(i,3),a=n[0],o=n[1],r=n[2];return R("div",{className:"jsx-3816575472 footer-seo-container"},R(l.a,{id:"3816575472"},[".footer-seo-container.jsx-3816575472{max-width:830px;margin:0 auto;}",".cls-title.jsx-3816575472{margin-bottom:28px;font-family:Roboto-Medium;font-size:20px;}",".cls-sub-title.jsx-3816575472{margin-bottom:13px;font-family:Roboto-Medium;font-size:18px;}",".cls-p-b.jsx-3816575472{font-family:Roboto-Medium;}",".cls-p.jsx-3816575472{margin-bottom:10px;}",".more.jsx-3816575472,.less.jsx-3816575472{color:#26abff;cursor:pointer;}"]),R("div",{className:"jsx-3816575472 cls-title"},"Comprare occhiali da vista online da Firmoo.it in Italia"),R("div",{className:"jsx-3816575472 cls-sub-title"},"Occhiali da vista economici online: Occhiali da vista uomo e donna"),a?R(p.a.Fragment,null,R("div",{className:"jsx-3816575472 cls-p"},"Benvenuto su Firmoo Italia, questo \xe8 il miglior negozio di occhiali online. Il nostro obiettivo \xe8 quello di fornire ai nostri clienti occhiali da vista economici online\xa0di alta qualit\xe0 e design chic.",R("br",{className:"jsx-3816575472"}),R("br",{className:"jsx-3816575472"}),"Sempre pi\xf9 persone in tutto il mondo scelgono di acquistare occhiali online. Che tu abbia bisogno di occhiali\xa0anti luce blu, occhiali progressivi, occhiali da lettura, occhiali da sole, occhiali\xa0fotocromatici, con o senza prescrizione, che tu sia a Roma, Milano, Torino, Sicilia\xa0o altrove in Italia, ora puoi facilmente comprare occhiali online\xa0da casa."),R("br",{className:"jsx-3816575472"}),R("div",{className:"jsx-3816575472 cls-sub-title"},"Acquista occhiali online: Miopia, Ipermetropia, Astigmatismo, Presbiopia"),R("div",{className:"jsx-3816575472 cls-p"},"Se soffriamo di miopia, ipermetropia, astigmatismo o presbiopia, abbiamo bisogno di diversi tipi di occhiali\xa0da vista. Firmoo.it offre diverse opzioni in base alle esigenze di ognuno:",R("br",{className:"jsx-3816575472"}),R("ul",{style:{marginTop:"5px"},className:"jsx-3816575472"},R("li",{className:"jsx-3816575472"},R("span",{className:"jsx-3816575472 cls-p-b"},"Gli ",R("a",{href:"/eyeglasses.html",className:"jsx-3816575472"}," occhiali da vista")," ","(chiamati anche"," ",R("a",{href:"/eyeglasses.html",className:"jsx-3816575472"},"occhiali graduati"),"\xa0)"),"\xa0sono utilizzati per correggere la miopia, l'ipermetropia o l'astigmatismo."),R("li",{className:"jsx-3816575472"},R("span",{className:"jsx-3816575472 cls-p-b"},"Gli"," ",R("a",{href:"/block-blue-light.html",className:"jsx-3816575472"},"occhiali anti luce blu")," ","(chiamati anche gli"," ",R("a",{href:"/block-blue-light.html",className:"jsx-3816575472"},"occhiali per computer")," )"),"\xa0con o senza prescrizione per coloro che passano ore davanti agli schermi dei dispositivi digitali (telefoni cellulari, tablet, computer...)."),R("li",{className:"jsx-3816575472"},"Le ",R("a",{href:"/progressive-eyeglasses.html",className:"jsx-3816575472"},"lenti progressive")," ","sono adatte alla presbiopia con ipermetropia,\xa0miopia o astigmatismo. Ti danno una visione di tutte le distanze (vicino, lontano e intermedio)."),R("li",{className:"jsx-3816575472"},R("span",{className:"jsx-3816575472 cls-p-b"},R("a",{href:"/progressive-glasses.html",className:"jsx-3816575472"},"Le lenti bifocali"))," ","sono per le persone che hanno una visione corretta a due distanze (vicino e lontano)."),R("li",{className:"jsx-3816575472"},R("span",{className:"jsx-3816575472 cls-p-b"},"Gli ",R("a",{href:"/reading-glasses.html",className:"jsx-3816575472"},"occhiali da lettura")," ")," ","sono adatti a coloro che trascorrono molto tempo concentrandosi sulla visione da vicino, fornendo un campo visivo pi\xf9 ampio per la lettura."),R("li",{className:"jsx-3816575472"},R("span",{className:"jsx-3816575472 cls-p-b"},"Gli ",R("a",{href:"/z/sunglasses.html",className:"jsx-3816575472"},"occhiali da sole")," o gli"," ",R("a",{href:"/polarized-sunglasses.html",className:"jsx-3816575472"},"occhiali da sole polarizzati"))," ","possono proteggerci dai dannosi raggi UV e dal riflesso della luce abbagliante e sono anche un articolo alla moda."),R("li",{className:"jsx-3816575472"},R("span",{className:"jsx-3816575472 cls-p-b"},"Le"," ",R("a",{href:"/photochromic-glasses.html",className:"jsx-3816575472"},"lenti fotocromatiche"))," ","sono chiare all'interno e diventano automaticamente scure all'esterno.")),"Per acquistare occhiali da vista online\xa0su Firmoo, devi caricare una prescrizione del tuo optometrista, compilando il modulo manualmente o caricando la tua prescrizione, compresi i valori di sfera, cilindro\xa0e DP. Non hai bisogno di sapere come leggere la prescrizione dei tuoi occhiali, ma devi sapere in cosa consiste una prescrizione di occhiali e sapere esattamente quali lenti scegliere. Inoltre, il nostro CSR dedicato \xe8 online 24/7 e pronto a rispondere alle tue domande e richieste. Nella maggior parte dei casi, puoi trovare informazioni direttamente nel nostro Centro Assistenza."),R("br",{className:"jsx-3816575472"}),R("div",{className:"jsx-3816575472 cls-sub-title"},"Trova le migliori montature da vista alla moda\xa0per te su Firmoo.it"),R("div",{className:"jsx-3816575472"},"Forniamo oltre 900+ montature da vista alla moda, con prezzi molto pi\xf9 bassi delle montature di design. A partire da 5euro, troverai sempre gli ultimi occhiali al passo con le tendenze. Puoi trovare la misura perfetta per te utilizzando i filtri per queste caratteristiche:",R("br",{className:"jsx-3816575472"}),R("ul",{style:{marginTop:"5px"},className:"jsx-3816575472"},R("li",{className:"jsx-3816575472"},R("span",{className:"jsx-3816575472 cls-p-b"},"Colore:")," occhiali chiari, occhiali neri, occhiali trasparenti, occhiali rosa, occhiali rossi, occhiali blu..."),R("li",{className:"jsx-3816575472"},R("span",{className:"jsx-3816575472 cls-p-b"},"Materiale:")," occhiali in metallo, occhiali in acetato, occhiali in titanio..."),R("li",{className:"jsx-3816575472"},R("span",{className:"jsx-3816575472 cls-p-b"},"Forma:")," occhiali rotondi, occhiali ovali, occhiali aviator, occhiali quadrati, occhiali rettangolari, occhiali cat eye..."),R("li",{className:"jsx-3816575472"},R("span",{className:"jsx-3816575472 cls-p-b"},"Dimensione:")," occhiali grandi, occhiali medi e occhiali piccolo")),"Per scegliere le montature in base alla forma del tuo viso,"," ",R("a",{href:"/z/glasses-for-face-shape.html",className:"jsx-3816575472"},"clicca qui")," per saperne di pi\xf9.",R("br",{className:"jsx-3816575472"}),R("br",{className:"jsx-3816575472"}),"Ogni paio di occhiali Firmoo viene fornito con lenti da vista standard gratuite (indice 1.50). Trasporto aereo in Italia con servizio e corriere affidabile. Firmoo Italia, il tuo miglior negozio per acquistare occhiali da vista online.",R("br",{className:"jsx-3816575472"}))):R("div",{onClick:o,className:"jsx-3816575472 more"},t("common:MORE"),"..."),!T.M&&a&&R("div",{style:{marginTop:"20px"},onClick:r,className:"jsx-3816575472 less"},t("common:LESS"),"..."))},z=function(e){var t=e.t,i=F(),n=Object(A.a)(i,3),a=n[0],o=n[1],r=n[2];return R("div",{className:"jsx-3816575472 footer-seo-container"},R(l.a,{id:"3816575472"},[".footer-seo-container.jsx-3816575472{max-width:830px;margin:0 auto;}",".cls-title.jsx-3816575472{margin-bottom:28px;font-family:Roboto-Medium;font-size:20px;}",".cls-sub-title.jsx-3816575472{margin-bottom:13px;font-family:Roboto-Medium;font-size:18px;}",".cls-p-b.jsx-3816575472{font-family:Roboto-Medium;}",".cls-p.jsx-3816575472{margin-bottom:10px;}",".more.jsx-3816575472,.less.jsx-3816575472{color:#26abff;cursor:pointer;}"]),R("div",{className:"jsx-3816575472 cls-title"},"G\xfcnstige Brillen online: Damen- und Herrenbrillen"),a?R(p.a.Fragment,null,R("div",{className:"jsx-3816575472 cls-p"},"Herzlich willkommen bei Firmoo Deutschland, dem besten Online-Brillenshop. Unser Ziel ist es, unseren Kunden die g\xfcnstigen Brillen mit einer hohen Qualit\xe4t und einem schicken Design online anzubieten.",R("br",{className:"jsx-3816575472"}),R("br",{className:"jsx-3816575472"}),"In der ganzen Welt entscheiden sich immer mehr Menschen daf\xfcr, ihre Brillen online zu kaufen. Egal ob Sie eine Blaulichtfilterbrille, eine Gleitsichtbrille, eine Lesebrille, eine Sonnenbrille und eine Photochrome Brille ben\xf6tigen, oder Sie eine Brille mit Sehst\xe4rke brauchen, Sie k\xf6nnen jetzt Brillen einfach online kaufen! Es ist nicht wichtig, ob Sie in Berlin, Stuttgart, Frankfurt oder D\xfcsseldorf, sogar irgendwo in Deutschland. Derzeit haben sich bereits \xfcber 1.000.000 registrierte Benutzer bei Firmoo angemeldet, und haben schon viele Kunden Ihre sch\xf6nen"," ",R("a",{href:"/firmoo-erfahrungen.html",className:"jsx-3816575472"},"Firmoo Erfahrungen")," und Bewertungen geschrieben."),R("br",{className:"jsx-3816575472"}),R("div",{className:"jsx-3816575472 cls-sub-title"},"Brillen online kaufen: Einst\xe4rkenbrillen, Gleitsichtbrillen, Blaulichtfilterbrillen, Sonnenbrillen und Lesebrillen."),R("div",{className:"jsx-3816575472 cls-p"},"Wenn wir unter Kurzsichtigkeit, Weitsichtigkeit, Astigmatismus oder Alterssichtigkeit leiden, brauchen wir verschiedene Arten von Brillen. Firmoo.de bietet verschiedene M\xf6glichkeiten, die verschiedene Bed\xfcrfnisse befriedigen k\xf6nnen.",R("br",{className:"jsx-3816575472"}),R("ul",{style:{marginTop:"5px"},className:"jsx-3816575472"},R("li",{className:"jsx-3816575472"},"Brillen (",R("a",{href:"/Brillen/Neukunde.html",className:"jsx-3816575472"},"Brillen ab 6\u20ac"),") werden zur Korrektur von Kurzsichtigkeit, Weitsichtigkeit oder Astigmatismus verwendet."),R("li",{className:"jsx-3816575472"},"F\xfcr diejenige, die stundenlang vor dem Bildschirm der digitalen Ger\xe4te (Handys, Pads oder Computer usw.) verbringen, es gibt"," ",R("a",{href:"/blaulichtfilter-brille.html",className:"jsx-3816575472"},"Blaulichtfilterbrillen")," ","mit oder ohne Sehst\xe4rke (auch als Computerbrille bezeichnet)."),R("li",{className:"jsx-3816575472"},R("a",{href:"/gleitsichtbrille-online.html",className:"jsx-3816575472"},"Gleitsichtbrillen")," ","eignen sich f\xfcr Alterssichtigkeit mit Weitsicht, Kurzsichtigkeit oder Astigmatismus. Sie bieten ihnen eine Sichtzone \xfcber alle Distanzen (N\xe4he-, Fern- und Zwischendistanz)."),R("li",{className:"jsx-3816575472"},"Zweist\xe4rkenbrillen sind geeignet daf\xfcr, dass Menschen in zwei Distanzen (N\xe4he- und Ferndistanz) richtig sehen."),R("li",{className:"jsx-3816575472"},R("a",{href:"/lesebrillen.html",className:"jsx-3816575472"},"Lesebrillen")," sind f\xfcr alle, die sich viel auf ihre Kurzsichtigkeit konzentrieren, um eine breitere Sicht beim Lesen zu haben."),R("li",{className:"jsx-3816575472"},R("a",{href:"/sonnenbrillen-mit-sehstarke.html",className:"jsx-3816575472"},"Sonnenbrillen")," ","oder"," ",R("a",{href:"/polarized-sunglasses.html",className:"jsx-3816575472"},"polarisierende Sonnenbrillen")," ","k\xf6nnen uns vor sch\xe4dlichen UV-Strahlen und Blendung sch\xfctzen und sind au\xdferdem ein modisches Accessoire."),R("li",{className:"jsx-3816575472"},R("a",{href:"/photochromic-glasses.html",className:"jsx-3816575472"},"Photochrome Brillen")," ","hellen sich innen auf und verdunkeln sich automatisch au\xdfen.")),"Um eine Brille online bei Firmoo zu kaufen, m\xfcssen Sie Ihre Sehst\xe4rke von Ihrem Optiker erhalten und dann hochladen, indem Sie entweder das Formular manuell ausf\xfcllen oder Ihre Sehwerte hochladen, einschlie\xdflich der Sph\xe4ren, Zylinder und PD-Werte. Sie m\xfcssen nicht wissen, wie Sie Ihr Brillenpass lesen k\xf6nnen. Aber Sie m\xfcssen bestimmen, was darauf steht, und welche Gl\xe4ser Sie w\xe4hlen m\xf6chten (",R("a",{href:"/wissen/kaufratgeber/glaeserauswahl.html",className:"jsx-3816575472"},"Gl\xe4serauswahl"),"). Dar\xfcber hinaus steht Ihnen ein 24/7-Kundendienst zur Verf\xfcgung, der Ihre Fragen und W\xfcnsche beantwortet. In den meisten F\xe4llen k\xf6nnen Sie Informationen direkt in unserem"," ",R("a",{href:"/wissen",className:"jsx-3816575472"},"Hilfezentrum")," finden."),R("br",{className:"jsx-3816575472"}),R("div",{className:"jsx-3816575472 cls-sub-title"},"Finden Sie die geeignetsten modischen Brillen auf Firmoo.de"),R("div",{className:"jsx-3816575472"},"Wir bieten mehr als 600 modische Brillen in Sehst\xe4rke, der Preis liegt weit unter dem Preis von Designerfassungen. Sie k\xf6nnen die Brillen ab 6 \u20ac und mit den neuesten Modellen finden, die den Trends entsprechen. Mithilfe der Filter mit den folgenden Funktionen k\xf6nnen Sie das geeignetste Angebot finden.",R("br",{className:"jsx-3816575472"}),R("ul",{style:{marginTop:"5px"},className:"jsx-3816575472"},R("li",{className:"jsx-3816575472"},R("span",{className:"jsx-3816575472 cls-p-b"},"Farben:")," Durchsichtige-, schwarze-, rosa-, rote-, blaue Brillen ......"),R("li",{className:"jsx-3816575472"},R("span",{className:"jsx-3816575472 cls-p-b"},"Materialien:")," Metall-, Acetat-, Titanbrillen..."),R("li",{className:"jsx-3816575472"},R("span",{className:"jsx-3816575472 cls-p-b"},"Formen:")," Runde-, ovale-, Piloten-, quadratische-, rechteckige-, Cat-Eye-Brillen ......"),R("li",{className:"jsx-3816575472"},R("span",{className:"jsx-3816575472 cls-p-b"},"Gr\xf6\xdfen:")," Gro\xdfe-, mittele-, kleine Brillen")),"Bitte w\xe4hlen Sie die passende Fassung nach Ihrer Gesichtsform"," ",R("a",{href:"/wissen/kaufratgeber/fassungsauswahl.html",className:"jsx-3816575472"},">> Fassungsauswahl"),R("br",{className:"jsx-3816575472"}),R("br",{className:"jsx-3816575472"}),"Jede Firmoo-Brille wird mit kostenlosen Standard-Korrektionsgl\xe4sern (Index 1,50) und einem zuverl\xe4ssigen Service und Versand geliefert. Firmoo.de - Brillen zum besten Preis-/Leistungsverh\xe4ltnis in ganz Deutschland.",R("br",{className:"jsx-3816575472"}))):R("div",{onClick:o,className:"jsx-3816575472 more"},t("common:MORE"),"..."),!T.M&&a&&R("div",{style:{marginTop:"20px"},onClick:r,className:"jsx-3816575472 less"},t("common:LESS"),"..."))},B=function(e){var t,i,n=e.t,a=F(),o=Object(A.a)(a,3),r=o[0],s=o[1],c=o[2];try{t=JSON.parse(n("common:footer.Seo1")),i=JSON.parse(n("common:footer.Seo2"))}catch(d){return null}return R("div",{className:"jsx-3582088139 footer-seo-container"},R(l.a,{id:"3582088139"},[".footer-seo-container.jsx-3582088139{max-width:830px;margin:0 auto;}",".cls-title.jsx-3582088139{margin-bottom:28px;font-family:Roboto-Medium;font-size:20px;}",".cls-sub-title.jsx-3582088139{margin-bottom:13px;font-family:Roboto-Medium;font-size:18px;}",".cls-p.jsx-3582088139{margin-bottom:10px;}",".more.jsx-3582088139,.less.jsx-3582088139{color:#26abff;cursor:pointer;}"]),t.map(function(e,t){return R("div",{key:t,dangerouslySetInnerHTML:{__html:e.label},className:"jsx-3582088139 "+"cls-".concat(e.type)})}),r?R(p.a.Fragment,null,i.map(function(e,t){return"ul"===e.type?R("ul",{key:t,className:"jsx-3582088139 "+"cls-".concat(e.type)},Object(N.a)(e.list)&&e.list.map(function(e,t){return R("li",{key:t,dangerouslySetInnerHTML:{__html:e},className:"jsx-3582088139"})})):R("div",{key:t,dangerouslySetInnerHTML:{__html:e.label},className:"jsx-3582088139 "+"cls-".concat(e.type)})})):R("div",{onClick:s,className:"jsx-3582088139 more"},n("common:MORE"),"..."),!T.M&&r&&R("div",{onClick:c,className:"jsx-3582088139 less"},n("common:LESS"),"..."))},U=function(e){var t,i,n=e.t,a=F(),o=Object(A.a)(a,3),r=o[0],s=o[1],c=o[2];try{t=JSON.parse(n("common:footer.Seo1")),i=JSON.parse(n("common:footer.Seo2"))}catch(d){return null}return R("div",{className:"jsx-3582088139 footer-seo-container"},R(l.a,{id:"3582088139"},[".footer-seo-container.jsx-3582088139{max-width:830px;margin:0 auto;}",".cls-title.jsx-3582088139{margin-bottom:28px;font-family:Roboto-Medium;font-size:20px;}",".cls-sub-title.jsx-3582088139{margin-bottom:13px;font-family:Roboto-Medium;font-size:18px;}",".cls-p.jsx-3582088139{margin-bottom:10px;}",".more.jsx-3582088139,.less.jsx-3582088139{color:#26abff;cursor:pointer;}"]),t.map(function(e,t){return R("div",{key:t,dangerouslySetInnerHTML:{__html:e.label},className:"jsx-3582088139 "+"cls-".concat(e.type)})}),r?R(p.a.Fragment,null,i.map(function(e,t){return"ul"===e.type?R("ul",{key:t,className:"jsx-3582088139 "+"cls-".concat(e.type)},Object(N.a)(e.list)&&e.list.map(function(e,t){return R("li",{key:t,dangerouslySetInnerHTML:{__html:e},className:"jsx-3582088139"})})):R("div",{key:t,dangerouslySetInnerHTML:{__html:e.label},className:"jsx-3582088139 "+"cls-".concat(e.type)})})):R("div",{onClick:s,className:"jsx-3582088139 more"},n("common:MORE"),"..."),!T.M&&r&&R("div",{onClick:c,className:"jsx-3582088139 less"},n("common:LESS"),"..."))},G=function(e){var t=e.t,i=F(),n=Object(A.a)(i,3),a=n[0],o=n[1],r=n[2],s=JSON.parse(t("common:footer.Seo1_uk")),c=JSON.parse(t("common:footer.Seo2_uk"));return R("div",{className:"jsx-3582088139 footer-seo-container"},R(l.a,{id:"3582088139"},[".footer-seo-container.jsx-3582088139{max-width:830px;margin:0 auto;}",".cls-title.jsx-3582088139{margin-bottom:28px;font-family:Roboto-Medium;font-size:20px;}",".cls-sub-title.jsx-3582088139{margin-bottom:13px;font-family:Roboto-Medium;font-size:18px;}",".cls-p.jsx-3582088139{margin-bottom:10px;}",".more.jsx-3582088139,.less.jsx-3582088139{color:#26abff;cursor:pointer;}"]),s.map(function(e,t){return R("div",{key:t,dangerouslySetInnerHTML:{__html:e.label},className:"jsx-3582088139 "+"cls-".concat(e.type)})}),a?R(p.a.Fragment,null,c.map(function(e,t){return"ul"===e.type?R("ul",{key:t,className:"jsx-3582088139 "+"cls-".concat(e.type)},Object(N.a)(e.list)&&e.list.map(function(e,t){return R("li",{key:t,dangerouslySetInnerHTML:{__html:e},className:"jsx-3582088139"})})):R("div",{key:t,dangerouslySetInnerHTML:{__html:e.label},className:"jsx-3582088139 "+"cls-".concat(e.type)})})):R("div",{onClick:o,className:"jsx-3582088139 more"},t("common:MORE"),"..."),!T.M&&a&&R("div",{onClick:r,className:"jsx-3582088139 less"},t("common:LESS"),"..."))},H=Object(m.b)(function(e){return{domain:e.common.domain,site:e.common.site,siteId:e.common.siteId}})(function(e){if(!e.isHomePage)return null;switch(Object(f.getSite)(e.domain)){case"it":return R(D,e);case"de":return R(z,e);case"fr":return R(B,e);case"uk":return R(G,e);case"es":return R(U,e);default:return null}}),q=p.a.createElement;var V=function(e){e.t,e.isIpad,Object(d.useEffect)(function(){T.M||t()});var t=function e(){if(!document.querySelector(".trustpilot-widget"))return setTimeout(e,200);var t=document.createElement("script");t.src="//widget.trustpilot.com/bootstrap/v5/tp.widget.bootstrap.min.js",t.async=!0,document.body.appendChild(t)};return q("div",{className:"jsx-2822026857 firmoo-container-main trustpilot_review_wrap"},q(l.a,{id:"2822026857"},[".trustpilot_review_wrap.jsx-2822026857{padding:0;}",".trustpilot_review_wrap.jsx-2822026857 img.jsx-2822026857{width:100%;}",".trustpilot-widget.jsx-2822026857{text-align:center;}",".overview.jsx-2822026857{width:20%;box-sizing:border-box;padding-right:20px;color:#333;}",".overview.jsx-2822026857 img.jsx-2822026857{width:80%;}",".logo.jsx-2822026857{margin:0;}",".followers.jsx-2822026857{font-size:16px;}",".swiper.jsx-2822026857{width:calc(100% - 60px);box-sizing:border-box;position:relative;margin:0 30px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}",".carousel_wrap.jsx-2822026857{width:100%;}",".arrow-left.jsx-2822026857{position:absolute;left:-30px;top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);}",".arrow-right.jsx-2822026857{position:absolute;right:-30px;top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);}",".swiper_item.jsx-2822026857{display:-webkit-box !important;display:-webkit-flex !important;display:-ms-flexbox !important;display:flex !important;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;}",".swiper_item.jsx-2822026857 .item.jsx-2822026857{padding:0 10px;-webkit-flex:1;-ms-flex:1;flex:1;width:33.333%;color:#333;font-family:'Roboto-Regular',Helvetica,Arial,sans-serif;}",".swiper_item.jsx-2822026857 .item_title.jsx-2822026857{font-size:16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:5px 0;}",".swiper_item.jsx-2822026857 .item_desc.jsx-2822026857{font-size:14px;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;color:#333;max-height:63px;}",".swiper_item.jsx-2822026857 .item.jsx-2822026857 img.jsx-2822026857{width:36%;}","@media (max-width:1024px){.trustpilot_review_wrap.jsx-2822026857{max-width:1024px;}}","@media (max-width:980px){.trustpilot_review_wrap.jsx-2822026857{padding:20px 20px 65px;max-width:768px;}.overview.jsx-2822026857{width:40%;}}"]),q("div",{"data-locale":"en-US","data-template-id":"5419b6a8b0d04a076446a9ad","data-businessunit-id":"4bec12c000006400050b2e64","data-style-height":"24px","data-style-width":"100%","data-theme":"light",className:"jsx-2822026857 trustpilot-widget"},q("a",{href:"https://www.trustpilot.com/review/www.firmoo.com",target:"_blank",rel:"noopener",className:"jsx-2822026857"},"Trustpilot")))},W=i("/oNl"),Y=i("tQR3");i.d(t,"a",function(){return Q});var X=p.a.createElement,K=function(e){function t(e){var i;return Object(n.a)(this,t),(i=Object(o.a)(this,Object(r.a)(t).call(this,e))).state={src:[1,2,3,4,5]},i}return Object(s.a)(t,e),Object(a.a)(t,[{key:"render",value:function(){var e=this.props,t=e.t,i=e.is_cms,n=e.showOO,a=e.isHomePage,o=void 0!==a&&a,r=e.footer,s=e.domain,c=Object(f.getSite)(s);return X("div",{style:{height:"182px"},className:"jsx-213059521"},X(l.a,{id:"213059521"},[".content.jsx-213059521 p.jsx-213059521{margin-bottom:5px;}",".icon-infooter.jsx-213059521{display:inline-block;width:25px;height:25px;border-radius:50%;margin-right:15px;}",".icon-infooter.jsx-213059521:hover{-webkit-transform:translateY(-5px);-ms-transform:translateY(-5px);transform:translateY(-5px);-webkit-transition:all 0.1s linear;transition:all 0.1s linear;cursor:pointer;}",".reviews.jsx-213059521{margin-top:15px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}",".reviews.jsx-213059521 p.jsx-213059521{margin:0;}",".Left.jsx-213059521,.Right.jsx-213059521{list-style:none;padding:0 15px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}","li.jsx-213059521{-webkit-text-decoration:none;text-decoration:none;text-align:left;line-height:25px;}","li.jsx-213059521 a.jsx-213059521{color:#000 !important;}","hr.jsx-213059521{margin:30px 0;}"]),X(W.l,{style:{maxWidth:"1520px",padding:"0 40px",marginTop:"80px"}},0!=n&&X(p.a.Fragment,null,!Object(f.getSiteConfiguration)("isHideServiceWarranty",s)&&X("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",flexWrap:"wrap",alignItems:"center"},className:"jsx-213059521 content"},"us"===c&&X(V,{t:t}),"us"!==c&&X("p",{style:{fontSize:"20px"},className:"jsx-213059521"},t("common:ONE_ON_ONE_SERVICE_SAVE_UP"))),X("hr",{className:"jsx-213059521"})),X(H,{t:t,isHomePage:o})),X("div",{style:{marginTop:0!=n?"30px":0},className:"jsx-213059521"},X("div",{style:{backgroundColor:"#F6F6F6"},className:"jsx-213059521"},X(W.l,{style:{maxWidth:"1520px",padding:"0 40px"}},!Object(f.getSiteConfiguration)("isHideServiceWarranty",s)&&X(p.a.Fragment,null,X(h.a,{t:t}),X("hr",{style:{margin:0,borderTop:"1px solid #E4E4E4"},className:"jsx-213059521"})),i&&r.footerList?X(Y.a,{t:t}):X(M,{t:t}))),X(P.a,{t:t})))}}]),t}(p.a.Component);t.b=Object(m.b)(function(e){return{is_cms:e.pageLayout.is_cms,domain:e.common.domain,footer:e.pageLayout.footer}})(K);function Q(e){var t=e.t,i=e.min,n=e.dateYear,a=e.domain,o=Object(u.a)({"bottom-line":!0,"bottom-line-min":i});return X("div",{style:{width:"100%",maxWidth:"1200px",margin:"0 auto",backgroundColor:"#F6F6F6",paddingBottom:"30px"},className:"jsx-3270951550"},X(l.a,{id:"3270951550"},[".bottom-line.jsx-3270951550{display:inline-block;width:450px;height:1px;background-color:#dadada;}",".right-reserve.jsx-3270951550{margin-left:40px;}",".pc-copyright.jsx-3270951550{text-align:center;background:transparent;padding:0;margin:0;}",".bottom-font.jsx-3270951550{display:inline-block;font-size:12px;margin-bottom:5px;}",".bottom-line-min.jsx-3270951550{width:250px;}",".toll-free.jsx-3270951550{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:nowrap;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding-top:10px;}"]),X("div",{className:"jsx-3270951550 toll-free"},X("span",{className:"jsx-3270951550 "+(o||"")}),X("div",{style:{textAlign:"center"},className:"jsx-3270951550"},Object(f.getSiteConfiguration)("isShowChat",a)&&X(p.a.Fragment,null,X("p",{className:"jsx-3270951550 bottom-font text-center"},Object(f.getSiteConfiguration)("tel",a)?X(p.a.Fragment,null,X("span",{dangerouslySetInnerHTML:{__html:t("common:FOOTER_CONTENT1")},className:"jsx-3270951550"}),X("span",{className:"jsx-3270951550"},Object(f.getSiteConfiguration)("tel",a))):null),X("br",{className:"jsx-3270951550"})),X("p",{dangerouslySetInnerHTML:{__html:"".concat(t("common:FOOTER_CONTENT2")," ").concat(Object(f.getSiteConfiguration)("email",a))},className:"jsx-3270951550 bottom-font text-center"})),X("span",{className:"jsx-3270951550 "+(o||"")})),X("p",{className:"jsx-3270951550 pc-copyright"},X("span",{style:{marginRight:"5px"},className:"jsx-3270951550"},t("common:Copyright")," ",n," ","fm"===Object(f.getSite)(a)?t("common:FirmooOnlineOpticalStore_fm"):t("common:FirmooOnlineOpticalStore"))," ",X("span",{className:"jsx-3270951550 right-reserve"},t("common:FIRMOO_RIGHT"),".")))}},clHl:function(e,t,i){"use strict";var n=i("hfKm"),a=i.n(n),o=i("2Eek"),r=i.n(o),s=i("XoMD"),c=i.n(s),l=i("Jo+v"),d=i.n(l),p=i("4mXO"),u=i.n(p),m=i("pLtp"),f=i.n(m),h=i("0iUn"),g=i("sLSF"),b=i("MI3g"),x=i("a7VT"),y=i("AT/M"),v=i("Tit0"),j=i("vYYK"),w=i("MX0m"),k=i.n(w),_=i("q1tI"),O=i.n(_),S=i("/MKj"),T=i("a6RD"),I=i.n(T),C=i("kodF"),N=i("exyg"),E=i("GBVL"),L=i("bv8N"),M=i("Q5Yz"),P=i("mSaO"),A=i("CNn7"),R=i("Xkk+"),F=i("15dD"),D=i("v61m"),z=i("3hc9"),B=i("LWby"),U=i("KDCo"),G=i("tpRK"),H=i("lqN6"),q=i("9Ea1"),V=i("RXDV"),W=i("p+zr"),Y=i("dZU6"),X=i("fTdX"),K=i("tMwj"),Q=O.a.createElement;function J(e,t){var i=f()(e);if(u.a){var n=u()(e);t&&(n=n.filter(function(t){return d()(e,t).enumerable})),i.push.apply(i,n)}return i}var Z=I()(function(){return Promise.all([i.e(1),i.e(127)]).then(i.bind(null,"Y2O9"))},{loadableGenerated:{webpack:function(){return["Y2O9"]},modules:["../PackageModal"]}}),$=I()(function(){return Promise.all([i.e(1),i.e(140)]).then(i.bind(null,"cRjh"))},{loadableGenerated:{webpack:function(){return["cRjh"]},modules:["../NeckglassesModal"]}}),ee=function(e){function t(){var e,i;Object(h.a)(this,t);for(var n=arguments.length,o=new Array(n),s=0;s0:return Q("div",{onClick:function(){e.gaLensPackEnvent(),e.addPrescription()},style:s,className:"jsx-506403841 product-bottom-btn product-bottom-btn-active"},a("productDetail:PackageInfo.AddPrescription"));case r&&!c.name&&l.package_id>0:return Q("div",{id:"select_lenses_old",onClick:function(){e.gaLensPackEnvent(),e.props.selecUsagetNotice?e.props.selecUsagetNotice():e.onSelectLens()},style:s,className:"jsx-506403841 product-bottom-btn product-bottom-btn-active"},a("productDetail:SelectLenses"));case r&&"no-pre"===c.name&&l.package_id>0:return Q("div",{onClick:function(){e.gaLensPackEnvent(),e.addPackageToCart({})},style:s,className:"jsx-506403841 product-bottom-btn product-bottom-btn-active"},a("common:ADD_TO_CART"));default:return Q("div",{id:"select_lenses_old",onClick:e.onSelectLens,style:s,className:"jsx-506403841 product-bottom-btn product-bottom-btn-active"},e.props.title?e.props.title:a("productDetail:SelectLenses"))}}(),this.state.packageModal&&Q(Z,{t:a,c:o,addToCatr:this.addPackageToCart,toggerModal:this.toggePackagerModal,visible:this.state.packageModal}),this.state.neckglassesModals&&Q($,{addCartGA:this.addCartGA,color_id:n.id,product_id:i.products_id,t:this.props.t,pageId:this.props.pageId,onClose:function(){e.setState({neckglassesModals:!1})}}))}}]),t}(_.Component);t.a=Object(S.b)(function(e){return{productDetail:e.productDetail.productDetail,activeObj:e.productDetail.activeObj,is_package:e.productDetail.packageId,packageId:e.packageInfo.package_id,isRiskControl:e.productDetail.isRiskControl,isPackage:e.packageInfo.isPackage&&e.productDetail.productDetail.meedPackage,active_package:e.packageInfo.active_package,package_is_rx:e.packageInfo.is_rx,usage:e.packageInfo.usage,lensType:e.packageInfo.type,isBlue:e.packageInfo.isBlue,isForceRx:e.packageInfo.isForceRx,isDecentered:e.lensObj.isDecentered,userInfo:e.userInfo.data,domain:e.common.domain}},{changeFollow:A.c,changeUnderMarket:A.f,changeStatus:A.d,openModal:R.c})(ee)},"d2v/":function(e,t,i){"use strict";var n=i("6BQ9"),a=i.n(n),o=i("0iUn"),r=i("sLSF"),s=i("MI3g"),c=i("a7VT"),l=i("AT/M"),d=i("Tit0"),p=i("vYYK"),u=i("MX0m"),m=i.n(u),f=i("q1tI"),h=i.n(f),g=h.a.createElement,b=function(e){function t(){var e,i;Object(o.a)(this,t);for(var n=arguments.length,r=new Array(n),d=0;d1&&void 0!==arguments[1]?arguments[1]:document).querySelector(e)}("span",s);s&&s.classList.add("loading","animation"),o=t.to(c,{number:"100",duration:3.8,ease:"none",onUpdate:function(){d.innerHTML=Math.round(c.number)+"%"},onComplete:function(){!0,e.closeSelf()}}),n=t.to(".active",{strokeDashoffset:0,duration:4,ease:"none",onComplete:function(){e.closeSelf()}}),setTimeout(function t(){if(e.state.complete)n.resume(),o.resume(),n.timeScale(4),o.timeScale(4);else if(setTimeout(function(){t()},r),d){var i=d.innerText;if(i&&i.length){var s=a()(i.substring(0,i.length-1));s>90?(n.pause(),o.pause()):s>80?(n.timeScale(.1),o.timeScale(.1)):s>60?(n.timeScale(.2),o.timeScale(.2)):s>40&&(n.timeScale(.5),o.timeScale(.5))}}},r)}),Object(p.a)(Object(l.a)(i),"closeSelf",function(){i.setState(function(e){return{animationComplete:e.animationComplete+1}},function(){2===i.state.animationComplete&&i.setState({hideSelf:!0},function(){i.setState({animationComplete:0,complete:!1})})})}),i}return Object(d.a)(t,e),Object(r.a)(t,[{key:"componentDidMount",value:function(){var e=document.createElement("script");e.src="lib/gsap.min.js",document.body.appendChild(e),this.init()}},{key:"componentWillReceiveProps",value:function(e,t){console.log("ddddebug ".concat(e.loadComplete)),e.loadComplete&&(this.state.complete||this.setState({complete:!0}))}},{key:"render",value:function(){return this.state.hideSelf?null:g(h.a.Fragment,null,g(m.a,{id:"2068020423"},[".mask.jsx-2068020423{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:absolute;left:0;right:0;top:0;bottom:0;background:rgba(0,0,0,0.8);z-index:1000;}",".button.jsx-2068020423{--default:rgba(255,255,255,0.2);--active:#26abff;position:relative;border:none;outline:none;background:none;padding:0;-webkit-appearance:none;-webkit-tap-highlight-color:transparent;cursor:pointer;-webkit-transform:scale(1.2);-ms-transform:scale(1.2);transform:scale(1.2);-webkit-transform:scale(1.5);}",".button.jsx-2068020423:active{--s:0.96;}",".button.jsx-2068020423 svg.jsx-2068020423{display:block;fill:none;stroke-width:var(--sw,3px);stroke-linecap:round;stroke-linejoin:round;}",".button.jsx-2068020423 .circle.jsx-2068020423{width:76px;height:76px;-webkit-transform:rotate(-90deg);-webkit-transform:rotate(-90deg);-ms-transform:rotate(-90deg);transform:rotate(-90deg);}",".button.jsx-2068020423 .circle.jsx-2068020423 circle.default.jsx-2068020423{stroke:var(--default);}",".button.jsx-2068020423 .circle.jsx-2068020423 circle.active.jsx-2068020423{stroke:var(--active);stroke-dasharray:227px;stroke-dashoffset:227px;}",".button.jsx-2068020423 span.jsx-2068020423{display:block;position:absolute;left:0;right:0;text-align:center;top:calc(50% + 5px);font-weight:500;font-size:10px;color:var(--active);opacity:var(--count-opacity,0);-webkit-transform:translateY(var(--count-y,4px));-webkit-transform:translateY(var(--count-y,4px));-ms-transform:translateY(var(--count-y,4px));transform:translateY(var(--count-y,4px));-webkit-transition:opacity 0.2s ease,-webkit-transform 0.3s ease;-webkit-transition:opacity 0.2s ease,-webkit-transform 0.3s ease;-webkit-transition:opacity 0.2s ease,-webkit-transform 0.3s ease;transition:opacity 0.2s ease,-webkit-transform 0.3s ease;-webkit-transition:opacity 0.2s ease,-webkit-transform 0.3s ease;-webkit-transition:opacity 0.2s ease,transform 0.3s ease;transition:opacity 0.2s ease,transform 0.3s ease;-webkit-transition:opacity 0.2s ease,-webkit-transform 0.3s ease, -webkit-transform 0.3s ease;-webkit-transition:opacity 0.2s ease,transform 0.3s ease, -webkit-transform 0.3s ease;transition:opacity 0.2s ease,transform 0.3s ease, -webkit-transform 0.3s ease;}",".button.jsx-2068020423 span.out.jsx-2068020423{-webkit-animation:var(--count,none) 0.3s ease forwards;-webkit-animation:var(--count,none) 0.3s ease forwards;animation:var(--count,none) 0.3s ease forwards;}",".button.jsx-2068020423 .icon.jsx-2068020423{--sw:2px;width:24px;height:40px;position:absolute;left:50%;top:50%;margin:-20px 0 0 -12px;}",".button.jsx-2068020423 .icon.jsx-2068020423 div.jsx-2068020423{width:40px;height:32px;position:absolute;overflow:hidden;left:50%;bottom:1px;margin-left:-20px;-webkit-transform:translate(var(--icon-x,0),var(--icon-y,0));-webkit-transform:translate(var(--icon-x,0),var(--icon-y,0));-ms-transform:translate(var(--icon-x,0),var(--icon-y,0));transform:translate(var(--icon-x,0),var(--icon-y,0));-webkit-transition:-webkit-transform 0.3s ease var(--all-delay,4.8s);-webkit-transition:-webkit-transform 0.3s ease var(--all-delay,4.8s);-webkit-transition:-webkit-transform 0.3s ease var(--all-delay,4.8s);transition:-webkit-transform 0.3s ease var(--all-delay,4.8s);-webkit-transition:-webkit-transform 0.3s ease var(--all-delay,4.8s);-webkit-transition:transform 0.3s ease var(--all-delay,4.8s);transition:transform 0.3s ease var(--all-delay,4.8s);-webkit-transition:-webkit-transform 0.3s ease var(--all-delay,4.8s), -webkit-transform 0.3s ease var(--all-delay,4.8s);-webkit-transition:transform 0.3s ease var(--all-delay,4.8s), -webkit-transform 0.3s ease var(--all-delay,4.8s);transition:transform 0.3s ease var(--all-delay,4.8s), -webkit-transform 0.3s ease var(--all-delay,4.8s);-webkit-animation:var(--overflow,none) 0s linear forwards var(--all-delay,4.8s);-webkit-animation:var(--overflow,none) 0s linear forwards var(--all-delay,4.8s);animation:var(--overflow,none) 0s linear forwards var(--all-delay,4.8s);}",".button.jsx-2068020423 .icon.jsx-2068020423 div.jsx-2068020423 .before.jsx-2068020423,.button.jsx-2068020423 .icon.jsx-2068020423 div.jsx-2068020423 .after.jsx-2068020423{content:'';position:absolute;z-index:1;height:2px;left:var(--l,0);top:15px;width:var(--w,16px);background:var(--active);border-radius:1px;-webkit-transform-origin:var(--tx,15px) 1px;-webkit-transform-origin:var(--tx,15px) 1px;-ms-transform-origin:var(--tx,15px) 1px;transform-origin:var(--tx,15px) 1px;-webkit-transform:rotate(var(--before-rotate,0deg));-webkit-transform:rotate(var(--before-rotate,0deg));-ms-transform:rotate(var(--before-rotate,0deg));transform:rotate(var(--before-rotate,0deg));opacity:var(--tick-opacity,0);-webkit-transition:opacity 0s linear var(--all-delay,4.8s), -webkit-transform 0.4s ease var(--all-delay,4.8s);-webkit-transition:opacity 0s linear var(--all-delay,4.8s), -webkit-transform 0.4s ease var(--all-delay,4.8s);-webkit-transition:opacity 0s linear var(--all-delay,4.8s), -webkit-transform 0.4s ease var(--all-delay,4.8s);transition:opacity 0s linear var(--all-delay,4.8s), -webkit-transform 0.4s ease var(--all-delay,4.8s);-webkit-transition:-webkit-transform 0.4s ease var(--all-delay,4.8s), opacity 0s linear var(--all-delay,4.8s);-webkit-transition:transform 0.4s ease var(--all-delay,4.8s), opacity 0s linear var(--all-delay,4.8s);transition:transform 0.4s ease var(--all-delay,4.8s), opacity 0s linear var(--all-delay,4.8s);-webkit-transition:-webkit-transform 0.4s ease var(--all-delay,4.8s), opacity 0s linear var(--all-delay,4.8s), -webkit-transform 0.4s ease var(--all-delay,4.8s);-webkit-transition:transform 0.4s ease var(--all-delay,4.8s), opacity 0s linear var(--all-delay,4.8s), -webkit-transform 0.4s ease var(--all-delay,4.8s);transition:transform 0.4s ease var(--all-delay,4.8s), opacity 0s linear var(--all-delay,4.8s), -webkit-transform 0.4s ease var(--all-delay,4.8s);}",".button.jsx-2068020423 .icon.jsx-2068020423 div.jsx-2068020423 .after.jsx-2068020423{--l:14px;--w:26px;--tx:1px;-webkit-transform:rotate(var(--after-rotate,0deg));-webkit-transform:rotate(var(--after-rotate,0deg));-ms-transform:rotate(var(--after-rotate,0deg));transform:rotate(var(--after-rotate,0deg));}",".button.jsx-2068020423 .icon.jsx-2068020423 div.jsx-2068020423 svg.jsx-2068020423{stroke:var(--active);}",".button.jsx-2068020423 .icon.jsx-2068020423 div.jsx-2068020423 svg.progress.jsx-2068020423{width:444px;height:10px;position:absolute;left:0;top:1px;opacity:1;-webkit-animation:move1-jsx-2068020423 2.72s linear,hide1-jsx-2068020423 0s linear forwards 2.72s;animation:move1-jsx-2068020423 2.72s linear,hide1-jsx-2068020423 0s linear forwards 2.72s;}","@-webkit-keyframes move1-jsx-2068020423{0%{left:0;}100%{left:-272px;}}","@keyframes move1-jsx-2068020423{0%{left:0;}100%{left:-272px;}}","@-webkit-keyframes hide1-jsx-2068020423{0%{opacity:1;}100%{opacity:0;}}","@keyframes hide1-jsx-2068020423{0%{opacity:1;}100%{opacity:0;}}",".progress2.jsx-2068020423{width:444px;height:10px;position:absolute;left:0;top:1px;opacity:0;-webkit-animation:move2-jsx-2068020423 0.8s linear infinite 2.32s,show2-jsx-2068020423 0s linear forwards 2.32s;animation:move2-jsx-2068020423 0.8s linear infinite 2.32s,show2-jsx-2068020423 0s linear forwards 2.32s;}","@-webkit-keyframes move2-jsx-2068020423{0%{left:-232px;}100%{left:-312px;}}","@keyframes move2-jsx-2068020423{0%{left:-232px;}100%{left:-312px;}}","@-webkit-keyframes show2-jsx-2068020423{0%{opacity:0;}100%{opacity:1;}}","@keyframes show2-jsx-2068020423{0%{opacity:0;}100%{opacity:1;}}",".button.loading.jsx-2068020423:not(.reset){--line-y:-36px;--line-array:0;--line-offset:8px;--active-offset:0;--arrow-opacity:0;--progress-opacity:1;--progress-x:-400px;--tick-opacity:1;--before-rotate:47deg;--after-rotate:-46deg;--hide:hide;--overflow:overflow;--icon-x:2px;--icon-y:0px;--count-opacity:1;--count-y:0;--count:count;}",".button.reset.jsx-2068020423{--all-delay:0s;--all-transition:0.3s;}","@-webkit-keyframes hide{to.jsx-2068020423{opacity:0;}}","@-webkit-keyframes hide-jsx-2068020423{to{opacity:0;}}","@keyframes hide-jsx-2068020423{to{opacity:0;}}","@-webkit-keyframes count{to.jsx-2068020423{-webkit-transform:translateY(4px);-webkit-transform:translateY(4px);-ms-transform:translateY(4px);transform:translateY(4px);opacity:0;}}","@-webkit-keyframes count-jsx-2068020423{to{-webkit-transform:translateY(4px);-webkit-transform:translateY(4px);-ms-transform:translateY(4px);transform:translateY(4px);opacity:0;}}","@keyframes count-jsx-2068020423{to{-webkit-transform:translateY(4px);-webkit-transform:translateY(4px);-ms-transform:translateY(4px);transform:translateY(4px);opacity:0;}}","html.jsx-2068020423{box-sizing:border-box;-webkit-font-smoothing:antialiased;}","*.jsx-2068020423{box-sizing:inherit;}",".before.jsx-2068020423,.after.jsx-2068020423{box-sizing:inherit;}","svg.jsx-2068020423{background:transparent;}"]),g("div",{className:"jsx-2068020423 mask"},g("button",{className:"jsx-2068020423 button"},g("svg",{viewBox:"0 0 76 76",className:"jsx-2068020423 circle"},g("circle",{cx:"38",cy:"38",r:"36",className:"jsx-2068020423 default"}),g("circle",{cx:"38",cy:"38",r:"36",className:"jsx-2068020423 active"})),g("div",{className:"jsx-2068020423 icon"},g("div",{className:"jsx-2068020423"},g("svg",{viewBox:"0 0 444 10",className:"jsx-2068020423 progress"},g("path",{d:"M2,5 L42,5 C60.0089086,6.33131695 73.3422419,6.99798362 82,7 C87.572404,7.00129781 91.0932494,1.72677301 102,1.99944178 C112.906751,2.27211054 112.000464,7.99986045 122,8 C131.999536,8.00013955 132,2 142,2 C152,2 152,8 162,8 C172,8 172,2 182,2 C192,2 192,8 202,8 C212,8 212,2 222,2 C232,2 232,8 242,8 C252,8 252,2 262,2 C272,2 272,8 282,8 C292,8 292,2 302,2 C312,2 312,8 322,8 C332,8 332,2 342,2 C352,2 351.897852,7.49489262 362,8 C372.102148,8.50510738 378.620177,5.22532154 402,5 L442,5",className:"jsx-2068020423"})),g("svg",{viewBox:"0 0 444 10",className:"jsx-2068020423 progress2"},g("path",{d:"M2,5 L42,5 C60.0089086,6.33131695 73.3422419,6.99798362 82,7 C87.572404,7.00129781 91.0932494,1.72677301 102,1.99944178 C112.906751,2.27211054 112.000464,7.99986045 122,8 C131.999536,8.00013955 132,2 142,2 C152,2 152,8 162,8 C172,8 172,2 182,2 C192,2 192,8 202,8 C212,8 212,2 222,2 C232,2 232,8 242,8 C252,8 252,2 262,2 C272,2 272,8 282,8 C292,8 292,2 302,2 C312,2 312,8 322,8 C332,8 332,2 342,2 C352,2 351.897852,7.49489262 362,8 C372.102148,8.50510738 378.620177,5.22532154 402,5 L442,5",className:"jsx-2068020423"})))),g("span",{className:"jsx-2068020423"},"0%"))))}}]),t}(f.Component);t.a=b},dxww:function(e,t,i){"use strict";var n=i("eVuF"),a=i.n(n),o=i("0iUn"),r=i("sLSF"),s=i("vYYK"),c="",l=function(){function e(t){var i=this;Object(o.a)(this,e),Object(s.a)(this,"props",void 0),Object(s.a)(this,"LiveDiv",void 0),Object(s.a)(this,"TryLive",void 0),Object(s.a)(this,"file_obj",void 0),Object(s.a)(this,"current_PD",65),Object(s.a)(this,"isLiveSupport",!0),Object(s.a)(this,"videoError",""),Object(s.a)(this,"showToast",void 0),Object(s.a)(this,"loadingToast",void 0),Object(s.a)(this,"hideToast",void 0),Object(s.a)(this,"alertError",void 0),Object(s.a)(this,"productIdList",void 0),Object(s.a)(this,"jQuery_trylive",void 0),Object(s.a)(this,"defaultAsset",void 0),Object(s.a)(this,"preAsset",["","","",""]),Object(s.a)(this,"productList",[]),Object(s.a)(this,"timer",void 0),Object(s.a)(this,"count",20),Object(s.a)(this,"recordFps",60),Object(s.a)(this,"maxRecordDuration",1e4),Object(s.a)(this,"maxRecordFrames",1e3),Object(s.a)(this,"viewport_number",void 0),Object(s.a)(this,"numberOfViewport",void 0),Object(s.a)(this,"onInitializationFinished",function(e){console.log("\u63d2\u4ef6\u521d\u59cb\u5316\u5b8c\u6210",e.status),i.setPD(),"success"==e.status?(i.trylive_resize(),i.TryLive.playVideoCapture(!1,function(e,t){if(console.log("playVideoCapture: ",e,t),"success"!==e)return i.isLiveSupport=!1,void(i.videoError=t.error);i.isLiveSupport=!0,i.videoError=""}),i.getCatalogContent(),i.TryLive.initializeTrackingConstraints({xMin:.35,xMax:.65,yMin:.35,yMax:.65,near:50,far:700},null)):console.error("loading failed\n"+e.error)}),Object(s.a)(this,"unloadAsset",function(){var e=i.viewport_number-1,t=i.preAsset[e];t&&i.TryLive.unloadAsset({reference:t},function(t,n){i.preAsset[e]=""})}),Object(s.a)(this,"LoadPicture",function(e){return new a.a(function(t,n){console.log("LoadPicture",e),i.TryLive.loadPhoto({file:e},function(a,o){i.file_obj=e,"success"==o.status?t():n("Image not successfully loaded because "+o.error)})})}),Object(s.a)(this,"setPD",function(e){e&&(i.current_PD=e),i.TryLive.setPupillaryDistance({distance:i.current_PD},function(){i.TryLive.recalibrate(null,null),"photo"===c&&i.LoadPicture(i.file_obj)})}),this.props=t,this.LiveDiv=t.LiveDiv,this.showToast=t.showToast,this.loadingToast=t.loadingToast,this.hideToast=t.hideToast,this.alertError=t.alertError,this.numberOfViewport=1,this.viewport_number=1;var n=this;window.onTryLiveNotify=function(e,i){switch(e){case"initPoseStatusChanged":if(!i.bTracking)switch(c){case"live":switch(i.status){case"none":n.showToast(t.t("notice:tryOn3D.NO_FACE_DETECTED"));break;case"too_far_left":case"too_far_right":case"too_low":case"too_high":n.showToast(t.t("notice:tryOn3D.BACK_TO_CENTER"))}}break;case"assetsLoadingStatusChanged":break;case"initializationFinished":n.onInitializationFinished(i);break;case"click":break;case"imageSequenceRecorded":window.TryLive.showAssets(null,null),window.TryLive.playImageSequence({loop:!0},function(e,t){})}}}return Object(r.a)(e,[{key:"init",value:function(e){var t=this;this.timer=setInterval(function(){if(!(t.count<=0))return window.TryLive?(t.TryLive=window.TryLive,t.defaultAsset=e,c="live",t.TryLive.initialize(t.LiveDiv,{catalogName:"web-catalog",defaultAsset:"none",defaultMode:{mode:"live",autoplay:!1}}),void clearInterval(t.timer)):void t.count--;clearInterval(t.timer)},1e3)}},{key:"jQueryInit",value:function(){}},{key:"trylive_resize",value:function(){console.log("iframeChange");var e=document.getElementById("myVTO"),t={width:e?e.offsetWidth:620,height:e.offsetHeight};console.log("setResolution: ",t.width,t.height),this.TryLive.setResolution(t,function(e,t){console.log("setResolution: ",e,t)})}},{key:"getCatalogContent",value:function(){var e=this;this.TryLive.getCatalogContent({catalog_name:"test_ti_publish"},function(t,i){if(console.log("getCatalogContent status",t,"parameters",i),"success"==t){var n=[];i.hits.hits.forEach(function(e){var t=e._source,i=e.sort;n.push({ext_product_id:t.ext_product_id,sort:i[0]})}),e.productIdList=n,console.log("this.productIdList======",e),e.props.pageReady()}})}},{key:"getReference",value:function(e){if(!e)return console.log("getReference\u7f3a\u5c11\u53c2\u6570color_id\uff1a".concat(e)),"";console.log("this.productIdList",this);var t=this.productIdList.filter(function(t){return t.ext_product_id==e});return t.length>0&&t[0].sort}},{key:"loadAsset",value:function(e,t,i){var n=this.getReference(e);if(n){var a=this.viewport_number-1;this.productList[a]={tryOnProduct:t.tryOnProduct,tryOnColor:t.tryOnColor,reference:n},this.unloadAssetAndLoadAsset({viewport_number:this.viewport_number,preAssetIndex:a,reference:n}),i&&i()}else this.alertError(this.props.t("notice:tryOn3D.NO_REFERENCE"))}},{key:"unloadAssetAndLoadAsset",value:function(e){var t=this,i=e.viewport_number,n=e.preAssetIndex,a=e.reference,o=e.callBack,r=void 0===o?function(){}:o;this.loadingToast();var s=this.preAsset[n];s?this.TryLive.unloadAsset({reference:s},function(e,o){"success"==e&&t.TryLive.loadAsset({reference:a,ext_reference:!1,viewport:i},function(e,o){t.hideToast(),console.log("loadAsset status:".concat(e," reference:").concat(a," viewport:").concat(i)),t.preAsset[n]=a,r()})}):this.TryLive.loadAsset({reference:a,ext_reference:!1,viewport:i},function(e,o){t.hideToast(),console.log("loadAsset status:".concat(e," reference:").concat(a," viewport:").concat(i)),t.preAsset[n]=a,r()})}},{key:"setTryLiveMode",value:function(){var e=this;console.log("------setTryLiveMode mode"),this.loadingToast(),c="live",window.TryLive.setMode({mode:"live",autoplay:!1},function(){window.TryLive.playVideoCapture(!1,function(t,i){e.hideToast(),"success"!=t&&(console.error("playVideoCapture: ",t,i),alert("playVideoCapture: "+i.error))}),window.TryLive.initializeTrackingConstraints({xMin:.35,xMax:.65,yMin:.35,yMax:.65,near:50,far:700},null)})}},{key:"setFaceInitConstraints",value:function(e){console.log("setFaceInitConstraints",e),e?this.TryLive.sendMessage("TryLivePlayer","initializeTrackingConstraints",{xMin:.3,xMax:.7,yMin:.3,yMax:.7,near:300,far:900},function(e,t){}):this.TryLive.sendMessage("TryLivePlayer","initializeTrackingConstraints",{xMin:0,xMax:1,yMin:0,yMax:1,near:100,far:1e3},function(e,t){})}},{key:"setTryOnPhoto",value:function(){var e=this;return new a.a(function(t,i){e.loadingToast(),c="photo",e.TryLive.setMode({mode:"photo"},function(n,a){e.setFaceInitConstraints(!1),e.hideToast(),"success"==n?t():i()})})}},{key:"loadPhoto",value:function(e){this.TryLive.loadPhoto({file:e},function(){})}},{key:"initRecord",value:function(){var e=this;return this.setPD(),new a.a(function(t,i){e.loadingToast(),c="live",e.TryLive.setMode({mode:"imageSequence",fps:20,maxDuration:e.maxRecordDuration,maxFrames:e.maxRecordFrames,autoplay:!1,loop:!1,ui:{resources:"https://acep1.trylive.com/html5/ecommerce/img/resources.json",opacityMin:.2}},function(){e.TryLive.playVideoCapture(!1,function(n,a){e.hideToast(),"success"==n?(t("record playVideoCapture success"),console.log(" record playVideoCapture success ===========")):(console.log(" record playVideoCapture failed ==========="),i("record playVideoCapture failed"))})})})}},{key:"startRecord",value:function(){var e=this,t=this;return new a.a(function(i,n){e.TryLive.sendMessage("TryLivePlayer","startRecord",!1,function(a,o){"success"==a?(console.log(" startRecord success ==========="),i()):(console.log(" startRecord failed ==========="),e.showToast(t.props.t("notice:tryOn3D.".concat(o.error.split(/\s/).join("_").toUpperCase()))),n(o.error))})})}},{key:"stopRecord",value:function(){var e=this;return new a.a(function(t,i){e.TryLive.sendMessage("TryLivePlayer","pauseVideoCapture",!1,function(e,n){"success"==e?(console.log(" pauseVideoCapture success ==========="),t()):(console.log(" pauseVideoCapture failed ==========="),i("pauseVideoCapture failed"))})})}},{key:"getSnapShot",value:function(){var e=this;return new a.a(function(t,i){e.loadingToast(),e.TryLive.sendMessage("TryLivePlayer","takeSnapshot",{contents:!0},function(n,a){e.hideToast(),"undefined"!=a.image?t(a.image):i()})})}},{key:"splitViews",value:function(e){var t=this,i=this.numberOfViewport,n=this.viewport_number;i>e&&this.reSetViewport({preNumberOfViewport:i,numberOfViewport:e,preViewport_number:n}),this.TryLive.sendMessage("TryLivePlayer","splitViews",{numberOfViewport:e},function(){t.numberOfViewport=e}),this.TryLive.sendMessage("TryLivePlayer","setViewportDelimiter",{visible:!0,size:5,color:"#2b8cc7",alpha:1},null),this.selectViewport(1)}},{key:"selectViewport",value:function(e){if(!(this.viewport_number===e||e>this.numberOfViewport)){var t=this.productList[e-1];t&&this.props.onLoadAsset(t),this.viewport_number=e,this.TryLive.sendMessage("TryLivePlayer","selectViewport",{viewport_number:e},function(){})}}},{key:"reSetViewport",value:function(e){e.preNumberOfViewport,e.numberOfViewport,e.preViewport_number}}]),e}();t.a=l},ifQR:function(e,t,i){"use strict";i("SoD3");var n=i("9xET"),a=i.n(n),o=(i("YKpo"),i("ZPTe")),r=i.n(o),s=i("Cg2A"),c=i.n(s),l=i("0iUn"),d=i("sLSF"),p=i("MI3g"),u=i("a7VT"),m=i("AT/M"),f=i("Tit0"),h=i("vYYK"),g=i("MX0m"),b=i.n(g),x=i("q1tI"),y=i.n(x),v=i("Oesk"),j=(i("yF01"),i("9kay")),w=i("9Ea1"),k=i("/MKj"),_=i("O7Mq"),O=y.a.createElement,S=function(e){function t(e){var i;return Object(l.a)(this,t),i=Object(p.a)(this,Object(u.a)(t).call(this,e)),Object(h.a)(Object(m.a)(i),"getTime",function(){var e=Math.floor(c()()/1e3),t=1574668800-e,i=!1;return 1573293600-e<=0&&t>0&&(i=!0),t<0&&(i=!1),i}),i.t=i.props.t,i}return Object(f.a)(t,e),Object(d.a)(t,[{key:"render",value:function(){var e=this.props.domain,t=this.getTime();Object(w.getSite)(e);return O("div",{className:"jsx-2605026464 subscribe"},O(b.a,{id:"2605026464"},[".subscribe.jsx-2605026464{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:flex-start;-webkit-box-align:flex-start;-ms-flex-align:flex-start;align-items:flex-start;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;margin:20px 0;width:100%;}",".icon-infooter.jsx-2605026464{display:inline-block;width:25px;height:25px;border-radius:50%;margin-right:15px;}",".icon-infooter.jsx-2605026464:hover{-webkit-transform:translateY(-5px);-ms-transform:translateY(-5px);transform:translateY(-5px);-webkit-transition:all 0.1s linear;transition:all 0.1s linear;cursor:pointer;}",".tiktok-img.jsx-2605026464{position:relative;width:20px;cursor:pointer;-webkit-transition:all 0.1s linear;transition:all 0.1s linear;}",".Whatsapp-img.jsx-2605026464{position:relative;width:25px;cursor:pointer;-webkit-transition:all 0.1s linear;transition:all 0.1s linear;}",".tiktok-img.jsx-2605026464:hover{-webkit-transform:translateY(-5px);-ms-transform:translateY(-5px);transform:translateY(-5px);}",".form_wrap.jsx-2605026464{padding:0 50px;}","@media (max-width:780px){.subscribe-text.jsx-2605026464{margin-left:90px;}}"]),O(a.a,{justify:"center"},O(r.a,null,O("p",{style:{fontSize:"24px",fontWeight:"bolder"},dangerouslySetInnerHTML:{__html:t?this.t("common:JoinUsGetEarly"):this.t("common:JoinUsGet15Off")},className:"jsx-2605026464 subscribe-text"})),O(r.a,null,O("div",{className:"jsx-2605026464 form_wrap"},O(v.a,{t:this.t})," ")),O(_.a,{openShareWindow:!1})))}}]),t}(y.a.Component);t.a=Object(j.a)(["account","common"])(Object(k.b)(function(e){return{domain:e.common.domain}})(S))},knuh:function(e,t,i){"use strict";i.d(t,"h",function(){return n}),i.d(t,"g",function(){return a}),i.d(t,"i",function(){return o}),i.d(t,"j",function(){return r}),i.d(t,"c",function(){return s}),i.d(t,"f",function(){return c}),i.d(t,"d",function(){return l}),i.d(t,"e",function(){return d}),i.d(t,"k",function(){return p}),i.d(t,"l",function(){return u}),i.d(t,"a",function(){return m}),i.d(t,"b",function(){return f});var n="id[2]",a={distance:1,intermediate:3,multifocla:4,near:2,nonRx:268,frameOnly:269,frameSunNonRx:300},o="id[2]",r=4,s="id[27]",c=278,l="id[210]",d={roundTop:50,flatTop:51},p="id[28]",u=279,m="id[12]",f=703},lP4z:function(e,t,i){"use strict";i.d(t,"a",function(){return s});var n=i("dfwq"),a=i("pLtp"),o=i.n(a),r=i("uFYX"),s=function(e){return o()(e).reduce(function(t,i){return t[i]=r.a.apply(void 0,Object(n.a)(e[i])),t},{})}},lT5N:function(e,t,i){"use strict";var n=i("hfKm"),a=i.n(n),o=i("2Eek"),r=i.n(o),s=i("XoMD"),c=i.n(s),l=i("Jo+v"),d=i.n(l),p=i("4mXO"),u=i.n(p),m=i("pLtp"),f=i.n(m),h=i("dfwq"),g=i("ln6h"),b=i.n(g),x=i("O40h"),y=i("9Jkg"),v=i.n(y),j=i("0iUn"),w=i("sLSF"),k=i("MI3g"),_=i("a7VT"),O=i("AT/M"),S=i("Tit0"),T=i("vYYK"),I=i("MX0m"),C=i.n(I),N=i("q1tI"),E=i.n(N),L=i("HMs9"),M=i.n(L),P=i("/MKj"),A=i("uFcW"),R=i("ytso"),F=i("EsV+"),D=i("p70m"),z=i("b7Qq"),B=i("tMwj"),U=i("KDCo"),G=i("8nwx"),H=i("cM4p"),q=i("7UmG"),V=i("Xkk+"),W=i("/oNl"),Y=i("ChnY"),X=i("AyhS"),K=i("9Ea1"),Q=i("tpRK"),J=i("p+zr"),Z=i("CeTK"),$=i("z+59"),ee=i("s85i"),te=i("Rofo"),ie=i("p46w"),ne=i.n(ie),ae=i("dZU6"),oe=E.a.createElement;function re(e,t){var i=f()(e);if(u.a){var n=u()(e);t&&(n=n.filter(function(t){return d()(e,t).enumerable})),i.push.apply(i,n)}return i}function se(e){for(var t=1;t0?i.props.data.products_color_relation[0]:{},isMouseHover:!1,notifyArr:[],products_id:i.props.data.products_id,showPro:!0,imageError:!1}),Object(T.a)(Object(O.a)(i),"thousandFacesClick",function(){var e=i.props.pageInfo,t=e.is_personalize,n=e.data;if(t&&n.page_id){var a=ne.a.get("interval_time"),o=a?JSON.parse(a):{};o[n.page_id]=(new Date).getTime(),ne.a.set("interval_time",v()(o))}}),Object(T.a)(Object(O.a)(i),"handleClickPrdt",function(e,t){e&&t&&B.a.clickProduct("clickProduct","".concat(e,"-").concat(t));var n=i.props,a=n.data,o=n.index,r=n.filterItem,s=n.filterSubItem,c=n.userInfo,l=n.domain,d=i.state.active_color,p=Object(U.vb)(d.product_price?d.product_price:se({},d));Object(ae.c)({products_id:a.products_id,products_model:a.products_model,price:p.price,colorId:d.color_id,filterItem:r,filterSubItem:s,domain:l,email:c.customers_email_address||""}),i.props.onProductClick&&i.props.onProductClick(a,o)}),Object(T.a)(Object(O.a)(i),"handleImageError",function(){i.setState({imageError:!0})}),Object(T.a)(Object(O.a)(i),"onColorChange",function(){var e=Object(x.a)(b.a.mark(function e(t){return b.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:i.setState({showPro:!1}),i.state.color_info.forEach(function(e){if(e.color_id===t){i.setState({active_color:e});var n=i.props,a=n.filterItem,o=n.filterSubItem,r=n.userInfo,s=n.domain,c=Object(U.vb)(e.product_price?e.product_price:se({},e));i.props.data.products_id&&i.state.active_color.id&&B.a.clickProduct("clickProduct","".concat(i.props.data.products_id,"-").concat(i.state.active_color.id)),Object(Q.e)({colorId:e.color_id,price:c.price,filterItem:a,filterSubItem:o},{email:r.customers_email_address||"",domain:s})}});case 2:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}()),Object(T.a)(Object(O.a)(i),"onFavourite",function(e){var t=i.props,n=t.filterItem,a=t.filterSubItem,o=t.userInfo,r=t.domain,s=Object(U.vb)(i.state.active_color.product_price?i.state.active_color.product_price:se({},i.state.active_color));Object(Q.b)({colorId:i.state.active_color.color_id,price:s.price,filterItem:n,filterSubItem:a},{email:o.customers_email_address||"",domain:r}),ee.a.AddToWishlist({currency:Object(U.n)(J.g),itemCount:1,value:s.price})}),Object(T.a)(Object(O.a)(i),"renderCountDown",function(e){var t=i.props.is_show_count,n=void 0!==t&&t;try{n=n||J.Z.includes(window.location.pathname)}catch(p){}var a=i.props.t,o=i.state.active_color,r=void 0===o?{}:o,s=r.discount_start,c=void 0===s?0:s,l=r.discount_expire,d=void 0===l?0:l;return n&&e&&oe(E.a.Fragment,null,oe(C.a,{id:"4074205747"},[".pc_count_wrap{color:#ff264f;margin-left:14px;}"]),oe(X.a,{className:"pc_count_wrap",t:a,startTime:c,lastTime:d}))}),Object(T.a)(Object(O.a)(i),"onItemHover",function(){"/z/eyeglasses-for-men.html"===window.location.pathname&&i.setState({isMouseHover:!0})}),Object(T.a)(Object(O.a)(i),"onItemLeave",function(){"/z/eyeglasses-for-men.html"===window.location.pathname&&i.setState({isMouseHover:!1})}),Object(T.a)(Object(O.a)(i),"addNotifyArr",function(e){i.setState(function(t){return{notifyArr:[].concat(Object(h.a)(t.notifyArr),[e])}})}),i}return Object(S.a)(t,e),Object(w.a)(t,[{key:"render",value:function(){var e=this,t=this.state,i=t.active_color,n=void 0===i?{}:i,a=(t.showPro,t.imageError,this.props.domain),o=Object(K.getSite)(a),r=this.props,s=r.t,c=r.c,l=r.data,d=r.isPackage,p=r.isIpad,u=r.isShowPrice,m=void 0===u||u,f=r.ff,h=r.pageId,g=r.show_tryon,y=void 0===g||g,v=r.pageInfo,j=r.laoutType,w=l.products_id,k=l.products_model,_=l.products_name_attribute,O=l.products_reviews,S=l.master_categories_id,T=l.products_months_ordered,I=l.products_sex,N=l.ageRange,E=l.is_sku,L=l.products_type,P=v.is_personalize,D=(v.openNewTab,v.is_Internal),z=Object(U.K)(l.products_date_added_stortime),B=T>=50,V=3===I,X=Object(U.Q)(w,"middle",2,n.color_image),Q=Object(U.Q)(w,"middle",1,n.color_image),ee=Object(U.vb)(n.product_price?n.product_price:se({},n)),ie="/pc/productDetail/".concat(w,"?color=").concat(n.color_id),ne=U.B&&f?"&ff=t":"",ae="&master_categories_id=".concat(S),re=d?"&is_package=".concat(d):"",ce=h?"&sublink=".concat(h):"",le=P?"&is_personalize=true":"",de=h&&"us"===o&&J.gb.includes(h)?"&page=".concat(h):"",pe="".concat(ie).concat(ne).concat(ae).concat(ce).concat(re).concat(de).concat(le);return pe=Object(F.a)(pe),oe("div",{onMouseEnter:this.onItemHover,onMouseLeave:this.onItemLeave,className:"jsx-2768335240"},oe(C.a,{id:"2768335240"},[".pc-product-item-container.jsx-2768335240{position:relative;}",".pc-product-item-container.jsx-2768335240 .no-rx-icon.jsx-2768335240{position:absolute;top:-30px;right:0;color:#f69000;font-size:14px;}",".pc-product-between.jsx-2768335240{-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;}",".pc-product-row.jsx-2768335240{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}",".pc-product-item-container.jsx-2768335240 .pc-review-p.jsx-2768335240{margin-bottom:0;font-size:14px;font-weight:400;color:#aaa;}",".pc-product-item-container.info_mid.jsx-2768335240{padding-top:15px;}",".pc-product-item-container.jsx-2768335240 .icon-hn.jsx-2768335240{width:27px;height:auto;margin-right:6px;}",".pc-product-item-container.jsx-2768335240 .icon-kids.jsx-2768335240{width:24px;height:auto;margin-left:6px;}",".pc-product-item-container.jsx-2768335240 .icon-heart.jsx-2768335240{width:18px;height:auto;cursor:pointer;}",".pc-product-item-container.jsx-2768335240 p.jsx-2768335240{font-size:14px;font-weight:400;color:rgba(170,170,170,1);margin-bottom:0;}",".pc-review-p.jsx-2768335240{font-size:14px;font-weight:400;color:rgba(170,170,170,1);}",".pc-product-item-container.jsx-2768335240 .price.jsx-2768335240{font-size:20px;font-weight:bold;color:rgba(69,69,69,1);text-align:right;}",".pc-product-item-container.jsx-2768335240 s.jsx-2768335240{font-size:14px;font-weight:400;-webkit-text-decoration:line-through;text-decoration:line-through;color:rgba(170,170,170,1);}",".product-icon-container.jsx-2768335240{width:100%;height:30px;margin-bottom:20px;}",".product-icon.jsx-2768335240{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;height:16px;border-radius:20px;padding:0 10px;color:#fff;font-size:12px;text-align:center;font-weight:400;margin-right:10px;}",".product-icon-off.jsx-2768335240{background:#ee5454;}",".product-icon-hot.jsx-2768335240{background:#e6a958;}",".product-icon-new.jsx-2768335240{background:#58b9e6;}","@media (max-width:780px){.pc-review-p.jsx-2768335240{display:none;}}",".video-play-button.jsx-2768335240{width:60px;height:60px;background-color:#f3f3f3;border:none;border-radius:50%;position:relative;cursor:pointer;-webkit-transition:background-color 0.3s;transition:background-color 0.3s;}",".video-play-button.jsx-2768335240:before,.video-play-button.jsx-2768335240:after{content:'';position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%);}",".video-play-button.jsx-2768335240:before{content:'';width:0;height:0;border-top:17px solid transparent;border-bottom:17px solid transparent;border-left:30px solid #333;margin-left:3px;}",".video-play-button.jsx-2768335240:after{content:'';position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%);width:12px;height:12px;background-color:#333;border-radius:50%;-webkit-transition:opacity 0.3s;transition:opacity 0.3s;opacity:0;}",".video-play-button.jsx-2768335240:hover{background-color:#ccc;}",".video-play-button.jsx-2768335240:hover.jsx-2768335240:after{opacity:1;}"]),oe("div",{style:{marginBottom:"60px"},className:"jsx-2768335240 pc-product-item-container"},oe("div",{className:"jsx-2768335240 product-icon-container"},oe(q.f,{justify:"flex-start"},function(){switch(!0){case ee.showDiscount&&m:if(ee.salePer<0)return null;var e=Object(te.a)(o,ee.salePer,s);return oe($.a,{background:"#EE5454",pcMarginRight:"6px"},e);case z:return oe($.a,{background:"#58B9E6",pcMarginRight:"6px"},s("common:NEW"));case B:return oe($.a,{background:"#E6A958",pcMarginRight:"6px"},s("common:HOT"));default:return""}}(),2==L&&oe($.a,{background:"#58B9E6",pcMarginRight:"6px"},s("productDetail:NonRxPrescription")),oe(Z.a,{t:s,lensWidth:l.dimensions_lens,bridgeWidth:l.dimensions_bridge,pcMarginRight:"6px"}),this.renderCountDown(ee.showDiscount))),oe("div",{style:{marginBottom:"14px"},className:"jsx-2768335240"},oe("a",{href:pe,target:P?"_self":"_blank",onClick:function(t){D&&t.preventDefault(),e.thousandFacesClick(),e.handleClickPrdt(w,n.color_id)},style:{minHeight:"130px",display:"block"},title:N?"".concat(_||k,"-(").concat(s("productDetail:Age")).concat(N,") "):_||k,className:"jsx-2768335240"},oe(M.a,{overflow:!!this.props.isIndex,height:200},p?oe(R.a,{imageSrc:X}):oe(A.a,{imageSrc:X,imageCeSrc:Q})))),!E&&oe(G.a,{rowCenter:!0,laoutType:j,list:this.state.color_info,selected:n.color_id,products_id:w,onChange:this.onColorChange}),oe(q.f,{justify:"space-between",style:{marginTop:"20px",marginBottom:"10px"}},oe(q.f,{justify:"flex-start"},oe("p",{style:{color:"#333"},className:"jsx-2768335240"},"".concat(_||k)),V&&oe("img",{src:"static/icon/pc/icon_kids.png",className:"jsx-2768335240 icon-kids"}),oe("div",{style:{marginLeft:"10px"},className:"jsx-2768335240 internal_Favourite"},oe(H.a,{productId:w,onChange:function(){e.onFavourite(w)},colorId:n.color_id,t:s}))),y&&oe(W.d,{onClick:Object(x.a)(b.a.mark(function t(){return b.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.props.setTryonProduct(l);case 2:return t.next=4,e.props.setTryOnActiveColor(n.color_id);case 4:e.props.openTryOn();case 5:case"end":return t.stop()}},t)})),title:s("specialSub:Try On"),type:"sub",size:"auto",style:{padding:"3px 15px",fontFamily:"Roboto-Regular"}})),oe(q.f,{justify:"space-between"},m&&oe("div",{className:"jsx-2768335240 pc-product-row internal_price "},oe("p",{className:"jsx-2768335240 price"},oe("span",{dangerouslySetInnerHTML:{__html:this.props.c(ee.price)},className:"jsx-2768335240"}),ee.showDiscount&&oe("s",{dangerouslySetInnerHTML:{__html:this.props.c(n.price?n.price:n.product_price.price)},className:"jsx-2768335240"}))),oe("p",{className:"jsx-2768335240 pc-review-p"},"".concat(O," ").concat(s("specialSub:Reviews")))),this.state.isMouseHover&&oe(q.f,{justify:"space-between",style:{marginTop:"20px"}},oe("a",{href:pe,target:P?"_self":"_blank",style:{width:"45%"},className:"jsx-2768335240"},oe(W.d,{title:s("specialSub:FrameDetails"),type:"sub",size:"md",style:{borderRadius:0,width:"100%"}})),oe(Y.a,{t:s,c:c,colorData:n,productData:l,openModal:this.props.openModal,addNotifyArr:this.addNotifyArr,notifyArr:this.state.notifyArr,is_package:!!this.props.isPackage,packageId:this.props.isPackage?this.props.isPackage:0}))))}}],[{key:"getDerivedStateFromProps",value:function(e,t){if(e.data.products_id!==t.products_id){var i=e.data;return{color_info:i.products_color_relation||[],active_color:i.products_color_relation&&i.products_color_relation.length>0?i.products_color_relation[0]:{},isMouseHover:!1,notifyArr:[],products_id:i.products_id}}return null}}]),t}(N.Component);t.a=Object(P.b)(function(e){return{domain:e.common.domain,favoriteArr:e.products.favoriteArr,filterItem:e.filterConditions.filterItem,filterSubItem:e.filterConditions.filterSubItem,tryOnOn:e.tryOnCtr.tryOnOn,pageInfo:e.pageInfo,userInfo:e.userInfo.data}},{changeFavourite:z.a,setTryOnActiveColor:D.g,setTryonProduct:D.h,openModal:V.c,openTryOn:D.f})(ce)},lqN6:function(e,t,i){"use strict";var n=i("eVuF"),a=i.n(n),o=i("0iUn"),r=i("sLSF"),s=i("vYYK"),c=i("p+zr"),l=i("KDCo"),d=i("9Ea1"),p=new(function(){function e(){Object(o.a)(this,e),Object(s.a)(this,"account",[]),Object(s.a)(this,"deviceType",""),Object(s.a)(this,"visitorId",0),Object(s.a)(this,"criteo_q",void 0)}return Object(r.a)(e,[{key:"criteoLoadedPromise",value:function(){var e=this,t=null,i=this;return new a.a(function(n,a){e.account[0]||e.account[1]||(console.log("\u6ca1\u6709CRITEO_ID"),a()),window&&window.criteo_q?(i.criteo_q||(i.criteo_q=window.criteo_q||[]),n(!0)):t=setInterval(function(){window&&window.criteo_q&&(n(!0),clearInterval(t))},50)})}},{key:"init",value:function(){var e=this;if(this.account=[Object(d.getEnv)("CRITEO_ID"),Object(d.getEnv)("CRITEO_ID_2")],this.account[0]||this.account[1]){this.deviceType=/iPad/.test(navigator.userAgent)?"t":/Mobile|iP(hone|od)|Android|BlackBerry|IEMobile|Silk/.test(navigator.userAgent)?"m":"d";var t=Object(l.n)(c.V);try{t=JSON.parse(t)}catch(i){}this.visitorId=void 0!==t?t.visitor_id:"0@firmoo.com",this.account.map(function(t,i){if(t){var n=document.createElement("script");n.src="//dynamic.criteo.com/js/ld/ld.js?a=".concat(t),document.querySelector("head").appendChild(n),n.onload=function(){window.criteo_q=window.criteo_q||[],e.criteoLoadedPromise().then(function(){console.log("criteo viewPage",t),window.criteo_q.push({event:"setAccount",account:t},{event:"setEmail",email:"".concat(e.visitorId),hash_method:"none"},{event:"setSiteType",type:e.deviceType},{event:"viewPage"})})}}})}}},{key:"viewHome",value:function(){var e=this;this.criteoLoadedPromise().then(function(){e.account.map(function(t){console.log("criteo viewHome",t),t&&window.criteo_q.push({event:"setAccount",account:t},{event:"setEmail",email:"".concat(e.visitorId),hash_method:"none"},{event:"setSiteType",type:e.deviceType},{event:"viewHome"})})})}},{key:"viewList",value:function(e){var t=this,i=e.data;this.criteoLoadedPromise().then(function(){var e=[];i.forEach(function(t){t.products_color_info&&t.products_color_info.length>0&&t.products_color_info.forEach(function(t){e.push(t.color_id)})}),t.account.map(function(i){i&&(console.log("criteo viewList ".concat(i),{event:"viewList",item:e.join(","),category:window.location.pathname,keywords:window.location.search}),window.criteo_q.push({event:"setAccount",account:i},{event:"setEmail",email:"".concat(t.visitorId),hash_method:"none"},{event:"setSiteType",type:t.deviceType},{event:"viewList",item:e.join(","),category:window.location.pathname,keywords:window.location.search}))})})}},{key:"viewItem",value:function(e){var t=this;this.criteoLoadedPromise().then(function(){t.account.map(function(i){i&&(window.criteo_q.push({event:"setAccount",account:i},{event:"setEmail",email:"".concat(t.visitorId),hash_method:"none"},{event:"setSiteType",type:t.deviceType},{event:"viewItem",item:e}),console.log("criteo viewItem ".concat(i),e))})})}},{key:"addToCart",value:function(e){var t=this,i=e.id,n=e.price,a=e.quantity;this.criteoLoadedPromise().then(function(){t.account.map(function(e){e&&(window.criteo_q.push({event:"setAccount",account:e},{event:"setEmail",email:"".concat(t.visitorId),hash_method:"none"},{event:"setSiteType",type:t.deviceType},{event:"addToCart",item:[{id:i,price:n,quantity:a}]}),console.log("criteo addToCart:"+e,[{id:i,price:n,quantity:a}]))})})}},{key:"viewBasket",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.criteoLoadedPromise().then(function(){var i=[];t.forEach(function(e){i.push({id:e.color_id,price:e.price,quantity:e.quantity})}),e.account.map(function(t){t&&(window.criteo_q.push({event:"setAccount",account:t},{event:"setEmail",email:"".concat(e.visitorId),hash_method:"none"},{event:"setSiteType",type:e.deviceType},{event:"viewBasket",item:i}),console.log("criteo viewBasket:"+t,i))})})}},{key:"trackTransaction",value:function(e){var t=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];this.criteoLoadedPromise().then(function(){var n=[];i.forEach(function(e){n.push({id:e[0].color_id,price:e[0].total_price,quantity:e[0].products_quantity})}),t.account.map(function(i){i&&(window.criteo_q.push({event:"setAccount",account:i},{event:"setEmail",email:"".concat(t.visitorId),hash_method:"none"},{event:"setSiteType",type:t.deviceType},{event:"trackTransaction",id:e,item:n}),console.log("criteo trackTransaction:"+i,{id:e,item:n}))})})}}]),e}());t.a=p},m1kc:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i("ztRg");function a(e){var t=e.slidesToShow;return e.totalItems=o&&window.innerWidth<=a&&(c=n)}),c}},o5ZL:function(e,t,i){"use strict";var n=i("hfKm"),a=i.n(n),o=i("2Eek"),r=i.n(o),s=i("XoMD"),c=i.n(s),l=i("Jo+v"),d=i.n(l),p=i("4mXO"),u=i.n(p),m=i("pLtp"),f=i.n(m),h=i("0iUn"),g=i("sLSF"),b=i("MI3g"),x=i("a7VT"),y=i("AT/M"),v=i("Tit0"),j=i("vYYK"),w=i("MX0m"),k=i.n(w),_=i("q1tI"),O=i.n(_),S=i("9LAt"),T=O.a.createElement;function I(e,t){var i=f()(e);if(u.a){var n=u()(e);t&&(n=n.filter(function(t){return d()(e,t).enumerable})),i.push.apply(i,n)}return i}function C(e){for(var t=1;t=r&&i.setState({imgStyle:{height:"100%",width:"auto",maxWidth:"fit-content"}}),a&&a(e)}),Object(j.a)(Object(y.a)(i),"handleError",function(e){var t=i.props,n=t.onError,a=t.isErrorLoadDefaultImg,o=void 0===a||a;!i.state.loadError&&o&&Object(S.c)(i.props.defalutImg).then(function(e){e||i.setState({loadError:!0})}),n&&n(e)}),i.state={imgStyle:{},loadError:!1},i}return Object(v.a)(t,e),Object(g.a)(t,[{key:"componentDidUpdate",value:function(e,t,i){e.defalutImg!==this.props.defalutImg&&this.setState({loadError:!1})}},{key:"render",value:function(){var e=this.props,t=e.defalutImg,i=e.wrapclsName,n=e.itemClass,a=e.center,o=e.imageStyle,r=e.wrapStyle,s=e.alt,c=void 0===s?"":s,l=e.width,d=e.height,p=this.state,u=p.imgStyle,m=p.loadError,f="imgBox ".concat(i||""," ").concat(a?"center":""),h="auto"===u.width?"special_for_ie":"";return T(O.a.Fragment,null,T(k.a,{id:"2643774471"},[".imgBox.jsx-2643774471{width:100%;display:inline-block;position:relative;}",".imgBox.center.jsx-2643774471{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;height:100%;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;overflow:hidden;}","img.jsx-2643774471{width:100%;}",".special_for_ie.jsx-2643774471{position:absolute;top:0;left:50%;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%);}"]),T("div",{style:C({},r,{mixBlendMode:r&&r.mixBlendmode?r.mixBlendmode:""}),className:"jsx-2643774471 "+(f||"")},T("img",{width:l,height:d,src:m?"static/icon/phone/icon_defult_img.jpg":t,alt:c,style:C({},u,{},o),onError:this.handleError,onLoad:this.handleOnload,decoding:"async",className:"jsx-2643774471 "+"".concat(h||""," ").concat(n||"")})))}}]),t}(_.Component);t.a=N},oQ0E:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var i=t.partialVisbile,n=t.partialVisible,a=t.centerMode,o=t.ssr,r=t.responsive;if((i||n)&&a)throw new Error("center mode can not be used at the same time with partialVisible");if(!r)throw o?new Error("ssr mode need to be used in conjunction with responsive prop"):new Error("Responsive prop is needed for deciding the amount of items to show on the screen");if(r&&"object"!=typeof r)throw new Error("responsive prop must be an object")}},p2Vd:function(e,t,i){"use strict";var n=i("hfKm"),a=i.n(n),o=i("2Eek"),r=i.n(o),s=i("XoMD"),c=i.n(s),l=i("Jo+v"),d=i.n(l),p=i("4mXO"),u=i.n(p),m=i("pLtp"),f=i.n(m),h=(i("+JTO"),i("3UyF")),g=i.n(h),b=(i("QU2i"),i("d1El")),x=i.n(b),y=i("ln6h"),v=i.n(y),j=i("O40h"),w=i("9Jkg"),k=i.n(w),_=i("dfwq"),O=i("vYYK"),S=i("doui"),T=i("MX0m"),I=i.n(T),C=i("q1tI"),N=i.n(C),E=i("/MKj"),L=i("p+zr"),M=i("KDCo"),P=i("mSaO"),A=i("Cg2A"),R=i.n(A),F=i("6BQ9"),D=i.n(F),z=i("eVuF"),B=i.n(z);function U(e){return new B.a(function(t,i){var n=new Image;n.crossOrigin="anonymous",n.onload=function(){var e=n.width,i=n.height,a=document.createElement("canvas");a.width=e,a.height=i;var o=a.getContext("2d");o.drawImage(n,0,0,e,i);for(var r,s,c,l,d=o.getImageData(0,0,e,i).data,p=[],u=0,m=d.length;u=0;j--){for(var w=0;w=0;P--){for(var A=0;A-1?e:"".concat(e,"?t=").concat(R()()).concat(Math.random().toString(16).substring(2))})}function G(e){return new B.a(function(t,i){var n=new Image;n.onload=function(){t({width:n.width,height:n.height})},n.onerror=function(){i("img load error")},n.src=e})}var H=i("9nMr");function q(e,t){var i=f()(e);if(u.a){var n=u()(e);t&&(n=n.filter(function(t){return d()(e,t).enumerable})),i.push.apply(i,n)}return i}var V=function(e,t,i){var n=Object(C.useRef)(function(e){for(var t=1;tn/i;return c?(e=e*n/t,t=n):(t=t*i/e,e=i),(c=t/e>J)?o=(a=e-1)*J:a=(o=t-1)/J,{edgeL:c?(i-e)/2:0,edgeR:c?(i-e)/2+e:i,edgeT:c?0:(n-t)/2,edgeB:c?n:(n-t)/2+t,left:r=(i-a)/2,top:s=(n-o)/2,width:a,height:o,cropperBorderStyle:{left:r+"px",top:s+"px",width:a+"px",height:o+"px"}}}return{}}function te(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:$,t=arguments.length>1?arguments[1]:void 0,i=t.type,n=t.payload;switch(i){case Z.SET_FILE_INFO:var a=ee(n.width,n.height,e.boxWidth,e.boxHeight);return Q({},e,{tooHigh:n.tooHigh,dataUrl:n.dataUrl,imgWidth:n.width,imgHeight:n.height},a);case Z.SET_BOX_SIZE:var o=ee(e.imgWidth,e.imgHeight,n.boxWidth,n.boxHeight);return Q({},e,{boxWidth:n.boxWidth,boxHeight:n.boxHeight},o);case Z.CANCEL:return Q({},$,{boxWidth:e.boxWidth,boxHeight:e.boxHeight});case Z.SET_IDX_OF_DRAGGING:return Q({},e,{idxOfDragging:n});case Z.CHANGE:var r=e.edgeL,s=e.edgeR,c=e.edgeT,l=e.edgeB,d=e.left,p=e.top,u=e.width,m=e.height,f=e.idxOfDragging,h=50*J,g=Object(S.a)(n,2),b=g[0],x=g[1];switch(f){case-1:(d+=b)s&&(d=s-u),(p+=x)l&&(p=l-m);break;case 0:var y=p+m;d=d+u-(u=(m-=x)/J),p=y-m;break;case 1:var v=p+m;u=(m-=x)/J,p=v-m;break;case 2:d=d+u-(u=(m+=x)/J);break;case 3:u=(m+=x)/J}return ds||p+m>l||u<50||m0){var a={boxWidth:i,boxHeight:n};b({type:Z.SET_BOX_SIZE,payload:a})}else setTimeout(e,500)}else setTimeout(e,500)},[]),Object(C.useEffect)(function(){t&&function(e){return new B.a(function(t){var i=new FileReader;i.onload=function(e){t(e.target.result)},i.readAsDataURL(e)})}(t).then(function(e){G(e).then(function(t){var i=t.width,n=t.height,a=n/i>729/604;b({type:Z.SET_FILE_INFO,payload:{tooHigh:a,dataUrl:e,width:i,height:n}})})})},[t]);var j=function(e,t){var i=Object(C.useRef)(!0);return function(){if(i.current){i.current=!1,setTimeout(function(){i.current=!0},t);for(var n=arguments.length,a=new Array(n),o=0;oimg.__jsx-style-dynamic-selector{-webkit-transform:rotate(".concat(d,"deg);-ms-transform:rotate(").concat(d,"deg);transform:rotate(").concat(d,"deg);max-width:").concat(d/90%2?"7.29rem":"6.04rem",";max-height:").concat(d/90%2?"6.04rem":"7.29rem",";}"),".cropper-img-box.__jsx-style-dynamic-selector *.__jsx-style-dynamic-selector{float:none;}",".cropper-border.__jsx-style-dynamic-selector{position:absolute;border:1px solid #26abff;}",".cropper-border.__jsx-style-dynamic-selector>svg.__jsx-style-dynamic-selector{position:absolute;}","svg.lt.__jsx-style-dynamic-selector,svg.rt.__jsx-style-dynamic-selector,svg.lb.__jsx-style-dynamic-selector,svg.rb.__jsx-style-dynamic-selector{width:34px;padding:8px 8px;}","svg.lt.__jsx-style-dynamic-selector{left:-11px;top:-11px;}","svg.rt.__jsx-style-dynamic-selector{right:-12px;top:-11px;}","svg.lb.__jsx-style-dynamic-selector{left:-11px;bottom:-12px;}","svg.rb.__jsx-style-dynamic-selector{right:-12px;bottom:-12px;}",".cropper-img-box.__jsx-style-dynamic-selector .mask.__jsx-style-dynamic-selector{position:absolute;width:initial;height:initial;}","svg.lt.__jsx-style-dynamic-selector,svg.rt.__jsx-style-dynamic-selector,svg.lb.__jsx-style-dynamic-selector,svg.rb.__jsx-style-dynamic-selector{width:34px;height:34px;}",".rorate.__jsx-style-dynamic-selector{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;margin-top:0.27rem;}",".rotate.__jsx-style-dynamic-selector>div.__jsx-style-dynamic-selector{font-size:0.24rem;line-height:0.32rem;font-weight:400;color:#333333;}",".submit.__jsx-style-dynamic-selector{margin-top:0.9rem;width:5rem;height:0.72rem;background:#26abff;border-radius:4px;font-size:0.28rem;font-weight:400;color:#fff;line-height:0.32rem;}",".cancel.__jsx-style-dynamic-selector{margin-top:0.2rem;width:5rem;height:0.72rem;background:#fff;border:1px solid #26abff;border-radius:4px;font-size:0.28rem;font-weight:400;color:#26abff;line-height:0.32rem;}","@media (min-width:768px){.cropper.__jsx-style-dynamic-selector{text-align:center;}.cropper-head.__jsx-style-dynamic-selector{width:100%;height:50px;font-size:18px;}.cropper-head.__jsx-style-dynamic-selector svg.__jsx-style-dynamic-selector{width:14px;top:14px;right:12px;}.cropper-img-box.__jsx-style-dynamic-selector{margin:0 auto;width:312px;height:377px;}.cropper-img-box.__jsx-style-dynamic-selector>img.__jsx-style-dynamic-selector{max-width:".concat(d/90%2?"377px":"312px",";max-height:").concat(d/90%2?"312px":"377px",";}.cropper-border.__jsx-style-dynamic-selector{border:1px solid #26abff;}svg.lt.__jsx-style-dynamic-selector{cursor:nwse-resize;}svg.rt.__jsx-style-dynamic-selector{cursor:nesw-resize;}svg.lb.__jsx-style-dynamic-selector{cursor:nesw-resize;}svg.rb.__jsx-style-dynamic-selector{cursor:nwse-resize;}.rorate.__jsx-style-dynamic-selector{margin-top:11px;cursor:pointer;}.rotate.__jsx-style-dynamic-selector>div.__jsx-style-dynamic-selector{font-size:14px;}.submit.__jsx-style-dynamic-selector{margin-top:30px;width:260px;height:40px;font-size:16px;}.cancel.__jsx-style-dynamic-selector{margin-top:13px;width:260px;height:40px;font-size:16px;border-width:1px;}}")]),X("div",{className:I.a.dynamic([["1354726662",[d,d/90%2?"7.29rem":"6.04rem",d/90%2?"6.04rem":"7.29rem",d/90%2?"377px":"312px",d/90%2?"312px":"377px"]]])+" cropper-head"},i("common:ImgTryOn.EditPicture"),!o&&X("svg",{onClick:v,viewBox:"0 0 100 100",className:I.a.dynamic([["1354726662",[d,d/90%2?"7.29rem":"6.04rem",d/90%2?"6.04rem":"7.29rem",d/90%2?"377px":"312px",d/90%2?"312px":"377px"]]])},X("path",{d:"M 0 0 L 0 4 L 46 50 L 0 96 L 0 100 L 4 100 L 50 54 L 96 100 L 100 100 L 100 96 L 54 50 L 100 4 L 100 0 L 96 0 L 50 46 L 4 0 Z",fill:"#333",className:I.a.dynamic([["1354726662",[d,d/90%2?"7.29rem":"6.04rem",d/90%2?"6.04rem":"7.29rem",d/90%2?"377px":"312px",d/90%2?"312px":"377px"]]])}))),X("div",{className:I.a.dynamic([["1354726662",[d,d/90%2?"7.29rem":"6.04rem",d/90%2?"6.04rem":"7.29rem",d/90%2?"377px":"312px",d/90%2?"312px":"377px"]]])+" cropper-area"},X("div",{ref:y,className:I.a.dynamic([["1354726662",[d,d/90%2?"7.29rem":"6.04rem",d/90%2?"6.04rem":"7.29rem",d/90%2?"377px":"312px",d/90%2?"312px":"377px"]]])+" cropper-img-box"},l&&X("img",{src:l,alt:"",className:I.a.dynamic([["1354726662",[d,d/90%2?"7.29rem":"6.04rem",d/90%2?"6.04rem":"7.29rem",d/90%2?"377px":"312px",d/90%2?"312px":"377px"]]])}),X("svg",{viewBox:"0 0 ".concat(h," ").concat(g),className:I.a.dynamic([["1354726662",[d,d/90%2?"7.29rem":"6.04rem",d/90%2?"6.04rem":"7.29rem",d/90%2?"377px":"312px",d/90%2?"312px":"377px"]]])+" mask"},X("path",{d:"M 0 0 H ".concat(h," V ").concat(u," H 0 Z"),fillOpacity:"0.25",fill:"#000",className:I.a.dynamic([["1354726662",[d,d/90%2?"7.29rem":"6.04rem",d/90%2?"6.04rem":"7.29rem",d/90%2?"377px":"312px",d/90%2?"312px":"377px"]]])}),X("path",{d:"M 0 ".concat(u+f," H ").concat(h," V ").concat(g," H 0 Z"),fillOpacity:"0.25",fill:"#000",className:I.a.dynamic([["1354726662",[d,d/90%2?"7.29rem":"6.04rem",d/90%2?"6.04rem":"7.29rem",d/90%2?"377px":"312px",d/90%2?"312px":"377px"]]])}),X("path",{d:"M 0 0 H ".concat(p," V ").concat(g," H 0 Z"),fillOpacity:"0.25",fill:"#000",className:I.a.dynamic([["1354726662",[d,d/90%2?"7.29rem":"6.04rem",d/90%2?"6.04rem":"7.29rem",d/90%2?"377px":"312px",d/90%2?"312px":"377px"]]])}),X("path",{d:"M ".concat(p+m," 0 H ").concat(h," V ").concat(g," H ").concat(p+m," Z"),fillOpacity:"0.25",fill:"#000",className:I.a.dynamic([["1354726662",[d,d/90%2?"7.29rem":"6.04rem",d/90%2?"6.04rem":"7.29rem",d/90%2?"377px":"312px",d/90%2?"312px":"377px"]]])}),X("path",{d:"M ".concat(p," 0 H ").concat(p+m," V ").concat(u," H ").concat(p," Z"),fillOpacity:"0.25",fill:"#000",className:I.a.dynamic([["1354726662",[d,d/90%2?"7.29rem":"6.04rem",d/90%2?"6.04rem":"7.29rem",d/90%2?"377px":"312px",d/90%2?"312px":"377px"]]])}),X("path",{d:"M ".concat(p," ").concat(u+f," H ").concat(p+m," V ").concat(g," H ").concat(p," Z"),fillOpacity:"0.25",fill:"#000",className:I.a.dynamic([["1354726662",[d,d/90%2?"7.29rem":"6.04rem",d/90%2?"6.04rem":"7.29rem",d/90%2?"377px":"312px",d/90%2?"312px":"377px"]]])}),X("path",{d:"M 0 ".concat(u," H ").concat(p," V ").concat(u+f," H 0 Z"),fillOpacity:"0.25",fill:"#000",className:I.a.dynamic([["1354726662",[d,d/90%2?"7.29rem":"6.04rem",d/90%2?"6.04rem":"7.29rem",d/90%2?"377px":"312px",d/90%2?"312px":"377px"]]])}),X("path",{d:"M ".concat(p+m," ").concat(u," H ").concat(h," V ").concat(u+f," H ").concat(p+m," Z"),fillOpacity:"0.25",fill:"#000",className:I.a.dynamic([["1354726662",[d,d/90%2?"7.29rem":"6.04rem",d/90%2?"6.04rem":"7.29rem",d/90%2?"377px":"312px",d/90%2?"312px":"377px"]]])})),m>0&&X("div",{onMouseDown:function(e){return j(e,-1)},onTouchStart:function(e){return j(e,-1)},style:c,className:I.a.dynamic([["1354726662",[d,d/90%2?"7.29rem":"6.04rem",d/90%2?"6.04rem":"7.29rem",d/90%2?"377px":"312px",d/90%2?"312px":"377px"]]])+" cropper-border"},[{viewBox:"0 0 17 17",clsName:"lt",d:"M 0 0 L 0 16 L 2 16 L 2 2 L 16 2 L 16 0 Z"},{viewBox:"0 0 17 17",clsName:"rt",d:"M 0 0 L 0 2 L 14 2 L 14 16 L 16 16 L 16 0 Z"},{viewBox:"0 0 17 17",clsName:"lb",d:"M 0 0 L 0 16 L 16 16 L 16 14 L 2 14 L 2 0 Z"},{viewBox:"0 0 17 17",clsName:"rb",d:"M 16 16 L 16 0 L 14 0 L 14 14 L 0 14 L 0 16 Z"}].map(function(e,t){var i=e.viewBox,n=e.clsName,a=e.d;return X("svg",{onMouseDown:function(e){return j(e,t)},onTouchStart:function(e){return j(e,t)},viewBox:i,key:n,className:I.a.dynamic([["1354726662",[d,d/90%2?"7.29rem":"6.04rem",d/90%2?"6.04rem":"7.29rem",d/90%2?"377px":"312px",d/90%2?"312px":"377px"]]])+" "+(n||"")},X("path",{d:a,fill:"#26abff",className:I.a.dynamic([["1354726662",[d,d/90%2?"7.29rem":"6.04rem",d/90%2?"6.04rem":"7.29rem",d/90%2?"377px":"312px",d/90%2?"312px":"377px"]]])}))})))),X("div",{onClick:function(){b({type:Z.ROTATE})},className:I.a.dynamic([["1354726662",[d,d/90%2?"7.29rem":"6.04rem",d/90%2?"6.04rem":"7.29rem",d/90%2?"377px":"312px",d/90%2?"312px":"377px"]]])+" rorate"},X(H.a,{style:{fontSize:"24px"},icon:"icon-rotate"}),X("span",{className:I.a.dynamic([["1354726662",[d,d/90%2?"7.29rem":"6.04rem",d/90%2?"6.04rem":"7.29rem",d/90%2?"377px":"312px",d/90%2?"312px":"377px"]]])},i("common:ImgTryOn.RotateThePicture"))),X("div",{onClick:function(){var e=document.querySelector(".cropper-img-box"),t=e.clientWidth,i=e.clientHeight;(function(e,t,i,n,a,o,r,s,c,l){return new B.a(function(t){var i=new Image;i.onload=function(){var e=(360-n)/90%2===1,d=n/90*Math.PI/2,p=i.width,u=i.height,m=u/p>o/a,f=m?o*p/u:a,h=m?o:a*u/p;e&&(f=m?a*p/u:o,h=m?a:o*u/p);var g=document.createElement("canvas"),b=g.getContext("2d");g.width=a,g.height=o,b.translate(g.width/2,g.height/2),b.rotate(d),b.drawImage(i,-f/2,-h/2,f,h);var x=b.getImageData(r,s,c,l),y=document.createElement("canvas"),v=y.getContext("2d");y.width=c,y.height=l,v.putImageData(x,0,0),y.toBlob(function(e){t({blob:e,dataUrl:y.toDataURL("image/jpeg")})},"image/jpeg")},i.src=e})})(l,0,0,d,2*t,2*i,2*p,2*u,2*m,2*f).then(function(e){var t=e.blob,i=e.dataUrl;b({type:Z.CANCEL}),a(t,i)})},className:I.a.dynamic([["1354726662",[d,d/90%2?"7.29rem":"6.04rem",d/90%2?"6.04rem":"7.29rem",d/90%2?"377px":"312px",d/90%2?"312px":"377px"]]])+" flex btn submit"},i("common:ImgTryOn.Submit")),X("div",{onClick:v,className:I.a.dynamic([["1354726662",[d,d/90%2?"7.29rem":"6.04rem",d/90%2?"6.04rem":"7.29rem",d/90%2?"377px":"312px",d/90%2?"312px":"377px"]]])+" flex btn cancel"},i("common:CANCEL")))};var ne=[{photo_id:-1,customers_pd:62,photoOrderNum:0,distantEyeY:1,distantEyeX:68,len:68.01,angle:.84,customers_id:2162976,photo_img:"https://df5apg8r0m634.cloudfront.net/images/3d2accead7a9555ced3f6c7b938f27e5.jpg",photo_path:"images/users/2021/1102",rEyeX:140,rEyeY:126,lEyeX:77,lEyeY:126,photo_add_time:11},{photo_id:-2,customers_pd:64,photoOrderNum:0,distantEyeY:1,distantEyeX:62,len:62.01,angle:.92,customers_id:2162976,photo_img:"https://df5apg8r0m634.cloudfront.net/images/19cf6b5d4046cb9475b1f64a6440a47f.jpg",photo_path:"images/users/2021/1102",rEyeX:141,rEyeY:125,lEyeX:80,lEyeY:125,photo_add_time:10},{photo_id:-3,customers_pd:63,photoOrderNum:0,distantEyeY:1,distantEyeX:69,len:69.01,angle:.83,customers_id:2162976,photo_img:"https://df5apg8r0m634.cloudfront.net/images/823797ac1dd64f4d744fd99bde0f2ad7.jpg",photo_path:"images/users/2021/1102",rEyeX:141,rEyeY:126,lEyeX:75,lEyeY:126,photo_add_time:9},{photo_id:-4,customers_pd:66,photoOrderNum:0,distantEyeY:3,distantEyeX:68,len:68.07,angle:2.53,customers_id:2162976,photo_img:"https://df5apg8r0m634.cloudfront.net/images/092a10c706ccd7ef3e5e8d2e308dea03.jpg",photo_path:"images/users/2021/1102",rEyeX:141,rEyeY:124,lEyeX:75,lEyeY:124,photo_add_time:8},{photo_id:-5,customers_pd:61,photoOrderNum:0,distantEyeY:2,distantEyeX:63,len:63.03,angle:1.82,customers_id:2162976,photo_img:"https://df5apg8r0m634.cloudfront.net/images/558b0fbf848ab44aca3db575f0b83457.jpg",photo_path:"images/users/2021/1102",rEyeX:142,rEyeY:126,lEyeX:77,lEyeY:126,photo_add_time:7},{photo_id:-6,customers_pd:60,photoOrderNum:0,distantEyeY:0,distantEyeX:64,len:64,angle:0,customers_id:2162976,photo_img:"https://df5apg8r0m634.cloudfront.net/images/3f283c1163528f502d555ca6cc425a71.jpg",photo_path:"images/users/2021/1102",rEyeX:140,rEyeY:126,lEyeX:75,lEyeY:126,photo_add_time:6},{photo_id:-7,customers_pd:55,photoOrderNum:0,distantEyeY:1,distantEyeX:58,len:58.01,angle:.99,customers_id:2162976,photo_img:"https://df5apg8r0m634.cloudfront.net/images/654004e2e8b0a01038978149b973ed4e.jpg",photo_path:"images/users/2021/1102",rEyeX:141,rEyeY:123,lEyeX:81,lEyeY:123,photo_add_time:5},{photo_id:-8,customers_pd:63,photoOrderNum:0,distantEyeY:2,distantEyeX:74,len:74.03,angle:1.55,customers_id:2162976,photo_img:"https://df5apg8r0m634.cloudfront.net/images/6b9f039d52c7665a7574a8dbbf99490a.jpg",photo_path:"images/users/2021/1102",rEyeX:147,rEyeY:127,lEyeX:71,lEyeY:127,photo_add_time:4},{photo_id:-9,customers_pd:62,photoOrderNum:0,distantEyeY:2,distantEyeX:69,len:69.03,angle:1.66,customers_id:2162976,photo_img:"https://df5apg8r0m634.cloudfront.net/images/a381c8e68b6354f34518d5c294325778.jpg",photo_path:"images/users/2021/1102",rEyeX:145,rEyeY:125,lEyeX:78,lEyeY:125,photo_add_time:3},{photo_id:-10,customers_pd:62,photoOrderNum:0,distantEyeY:106,distantEyeX:55,len:119.42,angle:62.58,customers_id:2162976,photo_img:"https://df5apg8r0m634.cloudfront.net/images/1596d37336f09fe74fd5db8ca414b433.jpg",photo_path:"images/users/2021/1102",rEyeX:145,rEyeY:126,lEyeX:75,lEyeY:126,photo_add_time:2},{photo_id:-11,customers_pd:55,photoOrderNum:0,distantEyeY:1,distantEyeX:55,len:55.01,angle:1.04,customers_id:2162976,photo_img:" https://df5apg8r0m634.cloudfront.net/images/0c53153aaa958d63ff1211fd54693c96.jpg",photo_path:"images/users/2021/1102",rEyeX:137,rEyeY:124,lEyeX:81,lEyeY:124,photo_add_time:1}],ae=N.a.createElement;function oe(e){var t=e.color;return ae(C.Fragment,null,ae(I.a,{id:"2032418370"},["@-webkit-keyframes loading-jsx-2032418370{0%{-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg);}100%{-webkit-transform:rotate(360deg);-ms-transform:rotate(360deg);transform:rotate(360deg);}}","@keyframes loading-jsx-2032418370{0%{-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg);}100%{-webkit-transform:rotate(360deg);-ms-transform:rotate(360deg);transform:rotate(360deg);}}",".loading.jsx-2032418370{-webkit-animation:loading-jsx-2032418370 linear 1s infinite;animation:loading-jsx-2032418370 linear 1s infinite;width:20px;height:20px;}"]),ae("svg",{viewBox:"0 0 200 200",className:"jsx-2032418370 loading"},ae("circle",{cx:"100",cy:"100",r:"95",strokeWidth:"10",stroke:t,strokeDasharray:"418.879 209.44",fill:"none",className:"jsx-2032418370"})))}function re(e,t){var i=f()(e);if(u.a){var n=u()(e);t&&(n=n.filter(function(t){return d()(e,t).enumerable})),i.push.apply(i,n)}return i}function se(e){for(var t=1;t=7?"flex-start":"center"},className:"jsx-3077870649 try-on-color-list"},l.map(function(t,i){return e.itemRender(t,i)})),Ee("div",{className:"jsx-3077870649 try-on-color-name"},Object(M.zb)({t:this.props.t,color_name:m.color_name})," ",m.color_number?"(".concat(m.color_number,")"):"")),Ee("div",{className:"jsx-3077870649"},Ee(C.Fragment,null,Ee("div",{style:{justifyContent:"flex-start"},className:"jsx-3077870649 try-on-color-list"},Object(Ce.a)(f)&&f.map(function(t,i){return e.itemRenderLensColor(t,i)})),Ee("div",{className:"jsx-3077870649 try-on-color-name"},Ee("div",{style:{marginRight:"5px"},className:"jsx-3077870649"},r("lens:".concat(this.state.colorlensItem.title))),Ee(pe.d,{onClick:function(){Object(Te.q)("lens help",{event_category:"try on"}),e.setState({showHelpContent:!0})}},Ee(H.a,{icon:"icon-help",style:{fontWeight:"bold"}})))),Ee(g.a,{visible:this.state.showHelpContent,transparent:!0,closable:!0,onClose:function(){return e.setState({showHelpContent:!1})}},Ee("div",{style:{color:"#333",fontSize:"12px",padding:"30px 0"},className:"jsx-3077870649"},Ee("span",{className:"jsx-3077870649"},r("lens:".concat(this.state.colorlensItem.text))))))))}}]),t}(C.Component);var Re=Object(E.b)(function(e){return{colorList:e.tryOnCtr.colorList,colorId:e.tryOnCtr.colorId,tryOnProduct:e.tryOnCtr.tryOnProduct,cate:e.tryOnCtr.tryOnProduct.master_categories_id}},{setTryOnActiveColor:_e.g,changeColor:Ne.a,changeTryOnPicture:_e.d,changeTryOnColorPicture:_e.b,changeTryOnLensColor:_e.c})(Ae),Fe=(i("w0MD"),i("aOJk")),De=i.n(Fe),ze=N.a.createElement;function Be(e){var t=e.t,i=e.activeColor,n=e.setColorAni,a=e.setOpacity,o=e.changeTryOnColorPicture,r=e.changeImgLoading,s=e.tryOnProduct,c=e.changeTryOnPicture,l=Object(C.useState)(6==s.master_categories_id?je:14==s.master_categories_id?ke:we),d=l[0],p=l[1],u=Object(C.useState)(6==s.master_categories_id?je[0]:14==s.master_categories_id?ke[0]:we[0]),m=u[0],f=u[1],h=Object(C.useState)(new Oe.a),g=h[0],b=(h[1],Object(C.useState)(!1)),x=b[0],y=b[1];function w(e){e.products_id&&e.color_id&&Ie.a.clickProduct("clickProduct","".concat(e.products_id,"-").concat(e.color_id)),x&&(f(e),"Clear"!==e.title?3==i.frame_image_total&&(Object(Te.q)("lens",{event_category:"try on",event_label:t("lens:".concat(e.title))}),r(!0),e.isColorAni&&c(g.getImageTryOnImgAniMaster()),g.getImageTryOnImg({color:e.color_rgb,color_img:e.color_img}).then(function(t){o(t),r(!1),n(!!e.isColorAni),a(e.opacity)})):o(""))}Object(C.useEffect)(function(){x&&(6==s.master_categories_id&&w(d[0]),14==s.master_categories_id&&w(ke[0]))},[x]),Object(C.useEffect)(function(){console.log("activeColor change"),3==i.frame_image_total?x?(r(!0),g.changeImg({productId:i.products_id,frame_image:i.frame_image}).then(function(){w(m),c(g.getImageTryOnImgAniMaster()),r(!1)})):g.init({productId:i.products_id,frame_image:i.frame_image}).then(Object(j.a)(v.a.mark(function e(){return v.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,y(!0);case 2:case"end":return e.stop()}},e)}))):o("")},[i]);var k=Object(C.useState)(0),_=k[0],O=k[1],S=Object(C.useState)(0),T=S[0],N=S[1],E=Object(C.useState)(d.length>4?152:190),L=E[0],M=E[1],P=d.length/3>0?Math.ceil(d.length/3):Math.ceil(d.length/3)-1,A=Object(C.useState)(P),R=A[0],F=A[1];if(Object(C.useEffect)(function(){var e=6==s.master_categories_id?je:14==s.master_categories_id?ke:we;s.dimensions_height<40&&(e=e.filter(function(e){return!e.color_rgb||e.color_rgb.length<2}));var t=e.length/3>0?Math.ceil(e.length/3):Math.ceil(e.length/3)-1;F(t),O(0),N(0),M(e.length>4?152:190),p(e),f(e[0])},[s]),3!=i.frame_image_total)return null;var D=d;return ze(C.Fragment,null,ze(I.a,{id:"2203598760"},[".try-on-color-list.jsx-2203598760{width:180px;overflow:hidden;position:relative;}",".try-on-color-name.jsx-2203598760{color:#999;font-size:12px;}",".color-contral.jsx-2203598760{width:24px;height:24px;background:#fff;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border:1px solid #2ea7e0;border-radius:50%;cursor:pointer;}",".color-contral-left.jsx-2203598760{margin-right:8px;}",".loading-animaiton.jsx-2203598760{width:100vw;height:100vh;background:rgba(0,0,0,0.5);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:fixed;z-index:999;top:0;left:0;}"]),ze(pe.f,{style:{paddingTop:"8px",borderTop:"1px solid #EEF0F0"},justify:"space-between",align:"flex-start"},ze("div",{className:"jsx-2203598760"},ze(pe.f,{justify:"flex-start"},ze("div",{style:{fontSize:"14px",fontFamily:"Roboto-Medium"},className:"jsx-2203598760"},t("lens:LensTint")),ze(De.a,{trigger:["click"],content:ze("div",{style:{width:"150px"},className:"jsx-2203598760"},ze("span",{style:{color:"#333",fontSize:"12px"},className:"jsx-2203598760"},t("lens:".concat(m.text))))},ze("div",{onClick:function(){Object(Te.q)("lens help",{event_category:"try on"})},style:{padding:"0 10px",cursor:"pointer"},className:"jsx-2203598760"},ze(H.a,{icon:"icon-help",style:{fontWeight:"bold"}}))))),ze(pe.f,{className:"firmoo-sa-no-rlt"},_>0&&ze("div",{onClick:function(){1==_&&M(152),_>0&&(O(_-1),N(-38*(_-1)*3))},className:"jsx-2203598760 color-contral color-contral-left"},ze(H.a,{icon:"icon-arrow-left",style:{fontSize:"20px",color:"#2EA7E0"}})),ze("div",{style:{width:"".concat(L,"px")},id:"try-on-color",className:"jsx-2203598760 try-on-color-list"},ze("div",{style:{display:"flex",transition:"all 0.3s",transform:"translateX(".concat(T,"px)")},className:"jsx-2203598760"},D.map(function(e,t){return function(e,t){var i=e.colorBg,n=e.title;return ze("div",{key:t,onClick:function(){m.title!==n&&w(e)},className:"jsx-447787971 "+("tryon-color-select-item "+"".concat(m.title===n?"tryon-color-select-item-active":"")||!1)},ze(I.a,{id:"447787971"},[".tryon-color-select-item.jsx-447787971{cursor:pointer;padding:3px;border-radius:50%;margin-right:8px;border:1px solid rgba(255,255,255,0);}",".tryon-color-select-item.jsx-447787971 .inner.jsx-447787971{width:22px;height:22px;border-radius:50%;}",".tryon-color-select-item-active.jsx-447787971{border:1px solid #26abff;}",".tryon-color-select-item-boder.jsx-447787971{border:1px solid #dfdfdf;}"]),ze("div",{style:{background:i,backgroundSize:"100% 100%"},className:"jsx-447787971 "+("inner "+"".concat("Clear"===n&&m.title!==n?"tryon-color-select-item-boder":"")||!1)}))}(e,t)}))),ze("div",{onClick:function(){0==_&&M(114),_+15?152:190),h=f[0],g=f[1],b=a.length/3>0?Math.ceil(a.length/3):Math.ceil(a.length/3)-1;return Object(C.useEffect)(function(){g(a.length>5?152:190),b=a.length/3>0?Math.ceil(a.length/3):Math.ceil(a.length/3)-1,d(0),m(0)},[a]),Ue(C.Fragment,null,Ue(I.a,{id:"2175144643"},[".try-on-color-list.jsx-2175144643{width:180px;overflow:hidden;position:relative;}",".try-on-color-name.jsx-2175144643{color:#999;font-size:12px;}",".color-contral.jsx-2175144643{width:24px;height:24px;background:#fff;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border:1px solid #2EA7E0;border-radius:50%;cursor:pointer;}",".color-contral-right.jsx-2175144643{margin-left:8px;}"]),Ue(pe.f,{style:{padding:"8px 0",borderTop:"1px solid #EEF0F0"},justify:"space-between",align:"flex-start"},Ue("div",{className:"jsx-2175144643"},Ue("div",{style:{fontSize:"14px",fontFamily:"Roboto-Medium"},className:"jsx-2175144643"},t("lens:FrameColor")),n.color_name&&Ue("div",{className:"jsx-2175144643 try-on-color-name"},"".concat(Object(M.zb)({t:t,color_name:n.color_name})," ").concat(n.color_number?"(".concat(n.color_number,")"):""))),Ue(pe.f,null,l>0&&Ue("div",{onClick:function(){1==l&&g(152),l>0&&(d(l-1),m(-38*(l-1)*3))},className:"jsx-2175144643 color-contral color-contral-left"},Ue(H.a,{icon:"icon-arrow-left",style:{fontSize:"20px",color:"#2EA7E0"}})),Ue("div",{style:{width:a.length>5?"".concat(h,"px"):"auto"},className:"jsx-2175144643 try-on-color-list"},Ue("div",{style:{display:"flex",transition:"all 0.3s",transform:"translateX(".concat(u,"px)")},className:"jsx-2175144643"},a.map(function(e,t){return s(e,t)}))),a.length>5&&Ue("div",{onClick:function(){0==l&&g(114),l+10&&Ve(qe,{t:t,changeColor:b,activeColor:i,domain:v,colorId:r,colorList:o,setTryOnActiveColor:a}),i.products_id&&!w&&Ve(Be,{t:t,tryOnProduct:n,activeColor:i,setColorAni:s,setOpacity:c,changeTryOnPicture:y,changeTryOnColorPicture:x,changeImgLoading:l})))}),Ke=N.a.createElement;var Qe=i("BKPz"),Je=i("StF1"),Ze=i("EsV+"),$e=i("LWby"),et=i("9Ea1"),tt=i("NfqM"),it=i("GBVL"),nt=i("tpRK"),at=i("lqN6"),ot=i("kodF"),rt=i("RXDV"),st=i("dZU6"),ct=i("fTdX"),lt=N.a.createElement;var dt=Object(E.b)(function(e){return{colorList:e.tryOnCtr.colorList,colorId:e.tryOnCtr.colorId,domain:e.common.domain,lensColor:e.tryOnCtr.lensColor,tryOnProduct:e.tryOnCtr.tryOnProduct,productColorImg:e.tryOnCtr.productColorImg,activeColor:e.tryOnCtr.activeColor}},{})(function(e){var t=e.t,i=e.productColorImg,n=e.tryOnProduct,a=e.colorId,o=e.colorList,r=e.lensColor,s=e.domain,c=e.activeColor,l=Object(C.useState)(!1),d=l[0],p=l[1],u=o.find(function(e){return e.color_id==a})||{};Object(C.useEffect)(function(){u=o.find(function(e){return e.color_id==a})},[o]);for(var m=Object(M.Q)(n.products_id,"middle",2,u.color_image),f=function(){var e=n.dimensions_lens,i=n.dimensions_bridge,a=n.dimensions_temple,o=n.dimensions_total_width,r=n.dimensions_diagonal,s=n.products_weight,c=n.products_metal,l=Object(Qe.a)(o),d=t("S"===l?"productDetail:SMALL":"M"===l?"productDetail:MEDIUM":"productDetail:LARGE");return[{title:"".concat(t("productDetail:LENS_WIDTH"),"(mm)"),imgSrc:L.eb.LensWidth,content:lt("span",null,lt("b",{style:{color:"#26ABFF"}},e),"-",i,"-",a)},{title:"".concat(t("productDetail:BRIDGE_WIDTH"),"(mm)"),imgSrc:L.eb.BridgeWidth,content:lt("span",null,e,"-",lt("b",{style:{color:"#26ABFF"}},i),"-",a)},{title:"".concat(t("productDetail:TEMPLE_LENGTH"),"(mm)"),imgSrc:L.eb.TempleLength,content:lt("span",null,e,"-",i,"-",lt("b",{style:{color:"#26ABFF"}},a))},{title:"".concat(t("productDetail:TotalWidth")),imgSrc:L.eb.TotalWidth,content:lt("span",null,lt("b",{style:{color:"#26ABFF"}},o),"mm (",lt("span",{style:{textTransform:"lowercase"}},d),")")},{title:"".concat(t("productDetail:eye")),imgSrc:L.eb.LensDiagonalSize,content:lt("span",null,lt("b",{style:{color:"#26ABFF"}},r),"mm")},{title:"".concat(t("productDetail:Weight")),imgSrc:L.eb.Weight,content:lt("span",null,lt("b",{style:{color:"#26ABFF"}},s),"g")},{title:"".concat(t("productDetail:Material")),imgSrc:L.eb.Material,content:lt("span",null,lt("b",{style:{color:"#26ABFF"}},c))}]}(),h="",b=(u.color_name||"").split(","),x=0;xn?-g:g,"deg) scale(").concat(b,")"),position:"absolute",display:"block"}}function y(e){return e===""+Number.MIN_VALUE&&(e=ht),e}function w(){Object(P.J)().then(function(e){var t=[].concat(e,ne);je({type:le.SET_IMG_LIST,payload:t})})}function O(e,t){var i=e.photo_id;if(d)ye||(je({type:le.SET_DEL_LOADING,payload:!0}),Object(P.gb)({photo_id:i}).then(function(){w()}).finally(function(){je({type:le.SET_DEL_LOADING,payload:!1})}));else{var n=Object(_.a)(z);n.splice(t,1),Object(M.tb)(L.l,k()(n.filter(function(e){return 2===e.customerEyePhotoType}))),je({type:le.SET_IMG_LIST,payload:n})}}function T(){q||(Object(Te.q)("upload",{event_category:"try on"}),z.filter(function(e){return 2===e.customerEyePhotoType}).lengthf/m,d=0,p=0,u=l?m/o:f/s;if(t*=u,i*=u,n*=u,a*=u,l)if(t2*f/3||a>2*f/3)&&(p=-f/3):p=(f-Math.abs(t-a))/2-(t0)p=0;else{var h=s*u;h+p0)d=0;else{var g=o*u;g+ddiv{position:relative;-webkit-flex:none;-ms-flex:none;flex:none;width:1.48rem;height:1.58rem;margin-left:0.2rem;}","@media (min-width:768px){.img-try-on .img-line-box{padding-top:10px;padding-bottom:10px;}.img-try-on .img-line{padding:0;}.img-try-on .img-line>div{width:60px;height:64px;margin-left:10px;}.img-try-on .img-line::-webkit-scrollbar{display:none;}}",".img-try-on .img-line .upload{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background:#f5f5f5;font-size:0.28rem;font-weight:500;color:#26abff;line-height:0.32rem;}",".img-try-on .img-line img{width:100%;height:100%;object-fit:contain;cursor:pointer;}",".img-try-on .upload-notice{padding:1.5rem 1.1rem 0;font-size:0.24rem;font-weight:400;color:#333;line-height:0.32rem;z-index:10;}","@media (min-width:768px){.img-try-on .upload-notice{padding:61px 20px 0;font-size:14px;line-height:18px;}}",".img-try-on .btn{margin:0.48rem auto 1.54rem;width:5rem;height:0.72rem;background:#fff;border:1px solid #26abff;border-radius:4px;}","@media (min-width:768px){.img-try-on .btn-ok{margin:32px auto 57px;width:260px;height:40px;border-radius:4px;font-size:16px;color:#26abff;}}",".first-use-img{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;padding:0.7rem 0 0.8rem;}","@media (min-width:768px){.first-use-img{min-height:75px;padding:71px 0 39px;}}",".first-use-img img{width:2.32rem;}",".first-use-img img:last-child{margin-left:0.7rem;}","@media (min-width:768px){.first-use-img img{width:98px;}.first-use-img img:last-child{margin-left:28px;}}",".modal-content-box .notice-text{font-size:0.24rem;line-height:0.32rem;padding:0 0.58rem 0.42rem;color:#333;}","@media (min-width:768px){.modal-content-box .notice-text{font-size:14px;line-height:18px;padding:0 10px 72px;}}",".modal-content-box .blue-btn{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:5rem;height:0.72rem;background:#26abff;border-radius:4px;font-size:0.28rem;font-weight:400;color:#ffffff;line-height:0.32rem;margin:0 auto 0.42rem;}","@media (min-width:768px){.modal-content-box .blue-btn{width:260px;height:40px;border-radius:4px;font-size:16px;margin-bottom:26px;}}",".modal-content-box .back{font-size:0.24rem;font-weight:400;color:#26abff;line-height:0.32rem;margin-bottom:0.44rem;}","@media (min-width:768px){.modal-content-box .back{font-size:16px;line-height:16px;margin-bottom:45px;cursor:pointer;}}",".img-try-on .detected{padding:0.3rem 0.3rem 0;font-size:0.24rem;line-height:0.32rem;font-weight:400;color:#333333;}","@media (min-width:768px){.img-try-on .detected{padding:12px 17px 0;font-size:14px;line-height:15px;}}",".img-try-on .btns{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;padding:0.4rem 0.4rem 0;}","@media (min-width:768px){.img-try-on .btns{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column-reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse;padding-top:0;}}",".img-try-on .re-upload{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:3rem;height:0.72rem;margin:0 0.36rem 0 0;background:#fff;border:2px solid #26abff;border-radius:2px;font-size:0.28rem;font-weight:400;color:#26abff;line-height:0.32rem;}","@media (min-width:768px){.img-try-on .re-upload{margin-right:0;margin-top:13px;margin-bottom:17px;width:260px;height:40px;background:#ffffff;border:1px solid #26abff;border-radius:4px;font-size:16px;}}",".img-try-on .submit{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:3rem;height:0.72rem;margin:0 0 0 0;border:2px solid #26abff;font-size:0.28rem;font-weight:400;line-height:0.32rem;background:#26abff;border-radius:2px;color:#fff;}","@media (min-width:768px){.img-try-on .submit{width:260px;height:40px;background:#26abff;border-radius:4px;margin-top:39px;font-size:16px;}}",".img-try-on .img-line-box{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}",".img-try-on .img-line-box span{-webkit-flex:0;-ms-flex:0;flex:0;}",".img-try-on svg{position:absolute;width:0.52rem;height:0.52rem;}","@media (min-width:768px){.img-try-on svg{width:38px;height:38px;}}","@media (min-width:768px){.img-try-on .try-no-notice{position:absolute;left:0;right:0;top:0;bottom:0;width:100%;height:100%;background:rgba(0,0,0,0.45);}.img-try-on .modal-mask{position:absolute;left:0;right:0;top:0;bottom:0;width:100%;height:100%;background:rgba(0,0,0,0.45);}.img-try-on .modal-content-box{position:absolute;left:50%;top:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%);background:#fff;text-align:center;}}",".img-try-on .glasses{-webkit-transition:0.3s all;transition:0.3s all;}",".img-try-on .network{padding:1.49rem 1.1rem 0;font-size:0.24rem;line-height:0.32rem;font-weight:400;color:#333333;}",".img-try-on .network-reupload{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;margin:0.47rem 1.25rem 1.54rem;width:5rem;height:0.72rem;background:#26abff;border-radius:4px;font-size:0.28rem;font-weight:400;color:#fff;line-height:0.32rem;}","@media (min-width:768px){.img-try-on .network{padding:61px 16px 0;font-size:14px;line-height:18px;}.img-try-on .network-reupload{margin:32px 25px 57px;width:260px;height:40px;font-size:16px;cursor:pointer;}}",".img-try-on .circle-bg{position:absolute;top:6px;right:10px;width:30px;height:30px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;background:#000;opacity:0.5;border-radius:50%;cursor:pointer;}",".img-try-on .circle-bg svg{width:12px;height:12px;}",".img-try-on svg.hide{display:none;}",".img-try-on .gtm-img-try-on-del{right:-6px;top:-10px;width:20px;height:20px;-webkit-transform:translateY(10px);-ms-transform:translateY(10px);transform:translateY(10px);}","@media (min-width:768px){.img-try-on .img-item-box .gtm-img-try-on-del{display:none;}.img-try-on .img-item-box:hover .gtm-img-try-on-del{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;cursor:pointer;}}",".img-try-on .manual-box{width:100%;height:100%;background:#f2f2f2;}",".img-try-on .reupload-input{position:absolute;left:0;top:0;width:100%;height:100%;opacity:0;z-index:10;cursor:pointer;}",".try-on-select{border-bottom:1px solid #eef0f0;-webkit-box-pack:start !important;-webkit-justify-content:flex-start !important;-ms-flex-pack:start !important;justify-content:flex-start !important;}",".try-on-select .tab-under-line{width:0.98rem !important;bottom:-1px !important;}",".try-no-notice{position:fixed;bottom:0;left:0;right:0;width:100vw;text-align:center;}",".try-no-notice .am-modal-content{border-radius:0;padding-top:0;}",".try-no-notice .am-modal-content .am-modal-body{padding:0 0;}",".pc-pd{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding:8px 10px;border-bottom:1px solid #eef0f0;}",".pc-pd span{margin-right:14px;}",".pc-pd select{width:131px;height:24px;background:#fff;border:1px solid #333;}",".pc-upload{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;position:relative;padding:20px 10px;height:40px;color:#26abff;border-radius:4px;font-size:14px;cursor:pointer;}",".pc-upload>span{margin-right:10px;}",".img-try-on-pd-tooltip-wrapper .ant-tooltip-inner{background:#fff;width:310px;padding:0 0;}",".am-modal-wrap{background-color:rgba(0,0,0,0.5);}",".am-modal-mask{background-color:rgba(0,0,0,0);}",".bottom-line-btns{width:100%;position:fixed;bottom:0;padding:0.14rem 0.4rem;background:#fff;box-shadow:0px -3px 6px rgba(0,0,0,0.08);}"])}(Ee),ut("input",{ref:_e,type:"file",accept:"image/*",style:{display:"none"},onChange:function(e){var t=e.target.files[0];t&&(e.target.value="",je({type:le.SET_USR_UPLOAD_FILE,payload:t}))}}),ut("div",{className:"img-box",style:{width:m+"px",height:f+"px"}},X&&ut("div",{className:"manual-box"},ut("img",{src:X.photo_img,style:ft({position:"relative",maxWidth:"initial"},Q?{height:"100%"}:{width:"100%"},{},Q?{}:{top:"50%",transform:"translateY(-50%)"}),className:"people",alt:""})),!X&&$&&ut(C.Fragment,null,ut("img",{draggable:!1,src:$.photo_img,style:ft({position:"relative"},K?{width:"100%"}:{height:"100%"},{left:te[0]+"px",top:te[1]+"px",maxWidth:"initial",cursor:"move"}),className:"people",alt:""}),ut("div",{className:"try-on-products-title"},a.products_name_attribute||a.products_model)),(be||ye)&&ut(Pe,null),!X&&re&&ut(C.Fragment,null,(!r||Ie)&&ut("img",{src:se,style:re,className:"glasses",alt:""}),r&&ue&&ut("img",{src:ue,style:re,className:"glasses ".concat(Ie?"ani-glasses":""),alt:""})),ut("svg",{ref:we,viewBox:"0 0 100 100",style:{display:X?"initial":"none",left:J[0]+"px",top:J[1]+"px"}},ut("path",{d:"M 48 0 L 52 0 L 52 100 L 48 100 Z",fill:"#26abff"}),ut("path",{d:"M 0 48 L 0 52 L 100 52 L 100 48 Z",fill:"#26abff"}),ut("circle",{cx:"50",cy:"50",r:"34",strokeWidth:"4",stroke:"#26abff",fill:"none"}),ut("circle",{cx:"50",cy:"50",r:"18",fill:"#26abff"})),ut("svg",{ref:ke,viewBox:"0 0 100 100",style:{display:X?"initial":"none",left:Z[0]+"px",top:Z[1]+"px"}},ut("path",{d:"M 48 0 L 52 0 L 52 100 L 48 100 Z",fill:"#26abff"}),ut("path",{d:"M 0 48 L 0 52 L 100 52 L 100 48 Z",fill:"#26abff"}),ut("circle",{cx:"50",cy:"50",r:"34",strokeWidth:"4",stroke:"#26abff",fill:"none"}),ut("circle",{cx:"50",cy:"50",r:"18",fill:"#26abff"})),ut("div",{className:"circle-bg gtm-img-try-on-close",onClick:function(){n(!1)}},ut("svg",{viewBox:"0 0 100 100"},ut("path",{d:"M 0 0 L 100 100",stroke:"#fff",strokeWidth:"8"}),ut("path",{d:"M 100 0 L 0 100",stroke:"#fff",strokeWidth:"8"}))),ve&&ut("div",{className:"notice-box"},ut("div",{dangerouslySetInnerHTML:{__html:t("common:ImgTryOn.OnlyForReference")}}),ut("div",{onClick:function(){je({type:le.SET_NOTICE_SHOW,payload:!1})}},ut(H.a,{icon:"icon-close",style:ft({color:"#fff",marginTop:"-5px"},i?{fontSize:"18px"}:{})})))),X?ut("div",{className:"usr-confirm"},ut("div",{className:"detected",dangerouslySetInnerHTML:{__html:t("common:ImgTryOn.CannotDetectFacialFeatures")}}),ut("div",{className:"btns"},ut("div",{className:"btn re-upload gtm-img-try-on-re-upload"},ut("span",null,t("common:ImgTryOn.ReUpload")),ut("input",{type:"file",accept:"image/*",onChange:function(e){Object(Te.q)("upload",{event_category:"try on"}),je({type:le.SET_USR_CONFIRM_IMG_INFO,payload:{usrConfirmImg:null}});var t=e.target.files[0];t&&(e.target.value="",je({type:le.SET_USR_UPLOAD_FILE,payload:t}),d&&Object(P.gb)({photo_id:X.photo_id}))},className:"reupload-input"})),ut("div",{className:"btn submit gtm-img-try-on-submit",onClick:function(){X&&G(X.photo_img).then(function(e){var t=e.width,n=e.height,a=Q?f/n:m/t,o=Object(S.a)(J,2),r=o[0],s=o[1],c=Object(S.a)(Z,2),l=c[0],p=c[1],u=i?19:13;if(r+=u,s+=u,l+=u,p+=u,Q){var h=(m-t*f/n)/2;r-=h,l-=h}else{var g=(f-n*m/t)/2;s-=g,p-=g}if(s/=a,p/=a,(r/=a)>(l/=a)){var b=r,x=s;r=l,s=p,l=b,p=x}if(d)Object(P.N)(X.photo_path,X.photo_id,r,s,l,p).then(function(){var e=ft({},X,{lEyeX:r,lEyeY:s,rEyeX:l,rEyeY:p,customerEyePhotoType:2}),t=Object(_.a)(z);t.unshift(e),je({type:le.AFTER_SAVE_EYE_POSITION,payload:t})});else{var y=ft({},X,{lEyeX:r,lEyeY:s,rEyeX:l,rEyeY:p}),v=Object(_.a)(z);v.unshift(y);try{Object(M.tb)(L.l,k()(v.filter(function(e){return 2===e.customerEyePhotoType})))}catch(j){console.log("tryon set session cache error",j)}je({type:le.AFTER_SAVE_EYE_POSITION,payload:v})}})}},t("common:ImgTryOn.Submit")))):ut("div",{className:""},!i&&ut(Re,{imgList:z,onSelectVisibleImg:N,currImg:$,deleteImg:O,t:t,loading:q,changeImgLoading:E,onClickUpload:T,setColorAni:Ce,setOpacity:Le}),i&&ut(C.Fragment,null,ut("div",{className:"pc-pd"},ut(pe.f,null,ut("span",null,"PD:"),ut("div",{className:"gtm-img-try-on-open-pd-modal"},ut(x.a,{placement:"right",overlayClassName:"img-try-on-pd-tooltip-wrapper",title:Me},ut("span",null,ut(H.a,{icon:"icon-help",style:{color:"#333"}}))))),ut("select",{value:B,onChange:function(e){Object(Te.q)("PD",{event_category:"try on",event_label:e.target.value});var t=y(e.target.value);je({type:le.SET_USR_PD_PC,payload:t})}},ut(A,null))),ut(pe.f,{justify:"space-between"},ut("div",{style:{paddingLeft:"10px",fontSize:"14px",fontFamily:"Roboto-Medium"}},t("lens:SelectImage")),ut("div",{className:"pc-upload gtm-img-try-on-upload",onClick:T},ut("span",null,t("common:ImgTryOn.UploadPicture")),q&&ut(oe,{color:"#fff"}))),ut(Xe,{imgList:z,onSelectVisibleImg:N,currImg:$,deleteImg:O,t:t,loading:q,changeImgLoading:E,onClickUpload:T,setColorAni:Ce,setOpacity:Le,onMouseLeave:function(){je({type:le.SET_MOUSE_LOCATION,payload:""})},onMouseLeft:function(){je({type:le.SET_MOUSE_LOCATION,payload:"l"})},onMouseRight:function(){je({type:le.SET_MOUSE_LOCATION,payload:"r"})}})),!i&&!X&&ut("div",{className:"bottom-line-btns"},ut(pe.f,{justify:"space-between"},ut(pe.c,{onClick:function(){je({type:le.SET_PD_MODAL,payload:!0})},style:{width:"2.28rem"},title:t("common:ImgTryOn.EditPD"),type:"second",size:"md"}),ut(dt,{t:t})))),ut(function(e){return i?ut("div",{className:"modal-mask",style:he?{}:{display:"none"}},e.children):ut(g.a,{visible:he,transparent:!0,maskClosable:!0,onClose:function(){return je({type:le.SET_NOT_ALLOW_UPLOAD,payload:!1})},className:"try-no-notice"},e.children)},null,ut("div",{className:"modal-content-box",style:i?{width:"310px"}:{}},ut("div",{className:"upload-notice",dangerouslySetInnerHTML:{__html:t("common:ImgTryOn.MaxUploadFiftyImg")}}),ut("div",{className:"btn btn-ok gtm-img-try-on-max-quality",onClick:function(){return je({type:le.SET_NOT_ALLOW_UPLOAD,payload:!1})}},"OK"))),ut(function(e){return i?ut("div",{className:"modal-mask",style:ge?{}:{display:"none"}},e.children):ut(g.a,{visible:ge,transparent:!0,maskClosable:!0,onClose:function(){return je({type:le.SET_FIRST_NOTICE,payload:!1})},className:"try-no-notice"},e.children)},null,ut("div",{className:"modal-content-box",style:i?{width:"306px"}:{}},ut("div",{className:"first-use-img"},ut("img",{src:"https://df5apg8r0m634.cloudfront.net/images/2021/0326/a8c3d6012af2ef2a4714c933331ecc87.jpg",alt:""}),ut("img",{src:"https://df5apg8r0m634.cloudfront.net/images/2021/0326/16896df9b7ac17f3386ceb31c0bb4deb.jpg",alt:""})),ut("div",{className:"notice-text",dangerouslySetInnerHTML:{__html:t("common:ImgTryOn.UploadImgWithoutGlasses")}}),ut("div",{className:"btn blue-btn gtm-img-try-on-upload",onClick:function(){_e.current.click(),je({type:le.SET_FIRST_NOTICE,payload:!1})}},t("common:ImgTryOn.SelectPicture")),ut("div",{className:"back gem-img-try-on-back",onClick:function(){return je({type:le.SET_FIRST_NOTICE,payload:!1})}},"< ",t("common:ImgTryOn.Back")))),!i&&ut(g.a,{visible:me,transparent:!0,maskClosable:!0,onClose:function(){return je({type:le.SET_PD_MODAL,payload:!1})},className:"try-no-notice"},Me),ut(function(e){return i?ut("div",{className:"modal-mask",style:fe?{}:{display:"none"}},e.children):ut(g.a,{visible:fe,transparent:!0,maskClosable:!0,onClose:function(){return je({type:le.SET_UPLOAD_ERROR,payload:!1})},className:"try-no-notice"},e.children)},null,ut("div",{className:"modal-content-box",style:i?{width:"306px"}:{}},ut("div",{className:"network"},t("common:ImgTryOn.NetworkError")),ut("div",{className:"network-reupload",onClick:function(){_e.current.click(),je({type:le.SET_UPLOAD_ERROR,payload:!1})}},t("common:ImgTryOn.ReUpload")))),ut(ie,{file:xe,t:t,onCancel:function(){je({type:le.SET_USR_UPLOAD_FILE,payload:null})},onSubmit:function(e,t){var i=Object(Y.j)()+"small-"+Object(Y.i)()+".jpeg";je({type:le.SET_UPLOAD_LOADING,payload:!0}),Object(P.O)(i,"jpeg",e,1,Number(ht),d?2:3).then(function(i){if(d||(i.photo_id=Object(Y.i)(),i.photo_img=t),void 0===i.rEyeX&&void 0===i.rEyeY&&void 0===i.lEyeX&&void 0===i.lEyeY){var n=new FileReader;n.onload=function(e){var t=new Image;t.onload=function(){var e={notEyeImgTooHigh:t.height/t.width>f/m,usrConfirmImg:i};je({type:le.SET_USR_CONFIRM_IMG_INFO,payload:e})},t.src=e.target.result},n.readAsDataURL(e)}else{var a=Object(_.a)(z);a.unshift(i),d||Object(M.tb)(L.l,k()(a.filter(function(e){return 2===e.customerEyePhotoType}))),je({type:le.SET_IMG_LIST,payload:a})}}).catch(function(){je({type:le.SET_UPLOAD_ERROR,payload:!0})}).finally(function(){var e=document.querySelector(".img-line");if(e)var t=setInterval(function(){e.scrollLeft+=-12,e.scrollLeft<=0&&clearInterval(t)},16);je({type:le.SET_UPLOAD_LOADING,payload:!1})})},isPc:i}))})},p70m:function(e,t,i){"use strict";i.d(t,"h",function(){return a}),i.d(t,"g",function(){return o}),i.d(t,"b",function(){return r}),i.d(t,"c",function(){return s}),i.d(t,"d",function(){return c}),i.d(t,"a",function(){return l}),i.d(t,"f",function(){return d}),i.d(t,"e",function(){return p});var n=i("ENPb");function a(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.products_color_relation,i=void 0===t?[]:t,a=e.products_color_info,o=void 0===a?[]:a,r=(o.length>0?o:i).filter(function(e){return 0!=e.color_status});return{type:n.ib.SET_TRYON_PRODUCT,tryOnProduct:e,colorList:r}}function o(e){return{type:n.ib.SET_ACTIVE_COLOR,colorId:e}}function r(e){return{type:n.ib.CHANGE_COLOR_IMG,productColorImg:e}}function s(e){return{type:n.ib.CHANGE_LENS_COLOR,lensColor:e}}function c(e){return{type:n.ib.CHANGE,productImg:e}}function l(e){return{type:n.ib.CACHE,kvObj:e}}function d(){return{type:n.ib.OPEN}}function p(){return{type:n.ib.CLOSE}}},pOy0:function(e,t,i){"use strict";var n=i("ENPb");function a(e,t){return{type:n.S.SET_INFO,name:e,value:t}}function o(e,t){return{type:n.S.INIT_DATA,data:e,deviceType:t}}function r(e){return{type:n.S.INIT_CONFIG,data:e}}i.d(t,"c",function(){return a}),i.d(t,"b",function(){return o}),i.d(t,"a",function(){return r})},pQ95:function(e,t,i){"use strict";i.d(t,"a",function(){return o}),i.d(t,"b",function(){return r});var n=i("t/7h"),a=i("ENPb");function o(e){return{types:a.g,promise:Object(n.a)(e)}}function r(e){return{types:a.h,promise:Object(n.c)(e)}}},sW6s:function(e,t,i){"use strict";var n=this&&this.__extends||function(){var e=function(t,i){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(t,i)};return function(t,i){function n(){this.constructor=t}e(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}();Object.defineProperty(t,"__esModule",{value:!0});var a=i("q1tI"),o=i("3TDQ"),r=i("+yCD"),s=i("SSZS"),c=i("yQRQ"),l=i("S9TR"),d=i("m1kc"),p=400,u=function(e){function t(t){var i=e.call(this,t)||this;return i.containerRef=a.createRef(),i.listRef=a.createRef(),i.state={itemWidth:0,slidesToShow:0,currentSlide:0,totalItems:a.Children.count(t.children),deviceType:"",domLoaded:!1,transform:0,containerWidth:0},i.onResize=i.onResize.bind(i),i.handleDown=i.handleDown.bind(i),i.handleMove=i.handleMove.bind(i),i.handleOut=i.handleOut.bind(i),i.onKeyUp=i.onKeyUp.bind(i),i.handleEnter=i.handleEnter.bind(i),i.setIsInThrottle=i.setIsInThrottle.bind(i),i.next=o.throttle(i.next.bind(i),t.transitionDuration||p,i.setIsInThrottle),i.previous=o.throttle(i.previous.bind(i),t.transitionDuration||p,i.setIsInThrottle),i.goToSlide=o.throttle(i.goToSlide.bind(i),t.transitionDuration||p,i.setIsInThrottle),i.onMove=!1,i.initialX=0,i.lastX=0,i.isAnimationAllowed=!1,i.direction="",i.initialY=0,i.isInThrottle=!1,i.transformPlaceHolder=0,i}return n(t,e),t.prototype.resetTotalItems=function(){var e=this,t=a.Children.count(this.props.children),i=o.notEnoughChildren(this.state)?0:Math.max(0,Math.min(this.state.currentSlide,t));this.setState({totalItems:t,currentSlide:i},function(){e.setContainerAndItemWidth(e.state.slidesToShow,!0)})},t.prototype.setIsInThrottle=function(e){void 0===e&&(e=!1),this.isInThrottle=e},t.prototype.setTransformDirectly=function(e,t){var i=this.props.additionalTransfrom;this.transformPlaceHolder=e;var n=d.getTransform(this.state,this.props,this.transformPlaceHolder);this.listRef&&this.listRef.current&&(this.setAnimationDirectly(t),this.listRef.current.style.transform="translate3d("+(n+i)+"px,0,0)")},t.prototype.setAnimationDirectly=function(e){this.listRef&&this.listRef.current&&(this.listRef.current.style.transition=e?this.props.customTransition||"transform 400ms ease-in-out":"none")},t.prototype.componentDidMount=function(){this.setState({domLoaded:!0}),this.setItemsToShow(),window.addEventListener("resize",this.onResize),this.onResize(!0),this.props.keyBoardControl&&window.addEventListener("keyup",this.onKeyUp),this.props.autoPlay&&(this.autoPlay=setInterval(this.next,this.props.autoPlaySpeed))},t.prototype.setClones=function(e,t,i,n){var r=this;void 0===n&&(n=!1),this.isAnimationAllowed=!1;var s=a.Children.toArray(this.props.children),c=o.getInitialSlideInInfiniteMode(e||this.state.slidesToShow,s),l=o.getClones(this.state.slidesToShow,s),d=s.lengthMath.abs(s)))return;var c=o.populateSlidesOnMouseTouchMove(this.state,this.props,this.initialX,this.lastX,i,this.transformPlaceHolder),l=c.direction,d=c.nextPosition,p=c.canContinue;l&&(this.direction=l,p&&void 0!==d&&this.setTransformDirectly(d)),this.lastX=i}}},t.prototype.handleOut=function(e){this.props.autoPlay&&!this.autoPlay&&(this.autoPlay=setInterval(this.next,this.props.autoPlaySpeed));var t="touchend"===e.type&&!this.props.swipeable,i=("mouseleave"===e.type||"mouseup"===e.type)&&!this.props.draggable;if(!t&&!i&&this.onMove){if(this.setAnimationDirectly(!0),"right"===this.direction)if(this.initialX-this.lastX>=this.props.minimumTouchDrag){var n=Math.round((this.initialX-this.lastX)/this.state.itemWidth);this.next(n)}else this.correctItemsPosition(this.state.itemWidth,!0,!0);"left"===this.direction&&(this.lastX-this.initialX>this.props.minimumTouchDrag?(n=Math.round((this.lastX-this.initialX)/this.state.itemWidth),this.previous(n)):this.correctItemsPosition(this.state.itemWidth,!0,!0)),this.resetMoveStatus()}},t.prototype.isInViewport=function(e){var t=e.getBoundingClientRect(),i=t.top,n=void 0===i?0:i,a=t.left,o=void 0===a?0:a,r=t.bottom,s=void 0===r?0:r,c=t.right,l=void 0===c?0:c;return 0<=n&&0<=o&&s<=(window.innerHeight||document.documentElement.clientHeight)&&l<=(window.innerWidth||document.documentElement.clientWidth)},t.prototype.isChildOfCarousel=function(e){return!!(e instanceof Element&&this.listRef&&this.listRef.current)&&this.listRef.current.contains(e)},t.prototype.onKeyUp=function(e){var t=e.target;switch(e.keyCode){case 37:if(this.isChildOfCarousel(t))return this.previous();break;case 39:if(this.isChildOfCarousel(t))return this.next();break;case 9:if(this.isChildOfCarousel(t)&&t instanceof HTMLInputElement&&this.isInViewport(t))return this.next()}},t.prototype.handleEnter=function(e){r.isMouseMoveEvent(e)&&this.autoPlay&&this.props.autoPlay&&this.props.pauseOnHover&&(clearInterval(this.autoPlay),this.autoPlay=void 0)},t.prototype.goToSlide=function(e,i,n){var a=this;if(void 0===n&&(n=!0),!this.isInThrottle){var o=this.state.itemWidth,r=this.props,s=r.afterChange,c=r.beforeChange,l=this.state.currentSlide;"function"!=typeof c||i&&("object"!=typeof i||i.skipBeforeChange)||c(e,this.getState()),this.isAnimationAllowed=n,this.props.shouldResetAutoplay&&this.resetAutoplayInterval(),this.setState({currentSlide:e,transform:-o*e},function(){a.props.infinite&&a.correctClonesPosition({domLoaded:!0}),"function"!=typeof s||i&&("object"!=typeof i||i.skipAfterChange)||(t.afterChangeTimeout3=setTimeout(function(){s(l,a.getState())},a.props.transitionDuration||p))})}},t.prototype.getState=function(){return this.state},t.prototype.renderLeftArrow=function(e){var t=this,i=this.props,n=i.customLeftArrow,o=i.rtl;return a.createElement(c.LeftArrow,{customLeftArrow:n,getState:function(){return t.getState()},previous:this.previous,disabled:e,rtl:o})},t.prototype.renderRightArrow=function(e){var t=this,i=this.props,n=i.customRightArrow,o=i.rtl;return a.createElement(c.RightArrow,{customRightArrow:n,getState:function(){return t.getState()},next:this.next,disabled:e,rtl:o})},t.prototype.renderButtonGroups=function(){var e=this,t=this.props.customButtonGroup;return t?a.cloneElement(t,{previous:function(){return e.previous()},next:function(){return e.next()},goToSlide:function(t,i){return e.goToSlide(t,i)},carouselState:this.getState()}):null},t.prototype.renderDotsList=function(){var e=this;return a.createElement(s.default,{state:this.state,props:this.props,goToSlide:this.goToSlide,getState:function(){return e.getState()}})},t.prototype.renderCarouselItems=function(){var e=[];if(this.props.infinite){var t=a.Children.toArray(this.props.children);e=o.getClones(this.state.slidesToShow,t)}return a.createElement(l.default,{clones:e,goToSlide:this.goToSlide,state:this.state,notEnoughChildren:o.notEnoughChildren(this.state),props:this.props})},t.prototype.render=function(){var e=this.props,t=e.deviceType,i=e.arrows,n=e.renderArrowsWhenDisabled,r=e.removeArrowOnDeviceType,s=e.infinite,c=e.containerClass,l=e.sliderClass,p=e.customTransition,u=e.additionalTransfrom,m=e.renderDotsOutside,f=e.renderButtonGroupOutside,h=e.className,g=e.rtl,b=o.getInitialState(this.state,this.props),x=b.shouldRenderOnSSR,y=b.shouldRenderAtAll,v=o.isInLeftEnd(this.state),j=o.isInRightEnd(this.state),w=i&&!(r&&(t&&-1=5&&n==i.length-1&&k(u.Fragment,null,e.renderContact()))}),i.length<5&&k(u.Fragment,null,this.renderContact())))}}]),t}(u.Component);t.a=Object(f.b)(function(e){return{domain:e.common.domain,PcFooter:e.pageLayout.footer}})(S)}).call(this,i("8oxB"))},uFYX:function(e,t,i){"use strict";i.d(t,"a",function(){return a}),i.d(t,"c",function(){return o}),i.d(t,"b",function(){return r});var n=i("dfwq");function a(e,t,i,a,o,r){for(var s=[],c=e;c<=t;c+=i){var l=(Math.round(100*c)/100).toString(),d=l.indexOf(".");for(a&&a>0&&d<0&&(d=l.length,l+=".");l.length<=d+a;)l+="0";for(;-a>l.length;)l="0"+l;r&&(l=r+l),s=o?[l].concat(Object(n.a)(s)):[].concat(Object(n.a)(s),[l])}return s}function o(e){if(!e)return 0;var t=e.find(function(e){return 94==e.options_id});return t&&t.options_price?t.options_price-0:0}function r(e,t){var i=t.filter(function(t){return e.optionId==t.options_id});return e.price=i.length>0?i[0].options_price-0:0,e.childrenList&&e.childrenList.forEach(function(e){if(e.optionId){var i=t.filter(function(t){return e.optionId==t.options_id});e.price=i.length>0?i[0].options_price-0:0}e.childrenList&&(e=r(e,t))}),e}},uhGR:function(e,t,i){"use strict";i.d(t,"a",function(){return s});var n=i("q1tI"),a=i.n(n),o=i("8OJ3"),r=(i("/aIJ"),i("PDkw"),a.a.createElement);function s(e){var t=e.poster,i=void 0===t?"":t,a=e.src,s=void 0===a?"":a,c=e.style,l=void 0===c?{}:c,d=e.loop,p=void 0!==d&&d,u=e.autoplay,m=void 0===u||u,f=e.controls,h=void 0===f||f,g=e.muted,b=void 0!==g&&g,x=e.playsInline,y=void 0!==x&&x,v=e.onStart,j=e.onEnd,w=e.onRef,k=Object(n.useRef)(null),_=Object(n.useRef)(null),O=Object(n.useState)({}),S=(O[0],O[1]),T=function(){var e={controls:h,autoplay:m,loop:p,notSupportedMessage:"\u6b64\u89c6\u9891\u6682\u65e0\u6cd5\u64ad\u653e\uff0c\u8bf7\u7a0d\u540e\u518d\u8bd5",poster:i,muted:b,controlBar:{children:[{name:"playToggle"},{name:"volumePanel",inline:!1},{name:"currentTimeDisplay"},{name:"durationDisplay"},{name:"progressControl"},{name:"pictureInPictureToggle"},{name:"FullscreenToggle"}]}};if(S(e),!_.current){var t=k.current;if(!t)return;!function(e){if(k.current=e,m&&e.play(),w&&w(e),v&&v(),e.id&&y){var t=document.getElementById(e.id()+"_html5_api");t&&t.setAttribute("playsInline","true")}e.on("ended",function(){j&&j(),console.log("player will ended")})}(_.current=Object(o.a)(t,e,function(){}))}};return Object(n.useEffect)(function(){T()},[]),r("div",{className:"video_play ".concat(e.className)},r("video",{style:l,ref:k,className:"video-js vjs-big-play-centered"},r("source",{src:s,type:"video/mp4"})))}},uj2S:function(e,t,i){"use strict";i.d(t,"a",function(){return T}),i.d(t,"c",function(){return I}),i.d(t,"b",function(){return C}),i.d(t,"d",function(){return N}),i.d(t,"e",function(){return E});var n=i("hfKm"),a=i.n(n),o=i("2Eek"),r=i.n(o),s=i("XoMD"),c=i.n(s),l=i("Jo+v"),d=i.n(l),p=i("4mXO"),u=i.n(p),m=i("pLtp"),f=i.n(m),h=i("vYYK"),g=i("MX0m"),b=i.n(g),x=i("q1tI"),y=i.n(x),v=i("9nMr"),j=i("7UmG"),w=i("/oNl"),k=i("9Ea1"),_=y.a.createElement;function O(e,t){var i=f()(e);if(u.a){var n=u()(e);t&&(n=n.filter(function(t){return d()(e,t).enumerable})),i.push.apply(i,n)}return i}function S(e){for(var t=1;t2*n?e+2*n:a>=i.length?i.length+e:e},t.getOriginalIndexLookupTableByClones=function(e,t){if(t.length>2*e){for(var i={},n=t.length-2*e,a=t.length-n,o=n,r=0;r2*e?t.slice(t.length-2*e,t.length).concat(t,t.slice(0,2*e)):t.concat(t,t)},t.getInitialSlideInInfiniteMode=function(e,t){return t.length>2*e?2*e:t.length},t.checkClonesPosition=function(e,t,i){var n,a=e.currentSlide,o=e.slidesToShow,r=e.itemWidth,s=e.totalItems,c=0,l=0,d=0===a,p=t.length-(t.length-2*o);return t.length2*o?((n=a>=p+t.length)&&(l=-r*(c=a-t.length)),d&&(l=-r*(c=p+(t.length-2*o)))):((n=a>=2*t.length)&&(l=-r*(c=a-t.length)),d&&(l=i.showDots?-r*(c=t.length):-r*(c=s/3))),{isReachingTheEnd:n,isReachingTheStart:d,nextSlide:c,nextPosition:l}}},vqO1:function(e,t,i){"use strict";var n=i("hfKm"),a=i.n(n),o=i("2Eek"),r=i.n(o),s=i("XoMD"),c=i.n(s),l=i("Jo+v"),d=i.n(l),p=i("4mXO"),u=i.n(p),m=i("pLtp"),f=i.n(m),h=i("ln6h"),g=i.n(h),b=i("O40h"),x=i("kOwS"),y=i("0iUn"),v=i("sLSF"),j=i("MI3g"),w=i("a7VT"),k=i("AT/M"),_=i("Tit0"),O=i("vYYK"),S=i("9Jkg"),T=i.n(S),I=i("XXOK"),C=i.n(I),N=i("q1tI"),E=i.n(N),L=i("/MKj"),M=i("PQSQ"),P=i("9Krs"),A=["index.php?main_page=checkout_success"],R={way:["alert","inlay","alert","swiper"],float:["center","left","center","right"],is_close:[!1,!0,!1],is_random_close:[!1,!0,!1],page_way:[!1,"statics","delay"],page_way_time:0,is_new_customer:[!1,!0,!1]};function F(e){var t=e.display,i=void 0===t?{}:t,n=e.scheme,a={},o=i.page_way,r=i.page_way_time,s=i.is_random_close,c=i.is_new_customer,l=i.is_close,d=i.way,p=i.id,u=i.position,m=R.way[d],f=n.content,h="UP_win="+n.id+"&content="+p;o&&(a[R.page_way[o]]=r),s&&(a.close=R.is_random_close[s]),c&&(a.user=R.is_new_customer[c]),l&&(a.isclose=R.is_close[l]),a.Cookie=!(!a.everyday&&!a.user)&&["UP$win_"+e.scheme.id+"&content_"+e.display.id,a.everyday?1/a.everyday:1800];var g=!1;try{var b=window&&window.location.href;g=A.filter(function(e){return b.includes(e)}).length}catch(x){}return{type:m,html:f,url:h,significance:g,condition:a,popup_data_save:e,position:u,onsuccessup:function(e){Object(P.d)({transform_group_scheme_id:e.config.popup_data_save.group_scheme_id,transform_scheme_id:e.config.popup_data_save.scheme.id,transform_display_id:e.config.popup_data_save.display.id})}}}var D=function(e,t){!function(e){for(var t in e){var i=e[t],n=i.display;if(n&&n.page_way){var a=n.page_way?F(i):null;new M.b(a)}}}(e)},z=i("uKBe"),B={BODY:"body",HEADER:"header",DETAIL_UNDER_BANNER:".body-container .container.container_clearpadding",SPEC_UNDER_BANNER:".body-container>.p-l-banner-container_parent",COMPUTE_UDER_STEP_TO_ORDER:".body-container>div>div>.row",HELP_ITEM_RIGHT:".container.hc-body-container>.row>.col-sm-9",DETAIL_UNDER_DESCRIPTION:"#pro-paras-container>.container",SPEC_UNDER_PRODUCTS:"#product_list_content",DETAIL_UNDER_COLORS:"#page > div.body-container > div.container.container_clearpadding > div.container",SPEC_SHOPPING_WAY:".body-container>.container.text-center",DETAIL_UNDER_VIDEO:".body-container .container.container_clearpadding",HELP_BOTTOM_RIGHT:".container.hc-body-container>.row>.col-sm-9",AFFILIATE_BOTTOM:"#page>.container:last",AFFILIATE_BANNER_BOTTOM:".container>.p-l-banner-container_parent"},U=i("AEtJ"),G=i("qF6S"),H=i("IGxN"),q=i("p+zr"),V=i("9Ea1"),W=E.a.createElement;function Y(e,t){var i=f()(e);if(u.a){var n=u()(e);t&&(n=n.filter(function(t){return d()(e,t).enumerable})),i.push.apply(i,n)}return i}function X(e){for(var t=1;t\n #UP".concat(t,"{clear: both;position:relative;height:0;width:0;overflow: hidden;opacity: 0;transition:all 0.5s linear}\n #UP").concat(t,".hover{height:auto;width:auto;opacity: 1;}\n #UP").concat(t," .UPCloseImplant{display: block;top:0;line-height: 25px;right:5px;height:25px;position:absolute;cursor:pointer;z-index: 2;font-size: 25px;text-align: center;}\n ");return'\n
\n ').concat(o,"\n ").concat(1==e.condition.isclose?'
Close ×
':"",'\n
\n ").concat(e.html,"\n
\n
\n ")}t.a=function(e){var t=function(t){function i(){var e,t;Object(y.a)(this,i);for(var n=arguments.length,a=new Array(n),o=0;o0&&void 0!==a[0]?a[0]:{},!e.getInitialProps){t.next=7;break}return t.next=4,e.getInitialProps(X({},i));case 4:t.t0=t.sent,t.next=8;break;case 7:t.t0={};case 8:return n=t.t0,t.abrupt("return",X({},n));case 10:case"end":return t.stop()}},t)})),Object(L.b)(function(e){return{adds:e.instation.schemes,isUkUser:e.userInfo.isUkUser}},{})(t)}},vr3X:function(e,t,i){"use strict";var n=i("0iUn"),a=i("sLSF"),o=i("MI3g"),r=i("a7VT"),s=i("Tit0"),c=i("MX0m"),l=i.n(c),d=i("q1tI"),p=i.n(d),u=i("/MKj"),m=i("/oNl"),f=i("7UmG"),h=i("Oesk"),g=p.a.createElement,b=function(e){function t(){return Object(n.a)(this,t),Object(o.a)(this,Object(r.a)(t).apply(this,arguments))}return Object(s.a)(t,e),Object(a.a)(t,[{key:"render",value:function(){var e=[],t=this.props,i=t.PcSubscription,n=t.t,a=t.subscription,o=i.title,r=i.lcon,s=i.imgs,c=i.link,d=i.bg;return e=a||r,g(m.l,{style:{maxWidth:"1440px",marginTop:"80px"}},g(l.a,{id:"2584183275"},[".icon-item.jsx-2584183275+.icon-item.jsx-2584183275{margin-left:20px;}",".icon-item.jsx-2584183275 img.jsx-2584183275{height:25px;width:auto;}",".subscribeCms-title.jsx-2584183275{font-size:24px;font-family:Roboto-Medium;}"]),g(f.f,{align:"center",justify:"center"},g("div",{dangerouslySetInnerHTML:{__html:o},className:"jsx-2584183275 subscribeCms-title"}),g(h.a,{t:n,bg:d,style:{width:"auto"}}),g(f.f,null,e.map(function(e,t){return g("div",{key:t,className:"jsx-2584183275 icon-item"},g("a",{href:e.link,className:"jsx-2584183275"},g("img",{src:e.img,alt:"",className:"jsx-2584183275"})))}),s&&g("a",{href:c,target:"_blank",className:"jsx-2584183275"},g("img",{src:s,style:{marginLeft:"20px"},alt:"",className:"jsx-2584183275"})))))}}]),t}(d.Component);t.a=Object(u.b)(function(e){return{subscription:e.pageLayout.config.subscription}})(b)},x8W1:function(e,t,i){"use strict";var n=i("hfKm"),a=i.n(n),o=i("2Eek"),r=i.n(o),s=i("XoMD"),c=i.n(s),l=i("Jo+v"),d=i.n(l),p=i("4mXO"),u=i.n(p),m=i("pLtp"),f=i.n(m),h=i("ln6h"),g=i.n(h),b=i("9Jkg"),x=i.n(b),y=i("vYYK"),v=i("O40h"),j=i("dr1e"),w=i("p0XB"),k=i.n(w),_=function(e){return!!e&&(k()(e)&&e.length>0)},O=i("jgXz"),S=i("kodF"),T=i("KDCo"),I=i("slBX"),C=i("p+zr"),N=i("9Ea1");function E(e,t){var i=f()(e);if(u.a){var n=u()(e);t&&(n=n.filter(function(t){return d()(e,t).enumerable})),i.push.apply(i,n)}return i}function L(e){for(var t=1;tdiv.jsx-1799244458{margin:0 10px;}",".bottom-nav-img.jsx-1799244458{margin:0 5px;}",".pc-bottom-toll.jsx-1799244458{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:space-around;-webkit-justify-content:space-around;-ms-flex-pack:space-around;justify-content:space-around;font-size:14px;border-bottom:1px solid #e4e4e4;max-width:1200px;margin:0 auto;padding:15px 0;}",".pc-bottom-toll.jsx-1799244458>div.jsx-1799244458{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}",".live_chat.jsx-1799244458{cursor:pointer;}",".cio.jsx-1799244458 a.jsx-1799244458{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;}",".cio.jsx-1799244458 img.jsx-1799244458{height:27px;width:auto;}",".pc-copyright.jsx-1799244458{text-align:center;background:transparent;padding:0;margin:0;}",".klarna-box.jsx-1799244458{display:-webkit-inline-box !important;display:-webkit-inline-flex !important;display:-ms-inline-flexbox !important;display:inline-flex !important;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}",".klarna-box-inner.jsx-1799244458{width:47px;height:27px;}"]),y("div",{className:"jsx-1799244458 pc-bottom-cio"},y("div",{className:"jsx-1799244458"},y("div",{className:"jsx-1799244458 cio"},y("li",{className:"jsx-1799244458 klarna-box"},this.props.paymentChannels?y("img",{src:this.props.paymentChannels.paymentimg,alt:"",className:"jsx-1799244458"}):y("img","fr"===n?{src:"https://df5apg8r0m634.cloudfront.net/images/2022/0224/b74fbc5aa26eb7a554c56e16ac97359e.png",alt:"",className:"jsx-1799244458"}:{src:Object(g.getSiteConfiguration)("pay_img",i),alt:"",className:"jsx-1799244458"})))),y("div",{className:"jsx-1799244458"},y("p",{className:"jsx-1799244458 pc-copyright"},y("span",{style:{marginRight:"5px"},className:"jsx-1799244458"},t("common:Copyright")," ",this.state.dateYear," ",t("fm"===n?"common:FirmooOnlineOpticalStore_fm":"common:FirmooOnlineOpticalStore")),t("common:FIRMOO_RIGHT")))))}}]),t}(u.Component);t.a=Object(x.b)(function(e){return{domain:e.common.domain,paymentChannels:e.pageLayout.config.paymentChannels}})(v)},ztRg:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.getPartialVisibilityGutter=function(e,t,i,n){var a=0,o=n||i;return t&&o&&(a=e[o].partialVisibilityGutter||e[o].paritialVisibilityGutter),a},t.getWidthFromDeviceType=function(e,t){var i;return t[e]&&(i=(100/t[e].items).toFixed(1)),i},t.getItemClientSideWidth=function(e,t,i){return Math.round(i/(t+(e.centerMode?1:0)))}},zwN0:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.populateSlidesOnMouseTouchMove=function(e,t,i,n,a,o){var r,s,c=e.itemWidth,l=e.slidesToShow,d=e.totalItems,p=e.currentSlide,u=t.infinite,m=!1,f=Math.round((i-n)/c),h=Math.round((n-i)/c),g=i