1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5392],{83180:function(e,t,n){var r=n(67294),c=n(55512),i=n(65041),a=n(31955),s=n(85893);t.Z=function(e){var t=e.bulletin,n=t.status,o=t.content,l=t.enddate,u=Boolean(a.Z.get("closedAnnouncement")),d=new Date().getTime()>new Date(l).getTime(),h=(0,r.useState)(n&&!d&&!u),f=h[0],p=h[1];return(0,s.jsxs)(c.Z,{id:"announce-alert",className:"position-fixed",isOpen:f,color:"warning",toggle:function(e){p(!1),a.Z.set("closedAnnouncement",!0,{expires:new Date(l)})},children:[(0,s.jsx)("h4",{className:"alert-heading h5 text-center",children:(0,i.t)("publisher.common.importantAnnounce")}),(0,s.jsx)("hr",{}),o]})}},94537:function(e,t,n){var r=n(92777),c=n(82262),i=n(10748),a=n(81531),s=n(63553),o=n(37247),l=n(59499),u=n(67294),d=n(65041),h=n(85893),f=function(e){(0,a.Z)(u,e);var t,n=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,n=(0,o.Z)(u);if(t){var r=(0,o.Z)(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return(0,s.Z)(this,e)});function u(){var e;(0,r.Z)(this,u);for(var t=arguments.length,c=Array(t),a=0;a<t;a++)c[a]=arguments[a];return e=n.call.apply(n,[this].concat(c)),(0,l.Z)((0,i.Z)(e),"onCloseAlert",function(e){var t=e.target.classList.contains("btn-close"),n=e.currentTarget.classList;t&&(n.remove("show"),window.localStorage.setItem("checkedCookie",!0))}),(0,l.Z)((0,i.Z)(e),"onTransitionEnd",function(e){e.target.remove()}),e}return(0,c.Z)(u,[{key:"render",value:function(){return window.localStorage.getItem("checkedCookie")?null:(0,h.jsxs)("div",{id:"cookie-alert",className:"position-fixed w-100 alert alert-info alert-dismissible fade show",role:"alert",onClick:this.onCloseAlert,onTransitionEnd:this.onTransitionEnd,children:[(0,d.t)("publisher.common.cookiePolicy"),(0,h.jsx)("button",{type:"button",className:"btn-close","data-bs-dismiss":"alert","aria-label":"Close"})]})}}]),u}(u.PureComponent);t.Z=f},39700:function(e,t,n){var r=n(59499),c=n(67294),i=n(25675),a=n.n(i),s=n(80204),o=n(28059),l=n(85893);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach(function(t){(0,r.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var h=function(e){return"string"==typeof e?e.includes("px")?parseInt(e.replace("px",""),10):e:"number"==typeof e?e:void 0},f=function(e){return!!e&&"string"==typeof e&&(!!e.match(/images.yep.com.tw/)||!!e.match(/images.iyp.com.vn/)||!!e.match(/image.dshop.test/)||!!e.match(/image.yep.com.test/))},p=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(!f(e)||!t)return e;var n=e.trim();return/\/[a-zA-Z]\/?$/.test(n)?n.replace(/\/[a-zA-Z]\/?$/,"/".concat(t)):"".concat(n.replace(/\/+$/,""),"/").concat(t)},g=function(e){return"string"==typeof e&&e.includes("%")};t.Z=(0,c.memo)(function(e){var t=e.url,n=e.title,r=void 0===n?"":n,i=e.width,u=e.height,m=e.className,v=e.onClick,y=e.tag,x=e.useBg,j=e.dataIndex,w=e.style,b=e.useMagnifier,O=e.isEditorContent,N=e.onLoad,Z=void 0===N?function(){}:N,R=e.priority,k=void 0!==R&&R,P=e.isUnFullHeight,E=e.isUnFullWidth,D=e.isPopUps,C=e.isProduct,A=(0,c.useState)("0"),L=A[0],I=A[1],M=(0,c.useRef)(!1),z=h(i),S=h(u),T=(0,c.useMemo)(function(){return p(t,y)},[t,y]),_=(0,c.useMemo)(function(){var e;return(e=p(t,y)).startsWith("//")?"https:"+e:f(e)?e:e.replace(/https?:\/\//g,"https://i0.wp.com/")},[y,t]),F=d(d({},w),{},{overflow:"hidden",position:"yep-gallery-layout3"===m?"static":"relative",paddingTop:D?"0":L}),q=d(d({},w),{},{width:(null==w?void 0:w.width)||z||"auto",height:(null==w?void 0:w.height)||S||"auto",verticalAlign:"middle",objectFit:(null==w?void 0:w.objectFit)||"contain"}),H=d({objectFit:(null==w?void 0:w.objectFit)||"cover",height:"100%",aspectRatio:x?null==w?void 0:w.aspectRatio:"auto"},(null==w?void 0:w.width)&&{width:w.width});(0,c.useEffect)(function(){M.current=!1,I("0")},[_,C]);var B=function(e){if(null!=w&&w.aspectRatio||C&&M.current)return Z(e);
1var t=e.target,n=t.naturalWidth,r=t.naturalHeight;I("calc(100% / (".concat(n," / ").concat(r,"))")),M.current=!0,Z(e)};if(b)return(0,l.jsx)(s.default,{url:p(t,o.SIZE_TAG.max1600)});if(x)return z&&S&&!v?(0,l.jsx)(a(),{alt:r,src:_,width:z,height:S,quality:80,className:m,style:H,onLoad:Z,loading:k?"eager":"lazy"}):(0,l.jsx)("div",{className:m,style:d(d({},{backgroundImage:"url(".concat(T,")"),backgroundSize:"cover",backgroundPosition:"center",backgroundRepeat:"no-repeat"}),{paddingBottom:E||P?"0":"100%"}),onClick:v,"data-index":j});if(!x&&v){var U={};return S&&0!==S&&(U.height=S),z&&0!==z?(U.width=z,U.onLoad=Z):(U.fill=!0,U.onLoad=B),k?(U.priority=k,U.loading="eager"):U.loading="lazy",(0,l.jsx)("div",{className:"w-100 h-100",style:F,children:(0,l.jsx)(a(),d({alt:r,src:_,className:m,quality:80,"data-index":j,onClick:v,style:{width:"100%",height:"100%"}},U))})}if(!x&&!O)return(0,l.jsx)("div",{className:"w-100 h-100",style:F,children:z&&S&&!D?(0,l.jsx)(a(),{alt:r,src:_,width:z,height:S,className:m,style:H,quality:80,onLoad:Z,loading:k?"eager":"lazy",sizes:"(max-width: 768px) 50vw, 100vw"}):D&&z&&S?(0,l.jsx)(a(),{alt:r,src:_,className:m,quality:80,loading:k?"eager":"lazy",style:H,onLoad:B,width:z,height:S}):!D||z||S?(0,l.jsx)(a(),{alt:r,src:_,className:m,quality:80,loading:k?"eager":"lazy",style:H,onLoad:B,fill:!0}):(0,l.jsx)(a(),{alt:r,src:_,className:m,quality:80,loading:k?"eager":"lazy",style:H,onLoad:B,width:null!=z?z:500,height:null!=S?S:500})});if(O){var W=g(z),G=g(S);return W||G?(0,l.jsx)(a(),{alt:r,src:_,width:1500,height:1e3,quality:80,loading:"lazy",style:d(d({},w),{},{width:"".concat(z),height:"".concat(S)})}):(0,l.jsx)("div",{className:"d-inline",children:(0,l.jsx)(a(),{alt:r,src:_,width:null!=z?z:1600,height:null!=S?S:1e3,loading:"lazy",quality:80,style:q})})}})},8566:function(e,t,n){n.r(t),n.d(t,{default:function(){return I}});var r,c=n(59499),i=n(50029),a=n(87794),s=n.n(a),o=n(67294),l=n(98020),u=n.n(l),d=n(94184),h=n.n(d),f=n(2664),p=n(64593),g=n(65041),m=n(92777),v=n(82262),y=n(10748),x=n(81531),j=n(63553),w=n(37247),b=n(85893),O=function(e){(0,x.Z)(r,e);var t,n=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,n=(0,w.Z)(r);if(t){var c=(0,w.Z)(this).constructor;e=Reflect.construct(n,arguments,c)}else e=n.apply(this,arguments);return(0,j.Z)(this,e)});function r(){var e;(0,m.Z)(this,r);for(var t=arguments.length,i=Array(t),a=0;a<t;a++)i[a]=arguments[a];return e=n.call.apply(n,[this].concat(i)),(0,c.Z)((0,y.Z)(e),"state",{counter:6}),e}return(0,v.Z)(r,[{key:"componentDidMount",value:function(){var e=this;this.timerID=setInterval(function(){if(e.state.counter<=0){window&&(window.location.href="/"),clearInterval(e.timerID);return}e.setState({counter:e.state.counter-1})},1e3)}},{key:"componentWillUnmount",value:function(){clearInterval(this.timerID)}},{key:"render",value:function(){return(0,b.jsxs)("p",{children:[(0,g.t)("publisher.common.counterNotice",{counter:this.state.counter})," ",(0,b.jsx)("a",{href:"/",children:(0,g.t)("publisher.common.backHome")})]})}}]),r}(o.PureComponent),N=n(8042);function Z(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function R(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Z(Object(n),!0).forEach(function(t){(0,c.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Z(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}n(54194);var k=function(e){return(0,b.jsx)("svg",R(R({},e),{},{children:(0,b.jsxs)("g",{fill:"none",fillRule:"evenodd",children:[(0,b.jsx)("circle",{className:"icon-line",cx:"62",cy:"59",r:"40"}),(0,b.jsx)("circle",{className:"icon-line",cx:"62",cy:"59",r:"50"}),(0,b.jsx)("path",{className:"icon-line",d:"M103.062 92.173c-2.278 2.494-4.31 4.486-6.102 5.98-1.612 1.343-3.827 3.023-6.651 5.046l17.646 17.805a8.52 8.52 0 0 0 12.05 0c3.327-3.327 3.327-8.722.005-12.044l-16.948-16.787Z"}),(0,b.jsx)("circle",{className:"icon-eye",cx:"54",cy:"68",r:"4"}),(0,b.jsx)("circle",{className:"icon-eye",cx:"68",cy:"68",r:"4"}),(0,b.jsx)("path",{className:"icon-line",d:"M62 86c2.935 0 6.548 0 7-2.25 0-2.734-3.134-6.75-7-6.75s-7 4.016-7 6.75C55.452 86 59.065 86 62 86Z"})]})}))};k.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"130",height:"130"};var P=function(e){return(0,b.jsx)("svg",R(R({},e),{},{children:(0,b.jsxs)("g",{fill:"none",fillRule:"evenodd",strokeWidth:"3",className:"icon-closed",children:[(0,b.jsx)("rect",{width:"117",height:"55",x:"1.5",y:"54.5",rx:"8"}),(0,b.jsx)("circle",{cx:"60.5",cy:"16.5",r:"6"}),(0,b.jsx)("path",{d:"M54.5 20 10 54M66 20l44 34"}),(0,b.jsxs)("g",{strokeLinecap:"round",children:[(0,b.jsx)("path",{d:"m47.406 69.5 14.425 14.89L72.594 95.5"}),(0,b.jsx)("path",{d:"M72.594 69.5 58.169 84.39 47.406 95.5"})]})]})}))};P.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"120",height:"120"};var E=function(e){return(0,b.jsx)("svg",R(R({},e),{},{children:(0,b.jsxs)("g",{fill:"none",className:"icon-line",strokeWidth:"3",children:[(0,b.jsx)("path",{d:"M106.687 7.01h3.908a2.188 2.188 0 0 1 2.399 2.34c-.07 10.378-1.498 20.475-5.98 29.975A67.108 67.108 0 0 1 93.91 57.973c-4.516 4.575-9.36 8.81-14.123 13.162a2.41 2.41 0 0 0-.912 1.825c-.375 7.78-.808 15.549-1.17 23.329a2.703 2.703 0 0 1-1.662 2.246l-20.617 12.016c-1.17.667-2.27 1.333-3.405 1.989a2.247 2.247 0 0 1-3.1-.363c-1.17-1.17-2.34-2.41-3.616-3.592a2.667 2.667 0 0 1-.655-3.03c1.708-5.44 3.37-10.904 5.066-16.38a1.369 1.369 0 0 0-.362-1.625 2170.953 2170.953 0 0 1-16.978-16.93 1.31 1.31 0 0 0-1.545-.362c-5.405 1.685-10.835 3.31-16.229 5.042a2.96 2.96 0 0 1-3.404-.854c-1.054-1.17-2.2-2.2-3.288-3.322a2.164 2.164 0 0 1-.41-3.148l14.041-24.03a3.066 3.066 0 0 1 2.773-1.638c7.746-.374 15.488-.784 23.226-1.229.43-.061.823-.272 1.112-.596 3.346-3.686 6.552-7.523 10.
1027-11.091 6.868-7.02 14.345-13.35 23.402-17.42a53.957 53.957 0 0 1 15.456-4.107c3.124-.386 6.272-.585 9.15-.854Z"}),(0,b.jsx)("path",{d:"M95 32.053a7 7 0 1 0-14-.105 7 7 0 0 0 14 .105Z"})]})}))};E.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"120",height:"120"};var D=function(e){return(0,b.jsx)("svg",R(R({},e),{},{children:(0,b.jsx)("path",{className:"icon-eye",d:"M118.787 97.777c1.112 2.223 1.46 4.482 1.042 6.775-.416 2.293-1.528 4.239-3.335 5.837-1.807 1.598-3.96 2.397-6.462 2.397H9.968c-2.501 0-4.655-.799-6.462-2.397-1.807-1.598-2.919-3.544-3.335-5.837-.417-2.293-.07-4.552 1.042-6.775l50.031-86.722c1.251-2.223 3.023-3.717 5.316-4.482 2.293-.764 4.587-.764 6.88 0 2.293.765 4.065 2.259 5.316 4.482l50.031 86.722Zm-4.86 4.104L62.972 13.56c-.707-1.132-1.698-1.699-2.972-1.699s-2.265.567-2.972 1.699L6.073 101.881c-.566 1.133-.53 2.265.106 3.397.637 1.133 1.593 1.699 2.866 1.699h101.91c1.273 0 2.229-.566 2.866-1.699.637-1.132.672-2.264.106-3.397ZM60 83.601c1.668 0 3.057.556 4.17 1.668 1.111 1.112 1.667 2.501 1.667 4.17 0 1.667-.556 3.057-1.668 4.168-1.112 1.112-2.501 1.668-4.169
11.668-1.668 0-3.057-.556-4.17-1.668-1.111-1.111-1.667-2.501-1.667-4.169 0-1.668.556-3.057 1.668-4.17 1.112-1.111 2.501-1.667 4.169-1.667Zm-2.293-44.194h4.586c.834 0 1.494.243 1.98.73.487.486.66 1.076.522 1.771l-1.46 35.022c0 .695-.243 1.286-.73 1.772a2.412 2.412 0 0 1-1.771.73h-1.668a2.412 2.412 0 0 1-1.772-.73c-.486-.486-.73-1.007-.73-1.563l-1.459-35.23c-.139-.696.035-1.286.521-1.773.487-.486 1.147-.73 1.98-.73Z",fill:"none",fillRule:"evenodd"})}))};D.defaultProps={width:"120",height:"120",xmlns:"http://www.w3.org/2000/svg"};var C={404:(0,b.jsx)(k,{}),410:(0,b.jsx)(P,{}),503:(0,b.jsx)(E,{})},A=function(e){var t=e.statusCode,n=e.message,r={Icon:(0,b.jsx)(D,{}),classes:"shake",title:"".concat(t," | ").concat(u()[t]||"Error"),message:(0,g.t)("publisher.common.sorryMadeMistake")};return t>400&&(r.Icon=C[t],r.classes=N.ERRORHANDLE[n].classes,r.title=(0,g.t)(N.ERRORHANDLE[n].title),r.message=(0,g.t)(N.ERRORHANDLE[n].message)),r},L=function(e){var t,n,r=e.meta.error,c=r.message,i=void 0===c?N.ERR.PAGE_NOT_FOUND:c,a=r.statusCode,s=void 0===a?404:a,o=A({statusCode:s,message:i}),l=new Date().getFullYear();return(0,b.jsxs)(b.Fragment,{children:[function(){if(404===s)return(0,b.jsx)(p.q,{link:[{href:"/static/error.css",rel:"stylesheet"}]})}(),(0,b.jsxs)("div",{className:"container",children:[(0,b.jsxs)("div",{className:"content",children:[(0,b.jsxs)("div",{className:h()("animated",o.classes),children:[(0,b.jsx)("div",{className:"icon",children:o.Icon}),(0,b.jsx)("h1",{className:"title",children:(0,g.t)(null!==(t=null===(n=N.ERRORHANDLE[i])||void 0===n?void 0:n.title)&&void 0!==t?t:"")})]}),(0,b.jsx)("div",{dangerouslySetInnerHTML:{__html:o.message}}),function(){if(404===s)return(0,b.jsx)(O,{})}()]}),(0,b.jsx)("footer",{className:"footer",children:(0,b.jsxs)("p",{children:["\xa9 ",l,", All Rights Reserved. Power by Yep."]})})]})]})};L.getInitialProps=(r=(0,i.Z)(s().mark(function e(t){var n,r;return s().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:t.err,r=(n=t.res)?n.statusCode:404,e.next=7;break;case 7:return e.abrupt("return",{props:{meta:{error:{statusCode:r,message:N.ERR.PAGE_NOT_FOUND}}}});case 8:case"end":return e.stop()}},e)})),function(e){return r.apply(this,arguments)});var I=(0,f.connect)(function(e){return{meta:e.meta}})(L)}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.