1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="40c3700f-6a7b-46d7-ab0e-0b38978e1235",e._sentryDebugIdIdentifier="sentry-dbid-40c3700f-6a7b-46d7-ab0e-0b38978e1235")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5693],{42186:function(e,t,r){r.d(t,{i:function(){return BannerBase}});var n=r(84302),i=r(89859),a=r(26479),l=r(39036),c=r(51865),o=r.n(c),s=r(1878),u=r.n(s),d=r(23947),p=r.n(d);r(44194);var h=r(62940);function ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(r),!0).forEach(function(t){(0,n.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ownKeys(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var BannerBase=function(e){var t,r=e.cover,n=e.alt,c=e.linkClassName,s=e.imageClassName,d=e.link,f=e.title,m=e.showBannerTitle,v=e.fillWidth,b=e.width,g=e.height,y=e.imageProps,w=e.linkProps,Z=(0,i.k)().track,k=(0,h.tZ)(u(),_objectSpread(_objectSpread({},y),{},{src:r||"",alt:n||"",width:b,height:g,className:o()("rounded-lg select-none w-full",s),draggable:!1,loading:null!=y&&y.priority?void 0:null!==(t=null==y?void 0:y.loading)&&void 0!==t?t:"lazy"})),x=(0,h.BX)(h.HY,{children:[k,m&&(0,h.tZ)(l.Z,{variant:"body14",children:f})]}),C=o()("relative select-none rounded-lg text-center flex flex-col gap-y-3",v?"w-full":"w-fit");return d?(0,h.tZ)(p(),_objectSpread(_objectSpread({className:o()(C,"cursor-pointer",c)},w),{},{href:d,draggable:!1,onClick:function(){var e=window.location.href,t={link_url:d&&URL.canParse(d)?d:"".concat(window.location.origin,"/").concat(d),page_url:e,image_alt:n||""};Z(a.aM.CLICK_BANNER,t,!1)},children:x})):(0,h.tZ)("div",{className:o()(C,c),css:null==w?void 0:w.css,children:x})}},4942:function(e,t,r){r.d(t,{O:function(){return TurnstileModal}});var n=r(24805),i=r(62940),TurnstileModal=function(e){var t=e.containerRef,r=e.isInteractive;return(0,i.tZ)(n.Z,{open:r,keepMounted:!0,style:{zIndex:1400},children:(0,i.tZ)("div",{className:"top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 absolute bg-white rounded-lg p-4 text-center",children:(0,i.tZ)("div",{ref:t})})})}},90811:function(e,t,r){r.d(t,{z:function(){return Collapsible}});var n=r(84320),i=r(44194),a=r(7862),l=r.n(a);let UilAngleDoubleDown=({color:e="currentColor",size:t=24,...r})=>i.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 24 24",fill:e,...r},i.createElement("path",{d:"M11.29,11.46a1,1,0,0,0,1.42,0l3-3A1,1,0,1,0,14.29,7L12,9.34,9.71,7A1,1,0,1,0,8.29,8.46Zm3,1.08L12,14.84l-2.29-2.3A1,1,0,0,0,8.29,14l3,3a1,1,0,0,0,1.42,0l3-3a1,1,0,0,0-1.42-1.42Z"}));UilAngleDoubleDown.propTypes={color:l().string,size:l().oneOfType([l().string,l().number])};let UilAngleDoubleUp=({color:e="currentColor",size:t=24,...r})=>i.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 24 24",fill:e,...r},i.createElement("path",{d:"M12.71,12.54a1,1,0,0,0-1.42,0l-3,3A1,1,0,0,0,9.71,17L12,14.66,14.29,17a1,1,0,0,0,1.42,0,1,1,0,0,0,0-1.42Zm-3-1.08L12,9.16l2.29,2.3a1,1,0,0,0,1.42,0,1,1,0,0,0,0-1.42l-3-3a1,1,0,0,0-1.42,0l-3,3a1,1,0,0,0,1.42,1.42Z"}));UilAngleDoubleUp.propTypes={color:l().string,size:l().oneOfType([l().string,l().number])};var c=r(51039),o=r(21526),s=r(27719),u=r(11461),d=r(62940),Collapsible=function(e){var t,r,a=i.useState(!1),l=(0,n.Z)(a,2),p=l[0],h=l[1],f=e.collapsedSize||650,m=(0,i.useRef)(null),v=i.useState(!0),b=(0,n.Z)(v,2),g=b[0],y=b[1],w=(0,u.$G)().t;if((0,i.useEffect)(function(){m.current&&y(m.current.clientHeight<f)},[m.current]),g)return(0,d.tZ)("div",{ref:m,children:e.children});var Z=null===(t=e.customButtons)||void 0===t?void 0:t.showButton,k=null===(r=e.customButtons)||void 0===r?void 0:r.hideButton;return(0,d.BX)("div",{className:"relative",children:[(0,d.tZ)(c.Z,{in:p,collapsedSize:f,children:(0,d.tZ)("div",{ref:m,children:e.children})}),Z&&k?(0,d.tZ)(d.HY,{children:p?(0,d.tZ)(k,{onClick:function(){return h(!1)}}):(0,d.tZ)(Z,{onClick:function(){return h(!0)}})}):p?(0,d.tZ)("div",{className:"flex justify-center w-full",css:(0,o.iv)({height:"50px"}),children:(0,d.tZ)(s.Z,{startIcon:(0,d.tZ)(UilAngleDoubleUp,{}),onClick:function(){return h(!1)},variant:"contained",className:"px-8",size:"small",children:w("common.collapse")})}):(0,d.tZ)("div",{className:"flex justify-center w-full absolute bottom-0 items-end pb-2",css:(0,o.iv)({height:"50px",background:"linear-gradient(to bottom, #ffffff00 0%, #ffffffdd 100%)"}),children:(0,d.tZ)(s.Z,{startIcon:(0,d.tZ)(UilAngleDoubleDown,{size:24}),onClick:function(){return h(!0)},variant:"contained",className:"px-8",size:"small",children:w("common.expand")})})]})}},27308:function(e,t,r){r.d(t,{N:function(){return HighlightCategoryBanner}});var n=r(42186),i=r(2e3),a=r(51865),l=r.n(a);r(44194);var c=r(56246),o=r(62940),s={name:"1ptvbu9",styles:".control-dots{display:flex;justify-content:center;gap:4px;}.carousel.carousel-slider li.slide.selected{z-index:0 !important;}"},Carousel=function(e){var t=(0,i.bj)();return(0,o.tZ)(c.lr,{className:"w-full",css:s,showIndicators:t.isDesktop,animationHandler:"fade",autoPlay:!0,swipeable:!1,infiniteLoop:!0,showStatus:!1,showThumbs:!1,showArrows:!1,emulateTouch:!0,renderIndicator:Indicator,interval:5e3,children:e.children})},Indicator=function(e,t,r){return(0,o.tZ)("div",{onClick:e,className:l()("rounded-[10px] h-[12px] bg-white cursor-pointer",{"w-[40px] opacity-100":t,"w-[12px] opacity-60":!t})},"carousel-indicator-".concat(r))},u=r(9710),HighlightCategoryBanner=function(e){var t=e.categoryID,r
1=((0,u.U)(t).data||[]).filter(function(e){return!!e.imageUrl});return(0,o.tZ)(o.HY,{children:!!r.length&&(0,o.tZ)("div",{className:"desktop:mt-8",children:(0,o.tZ)(Carousel,{children:r.map(function(e){return(0,o.tZ)(n.i,{cover:e.imageUrl||"",linkClassName:"category-banner","data-banner-id":e.id,alt:"category-banner-".concat(t),link:e.link||"",width:0,height:0,imageProps:{layout:"responsive"}},e.id)})})})})}},78722:function(e,t,r){r.r(t),r.d(t,{SearchComponent:function(){return SearchComponent},SearchPage:function(){return SearchPage}});var n,i,a,l=r(84302),c=r(89745),o=r(4942),s=r(75359),u=r(61910),d=r(38327),p=r(2e3),h=r(84432),f=r(61300),m=r(26479),v=r(93766),b=r(46600),g=r(37403),y=r(62940);function ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(r),!0).forEach(function(t){(0,l.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ownKeys(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var AiSearchIcon=function(e){return(0,y.BX)("svg",_objectSpread(_objectSpread({width:"30",height:"36",viewBox:"0 0 30 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),{},{children:[(0,y.BX)("g",{"clip-path":"url(#clip0_1873_32182)",children:[(0,y.tZ)("path",{d:"M13.1234 35.4965C12.7402 35.4886 12.6861 35.2996 12.6591 35.0833C12.5389 34.0975 12.4309 33.1096 12.2929 32.1267C12.059 30.4554 11.7398 28.8036 11.2584 27.1819C10.3484 24.1182 8.40732 22.0862 5.37206 21.2003C3.7723 20.7333 2.12918 20.4207 0.505249 20.0392C0.459034 20.0284 0.410686 20.0291 0.364471 20.0205C0.16539 19.9832 -0.0464884 19.9048 0.00896973 19.6699C0.0395428 19.5406 0.22227 19.3846 0.360204 19.3552C1.17004 19.1806 1.9948 19.0707 2.80036 18.8781C3.77799 18.6446 4.75348 18.3888 5.70836 18.0748C8.47629 17.1659 10.2737 15.2791 11.
1171 12.4834C11.7696 10.6188 12.1017 8.70185 12.364 6.76834C12.475 5.94996 12.5624 5.12871 12.6605 4.30889C12.6847 4.10627 12.7352 3.92017 12.9855 3.91515C13.235 3.91012 13.2926 4.08471 13.3203 4.29308C13.5223 5.79907 13.6673 7.31585 13.9503 8.80675C14.2098 10.1762 14.544 11.5421 14.9777 12.8656C15.8238 15.4486 17.6219 17.1127 20.1431 18.0166C21.8687 18.6352 23.6548 18.9923 25.45 19.3149C25.5083 19.3257 25.5844 19.3135 25.6221 19.3466C25.7415 19.45 25.8475 19.5707 25.9584 19.6843C25.8411 19.7971 25.7394 19.981 25.6043 20.0112C24.9346 20.1613 24.2534 20.2605 23.5808 20.397C22.1396 20.6895 20.7204 21.0595 19.3674 21.6551C17.2252 22.5985 15.8103 24.2159 14.999 26.4088C14.3357 28.2022 13.9901 30.0696 13.7206 31.9542C13.5713 32.9968 13.4611 34.0444 13.3161 35.0869C13.294 35.2443 13.1767 35.3887 13.1241 35.4965H13.1234Z",fill:"#DF453C"}),(0,y.tZ)("path",{d:"M25.2373 0.504486C25.3169 0.640284 25.4342 0.766741 25.469 0.913317C25.6233 1.56357 25.7257 2.22747 25.8992 2.87125C26.2696 4.24576 27.1406 5.15467 28.4908 5.58003C28.8513 5.69356 29.2189 5.78481 29.5843 5.88324C29.7841 5.93641 29.9931 5.98599 30.0003 6.24753C30.0074 6.51984 29.7983 6.55433 29.5928 6.60247C29.2359 6.68582 28.8811 6.77994 28.5299 6.88341C27.1534 7.28721 26.2718 8.19684 25.8971 9.58787C25.7328 10.1972 25.6283 10.8237 25.4982 11.4431C25.4541 11.6529 25.4456 11.9051 25.1526 11.9015C24.8697 11.8986 24.8505 11.6658 24.8064 11.4452C24.677 10.8022 24.5575 10.1541 24.3826 9.52249C24.0094 8.17672 23.1483 7.28936 21.8223 6.87694C21.427 6.75408 21.0203 6.66785 20.6314 6.52846C20.502 6.48248 20.3114 6.30285 20.3271 6.22022C20.3534 6.0873 20.5084 5.93785 20.6449 5.87965C20.8817 5.77834 21.144 5.73595 21.3971 5.67703C23.127 5.27682 24.143 4.1696 24.5241 2.4423C24.635 1.94078 24.709 1.43136 24.8263 0.931998C24.8626 0.776082 24.9856 0.641002 25.0695 0.496582C25.1263 0.499456 25.1825 0.501612 25.2394 0.504486H25.2373Z",fill:"#DF453C"})]}),(0,y.tZ)("defs",{children:(0,y.tZ)("clipPath",{id:"clip0_1873_32182",children:(0,y.tZ)("rect",{width:"30",height:"35",fill:"white",transform:"translate(0 0.496582)"})})})]}))},w=r(39036),Z=/bot|crawl|http|lighthouse|scan|search|spider/i,isNonEmptyString=e=>"string"==typeof e&&""!==e,isbot=function(e){return isNonEmptyString(e)&&(function(){if(i instanceof RegExp)return i;try{i=RegExp(" daum[ /]| deusu/|(?:^|[^g])news(?!sapphire)|(?<! channel/|google/)google(?!(?:wv|app|/google| pixel))|(?<! cu)bots?(?:\\b|_)|(?<!cam)scan|(?<!lib)http|24x7|;\\s\\w+;$|@[a-z][\\w-]+\\.|\\(\\)|\\.com\\b|\\b\\w+\\.ai|\\bbw/|\\bdlc\\b|\\bort/|\\bperl\\b|\\btime/|\\||^[<\\(;]|^[\\w \\.\\-\\(?:\\):%]+(?:/v?\\d+(?:\\.\\d+)?(?:\\.\\d{1,10})*?)?(?:,|$)|^[\\w\\-]+/[\\w]+$|^[^ ]{50,}$|^\\d+\\b|^\\w*search\\b|^\\w+/[\\w\\(\\)]*$|^\\w+/\\d\\.\\d\\s\\([\\w@]+\\)$|^active|^ad muncher|^amaya|^apache/|^avsdevicesdk/|^azure|^biglotron|^blackbox exporter|^bot|^clamav[ /]|^claude-code/|^client/|^cobweb/|^custom|^ddg[_-]android|^discourse|^dispatch/\\d|^downcast/|^duckduckgo|^email|^exodusmovement|^facebook|^getright/|^gozilla/|^hobbit|^hotzonu|^hwcdn/|^igetter/|^jeode/|^jetty/|^jigsaw|^microsoft bits|^movabletype|^mozilla/\\d\\.\\d\\s[\\w\\.-]+$|^mozilla/\\d\\.\\d\\s\\((?:compatible;)?(?:\\s?[\\w\\d-.]+\\/\\d+\\.\\d+)?\\)$|^navermailapp|^netsurf|^offline|^openai/|^owler|^php|^postman|^ps_daily/|^python|^rank|^read|^reed|^remove\\.bg/|^rest|^rss|^snapchat|^sora |^space bison|^stape/|^svn|^swcd |^taringa|^thumbor/|^track|^w3c|^webbandit/|^webcopier|^wget|^whatsapp|^wordpress|^xenu link sleuth|^yahoo|^yandex|^zdm/\\d|^zoom marketplace/|abuse|advisor|agent\\b|analyzer|archive|ask jeeves/teoma|attracta|audit|bluecoat drtr|browsex|burpcollaborator|capture|catch|check\\b|checker|chrome-lighthouse|chromeframe|classifier|cloudflare|collapsify\\b|convertify|cookiehubverify/|crawl|cursor/|cypress/|dareboost|datanyze|dejaclick|detect|discovery|dmbrowser|download|exaleadcloudview|feed|fetcher|firephp|foregenix|functionize|grab|hardenize\\b|headless|hotjar|httrack|hubspot marketing grader|ibisbrowser|infrawatch|insight|inspect|iplabel|java(?!;)|library|linkcheck|linktiger|mail\\.ru/|manager|manus-user/|marketgoo/|measure|monitor\\b|neustar wpm|node\\b|nutch|offbyone|openvas|optimize|pageburst|pagespeed|parser|phantomjs|pingdom|playwright|powermarks|preview|productfinder|prospectingstudio|proxy|ptst[ /]\\d|radar|readable/|retriever|rexx;|rigor|rss\\b|scrape|securityheaders|selenium|server|silktide|sindup/|sogou|sparkler/|speedcurve|spider|splash|statuscake|supercleaner|synapse|synthetic|testlocally|tools|torrent|transcoder|upday/|url|validator|virtuoso|wappalyzer|watchtowr|webglance|webkit2png|whatcms/|xtate/","i")}catch(e){i=Z}return i})().test(e)},k=r(6642),x=r.n(k),C=r(6861),S=r(44194),N=r(11461),O=r(19180),_=r(90811),E=r(35053),j=r(56313),I=r(44705),P=r(63982),B=r(21526),T=r(27719),A=r(30179),D=r(76880),R=r.n(D),z=r(89859),X=r(7614),H=r(31549),K=(0,X.Z)((0,H.jsx)("path",{d:"M1 21h4V9H1zm22-11c0-1.1-.9-2-2-2h-6.31l.95-4.57.03-.32c0-.41-.17-.79-.44-1.06L14.17 1 7.59 7.59C7.22 7.95 7 8.45 7 9v10c0 1.1.9 2 2 2h9c.83 0 1.54-.5 1.84-1.22l3.02-7.05c.09-.23.14-.47.14-.73z"}),"ThumbUp"),L=(0,X.Z)((0,H.jsx)("path",{d:"M15 3H6c-.83 0-1.54.5-1.84 1.22l-3.02 7.05c-.09.23-.14.47-.14.73v2c0 1.1.9 2 2 2h6.31l
1-.95 4.57-.03.32c0 .41.17.79.44 1.06L9.83 23l6.59-6.59c.36-.36.58-.86.58-1.41V5c0-1.1-.9-2-2-2m4 0v12h4V3z"}),"ThumbDown"),M=r(49735),U=r(67546),F=r(50155),useAiSearch=function(e){var t=e.text,r=e.turnstileToken,n=e.turnstileIdempotencyKey,i=e.isTurnstileEnabled,a=(0,(0,U.Ek)().webBffAPI)("/ai-search-product").method("get").create(),l="undefined"!=typeof navigator&&isbot(navigator.userAgent),c=!i||!!r;return(0,F.u)(t&&!l&&c?["/ai-search-product",t,r,n]:null,(0,A.Z)(R().mark(function _callee(){var e,i;return R().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return e={},r&&(e[v.En]=r),n&&(e[v.te]=n),l.next=5,a({textSearch:t},{headers:e});case 5:return i=l.sent,l.abrupt("return",i.data);case 7:case"end":return l.stop()}},_callee)})),{revalidateOnFocus:!1})},useAiSearchFeedback=function(){var e,t=(0,(0,U.Ek)().searchAPI)("/ai-search/survey").method("post").create();return{submitFeedback:(0,S.useCallback)((e=(0,A.Z)(R().mark(function _callee2(e,r){return R().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,t({feedback:e,searchId:r});case 2:return n.abrupt("return",n.sent);case 3:case"end":return n.stop()}},_callee2)})),function(t,r){return e.apply(this,arguments)}),[t])}},FeedbackButton=function(e){var t=e.icon,r=e.label,n=e.isActive,i=void 0!==n&&n,a=e.onClick,l=e.disabled;return(0,y.BX)(M.Z,{onClick:a,disabled:void 0!==l&&l,className:"flex items-center gap-2 px-3 py-1 rounded-md transition-colors ".concat(i?"text-ci-primary":"text-gray-500 hover:text-gray-700"),children:[t,(0,y.tZ)(w.Z,{variant:"body2",className:i?"text-ci-primary":"text-gray-700",children:r})]})},getSearchIdfromDataKey=function(){var e;return null===(e=document.querySelector("[data-search]"))||void 0===e?void 0:e.getAttribute("data-search")},FeedbackSection=function(){var e,t,r=(0,N.$G)().t,n=useAiSearchFeedback().submitFeedback,i=(0,j.lr)().state,a=(null===(t=document.querySelector("[data-search]"))||void 0===t?void 0:t.getAttribute("data-submitted"))||"FEEDBACK_UNSPECIFIED",l="FEEDBACK_UNSPECIFIED"!==a,c=(0,S.useState)(a),o=c[0],s=c[1],u=(0,S.useState)(l),d=u[0],p=u[1],h=(0,z.k)().track,f=(e=(0,A.Z)(R().mark(function _callee(e){var t,r,a,l,c;return R().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:if(r=getSearchIdfromDataKey()){o.next=3;break}return o.abrupt("return");case 3:return o.next=5,n(e,r);case 5:if(o.sent){o.next=8;break}return o.abrupt("return");case 8:a="FEEDBACK_LIKE"===e?"like":"dislike",l=i.keyword||"",c=(0,m._t)(a,l),h(m.aM.AI_SEARCH_FEEDBACK,c,!1),null===(t=document.querySelector("[data-search]"))||void 0===t||t.setAttribute("data-submitted",e),s(e),p(!0);case 15:case"end":return o.stop()}},_callee)})),function(t){return e.apply(this,arguments)});return(0,y.tZ)("section",{className:"mt-2",children:(0,y.BX)("div",{className:"flex flex-col tablet:flex-row items-center gap-4 min-h-8",children:[(0,y.tZ)(w.Z,{className:"text-gray-700 text-sm font-bold",children:r("search.ai-result.result-feedback")}),(0,y.BX)("div",{className:"flex items-center",children:[(0,y.tZ)(FeedbackButton,{icon:(0,y.tZ)(K,{fontSize:"small"}),label:r("search.ai-result.like"),isActive:"FEEDBACK_LIKE"===o,onClick:function(){return f("FEEDBACK_LIKE")},disabled:d}),(0,y.tZ)(FeedbackButton,{icon:(0,y.tZ)(L,{fontSize:"small"}),label:r("search.ai-result.dislike"),isActive:"FEEDBACK_DISLIKE"===o,onClick:function(){return f("FEEDBACK_DISLIKE")},disabled:d})]})]})})},CollapsibleWrapper=function(e){var t=e.children;return(0,y.tZ)("div",{className:"flex justify-center w-full absolute bottom-0 items-end pb-2 z-20",css:(0,B.iv)({height:"100px",background:"linear-gradient(to bottom, transparent 0px, #ffffffdd 35px, #fff 36px, #fff 100%)"}),children:t})},V={ShowButton:function(e){var t=(0,N.$G)().t;return(0,y.tZ)(CollapsibleWrapper,{children:(0,y.tZ)(T.Z,{onClick:e.onClick,variant:"outlined",color:"primary",className:"px-8 tablet:max-w-80",fullWidth:!0,endIcon:(0,y.tZ)(I.Z,{}),children:t("common.expand")})})},HideButton:function(e){var t=(0,N.$G)().t;return(0,y.BX)(y.HY,{children:[(0,y.tZ)("div",{className:"flex justify-center w-full absolute bottom-20 tablet:bottom-12 desktop:bottom-8 items-end pb-2 z-20",css:(0,B.iv)({height:"10px",background:"transparent"}),children:(0,y.tZ)(T.Z,{onClick:e.onClick,variant:"outlined",color:"primary",fullWidth:!0,className:"px-8 tablet:max-w-80",endIcon:(0,y.tZ)(P.Z,{}),children:t("common.collapse")})}),(0,y.tZ)("div",{className:"col-span-full mt-24 tablet:mt-22 desktop:mt-20",children:(0,y.tZ)(FeedbackSection,{})})]})}},W=r(80572),AISearchSkeleton=function(){var e=(0,p.bj)();return(0,y.tZ)("div",{className:"grid grid-cols-2 tablet:grid-cols-4 desktop:grid-cols-5 ga
1p-4",children:Array.from({length:(0,h.K)(e,2,4,5)}).map(function(e,t){return(0,y.BX)("div",{className:"flex flex-col gap-2",children:[(0,y.tZ)(W.Z,{variant:"rounded",className:"w-full h-52 rounded-lg"}),(0,y.tZ)(W.Z,{variant:"text",width:170,height:24}),(0,y.BX)("div",{className:"flex flex-col mt-4",children:[(0,y.tZ)(W.Z,{variant:"text",width:70,height:24}),(0,y.tZ)(W.Z,{variant:"text",width:100,height:32})]})]},t)})})},$=r(51182),G=r(7862),Y=r.n(G);let UilApps=({color:e="currentColor",size:t=24,...r})=>S.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 24 24",fill:e,...r},S.createElement("path",{d:"M10,13H3a1,1,0,0,0-1,1v7a1,1,0,0,0,1,1h7a1,1,0,0,0,1-1V14A1,1,0,0,0,10,13ZM9,20H4V15H9ZM21,2H14a1,1,0,0,0-1,1v7a1,1,0,0,0,1,1h7a1,1,0,0,0,1-1V3A1,1,0,0,0,21,2ZM20,9H15V4h5Zm1,4H14a1,1,0,0,0-1,1v7a1,1,0,0,0,1,1h7a1,1,0,0,0,1-1V14A1,1,0,0,0,21,13Zm-1,7H15V15h5ZM10,2H3A1,1,0,0,0,2,3v7a1,1,0,0,0,1,1h7a1,1,0,0,0,1-1V3A1,1,0,0,0,10,2ZM9,9H4V4H9Z"}));UilApps.propTypes={color:Y().string,size:Y().oneOfType([Y().string,Y().number])};var q=r(60237),J=r(51865),Q=r.n(J);(n=a||(a={})).List="list",n.Grid="grid";var ViewModeSelectionPanel=function(e){var t=e.viewMode,r=e.setViewMode;return(0,y.tZ)("div",{className:"py-2 px-3 border border-solid border-ci-lighter-gray rounded-md",children:(0,y.BX)("div",{className:"grid grid-cols-2 gap-2",children:[(0,y.tZ)(q.Z,{className:Q()("rounded-sm p-1",{"bg-ci-lighter-gray":t===a.List}),onClick:function(){return r(a.List)},children:(0,y.tZ)($.Z,{className:"size-6"})}),(0,y.tZ)(q.Z,{className:Q()("rounded-sm p-1",{"bg-ci-lighter-gray":t===a.Grid}),onClick:function(){return r(a.Grid)},children:(0,y.tZ)(UilApps,{className:"size-6"})})]})})},AiSearchProductSection=function(e){var t=e.viewMode,r=e.products,n=e.keyword,i=(0,p.bj)(),l=r.map(E.YY),c=(0,m.P_)(m.es.AI_SEARCH),o=(0,s.e3)({itemListId:c,itemListName:n}).onTrack;return(0,y.BX)("section",{className:t===a.List?"grid grid-cols-1 tablet:grid-cols-2 desktop:grid-cols-3 gap-4":"grid grid-cols-2 tablet:grid-cols-4 desktop:grid-cols-5 gap-4",children:[(0,y.tZ)(x(),{children:(0,y.tZ)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify((0,b.SA)(r||[])).replace(/</g,"\\u003c")}})}),null==l?void 0:l.map(function(e,r){return(0,y.tZ)(O.U,{onTrack:function(t){return o(e,t)},children:(0,y.tZ)(E.ff,{product:e,analyticParameter:{item_list_id:c,item_list_name:n},index:r,size:(0,h.K)(i,"small","medium","medium"),className:t===a.List?"min-h-14 desktop:min-h-28 p-4 border-b border-x-0 border-t-0 border-solid border-ci-lighter-gray":"w-full border-solid border border-ci-lighter-gray rounded-lg",listView:t===a.List},e.id)},"".concat(c,"-").concat(n,"-").concat(e.id))})]})},AISearchResult=function(){var e,t=(0,S.useState)(a.Grid),r=t[0],n=t[1],i=(0,S.useRef)(null),l=(0,j.lr)().state,c=(0,N.$G)().t,s=(0,S.useState)(!1),d=s[0],m=s[1],b=(0,p.bj)(),g=(0,u.D)({action:v.SL.AI_SEARCH_PRODUCT,appearance:"interaction-only",execution:"render"}),Z=g.token,k=g.idempotencyKey,x=g.containerRef,C=g.isEnabled,O=g.isInteractive,E=g.error,I=useAiSearch({text:l.keyword,turnstileToken:Z,turnstileIdempotencyKey:k,isTurnstileEnabled:C}),P=I.data,B=I.isLoading,T=I.error,A=(0,f.V)(P),D=P||A,R=(0,S.useMemo)(function(){return{list:(0,h.K)(b,370,370,470),grid:(0,h.K)(b,320,320,430)}},[b]);if((0,S.useEffect)(function(){if(i.current){var e=new ResizeObserver(function(){var e;m(((null===(e=i.current)||void 0===e?void 0:e.clientHeight)||0)<R[r])});return e.observe(i.current),function(){return e.disconnect()}}},[r,R]),!l.keyword)return null;if(C&&E)return(0,y.tZ)("div",{className:"mt-4 mb-8",children:(0,y.tZ)(w.Z,{color:"error",children:c("turnstile.verify-failed")})});if(!B&&((null==D?void 0:null===(e=D.products)||void 0===e?void 0:e.length)===0||T))return null;var z=(B||C&&!Z&&!E)&&!D;return(0,y.BX)("div",{"data-search":null==D?void 0:D.searchId,className:"flex flex-col gap-y-4 mt-4 mb-8",children:[(0,y.tZ)(o.O,{containerRef:x,isInteractive:O}),(0,y.BX)("section",{className:"flex items-center justify-between",children:[(0,y.BX)("div",{className:"flex items-center gap-x-2",children:[(0,y.tZ)(A
1iSearchIcon,{}),(0,y.tZ)(w.Z,{className:"font-bold text-base",children:c("search.ai-result.title")})]}),(0,y.tZ)(ViewModeSelectionPanel,{viewMode:r,setViewMode:n})]}),z?(0,y.tZ)(AISearchSkeleton,{}):(0,y.BX)(y.HY,{children:[(0,y.tZ)(_.z,{collapsedSize:R[r],customButtons:{showButton:V.ShowButton,hideButton:V.HideButton},children:(0,y.tZ)("div",{ref:i,children:(0,y.tZ)(AiSearchProductSection,{viewMode:r,products:(null==D?void 0:D.products)||[],keyword:l.keyword||""})})},"".concat(JSON.stringify(b)).concat(r)),d&&(0,y.tZ)(FeedbackSection,{})]})]},null==D?void 0:D.searchId)},AISearchResultSection=function(){var e,t=(0,d.W)(),r=null!==(e=(0,C.useSearchParams)().get(g.By.FromSearchHint))&&void 0!==e?e:"false",n="undefined"!=typeof navigator&&isbot(navigator.userAgent);return!t.aiSearch.aiSearch||"true"===r||n?null:(0,y.tZ)(AISearchResult,{})},ee=r(91056),et=r(65630),er=r(98025),en=r(27308),ei=r(12086),ea=r(27976),el=r(24963),ec=r(23947),eo=r.n(ec),useTrackViewSearchResults=function(e){var t=(0,z.k)().track,r=(0,ea.h5)(e).data,n=(0,S.useRef)();(0,S.useEffect)(function(){var i;e&&(null==r?void 0:r.keyword)===e&&n.current!==e&&(n.current=e,t(m.aM.VIEW_SEARCH_RESULTS,{search_term:e,has_shop_result:(null!==(i=r.response.data.items)&&void 0!==i?i:[]).length>0}))},[e,r,t])},RelatedShops=function(e){var t,r,n=(0,N.$G)().t,i=(0,z.k)().track,a=(0,ea.h5)(e.keyword),l=a.data,c=a.isLoading,o=null==l?void 0:null===(t=l.response.data.items)||void 0===t?void 0:t[0],s=null!==(r=null==l?void 0:l.response.data.count)&&void 0!==r?r:0,u=null==l?void 0:l.keyword;return o&&(u===e.keyword||c)?(0,y.BX)("div",{className:"w-full flex flex-col gap-y-6 mb-12",children:[(0,y.BX)("div",{className:"flex flex-row items-baseline justify-between gap-x-4",children:[(0,y.tZ)(w.Z,{variant:"h4",component:"h2",children:(0,y.tZ)(N.cC,{i18nKey:"search.related-shops.title",values:{keyword:u},components:[(0,y.tZ)("span",{className:"text-ci-primary"},0)]})}),s>1&&(0,y.BX)(eo(),{href:(0,g.OK)({keyword:u}),className:"shrink-0 whitespace-nowrap flex items-center no-underline text-ci-primary",onClick:function(){return i(m.aM.CLICK_SEE_MORE_SHOPS,{search_term:e.keyword})},children:[n("search.related-shops.see-more"),(0,y.tZ)(el.Z,{className:"w-5"})]})]}),(0,y.tZ)(ei.A,{shop:o,onSelectShop:function(t){(0,m.gS)(i,{keyword:e.keyword,target:m.L4.card,shop:t})}})]}):null},es=r(9710),eu=r(47886),ed=r(85852),ep=r(8241),eh=r(56602);function search_ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function search_objectSpread(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?search_ownKeys(Object(r),!0).forEach(function(t){(0,l.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):search_ownKeys(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var SearchPage=function(){var e=(0,j.CY)(g.gx);return(0,y.tZ)(j.bo.Provider,{value:e,children:(0,y.tZ)(SearchComponent,{className:"mt-0 desktop:mt-12 pb-12"})})},SearchComponent=function(e){var t,r,n=(0,N.$G)().t,i=(0,p.bj)(),a=i.isMobile?10:16,o=(0,j.lr)().state,s=(0,S.useRef)(null),u=(0,ed.R)(s),h=(0,d.W)().product,f=(0,ea.f7)({params:o,loadMoreOnScreen:u,productsPerPage:a});useTrackViewSearchResults(o.keyword);var v=f.error,b=f.isLoading;(0,eu.L)(v);var Z=null!==(t=null===(r=f.data)||void 0===r?void 0:r.products)&&void 0!==t?t:[],k=(0,er.E)(f.data,h.novel),x=o.categoryId&&o.categoryId!==ep.Pm,C=(0,es.e)(o.categoryId),O=C.data,_=C.isLoading,E=[],I={item_list_id:(0,m.P_)(m.es.SEARCH),item_list_name:o.keyword};return _||(E.push({id:"home-page",name:n("search.home"),slug:"/"}),E.push.apply(E,(0,c.Z)(((null==O?void 0:O.data)||[]).map(function(e){var t;return search_objectSpread(search_objectSpread({},e),{},{slug:e.slug?(0,g.cw)({slug:e.slug,id:e.id||"",query:(t={},(0,l.Z)(t,g.By.Skip,0),(0,l.Z)(t,g.By.ProductTypes,o.productTypes),t)}):"/"})})))),(0,y.BX)(y.HY,{children:[x&&(0,y.BX)(eh.Z,{className:"w-full flex flex-col gap-x-4 h-fit",children:[(0,y.tZ)(en.N,{categoryID:o.categoryId||""}),(0,y.tZ)("ul",{className:"flex flex-wrap gap-x-2 list-none p-0 mb-2 mt-4",children:E.map(function(e,t){return(null==E?void 0:E.length)-1===t?(0,y.tZ)("li",{children:(0,y.tZ)(eo(),{href:e.slug,children:e.name})},t):(0,y.BX)("li",{className:"flex gap-x-2 text-ci-gray",children:[(0,y.tZ)(eo(),{href:e.slug,children:e.name}),">"]},(e.name||"")+t)})}),E.length>1&&(0,y.tZ)("div",{className:"w-full flex items-center justify-between",children:(0,y.tZ)("h1",{className:"my-0",children:E[(null==E?void 0:E.length)-1].name})})]}),(0,y.tZ)(eh.Z,{children:(0,y.tZ)(AISearchResultSection,{})}),(0,y.tZ)(eh.Z,{className:Q()("w-full flex flex-col",Z.length>0&&"min-h-screen",e.className),children:i.isDesktop?(0,y.tZ)(y.HY,{children:(0,y.BX)("div",{className:"flex w-full gap-6",children:[Z.length>0&&(0,y.tZ)(ee.C,{className:Q()("shrink-0 h-fit"),filter:k}),(0,y.BX)("div",{className:"grow relative",children:[(0,y.tZ)(RelatedShops,{keyword:o.keyword}),(0,y.BX)("div",{className:"w-full flex justify-between items-center gap-2",children:[(0,y.tZ)("div",{className:"flex items-baseline gap-1",children:o.keyword&&(0,y.tZ)(w.Z,{variant:"h4",color:"primary.black",component:"h1",children:(0,y.tZ)(N.cC,{i18nKey:"search.related-products-title",values:{keyword:o.keyword},components:[(0,y.tZ)("span",{className:"text-ci-primary"},0)]})})}),Z.length>0||b?(0,y.tZ)("div",{className:"shrink-0",children:(0,y.tZ)(j.Bp,{})}):null]}),(0,y.tZ)("div",{className:"relative mt-6",children:(0,y.tZ)(et.d,{products:Z,isLoading:b,analyticParameter:I})}),(0,y.tZ)("div",{ref:s})]})]})}):(0,y.BX)("div",{className:"w-full",children:[(0,y.tZ)(RelatedShops,{keyword:o.keyword}),(0,y.BX)("div",{className:"w-full flex justify-between items-center gap-2",children:[(0,y.tZ)("div",{className:"flex items-baseline gap-1 min-w-0",children:o.keyword&&(0,y.tZ)(w.Z,{variant:"h4",color:"primary.black",component:"h1",children:(0,y.tZ)(N.cC,{i18nKey:"search.related-products-title",values:{keyword:o.keyword},components:[(0,y.tZ)("span",{className:"text-ci-primary"},0)]})})}),Z.length>0||b?(0,y.tZ)("div",{className:"shrink-0",children:(0,y.tZ)(j.Bp,{})}):null]}),Z.length>0||b?(0,y.tZ)("div",{className:"w-full flex mt-4",children:(0,y.tZ)(ee.C,{filter:k})}):null,(0,y.tZ)("div",{className:"relative mt-6",children:(0,y.tZ)(et.d,{products:Z,isLoading:b,analyticParameter:I})}),(0,y.tZ)("div",{ref:s})]})})]})}},12086:function(e,t,r){r.d(t,{A:function(){return ShopResultCard}});
1var n=r(22379),i=r(22585),a=r(79853),l=r(1639),c=r(50374),o=r(2e3),s=r(37403),u=r(67753),d=r(78011),p=r(27719),h=r(39036),f=r(65440),m=r(51865),v=r.n(m),b=r(23947),g=r.n(b),y=r(11461),w=r(62940),Z={compact:44,tablet:80,desktop:100},ShopResultCard=function(e){var t,r,m,b,k,x,C,S,N,O,_,E=(0,y.$G)().t,j=(0,d.Z)(),I=(0,o.bj)(),P=e.shop,B=I.isMobile,T=(0,s.Xf)(null!==(t=P.id)&&void 0!==t?t:"",{}),A=(null!==(r=null===(m=P.contacts)||void 0===m?void 0:m.length)&&void 0!==r?r:0)>0,D=B?Z.compact:I.isTablet?Z.tablet:Z.desktop,R=(0,w.tZ)(i.b,{shop:{shopLevel:P.shopLevel,verificationStatus:P.verificationStatus}}),z=(0,w.tZ)(p.Z,{component:g(),href:T,onClick:function(){return e.onSelectShop(P)},variant:"contained",size:"small",className:v()(!B&&"w-full min-w-[150px]"),startIcon:(0,w.tZ)(u.Z,{className:"w-4"}),children:E("shop-item.to-shop")});return B?(0,w.BX)("div",{className:"flex items-center gap-x-3 py-2",children:[(0,w.BX)(g(),{href:T,onClick:function(){return e.onSelectShop(P)},className:"flex items-center gap-x-3 flex-1 min-w-0 no-underline text-inherit",children:[(0,w.tZ)(n.z,{src:P.logoUrl,name:P.name,size:D}),(0,w.BX)("div",{className:"flex flex-col min-w-0",children:[(0,w.BX)("span",{className:"flex items-center gap-x-2 min-w-0",children:[(0,w.tZ)(h.Z,{variant:"body14",fontWeight:700,className:"truncate",children:P.name}),R]}),(0,w.BX)(h.Z,{variant:"caption",color:"primary.gray",children:[E("number-abbr",{value:null!==(_=P.numberOfProducts)&&void 0!==_?_:0})," ",E("shop-information-page.product-list")]})]})]}),(0,w.tZ)("div",{className:"shrink-0",children:z})]}):(0,w.BX)("div",{className:"flex items-center gap-x-4 py-[23px] px-6 border border-solid border-ci-gray rounded-xl",children:[(0,w.BX)(g(),{href:T,onClick:function(){return e.onSelectShop(P)},className:"flex items-center gap-x-3 flex-1 min-w-0 no-underline text-inherit",children:[(0,w.tZ)(n.z,{src:P.logoUrl,name:P.name,size:D,badge:R}),(0,w.BX)("div",{className:"flex flex-col min-w-0 gap-y-1",children:[(0,w.tZ)(h.Z,{variant:"h5",component:"p",className:"truncate",children:P.name}),(0,w.BX)("span",{className:"flex items-center gap-x-2",children:[(0,w.tZ)(c.i,{value:null!==(b=P.rating)&&void 0!==b?b:0,precision:.1,readOnly:!0,size:"small"}),(0,w.BX)(h.Z,{variant:"caption",color:"primary.gray",children:["(",E("physical-page.number-of-review",{amount:null!==(k=P.reviewCount)&&void 0!==k?k:0}),")"]})]})]})]}),(0,w.BX)("div",{className:"flex items-center shrink-0",children:[(0,w.tZ)(l.k,{title:E("shop-information-page.product-list"),amount:E("number-abbr",{value:null!==(x=P.numberOfProducts)&&void 0!==x?x:0})}),(0,w.tZ)(f.Z,{className:"mx-6",orientation:"vertical",flexItem:!0,style:{height:"unset",borderColor:j.palette.primary.lighterGray}}),(0,w.tZ)(l.k,{title:E("shop-information-page.number-of-sold"),amount:E("number-abbr",{value:Number(null!==(C=P.soldCount)&&void 0!==C?C:0)})})]}),(0,w.BX)("div",{className:"flex flex-col gap-y-2 shrink-0 ml-6",children:[z,A&&(0,w.tZ)(a.o,{shopId:null!==(S=P.id)&&void 0!==S?S:"",shopName:null!==(N=P.name)&&void 0!==N?N:"",links:null!==(O=P.contacts)&&void 0!==O?O:[],variant:"outlined",fullWidth:!0})]})]})}},79853:function(e,t,r){r.d(t,{o:function(){return ShopContactPopOver}});var n=r(33461),i=r(89859),a=r(2e3),l=r(26479),c=r(27719),o=r(39036),s=r(88794),u=r(1878),d=r.n(u),p=r(44194),h=r(11461),f=r(62940),ChannelIcon=function(e){return(0,f.tZ)("div",{className:"border-b border-solid border-0 border-ci-lighter-gray py-4",children:(0,f.BX)(c.Z,{variant:"text",color:"inherit",style:{minHeight:32},onClick:function(){e.onClick(),window.open(e.link,"_blank")},className:"py-0 flex flex-row text-left justify-start gap-x-3 px-0 w-full",children:[(0,f.tZ)(d(),{src:e.imageSrc,alt:e.alt,width:32,height:32}),(0,f.tZ)(o.Z,{children:e.text})]})})},ShopContactPopOver=function(e){var t,r,u,d=(0,p.useState)(null),m=d[0],v=d[1],b=(0,h.$G)().t,g=(0,a.bj)(),y=(0,i.k)().track,publishToAnalytic=function(t,r){y(t,{shop_id:e.shopId,shop_name:e.shopName,contact_type:r.contact_type},!0)},w=e.links.find(function(e){return"SHOP_CONTACT_TYPE_LINE"===e.type}),Z=e.links.find(function(e){return"SHOP_CONTACT_TYPE_FACEBOOK"===e.type});return(0,f.BX)(f.HY,{children:[(0,f.tZ)(c.Z,{variant:null!==(t=e.variant)&&void 0!==t?t:"contained",size:e.fullWidth?"small":void 0,className:e.fullWidth?"w-full min-w-[150px]":void 0,onClick:function(t){v(t.currentTarget),y(l.aM.CONTACT_SHOP_INTENT,{shop_id:e.shopId,shop_name:e.shopName},!0)},style:e.fullWidth?void 0:g.isMobile?{fontWeight:400,maxWidth:88,maxHeight:32,paddingTop:6,paddingBottom:6,fontSize:14,paddingLeft:26,paddingRight:26}:g.isTablet?{minWidth:130,padding:0,height:32}:{minWidth:130,padding:0},children:b("shop-information-page.contact-us")}),(0,f.BX)(s.ZP,{open:!!m,anchorEl:m,onClose:function(){v(null)},anchorOrigin:{vertical:"bottom",horizontal:"left"},slotProps:{paper:{style:{padding:24,borderRadius:16,width:271}}},children:[(0,f.tZ)(o.Z,{variant:"body",fontWeight:700,children:b("shop-information-page.contact-us-description")}),w&&(0,f.tZ)(ChannelIcon,{link:null!==(r=w.url)&&void 0!==r?r:"",imageSrc:"/images/social-login/line.svg",alt:"Line",text:"Line Official",onClick:function(){return publishToAnalytic(l.aM.CONTACT_SHOP_INTENT,{shop_id:e.shopId,shop_name:e.shopName,contact_type:l.XX.LINE})}},w.url),Z&&(0,f.tZ)(ChannelIcon,{link:null!==(u=Z.url)&&void 0!==u?u:"",imageSrc:"/images/social-share/facebook.svg",alt:"Facebook",text:"Facebook",onClick:function(){return publishToAnalytic(l.aM.CONTACT_SHOP_INTENT,{shop_id:e.shopId,shop_name:e.shopName,contact_type:l.XX.FACEBOOK})}},Z.url),n.m.vendorShopContactUrl&&(0,f.tZ)(ChannelIcon,{link:n.m.vendorShopContactUrl,onClick:function(){publishToAnalytic(l.aM.CONTACT_SHOP_INTENT,{shop_id:e.shopId,shop_name:e.shopName,contact_type:l.XX.OTHER})},imageSrc:"/images/reeeed-icon.svg",alt:"Reeeed",text:"Reeeed"}),!w&&!Z&&!n.m.vendorShopContactUrl&&(0,f.tZ)("div",{className:" py-4",children:(0,f.tZ)(o.Z,{children:b("shop-information-page.not-specified")})})]})]})}},1639:function(e,t,r){r.d(t,{C:function(){return TabletStat},k:function(){return Stat}});var n,i,a=r(49601),l=r(78011),c=r(21526),o=r(39036),s=r(51865),u=r.n(s),d=r(62940),TabletStat=function(e){var t=e.amount,r=e.title,i=e.className,s=(0,l.Z)();return(0,d.BX)("div",{className:u()("flex justify-between px-8 py-2",i),css:(0,c.iv)(n||(n=(0,a.Z)(["\n border-color: ",";\n "])),s.palette.primary.lighterGray),children:[(0,d.tZ)(o.Z,{variant:"caption",children:r}),(0,d.tZ)(o.Z,{className:"font-bold",variant:"body",children:t})]})},Stat=function(e){var t=e.title,r=e.amount,n=e.className,s=(0,l.Z)();return(0,d.BX)("div",{className:u()("justify-center flex flex-col items-center",n),css:(0,c.iv)(i||(i=(0,a.Z)(["\n border-color: ",";\n "])),s.palette.primary.lighterGray),children:[(0,d.tZ)(o.Z,{variant:"caption",children:t}),(0,d.tZ)(o.Z,{className:"font-bold",variant:"body",children:r})]})}},50374:function(e,t,r){r.d(t,{i:function(){return Rating}});var n=r(84302),i=r(93818),a=r(21526),l=r(62940);function ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?ownKeys(Object(r),!0).forEach(function(t){(0,n.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ownKeys(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var Rating=function(e){return(0,l.tZ)(i.Z,_objectSpread(_objectSpread({css:(0,a.iv)({".MuiRating-icon":{transform:"scale(1) !important"}})},e),{},{emptyIcon:(0,l.tZ)("div",{className:"flex justify-center items-center",style:{width:"1em",height:"1em"},children:(0,l.tZ)("img",{src:"/images/star.svg",style:{width:"0.95em",height:"0.95em"}})})}))}},61910:function(e,t,r){r.d(t,{D:function(){return useTurnstile}});var n=r(33461),i=r(44194),rejectPendingExecute=function(e,t,r){t.current&&t.current(Error(r)),e.current=null,t.current=null},useTurnstile=function(e){var t=e.action,r=e.size,a=e.theme,l=void 0===a?"light":a,c=e.appearance,o=e.execution,s=e.autoRefresh,u=void 0===s||s,d=e.refreshInterval,p=void 0===d?24e4:d,h=(0,i.useRef)(null),f=(0,i.useRef)(null),m=(0,i.useRef)(null),v=(0,i.useRef)(null),b=(0,i.useRef)(null),g=(0,i.useState)(null),y=g[0],w=g[1],Z=(0,i.useState)(null),k=Z[0],x=Z[1],C=(0,i.useState)(!1),S=C[0],N=C[1],O=(0,i.useState)(null),_=O[0],E=O[1],j=(0,i.useState)(!1),I=j[0],P=j[1],B=n.m.cfTurnstileSiteKey,T=n.m.cfTurnstileEnabled&&!!B;(0,i.useEffect)(function(){T||(N(!0),E(null),w(null),x(null))},[T]);var A=(0,i.useCallback)(function(e){var t,r=null!==(t=b.current)&&void 0!==t?t:crypto.randomUUID();b.current=null,w(e),x(r),P(!1),E(null),m.current&&(m.current({token:e,idempotencyKey:r}),m.current=null,v.current=null)},[]),D=(0,i.useCallback)(function(e){b.current=null,E(e),P(!1),w(null),x(null),v.current&&(v.current(e),m.current=null,v.current=null)},[]),R=(0,i.useCallback)(function(){b.current=null,w(null),x(null),P(!1),rejectPendingExecute(m,v,"Turnstile token expired"),f.current&&window.turnstile&&window.turnstile.reset(f.current)},[]),z=(0,i.useCallback)(function(){T&&f.current&&window.turnstile&&(rejectPendingExecute(m,v,"Turnstile reset"),b.current=null,window.turnstile.reset(f.current),w(null),x(null),E(null))},[T]),X=(0,i.useCallback)(function(){if(!T||!f.current||!(null!==(e=window.turnstile)&&void 0!==e&&e.execute))return Promise.reject(Error("Turnstile not ready"));rejectPendingExecute(m,v,"Superseded by new execute call");var e,t=crypto.randomUUID();return new Promise(function(e,r){m.current=e,v.current=r,b.current=t,window.turnstile.execute(f.current)})},[T]);return(0,i.useEffect)(function(){if(T&&u&&y){var e=setTimeout(z,p);return function(){return clearTimeout(e)}}},[u,T,p,z,y]),(0,i.useEffect)(function(){if(T){var e=setInterval(function(){window.turnstile&&h.current&&(clearInterval(e),clearTimeout(t),N(!0))},100),t=setTimeout(function(){clearInterval(e),N(!1),D(Error("Turnstile script load timeout"))},1e4);return function(){clearInterval(e),clearTimeout(t)}}},[T,D]),(0,i.useEffect)(function(){if(T&&S&&h.current&&!f.current&&B){try{f.current=window.turnstile.render(h.current,{sitekey:B,size:r,action:t,theme:l,appearance:c,execution:o,callback:A,"error-callback":D,"expired-callback":R,"before-interactive-callback":function(){return P(!0)},"after-interactive-callback":function(){P(!1),rejectPendingExecute(m,v,"Turnstile challenge dismissed")}})}catch(e){D(e)}return function(){f.current&&window.turnstile&&(window.turnstile.remove(f.current),f.current=null),rejectPendingExecute(m,v,"Turnstile unmounted"),b.current=null}}},[T,S,B,t,r,l,c,o,A,D,R]),{token:y,idempotencyKey:k,isEnabled:T,isInteractive:I,error:_,execute:X,containerRef:h}}},85852:function(e,t,r){r.d(t,{R:function(){return useOnScreen}});var n=r(84320),i=r(44194),useOnScreen=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"0px",r=(0,i.useState)(!1),a=r[0],l=r[1];return(0,i.useEffect)(function(){var r=new IntersectionObserver(function(e){l((0,n.Z)(e,1)[0].isIntersecting)},{rootMargin:t}),i=null==e?void 0:e.current;return i&&r.observe(i),function(){i&&r.unobserve(i)}},[null==e?void 0:e.current]),a}},61300:function(e,t,r){r.d(t,{V:function(){return usePreviousSkipNil}});var n=r(44194),usePreviousSkipNil=function(e){var t=(0,n.useRef)();return(0,n.useEffect)(function(){null!=e&&(t.current=e)},[e]),t.current}},93766:function(e,t,r){r.d(t,{En:function(){return a},SL:function(){return i},te:function(){return l}});var n,i,a="Cf-Turnstile-Response",l="Cf-Turnstile-Idempotency-Key";(n=i||(i={})).AI_SEARCH_PRODUCT="ai-search-product",n.CHECKOUT="checkout",n.REVIEW_PHYSICAL_PRODUCT="review-physical-product",n.NOVEL_CHAPTER_COMMENT="review-novel-chapter"},49601:function(e,t,r){r.d(t,{Z:function(){return _taggedTemplateLiteral}});function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}}}]);
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.