1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[41606,98384],{18805:()=>{},56616:()=>{},59418:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n=r(823798),i=r(109562),o=r(314548);let l=function(e){let{index:t,isActive:r,setAnchorIndex:i,effectHeight:o=56,dataAnchor:l="",className:d=""}=e;return(0,n.jsxs)(s,{className:d,isActive:r,"data-anchor":l,children:[(0,n.jsx)(c,{isActive:r,onDragEnter:()=>i(t),onDragOver:e=>e.preventDefault(),effectHeight:o}),(0,n.jsx)(a,{isActive:r})]})},a=(0,i.Ay)(o.Hr).withConfig({componentId:"sc-74305e95-0"})(["",""],e=>e.isActive?(0,i.AH)(["border-bottom:2px solid var(--Secondary-Blue-Base);margin:12px 0;transition:margin 0.2s ease-out;"]):(0,i.AH)(["border-bottom:none;"])),s=i.Ay.div.withConfig({componentId:"sc-74305e95-1"})(["position:relative;"]),c=i.Ay.div.withConfig({componentId:"sc-74305e95-2"})(["position:absolute;height:","px;width:100%;transform:translateY(-50%);z-index:0;"],e=>{let{effectHeight:t}=e;return t})},64323:(e,t,r)=>{"use strict";r.d(t,{M3:()=>c,cy:()=>a,hw:()=>l,w3:()=>s});var n=r(109562),i=r(757743),o=r(572498);let l=n.Ay.div.withConfig({componentId:"sc-71420243-0"})(["position:relative;margin:0px auto;padding:calc(120px + 32px) 20px 0px 20px;max-width:1200px;min-height:100vh;@media ","{max-width:100%;}@media ","{padding:calc(60px + 24px) 16px 0px 16px;max-width:100%;}"," "," "," ",""],o.et.pad,o.et.mobile,e=>{let{isPreviewMode:t}=e;return t?(0,n.AH)(["padding:24px 0px 80px 0px;@media ","{padding:24px 16px 50px 16px;}"],o.et.mobile):""},i.Zp,i.pn,i.xe),a=n.Ay.div.withConfig({componentId:"sc-71420243-1"})(["margin:0px;display:grid;grid-template-columns:calc(100% - 360px - 36px) 360px;gap:36px;@media ",",","{display:block;}",""],o.et.pad,o.et.mobile,i.Zp),s=n.Ay.div.withConfig({componentId:"sc-71420243-2"})(["",""],i.xe);n.Ay.div.withConfig({componentId:"sc-71420243-3"})([""," @media ","{display:none;}"],i.xe,o.et.mobile);let c=n.Ay.div.withConfig({componentId:"sc-71420243-4"})(["display:flex;flex-direction:column;gap:32px;"," @media ",",","{gap:24px;}",""],i.xe,o.et.mobile,o.et.pad,e=>{let{isSticky:t}=e;return t?(0,n.AH)(["position:sticky;top:calc(120px + 32px);"]):""})},71514:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(621462),i=r(647167);let o=()=>
1{let e=(0,i.A)(),[t,r]=(0,n.useState)(null),[o,l]=(0,n.useState)(!1);return(0,n.useEffect)(()=>null===t?l(!1):e.y>=t?l(!0):void l(!1),[e.y,t]),[e.y,o,r]}},103405:()=>{},166192:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(823798),i=r(109562),o=r(473030),l=r(314548),a=r(64323);function s(e){let{planGroups:t=[],isDesktop:r}=e;return t?.length===0?null:(0,n.jsx)(c,{children:(0,n.jsxs)(a.hw,{p:{mobile:"40px 16px"},minHeight:"auto",children:[(0,n.jsx)(l.so,{justifyContent:"center",mb:"24px",children:(0,n.jsx)("h2",{className:"text-2xl font-bold leading-normal tracking-[1px] m-0",children:"å
¶ä»åå"})}),(0,n.jsx)(d,{gap:r?"40px":"20px",children:t.map(e=>(0,n.jsx)(o.A,{showThumbImg:!0,planGroup:e,simpleMode:!0},e._id))})]})})}let c=i.Ay.div.withConfig({componentId:"sc-cf5423d4-0"})(["background:var(--Primary-Gray-L-06);"]),d=(0,i.Ay)(l.so).withConfig({componentId:"sc-cf5423d4-1"})(["flex-wrap:wrap;justify-content:center;"])},190931:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>u,fv:()=>h});var n=r(823798),i=r(621462),o=r(109562),l=r(572498),a=r(314548),s=r(401654),c=r(402346),d=r(71514),p=r(384082);let u=function(e){let{trigger:t,popoverContent:r,popoverStyle:l,contentStyle:a,isOpen:s,setIsOpen:u=()=>{},position:h="bottom-right",isHideOnScroll:f=!0,contentPositionFixedMode:y=!1}=e,w=(0,i.useRef)(),v=(0,i.useRef)(),A=(0,i.useRef)(),[C]=(0,d.A)(),[b]=(0,p.A)();(0,c.A)(w,()=>{s&&u(!1)}),(0,i.useEffect)(()=>{f&&u(!1)},[C,f,u]);let j=(0,i.useMemo)(()=>{if(s&&w?.current&&v?.current&&A?.current)return{wrapper:w.current.getBoundingClientRect(),trigger:v.current.getBoundingClientRect(),content:A.current.getBoundingClientRect()}},[s,w,v,A,b.width,C]);return(0,n.jsx)(o.NP,{theme:{isOpen:s,rectInfo:j,contentPositionFixedMode:y},children:(0,n.jsxs)(g,{ref:w,popoverStyle:l,children:[(0,n.jsx)(x,{ref:v,onClick:e=>{e.stopPropagation(),e.preventDefault(),u(!s)},children:t}),r&&(0,n.jsx)(m,{ref:A,className:"popover-content",position:h,contentStyle:a,onClick:e=>{e.stopPropagation(),e.preventDefault(),u(!s)},children:r})]})})};function h(e){let{className:t="",iconName:r="",iconSize:i=20,iconColor:o,iconPosition:l="left",disabled:a=!1,children:c,onClickCb:d=()=>{},...p}=e;return(0,n.jsxs)(f,{alignItems:"center",minWidth:"140px",className:t,hasIcon:r,disabled:a,onClick:e=>{e.stopPropagation(),e.preventDefault(),d(e)},iconColor:o,...p,children:["left"===l&&r&&(0,n.jsx)(s.zP,{name:r,size:i}),c,"right"===l&&r&&(0,n.jsx)(s.zP,{name:r,size:i})]})}let g=o.Ay.div.withConfig({componentId:"sc-8568bb5-0"})(["position:relative;"," ",""],e=>{let{theme:t}=e;return t.isOpen?(0,o.AH)(["overflow:unset;"]):(0,o.AH)(["overflow:hidden;"])},e=>{let{popoverStyle:t}=e;return t||""}),x=o.Ay.div.withConfig({componentId:"sc-8568bb5-1"})(["position:relative;cursor:pointer;z-index:11;"]),m=o.Ay.div.withConfig({componentId:"sc-8568bb5-2"})(["min-width:100px;width:max-content;position:",";border-radius:16px;box-shadow:0px 0px 8px 1px var(--theme-popover-shadow);padding:8px;background:var(--theme-L_white-B_black-1);z-index:12;"," "," ",""],e=>{let{contentPositionFixedMode:t}=e;return t?"fixed":"absolute"},e=>{let{theme:t}=e;return t.isOpen?(0,o.AH)(['visibility:visible;opacity:1;&:before{content:"";position:fixed;z-index:-1;top:0px;left:0px;width:100%;height:100%;}']):(0,o.AH)(["visibility:hidden;opacity:0;"])},e=>{let{theme:t,position:r,contentPositionFixedMode:n}=e;return r&&"bottom-right"!==r?"bottom-left"===r?n?(0,o.AH)(["top:","px;left:0px;"],t.rectInfo?.trigger.y+t.rectInfo?.trigger.height+16):(0,o.AH)(["top:","px;left:0px;"],t.rectInfo?.trigger.height+16):r&&"top-right"!==r?void 0:n?(0,o.AH)(["top:","px;right:","px;"],t.rectInfo?.trigger.y-16-t.rectInfo?.content.height,-t.rectInfo?.content.width-8):(0,o.AH)(["top:","px;left:","px;"],-16-t.rectInfo?.content.height,-t.rectInfo?.content.width+t.rectInfo?.trigger.width):n?(0,o.AH)(["top:","px;right:","px;"],t.rectInfo?.trigger.y+t.rectInfo?.trigger.height+16,-t.rectInfo?.content.width-8):(0,o.AH)(["top:","px;left:","px;"],t.rectInfo?.trigger.height+16,-t.rectInfo?.content.width+t.rectInfo?.trigger.width)},e=>{let{contentStyle:t}=e;return t||""}),f=(0,o.Ay)(a.so).withConfig({componentId:"sc-8568bb5-3"})(["width:100%;min-height:36px;border-radius:8px;gap:",";padding:4px 8px;"," font-weight:500;color:var(--theme-L_black-B_white);white-space:nowrap;i{color:",";}",""],e=>{let{hasIcon:t}=e;return t?"8px":"0px"},l.lG.smBody,e=>{let{iconColor:t}=e;return t||""},e=>{let{disabled:t}=e;return t?(0,o.AH)(["cursor:not-allowed;color:var(--Primary-Gray-L-03);pointer-events:none;span,a,a span{color:var(--Primary-Gray-L-03);}i{color:var(--Primary-Gray-L-04);}"]):(0,o.AH)(["&:hover{cursor:pointer;background:",";}"],l.Tj.neutral.gray5)})},194416:()=>{},204459:(e,t,r)=>{"use strict";r.d(t,{A:()=>l,s:()=>o});var n=r(621462),i=r(384082);let o="intro-article-section";
1function l(){let[e]=(0,i.A)(),[t,r]=(0,n.useState)(500);return(0,n.useEffect)(()=>{let t=document.querySelector(`.${o}`);if(!t||!t?.getBoundingClientRect)return void r(e.isMobile?window.innerWidth-32:500);r(t.getBoundingClientRect().width)},[e]),{width:t}}},209903:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=e=>{let{list:t,draggingItemIndex:r,targetPosition:n}=e,i=t[r],o=t.slice(0,r).concat(t.slice(r+1));return[...o.slice(0,n),i,...o.slice(n)]}},233585:()=>{},292375:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(621462),i=r(384082),o=r(209903);let l=e=>({top:`${e.pageY-60}px`,left:`${e.pageX+10}px`}),a=function(e){let{list:t,setList:r,mobileDragItemMapping:a=e=>{},afterDrop:s=(e,t)=>{},name:c=""}=e,[{isMobile:d}]=(0,i.A)(),[p,u]=(0,n.useState)(null),[h,g]=(0,n.useState)(null),[x,m]=(0,n.useState)([]),f=(0,n.useRef)(),y=(0,n.useCallback)(async()=>{if(null===p||null===h){u(null),g(null);return}let e=p>h?h:Math.max(h-1,0),n=Array.from(t),i=(0,o.A)({list:t,draggingItemIndex:p,targetPosition:e});r(i),s(i,n),g(null),u(null)},[p,h,t,r,s]),w=(0,n.useCallback)(e=>{let t=e.targetTouches[0],r=document.querySelector("#dragging-item");if(!r)return;let{top:n,left:i}=l(t);r.style.top=n,r.style.left=i;for(let e=x.length-1;e>=0;e--)if(20>Math.abs(t.pageY-x[e])&&e!==p&&e!==p+1&&(0!==e||0!==p)){g(e);break}else g(null)},[x,p]),v=(0,n.useCallback)((e,t)=>{let r=e.targetTouches[0],n=document.createElement("span");n.textContent=a(t)||"missing content",n.id="dragging-item";let i={position:"absolute",background:"var(--Primary-Gray-L-02)",minHeight:"20px",color:"white",borderRadius:"10px",padding:"8px 12px",zIndex:5401,...l(r)};Object.assign(n.style,i);let o=[];document.querySelectorAll(`[data-anchor^="${c}"]`).forEach(e=>{o.push(e.getBoundingClientRect().top+window.scrollY)}),m(o),document.body.insertBefore(n,document.body.childNodes[0])},[a,c]),A=(0,n.useCallback)(()=>{f.current&&clearTimeout(f.current);let e=document.querySelector("#dragging-item");e&&(e.remove(),y())},[y]),C=e=>({dragging:p===e,draggable:!0});return{dragItemProps:d?e=>({onTouchStart:r=>{f.current=setTimeout(()=>{v(r,t[e]),u(e)},500)},onTouchEnd:()=>A(),onTouchMove:w,...C(e)}):e=>({onDragStart:()=>u(e),onDragEnd:y,onDragOver:e=>e.preventDefault(),...C(e)}),anchorProps:e=>({isActive:h===e,dataAnchor:`${c}-dnd-anchor-${e}`,setAnchorIndex:e=>{if(e===p||e===p+1||0===e&&0===p)return g(null);g(e)}})}}},292595:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(823798),i=r(621462),o=r(912486),l=r(109562),a=r(757743);let s=function(e){let{size:t=20,fontSize:r="16px",isActive:o=!1,isError:l=!1,isDisabled:a=!1,isReadOnly:s=!1,label:h,labelUrl:g="",onClick:x=()=>{},centeredLabel:m=!0,...f}=e,y=(0,i.useMemo)(()=>h?g?(0,n.jsx)("a",{href:g,target:"__blank",children:(0,n.jsx)(u,{fontSize:r,disabledColor:a,children:h})}):"string"==typeof h?(0,n.jsx)(u,{fontSize:r,disabledColor:a,children:h}):h:null,[h,g,r,a]);return(0,n.jsxs)(c,{onClick:e=>{!s&&(a||x(e))},centeredLabel:m,isReadOnly:s,...f,children:[(0,n.jsx)(d,{size:t,isError:l,isDisabled:a,isActive:o,children:o?(0,n.jsx)(p,{size:t/2}):null}),y]})},c=l.Ay.div.withConfig({componentId:"sc-34f3ee2e-0"})(["display:grid;grid-template-columns:20px 1fr;gap:8px;cursor:pointer;align-items:flex-start;a{color:var(--Primary-Black-Base);&:hover{text-decoration:underline;}}"," "," ",""],a.xe,e=>{let{centeredLabel:t}=e;return t?(0,l.AH)(["align-items:center;"]):null},e=>{let{isReadOnly:t}=e;return t?(0,l.AH)(["&,span{cursor:default !important;}"]):null}),d=l.Ay.span.withConfig({componentId:"sc-34f3ee2e-1"})(["position:relative;height:",";width:",";border:solid 1px var(--theme-L_gray-3-B_gray-4);background:var(--theme-L_white-B_black-1);border-radius:6px;display:flex;justify-content:center;align-items:center;color:var(--Primary-Base);"," ",""],e=>{let{size:t}=e;return`${t}px`},e=>{let{size:t}=e;return`${t}px`},e=>{let{isActive:t,isError:r,isDisabled:n}=e;return r?(0,l.AH)(["background:transparent;border-color:var(--Secondary-Orange-Base);"]):n?t?(0,l.AH)(["background:var(--theme-L_gray-4-B_gray-1);border-color:var(--theme-L_gray-4-B_gray-1);cursor:not-allowed;
1path{fill:var(--theme-L_white-B_black-1);}"]):(0,l.AH)(["background:var(--theme-L_white-B_black-1);border-color:var(--theme-L_gray-4-B_gray-1);cursor:not-allowed;path{fill:var(--theme-L_white-B_black-1);}"]):t?(0,l.AH)(["border:none;background:var(--theme-L_gray-1-B_gray-6);path{fill:var(--theme-L_white-B_gray-1);}"]):(0,l.AH)(["background:var(--theme-L_white-B_gray-1);border-color:var(--theme-L_gray-3-B_gray-4);"])},a.xe),p=(0,l.Ay)(o.CMH).withConfig({componentId:"sc-34f3ee2e-2"})([""]),u=l.Ay.span.withConfig({componentId:"sc-34f3ee2e-3"})(["font-size:",";color:",";cursor:",";"],e=>e.fontSize,e=>e.disabledColor?"var(--Primary-Gray-L-03)":"var(--theme-L_black-2-B_white)",e=>e.disabledColor?"not-allowed":"pointer")},308647:(e,t,r)=>{"use strict";r.d(t,{G:()=>n});let n={DEFAULT:"DEFAULT",INFO:"INFO",INFO_BLUE:"INFO_BLUE",WARNING:"WARNING"}},323570:()=>{},354461:(e,t,r)=>{"use strict";r.d(t,{A:()=>g});var n=r(823798),i=r(621462),o=r(109562),l=r(757743),a=r(314548),s=r(401654),c=r(935006),d=r(308647);let p={[d.G.DEFAULT]:{borderColor:"var(--theme-L_gray-2-B_gray-4)",iconColor:"var(--theme-L_gray-2-B_white)",color:"var(--theme-L_gray-2-B_white)",background:"var(--theme-L_gray-6-B_gray-1)"},[d.G.INFO]:{borderColor:"var(--Primary-Gray-L-02)",iconColor:"var(--Primary-Gray-L-02)",color:"var(--Primary-Gray-L-02)",background:"var(--Primary-White)"},[d.G.INFO_BLUE]:{borderColor:"var(--Secondary-Blue-L-03)",iconColor:"var(--Secondary-Blue-L-02)",color:"var(--Secondary-Blue-L-02)",background:"var(--Secondary-Blue-L-06)",border:"1px solid var(--Secondary-Blue-L-03)"},[d.G.WARNING]:{borderColor:"var(--Secondary-Yellow-L-03)",iconColor:"var(--Secondary-Yellow-D-01)",color:"var(--Secondary-Yellow-D-01)",background:"var(--Secondary-Yellow-L-06)"}},u={[d.G.DEFAULT]:"icon-info_outline",[d.G.INFO]:"icon-info_outline",[d.G.INFO_BLUE]:"icon-info_outline",[d.G.WARNING]:"icon-warning_outline"},h={sm:16,md:18};function g(e){let{type:t=d.G.DEFAULT,desc:r,showCancelButton:l=!1,showCollapseButton:a=!0,collapseContent:g=null,size:v="md",customButton:A=null,...C}=e,[b,j]=(0,i.useState)(!0),[I,S]=(0,i.useState)(!0);return b?(0,n.jsx)(o.NP,{theme:p[t],children:(0,n.jsxs)(x,{flexDirection:"column",...C,children:[(0,n.jsxs)(m,{justifyContent:"space-between",alignItems:"center",onClick:e=>{e.stopPropagation(),a&&S(!I)},children:[(0,n.jsxs)(f,{size:v,children:[(0,n.jsx)(c.A,{name:u[t],size:h[v]}),(0,n.jsx)("span",{children:r})]}),!g&&l&&(0,n.jsx)(y,{justifyContent:"center",alignItems:"center",onClick:()=>j(!1),children:(0,n.jsx)(c.A,{name:"icon-close",size:20})}),g&&a&&(0,n.jsx)(y,{justifyContent:"center",alignItems:"center",children:(0,n.jsx)(s.zP,{name:I?"icon-arrowUp":"icon-arrowDown",size:20})}),A&&A]}),g&&I&&(0,n.jsx)(w,{children:g})]})}):null}let x=(0,o.Ay)(a.so).withConfig({componentId:"sc-c0989872-0"})(["width:100%;min-height:36px;border-radius:12px;background:",";border-color:",";border:",";padding:8px;",";"],e=>{let{theme:t}=e;return t.background},e=>{let{theme:t}=e;return t.borderColor},e=>{let{theme:t}=e;return t.border},l.xe),m=(0,o.Ay)(a.so).withConfig({componentId:"sc-c0989872-1"})(["width:100%;cursor:",";i{display:inline-block;line-height:24px;color:",";}"],e=>{let{showCollapseButton:t}=e;return t&&"pointer"},e=>{let{theme:t}=e;return t.iconColor}),f=(0,o.Ay)(a.so).withConfig({componentId:"sc-c0989872-2"})(["span{",";line-height:24px;margin-left:8px;color:",";&.action{margin-left:0px;text-decoration:underline;cursor:pointer;}}&& a{margin:0px 4px;text-decoration:underline;color:",";&:hover{text-decoration:underline;}}"],e=>"sm"===e.size?(0,o.AH)(["font-size:14px;"]):(0,o.AH)(["font-size:16px;font-weight:500;"]),e=>{let{theme:t}=e;return t.color},e=>{let{theme:t}=e;return t.color}),y=(0,o.Ay)(a.so).withConfig({componentId:"sc-c0989872-3"})(["cursor:pointer;"]),w=o.Ay.div.withConfig({componentId:"sc-c0989872-4"})(["margin-top:10px;font-size:16px;line-height:24px;color:",";letter-spacing:1px;"],e=>{let{theme:t}=e;return t.color})},392850:(e,t,r)=>{"use strict";r.d(t,{A:()=>T});var n=r(823798),i=r(109562),o=r(572498),l=r(59418),a=r(621462),s=r(357886),c=r(239907),d=r(164955),p=r(991755);let{mobile:u}=o.et,h=function(e){let{isHide:t,image:r,index:i,onCaptionEdit:o,onCaptionUrlEdit:l}=e,s=(0,a.useCallback)(e=>{let{value:t}=e.target;l({value:t,targetIndex:i})},[i,l]);return t?null:(0,n.jsxs)(g,{children:[(0,n.jsx)(d.A,{size:"small",value:r.caption||"",onChange:e=>{o({value:e.target.value,targetIndex:i})},placeholder:"è«è¼¸å
¥åçæè¿°",iconName:"icon-edit"}),(0,n.jsxs)(x,{children:[(0,n.jsx)(d.A,{size:"small",value:r.captionUrl||"",onChange:s,placeholder:"è«è¼¸å
¥é£çµï¼ä¾ï¼https://...",isInvalid:r.captionUrlInvalid,isDisabled:!r.caption,iconName:"icon-link"}),r.captionUrlInvalid&&r.caption?(0,n.jsx)(p.A,{isInvalid:!0,children:"è«è¼¸å
¥æ£ç¢ºç¶²å"}):null]})]})},g=i.Ay.div.withConfig({componentId:"sc-b6c3c92c-0"})(["display:flex;gap:10px;width:100%;align-items:center;input{color:var(--Color-Secondary-Base);}@media ","{flex-direction:column;min-width:unset;}"],u),x=i.Ay.div.withConfig({componentId:"sc-b6c3c92c-1"})(["width:100%;"]),{mobile:m}=o.et,f=function(e){let{isHide:t,image:r,index:i,onCaptionUrlEdit:o}=e,l=(0,a.useCallback)(e=>{let{value:t}=e.target;o({value:t,targetIndex:i})},[i,o]);return t?null:(0,n.jsx)(y,{children:(0,n.jsxs)(w,{children:[(0,n.jsx)(d.A,{size:"small",value:r.captionUrl||"",onChange:l,placeholder:"è«è¼¸å
¥é£çµï¼ä¾ï¼https://...",isInvalid:r.captionUrlInvalid,iconName:"icon-link"}),r.captionUrlInvalid&&(0,n.jsx)(p.A,{isInvalid:!0,children:"è«è¼¸å
¥æ£ç¢ºç¶²å"})]})})},y=i.Ay.div.withConfig({componentId:"sc-45f82606-0"})(["display:flex;gap:10px;width:100%;align-items:center;@media ","{flex-direction:column;min-width:unset;}"],m),w=i.Ay.div.withConfig({componentId:"sc-45f82606-1"})(["width:100%;"]);var v=r(401654),A=r(190931),C=r(966070),b=r(707200);function j(e){let{image:t}=e;return t.isLoading?(0,n.jsx)(k,{children:"ä¸å³ä¸..."}):t.isFailed?(0,n.jsx)(v.zP,{name:"icon-error_outline",style:{color:o.Tj.semantic.error.orange}}):(0,n.jsx)(v.zP,{name:"icon-success_outline",style:{color:o.Tj.semantic.success.base}})}let I=function(e){let{image:t,handleRemoveImage:r}=e;return(0,n.jsxs)(S,{children:[(0,n.jsx)(j,{image:t}),t.isLoading?(0,n.jsx)(E,{height:56,width:56}):(0,n.jsx)(_,{id:t._id||t?.file?.name,src:t.url||t.data_url||(0,C.BK)(t.relPath),alt:t?.file?.name||t?.alt||""}),(0,n.jsx)(c.A,{variant:"Outline-Tertiary",size:"small",icon:"icon-trash",onClick:()=>r()})]})},S=i.Ay.div.withConfig({componentId:"sc-17e033fc-0"})(["display:flex;align-items:center;gap:10px;"]),E=(0,i.Ay)(b.A).withConfig({componentId:"sc-17e033fc-1"})(["max-width:76px;height:56px;padding:14px 20px;border-radius:8px;border:1px solid var(--Color-Secondary-L-04);"]),_=i.Ay.img.withConfig({componentId:"sc-17e033fc-2"})(["max-width:76px;min-height:100%;border-radius:8px;"]),k=i.Ay.div.withConfig({componentId:"sc-17e033fc-3"})(["width:max-content;",";color:var(--Color-Secondary-L-03);"],o.lG.smBody);var D=r(384082),L=r(209903);let{mobile:B}=o.et,P=function(e){let{index:t,image:r,imageList:i=[],imageOnChange:o,onCaptionEdit:l,onCaptionUrlEdit:d,onImageRemove:p,showCaptionSetting:u,showLinkSetting:g}=e,[x]=(0,D.A)(),[m,y]=(0,a.useState)(!1),w=(0,a.useCallback)(()=>{p(t)}
1,[t,p]),C=(0,a.useCallback)(async e=>{let{currentIndex:t,targetIndex:r}=e;o((0,L.A)({list:i,draggingItemIndex:t,targetPosition:r})),y(!1)},[i,o]),b=(0,a.useMemo)(()=>Array(i.length).fill("").map((e,r)=>t===r?null:(0,n.jsx)(A.fv,{className:"popover-item",onClickCb:()=>C({currentIndex:t,targetIndex:r}),children:r+1},(0,s.A)())),[C,i.length,t]);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(O,{children:[(0,n.jsxs)(G,{children:[(0,n.jsx)(U,{children:(0,n.jsx)(A.Ay,{position:"bottom-left",trigger:(0,n.jsxs)(z,{children:[(0,n.jsx)(N,{children:t+1}),(0,n.jsx)(v.zP,{name:"icon-arrowDown"})]}),popoverContent:b,isOpen:m,setIsOpen:y,contentStyle:{width:"61px",minWidth:"unset"}})}),(0,n.jsxs)(R,{children:[(0,n.jsx)(N,{children:t+1}),(0,n.jsx)(c.A,{icon:"icon-drag",size:"small",variant:"Outline-Tertiary"})]}),(0,n.jsx)(f,{isHide:x.isMobile||!g,image:r,index:t,onCaptionUrlEdit:d}),(0,n.jsx)(h,{isHide:x.isMobile||!u,image:r,index:t,onCaptionEdit:l,onCaptionUrlEdit:d})]}),(0,n.jsx)(I,{image:r,handleRemoveImage:w})]}),(0,n.jsx)(f,{isHide:!x.isMobile||!g,image:r,index:t,onCaptionUrlEdit:d}),(0,n.jsx)(h,{isHide:x.isDesktop||x.isPad||!u,image:r,index:t,onCaptionEdit:l,onCaptionUrlEdit:d})]})},O=i.Ay.div.withConfig({componentId:"sc-bb0d3103-0"})(["max-width:100%;width:100%;padding:8px 0px;display:flex;align-items:center;justify-content:space-between;min-height:80px;gap:12px;"]),G=i.Ay.div.withConfig({componentId:"sc-bb0d3103-1"})(["display:flex;align-items:center;gap:10px;width:100%;"]),N=i.Ay.div.withConfig({componentId:"sc-bb0d3103-2"})(["",";font-weight:500;color:var(--Color-Secondary-Base);"],o.lG.smSubHeading),R=i.Ay.div.withConfig({componentId:"sc-bb0d3103-3"})(["display:flex;align-items:center;gap:10px;@media ","{display:none;}"],B),U=i.Ay.div.withConfig({componentId:"sc-bb0d3103-4"})(["display:none;@media ","{display:block;.popover-item{min-width:unset;display:flex;justify-content:center;}}"],B),z=i.Ay.div.withConfig({componentId:"sc-bb0d3103-5"})(["display:flex;align-items:center;gap:8px;padding:8px 12px;cursor:pointer;border-radius:8px;border:1px solid var(--Color-Secondary-L-04);background:var(--Color-Secondary-L-07);",";i{color:var(--Color-Secondary-Base);}"],o.lG.smBody);var H=r(292375);let T=function(e){let{imageList:t,onCaptionEdit:r,onCaptionUrlEdit:i,onImageRemove:o,imageOnChange:a,isCarouselMode:s,showCaptionSetting:c,showLinkSetting:d}=e,[p]=(0,D.A)(),{dragItemProps:u,anchorProps:h}=(0,H.A)({list:t,setList:a,afterDrop:()=>{},name:"rowImages"});return t?.length?p.isMobile?(0,n.jsx)(F,{children:t.map((e,l)=>(0,n.jsx)($,{children:(0,n.jsx)(P,{image:e,index:l,imageList:t,onCaptionEdit:r,onCaptionUrlEdit:i,imageOnChange:a,onImageRemove:o,showCaptionSetting:c&&!s,showLinkSetting:d})},l))}):(0,n.jsxs)(F,{children:[(0,n.jsx)(l.A,{className:"anchor",index:0,...h(0)}),t.map((e,p)=>(0,n.jsxs)(M,{children:[(0,n.jsx)($,{...u(p),children:(0,n.jsx)(P,{image:e,index:p,imageList:t,onCaptionEdit:r,onCaptionUrlEdit:i,imageOnChange:a,onImageRemove:o,showCaptionSetting:c&&!s,showLinkSetting:d})}),(0,n.jsx)(l.A,{className:"anchor",index:p+1,...h(p+1)},`anchor_${e._id||p}`)]},e._id||p))]}):null},F=i.Ay.div.withConfig({componentId:"sc-a011556-0"})(["margin-bottom:20px;&::-webkit-scrollbar{display:none;}"]),$=i.Ay.div.withConfig({componentId:"sc-a011556-1"})([""]),M=i.Ay.div.withConfig({componentId:"sc-a011556-2"})(["&:first-of-type{border-top:1px solid ",";}"],o.Tj.neutral.gray4)},399583:()=>{},402346:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(621462);let i=(e,t)=>{let r=r=>{e.current&&!e.current.contains(r.target)&&t()};(0,n.useEffect)(()=>(document.addEventListener("click",r),()=>{document.removeEventListener("click",r)}))}},510056:(e,t,r)=>{"use strict";r.d(t,{A:()=>g});var n=r(823798),i=r(621462),o=r(426728),l=r.n(o),a=r(109562),s=r(314548),c=r(572498),d=r(839113),p=r(832662),u=r(384082);let h=l()(()=>Promise.resolve().then(r.bind(r,235634)),{loadableGenerated:{webpack:()=>[235634]},ssr:!0});function g(e){let{bannerImages:t,isFetching:r,canEditSalon:o}=e,[l]=(0,u.A)();return(0,i.useMemo)(()=>t?.length?(0,n.jsx)(m,{children:(0,n.jsx)(h,{cards:t.map(e=>(0,n.jsx)(d.Ay,{ratio:.525,slideBorderRadius:"16px",backgroundSize:"contain",banner:{imgUrl:e.url}},e)),loop:!0,spaceBetween:l.isMobile?15:30,paginationType:p.WH.BOTTOM_CENTER,minHeight:"auto",isShowArrow:!l.isMobile,isShowPagination:!0,isFetching:r,slidesPerView:1,skeletonComponent:(0,n.jsx)(d.Ay,{isFetching:!0,ratio:.525,slideBorderRadius:"16px"})})}):o?(0,n.jsx)(x,{justifyContent:"center",alignItems:"center",children:"å°æªè¨å®åå輪æä»ç´¹å"}):null,[l,r,t,o])}let x=(0,a.Ay)(s.so).withConfig({componentId:"sc-a9576ad2-0"})(["border-radius:16px;border:1px dashed var(--Primary-Gray-L-03);font-size:16px;line-height:24px;text-align:center;color:var(--Primary-Gray-L-01);background:var(--Primary-Gray-L-06);aspect-ratio:1200 / 630;"]),m=a.Ay.div.withConfig({componentId:"sc-a9576ad2-1"})(["min-height:400px;@media ","{min-height:210px;}"],c.et.mobile)},511724:()=>{},520843:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});
1var n=r(823798),i=r(109562),o=r(314548),l=r(401654),a=r(398688),s=r(900710);function c(e){let{productSource:t,products:r=[],...i}=e;return t!==s.Cj.SELF_UPLOAD&&t!==s.Cj.CLOUD_LINK?(0,n.jsx)(a.A,{padding:"20px",...i,children:(0,n.jsxs)(o.so,{flexDirection:"column",gap:"16px",children:[(0,n.jsx)(d,{children:"ååæä¾æ¹å¼"}),(0,n.jsx)(x,{children:"ç®åå°æªä¸å³æªæ¡ / é£çµ"})]})}):t===s.Cj.SELF_UPLOAD?(0,n.jsx)(a.A,{padding:"20px",...i,children:(0,n.jsxs)(o.so,{flexDirection:"column",gap:"16px",children:[(0,n.jsx)(d,{children:"ååæä¾æ¹å¼"}),r?.length>0&&(0,n.jsx)(p,{children:r.filter(e=>e?._id).map(e=>(0,n.jsxs)(u,{alignItems:"center",gap:"4px",children:[(0,n.jsx)(l.zP,{name:"icon-file",size:20}),(0,n.jsx)(h,{fontWeight:500,children:e?.name?.split(".")[1]}),(0,n.jsx)(g,{}),(0,n.jsx)(h,{color:"var(--Primary-Gray-L-01)",children:e?.fileSize})]},e._id))}),(0,n.jsx)(x,{children:"交æå®æå¾å¯ç´æ¥ä¸è¼"})]})}):t===s.Cj.CLOUD_LINK?(0,n.jsx)(a.A,{padding:"20px",...i,children:(0,n.jsxs)(o.so,{flexDirection:"column",gap:"16px",children:[(0,n.jsx)(d,{children:"ååæä¾æ¹å¼"}),(0,n.jsx)(x,{children:"交æå®æå¾å¯ç²å¾ç¶²å"})]})}):void 0}let d=i.Ay.div.withConfig({componentId:"sc-8830f9ee-0"})(["font-size:18px;line-height:26px;font-weight:500;color:var(--Primary-Black-Base);"]),p=(0,i.Ay)(o.so).withConfig({componentId:"sc-8830f9ee-1"})(["flex-wrap:wrap;gap:12px 24px;"]),u=(0,i.Ay)(o.so).withConfig({componentId:"sc-8830f9ee-2"})([""]),h=i.Ay.span.withConfig({componentId:"sc-8830f9ee-3"})(["font-size:16px;line-height:24px;color:",";font-weight:",";"],e=>{let{color:t}=e;return t||"var(--Primary-Black-Base)"},e=>{let{fontWeight:t}=e;return t||400}),g=i.Ay.div.withConfig({componentId:"sc-8830f9ee-4"})(["margin:0px 3px;width:2px;height:2px;border-radius:50%;background:var(--Primary-Gray-L-01);"]),x=i.Ay.div.withConfig({componentId:"sc-8830f9ee-5"})(["font-size:16px;line-height:24px;color:var(--Primary-Gray-L-01);"])},526278:(e,t,r)=>{"use strict";r.d(t,{A:()=>l,_:()=>o});var n=r(823798),i=r(621462);let o=(0,i.createContext)({isShowDiscountCheckAlert:!1,setIsShowDiscountCheckAlert:()=>{},isShowEditFieldErrorAlert:!1,setIsShowEditFieldErrorAlert:()=>{},isShowHasPayUserAlert:!1,setIsShowHasPayUserAlert:()=>{},isShowDeletePlanGroupAlert:!1,setIsShowDeletePlanGroupAlert:()=>{},isShowBlockAlert:!1,setIsShowBlockAlert:()=>{},isShowChangeRecommendAlert:!1,setIsShowChangeRecommendAlert:()=>{},warningCheapestPlan:null,setWarningCheapestPlan:()=>{},errorFields:null,setErrorFields:()=>{},isShowReviewConfirmAlert:!1,setIsShowReviewConfirmAlert:()=>{},isShowRetroAlert:!1,setIsShowRetroAlert:()=>{}});function l(e){let{children:t}=e,[r,l]=(0,i.useState)(!1),[a,s]=(0,i.useState)(!1),[c,d]=(0,i.useState)(!1),[p,u]=(0,i.useState)(!1),[h,g]=(0,i.useState)(!1),[x,m]=(0,i.useState)(!1),[f,y]=(0,i.useState)(),[w,v]=(0,i.useState)(null),[A,C]=(0,i.useState)(null),[b,j]=(0,i.useState)(!1),[I,S]=(0,i.useState)(!1),E=(0,i.useMemo)(()=>({isShowDiscountCheckAlert:r,setIsShowDiscountCheckAlert:l,isShowEditFieldErrorAlert:a,setIsShowEditFieldErrorAlert:s,isShowHasPayUserAlert:c,setIsShowHasPayUserAlert:d,isShowDeletePlanGroupAlert:p,setIsShowDeletePlanGroupAlert:u,isShowChangeRecommendAlert:x,setIsShowChangeRecommendAlert:m,isShowBlockAlert:h,setIsShowBlockAlert:g,isShowHasPaidPlanAlert:f,setIsShowHasPaidPlanAlert:y,warningCheapestPlan:w,setWarningCheapestPlan:v,errorFields:A,setErrorFields:C,isShowReviewConfirmAlert:b,setIsShowReviewConfirmAlert:j,isShowRetroAlert:I,setIsShowRetroAlert:S}),[r,l,a,s,c,d,p,u,x,m,h,g,f,y,w,v,A,C,b,j,I,S]);return(0,n.jsx)(o.Provider,{value:E,children:t})}},537084:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n=r(823798),i=r(621462),o=r(109562);function l(e){let{isOpen:t=!1,setIsOpen:r=()=>{},limitHeight:l=750,children:s,defaultOpenMode:c=!1}=e,d=(0,i.useRef)(),p=d?.current?d.current.getBoundingClientRect().height:0;return(0,i.useEffect)(()=>{if(0===p||p<l||c)return void r(!0);r(!1)},[p,l,r,c]),(0,n.jsx)(o.NP,{theme:{isOpen:t,limitHeight:l},children:(0,n.jsx)(a,{children:(0,n.jsx)("div",{ref:d,children:s})})})}let a=o.Ay.div.withConfig({componentId:"sc-54d12cfb-0"})([""," overflow:hidden;
1"],function(e){return e.theme.isOpen?(0,o.AH)(["height:auto;"]):(0,o.AH)(["height:",";"],e=>e.theme.limitHeight?`${e.theme.limitHeight}px`:"auto")})},610231:(e,t,r)=>{"use strict";function n(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;if(!+e)return"0 KB";let r=Math.floor(Math.log(e)/Math.log(1024));return`${parseFloat((e/1024**r).toFixed(t<0?0:t))} ${["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][r]}`}function i(e){let{fileName:t="",fileExt:r="xlsx",url:n=""}=e,i=document.createElement("a");i.href=n,i.setAttribute("download",`${t}.${r}`),document.body.appendChild(i),i.click()}r.d(t,{c:()=>i,z:()=>n})},672303:()=>{},677849:(e,t,r)=>{"use strict";r.d(t,{D:()=>n});let n={SUCCESS:"success",ERROR:"error",WARNING:"warning",INFO:"info"}},692015:()=>{},693930:()=>{},696746:(e,t,r)=>{"use strict";r.d(t,{NU:()=>v,Ye:()=>j});var n=r(680139),i=r(99713),o=r(228379),l=r(563309),a=r(587769);r(416135);var s=r(4411),c=r(849073),d=r(912723);let p=new Set(["vocus-table","table"]);function u(e){let t;if(null==e)return e;let r="string"==typeof e;if(r)try{t=JSON.parse(e)}catch{return e}else t=e;if(!t||"object"!=typeof t||!t.root)return e;let n=function e(t){if(!t||"object"!=typeof t)return t;let r=t.children,n=r,i=!1;if(Array.isArray(r)){let t=r.map(e);t.some((e,t)=>e!==r[t])&&(n=t,i=!0)}if(p.has(t.type)&&Array.isArray(n)){let e=n.filter(e=>e&&"tablerow"===e.type);if(0===e.length){var o;return{type:"paragraph",version:1,children:o=function e(t,r){if(!t||"object"!=typeof t)return r;if("text"===t.type)return r.push({...t}),r;if(Array.isArray(t.children))for(let n of t.children)e(n,r);return r}(t,[]),direction:o.length?"ltr":null,format:"",indent:0,textFormat:0,textStyle:""}}e.length!==n.length&&(n=e,i=!0)}return i?{...t,children:n}:t}(t.root);if(n===t.root)return e;let i={...t,root:n};return r?JSON.stringify(i):i}r(966070);var h=r(396270),g=r(612350),x=r(141638);let m=null;async function f(){return m||(m=(await Promise.all([r.e(46593),r.e(66843)]).then(r.bind(r,366843))).default),m}function y(e){let t=new n.JSDOM;r.g.window=t.window,r.g.document=t.window.document,r.g.DocumentFragment=t.window.DocumentFragment;try{return e.setEditable?.(!1),(0,g.g)(e)}finally{delete r.g.window,delete r.g.document,delete r.g.DocumentFragment,t.window.close()}}function w(e){return null==e||(0,h.D)(a.A).parseEditorState(e).isEmpty()?s.A:e}function v(e){let t=(0,h.D)(a.A),r=u(e)||s.A,n=t.parseEditorState(r);return n.isEmpty()?t.setEditorState(t.parseEditorState(s.A)):t.setEditorState(n),t}function A(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a.A,r=w(u(e)),n=(0,h.D)(t);return n.setEditorState(n.parseEditorState(r)),n.getEditorState().read(()=>y(n))}function C(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a.A,r=w(u(e)),n=(0,h.D)(t);return n.setEditorState(n.parseEditorState(r)),n.getEditorState().read(()=>{let e=y(n),t=[];for(let e of(0,i.Ni)().getChildren())(0,x.Pi)(e)&&t.push([e.getKey(),e.getTextContent(),e.getTag()]);return{html:e,tableOfContents:t}})}async function b(e){let t=!(0,d.T)(e)&&!!e?.obj&&(0,d.$N)(e),r=!(0,d.IA)(e)&&!!e?.currentDraft?.obj;if(!t&&!r)return null;let n=await f();if(t){let t=n(e.obj),r=t?.lexicalObj,{html:i,tableOfContents:o}=C(r);return[{...e,lexicalObj:r,content:i},o]}let i=n(e.currentDraft.obj),o=i?.lexicalObj,{html:l,tableOfContents:a}=C(o);return[{...e,currentDraft:{...e.currentDraft,lexicalObj:o,content:l}},a]}async function j(e){let{article:t}=e,s=(0,o.A)(t);if(!(0,d.ky)(t)&&!(0,d.pc)(t)&&(t?.isImport||t?.oldId)){let{html:e,lexicalToc:o}=function(e){let t=new n.JSDOM(e);r.g.window=t.window,r.g.document=t.window.document,r.g.DocumentFragment=t.window.DocumentFragment;try{t.window.document.querySelectorAll("img").forEach(e=>{let t=e.closest("p");if(e.alt="",t){let r=document.createElement("figure");r.append(e),t.before(r)}});let e=(0,h.D)(a.A);e.update(()=>{let r=(0,g.d)(e,t.window.document);(0,i.Ni)().select(),(0,i.vJ)().insertNodes(r)},{discrete:!0});let r=[],n=e.getEditorState().read(()=>{for(let e of(0,i.Ni)().getChildren())(0,x.Pi)(e)&&r.push([e.getKey(),e.getTextContent(),e.getTag()]);return r}),o=e.getEditorState().read(()=>(0,g.g)(e)),l=e.getEditorState().toJSON();return{html:o,lexicalToc:n,lexicalEditorStateString:JSON.stringify(l)}}finally{delete r.g.window,delete r.g.document,delete r.g.DocumentFragment,t.window.close()}}((0,c.A)(t.content));return s.content=e,(0,l.A)(s?.currentDraft)?s.currentDraft={content:e,title:t.title}:s.currentDraft.content=A(t?.currentDraft?.lexicalObj),[s,o]}let p=await b(t);if(null!==p)return p;if(s.lexicalObj=w(s?.lexicalObj),s.currentDraft={...s.currentDraft,lexicalObj:w(s?.currentDraft?.lexicalObj)},(0,d.$N)(s)){let{html:e,tableOfContents:t}=C(s.lexicalObj);return s.content=e,[s,t]}return s.currentDraft.content=A(s?.currentDraft?.lexicalObj),[s,[]]}},705447:e=>{function t(e){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=705447,e.exports=t},720535:(e,t,r)=>{"use strict";r.d(t,{A:()=>B});var n=r(823798),i=r(621462),o=r(109562),l=r(99997),a=r(36229),s=r(100848),c=r(625683),d=r(129744),p=r(314548),u=r(382467),h=r(190931),g=r(895955),x=r(572498),m=r(444187),f=r(457140),y=r(966070),w=r(584411),v=r(942459),A=r(982333),C=r(586326),b=r(677849),j=r(505724);function I(e){let{currentProduct:t,isOpen:r,setIsOpen:o}=e,l=(0,j.A)(),[a,s]=(0,i.useState)(""),c=(0,i.useCallback)(async()=>
1{if(a&&t?._id)try{await (0,v.f5)({params:{userId:(0,f.Ri)("userId"),planGroupId:t._id,reason:a}}),l({type:b.D.SUCCESS,message:"檢èæå"}),o(!1),s(null)}catch{console.error("Error occurred on submiting product report"),l({type:b.D.SUCCESS,message:"檢è失æï¼è«ç¨å¾åè©¦ä¸æ¬¡"}),o(!1)}},[a,t,o,l]);return(0,n.jsx)(A.A,{style:{width:"768px",maxWidth:"768px"},show:r,title:"確å®è¦æª¢è",showCancelIcon:!0,confirmBtnText:"檢è",onConfirm:()=>{c()},onCancel:()=>{o(!1)},children:(0,n.jsxs)(p.so,{flexDirection:"column",alignItems:"center",gap:"20px",children:[(0,n.jsxs)(S,{children:[(0,n.jsx)("span",{children:"ä½çºä¸åå
§å®¹å¹³å°ï¼æ¹æ ¼åï¼vocusï¼è´åæ¼å¯«ä½è
çè使¬ãæºæ
§è²¡ç¢æ¬ä¹å°éèä¿è·ï¼ä¹åæè¦æ±æææå¡äºä»¥åçä¹å°éï¼ä¸¦ç¡æ³å°±ææä½åèç¼è¨ä¸ä¸å¯©æ¥ãå¾çºå°éå°ä½ çæª¢èé²è¡åæ¥å¯©æ¥ãèçï¼ä¾æå¯©æ¥çæ³ï¼è¢«ç°è°çå
§å®¹æå¯è½æ«ææ§ä¸æ¶ãå°éãç§»é¤æçºå
§å®¹ä¹ä¿®æ£èª¿æ´ï¼æ¤å¤ï¼äº¦æå¯è½è¦æ±æª¢è人æä¾è£å
è³æã詳細ç¨åºï¼æ¡è¿åèæåç"}),(0,n.jsx)("a",{href:"https://vocus.cc/writer_support/5a264c81fd89780001a0189d",children:(0,n.jsx)("span",{children:"ãè使¬ãæºæ
§è²¡ç¢æ¬æ¿çã"})}),(0,n.jsx)("span",{children:"ã"})]}),(0,n.jsx)(E,{children:(0,n.jsx)(C.A,{style:{width:"100%"},placeholder:"檢èåå ",value:a,onChange:e=>{s(e.target.value)}})})]})})}let S=o.Ay.div.withConfig({componentId:"sc-e38033a5-0"})(["span{font-size:16px;line-height:28px;color:var(--Primary-Gray-L-01);}a{font-weight:700;text-decoration:underline;}"]),E=o.Ay.div.withConfig({componentId:"sc-e38033a5-1"})(["width:100%;max-width:500px;textarea{width:100%;max-width:500px;height:100px;}"]);var _=r(709431);function k(e){let{isOpen:t=!1,setIsOpen:r=()=>{}}=e;return(0,n.jsxs)(A.A,{show:t,onCancel:()=>{r(!1)},width:"768px",title:"è¦å
ç»å
¥æè½æª¢è",confirmBtnText:"註å/ç»å
¥",showCancelIcon:!0,showCancel:!1,onConfirm:()=>{r(!1),window.location.href="/signUp"},children:["ä½çºä¸åå
§å®¹å¹³å°ï¼æ¹æ ¼åï¼vocusï¼è´åæ¼å¯«ä½è
çè使¬ãæºæ
§è²¡ç¢æ¬ä¹å°éèä¿è·ï¼ä¹åæè¦æ±æææå¡äºä»¥åçä¹å°éï¼ä¸¦ç¡æ³å°±ææä½åèç¼è¨ä¸ä¸å¯©æ¥ãå¾çºå°éå°ä½ çæª¢èé²è¡åæ¥å¯©æ¥ãèçï¼ä¾æå¯©æ¥çæ³ï¼è¢«ç°è°çå
§å®¹æå¯è½æ«ææ§ä¸æ¶ãå°éãç§»é¤æçºå
§å®¹ä¹ä¿®æ£èª¿æ´ï¼æ¤å¤ï¼äº¦æå¯è½è¦æ±æª¢è人æä¾è£å
è³æã詳細ç¨åºï¼æ¡è¿åèæåç",(0,n.jsx)("a",{href:_.xo,target:"_blank",rel:"noreferrer",children:(0,n.jsx)(D,{children:"ãè使¬ãæºæ
§è²¡ç¢æ¬æ¿çã"})}),"ã"]})}let D=o.Ay.span.withConfig({componentId:"sc-46724403-0"})(["text-decoration:underline;font-weight:700;color:var(--Primary-Gray-L-01);"]),L=[{_id:"report",label:"檢è"}];function B(e){let{planGroup:t,author:r,showPrice:o,simpleStar:x,isDesktop:m,openShareModal:v,setOpenShareModal:A}=e,{isPreviewMode:C}=(0,i.useContext)(g.Z),[b,j]=(0,i.useState)(!1),[S,E]=(0,i.useState)(!1),[_,D]=(0,i.useState)(!1),B=t?.currentPrice!==t?.price;return(0,n.jsxs)(O,{flexDirection:"column",children:[(0,n.jsxs)(p.so,{justifyContent:"space-between",alignItems:"center",mb:"4px",children:[(0,n.jsx)(a.A,{href:(0,y.iu)(r),children:(0,n.jsx)(w.A,{author:r})}),(0,n.jsxs)(G,{gap:"8px",children:[(0,n.jsx)(l.A,{variant:"clean",size:"sm",iconName:"icon-share",onClick:()=>A(!v),disabled:C}),(0,n.jsx)(h.Ay,{disabled:C,isOpen:_,setIsOpen:D,trigger:(0,n.jsx)(l.A,{variant:"clean",size:"sm",iconName:"icon-more",onClick:()=>D(!0),disabled:C}),popoverContent:L.map(e=>(0,n.jsx)(h.fv,{onClickCb:()=>{(0,f.Ri)("userId")?j(!0):E(!0),D(!1)},children:e.label},e._id))})]})]}),(0,n.jsx)(P,{children:t?.title}),o&&(0,n.jsxs)(p.so,{gap:"12px",alignItems:"center",mb:"12px",height:"36px",children:[(0,n.jsx)(d.A,{planGroup:t,mb:"0px"}),B&&(0,n.jsx)(s.A,{price:t?.price})]}),(0,n.jsx)(c.A,{displayBuyCount:t?.displayBuyCount,openScore:t?.openScore,scoreCount:t?.scoreCount,totalScore:t?.totalScore,payUserCount:t?.payUserCount,category:t?.category,simpleStar:x,gap:m?"20px":"12px"}),m&&(0,n.jsx)(u.A,{mt:"24px"}),(0,n.jsx)(I,{currentProduct:t,isOpen:b,setIsOpen:j}),(0,n.jsx)(k,{isOpen:S,setIsOpen:E})]})}let P=o.Ay.h1.withConfig({componentId:"sc-80688f35-0"})(["font-size:28px;line-height:42px;font-weight:bold;margin-bottom:4px;color:var(--Primary-Black-Base);"," @media ","{font-size:24px;line-height:36px;}"],(0,m.k)({lineClamp:"2"}),x.et.mobile),O=(0,o.Ay)(p.so).withConfig({componentId:"sc-80688f35-1"})([""]),G=(0,o.Ay)(p.so).withConfig({componentId:"sc-80688f35-2"})([""])},729094:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});var n=r(823798),i=r(621462),o=r(109562),l=r(294651),a=r(422264),s=r(127564),c=r(677849),d=r(505724),p=r(526278);function u(e){let{reviewPlanGroup:t,onCancel:r=()=>{},reload:o=()=>{}}=e,u=(0,d.A)(),{isShowReviewConfirmAlert:g,setIsShowReviewConfirmAlert:x}=(0,i.useContext)(p._),m=(0,i.useCallback)(async e=>{try{await (0,l.lR)({planGroupId:e?._id}),u({type:c.D.SUCCESS,message:"æäº¤ç³è«æå"}),x(!1),o()}catch(e){console.error("Error occurreed on submit product planGroup review",e)}},[u,x,o]);return(0,n.jsx)(s.A,{title:"ç¢ºèªæäº¤ååç³è«ï¼",body:(0,n.jsxs)(h,{children:["çºç¢ºä¿ååå
§å®¹ç¬¦å平尿¢æ¬¾ï¼å¹³å°å°ä»¥äººå·¥å¯©æ ¸ï¼éçå 4ï½8 åå·¥ä½å¤©ï¼å¾
å¯©æ ¸ééå¾ï¼",(0,n.jsxs)("ul",{children:[(0,n.jsx)("li",{children:"系統èªååç¨æ¹æ¡ï¼ä½ 鍿å¯è¿åæ¹æ¡ç®¡çééæéæ°åç¨ï¼éæ°åç¨ä¸é æäº¤ç³è«ï¼"}),(0,n.jsx)("li",{children:"ä½ ææ¶å°å¯©æ ¸ééç䏿¶éç¥ Email èå°é´éºéç¥"}),(0,n.jsx)("li",{children:"å·²å å
¥ä½ æ²é¾çæå¡ææ¶å°æ°åå䏿¶ç Email èå°é´éºéç¥"})]}),(0,n.jsx)("br",{}),"妿å°ç³è«æ¹æ¡æä»»ä½çåï¼è«",(0,n.jsx)("a",{href:"https://vocus.cc/help_center/g0fJafNOivu1cQQYS0Vf",target:"_blank",rel:"noreferrer",children:"黿¤äºè§£æ´å¤"}),"ã"]}),buttons:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(a.A,{variant:"Ghost",onClick:()=>{r(),x(!1)},children:"åæ¶"}),(0,n.jsx)(a.A,{variant:"Fill-Secondary",onClick:()=>m(t),children:"確èª"})]}),open:g,onOpenChange:()=>x(!1)})}let h=o.Ay.div.withConfig({componentId:"sc-b2563106-0"})(["text-align:left;ul,li{font-size:16px;line-height:28px;padding-inline-start:0px;list-style-position:inside;}&&& a{color:var(--Primary-Gray-L-01);text-decoration:underline;}"])},818954:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var n=r(823798),i=r(448561),o=r(109562),l=r(314548),a=r(838432),s=r(709431);
1function c(e){let{copyright:t,isAdult:r}=e,o=(0,i.d4)(e=>e.salon);return(0,n.jsxs)(l.so,{flexDirection:"column",children:[(0,n.jsxs)(d,{flexDirection:"column",gap:"8px",children:[(0,n.jsx)(a.Ay,{textStyle:"H6",color:"var(--Primary-Gray-L-01)",children:"çæ¬èªªæ"}),(0,n.jsx)(u,{children:t||`æ¤ååçº ${o?.owner?.fullname} çæ¬ææï¼åè使¬æ³ä¿è·ãæªç¶ææ¬ä¸å¾éèªè½è¼ãèªè¡å
¬éæä½çºåæ¥ä½¿ç¨ï¼éè
å°é æ¿ææ³å¾è²¬ä»»ã`})]}),(0,n.jsxs)(p,{m:"24px 0px",borderRadius:"12px",p:"20px",flexDirection:"column",gap:"8px",bgColor:"var(--Primary-Gray-L-06)",children:[(0,n.jsx)(a.Ay,{textStyle:"H6",color:"var(--Primary-Gray-L-01)",children:"注æäºé
"}),(0,n.jsx)(u,{children:(0,n.jsxs)("ul",{children:[(0,n.jsxs)("li",{children:["å æ¸ä½åµä½å
§å®¹çºä¸ç¶æä¾å³å®æä¹ç·ä¸æåï¼æ
ä¸é©ç¨",` ${s.p9} `,"天éè³ææ³è¦ã餿ªæ¡æèª¤å¤ï¼ä¸å®å³è¡¨ç¤ºæ¨å·²ç¥ææ¬ååçºæ¸ä½åµä½å
§å®¹ï¼æç¡æ³åç鿬¾ç³è«ã"]}),(0,n.jsxs)("li",{children:["æªæ¡ä¸è¼é é¢çç覽æéçºä»æ¬¾æåå¾ç",` ${s.p9} `,"天å
§ï¼è«å¨æéå
§ååå
§å®¹ã"]}),r&&(0,n.jsx)("li",{children:"æ¤åå嫿æäººå
§å®¹ï¼æªæ»¿ 18 æ²ä¸å¾ç覽æè³¼è²·"})]})})]})]})}let d=(0,o.Ay)(l.so).withConfig({componentId:"sc-8df69a2c-0"})(["background:",";"],e=>{let{bgColor:t}=e;return t||""}),p=(0,o.Ay)(l.so).withConfig({componentId:"sc-8df69a2c-1"})(["background:",";"],e=>{let{bgColor:t}=e;return t||""}),u=o.Ay.div.withConfig({componentId:"sc-8df69a2c-2"})(["font-size:16px;line-height:28px;color:var(--Primary-Gray-L-01);ul{padding-inline-start:20px;list-style-position:outside;}"])},892283:(e,t,r)=>{"use strict";r.d(t,{b:()=>o});var n=r(713563),i=r(457140);function o(e){let{query:t,resolvedUrl:r,req:o}=e,{headers:l}=(0,i.mo)(e),a=o?.headers?o.headers["user-agent"]:null,s={};return a&&(s=(0,n.En)(a)),{headers:l,req:o,query:t,resolvedUrl:r,userAgent:a,ssrDevice:s,locale:e?.locale}}},895155:()=>{},910058:(e,t,r)=>{"use strict";r.d(t,{qN:()=>l,r$:()=>o});var n=r(64472),i=r(624750);let o=async e=>{let{id:t,headers:r}=e,{result:o}=await (0,i.A)({url:`${n.config.serverUrl}/api/intro-contents/${t}`,method:"GET",headers:r});return o},l=(e,t)=>(0,i.A)({method:"PATCH",params:t,url:`${n.config.serverUrl}/api/intro-contents/${e}/draft`})},921558:(e,t,r)=>{"use strict";r.d(t,{A:()=>g});var n=r(621462),i=r(675357),o=r(642198),l=r(294651),a=r(677849),s=r(900710),c=r(709431),d=r(505724),p=r(526278),u=r(610231),h=r(966070);function g(e){let{salonData:t,reload:r=()=>{}}=e,g=(0,o.useRouter)(),{tab:x}=g.query||{},m=(0,d.A)(),f=x===s.cV.PRODUCT,{setWarningCheapestPlan:y,setIsShowEditFieldErrorAlert:w,setIsShowDeletePlanGroupAlert:v,setIsShowReviewConfirmAlert:A,setIsShowHasPayUserAlert:C,setErrorFields:b}=(0,n.useContext)(p._),j=(0,n.useCallback)(e=>{window.open(`${(0,h.Xc)({salon:t,planGroup:e,isPreview:!0})}`)},[t]),I=(0,n.useCallback)(e=>{let r=`${(0,h.e6)(t,c.dl.EDIT,{planGroupId:e?.urlId||e?._id,queries:{category:f?s.cV.PRODUCT:s.cV.CONTENT,tab:f?c.gC[0]._id:c.tp[0]._id}})}`;g.push(r)},[t,g,f]),S=(0,n.useCallback)(async(e,t)=>{try{let n=!(e?.status>0),i={isActive:n};if(!n&&e?.livePayUserCount>0&&!t)return void C(!0);t&&(i.confirm=!0,y(null));let{result:o,statusCode:s}=await (0,l.SE)({planId:e?._id,params:i});if(202===s)return void y(o);n?m({type:a.D.SUCCESS,message:"æ¹æ¡åç¨æå"}):m({type:a.D.SUCCESS,message:"æ¹æ¡ééæåï¼å¯é¨æéæ°åç¨"}),C(!1),r()}catch(e){if(e?.result){let{result:t}=e;t?.error==="field required"&&(w(!0),b(t?.field_required))}console.error("Error occurred on changing planGroup status",e)}},[m,y,w,C,b,r]),E=(0,n.useCallback)(async e=>{try{if(!e?._id)throw Error("No planGroup id for deleting process");v(!1),await (0,l.z3)({planId:e?._id}),r(),m({type:a.D.SUCCESS,message:"æ¹æ¡åªé¤æå"})}catch(e){if(console.error("Error occurred on Deleting planGroup"),v(!1),"plan group is active"===e.error)return void m({type:a.D.WARNING,message:"æ¹æ¡åç¨ä¸ï¼ç¡æ³åªé¤"});m({type:a.D.ERROR,message:"æ¹æ¡åªé¤å¤±æ"})}},[m,v,r]),_=(0,n.useCallback)(async e=>{try{if(!e?._id)throw Error("No planGroup id for setting recommend");v(!1),await (0,l.MM)({planId:e?._id,params:{isRecommend:!e?.isRecommend}}),r(),m({type:a.D.SUCCESS,message:e?.isRecommend?"æåç§»é¤ææ¨è¦æ¹æ¡":"ææ¨è¦æ¹æ¡è¨å®æå"})}catch(t){console.error("Error occurred on setting recommend planGroup"),m({type:a.D.SUCCESS,message:e?.isRecommend?"ç§»é¤ææ¨è¦æ¹æ¡å¤±æ":"ææ¨è¦æ¹æ¡è¨å®å¤±æ"})}},[m,v,r]),k=(0,n.useCallback)(async e=>{try{await (0,l.e$)({planGroupId:e?._id}),A(!0)}catch(e){if(console.error("Error occurred on product fields check",e),e?.result){let{result:t}=e;t?.error==="field required"&&(b(t?.field_required),w(!0))}}},[A,w,b]);return{onPreview:j,onEdit:I,onToggleStatus:S,onDelete:E,onRecommend:_,onReview:k,onExport:(0,n.useCallback)(async e=>{try{if(!e?._id)return;m({type:a.D.INFO,message:"è¨å®å¯åºèçä¸..."});let r=await (0,l.Cj)({planGroupId:e._id,responseType:"blob"}),n=window.URL.createObjectURL(new Blob([r])),o=t?.name?t.name.replace(" ",""):"",s=e?.title?e.title.replace(" ",""):"",c=(0,i.default)(new Date,"yyyyMMddhhmmss");(0,u.c)({fileName:`${o}_${s}è¨å®è³æ_${c}`,fileExt:"csv",url:n}),m({type:a.D.SUCCESS,message:"è¨å®å¯åºæå"})}catch(e){console.error("Error occurred on exporting orders of planGroup",e),m({type:a.D.ERROR,message:"è¨å®å¯åºå¤±æï¼è«ç¨å¾å試"})}},[m,t]),onCopy:(0,n.useCallback)(async e=>{try{await navigator.clipboard.writeText(`${window.location.origin}${(0,h.Xc)({salon:t,planGroup:e})}`),m({type:a.D.SUCCESS,message:"ååé£çµè¤è£½æå"})}catch(e){console.error(e),m({type:a.D.SUCCESS,message:"ååé£çµè¤è£½å¤±æï¼è«è¯ç¹«å®¢ææç¨å¾å試"})}},[t,m])}}},942459:(e,t,r)=>{"use strict";r.d(t,{f5:()=>l});var n=r(64472),i=r(624750);let{serverUrl:o}=n.config,l=async e=>{let{params:t}=e,{result:r}=await (0,i.A)({url:`${o}/api/reports`,method:"POST",params:t});return r}},945152:()=>{},991755:(e,t,r)=>{"use strict";r.d(t,{A:()=>d});var n=r(823798),i=r(850084),o=r.n(i),l=r(109562),a=r(757743),s=r(401654);function c(e){let{isValid:t=!1,isInvalid:r=!1,children:i,...o}=e;return(0,n.jsxs)(p,{isValid:t,isInvalid:r,...o,children:[(0,n.jsx)(s.zP,{name:t?"icon-success_outline":r?"icon-warning_outline":"icon-info_outline",size:16}),i]})}let d=c;c.propTypes={isValid:o().bool,isInvalid:o().bool,children:o().oneOfType([o().string,o().element])};let p=l.Ay.div.withConfig({componentId:"sc-7a81651f-0"})(["display:flex;align-items:flex-start;gap:6px;color:var(--Primary-Gray-L-03);font-size:14px;line-height:1.2;span.link{font-weight:700;text-decoration:underline;}",";",";"," ",""],a.Zp,a.xe,e=>e.isInvalid?(0,l.AH)(["color:var(--Secondary-Orange-Base);"]):null,e=>e.isValid?(0,l.AH)(["color:var(--Secondary-Green-Base);"]):null)}}]);
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.