1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[36726],{4785:(e,t,n)=>{"use strict";n.d(t,{B:()=>i});var r=n(65162);let i=(e,t)=>{let n=(0,r.useRef)(void 0),i=(0,r.useCallback)(t=>{let[n]=t;e(n)},[e]),l=(0,r.useCallback)(e=>{e&&e instanceof Element&&(n.current=new IntersectionObserver(i,t),n.current.observe(e))},[i,t]),s=(0,r.useCallback)(()=>{var e;null==(e=n.current)||e.disconnect(),n.current=void 0},[]),a=(0,r.useCallback)(e=>{s(),l(e)},[l,s]);return(0,r.useEffect)(()=>s,[s]),{ref:a}}},6049:(e,t,n)=>{"use strict";n.d(t,{m:()=>c});var r=n(4930),i=n(65162),l=n(39593),s=n(65168),a=n(15177),o=n(52371),d=n(84279),u=n(89002);let c=(0,n(68596)._)("OverlayBox")()(e=>{let{open:t,innerRef:n,onDismiss:c,targetRef:m,children:h,zIndex:p,...g}=e,[f,y]=(0,i.useState)(null);(0,d._)(t);let{width:v,height:b}=(0,u.v)();(0,i.useEffect)(()=>{t&&(0,l.x)(m.current).then(e=>{y(e)})},[t,m,v,b]);let x=(0,i.useCallback)(e=>{e.target===e.currentTarget&&(null==c||c(),y(null))},[c]);return f&&t?(0,r.jsxs)(a.Q,{zIndex:p,top:0,right:0,bottom:0,left:0,children:[(0,r.jsx)(o.d,{"data-class101-target-id":"25061e9f0d47",position:"absolute",width:"100%",height:"100%",onClick:()=>null==c?void 0:c()}),(0,r.jsx)(s.a,{"data-class101-target-id":"bcdfabcf7654",as:"div",top:f.y,left:f.x,width:f.width,height:f.height,onClick:x,children:(0,r.jsx)(s.a,{role:"dialog",position:"absolute",ref:n,...g,children:h})})]}):null})},6749:(e,t,n)=>{"use strict";n.d(t,{Y:()=>a});var r=n(4930),i=n(65162),l=n(47952),s=n(36607);let a=Object.assign((0,i.memo)(e=>{let{size:t=24,fill:n="onColor",linearGradient:i,testId:a="copy-thin",...o}=e;return(0,r.jsxs)(s.z,{viewBox:"0 0 24 24",size:t,fill:n,linearGradient:i,testId:a,...o,children:[(0,r.jsx)(l.B.Path,{d:"M2.25 18h1.5V3.75H18v-1.5c0-.15-.1-.25-.25-.25H2.25C2.1 2 2 2.1 2 2.25v15.5c0 .15.1.25.25.25"}),(0,r.jsx)(l.B.Path,{d:"M7.25 20.25v-13h13v13zM5.8 22h15.95c.15 0 .3-.15.3-.3V5.8c0-.15-.15-.3-.3-.3H5.8c-.15 0-.3.15-.3.3v15.95c0 .1.15.25.3.25"})]})}),{iconType:"Thin"});a.displayName="CopyThin"},7720:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/[lang]/business/admin/[companySlug]/settings",function(){return n(36871)}])},7774:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(4930),i=n(65162),l=n(13248),s=n(27919),a=n(77519),o=n(24801);let d="calc(100vh - 64px)",u=(0,i.memo)(e=>{let{fullSizeMode:t=!1,height:n}=e;return(0,r.jsx)(o.NP,{theme:{mode:"light"},children:(0,r.jsx)(l.t,{backgroundColor:"background",width:"100%",height:function(e){let{fullSizeMode:t,height:n}=e;return t?"100vh":n||"calc(100vh - 72px)"}({fullSizeMode:t,height:n}),minHeight:[d,d,"auto"],overflow:"visible",children:(0,r.jsx)(s.T,{flexGrow:1,alignHorizontal:"center",alignVertical:"center",children:(0,r.jsx)(a.y,{size:"md"})})})})})},8074:(e,t,n)=>{"use strict";n.d(t,{B:()=>i});var r=n(65162);let i=e=>{var t;let{children:n,className:i,ref:l,...s}=e;return(0,r.cloneElement)(n,{...s,...l?{ref:l}:{},className:[null!=(t=n.props.className)?t:"",null!=i?i:""].join(" ").trim()})}},8742:(e,t,n)=>{"use strict";n.d(t,{h:()=>i,n:()=>r});let r={display1:{fontSize:"6rem",lineHeight:"6.75rem",fontWeight:"800"},display2:{fontSize:"4.5rem",lineHeight:"5.375rem",fontWeight:"800"},display3:{fontSize:"3rem",lineHeight:"3.75rem",fontWeight:"800"},display4:{fontSize:"2.5rem",lineHeight:"3.125rem",fontWeight:"800"},title1:{fontSize:"2.125rem",lineHeight:"2.75rem",fontWeight:"800"},title2:{fontSize:"1.75rem",lineHeight:"2.5rem",fontWeight:"700"},title3:{fontSize:"1.625rem",lineHeight:"2.25rem",fontWeight:"700"},title4:{fontSize:"1.25rem",lineHeight:"1.625rem",fontWeight:"700"},title5:{fontSize:"1.125rem",lineHeight:"1.375rem",fontWeight:"700"},title6:{fontSize:"1rem",lineHeight:"1.25rem",fontWeight:"700"},title7:{fontSize:"0.875rem",lineHeight:"1.125rem",fontWeight:"700"},body1:{fontSize:"1rem",lineHeight:"1.25rem",fontWeight:"400"},body2:{fontSize:"0.875rem",lineHeight:"1.125rem",fontWeight:"400"},body3:{fontSize:"0.8125rem",lineHeight:"1.125rem",fontWeight:"400"},body4:{fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"400"},body5:{fontSize:"0.6875rem",lineHeight:"0.875rem",fontWeight:"400"},body6:{fontSize:"0.625rem",lineHeight:"0.75rem",fontWeight:"400"},paragraph1:{fontSize:"1.25rem",lineHeight:"1.875rem",fontWeight:"400"},paragraph2:{fontSize:"1.125rem",lineHeight:"1.875rem",fontWeight:"400"},paragraph3:{fontSize:"1rem",lineHeight:"1.75rem",fontWeight:"400"}},i={extraBold:{fontWeight:"800"},bold:{fontWeight:"700"},medium:{fontWeight:"500"},regular:{fontWeight:"400"}}},11045:(e,t,n)=>{"use strict";n.d(t,{m:()=>y});var r=n(4930),i=n(65162),l=n(44160),s=n(23237),a=n(42298),o=n(52371),d=n(65168),u=n(43561),c=n(95639),m=n(34135),h=n(37501),p=n(39593),g=n(61044),f=n(22712);let y=(0,n(68596)._)("Tooltip")()(e=>{var t;let{children:n,anchorRef:y,content:v,enterDelay:b=100,leaveDelay:x=0,maxWidth:C=320,onClose:j,onOpen:S,offset:k=8,position:w="top",testId:z="tooltip",hidden:B=!1}=e,[M,A]=(0,i.useState)(!1),[I,E]=(0,i.useState)(!1),[O,R]=(0,i.useState)({x:0,y:0}),T=(0,i.useRef)(null),_=(0,i.useRef)(void 0),W=(0,i.useRef)(void 0),P=(0,i.useRef)(!1),{theme:{zIndex:V}}=(0,s.Am)(),H=(0,i.useRef)(0),{addEventListener:D}=(0,a.c)(),U=(0,i.useCallback)(async()=>{var e;let t=await (0,p.x)(null!=(e=null==y?void 0:y.current)?e:T.current);if(!_.current)return;let{x:n,y:r,left:i,right:s}=((e,t,n,r)=>{let{x:i,y:s}=(0,c.m)({referenceRect:e,targetRect:t,position:n,spacing:r}),a=(0,l.Y)();
1if(Object.values((0,m._)({viewport:a,targetRect:{...t,x:e.x+i,y:e.y+s}})).every(e=>e<=0))return{x:i+e.x,y:s+e.y};let{x:o,y:d}=(0,c.m)({referenceRect:e,targetRect:t,position:(0,h.J)(n,!1),spacing:r});return Object.values((0,m._)({viewport:a,targetRect:{...t,x:e.x+o,y:e.y+d}})).every(e=>e<=0)?{x:e.x+o,y:e.y+d}:n.includes("top")||n.includes("bottom")?{y:s+e.y,left:i+e.x<0?0:void 0,right:i+e.x+t.width>a.width?0:void 0}:n.includes("right")?{y:s+e.y,right:a.width-(i+e.x+t.width)}:{x:i+e.x,y:s+e.y}})(t,await (0,p.x)(_.current),w,k);R({x:n,y:r,left:i,right:s}),E(!0)},[y,k,w]),N=(0,i.useMemo)(()=>"function"==typeof window.matchMedia&&window.matchMedia("(hover: hover)").matches,[]),F=()=>{P.current=!1,clearTimeout(W.current),W.current=setTimeout(()=>{B||A(!0),null==S||S()},b)},L=(0,i.useCallback)(()=>{P.current=!0,clearTimeout(W.current),W.current=setTimeout(()=>{E(!1),null==j||j()},x)},[x,j]);(0,i.useEffect)(()=>D(e=>{let{scrollPosition:t}=e;H.current!==t&&L(),H.current=t}),[D,L,H]),((e,t,n)=>{(0,i.useEffect)(()=>{let r=e.current;if(n&&r)return r.addEventListener("click",t,!0),()=>r.removeEventListener("click",t,!0)})})(T,()=>{if(M&&!P.current)return void L();if(M){clearTimeout(W.current),P.current=!1,B||U(),null==S||S();return}F()},!N),(0,i.useEffect)(()=>()=>clearTimeout(W.current),[]);let $=(0,i.useCallback)(e=>{_.current=e,e&&U()},[U]);return(0,r.jsxs)(f.z,{"data-testid":z,children:[(0,r.jsx)(o.d,{ref:T,onHoverIn:N?F:void 0,onHoverOut:N?L:void 0,children:n}),M&&(0,r.jsx)(u.e,{ref:$,duration:200,easing:"easeOutQuad",animation:{opacity:+!!I},onEnd:I?void 0:()=>{B||(A(!1),R({x:0,y:0}))},children:(0,r.jsx)(d.a,{maxWidth:C,position:"fixed",py:6,px:8,zIndex:V.dropdown,top:O.y,left:null!=(t=O.left)?t:O.x,right:O.right,rounded:"md",backgroundColor:"inverseSurface",flexShrink:0,children:"string"==typeof v?(0,r.jsx)(g.n,{level:4,color:"onInverseSurface",children:v}):v})})]})})},13466:(e,t,n)=>{"use strict";n.d(t,{E:()=>M});var r=n(4930),i=n(96732),l=n(88658),s=n(7204),a=n(23237),o=n(65168),d=n(68596);let u=(0,d._)("Skeleton")(),c=667/Math.sin(100*Math.PI/180),m=(0,i.sf)("from { transform: translate3d(0, 0, 0); } to { transform: translate3d(".concat(c,"px, 0, 0); }")),h=e=>{let{baseColor:t,peakColor:n}=e,s=(0,i.jH)({position:"absolute",top:0,bottom:0,left:-c,right:0,pointerEvents:"none",backgroundImage:"repeating-linear-gradient(".concat(100,"deg, ").concat(t," 0px, ").concat(t," ").concat(198.5,"px, ").concat(n," ").concat(333.5,"px, ").concat(t," ").concat(468.5,"px, ").concat(t," ").concat(667,"px)"),animation:"".concat(m.className," ").concat(2e3,"ms linear infinite")});return(0,l.Yq)(m),(0,l.Yq)(s),(0,l.a0)(m,(0,l.a0)(s,(0,r.jsx)("div",{className:null==s?void 0:s.className})))},p=e=>{let{children:t,...n}=e,i=(0,s.T)(),{theme:{colors:l}}=(0,a.Am)();return(0,r.jsxs)(o.a,{backgroundColor:i?"overlay":"transparent",overflow:"hidden","aria-hidden":!0,...n,children:[t,i?null:(0,r.jsx)(h,{baseColor:l.overlay,peakColor:l.skeletonHighlight})]})};var g=n(56275);let f=(0,d._)("SkeletonAvatar")((0,g.X)({props:[{name:"size",responsive:!0}],variants:e=>{let{size:t}=e;return"number"==typeof t?{size:t}:"xs"===t?{size:16}:"sm"===t?{size:24}:"md"===t?{size:30}:{size:44}}}))(e=>{let{size:t}=e;return(0,r.jsx)(p,{rounded:"full",width:t,height:t})});var y=n(8736),v=n(58995),b=n(75053);let x=(0,d._)("SkeletonButton")((0,g.X)({props:[{name:"size",responsive:!0},{name:"width",responsive:!0}],variants:e=>{let{size:t,width:n}=e,{py:r,typography:i,rounded:l}=b.w1[t];switch(t){case"sm":return{py:r,typography:i,rounded:l,width:null!=n?n:62};case"md":return{py:r,typography:i,rounded:l,width:null!=n?n:72};case"lg":return{py:r,typography:i,rounded:l,width:null!=n?n:76};default:return{py:r,typography:i,rounded:l,width:null!=n?n:86}}}}))(e=>{let{typography:t,py:n,width:i,rounded:l}=e,{theme:{typography:s}}=(0,a.Am)();return(0,r.jsx)(p,{rounded:l,py:n,width:i,children:(0,r.jsx)(o.a,{height:(0,y.i)(t,e=>(0,v.m)(s[e].lineHeight))})})}),C=(0,d._)("SkeletonChip")((0,g.X)({props:[{name:"size",responsive:!0},{name:"width",responsive:!0}],variants:e=>{let{size:t,width:n}=e;return"sm"===t?{height:30,width:null!=n?n:48}:{height:38,width:null!=n?n:60}}}))(e=>{let{width:t="100%",height:n}=e;return(0,r.jsx)(p,{rounded:"full",width:t,height:n})}),j=(0,d._)("SkeletonField")((0,g.X)({props:[{name:"size",responsive:!0}],variants:{md:{height:38},lg:{height:50}}}))(e=>{let{width:t="100%",height:n}=e;return(0,r.jsx)(p,{rounded:"md",width:t,height:n})});var S=n(97340);let k=(0,d._)("SkeletonImage")()(e=>{let{width:t="100%",ratio:n,maxWidth:i,rounded:l="sm",...s}=e;return(0,r.jsx)(S.w,{width:t,ratio:n,maxWidth:i,children:(0,r.jsx)(p,{width:"100%",height:"100%",rounded:l,...s})})});var w=n(21984),z=n(27919);let B=(0,d._)("SkeletonText")()(e=>{let{lines:t=1,typography:n,maxWidth:i}=e,{theme:{typography:l}}=(0,a.Am)(),{fontSize:s,lineHeight:o}=(0,w.P)({typography:n},e=>({fontSize:(0,v.m)(l[e.typography].fontSize),lineHeight:(0,v.m)(l[e.typography].lineHeight)}));return(0,r.jsx)(z.T,{width:"100%",maxWidth:i,children:Array.from({length:t},(e,n)=>(0,r.jsx)(z.T,{width:n===t-1&&1!==t?"40%":"100%",height:o,alignVertical:"center",children:(0,r.jsx)(p,{height:s,rounded:"sm"})},n))})}),M=u(e=>(0,r.jsx)(p,{...e}));M.Image=k,M.Button=x,M.Field=j,M.Avatar=f,M.Text=B,M.Chip=C},13527:(e,t,n)=>{"use strict";n.d(t,{z:()=>s});var r=n(4930),i=n(65162),l=n(42261);let s=(0,i.memo)(e=>{let{testId:t="outlined-button",ref:n,...i}=e;return(0,r.jsx)(l.$,{...i,kind:"outlined",testId:t,ref:n})});s.displayName="OutlinedButton"},13897:(e,t,n)=>{"use strict";n.d(t,{e:()=>c});var r=n(4930),i=n(65162),l=n(15531);let s=(0,i.createContext)(void 0);var a=n(24653),o=n(68596),d=n(56275);let u=(0,o._)("Avatar")((0,d.X)({props:[{name:"size",responsive:!0}],variants:e=>{let{size:t}=e;return"number"==typeof t?{size:t,borderRadius:t/2}:"xs"===t?{size:16,borderRadius:8}:"sm"===t?{size:24,borderRadius:12}:"md"===t?{size:30,borderRadius:15}:{size:44,borderRadius:22}}}
1))(e=>{let{testId:t,src:n,alt:s,size:o,borderRadius:d,placeholder:u,innerRef:c}=e,{avatar:m}=(0,a.h)(),h=(0,i.useMemo)(()=>u||(null==m?void 0:m.placeholder)||"",[m,u]),[p,g]=(0,i.useState)(n||h);return(0,i.useEffect)(()=>{g(n||h)},[h,n]),(0,r.jsx)(l._,{ref:c,testId:t,src:p,alt:s,width:o,height:o,borderRadius:d,onError:()=>{g(h)},loading:"eager",sizes:o})}),c=(0,i.memo)(e=>{let{size:t,ref:n,...l}=e,a=(0,i.useContext)(s);return(0,r.jsx)(u,{...l,size:null!=a?a:t,ref:n})});c.displayName="Avatar"},15531:(e,t,n)=>{"use strict";n.d(t,{_:()=>a});var r=n(4930),i=n(65168),l=n(59544),s=n(23237);let a=(0,n(68596)._)("Image")()(e=>{var t;let{innerRef:n,src:a,alt:o,loading:d,fetchPriority:u,draggable:c=!1,testId:m="image",sizes:h,nativeResize:p,ariaHidden:g,borderColor:f,borderWidth:y,borderStyle:v,...b}=e,{dependencies:{image:x}}=(0,l.U)(),{theme:C}=(0,s.Am)(),j=Array.isArray(f)?f.map(e=>{var t;return e&&null!=(t=C.colors[e])?t:e}):f?null!=(t=C.colors[f])?t:f:void 0,S=Array.isArray(j)?j.some(e=>null!=e):null!=j,k=S?null!=y?y:1:y,w=S?null!=v?v:"solid":v,z={...void 0!==j&&{borderColor:j},...void 0!==k&&{borderWidth:k},...void 0!==w&&{borderStyle:w}},B=Array.isArray(a)?a.length:1,M=(Array.isArray(a)?a:[a]).map((e,t)=>{let n=Array(B).fill("none");return n[t]="flex",{src:"string"==typeof e?e:"",display:n}}),A=u?{fetchpriority:u}:void 0;return x?(0,r.jsx)(r.Fragment,{children:M.map((e,t)=>{let{src:i,display:l}=e;return(0,r.jsx)(x,{"data-testid":m,"aria-hidden":g,ref:n,loading:d,alt:o,src:i,display:l,sizes:h,draggable:c,...u?{fetchPriority:u}:{},...b,...z},"".concat(i,"_").concat(t))})}):(0,r.jsx)(r.Fragment,{children:M.map((e,t)=>{let{src:l,display:s}=e;return(0,r.jsx)(i.a,{as:"img","data-testid":m,"aria-hidden":g,ref:n,loading:d,alt:o,src:l,display:s,draggable:c,...null!=A?A:{},...b,...z},"".concat(l,"_").concat(t))})})})},20925:(e,t,n)=>{"use strict";n.d(t,{G:()=>i});var r=n(72195);let i=(e,t)=>(0,r.A)(e,t)}
1,21683:(e,t,n)=>{"use strict";n.d(t,{F:()=>i});var r=n(65162);let i=(e,t)=>{let n=(0,r.useCallback)(()=>{switch(document.visibilityState){case"visible":"visible"===e&&t();break;case"hidden":("invisible"===e||"background"===e||"inactive"===e)&&t();break;default:return}},[t,e]);(0,r.useEffect)(()=>(document.addEventListener("visibilitychange",n),()=>{document.removeEventListener("visibilitychange",n)}),[n])}},21984:(e,t,n)=>{"use strict";function r(e,t){let n=Math.max(...Object.values(e).map(e=>Array.isArray(e)?e.length:1)),r=Object.fromEntries(Object.entries(e).map(e=>{let[t,r]=e;return[t,((e,t)=>{let n=Array.isArray(e)?e:[e],r=n[n.length-1];return Array.from({length:t}).map((e,t)=>{var i;return null!=(i=n[t])?i:r})})(r,n)]}));return Array.from({length:n}).map((e,n)=>t(Object.fromEntries(Object.entries(r).map(e=>{let[t,r]=e;return[t,r[n]]})))).reduce((e,t)=>({...e,...Object.fromEntries(Object.entries(t).map(t=>{var n;let[r,i]=t;return[r,[...null!=(n=e[r])?n:[],i]]}))}),{})}n.d(t,{P:()=>r})},22328:(e,t,n)=>{"use strict";n.d(t,{m:()=>A});var r=n(4930),i=n(65162),l=n(82759),s=n(44160),a=n(89002),o=n(92672),d=n(42316),u=n(9552),c=n(23237),m=n(84279),h=n(65168),p=n(24801),g=n(6049),f=n(21788),y=n(43561),v=n(95639),b=n(34135),x=n(37501),C=n(27691),j=n(30003),S=n(89309),k=n(39593),w=n(42588),z=n(75053);let B=(0,n(68596)._)("Dropdown")(),M=e=>l.i?0:Math.min(z.B8,"number"==typeof e?e:0),A=B(e=>{let{defaultOpen:t=!1,open:n,calculatedHeight:l=!0,renderOpener:z,renderContents:B,position:A="bottom",spacing:I=8,onClose:E,onOpen:O,testId:R="dropdown",py:T,pb:_,pt:W,width:P,minWidth:V,maxHeight:H}=e,D=(0,i.useRef)(null),U=(0,i.useRef)(null),N=(0,i.useRef)(null),[F,L]=(0,C.i)({value:n,defaultValue:t}),[$,X]=(0,i.useState)(!1),[G,J]=(0,i.useState)({}),[Y,Z]=(0,i.useState)(A.startsWith("top")?"top":"bottom"),[q,K]=(0,i.useState)(),[Q,ee]=(0,i.useState)(),{height:et}=(0,a.v)(),{generateStyle:en}=(0,o.c)(),{bottom:er}=en({edges:["bottom"],minInsets:{bottom:20}}),{rootBreakPointIndex:ei,getRootResponsiveValue:el}=(0,d.tv)(),es=0===ei,ea=(0,j.O)(T)?el(T):12,eo=M(es?el(null!=W?W:24):(0,j.O)(W)?el(W):ea),ed=M(es?20:(0,j.O)(_)?el(_):ea),{offset:eu}=(0,u.yD)({position:"top"}),{offset:ec}=(0,u.yD)({position:"bottom"}),{theme:{zIndex:em}}=(0,c.Am)(),{mode:eh}=(0,c.Rk)({root:!0}),ep=(0,i.useMemo)(()=>({mode:eh}),[eh]),eg=(0,i.useCallback)(()=>!!es&&(L(!1),F),[es,F,L]);(0,S.H)(eg),(0,m._)(F||$);let ef=(0,i.useCallback)(()=>{L(!0),null==O||O()},[O,L]),ey=(0,i.useCallback)(()=>{L(!1),null==E||E()},[E,L]);(0,i.useEffect)(()=>{if(!F||"undefined"==typeof document)return;let e=e=>{var t;"Escape"===e.code&&(null==(t=N.current)?void 0:t.contains(e.target))&&ey()};return document.addEventListener("keydown",e,!0),()=>document.removeEventListener("keydown",e,!0)},[ey,F]);let ev=(0,i.useMemo)(()=>null==z?void 0:z({open:ef,isOpen:F,ref:U}),[F,ef,z]),eb=(0,i.useCallback)(async e=>{var t;let{width:n,height:r,top:i,left:l}=e,a=await (0,k.x)(null!=(t=U.current)?t:D.current),o=r;if(es)(0,j.O)(H)&&(o=Math.min(o,el(H))),ee(o);else{let e,t,{x:o,y:d}=((e,t,n,r)=>{let[i,l]=n.split("-"),{x:a,y:o}=(0,v.m)({referenceRect:e,targetRect:t,position:n,spacing:r}),d=(0,s.Y)(),u=(0,b._)({viewport:d,targetRect:{...t,x:e.x+a,y:e.y+o}}),c=i,m=[l];return Object.values(u).every(e=>e<=0)?{x:a,y:o}:(u[i]>0&&(c=(0,x.J)(i)),(e=>"top"===e||"bottom"===e?["left","right"]:["top","bottom"])(i).some(e=>u[e]>0)&&(m=["start",void 0,"end"].filter(e=>e!==l)),m.map(n=>(0,v.m)({referenceRect:e,targetRect:t,position:void 0!==n?[c,n].join("-"):c,spacing:r})).find(n=>{let{x:r,y:i}=n;return Object.values((0,b._)({viewport:d,targetRect:{...t,x:e.x+r,y:e.y+i}})).every(e=>e<=0)})||{x:a,y:o})})(a,{x:l,y:i,width:n,height:r+(T?el(T):12)*2},A,I),u=Math.max("number"==typeof eu?eu:8,8),c=Math.max("number"==typeof ec?ec:8,8),m=(T?el(T):12)*2,h=Math.max(0,a.y-u-I),p=Math.max(0,et-(a.y+a.height+I+c));d>0?p<100&&h>p?(e="top",t=h):(e="bottom",t=p):d<0?h<100&&p>h?(e="bottom",t=p):(e="top",t=h):(e="bottom",t=p);let g=Math.min(r+m,t);(0,j.O)(H)&&(g=Math.min(g,el(H)+m));let f=Math.max(0,g-m);Z(e),"bottom"===e?J({x:o,y:a.height+I}):J({x:o,y:-(g+I)}),ee(f)}},[el,es,H,A,T,I,ec,eu,et]),ex=(0,i.useCallback)(e=>{let{height:t}=e;K(t)},[]);return(0,i.useEffect)(()=>{F||X(!1)},[F]),(0,i.useEffect)(()=>{(0,j.O)(null==G?void 0:G.x)&&(0,j.O)(null==G?void 0:G.y)&&X(!0)},[G]),(0,i.useEffect)(()=>{es&&(0,j.O)(Q)&&X(!0)},[Q,es]),(0,i.useEffect)(()=>{$||(J({}),ee(void 0))},[$]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(h.a,{ref:D,flexShrink:0,children:ev}),!es&&F&&(0,r.jsx)(p.NP,{theme:ep,children:(0,r.jsx)(g.m,{open:F,onDismiss:ey,targetRef
1:U.current?U:D,zIndex:em.dropdown,top:G.y,left:G.x,children:(0,r.jsx)(y.e,{animation:$?{opacity:1,scale:1,y:0}:{opacity:0,scale:.95,y:"bottom"===Y?-8:8},duration:150,children:(0,r.jsx)(h.a,{alignSelf:"flex-start",children:(0,r.jsx)(h.a,{backgroundColor:"surface2",py:(0,j.O)(T)?T:12,elevationLevel:2,rounded:"md",minWidth:V?el(V):["100%",240,240],pb:_,pt:W,width:P,children:(0,r.jsx)(y.e,{animation:$?{height:l&&(0,j.O)(Q)?Q+eo+ed:void 0}:{},duration:150,children:(0,r.jsx)(f.Z,{height:l&&(0,j.O)(Q)?Q+eo+ed:void 0,pt:eo,mt:-eo,pb:ed,mb:-ed,hideScroll:(null!=q?q:0)<et-120,children:(0,r.jsx)(h.a,{ref:N,onLayout:eb,flexShrink:0,"data-testid":R,children:B({close:ey})})})})})})})})}),es&&(0,r.jsx)(p.NP,{theme:ep,children:(0,r.jsx)(w.z,{"data-class101-target-id":"255289cb2b06",open:F,zIndex:em.dropdown,onClick:ey,transitionDuration:200,children:(0,r.jsx)(y.e,{animation:{y:$?0:null!=q?q:et},duration:200,children:(0,r.jsx)(h.a,{mt:"auto",pt:null!=W?W:24,pb:er,width:"100%",maxHeight:et-120,backgroundColor:"surface2",roundedTopLeft:"2xl",roundedTopRight:"2xl",onLayout:ex,children:(0,r.jsx)(y.e,{animation:{height:(0,j.O)(Q)?Q+eo+ed:void 0},duration:200,children:(0,r.jsx)(f.Z,{height:(0,j.O)(Q)?Q+eo+ed:void 0,pt:eo,mt:-eo,pb:ed,mb:-ed,hideScroll:(null!=q?q:0)<et-120,children:(0,r.jsx)(h.a,{ref:N,onLayout:eb,flexShrink:0,"data-testid":R,children:B({close:ey})})})})})})})})]})})},23789:(e,t,n)=>{"use strict";n.d(t,{E:()=>a});var r=n(4930),i=n(65162),l=n(31626),s=n(93345);let a=(0,i.forwardRef)((e,t)=>{let{page:n,params:i,query:a,fragment:o,appName:d,onMove:u,testId:c,...m}=e,{LinkComponent:h}=(0,l.k)();return(0,r.jsx)(s.q,{page:n,params:i,query:a,appName:d,fragment:o,children:e=>{let{url:n}=e;return(0,r.jsx)(h,{"data-class101-target-id":"45ff8f637a16",to:n,ref:t,onClick:u,testId:c,...m})}})})},24419:(e,t,n)=>{"use strict";n.d(t,{$:()=>l});var r=n(4930),i=n(65168);let l=(0,n(68596)._)("Space")()(e=>(0,r.jsx)(i.a,{flexShrink:0,...e}))},24653:(e,t,n)=>{"use strict";n.d(t,{T:()=>s,h:()=>a});var r=n(4930),i=n(65162);let l=(0,i.createContext)({avatar:{placeholder:"https://cdn.class101.net/images/2483a7e5-8c20-4ac7-a209-805b4482664d"},cardNumberField:{cardIconMap:{}}}),s=e=>{let{children:t,...n}=e,s=a(),o=(0,i.useMemo)(()=>({...s,...n}),[s,n]);return(0,r.jsx)(l.Provider,{value:o,children:t})},a=()=>(0,i.useContext)(l);s.displayName="CustomizationProvider"},27534:(e,t,n)=>{"use strict";n.d(t,{W:()=>l});var r=n(65162),i=n(4785);let l=(e,t)=>{let[n,l]=(0,r.useState)(e),s=(0,r.useCallback)(e=>{(0,r.startTransition)(()=>l(e.isIntersecting))},[]),{ref:a}=(0,i.B)(s,t);return{ref:a,isInView:n}}},28044:(e,t,n)=>{"use strict";n.d(t,{l:()=>a});var r=n(65162),i=n(9552),l=n(42316),s=n(30003);let a=(0,n(68596)._)("StackedItem")()(e=>{let{id:t,order:n,position:a,height:o,renderBeforeCalculate:d,safeAreaInset:u=!1,children:c}=e,{offset:m,unregister:h,changeHeight:p}=(0,i.Zz)({id:t,order:n,position:a,safeAreaInset:u}),{getResponsiveValue:g}=(0,l.tv)();return(0,r.useEffect)(()=>{(0,s.O)(o)&&p(g(o))},[p,g,o]),(0,r.useEffect)(()=>()=>{h()},[]),d||(0,s.O)(m)?c({offset:null!=m?m:0,setHeight:p}):null})},30448:(e,t,n)=>{"use strict";n.d(t,{g:()=>i});var r=n(17849);let i=()=>{let{useParamsHook:e}=(0,r.G)();return e()}},34135:(e,t,n)=>{"use strict";n.d(t,{_:()=>r});let r=e=>{let{viewport:t,targetRect:n}=e,r=-n.y,i=n.y+n.height-t.height;return{top:r,bottom:i,left:-n.x,right:n.x+n.width-t.width}}},36261:(e,t,n)=>{"use strict";n.d(t,{J:()=>o});var r=n(4930),i=n(16296),l=n(13521),s=n(26821);let a={ghost:l.a,contained:s.W},o=e=>{let{variant:t,loading:n,...l}=e,{formState:s}=(0,i.xW)(),o=a[null!=t?t:"contained"];return(0,r.jsx)(o,{...l,type:"submit",loading:null!=n?n:s.isSubmitting})}},36871:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>eh});var r=n(4930),i=n(79536),l=n(4841),s=n(30448),a=n(65162),o=n(42316),d=n(65168),u=n(43561),c=n(43387),m=n(47769),h=n(19745);let p=(0,m._)()((0,h.X)({props:[{name:"size",responsive:!0,default:"md"}],variants:{sm:{width:34,height:20,roundSize:14,roundRadius:7,borderRadius:10},md:{width:46,height:26,roundSize:20,roundRadius:10,borderRadius:13}}}),(0,h.X)({props:[{name:"disabled",default:!1,keep:!0}],variants:{true:{backgroundColor:"disable",activeColor:"disable",p:3},false:{backgroundColor:"surface1",activeColor:"primary",pressable:{overlayColor:"onPrimary"},borderWidth:1,borderStyle:"solid",borderColor:"outline2",p:2}}}))((0,a.forwardRef)((e,t)=>{var n;let{name:i,roundSize:l,roundRadius:s,onValueChange:m,onChange:h,disabled:p,backgroundColor:g,activeColor:f,id:y,defaultValue:v,value:b,pressable:x,__styles__:C,__theme__:j,...S}=e,k=(0,a.useId)(),w=null!=y?y:k,z=function(e){if(!e||"object"!=typeof e)return{position:"web_static"};let{interactions:t=[],overlayColor:n}=e;return n?{cursor:"pointer",overflow:"hidden",position:"relative",zIndex:0,pseudoBefore:{position:"absolute",zIndex:-1,left:0,right:0,top:0,bottom:0,opacity:0,backgroundColor:n},...t.includes("hover")?{pseudoHover:{pseudoBefore:{opacity:"overlay.hover"}}}:{},...t.includes("focus")?{pseudoFocus:{pseudoBefore:{opacity:"overlay.focus"}}}:{},...t.includes("active")?{pseudoActive:{pseudoBefore:{opacity:"overlay.active"}}
1}:{}}:{cursor:"pointer"}}(x),{getResponsiveValue:B}=(0,o.tv)(),M=B(l),[A,I]=(0,a.useState)(null!=(n=null!=b?b:v)&&n),[E,O]=(0,a.useState)(!1),[R,T]=(0,a.useState)(0),_=null!=b?b:A;return(0,a.useEffect)(()=>{void 0!==b&&b!==A&&I(b)},[A,b]),(0,r.jsxs)(d.a,{as:"label",htmlFor:w,display:"inline-flex",children:[(0,r.jsx)(u.e,{animation:{backgroundColor:_?f:g},duration:R,children:(0,r.jsx)(d.a,{display:"flex",...S,...z,outlineColor:E?"primary":void 0,outlineOffset:E?2:void 0,outlineStyle:E?"solid":void 0,outlineWidth:E?2:void 0,children:(0,r.jsx)(u.e,{animation:{x:_?M:0},duration:R,children:(0,r.jsx)(d.a,{borderRadius:s,width:l,height:l,backgroundColor:"onPrimary"})})})}),(0,r.jsx)(c.e,{"data-class101-target-id":"5f373914c5b2",id:w,type:"checkbox",name:i,disabled:p,onChange:e=>{p||(void 0===b&&I(e.target.checked),0===R&&T(300),null==m||m(e.target.checked),null==h||h({value:e.target.checked}))},onFocus:()=>O(!0),onBlur:()=>O(!1),checked:_,display:"web_block",ref:t})]})}));var g=n(82304),f=n(54991),y=n(71188),v=n(13248),b=n(27919),x=n(22712),C=n(16615),j=n(61044),S=n(77519),k=n(38478),w=n(50519),z=n(36261),B=n(26821),M=n(13527),A=n(71646),I=n(35545),E=n(86739),O=n(56392),R=n(78975),T=n(23725);function _(){let e=(0,E._)(["\n query BizCompanyOnBusinessDomainForm($companySlug: String!) {\n bizCompany: getBizCompanyBySlug(bizCompanySlug: $companySlug) {\n id\n domain\n }\n}\n "]);return _=function(){return e},e}function W(){let e=(0,E._)(["\n mutation UpdateBizCompanyDomainOnBusinessDomainForm($input: UpdateBizCompanyDomainInput!) {\n updateBizCompanyDomain(input: $input) {\n bizCompany {\n id\n domain\n }\n }\n}\n "]);return W=function(){return e},e}let P={},V=(0,O.J1)(_()),H=(0,O.J1)(W()),D=(0,y.o)(e=>{var t;let{companySlug:n}=e,{localizeText:r}=(0,A.B)(),{showToast:i}=(0,I.hs)(),[l,s]=(0,a.useState)(!1),{bizCompanyData:o,isBizCompanyLoading:d}=function(e){let t={...P,...e},n=R.I(V,t);return a.useMemo(()=>{let{data:e,loading:t,error:r,called:i,refetch:l,fetchMore:s,...a}=n;return{bizCompanyData:null==e?void 0:e.bizCompany,isBizCompanyLoading:t,bizCompanyError:r,isBizCompanyCalled:i,refetchBizCompany:l,fetchMoreBizCompany:s,...a}},[n])}({variables:{companySlug:n}}),[u,{isUpdateBizCompanyDomainLoading:c}]=function(e){let t={...P,...e},n=T.n(H,t);return a.useMemo(()=>{let{data:e,loading:t,error:r,called:i,...l}=n[1];return[n[0],{updateBizCompanyDomainData:null==e?void 0:e.updateBizCompanyDomain,isUpdateBizCompanyDomainLoading:t,updateBizCompanyDomainError:r,isUpdateBizCompanyDomainCalled:i,...l}]},[n])}({onCompleted:()=>{s(!1),i({title:r({defaultMessage:"íì¬ ëë©ì¸ì´ ë³ê²½ëììµëë¤.",id:"business.settings.sso.domain.editSuccess"}),kind:"success"})},onError:e=>i({title:e.message,kind:"error"})});return{domain:null!=(t=null==o?void 0:o.domain)?t:"",editing:l,fetching:d,loading:c,handlePressEdit:()=>s(!0),handlePressCancel:()=>s(!1),handleSubmit:e=>{u({variables:{input:{companySlug:n,domain:e.domain}}})},localizeText:r}},e=>{let{fetching:t,editing:n,loading:i,domain:l,handlePressCancel:s,handlePressEdit:a,handleSubmit:o,localizeText:d}=e;return t?null:(0,r.jsx)(k.l,{"data-class101-target-id":"27827c003a32",onSubmit:o,children:(0,r.jsxs)(b.T,{gap:16,children:[(0,r.jsx)(C.h,{level:6,color:"onView1",weight:"medium",children:(0,r.jsx)(f.V,{id:"business.settings.sso.default",defaultMessage:"기본 ì¤ì "})}),(0,r.jsx)(w.Y,{name:"domain",disabled:!n,label:d({defaultMessage:"íì¬ ëë©ì¸",id:"business.settings.sso.domain.label"}),placeholder:d({defaultMessage:"ì: acmecorp.com",id:"business.settings.sso.domain.placeholder"}),defaultValue:l}),n?(0,r.jsxs)(x.z,{gap:16,children:[(0,r.jsx)(x.z,{flex:1,children:(0,r.jsx)(z.J,{kind:"secondary",size:"lg",loading:i,full:!0,children:(0,r.jsx)(f.V,{id:"business.settings.sso.submit",defaultMessage:"ì ì¥"})})}),(0,r.jsx)(x.z,{flex:1,children:(0,r.jsx)(B.W,{"data-class101-target-id":"ab416146650f",kind:"tertiary",size:"lg",onClick:s,disabled:i,full:!0,children:(0,r.jsx)(f.V,{id:"business.settings.sso.cancel",defaultMessage:"ì·¨ì"})})})]}):(0,r.jsx)(M.z,{"data-class101-target-id":"3d7986245877",size:"lg",onClick:a,children:(0,r.jsx)(f.V,{id:"business.settings.sso.edit",defaultMessage:"ìì í기"})})]})})});var U=n(57581),N=n(1907),F=n(48621),L=n(6749);function $(){let e=(0,E._)(["\n query BizCompanyOnBusinessSamlEntityInfo($companySlug: String!) {\n bizCompany: getBizCompanyBySlug(bizCompanySlug: $companySlug) {\n id\n samlSettings {\n id\n serviceProviderEntityId\n assertionConsumerServiceUrl\n }\n }\n}\n "]);return $=function(){return e},e}let X={},G=(0,O.J1)($()),J=(0,y.o)(e=>{var t,n,r,i;let{companySlug:l}=e,{localizeText:s}=(0,A.B)(),{showToast:o}=(0,I.hs)(),{bizCompanyData:d,isBizCompanyLoading:u}=function(e){let t={...X,...e},n=R.I(G,t);return a.useMemo(()=>{let{data:e,loading:t,error:r,called:i,refetch:l,fetchMore:s,...a}=n;
1return{bizCompanyData:null==e?void 0:e.bizCompany,isBizCompanyLoading:t,bizCompanyError:r,isBizCompanyCalled:i,refetchBizCompany:l,fetchMoreBizCompany:s,...a}},[n])}({variables:{companySlug:l}});return{serviceProviderEntityId:null!=(r=null==d||null==(t=d.samlSettings)?void 0:t.serviceProviderEntityId)?r:"",assertionConsumerServiceUrl:null!=(i=null==d||null==(n=d.samlSettings)?void 0:n.assertionConsumerServiceUrl)?i:"",fetching:u,handleCopyEntityId:()=>{var e,t;navigator.clipboard.writeText(null!=(t=null==d||null==(e=d.samlSettings)?void 0:e.serviceProviderEntityId)?t:""),o({title:s({defaultMessage:"Entity ID를 ë³µì¬íìµëë¤.",id:"business.settings.sso.entityId.copied"}),kind:"success"})},handleCopyAcsUrl:()=>{var e,t;navigator.clipboard.writeText(null!=(t=null==d||null==(e=d.samlSettings)?void 0:e.assertionConsumerServiceUrl)?t:""),o({title:s({defaultMessage:"ACS URLì ë³µì¬íìµëë¤.",id:"business.settings.sso.acsUrl.copied"}),kind:"success"})},localizeText:s}},e=>{let{serviceProviderEntityId:t,assertionConsumerServiceUrl:n,handleCopyEntityId:i,handleCopyAcsUrl:l,localizeText:s}=e;return(0,r.jsxs)(b.T,{gap:16,children:[(0,r.jsx)(C.h,{level:6,color:"onView1",weight:"medium",children:(0,r.jsx)(f.V,{id:"business.settings.sso.entity",defaultMessage:"ìë ì 보를 IdPì ì
ë ¥í´ ì£¼ì¸ì."})}),(0,r.jsx)(U.j,{label:s({defaultMessage:"Entity ID",id:"business.settings.sso.entityId.label"}),value:t,renderRightIcon:()=>(0,r.jsx)(N.M,{height:"100%",p:12,right:0,children:(0,r.jsx)(F.K,{"data-class101-target-id":"354ed7ea8ee0",IconComponent:L.Y,size:"md",onClick:i})})}),(0,r.jsx)(U.j,{label:s({defaultMessage:"Assertion Consumer Service (ACS URL)",id:"business.settings.sso.ascUrl.label"}),value:n,renderRightIcon:()=>(0,r.jsx)(N.M,{height:"100%",p:12,right:0,children:(0,r.jsx)(F.K,{"data-class101-target-id":"f9006dbeb961",IconComponent:L.Y,size:"md",onClick:l})})})]})});var Y=n(80235);function Z(){let e=(0,E._)(["\n query BizCompanyOnBusinessSamlSettingsForm($companySlug: String!) {\n bizCompany: getBizCompanyBySlug(bizCompanySlug: $companySlug) {\n id\n samlSettings {\n id\n singleSignOnServiceUrl\n x509Certificate\n }\n }\n}\n "]);return Z=function(){return e},e}function q(){let e=(0,E._)(["\n mutation UpdateSamlSettingsOnBusinessSamlSettingsForm($input: UpdateSamlSettingsInput!) {\n updateSamlSettings(input: $input) {\n bizCompany {\n id\n samlSettings {\n id\n singleSignOnServiceUrl\n x509Certificate\n }\n }\n }\n}\n "]);return q=function(){return e},e}let K={},Q=(0,O.J1)(Z()),ee=(0,O.J1)(q()),et=(0,y.o)(e=>{var t,n,r,i;let{companySlug:l}=e,{localizeText:s}=(0,A.B)(),{showToast:o}=(0,I.hs)(),[d,u]=(0,a.useState)(!1),{bizCompanyData:c,isBizCompanyLoading:m}=function(e){let t={...K,...e},n=R.I(Q,t);return a.useMemo(()=>{let{data:e,loading:t,error:r,called:i,refetch:l,fetchMore:s,...a}=n;return{bizCompanyData:null==e?void 0:e.bizCompany,isBizCompanyLoading:t,bizCompanyError:r,isBizCompanyCalled:i,refetchBizCompany:l,fetchMoreBizCompany:s,...a}},[n])}({variables:{companySlug:l}}),[h,{isUpdateSamlSettingsLoading:p}]=function(e){let t={...K,...e},n=T.n(ee,t);return a.useMemo(()=>{let{data:e,loading:t,error:r,called:i,...l}=n[1];return[n[0],{updateSamlSettingsData:null==e?void 0:e.updateSamlSettings,isUpdateSamlSettingsLoading:t,updateSamlSettingsError:r,isUpdateSamlSettingsCalled:i,...l}]},[n])}({onCompleted:()=>{u(!1),o({title:s({defaultMessage:"IdP ì 보를 ìì íìµëë¤.",id:"business.settings.sso.saml.editSuccess"}),kind:"success"})},onError:e=>o({title:e.message,kind:"error"})});return{singleSignOnServiceUrl:null!=(r=null==c||null==(t=c.samlSettings)?void 0:t.singleSignOnServiceUrl)?r:"",x509Certificate:null!=(i=null==c||null==(n=c.samlSettings)?void 0:n.x509Certificate)?i:"",editing:d,fetching:m,loading:p,handlePressEdit:()=>u(!0),handlePressCancel:()=>u(!1),handleSubmit:e=>{h({variables:{input:{companySlug:l,singleSignOnServiceUrl:e.singleSignOnServiceUrl,x509Certificate:e.x509Certificate}}})},localizeText:s}},e=>{let{singleSignOnServiceUrl:t,x509Certificate:n,editing:i,fetching:l,loading:s,handlePressEdit:a,handlePressCancel:o,handleSubmit:d,localizeText:u}=e;return l?null:(0,r.jsx)(k.l,{"data-class101-target-id":"f7ae14e07b29",onSubmit:d,children:(0,r.jsxs)(b.T,{gap:16,children:[(0,r.jsx)(C.h,{level:6,color:"onView1",weight:"medium",children:(0,r.jsx)(f.V,{id:"business.settings.sso.idp",defaultMessage:"IdPì ì 보를 ì
ë ¥í´ ì£¼ì¸ì."})}),(0,r.jsx)(w.Y,{name:"singleSignOnServiceUrl",disabled:!i,label:u({defaultMessage:"SSO URL",id:"business.settings.sso.singleSignOnServiceUrl.label"}),defaultMessage:u({defaultMessage:"IdPê° ì ê³µíë SSO ìë¹ì¤ì ëí endpoint를 ëíë
ëë¤.",id:"business.settings.sso.singleSignOnServiceUrl.description"}),placeholder:u({defaultMessage:"ì: https://acmecorp.com/login",id:"business.settings.sso.singleSignOnServiceUrl.placeholder"}),defaultValue:t}),(0,r.jsx)(Y.t,{name:"x509Certificate",disabled:!i,label:u({defaultMessage:"X.509 Certificate",id:"business.settings.sso.x509Certificate.label"}),defaultMessage:u({defaultMessage:"keyë§ ì
ë ¥í´ ì£¼ì¸ì. (-----BEGIN CERTIFICATE-----, -----END CERTIFICATE----- ì ì¸)",id:"business.settings.sso.x509Certificate.description"}),placeholder:u({defaultMessage:"ì: MIIDljCCAn6gAwIBAgIGAYh1kt...Q4VnN/uH81YUZ7ZJF86KTteQ==",id:"business.settings.sso.x509Certificate.placeholder"}),defaultValue:n,rows:5}),i?(0,r.jsxs)(x.z,{gap:16,children:[(0,r.jsx)(x.z,{flex:1,children:(0,r.jsx)(z.J,{kind:"secondary",size:"lg",loading:s,full:!0,children:(0,r.jsx)(f.V,{id:"business.settings.sso.submit",defaultMessage:"ì ì¥"})})}),(0,r.jsx)(x.z,{flex:1,children:(0,r.jsx)(B.W,{"data-class101-target-id":"3dec9e6d8e1a",kind:"tertiary",size:"lg",onClick:o,disabled:s,full:!0,children:(0,r.jsx)(f.V,{id:"business.settings.sso.cancel",defaultMessage:"ì·¨ì"})})})]}):(0,r.jsx)(M.z,{"data-class101-target-id":"cab093e80dde",size:"lg",onClick:a,children:(0,r.jsx)(f.V,{id:"business.settings.sso.edit",defaultMessage:"ìì í기"})})]})})});var en=n(59845);function er(){let e=(0,E._)(["\n query BizCompanyOnBusinessSsoConfig($companySlug: String!) {\n bizCompany: getBizCompanyBySlug(bizCompanySlug: $companySlug) {\n id\n samlSettings {\n id\n }\n }\n}\n "]);return er=function(){return e},e}function ei(){let e=(0,E._)(["\n mutation CreateSamlSettingsOnBusinessSsoConfig($input: CreateSamlSettingsInput!) {\n createSamlSettings(input: $input) {\n bizCompany {\n id\n samlSettings {\n id\n }\n }\n }\n}\n "]);return ei=function(){return e},e}let el={},es=(0,O.J1)(er()),ea=(0,O.J1)(ei()),eo=(0,y.o)(e=>{var t;let{companySlug:n}=e,{bizCompanyData:r,isBizCompanyLoading:i}=function(e){let t={...el,...e},n=R.I(es,t);return a.useMemo(()=>{let{data:e,loading:t,error:r,called:i,refetch:l,fetchMore:s,...a}=n;
1return{bizCompanyData:null==e?void 0:e.bizCompany,isBizCompanyLoading:t,bizCompanyError:r,isBizCompanyCalled:i,refetchBizCompany:l,fetchMoreBizCompany:s,...a}},[n])}({variables:{companySlug:n}}),[l,{isCreateSamlSettingsLoading:s}]=function(e){let t={...el,...void 0},n=T.n(ea,t);return a.useMemo(()=>{let{data:e,loading:t,error:r,called:i,...l}=n[1];return[n[0],{createSamlSettingsData:null==e?void 0:e.createSamlSettings,isCreateSamlSettingsLoading:t,createSamlSettingsError:r,isCreateSamlSettingsCalled:i,...l}]},[n])}();return{companySlug:n,enabled:(0,en.O)(null==r||null==(t=r.samlSettings)?void 0:t.id),loading:i||s,handleValueChange:e=>{e&&l({variables:{input:{companySlug:n}}})}}},e=>{let{companySlug:t,enabled:n,loading:i,handleValueChange:l}=e;return(0,r.jsx)(v.t,{p:24,rounded:"sm",borderWidth:1,borderColor:"outline2",borderStyle:"solid",children:(0,r.jsxs)(b.T,{gap:24,children:[(0,r.jsxs)(x.z,{alignHorizontal:"space-between",children:[(0,r.jsxs)(b.T,{gap:4,children:[(0,r.jsx)(C.h,{level:4,color:"onView1",children:(0,r.jsx)(f.V,{defaultMessage:"SSO",id:"business.settings.sso.title"})}),(0,r.jsx)(j.n,{level:2,color:"onView2",children:(0,r.jsx)(f.V,{defaultMessage:"íì¬ ê³ì ì¼ë¡ í´ëì¤101 ìë¹ì¤ì ë¡ê·¸ì¸í ì ììµëë¤.",id:"business.settings.sso.description"})})]}),i?(0,r.jsx)(S.y,{size:"md"}):(0,r.jsx)(p,{size:"md",value:n,onValueChange:l})]}),n&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(g.N,{color:"gray.200",direction:"horizontal"}),(0,r.jsx)(D,{companySlug:t}),(0,r.jsx)(g.N,{color:"gray.200",direction:"horizontal"}),(0,r.jsx)(et,{companySlug:t}),(0,r.jsx)(g.N,{color:"gray.200",direction:"horizontal"}),(0,r.jsx)(J,{companySlug:t})]})]})})});var ed=n(86879);let eu=e=>{let{match:t}=e;return(0,r.jsx)(ed.a,{children:(0,r.jsxs)(b.T,{maxWidth:1176,width:"100%",mx:"auto",py:[24,24,40],spacing:24,children:[(0,r.jsx)(C.h,{level:[3,2],color:"onView1",children:(0,r.jsx)(f.V,{defaultMessage:"ì¤ì ",id:"business.menu.settings"})}),(0,r.jsx)(eo,{companySlug:t.params.companySlug})]})})};var ec=n(7774),em=n(98518);let eh=e=>{let{companySlug:t}=(0,s.g)(),{isLoggedIn:n}=(0,l.h)();return n?(0,r.jsx)(em.k,{slug:t,pending:(0,r.jsx)(ec.A,{}),notManagerRender:"/",children:(0,r.jsx)(eu,{...e})}):(0,r.jsx)(i.e,{})}},37501:(e,t,n)=>{"use strict";n.d(t,{J:()=>r});let r=function(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],[n,r]=e.split("-"),i={top:"bottom",bottom:"top",left:"right",right:"left"};return r?[i[n],t?({start:"end",end:"start"})[r]:r].join("-"):i[n]}},37974:(e,t,n)=>{"use strict";n.d(t,{o:()=>y});var r=n(4930),i=n(59845),l=n(65168),s=n(73760);let a=(0,n(96254).g)(l.a,{shouldForwardProp:function(e){return"className"===e||(0,s.MC)(e)}})([{flexDirection:"row",position:"static"},s.xf]);function o(e){let t=t=>(0,r.jsx)(a,{as:e,display:"inline",...t});return t.forwardStyle=!0,t}let d=o("path"),u=o("mask"),c=o("g"),m=o("defs"),h=o("clipPath"),p=o("linearGradient"),g=o("radialGradient"),f=o("stop"),y=e=>{let{width:t,height:n,className:l,transform:s,...o}=e;return(0,r.jsx)(a,{as:"span",display:"block",width:t||"auto",height:n||"auto",className:l,transform:s,children:(0,r.jsx)(a,{as:"svg",display:"block",width:(0,i.O)(t)&&"auto"!==t?"100%":"auto",height:(0,i.O)(n)&&"auto"!==n?"100%":"auto",...o})})};y.forwardStyle=!0,y.Mask=u,y.G=c,y.Path=d,y.Defs=m,y.ClipPath=h,y.LinearGradient=p,y.RadialGradient=g,y.Stop=f},39069:(e,t,n)=>{"use strict";n.d(t,{Y:()=>i});var r=n(67833);let i=(e,t)=>(0,r.A)(e,t)},39593:(e,t,n)=>{"use strict";function r(e){return new Promise(t=>{e.measure?e.measure((e,n,r,i,l,s)=>{t({x:l,y:s,width:r,height:i})}):new IntersectionObserver((e,n)=>{let[r]=e;n.disconnect();let{boundingClientRect:i}=r,{x:l,y:s,width:a,height:o}=i;t({x:l,y:s,width:a,height:o})}).observe(e)})}n.d(t,{x:()=>r})},42320:(e,t,n)=>{"use strict";n.d(t,{v:()=>f});var r=n(62840),i=n(65162),l=n(4841),s=n(6259),a=n(86739),o=n(56392);function d(){let e=(0,a._)(['\n fragment BusinessCompany on BizCompany {\n id\n slug\n name\n deleted\n plan {\n id\n name\n description\n subscriptionPlanToken\n }\n planDuration {\n startAt\n endAt\n }\n companyTicketCount @merge(typename: "CompanyTicketCount") {\n distributableTicketCount\n distributedTicketCount\n }\n}\n ']);return d=function(){return e},e}function u(){let e=(0,a._)(["\n query BusinessCompanyBySlug($bizCompanySlug: String!) {\n getBizCompanyBySlug(bizCompanySlug: $bizCompanySlug) {\n ...BusinessCompany\n }\n}\n ",""]);return u=function(){return e},e}let c=(0,o.J1)(d());(0,o.J1)(u(),c);var m=n(78975);function h(){let e=(0,a._)(['\n query MyBusinessUser($includeCompany: Boolean!) {\n myBizUser {\n id\n photoUrl\n email\n userCompanyInfo @merge(typename: "UserCompanyInfo") {\n state\n isManager\n userName\n company {\n ...BusinessCompany\n }\n }\n userTicketCount @merge(typename: "UserTicketCount") {\n usableCount\n }\n tickets {\n id\n expiredAt\n ticketUsage {\n startAt\n endAt\n }\n }\n companies @include(if: $includeCompany) {\n id\n slug\n name\n }\n userCompanyLinks {\n company {\n id\n slug\n name\n }\n isManager\n status\n }\n }\n myBusinessSubscriptionTicket {\n subscriptionTicket @merge(typename: "SubscriptionTicket") {\n subscriptionTicketToken\n }\n }\n}\n ',""]);return h=function(){return e},e}let p={},g=(0,o.J1)(h(),c);function f(){var e,t,n,a,o,d,u,c,h,f,y,v,b,x,C,j,S,k,w,z,B,M,A,I,E,O,R,T,_,W,P,V,H,D,U;let{isLoggedIn:N}=(0,l.h)(),{data:F,loading:L,error:$}=function(e){let t={...p,...e};return m.I(g,t)}({skip:!N,notifyOnNetworkStatusChange:!0,variables:{includeCompany:!0}}),X=null!=(_=null==F||null==(t=F.myBizUser)||null==(e=t.userTicketCount)?void 0:e.usableCount)?_:0,G=new Date(null!=(W=null==F||null==(o=F.myBizUser)||null==(a=o.userCompanyInfo)||null==(n=a.company)?void 0:n.planDuration.endAt)?W:-1),J=(0,i.useMemo)(()=>{var e,t,n;return new Date(null!=(n=null==(e=(0,r.S)((null==F||null==(t=F.myBizUser)?void 0:t.t
1ickets)||[],e=>e.expiredAt))?void 0:e.expiredAt)?n:-1)},[F]),Y=null!=(P=null==F||null==(d=F.myBizUser)?void 0:d.id)?P:"",Z=null!=(V=null==F||null==(c=F.myBizUser)||null==(u=c.tickets)?void 0:u.filter(e=>{var t,n;return new Date(null!=(n=null==(t=e.ticketUsage)?void 0:t.endAt)?n:-1).getTime()>new Date().getTime()}).length)?V:0,q=null!=(D=null!=(H=null==F||null==(y=F.myBizUser)||null==(f=y.userCompanyInfo)||null==(h=f.company)?void 0:h.slug)?H:null==F||null==(x=F.myBizUser)||null==(b=x.companies)||null==(v=b[0])?void 0:v.slug)?D:"",K=null==F||null==(j=F.myBusinessSubscriptionTicket)||null==(C=j.subscriptionTicket)?void 0:C.subscriptionTicketToken,Q=!!(null==F||null==(k=F.myBizUser)||null==(S=k.userCompanyInfo)?void 0:S.isManager),ee=null==F||null==(B=F.myBizUser)||null==(z=B.userCompanyInfo)||null==(w=z.company)?void 0:w.plan,et=null==ee?void 0:ee.subscriptionPlanToken,en=((U=!!(null==ee?void 0:ee.subscriptionPlanToken),true),U),er=(null==F||null==(A=F.myBizUser)||null==(M=A.userCompanyInfo)?void 0:M.state)===s.vl8.APPROVED;return{data:F,userId:Y,userName:null==F||null==(E=F.myBizUser)||null==(I=E.userCompanyInfo)?void 0:I.userName,ticketUsableCount:X,companyExpireDate:G,ticketExpireDate:J,availableClassesSize:Z,companySlug:q,isManager:Q,loading:L,error:$,plan:ee,isSubscriptionPlan:en,subScriptionPlan:et,subscriptionTicketToken:K,isJoinedCompany:er,company:null==F||null==(R=F.myBizUser)||null==(O=R.userCompanyInfo)?void 0:O.company,tickets:null==F||null==(T=F.myBizUser)?void 0:T.tickets}}},43204:(e,t,n)=>{"use strict";n.d(t,{c:()=>a});var r=n(4930),i=n(65168),l=n(68596),s=n(56275);let a=(0,l._)("Divider")((0,s.X)({props:[{name:"margin",responsive:!0,default:"none"}],variants:{none:{spacing:0},md:{spacing:16},lg:{spacing:24}}}),(0,s.X)({props:[{name:"kind",responsive:!0,keep:!0,default:"default"}],variants:{dashed:{borderColor:"outline1",size:1,borderStyle:"dashed"},thick:{borderColor:"outline2",size:12,borderStyle:"solid"},default:{borderColor:"outline1",size:1,borderStyle:"solid"}}}),(0,s.X)({props:[{name:"direction"},{name:"borderStyle",responsive:!0},{name:"borderColor",responsive:!0},{name:"size",responsive:!0},{name:"spacing",responsive:!0}],variants:e=>{let{direction:t,size:n,spacing:r,borderColor:i,borderStyle:l}=e;return"horizontal"===t?{width:"100%",height:0,borderStyle:void 0,borderColor:void 0,borderTopColor:i,borderTopStyle:l,borderTopWidth:n,my:r}:{width:0,height:"100%",borderStyle:void 0,borderColor:void 0,borderRightColor:i,borderRightStyle:l,borderRightWidth:n,mx:r}}}))(e=>{let{...t}=e;return(0,r.jsx)(i.a,{flexGrow:0,flexShrink:0,flexBasis:"auto",borderWidth:0,...t})})},43556:(e,t,n)=>{"use strict";n.d(t,{N:()=>d});var r=n(65162),i=n(4841),l=n(45274),s=n(37902),a=n(80412),o=n(41908);function d(){let{authState:e,isLoggedIn:t}=(0,i.h)(),{pathname:n,search:d}=(0,a.z)(),{push:u}=(0,o.W)(),{getUrl:c}=(0,s.h)(),m=e===l.k.Pending||e===l.k.Uninitialized;return(0,r.useEffect)(()=>{m||t||u(c("account/LoginPage",{},{query:{redirect:"".concat(n).concat(d)}}))},[c,m,t,n,u,d]),{isLoading:m}}},44911:(e,t,n)=>{"use strict";n.d(t,{a:()=>m});var r=n(65162),i=n(40586),l=n(79332),s=n(21683),a=n(27534),o=n(78664),d=n(61395),u=n(77609);let c={threshold:.1};function m(e){let{name:t,properties:n,fulfilled:m=!0,skip:h=!1}=e,{trackEvent:p}=(0,u.$)(),{eventPropertiesRef:g,fulfilled:f}=(0,o.T)(),{ref:y,isInView:v}=(0,a.W)(!1,c),b=(0,r.useRef)(void 0),x=(0,r.useRef)(!1),C=(0,r.useCallback)(()=>{b.current&&clearTimeout(b.current),!h&&v&&!x.current&&m&&f&&(b.current=setTimeout(()=>{p(t,(0,d.g)({...g.current,...(0,i.D)(n)})),x.current=!0},1e3))},[f,m,v,h]);return(0,r.useEffect)(()=>{C()},[C]),(0,s.F)("visible",(0,r.useCallback)(()=>{l.f&&C()},[C])),(0,s.F)("invisible",(0,r.useCallback)(()=>{l.f&&(x.current=!1)},[])),{ref:y}}},44926:(e,t,n)=>{"use strict";n.d(t,{v:()=>a});var r=n(4930),i=n(42316),l=n(65168),s=n(28044);let a=(0,n(68596)._)("StackedHeader")()(e=>{let{id:t,order:n=1,height:a,dynamicHeight:o=!0,mode:d="sticky",safeAreaInset:u=!1,backgroundColor:c="background",display:m,zIndex:h,width:p="100%",minWidth:g,as:f="header",children:y,testId:v}=e,{getResponsiveValue:b}=(0,i.tv)();if(void 0!==m&&"none"===b(m))return null;if("flow"===d)return(0,r.jsx)(s.l,{id:t,order:n,position:"top",height:0,safeAreaInset:u,renderBeforeCalculate:!0,children:()=>(0,r.jsx)(l.a,{as:f,backgroundColor:c,width:p,minWidth:g,position:"relative",zIndex:h,display:m,testId:v,children:y})});let x=void 0===a&&o,C="fixed"===d?"fixed":"web_sticky";return(0,r.jsx)(s.l,{id:t,order:n,position:"top",height:a,safeAreaInset:u,renderBeforeCalculate:!0,children:e=>{let{offset:t,setHeight:n}=e;return(0,r.jsx)(l.a,{as:f,backgroundColor:c,width:p,minWidth:g,position:C,top:t,left:0,zIndex:h,display:m,testId:v,onLayout:x?e=>{let{height:t}=e;return n(t)}:void 0,children:y})}})})},46432:(e,t,n)=>{"use strict";n.d(t,{Y:()=>a});var r=n(4930),i=n(65162),l=n(47952),s=n(36607);let a=Object.assign((0,i.memo)(e=>{let{size:t=24,fill:n="onColor",linearGradient:i,testId:a="close-thin",...o}=e;return(0,r.jsx)(s.z,{viewBox:"0 0 24 24",size:t,fill:n,linearGradient:i,testId:a,...o,children:(0,r.jsx)(l.B.Path,{d:"m12 13.202-6.485 6.485a.85.85 0 0 1-1.202-1.202L10.798 12 4.313 5.516a.85.85 0 1 1 1.203-1.203L12 10.798l6.485-6.484a.85.85 0 1 1 1.202 1.202l-6.485 6.485 6.485 6.485a.85.85 0 1 1-1.202 1.202z"})})}),{iconType:"Thin"});a.displayName="CloseThin"},50415:(e,t,n)=>{"use strict";n.d(t,{F:()=>l});var r=n(4930),i=n(71646);let l=e=>{let{value:t,format:n,currency:l}=e,{localizeNumber:s}=(0,i.B)();return(0,r.jsx)(r.Fragment,{children:s(t,{style:n,currency:l})})}},50519:(e,t,n)=>{"use strict";n.d(t,{Y:()=>s});var r=n(4930),i=n(16296),l=n(57581);let s=e=>{let{name:t,defaultValue:n="",rules:s,...a}=e,{control:o}=(0,i.xW)();return(0,r.jsx)(i.xI,{name:t,control:o,rules:s,defaultValue:n,render:e=>{var t;let{field:n,fieldState:i}=e,s=null==(t=i.error)?void 0:t.message;return(0,r.jsx)(l.j,{errorMessage:"string"==typeof s?s:void 0,...n,...a}
1)}})}},53131:(e,t,n)=>{"use strict";n.d(t,{Q:()=>h});var r=n(4930),i=n(65162),l=n(88791),s=n(41552),a=n(32381),o=n(23666);let d={default:"gray.600",error:"pinkRed.600",success:"green.600"},u=(0,i.memo)(e=>{let{state:t,message:n,...l}=e,u=(0,s.DP)(),c=(0,i.useMemo)(()=>(0,a.D9)(u),[u]),m=(0,a.nN)(d[t],c);return(0,r.jsx)(o.K,{level:4,color:m,...l,children:n})});var c=n(97919);let m=(0,i.memo)(e=>{let{id:t,text:n,children:d}=e,u=(0,s.DP)(),m=(0,i.useMemo)(()=>(0,a.D9)(u),[u]),h=(0,a.nN)("gray.1000",m);return(0,r.jsx)(c.A,{id:t,children:(0,r.jsxs)(l.k,{spacing:10,children:[n&&(0,r.jsx)(o.K,{level:3,color:h,weight:"bold",children:n}),d]})})}),h=(0,i.memo)(e=>{let{label:t,defaultMessage:n,successMessage:i,errorMessage:s,render:a}=e,o=s?"error":"normal",d=!!(n||i||s);return(0,r.jsx)(m,{text:t,children:(0,r.jsxs)(l.k,{spacing:4,children:[a(o),d&&(0,r.jsxs)(l.k,{spacing:4,children:[n&&(0,r.jsx)(u,{state:"default",message:n}),i&&(0,r.jsx)(u,{state:"success",message:i}),s&&(0,r.jsx)(u,{state:"error",message:s})]})]})})})}
1,55549:(e,t,n)=>{"use strict";n.d(t,{e:()=>i});var r=n(4930);let i=e=>{let{condition:t,WrapperComponent:n,children:i}=e;return t?(0,r.jsx)(n,{children:i}):i}},57581:(e,t,n)=>{"use strict";n.d(t,{j:()=>a});var r=n(4930),i=n(65162),l=n(53131),s=n(94277);let a=(0,i.forwardRef)((e,t)=>{let{label:n,defaultMessage:i,successMessage:a,errorMessage:o,...d}=e;return(0,r.jsx)(l.Q,{label:n,defaultMessage:i,successMessage:a,errorMessage:o,render:e=>(0,r.jsx)(s.R,{ref:t,state:e,...d})})})},57927:(e,t,n)=>{"use strict";n.d(t,{m:()=>p});var r=n(4930),i=n(65162),l=n(17068),s=n(65168),a=n(73760),o=n(96254),d=n(8074);let u={bottom:"flex-end",center:"center",top:"flex-start"},c={center:"center",leading:"flex-start",trailing:"flex-end"},m=(0,o.g)(s.a,{shouldForwardProp:a.MC})(a.xf),h=(0,o.g)(d.B,{shouldForwardProp:l.Ay})(a.xf),p=(0,i.forwardRef)((e,t)=>{let{children:n,verticalAlignment:l="top",horizontalAlignment:s="leading",display:a="flex",as:o,...d}=e;return(0,r.jsx)(m,{...d,ref:t,as:o,position:"relative",display:a,flexDirection:"column",alignItems:c[s],justifyContent:u[l],children:i.Children.map(n,(e,t)=>(0,i.isValidElement)(e)&&0!==t?(0,r.jsx)(h,{position:"absolute",zIndex:1,children:e}):e)})});p.forwardStyle=!0},58995:(e,t,n)=>{"use strict";n.d(t,{m:()=>r});let r=e=>"string"==typeof e&&e.endsWith("rem")?16*parseFloat(e.replace("rem","")):e},62840:(e,t,n)=>{"use strict";function r(e,t){if(0===e.length)return;let n=e[0],r=t(n,0,e);for(let i=1;i<e.length;i++){let l=e[i],s=t(l,i,e);s>r&&(r=s,n=l)}return n}n.d(t,{S:()=>r})},67833:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(25595),i=n(43549);function l(e,t){(0,i.A)(2,arguments);var n=(0,r.A)(e),l=(0,r.A)(t);return n.getTime()<l.getTime()}},74598:(e,t,n)=>{"use strict";n.d(t,{H:()=>s});var r=n(39363),i=n(79436),l=n(96254);function s(e){return t=>{let{prop:n,variants:s,responsive:a,defaultValue:o,skipForward:d}=e,{__theme__:u,__styles__:c}=t,m=t[n]||o;if(void 0===m||!s)return t;let h=[...null!=c?c:[]];if(a&&Array.isArray(m)){let e=m.reduce((e,t,n)=>{var l;let a=(0,i.H)(t,s);if(0===n)return{...e,...(0,r.Ay)(a)(u)};let o=(l=u.breakpoints[n-1],"@media screen and (min-width: ".concat(l,")")),d=(0,r.Ay)(a)(u);return{...e,[o]:d}},{});h.push((0,l.O)(e))}else{let e=(0,i.H)(m,s),t=(0,r.Ay)(e)(u);h.push((0,l.O)(t))}let p={...t,__styles__:h};return d&&delete p[n],p}}},79536:(e,t,n)=>{"use strict";n.d(t,{e:()=>l});var r=n(71188),i=n(43556);let l=(0,r.o)(i.N,()=>null)},80235:(e,t,n)=>{"use strict";n.d(t,{t:()=>s});var r=n(4930),i=n(16296),l=n(93456);let s=e=>{var t;let{name:n,defaultValue:s="",rules:a,onValueChange:o,...d}=e,{control:u,formState:{errors:c}}=(0,i.xW)(),m=null==(t=c[n])?void 0:t.message,h="string"==typeof m?m:void 0;return(0,r.jsx)(i.xI,{name:n,control:u,rules:a,defaultValue:s,render:e=>{let{field:{onChange:t,value:n,...i}}=e;return(0,r.jsx)(l.l,{errorMessage:h,...d,...i,defaultValue:null!=n?n:s,onValueChange:e=>{o&&o(e),t(e)}})}})}},82304:(e,t,n)=>{"use strict";n.d(t,{N:()=>o});var r=n(4930),i=n(59845),l=n(65168),s=n(73760);let a=(0,n(96254).g)(l.a,{shouldForwardProp:s.MC})([{display:"block",flexDirection:"row",position:"static"},s.xf]),o=e=>{let{color:t="gray.300",direction:n,spacing:l,thickness:s=1,...o}=e,d="horizontal"===n;return(0,r.jsx)(a,{flex:"none",backgroundColor:t,width:d?"100%":s,height:d?s:"100%",my:d&&(0,i.O)(l)?l:void 0,mx:"vertical"===n&&(0,i.O)(l)?l:void 0,...o})}},82452:(e,t,n)=>{"use strict";n.d(t,{y:()=>l});var r=n(4930),i=n(37974);let l=e=>{let{height:t,width:n="auto",fill:l="onView1"}=e;return(0,r.jsx)(i.o,{fill:l,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 144 33",width:n,height:t,children:(0,r.jsx)(i.o.Path,{d:"M121.876 27.225a10.721 10.721 0 1 0 .001-21.443 10.721 10.721 0 0 0-.001 21.443Zm-4.168-15.071a5.92 5.92 0 0 1 4.198-1.75 5.915 5.915 0 0 1 4.199 1.75 6.035 6.035 0 0 1 1.682 4.382 5.936 5.936 0 0 1-1.682 4.33 5.945 5.945 0 0 1-8.397 0 5.96 5.96 0 0 1-1.682-4.33 6.026 6.026 0 0 1 1.682-4.382ZM137.329 26.796h4.912V6.21h-8.577v4.919h3.665v15.667ZM104.091 26.796h4.912V6.21h-8.577v4.919h3.665v15.667ZM45.764 23.043h8.665l1.447 3.753h5.408L52.707 6.21h-5.194L38.91 26.796h5.441l1.414-3.753ZM50.1 11.926l2.64 6.748h-5.254l2.614-6.748ZM72.757 22.447a3.759 3.759 0 0 1-2.225.583c-2.207 0-3.547-1.012-4.02-3.036l-5.208 1.012a6.232 6.232 0 0 0 2.895 4.577 10.823 10.823 0 0 0 6.078 1.642 10.052 10.052 0 0 0 6.031-1.75 5.695 5.695 0 0 0 2.42-4.898c0-3.127-1.88-5.12-5.636-5.977l-4.302-.945c-1.1-.248-1.656-.818-1.656-1.716a1.804 1.804 0 0 1 .771-1.487 3.156 3.156 0 0 1 2.01-.597 3.753 3.753 0 0 1 2.299.75 3.385 3.385 0 0 1 1.287 2.132l4.958-1.012a6.802 6.802 0 0 0-2.848-4.37 9.623 9.623 0 0 0-5.635-1.574 9.328 9.328 0 0 0-5.884 1.742 5.69 5.69 0 0 0-2.238 4.691c0 3.127 1.838 5.109 5.515 5.944l4.289.918c.55.077 1.065.31 1.487.67.288.319.437.738.416 1.166a1.815 1.815 0 0 1-.804 1.535ZM89.831 27.225c2.146.076 4.26-.537 6.031-1.75a5.696 5.696 0 0 0 2.42-4.898c0-3.127-1.88-5.12-5.636-5.977l-4.262-.945c-1.1-.248-1.655-.818-1.655-1.716a1.802 1.802 0 0 1 .77-1.487 3.156 3.156 0 0 1 2.01-.597 3.753 3.753 0 0 1 2.299.75 3.384 3.384 0 0 1 1.287 2.132l4.959-1.012a6.802 6.802 0 0 0-2.849-4.37 9.622 9.622 0 0 0-5.635-1.574 9.328 9.328 0 0 0-5.884 1.742 5.683 5.683 0 0 0-2.231 4.691c0 3.127 1.836 5.109 5.508 5.944l4.289.918c.55.077 1.066.31 1.488.67.287.319.436.738.415 1.166a1.815 1.815 0 0 1-.81 1.535 3.759 3.759 0 0 1-2.226.583c-2.202 0-3.542-1.012-4.02-3.036l-5.247 1.012a6.234 6.234 0 0 0 2.894 4.577 10.837 10.837 0 0 0 6.085 1.642ZM10.885 27.225a10.816 10.816 0 0 0 6.828-2.178 9.382 9.382 0 0 0 3.498-5.97h-5.26c-.32.936-.89 1.768-1.649 2.405a5.36 5.36 0 0 1-3.444 1.146 5.549 5.549 0 0 1-4.155-1.763 6.44 6.44 0 0 1 0-8.711 5.582 5.582 0 0 1 4.155-1.75 5.474 5.474 0 0 1 3.478 1.12 5.031 5.031 0 0 1 1.528 2.13h5.347a9.214 9.214 0 0 0-3.598-5.729 10.916 10.916 0 0 0-6.701-2.144 10.635 10.635 0 0 0-7.734 3.11 10.722 10.722 0 0 0 0 15.238 10.647 10.647 0 0 0 7.707 3.096ZM38.56 22.373H28.422V6.21h-5.073v20.586h13.389l1.822-4.423Z"})})}}
1,86902:(e,t,n)=>{"use strict";n.d(t,{I:()=>l});var r=n(65162),i=n(44911);let l=(0,r.memo)((0,r.forwardRef)((e,t)=>{let{children:n,name:l,properties:s,fulfilled:a,skip:o,...d}=e,{ref:u}=(0,i.a)({name:l,properties:s,fulfilled:a,skip:o}),c=(0,r.useCallback)(e=>{u(e),"function"==typeof t&&t(e)},[t,u]);return"function"==typeof n?n(c):(0,r.cloneElement)(n,{...d,ref:c})}))},88791:(e,t,n)=>{"use strict";n.d(t,{k:()=>M});var r=n(4930),i=n(71682),l=n(65162),s=n(8736),a=n(65168),o=n(61392),d=n(73760),u=n(13102),c=n(74780),m=n(88143),h=n(76960),p=n(96254);let g={around:"space-around",between:"space-between",unset:"unset"},f={center:"center",leading:"flex-start",stretch:"stretch",trailing:"flex-end"},y={m:{properties:["margin"],getValue:w},mt:{properties:["marginTop"],getValue:w},mr:{properties:["marginRight"],getValue:w},mb:{properties:["marginBottom"],getValue:w},ml:{properties:["marginLeft"],getValue:w},mx:{properties:["marginLeft","marginRight"],getValue:w},my:{properties:["marginTop","marginBottom"],getValue:w},p:{properties:["padding"]},pt:{properties:["paddingTop"]},pr:{properties:["paddingRight"]},pb:{properties:["paddingBottom"]},pl:{properties:["paddingLeft"]},px:{properties:["paddingLeft","paddingRight"]},py:{properties:["paddingTop","paddingBottom"]}},v=new Set(Object.keys(y)),b=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce((e,t)=>Math.max(e,Array.isArray(t)?t.length:1),1)},x=e=>"object"==typeof e&&null!==e&&!Array.isArray(e),C=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce((e,t)=>(Object.entries(t).forEach(t=>{let[n,r]=t;if(n.startsWith("@media")&&x(r)&&x(e[n])){e[n]={...e[n],...r};return}e[n]=r}),e),{})},j=(e,t,n)=>{let r=(e=>Array.isArray(e.breakpoints)&&e.breakpoints.length>0?e.breakpoints:o.$.breakpoints)(e);return Array.from({length:b(...Object.values(t))}).reduce((e,i,l)=>{var s,a;let d=Object.fromEntries(Object.entries(n(Object.fromEntries(Object.entries(t).map(e=>{let[t,n]=e;return[t,((e,t)=>Array.isArray(e)?e[Math.min(t,e.length-1)]:e)(n,l)]})))).filter(e=>{let[,t]=e;return void 0!==t}));if(0===Object.keys(d).length)return e;if(0===l)return{...e,...d};let u=null!=(a=null!=(s=r[l-1])?s:r[r.length-1])?a:o.$.breakpoints[0];return{...e,["@media screen and (min-width: ".concat((e=>"number"==typeof e?"".concat(e,"px"):e)(u),")")]:d}},{})},S=(0,p.g)(a.a,{shouldForwardProp:d.MC})(d.xf);function k(e,t){var n;return"number"==typeof e&&Number.isNaN(e)?e:null!=(n=(0,i.J)(t,e))?n:e}function w(e,t){if("number"!=typeof e||Number.isNaN(e))return k(e,t);let n=e<0,r=k(Math.abs(e),t);return"number"!=typeof r?n?"-".concat(r):r:r*(n?-1:1)}let z=function(e,t,n,r){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:k;if(null==n)return;let l=i(n,r);t.forEach(t=>{e[t]=l})},B=(0,p.g)(a.a,{shouldForwardProp:e=>!e.startsWith("$")})(e=>{let{$alignment:t,$appearance:n,$hideScroll:r,$justifyContent:i,$overflowX:l,$overflowY:s,$reverse:a,$safeAreaMargin:o,$spaceProps:d,$spacing:h,$systemProps:p,$userSelect:b,$verticalAlign:x,theme:S}=e,k=C({position:"static"},(e=>({...(0,u.p)(e),...(0,c.Z)(e),...(0,m.G1)(e)}))({...p,theme:S}),j(S,d,e=>((e,t)=>{let n={};return Object.entries(e).forEach(e=>{let[r,i]=e;if(!v.has(r))return;let{properties:l,getValue:s}=y[r];z(n,l,i,t,s)}),n})(e,S.space)),j(S,{alignment:t,appearance:n,justifyContent:i,overflowX:l,overflowY:s,reverse:a,userSelect:b,verticalAlign:x,spacing:h},e=>{var t;let{alignment:n,appearance:r,justifyContent:i,overflowX:l,overflowY:s,reverse:a,spacing:o,userSelect:d,verticalAlign:u}=e;return{alignItems:null!=(t=(e=>{if(e)return f[e]})(n))?t:"stretch",appearance:r,flexDirection:a?"column-reverse":"column",justifyContent:(e=>{let{justifyContent:t,spacing:n}=e;return"string"==typeof n&&n in g?g[n]:t})({justifyContent:i,spacing:o}),overflowX:l,overflowY:s,userSelect:d,verticalAlign:u,..."none"===r&&{"&::-ms-expand":{display:"none"}}}}),r?{scrollbarWidth:"none",msOverflowStyle:"none","&::-webkit-scrollbar":{display:"none"}}:{}),w=o?{marginBottom:["constant(safe-area-inset-bottom)","env(safe-area-inset-bottom)"]}:void 0;return w?[k,w]:k}),M=(0,l.forwardRef)((e,t)=>{let n=Object.fromEntries(Object.entries(e).filter(e=>{let[t]=e;return v.has(t)})),{alignment:i,appearance:a,as:o,bottom:d,children:u,display:c="flex",flex:m,flexWrap:p,height:g,hideScroll:f,id:y,justifyContent:b,m:x,maxHeight:C,maxWidth:j,mb:k,minHeight:w,minWidth:z,left:M,ml:A,mr:I,mt:E,mx:O,my:R,overflow:T,overflowX:_,overflowY:W,p:P,pb:V,pl:H,position:D,pr:U,pt:N,px:F,py:L,reverse:$,right:X,safeAreaInset:G,safeAreaMargin:J,spacing:Y,top:Z,userSelect:q,verticalAlign:K,visibility:Q,width:ee,...et}=e,{spacingHeight:en}=void 0===Y?{spacingHeight:0}:(0,h.P)(Y,e=>({spacingHeight:"string"==typeof e?0:e}));return(0,r.jsx)(B,{$alignment:i,$appearance:a,$hideScroll:f,$justifyContent:b,$overflowX:_,$overflowY:W,$reverse:$,$safeAreaMargin:J,$spaceProps:n,$spacing:Y,$systemProps:{bottom:d,display:c,flex:m,flexWrap:p,height:g,left:M,maxHeight:C,maxWidth:j,minHeight:w,minWidth:z,overflow:T,position:D,right:X,top:Z,visibility:Q,width:ee},$userSelect:q,$verticalAlign:K,ref:t,as:o,id:y,position:(e=>(0,s.i)(null!=e?e:"static",e=>"static"===e?"web_static":"sticky"===e?"web_sticky":e))(D),...et,children:en?l.Children.toArray(u).filter(l.isValidElement).map((e,t,n)=>(0,r.jsxs)(l.Fragment,{children:[e,t<n.length-1&&(0,r.jsx)(S,{flexGrow:0,flexShrink:0,width:0,height:en})]},t)):u})});M.forwardStyle=!0}
1,90414:(e,t,n)=>{"use strict";n.d(t,{L:()=>a});var r=n(4930),i=n(65162),l=n(47952),s=n(36607);let a=Object.assign((0,i.memo)(e=>{let{size:t=24,fill:n="onColor",linearGradient:i,testId:a="menu-regular",...o}=e;return(0,r.jsx)(s.z,{viewBox:"0 0 24 24",size:t,fill:n,linearGradient:i,testId:a,...o,children:(0,r.jsx)(l.B.Path,{d:"M21.85 11.9a1 1 0 0 0-1-1H3.15a1 1 0 0 0-1 1v.2a1 1 0 0 0 1 1h17.7a1 1 0 0 0 1-1zm0-7.5a1 1 0 0 0-1-1H3.15a1 1 0 0 0-1 1v.2a1 1 0 0 0 1 1h17.7a1 1 0 0 0 1-1zm0 15a1 1 0 0 0-1-1H3.15a1 1 0 0 0-1 1v.2a1 1 0 0 0 1 1h17.7a1 1 0 0 0 1-1z"})})}),{iconType:"Regular"});a.displayName="MenuRegular"},93345:(e,t,n)=>{"use strict";n.d(t,{q:()=>i});var r=n(31626);let i=e=>{let{page:t,params:n,children:i,query:l,fragment:s,appName:a}=e,{getUrl:o}=(0,r.k)();return i({url:o(t,{...n,appName:a},{query:l,fragment:s})})}},93456:(e,t,n)=>{"use strict";n.d(t,{l:()=>a});var r=n(4930),i=n(65162),l=n(93912),s=n(53131);let a=(0,i.forwardRef)((e,t)=>{let{label:n,defaultMessage:i,successMessage:a,errorMessage:o,...d}=e;return(0,r.jsx)(s.Q,{label:n,defaultMessage:i,successMessage:a,errorMessage:o,render:e=>(0,r.jsx)(l.W,{ref:t,state:e,...d})})})},93912:(e,t,n)=>{"use strict";n.d(t,{W:()=>y});var r=n(4930),i=n(65162),l=n(50415),s=n(65168),a=n(73760),o=n(96254),d=n(96190),u=n(47769),c=n(19745);let m=(0,u._)()((0,c.X)({props:[{name:"state",default:"normal"}],variants:{normal:{borderWidth:1,borderColor:"outline1",focusBorderColor:"outlineNeutral"},error:{borderWidth:1,borderColor:"outlineError",focusBorderColor:"outlineError"}}}),(0,c.X)({props:[{name:"disabled",default:!1,keep:!0}],variants:{true:{backgroundColor:"disable",borderColor:"disableOutline",textColor:"onView3"},false:{textColor:"onView1"}}}));var h=n(23666),p=n(8742);let g=(0,o.g)(s.a,{shouldForwardProp:a.MC})([{position:"static"},a.xf]),f=(0,o.g)(s.a,{shouldForwardProp:a.MC})([{display:"inline-block",flexDirection:"row",position:"static"},a.xf]),y=m((0,i.memo)((0,i.forwardRef)((e,t)=>{let{rows:n=2,maxRows:s,name:a,disabled:o,onValueChange:u,defaultValue:c,maxLength:m,placeholder:y,textColor:v,backgroundColor:b="surface3",focusBorderColor:x,resize:C="none",p:j=15,borderStyle:S="solid",typography:k="body2",...w}=e,[z,B]=(0,i.useState)(null!=c?c:""),[M,A]=(0,i.useState)(!1),I=(0,i.useRef)(null);return(0,i.useEffect)(()=>{void 0!==c&&B(c)},[c]),(0,i.useEffect)(()=>{let e=I.current;if(!e||!s)return;e.style.height="auto";let t=window.getComputedStyle(e),n=t.lineHeight,r=parseFloat(t.fontSize),i=("normal"===n||Number.isNaN(parseFloat(n))?1.2*r:parseFloat(n))*s,l=Math.min(e.scrollHeight,i);e.style.height="".concat(l,"px"),e.style.overflowY=e.scrollHeight>i?"auto":"hidden"},[z,s]),(0,r.jsxs)(g,{display:"flex",flexDirection:"column",borderRadius:2,p:j,pb:9,backgroundColor:b,borderStyle:S,...w,...M?{borderColor:x}:{},children:[(0,r.jsx)(f,{"data-class101-target-id":"920b8aa7fdbb",ref:e=>{I.current=e,"function"==typeof t?t(e):t&&(t.current=e)},as:"textarea",width:"100%",onFocus:()=>A(!0),onBlur:()=>A(!1),rows:n,name:a,maxLength:m,disabled:o,placeholder:y,backgroundColor:"transparent",onChange:e=>{void 0!==m&&e.target.value.length>m&&(e.target.value=e.target.value.slice(0,m)),null==u||u(e.target.value),B(e.target.value)},value:z,borderStyle:"none",color:v,resize:C,pseudoFocus:{outline:"none"},...p.n[k]}),void 0!==m?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(d.G,{height:8}),(0,r.jsxs)(h.K,{level:4,weight:"regular",textAlign:"right",color:"onView3",children:[(0,r.jsx)(l.F,{value:z.length,format:"decimal"}),"/",(0,r.jsx)(l.F,{value:m,format:"decimal"})]})]}):null]})})))},94277:(e,t,n)=>{"use strict";n.d(t,{R:()=>f});var r=n(4930),i=n(65162),l=n(65168),s=n(73760),a=n(96254),o=n(57927),d=n(8742),u=n(78740),c=n(74598),m=n(90560);let h=(0,u.q)()((0,c.H)({prop:"state",variants:{normal:{borderWidth:1,borderStyle:"solid",borderColor:"outline1","&::placeholder":{color:"onView3"},"&:hover":{borderColor:"outline1"},"&:active":{borderColor:"outlineNeutral"},"&:focus":{borderColor:"outlineNeutral"},"&:disabled":{color:"onView3",backgroundColor:"disable",borderColor:"disableOutline"}},error:{borderWidth:1,borderStyle:"solid",borderColor:"pinkRed.600"}},skipForward:!0}),(0,m.X)({prop:"size",variants:{md:{py:10},lg:{py:13},xl:{py:15}},defaultValue:"lg",responsive:!0,skipForward:!0})),p=(0,a.g)(l.a,{shouldForwardProp:s.MC})([{display:"inline-block",flexDirection:"row",position:"static"},s.xf]),g=(0,i.memo)((0,i.forwardRef)((e,t)=>{let{backgroundColor:n="transparent",onKeyPress:i,onChange:l,onValueChange:s,onPressIn:a,...o}=e;return(0,r.jsx)(p,{"data-class101-target-id":"e2a8cebe8437",...o,ref:t,as:"input",width:"100%",height:"100%",borderWidth:0,outlineStyle:"none",onChange:e=>{null==l||l(e),null==s||s(e.target.value)},onKeyPress:e=>null==i?void 0:i({key:e.key,prevent:()=>e.preventDefault()}),onMouseDown:a,backgroundColor:n,color:"onColor"})})),f=h((0,i.memo)((0,i.forwardRef)((e,t)=>{let{renderRightIcon:n,onChange:i,onValueChange:l,...s}=e,a=(0,r.jsx)(g,{"data-class101-target-id":"88ff111cb43f",...s,...d.n.body2,ref:t,px:16,backgroundColor:"surface3",borderRadius:2,onChange:i,onValueChange:l});return n?(0,r.jsxs)(o.m,{children:[a,n()]}):a})));f.forwardStyle=!0}
1,95639:(e,t,n)=>{"use strict";n.d(t,{m:()=>r});let r=e=>{let{referenceRect:t,targetRect:n,position:r,spacing:i=0}=e,[l,s]=r.split("-"),a="top"===l||"bottom"===l,o=(t.width-n.width)/2,d=(t.height-n.height)/2,u={x:0,y:0};switch(l){case"top":u={x:o,y:-1*n.height-i};break;case"bottom":u={x:o,y:t.height+i};break;case"right":u={x:t.width+i,y:d};break;case"left":u={x:-1*n.width-i,y:d}}switch(s){case"start":u={...u,...a?{x:0}:{y:0}};break;case"end":u={...u,...a?{x:t.width-n.width}:{y:t.height-n.height}}}return u}},96190:(e,t,n)=>{"use strict";n.d(t,{G:()=>d});var r=n(4930),i=n(65162),l=n(65168),s=n(73760);function a(e){return!1===e?"none":"flex"}let o=(0,n(96254).g)(l.a,{shouldForwardProp:s.MC})([{flexDirection:"row",position:"static"},s.xf]),d=(0,i.forwardRef)((e,t)=>{let{visible:n=!0,...i}=e;return(0,r.jsx)(o,{ref:t,display:function(e){return Array.isArray(e)?e.map(a):a(e)}(n),...i})});d.forwardStyle=!0},97340:(e,t,n)=>{"use strict";n.d(t,{w:()=>a});var r=n(4930),i=n(65168),l=n(68596),s=n(56275);let a=(0,l._)("Ratio")((0,s.X)({props:[{name:"ratio",responsive:!0}],variants:e=>{let{ratio:t}=e;return{aspectRatio:t,paddingBottom:"".concat(1/t*100,"%")}}}))(e=>{let{innerRef:t,aspectRatio:n,children:l,paddingBottom:s,width:a="100%",testId:o="ratio",...d}=e;return(0,r.jsx)(i.a,{ref:t,width:a,"data-testid":o,...d,children:(0,r.jsx)(i.a,{position:"relative",width:"100%",height:0,pb:s,children:(0,r.jsx)(i.a,{position:"absolute",top:0,left:0,bottom:0,right:0,children:l})})})})},97406:(e,t,n)=>{"use strict";n.d(t,{W:()=>s});var r=n(65162),i=n(40586),l=n(72731);let s=(0,r.memo)((0,r.forwardRef)((e,t)=>{let{name:n,properties:s,disabled:a=!1,children:o,...d}=e,{trackEvent:u}=(0,l.j)(),c=(0,r.useCallback)(e=>{var t,r;null==(t=(r=o.props).onClick)||t.call(r,e),u({name:n,properties:(0,i.D)(s)})},[o.props,u,n,s]);return(0,r.cloneElement)(o,{...d,...a?{}:{onClick:c},ref:t})}))},98518:(e,t,n)=>{"use strict";n.d(t,{k:()=>p});var r=n(4930),i=n(65162),l=n(65753),s=n(72523),a=n(4841),o=n(37902),d=n(6259),u=n(41908),c=n(80412),m=n(35545),h=n(42320);let p=e=>{var t,n;let{pending:p=(0,r.jsx)("div",{}),notManagerRender:g=null,slug:f,children:y=(0,r.jsx)("div",{})}=e,{push:v}=(0,u.W)(),{signOut:b}=(0,l.R)(),{data:x,loading:C,error:j}=(0,h.v)(),{showToast:S}=(0,m.hs)(),{isAdmin:k,isLoading:w}=(0,s.h)(),{getUrl:z}=(0,o.h)(),B=(0,c.z)(),{isLoggedIn:M}=(0,a.h)();return((0,i.useEffect)(()=>{j&&M&&(b(),v(z("/[lang]/login/all",{},{query:{redirect:B.pathname}})))},[j,z,k,M,B.pathname,v,S,b]),j)?null:C||w?p:k?y:(null==x||null==(n=x.myBizUser)||null==(t=n.userCompanyLinks)?void 0:t.some(e=>e.company.slug===f&&e.isManager&&e.status===d.DuW.ACTIVE))?y:(g&&S({title:"ë¹ì¦ëì¤ ë§¤ëì ê° ìëëë¤.",kind:"error",duration:3e3,onClose:()=>{v(g)}}),null)}}},e=>{e.O(0,[72195,86879,90636,46593,38792],()=>e(e.s=7720)),_N_E=e.O()}]); 2//# sourceMappingURL=settings-b1fb09ddf877fdd9.js.map
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.