PageSourceSearch

https://channel.io/_next/static/chunks/1542qu2dxc2e6.js

js channel.io collected 2026-10-01 08:36:28 UTC 60,308 bytes, 651 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,421072,e=>{"use strict";var t=e.i(532566);e.s(["NoteWritingIcon",()=>t.N])},157031,71309,394686,e=>{"use strict";let t,n,r,l=(e,t)=>{let n,{o:r,i:l,u:o}=e,i=r,a=(e,t)=>{let r=i,a=t||(l?!l(r,e):r!==e);return(a||o)&&(i=e,n=r),[i,a,n]};return[t?e=>a(t(i,n),e):a,e=>[i,!!e,n]]},o="u">typeof window&&"u">typeof HTMLElement&&window.document?window:{},i=Math.max,a=Math.min,s=Math.round,c=Math.abs,d=Math.sign,p=o.cancelAnimationFrame,u=o.requestAnimationFrame,h=o.setTimeout,f=o.clearTimeout,g=e=>void 0!==o[e]?o[e]:void 0,m=g("MutationObserver"),x=g("IntersectionObserver"),y=g("ResizeObserver"),b=g("ScrollTimeline"),w=e=>"object"==typeof e&&!Array.isArray(e)&&null!==e,v=e=>{let t=!!e&&e.length;return!(!Array.isArray(e)&&("function"==typeof e||!("number"==typeof t&&t>-1&&t%1==0)))&&(!(t>0&&w(e))||t-1 in e)},C=e=>!!e&&e.constructor===Object;function _(e,t){if(v(e))for(let n=0;n<e.length&&!1!==t(e[n],n,e);n++);else e&&_(Object.keys(e),n=>t(e[n],n,e));return e}let S=(e,t)=>e.indexOf(t)>=0,$=(e,t,n)=>("string"!=typeof t&&v(t)?Array.prototype.push.apply(e,t):e.push(t),e),I=e=>Array.from(e||[]),k=e=>Array.isArray(e)?e:"string"!=typeof e&&v(e)?I(e):[e],j=e=>!!e&&!e.length,M=e=>I(new Set(e)),R=(e,t,n)=>{_(e,e=>!e||e.apply(void 0,t||[])),n||(e.length=0)},L="paddingTop",E="paddingRight",A="paddingLeft",T="paddingBottom",z="marginLeft",N="marginRight",O="marginBottom",H="overflowX",P="overflowY",D="width",G="height",q="visible",F="hidden",K="scroll",B=(e,t,n,r)=>{if(e&&t){let r=!0;return _(n,n=>{e[n]!==t[n]&&(r=!1)}),r}return!1},U=(e,t)=>B(e,t,["w","h"]),V=(e,t)=>B(e,t,["x","y"]),W=(e,t)=>B(e,t,["t","r","b","l"]),Q=(e,...t)=>e.bind(0,...t),Y=e=>{let t,n=e?h:u,r=e?f:p;return[l=>{r(t),t=n(()=>l(),"function"==typeof e?e():e)},()=>r(t)]},Z=e=>{let t="function"==typeof e?e():e;if("number"==typeof t){let e=t?h:u,n=t?f:p;return r=>{let l=e(()=>r(),t);return()=>{n(l)}}}return t&&t._},X=(e,t)=>{let n,r,l,o,{p:i,v:a,S:s,m:c}=t||{},d=function(t){r&&r(),n&&n(),o=r=n=l=void 0,e.apply(this,t)},p=e=>c&&l?c(l,e):e,u=()=>{r&&l&&d(p(l)||l)},h=function(){let e=I(arguments),t=Z(i);if(t){let i="function"==typeof s?s():s,c=Z(a),h=p(e)||e,f=d.bind(0,h);r&&r(),i&&!o?(f(),o=!0,r=t(()=>o=void 0)):(r=t(f),c&&!n&&(n=c(u))),l=h}else d(e)};return h.O=u,h},J=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),ee=e=>e?Object.keys(e):[],et=(e,t,n,r,l,o,i)=>(("object"!=typeof e||null===e)&&"function"!=typeof e&&(e={}),_([t,n,r,l,o,i],t=>{_(t,(n,r)=>{let l=t[r];if(e===l)return!0;let o=Array.isArray(l);if(l&&C(l)){let t=e[r],n=t;o&&!Array.isArray(t)?n=[]:o||C(t)||(n={}),e[r]=et(n,l)}else e[r]=o?l.slice():l})}),e),en=(e,t)=>_(et({},e),(e,t,n)=>{void 0===e?delete n[t]:e&&C(e)&&(n[t]=en(e))}),er=()=>{},el=(e,t,n)=>i(e,a(t,n)),eo=e=>M((Array.isArray(e)?e:(e||"").split(" ")).filter(e=>e)),ei=(e,t)=>e&&e.getAttribute(t),ea=(e,t)=>e&&e.hasAttribute(t),es=(e,t,n)=>{_(eo(t),t=>{e&&e.setAttribute(t,String(n||""))})},ec=(e,t)=>{_(eo(t),t=>e&&e.removeAttribute(t))},ed=(e,t)=>{let n=eo(ei(e,t)),r=Q(es,e,t),l=(e,t)=>{let r=new Set(n);return _(eo(e),e=>{r[t](e)}),I(r).join(" ")};return{C:e=>r(l(e,"delete")),$:e=>r(l(e,"add")),H:e=>{let t=eo(e);return t.reduce((e,t)=>e&&n.includes(t),t.length>0)}}},ep=(e,t,n)=>(ed(e,t).C(n),Q(eu,e,t,n)),eu=(e,t,n)=>(ed(e,t).$(n),Q(ep,e,t,n)),eh=(e,t,n,r)=>
1(r?eu:ep)(e,t,n),ef=(e,t,n)=>ed(e,t).H(n),eg=(e,t)=>{ed(e,"class").C(t)},em=(e,t)=>(ed(e,"class").$(t),Q(eg,e,t)),ex=(e,t)=>{let n=t?t instanceof Element&&t:document;return n?I(n.querySelectorAll(e)):[]},ey=(e,t)=>e instanceof Element&&e.matches(t),eb=e=>e?I(e.childNodes):[],ew=(e,t)=>e instanceof Element&&e.closest(t),ev=e=>{_(k(e),e=>{let t=e&&e.parentElement;e&&t&&t.removeChild(e)})},eC=(e,t)=>Q(ev,e&&t&&_(k(t),t=>{t&&e.appendChild(t)})),e_=e=>{let t=document.createElement("div");return es(t,"class",e),t},eS=e=>{let n=e_(),r=t,l=e.trim();return n.innerHTML=r?r.createHTML(l):l,_(eb(n),e=>ev(e))},e$=(e,t)=>e.getPropertyValue(t)||e[t]||"",eI=e=>{let t=e||0;return isFinite(t)?t:0},ek=e=>eI(parseFloat(e||"")),ej=e=>Math.round(1e4*e)/1e4,eM=e=>`${ej(eI(e))}px`;function eR(e,t){e&&t&&_(t,(t,n)=>{try{let r=e.style,l=null===t||"boolean"==typeof t?"":"number"==typeof t?eM(t):t;0===n.indexOf("--")?r.setProperty(n,l):r[n]=l}catch(e){}})}function eL(e,t,n){let r="string"==typeof t,l=r?"":{};if(e){let i=o.getComputedStyle(e,n)||e.style;l=r?e$(i,t):I(t).reduce((e,t)=>(e[t]=e$(i,t),e),l)}return l}let eE=(e,t,n)=>{let r=t?`${t}-`:"",l=n?`-${n}`:"",o=`${r}top${l}`,i=`${r}right${l}`,a=`${r}bottom${l}`,s=`${r}left${l}`,c=eL(e,[o,i,a,s]);return{t:ek(c[o]),r:ek(c[i]),b:ek(c[a]),l:ek(c[s])}},eA=(e,t)=>`translate${w(e)?`(${e.x},${e.y})`:`${t?"X":"Y"}(${e})`}`,eT={w:0,h:0},ez=(e,t)=>t?{w:t[`${e}Width`],h:t[`${e}Height`]}:eT,eN=Q(ez,"offset"),eO=Q(ez,"client"),eH=Q(ez,"scroll"),eP=e=>{let t=parseFloat(eL(e,D))||0,n=parseFloat(eL(e,G))||0;return{w:t-s(t),h:n-s(n)}},eD=e=>e.getBoundingClientRect(),eG=e=>!!(e&&(e[G]||e[D])),eq=(e,t)=>{let n=eG(e);return!eG(t)&&n},eF=(e,t,n,r)=>{_(eo(t),t=>{e&&e.removeEventListener(t,n,r)})},eK=(e,t,n,r)=>{var l;let o=null==(l=r&&r.D)||l,i=r&&r.I||!1,a=r&&r.A||!1,s={passive:o,capture:i};return Q(R,eo(t).map(t=>{let r=a?l=>{eF(e,t,r,i),n&&n(l)}:n;return e&&e.addEventListener(t,r,s),Q(eF,e,t,r,i)}))},eB=e=>e.stopPropagation()||e.preventDefault(),eU=(e,t)=>{let{x:n,y:r}="number"==typeof t?{x:t,y:t}:t||{};"number"==typeof n&&(e.scrollLeft=n),"number"==typeof r&&(e.scrollTop=r)},eV=e=>({x:e.scrollLeft,y:e.scrollTop}),eW=()=>({T:{x:0,y:0},k:{x:0,y:0}}),eQ=({T:e,k:t})=>{let n=(e,t)=>0===e&&e<=t;return{x:n(e.x,t.x),y:n(e.y,t.y)}},eY=({T:e,k:t},n)=>{let r=(e,t,n)=>el(0,1,(e-n)/(e-t)||0);return{x:r(e.x,t.x,n.x),y:r(e.y,t.y,n.y)}},eZ=e=>{e&&e.focus&&e.focus({preventScroll:!0,focusVisible:!1})},eX=(e,t)=>{_(k(t),e)},eJ=e=>{let t=new Map,n=(e,n)=>{if(e){let r=t.get(e);eX(e=>{r&&r[e?"delete":"clear"](e)},n)}else t.forEach(e=>{e.clear()}),t.clear()},r=(e,l)=>{if("string"==typeof e){let r=t.get(e)||new Set;return t.set(e,r),eX(e=>{"function"==typeof e&&r.add(e)},l),Q(n,e,l)}"boolean"==typeof l&&l&&n();let o=ee(e),i=[];return _(o,t=>{let n=e[t];n&&$(i,r(t,n))}),Q(R,i)};return r(e||{}),[r,n,(e,n)=>{_(I(t.get(e)),e=>{n&&!j(n)?e.apply(0,n):e()})}]},e0={},e1={},e2=(e,t,n)=>ee(e).map(r=>{let{static:l,instance:o}=e[r],[i,a,s]=n||[],c=n?o:l;if(c){let e=n?c(i,a,t):c(t);return(s||e1)[r]=e}}),e5=e=>e1[e],e6="data-overlayscrollbars",e4="os-environment",e7=`${e4}-scrollbar-hidden`,e8=`${e6}-initialize`,e3="noClipping",e9=`${e6}-body`,te=`${e6}-viewport`,tt="measuring",tn="scrollbarHidden",tr=`${e6}-padding`,tl=`${e6}-content`,to="os-size-observer",ti=`${to}-appear`,ta=`${to}-listener`,ts="os-scrollbar",tc=`${ts}-rtl`,td=`${ts}-horizontal`,tp=`${ts}-vertical`,tu=`${ts}-track`,th=`${ts}-handle`,tf=`${ts}-visible`,tg=`${ts}-cornerless`,tm=`${ts}-interaction`,tx=`${ts}-unusable`,ty=`${ts}-auto-hide`,tb=`${ty}-hidden`,tw=`${ts}-wheel`,tv=`${tu}-interactive`,tC=`${th}-interactive`,t_=e=>0===e.indexOf(q),tS=(e,t)=>{if("auto"===e)return t?K:F;let n=e||F;return[F,K,q].includes(n)?n:F},t$="__osScrollbarsHidingPlugin",tI=e=>JSON.stringify(e,(e,t)=>{if("function"==typeof t)throw 0;return t}),tk=(e,t)=>e?`${t}`.split(".").reduce((e,t)=>e&&J(e,t)?e[t]:void 0,e):void 0,tj=[33,99],tM=[222,666,!0],tR={paddingAbsolute:!1,showNativeOverlaidScrollbars:!1,update:{elementEvents:[["img","load"]],debounce:{mutation:[0,33],resize:null,event:tj,env:tM},attributes:null,ignoreMutation:null,flowDirectionStyles:null},overflow:{x:"scroll",y:"scroll"},scrollbars:{theme:"os-theme-dark",visibility:"auto",autoHide:"never",autoHideDelay:1300,autoHideSuspend:!1,dragScroll:!0,
1clickScroll:!1,pointers:["mouse","touch","pen"]}},tL=(e,t)=>{let n,r,l={};return _((n=ee(t),r=ee(e),n.concat(r)),n=>{let r=e[n],o=t[n];if(w(r)&&w(o))et(l[n]={},tL(r,o)),ee(l[n]).length||delete l[n];else if(J(t,n)&&o!==r){let e=!0;if(Array.isArray(r)||Array.isArray(o))try{tI(r)===tI(o)&&(e=!1)}catch(e){}e&&(l[n]=o)}}),l},tE=(e,t,n)=>r=>[tk(e,r),n||void 0!==tk(t,r)],tA=()=>(r||(r=(()=>{let e=(e,t,n)=>{eC(document.body,e),eC(document.body,e);let r=eO(e),l=eN(e),o=eP(t);return n&&ev(e),{x:l.h-r.h+o.h,y:l.w-r.w+o.w}},t=`.${e4}{scroll-behavior:auto!important;position:fixed;opacity:0;visibility:hidden;overflow:scroll;height:200px;width:200px;z-index:-1}.${e4} div{width:200%;height:200%;margin:10px 0}.${e7}{scrollbar-width:none!important}.${e7}::-webkit-scrollbar,.${e7}::-webkit-scrollbar-corner{appearance:none!important;display:none!important;width:0!important;height:0!important}`,r=eS(`<div class="${e4}"><div></div><style>${t}</style></div>`)[0],i=r.firstChild,a=r.lastChild,s=n;s&&(a.nonce=s);let[c,,d]=eJ(),[p,u]=l({o:e(r,i),i:V},Q(e,r,i,!0)),[h]=u(),f=(e=>{let t=!1,n=em(e,e7);try{t="none"===eL(e,"scrollbar-width")||"none"===eL(e,"display","::-webkit-scrollbar")}catch(e){}return n(),t})(r),g={x:0===h.x,y:0===h.y},m={elements:{host:null,padding:!f,viewport:e=>f&&ey(e,"body")&&e,content:!1},scrollbars:{slot:!0},cancel:{nativeScrollbarsOverlaid:!1,body:null}},x=et({},tR),y=Q(et,{},x),w=Q(et,{},m),v={U:h,M:g,P:f,J:!!b,G:Q(c,"r"),K:w,Z:e=>et(m,e)&&w(),tt:y,nt:e=>et(x,e)&&y(),ot:et({},m),st:et({},x)};if(ec(r,"style"),ev(r),eK(o,"resize",()=>{d("r",[])}),"function"==typeof o.matchMedia&&!f&&(!g.x||!g.y)){let e=t=>{eK(o.matchMedia(`(resolution: ${o.devicePixelRatio}dppx)`),"change",()=>{t(),e(t)},{A:!0})};e(()=>{let[e,t]=p();et(v.U,e),d("r",[t])})}return v})()),r),tT=(e,t,n,r)=>{var l;let o,i,a,s=!1,{et:c,ct:d,rt:p,it:u,lt:h,ut:f}=r||{},[g,x]=(l=()=>s&&n(!0),o=!1,i=!!p&&new WeakMap,(a=t=>{i&&p&&_(p.map(n=>{let[r,l]=n||[];return[l&&r?(t||ex)(r,e):[],l]}),t=>_(t[0],n=>{let r=t[1],a=i.get(n)||[];if(e.contains(n)&&r){let e=eK(n,r,t=>{o?(e(),i.delete(n)):l(t)});i.set(n,$(a,e))}else R(a),i.delete(n)}))})(),[()=>{o=!0},a]),y=d||[],b=(c||[]).concat(y),w=(l,o)=>{if(!j(o)){let i=h||er,a=f||er,s=[],c=[],d=!1,p=!1;if(_(o,n=>{let{attributeName:l,target:o,type:h,oldValue:f,addedNodes:g,removedNodes:m}=n,x="attributes"===h,b=e===o,w=x&&l,v=w&&ei(o,l||""),C="string"==typeof v?v:null,I=w&&f!==C,k=S(y,l)&&I;if(t&&("childList"===h||!b)){let t=x&&I,c=t&&u&&ey(o,u),d=(c?!i(o,l,f,C):!x||t)&&!a(n,!!c,e,r);_(g,e=>$(s,e)),_(m,e=>$(s,e)),p=p||d}!t&&b&&I&&!i(o,l,f,C)&&($(c,l),d=d||k)}),x(e=>M(s).reduce((t,n)=>($(t,ex(e,n)),ey(n,e)?$(t,n):t),[])),t)return!l&&p&&n(!1),[!1];if(!j(c)||d){let e=[M(c),d];return l||n.apply(0,e),e}}},v=new m(Q(w,!1));return[()=>(v.observe(e,{attributes:!0,attributeOldValue:!0,attributeFilter:b,subtree:t,childList:t,characterData:t}),s=!0,()=>{s&&(g(),v.disconnect(),s=!1)}),()=>{if(s)return w(!0,v.takeRecords())}]},tz=null,tN=(e,t,n)=>{let{ft:r}=n||{},o=e5("__osSizeObserverPlugin"),[i]=l({o:!1,u:!0});return()=>{let n=[],l=eS(`<div class="${to}"><div class="${ta}"></div></div>`)[0],a=l.firstChild,s=e=>{let n=Array.isArray(e)&&!j(e),r=!1,l=!1;if(n){let[t,,n]=i(e[0].contentRect),o=eG(t);r=!(l=eq(t,n))&&!o}else l=!0===e;r||t({_t:!0,ft:l})};if(y){if("boolean"!=typeof tz){let t=new y(er);t.observe(e,{get box(){tz=!0}}),tz=tz||!1,t.disconnect()}let t=X(s,{p:0,v:0}),r=e=>t(e),o=new y(r);if(o.observe(tz?e:a),$(n,[()=>{o.disconnect()},!tz&&eC(e,l)]),tz){let t=new y(r);t.observe(e,{box:"border-box"}),$(n,()=>t.disconnect())}}else{if(!o)return er;let t,[i,c]=o(a,s,r);$(n,(t=[em(l,ti),eK(l,"animationstart",i),eC(e,l)],t.concat(c)))}return Q(R,n)}},tO=(e,t)=>"function"==typeof t?t.apply(0,e):t,tH=(e,t,n,r)=>tO(e,void 0===r?n:r)||t.apply(0,e),tP=(e,t,n,r)=>{let l=tO(e,void 0===r?n:r);return!!l&&(l instanceof HTMLElement?l:t.apply(0,e))},tD=new WeakMap,tG=(e,t,n)=>{let{tt:r}=tA(),a=e instanceof HTMLElement,p=a?e:e.target,f=tD.get(p);if(t&&!f){let f=[],g={},m=e=>{let t=en(e),n=e5("__osOptionsValidationPlugin");return n?n(t,!0):t},w=et({},r(),m(t)),[v,I,k]=eJ(),[j,Z,J]=eJ(n),eo=(e,t)=>{J(e,t),k(e,t)},[ed,ep,ex,eS,e$,eI,ek]=((e,t,n,r)=>{let a=!1,p={Kt:!1,pn:!1},f=tE(t,{}),[g,m,w,v,I]=(e=>{let[t,n,r]=(e=>{let t,n,r,l,{K:i,P:a}=tA(),{elements:s}=i(),{padding:c,viewport:d,content:p}=s,u=e instanceof HTMLElement,h=u?{}:e,{elements:f}=h,{padding:g,viewport:m,content:x}=f||{},y=u?e:h.target,b=ey(y,"body"),w=y.ownerDocument,v=w.documentElement,C=()=>w.defaultView||o,_=Q(tH,[y]),I=Q(tP,[y]),k=Q(e_,""),j=Q(_,k,d),M=Q(I,k,p),L=j(m),E=L===y,A=E&&b,T=!E&&M(x),z=A?v:L,N=A?z:y,O=!E&&I(k,c,g),D=!(!E&&L===T)&&T,G=[D,z,O,N].map(e=>e instanceof HTMLElement&&!(e&&e.parentElement)&&e),q=z&&S(G,z)||(t=eN(z),n=eH(z),r=eL(z,H),l=eL(z,P),(!(n.w-t.w>0)||t_(r))&&(!(n.h-t.h>0)||t_(l)))?y:z,F=A?v:z,K=A?w:z,B={dt:y,vt:N,L:z,ln:O,ht:D,gt:F,Qt:K,an:b?v:q,Gt:w,bt:b,At:u,V:E,un:C,yt:e=>ef(z,te,e),wt:(e,t)=>
1eh(z,te,e,t),St:()=>eh(F,te,"scrolling",!0)},{dt:U,vt:V,ln:W,L:Y,ht:Z}=B,X=[()=>{ec(V,[e6,e8]),ec(U,e8),b&&ec(v,[e8,e6])}],J=eb([Z,Y,W,V,U].find(e=>e&&!(e&&S(G,e)))),ee=A?U:Z||Y,et=Q(R,X);return[B,()=>{let e=C(),t=document.activeElement,n=e=>{eC(e&&e.parentElement,eb(e)),ev(e)},r=e=>eK(e,"focusin focusout focus blur",eB,{I:!0,D:!1}),l="tabindex",o=ei(Y,l),i=r(t);return es(V,e6,E?"":"host"),es(W,tr,""),es(Y,te,""),es(Z,tl,""),!E&&(es(Y,l,o||"-1"),b&&es(v,e9,"")),eC(ee,J),eC(V,W),eC(W||V,!E&&Y),eC(Y,Z),$(X,[i,()=>{let e=document.activeElement,t=Y&&S(G,Y),i=t&&e===Y?U:e,a=r(i);ec(W,tr),ec(Z,tl),ec(Y,te),b&&ec(v,e9),o?es(Y,l,o):ec(Y,l),Z&&S(G,Z)&&n(Z),t&&n(Y),W&&S(G,W)&&n(W),eZ(i),a()}]),a&&!E&&(eu(Y,te,tn),$(X,Q(ec,Y,te))),eZ(!E&&b&&t===U&&e.top===e?Y:t),i(),J=0,et},et]})(e),a={ln:{t:0,r:0,b:0,l:0},_n:!1,F:{[N]:0,[O]:0,[z]:0,[L]:0,[E]:0,[T]:0,[A]:0},Vt:{x:0,y:0},Rt:{x:0,y:0},rn:{x:F,y:F},j:{x:!1,y:!1},Tt:eW()},{dt:s,gt:p,V:h,St:f}=t,{P:g,M:m}=tA(),x=!g&&(m.x||m.y),y=[(({ht:e})=>({Zt:t,fn:n,It:r})=>{let{$t:l}=t||{},{Ot:o}=n;e&&(l||r)&&eR(e,{[G]:o&&"100%"})})(t),(({vt:e,ln:t,L:n,V:r},o)=>{let[i,a]=l({i:W,o:eE()},Q(eE,e,"padding",""));return({Dt:e,Zt:l,fn:s,It:c})=>{let[d,p]=a(c),{P:u}=tA(),{_t:h,xt:f,Ct:g}=l||{},{B:m}=s,[x,y]=e("paddingAbsolute"),b=c||f;(h||p||b)&&([d,p]=i(c));let w=!r&&(y||g||p);if(w){let e=!x||!t&&!u,r=d.r+d.l,l=d.t+d.b,i={[N]:e&&!m?-r:0,[O]:e?-l:0,[z]:e&&m?-r:0,top:e?-d.t:0,right:e?m?-d.r:"auto":0,left:e?m?"auto":-d.l:0,[D]:e&&`calc(100% + ${r}px)`},a={[L]:e?d.t:0,[E]:e?d.r:0,[T]:e?d.b:0,[A]:e?d.l:0};eR(t||n,i),eR(n,a),et(o,{ln:d,_n:!e,F:t?a:et({},i,a)})}return{dn:w}}})(t,a),((e,t)=>{let n=tA(),{vt:r,ln:a,L:s,V:p,Qt:h,gt:f,bt:g,wt:m,un:x}=e,{P:y}=n,b=g&&p,w=Q(i,0),v={display:()=>!1,direction:e=>"ltr"!==e,flexDirection:e=>e.endsWith("-reverse"),writingMode:e=>"horizontal-tb"!==e},C=ee(v),_={i:U,o:{w:0,h:0}},S={i:V,o:{}},$=e=>{m(tt,!b&&e)},[I,k]=l(_,Q(eP,s)),[j,R]=l(_,Q(eH,s)),[L,E]=l(_),[A]=l(S),[T,z]=l(_),[N]=l(S),[O]=l({i:(e,t)=>{let n,r;return B(e,t,M((n=ee(e),r=ee(t),n.concat(r))))},o:{}}),[D,G]=l({i:(e,t)=>V(e.T,t.T)&&V(e.k,t.k),o:eW()}),W=e5(t$),Y=(e,t)=>{let n,r=t?H:P;return`${r}${(n=String(e||""))?n[0].toUpperCase()+n.slice(1):""}`};return({Dt:l,Zt:i,fn:p,It:g},{dn:_})=>{var S;let M,{_t:B,Ht:U,xt:V,Ct:Q,ft:Z,Et:X}=i||{},{X:J,Y:en,W:er}=W&&W.R(e,t,p,n,l)||{},[el,eo]=((e,t)=>{let{M:n}=t,[r,l]=e("showNativeOverlaidScrollbars");return[r&&n.x&&n.y,l]})(l,n),[ei,ea]=l("overflow"),es=t_(ei.x),ec=t_(ei.y),ed=B||_||V||Q||X||eo,ep=k(g),eu=R(g),eg=E(g),em=z(g);if(eo&&y&&m(tn,!el),ed){let e,t;ef(r,e6,e3)&&$(!0);let n=en&&en(),[l]=ep=I(g),[i]=eu=j(g),a=eO(s),c=b&&ez("inner",x()||o),d={w:w(i.w+l.w),h:w(i.h+l.h)},p={w:w((c?c.w:a.w+w(a.w-i.w))+l.w),h:w((c?c.h:a.h+w(a.h-i.h))+l.h)};
1n&&n(),em=T(p),eg=L((e=+(o.devicePixelRatio%1!=0),{w:(t={w:w(d.w-p.w),h:w(d.h-p.h)}).w>e?t.w:0,h:t.h>e?t.h:0}),g)}let[ex,ey]=em,[eb,ew]=eg,[ev,eC]=eu,[e_,eS]=ep,[e$]=A({x:eb.w>0,y:eb.h>0}),eI=es&&ec&&(e$.x||e$.y)||es&&e$.x&&!e$.y||ec&&e$.y&&!e$.x,ek=_||Q||X||eS||eC||ey||ew||ea||eo||ed||U&&b,[ej]=l("update.flowDirectionStyles"),[eM,eE]=O(ej?ej(s)||{}:eL(s,C),g),[eA,eT]=Q||Z||eE||g?D(((e,t)=>{let n=!ee(e).length,r=!!t||C.some(t=>{let n=e[t];return"string"==typeof n&&v[t](n)});if(n||!r||!(s&&(s.offsetWidth||s.offsetHeight||s.getClientRects().length)))return{T:{x:0,y:0},k:{x:1,y:1}};$(!0);let l=eV(f),o=eK(h,K,e=>{let t=eV(f);e.isTrusted&&t.x===l.x&&t.y===l.y&&e.stopPropagation()},{I:!0,A:!0}),i=m("noContent",!0);eU(f,{x:0,y:0}),i();let a=eV(f),d=eH(f);eU(f,{x:d.w,y:d.h});let p=eV(f),g={x:p.x-a.x,y:p.y-a.y};eU(f,{x:-d.w,y:-d.h});let x=eV(f),y={x:x.x-a.x,y:x.y-a.y},b={x:c(g.x)>=c(y.x)?p.x:x.x,y:c(g.y)>=c(y.y)?p.y:x.y};return eU(f,l),u(()=>o()),{T:a,k:b}})(eM,!!ej),g):G(),eN={x:(M=(e,t,n,r)=>{let l=e===q?F:e.replace(`${q}-`,""),o=t_(e),i=t_(n);if(!t&&!r)return F;if(o&&i)return q;if(o){let e=t?q:F;return t&&r?l:e}let a=i&&r?q:F;return t?l:a})(ei.x,e$.x,ei.y,e$.y),y:M(ei.y,e$.y,ei.x,e$.x)};if($(!1),ek){let e;S=eN,m((e=e=>[q,F,K].map(t=>Y(tS(t),e)))(!0).concat(e()).join(" ")),m(ee(S).map(e=>Y(S[e],"x"===e)).join(" "),!0),eN=((e,t)=>{let{overflowX:n,overflowY:r}=eL(e,[H,P]);return{x:tS(n,t.x),y:tS(r,t.y)}})(s,e$),er&&J&&(J(eN,ev,e_),eR(s,er(eN)))}let[eP,eD]=N(eN);return eh(r,e6,e3,eI),eh(a,tr,e3,eI),et(t,{rn:eP,Vt:{x:ex.w,y:ex.h},Rt:{x:eb.w,y:eb.h},j:e$,Tt:((e,t)=>{let{T:n,k:r}=e,{w:l,h:o}=t,i=(e,t,n)=>{let r=d(e)*n,l=d(t)*n;if(r===l){let n=c(e),o=c(t);l=n>o?0:l,r=n<o?0:r}return[(r=r===l?0:r)+0,l+0]},[a,s]=i(n.x,r.x,l),[p,u]=i(n.y,r.y,o);return{T:{x:a,y:p},k:{x:s,y:u}}})(eA,eb)}),{en:eD,nn:ey,sn:ew,cn:eT||ew}}})(t,a)];return[n,e=>{let t={},n=x&&eV(p),r=n&&f();return _(y,n=>{et(t,n(e,t)||{})}),eU(p,n),r&&r(),h||eU(s,0),t},a,t,r]})(e),[k,j,Z]=((e,t,n,r)=>{let o,i,a,s,c,d,p,u,h,f,g,m,b,w=`[${e6}]`,v=`[${te}]`,_=["id","class","style","open","wrap","cols","rows"],{dt:S,vt:I,L:k,gt:j,ht:M,V:L,bt:E,yt:A,wt:T,St:z}=e,N={Ot:!1,B:"rtl"===eL(S,"direction")},O=tA(),H=e5(t$),[P]=l({i:U,o:{w:0,h:0}},()=>{let r=H&&H.R(e,t,N,O,n).Y,l=!(E&&L)&&ef(I,e6,e3),o=!L&&A("arrange"),i=o&&eV(j),a=i&&z(),s=T(tt,l),c=o&&r&&r(),d=eH(k),p=eP(k);return c&&c(),eU(j,i),a&&a(),l&&s(),{w:d.w+p.w,h:d.h+p.h}}),D=(m=X(r,{p:()=>h,v:()=>f,S:()=>g,m(e,t){let n,r,[l]=e,[o]=t;return[(n=ee(l),r=ee(o),n.concat(r)).reduce((e,t)=>(e[t]=l[t]||o[t],e),{})]}}),(b=(e,t)=>{if(Array.isArray(t)){let[e,n,r]=t;h=e,f=n,g=r}else"number"==typeof t?h=t:h=!1,f=!1,g=!1;m(e)}).O=m.O,b),G=e=>{let t="rtl"===eL(S,"direction");et(e,{Ct:u!==t}),et(N,{B:t}),u=t},q=(e,t)=>{let[n,l]=e,o={$t:l};return et(N,{Ot:n}),t||r(o),o},F=({_t:e,ft:t})=>{let n=t?r:D,l={_t:e||t,ft:t};G(l),n(l,i)},K=(e,t)=>{let[,n]=P(),r={xt:n};return G(r),n&&!t&&D(r,e?a:o),r},B=(e,t,n)=>{let r={Ht:t};return G(r),t&&!n&&D(r,o),r},[V,W]=M?((e,t)=>{let n,r=e_("os-trinsic-observer"),[o]=l({o:!1}),i=(e,n)=>{if(e){let r=o(0===e.h||e.isIntersecting||e.intersectionRatio>0),[,l]=r;return l&&!n&&t(r)&&[r]}},a=(e,t)=>i(t.pop(),e);return[()=>{let t=[];if(x)(n=new x(Q(a,!1),{root:e})).observe(r),$(t,()=>{n.disconnect()});else{let e=()=>{i(eN(r))};$(t,tN(r,e)()),e()}return Q(R,$(t,eC(e,r)))},()=>n&&a(!0,n.takeRecords())]})(I,q):[],Y=!L&&tN(I,F,{ft:!0}),[Z,J]=tT(I,!1,B,{ct:_,et:_}),en=L&&y&&new y(e=>{let t=e[e.length-1].contentRect;F({_t:!0,ft:eq(t,p)}),p=t});return[()=>{en&&en.observe(I);let e=Y&&Y(),t=V&&V(),n=Z(),r=O.G(e=>{let[,t]=P();D({Et:e,xt:t,_t:E},s)});return()=>{en&&en.disconnect(),e&&e(),t&&t(),d&&d(),n(),r()}},({Dt:e,zt:t,It:n})=>{let r={},[l]=e("update.ignoreMutation"),[p,u]=e("update.attributes"),[h,f]=e("update.elementEvents"),[g,m]=e("update.debounce"),x=t||n;if(f||u){let e;c&&c(),d&&d();let[t,n]=tT(M||k,!0,K,{et:(e=p||[],_.concat(e)),rt:h,it:w,ut:(e,t)=>{var n,r;let o,i,a,s,c,{target:d,attributeName:p}=e;return!t&&!!p&&!L&&(a=ew(d,w),c=ew(s=d&&(n=v,(o=(r=a)?r instanceof Element&&r:document)&&o.querySelector(n)),w)===a,!!a&&!!s&&(a===d||s===d||c&&ew(ew(d,v),w)!==a))||!!ew(d,`.${ts}`)||(i=e,"function"==typeof l&&!!l(i))}});d=t(),c=n}if(m&&(D.O(),Array.isArray(g)||"number"==typeof g?(o=g,i=!1,a=tj,s=tM):C(g)?(o=g.mutation,i=g.resize,a=g.event,s=g.env):(o=!1,i=!1,a=!1,s=!1)),x){let e=J(),t=W&&W(),n=c&&c();e&&et(r,B(e[0],e[1],x)),t&&et(r,q(t[0],x)),n&&et(r,K(n[0],x))}return G(r),r},N]})(v,w,f,e=>{ep({},e)}),[J,en,,eo]=((e,t,n,r,l,o,i)=>{let a,d,p,u,f,g,m=er,x=0,y=["mouse","pen"],w=e=>t=>{n.Kt||e(t)}
1,[v,C]=Y(),[S,I]=Y(100),[k,j]=Y(50),[M,L]=Y(()=>x),[E,A]=((e,t,n,r)=>{let{K:l}=tA(),{scrollbars:o}=l(),{slot:i}=o,{dt:a,vt:s,L:c,At:d,gt:p,bt:u,V:h}=t,{scrollbars:f}=d?{}:e,{slot:g}=f||{},m=[],x=[],y=[],w=tP([a,s,c],()=>h&&u?a:s,i,g),v=e=>{if(b){let t=null,r=[],l=new b({source:p,axis:e}),o=()=>{t&&t.cancel(),t=null};return{Mt:i=>{let{Tt:a}=n,s=eQ(a)[e],c="x"===e,d=[eA(0,c),eA(`calc(-100% + 100cq${c?"w":"h"})`,c)],p=s?d:d.reverse();return r[0]===p[0]&&r[1]===p[1]||(r=p,o(),t=i.kt.animate({clear:["left"],transform:p},{timeline:l})),o}}}},C={x:v("x"),y:v("y")},S=(e,t,n)=>{let r=n?em:eg;_(e,e=>{r(e.Lt,t)})},I=(e,t)=>{_(e,e=>{let[n,r]=t(e);eR(n,r)})},k=(e,t,n)=>{let r="boolean"==typeof n;(!r||n)&&S(x,e,t),r&&n||S(y,e,t)},j=e=>{let t=e?"x":"y",n=e_(`${ts} ${e?td:tp}`),l=e_(tu),o=e_(th),i={Lt:n,Pt:l,kt:o},a=C[t];return $(e?x:y,i),$(m,[eC(n,l),eC(l,o),Q(ev,n),a&&a.Mt(i),r(i,k,e)]),i},M=Q(j,!0),L=Q(j,!1);return M(),L(),[{Ut:()=>{let e=(()=>{let{Rt:e,Vt:t}=n,r=(e,t)=>el(0,1,e/(e+t)||0);return{x:r(t.x,e.x),y:r(t.y,e.y)}})(),t=e=>t=>[t.Lt,{"--os-viewport-percent":ej(e)+""}];I(x,t(e.x)),I(y,t(e.y))},Nt:()=>{if(!b){let{Tt:e}=n,t=eY(e,eV(p)),r=e=>t=>[t.Lt,{"--os-scroll-percent":ej(e)+""}];I(x,r(t.x)),I(y,r(t.y))}},qt:()=>{let{Tt:e}=n,t=eQ(e),r=e=>t=>[t.Lt,{"--os-scroll-direction":e?"0":"1"}];
1I(x,r(t.x)),I(y,r(t.y)),b&&(x.forEach(C.x.Mt),y.forEach(C.y.Mt))},Bt:()=>{if(h&&!u){let{Rt:e,Tt:t}=n,r=eQ(t),l=eY(t,eV(p)),o=t=>{let{Lt:n}=t,o=(n&&n.parentElement)===c&&n,i=(e,t,n)=>{let r=t*e;return eM(n?r:-r)};return[o,o&&{transform:eA({x:i(l.x,e.x,r.x),y:i(l.y,e.y,r.y)})}]};I(x,o),I(y,o)}},Ft:k,jt:{Xt:x,Yt:M,Wt:Q(I,x)},Jt:{Xt:y,Yt:L,Wt:Q(I,y)}},()=>(eC(w,x[0].Lt),eC(w,y[0].Lt),Q(R,m))]})(e,o,l,(a=e=>y.includes(e.pointerType)&&V(),(e,n,r)=>{let i,d,p,u,f,g,m,{vt:x,L:y,V:b,gt:v,Gt:C,St:_}=o,{Lt:S,Pt:I,kt:k}=e,[j,M]=Y(333),[L,E]=Y(444),A=e=>{"function"==typeof v.scrollBy&&v.scrollBy({behavior:"smooth",left:e.x,top:e.y})},T=!0;return Q(R,[eK(k,"pointermove pointerleave",w(a)),eK(S,"pointerenter",w(()=>{n(tm,!0)})),eK(S,"pointerleave pointercancel",w(()=>{n(tm,!1)})),eK(S,"wheel",w(e=>{let{deltaX:t,deltaY:r,deltaMode:l}=e;T&&0===l&&(S&&S.parentElement)===x&&A({x:t,y:r}),T=!1,n(tw,!0),j(()=>{T=!0,n(tw)}),e.preventDefault()}),{D:!1,I:!0}),!b&&eK(S,"mousedown",w(()=>{let e=document.activeElement;(ea(e,te)||ea(e,e6)||e===document.body)&&h(Q(eZ,y),25)})),eK(S,"pointerdown",()=>{let e=eK(C,"click",e=>{t(),eB(e)},{A:!0,I:!0,D:!1}),t=eK(C,"pointerup pointercancel",()=>{t(),setTimeout(e,150)},{I:!0,D:!0})},{I:!0,D:!0}),(i="pointerup pointercancel lostpointercapture",d=`client${r?"X":"Y"}`,p=r?D:G,u=r?"left":"top",f=r?"w":"h",g=r?"x":"y",m=[],eK(I,"pointerdown",w(e=>{let n=ew(e.target,`.${th}`)===k,o=n?k:I,a=t.scrollbars,h=a[n?"dragScroll":"clickScroll"],{button:x,isPrimary:y,pointerType:b}=e,{pointers:w}=a;if(0===x&&y&&h&&(w||[]).includes(b)){R(m),E();let t=!n&&(e.shiftKey||"instant"===h),a=Q(eD,k),x=Q(eD,I),y=(e,t)=>(e||a())[u]-(t||x())[u],b=s(eD(v)[p])/eN(v)[f]||1,w=eV(v)[g],S=e=>{eU(v,{[g]:w+e})},j=e=>{let{Rt:t}=l;S(1/b*e/(eN(I)[f]-eN(k)[f])*t[g])},M=e[d],T=a(),z=x(),N=T[p],O=y(T,z)+N/2,H=M-z[u]-O,P=n?0:H,D=e=>{R(F),o.releasePointerCapture(e.pointerId)},G=n||t,q=_(),F=[eK(C,i,D),eK(C,"selectstart",e=>e.preventDefault(),{D:!1}),eK(I,i,D),G&&eK(I,"pointermove",e=>j(P+e[d]-M)),G&&(()=>{let e=eV(v);q();let t=eV(v),n={x:t.x-e.x,y:t.y-e.y};(c(n.x)>3||c(n.y)>3)&&(_(),eU(v,e),A(n),L(q))})];if(o.setPointerCapture(e.pointerId),t)j(H);else if(!n){let e=e5("__osClickScrollPlugin");if(e){let{Vt:t}=l,n=e(S,j,Q(y),H,t[g],h,!!r,e=>{e?q():$(F,q)});$(F,n),$(m,Q(n,!0))}}}}))),M,E])})),{vt:T,Qt:z,bt:N}=o,{Ft:O,Ut:H,Nt:P,qt:F,Bt:B}=E,U=(e,t)=>{L();let r=e=>{n.Kt||O(tb,e)};if(e)r();else{let e=!u||!d;x>0&&!t?M(Q(r,e)):r(e)}},V=()=>{(u?d:f)||(U(!0),S(()=>{U(!1)}))},W=e=>{y.includes(e.pointerType)&&(d=!0,!n.Kt&&u&&U(!0))},Z=e=>{O(ty,e,!0),O(ty,e,!1)},X=[L,I,j,C,()=>m(),eK(T,"pointerover",W,{A:!0}),eK(T,"pointerenter",W),eK(T,"pointerleave",e=>{y.includes(e.pointerType)&&(d=!1,!n.Kt&&u&&U(!1))}),eK(T,"pointermove",w(e=>{y.includes(e.pointerType)&&p&&V()})),eK(z,"scroll",w(e=>{v(()=>{P(),V()}),i(e),B()}))],J=e5(t$);return[()=>Q(R,$(X,A())),({Dt:e,It:t,Zt:n,tn:o})=>{let{nn:i,sn:a,en:s,cn:c}=o||{},{Ct:d,ft:h}=n||{},{B:y}=r,{M:b,P:v}=tA(),{rn:C,j:_}=l,[S,$]=e("showNativeOverlaidScrollbars"),[I,j]=e("scrollbars.theme"),[M,R]=e("scrollbars.visibility"),[L,E]=e("scrollbars.autoHide"),[A,T]=e("scrollbars.autoHideSuspend"),[D]=e("scrollbars.autoHideDelay"),[G,V]=e("scrollbars.dragScroll"),[W,Y]=e("scrollbars.clickScroll"),[X,ee]=e("overflow"),et=h&&!t,en=S&&b.x&&b.y,er=!v&&!J,el=(e,t,n)=>{let r=e.includes(K)&&(M===q||"auto"===M&&t===K);return O(tf,r,n),r};if(x=D,($||er)&&O("os-theme-none",en||er),j&&(O(g),O(I,!0),g=I),(T||et)&&(Z(!A),et&&A&&(_.x||_.y?(m(),k(()=>{m=eK(z,K,w(Q(Z,!0)),{A:!0})})):Z(!0))),E&&(p="move"===L,u="leave"===L,U(f="never"===L,!0)),V&&O(tC,G),Y&&O(tv,!!W),s||R||ee){let e=el(X.x,C.x,!0),t=el(X.y,C.y,!1);O(tg,!(e&&t))}(i||a||c||d||t)&&(P(),H(),B(),c&&F(),O(tx,!_.x,!0),O(tx,!_.y,!1),O(tc,y&&!N))},{},E]})(e,t,p,Z,w,v,r),ed=e=>ee(e).some(t=>!!e[t]),ep=(e,r)=>{let{Kt:l,pn:o}=p;if(o||l&&a)return!1;let{vn:i,It:s,zt:c}=e,d=i||{},u=!!s||!a,h={Dt:tE(t,d,u),vn:d,It:u},f=r||j(et({},h,{zt:c})),g=m(et({},h,{fn:Z,Zt:f}));en(et({},h,{Zt:f,tn:g}));let x=ed(f),y=ed(g),b=x||y||!!ee(d).length||u;return a=!0,b&&n(e,{Zt:f,tn:g}),b};return[()=>{let{an:e,gt:t,St:n}=v,r=eV(e),l=[k(),g(),J(),()=>{p.pn=!0}],o=n();return eU(t,r),o(),Q(R,l)},ep,e=>{let t=p.Kt;p.Kt=e,e||t===e||ep({It:!0,zt:!0})},()=>{en({Dt:tE(t,{},!1),vn:{},It:!1})},()=>({gn:p,hn:Z,bn:w}),{yn:v,wn:eo},I]})(e,w,({vn:e,It:t},{Zt:n,tn:r})=>{let{_t:l,Ct:o,$t:i,xt:a,Ht:s,ft:c}=n,{nn:d,sn:p,en:u,cn:h}=r;eo("updated",[eG,{updateHints:{sizeChanged:!!l,directionChanged:!!o,heightIntrinsicChanged:!!i,overflowEdgeChanged:!!d,overflowAmountChanged:!!p,overflowStyleChanged:!!u,scrollC
1oordinatesChanged:!!h,contentMutation:!!a,hostMutation:!!s,appear:!!c},changedOptions:e||{},force:!!t}])},e=>eo("scroll",[eG,e])),eT=e=>{let{gn:t}=e$(),{pn:n}=t;!n&&(tD.delete(p),R(f),eo("destroyed",[eG,e]),I(),Z())},eG={options(e,t){if(e){let n=tL(w,et(t?r():{},m(e)));ee(n).length&&(et(w,n),ep({vn:n}))}return et({},w)},on:j,off:(e,t)=>{e&&t&&Z(e,t)},state(){let{gn:e,hn:t,bn:n}=e$(),{pn:r,Kt:l}=e,{B:o}=t,{Vt:i,Rt:a,rn:s,j:c,ln:d,_n:p,Tt:u}=n;return et({},{overflowEdge:i,overflowAmount:a,overflowStyle:s,hasOverflow:c,scrollCoordinates:{start:u.T,end:u.k},padding:d,paddingAbsolute:p,directionRTL:o,sleeping:l,destroyed:r})},elements(){let{dt:e,vt:t,ln:n,L:r,ht:l,gt:o,Qt:i}=eI.yn,{jt:a,Jt:s}=eI.wn,c=e=>{let{kt:t,Pt:n,Lt:r}=e;return{scrollbar:r,track:n,handle:t}},d=e=>{let{Xt:t,Yt:n}=e;return et({},c(t[0]),{clone:()=>{let e=c(n());return eS(),e}})};return et({},{target:e,host:t,padding:n||r,viewport:r,content:l||r,scrollOffsetElement:o,scrollEventElement:i,scrollbarHorizontal:d(a),scrollbarVertical:d(s)})},update:e=>ep({It:e,zt:!0}),destroy:Q(eT,!1),sleep:ex,plugin:e=>g[ee(e)[0]]};return($(f,[ek]),tD.set(p,eG),e2(e0,tG,[eG,v,g]),((e,t)=>{let{nativeScrollbarsOverlaid:n,body:r}=t||{},{M:l,P:o,K:i}=tA(),{nativeScrollbarsOverlaid:a,body:s}=i().cancel,c=void 0===r?s:r,d=(l.x||l.y)&&(null!=n?n:a);return!!d||!!(e&&(null===c?!o:c))})(eI.yn.bt,!a&&e.cancel))?eT(!0):($(f,ed()),eo("initialized",[eG]),eG.update()),eG}return f};tG.plugin=e=>{let t=Array.isArray(e),n=t?e:[e],r=n.map(e=>e2(e,tG)[0]);return _(n,e=>_(e,(t,n)=>{e0[n]=e[n]})),t?r:r[0]},tG.valid=e=>{let t,n=e&&e.elements,r="function"==typeof n&&n();return C(r)&&(t=r.target,!!tD.get(t))},tG.env=()=>{let{U:e,M:t,P:n,J:r,ot:l,st:o,K:i,Z:a,tt:s,nt:c}=tA();return et({},{scrollbarsSize:e,scrollbarsOverlaid:t,scrollbarsHiding:n,scrollTimeline:r,staticDefaultInitialization:l,staticDefaultOptions:o,getDefaultInitialization:i,setDefaultInitialization:a,getDefaultOptions:s,setDefaultOptions:c})},tG.nonce=e=>{n=e},tG.trustedTypePolicy=e=>{t=e},e.s(["OverlayScrollbars",0,tG],157031),e.s(["getSpotlightHeight",0,function({hasQuery:e,isLoading:t,contentHeight:n}){return e?t?476:56+Math.min(420,n+40):56}],71309),e.s(["PHONE_MEDIA_QUERY",0,"(max-width: 767px)","shouldUseOverlayScrollbars",0,function(e){return!e}],394686)},994576,485158,458102,e=>{"use strict";var t=e.i(659638),n=e.i(335698),r=e.i(535917),l=e.i(166101),o=e.i(32826),i=e.i(676137),a=e.i(278142),s=e.i(157031);e.i(375912);var c=e.i(399510),d=e.i(829310),p=e.i(71309),u=e.i(394686),h=e.i(456606),f=e.i(421072),g=e.i(365298);function m(e){return e.replace(/^www\./,"").toLowerCase()}var x=e.i(901189),y=e.i(119305),b=e.i(608655),w=e.i(986066);let v=(0,y.default)(x.Command.Item).withConfig({displayName:"SpotlightItem.styled__CommandItem",componentId:"sc-92630118-0"})`
2  display: flex;
3  align-items: flex-start;
4  justify-content: center;
5  gap: 8px;
6  width: 100%;
7  min-height: 56px;
8  padding: 9px 10px;
9  border-radius: 10px;
10  cursor: pointer;
11
12  &[data-selected='true'] {
13    background-color: var(--bg-black-lighter, rgba(0, 0, 0, 0.05));
14  }
15
16  @media (hover: none) and (pointer: coarse) {
17    &[data-selected='true'] {
18      background-color: transparent;
19    }
20
21    &:active {
22      background-color: var(--bg-black-lighter, rgba(0, 0, 0, 0.05));
23    }
24  }
25
26  ${w.Responsive.phone} {
27    min-height: 58px;
28    padding: 8px 14px;
29    border-radius: 16px;
30  }
31`,C=y.default.img.withConfig({displayName:"SpotlightItem.styled__ResultIcon",componentId:"sc-92630118-1"})`
32  width: 20px;
33  height: 20px;
34  flex: 0 0 20px;
35  object-fit: contain;
36`,_=(0,y.default)(b.Icon).withConfig({displayName:"SpotlightItem.styled__ResultBezierIcon",componentId:"sc-92630118-2"})`
37  flex: 0 0 20px;
38`,S=y.default.div.withConfig({displayName:"SpotlightItem.styled__Content",componentId:"sc-92630118-3"})`
39  display: flex;
40  flex-direction: column;
41  justify-content: center;
42  gap: 2px;
43  flex: 1 0 0;
44  min-width: 0;
45  padding-right: 30px;
46  white-space: nowrap;
47
48  ${w.Responsive.phone} {
49    padding-right: 0;
50  }
51`,$=y.default.p.withConfig({displayName:"SpotlightItem.styled__Title",componentId:"sc-92630118-4"})`
52  width: 100%;
53  font-size: 15px;
54  font-weight: 500;
55  line-height: 20px;
56  letter-spacing: -0.1px;
57  color: var(--txt-black-darkest);
58
59  display: block;
60  overflow: hidden;
61  text-overflow: ellipsis;
62  white-space: nowrap;
63
64  ${w.Responsive.phone} {
65    font-size: 16px;
66    line-height: 24px;
67  }
68`,I=y.default.span.withConfig({displayName:"SpotlightItem.styled__TitleHighlight",componentId:"sc-92630118-5"})`
69  font-weight: 600;
70
71  ${w.Responsive.phone} {
72    font-weight: 700;
73  }
74`,k=y.default.p.withConfig({displayName:"SpotlightItem.styled__Description",componentId:"sc-92630118-6"})`
75  width: 100%;
76  font-size: 13px;
77  font-weight: 400;
78  line-height: 18px;
79  letter-spacing: 0;
80  color: var(--txt-black-dark);
81
82  display: block;
83  overflow: hidden;
84  text-overflow: ellipsis;
85  white-space: nowrap;
86
87  ${w.Responsive.phone} {
88    color: var(--color-text-neutral-lighter, rgba(0, 0, 0, 0.4));
89  }
90`,j=y.default.div.withConfig({displayName:"SpotlightItem.styled__Action",componentId:"sc-92630118-7"})`
91  display: none;
92  align-items: center;
93  justify-content: center;
94  gap: 4px;
95  flex: 0 0 auto;
96  padding: 1px 0;
97  color: var(--txt-black-dark, rgba(0, 0, 0, 0.4));
98  font-size: 12px;
99  font-weight: 400;
100  line-height: 16px;
101  white-space: nowrap;
102
103  ${v}[data-selected='true'] & {
104    display: flex;
105  }
106
107  @media (hover: none) and (pointer: coarse) {
108    ${v}[data-selected='true'] & {
109      display: none;
110    }
111
112    ${v}:active & {
113      display: flex;
114    }
115  }
116`,M=y.default.span.withConfig({displayName:"SpotlightItem.styled__ActionIconWrapper",componentId:"sc-92630118-8"})`
117  width: 12px;
118  height: 12px;
119  flex: 0 0 12px;
120  display: flex;
121  align-items: center;
122  justify-content: center;
123`,R=y.default.img.withConfig({displayName:"SpotlightItem.styled__ActionIcon",componentId:"sc-92630118-9"})`
124  width: 8.14644px;
125  height: 8.14643px;
126  object-fit: contain;
127`,L=(0,y.default)(x.Command.Item).withConfig({displayName:"SpotlightItem.styled__AlfCommandItem",componentId:"sc-92630118-10"})`
128  display: flex;
129  align-items: center;
130  justify-content: center;
131  gap: 8px;
132  width: 100%;
133  padding: 8px 10px;
134  border-radius: 10px;
135  cursor: pointer;
136
137  &[data-selected='true'] {
138    background-color: var(--bg-black-lighter, rgba(0, 0, 0, 0.05));
139  }
140
141  @media (hover: none) and (pointer: coarse) {
142    &[data-selected='true'] {
143      background-color: transparent;
144    }
145
146    &:active {
147      background-color: var(--bg-black-lighter, rgba(0, 0, 0, 0.05));
148    }
149  }
150
151  ${w.Responsive.phone} {
152    padding: 8px 14px;
153    border-radius: 16px;
154  }
155`,E=y.default.img.withConfig({displayName:"SpotlightItem.styled__AlfIcon",componentId:"sc-92630118-11"})`
156  width: 20px;
157  height: 20px;
158  flex: 0 0 20px;
159  object-fit: contain;
160`,A=y.default.div.withConfig({displayName:"SpotlightItem.styled__AlfContent",componentId:"sc-92630118-12"})`
161  display: flex;
162  flex: 1 0 0;
163  flex-direction: column;
164  align-items: flex-start;
165  justify-content: center;
166  min-width: 0;
167`,T=y.default.p.withConfig({displayName:"SpotlightItem.styled__AlfText",componentId:"sc-92630118-13"})`
168  width: 100%;
169  overflow: hidden;
170  color: var(--color-text-neutral-light, rgba(0, 0, 0, 0.6));
171  text-overflow: ellipsis;
172  white-space: nowrap;
173  font-size: 12px;
174  font-weight: 400;
175  line-height: 16px;
176  letter-spacing: 0;
177
178  ${w.Responsive.phone} {
179    font-size: 13px;
180    line-height: 18px;
181  }
182`,z=y.default.div.withConfig({displayName:"SpotlightItem.styled__AlfAction",componentId:"sc-92630118-14"})`
183  display: none;
184  align-items: center;
185  justify-content: center;
186  gap: 4px;
187  flex: 0 0 auto;
188  padding: 1px 0;
189  color: var(--color-text-neutral-lighter, rgba(0, 0, 0, 0.4));
190  font-size: 12px;
191  font-weight: 400;
192  line-height: 16px;
193  letter-spacing: 0;
194  white-space: nowrap;
195
196  ${L}[data-selected='true'] & {
197    display: flex;
198  }
199
200  @media (hover: none) and (pointer: coarse) {
201    ${L}[data-selected='true'] & {
202      display: none;
203    }
204
205    ${L}:active & {
206      display: flex;
207    }
208  }
209`,N=y.default.span.withConfig({displayName:"SpotlightItem.styled__AlfActionIconWrapper",componentId:"sc-92630118-15"})`
210  width: 12px;
211  height: 12px;
212  flex: 0 0 12px;
213  display: flex;
214  align-items: center;
215  justify-content: center;
216`,O=y.default.img.withConfig({displayName:"SpotlightItem.styled__AlfActionIcon",componentId:"sc-92630118-16"})`
217  width: 8.14644px;
218  height: 8.14643px;
219  object-fit: contain;
220`,H=null,P=null,D=null;function G(e){return e.includes("/guide")||e.includes("/docs")||e.includes("/blog")}function q(){H?.disconnect(),H=null,P&&(clearTimeout(P),P=null),D&&(clearTimeout(D),D=null)}function F(){try{let e=document.querySelector("iframe#ch-plugin-script-iframe");return e?.contentDocument?.querySelector("#ch-plugin-root")??null}catch(e){return null}}function K(){let e=F(),t=e?.querySelector('button[data-ch-testid="messenger-footer-send-button"]');return!!t&&(t.click(),q(),!0)}function B(){q();let e=Date.now(),t=()=>{if(K())return;let n=F();if(n){(H=new MutationObserver(()=>{K()})).observe(n,{childList:!0,subtree:!0}),P=setTimeout(q,1e4),K();return}Date.now()-e>=1e4?q():D=setTimeout(t,100)};t()}function U({result:e,onHide:n,onResultOpen:r}){let{t:o}=(0,d.useTranslation)("common"),i=(0,c.getPublicFolderPath)(),a=(0,t.useCallback)(()=>{r?.({query:e.query,result:e}),window.ChannelIO&&(window.ChannelIO("openChat",void 0,e.query),setTimeout(B,0)),n()},[n,r,e]);return(0,l.jsxs)(L,{value:e.id,onSelect:a,children:[(0,l.jsx)(E,{src:`${i}/images/global-search/alf-filled.webp`,alt:"","aria-hidden":!0}),(0,l.jsx)(A,{children:(0,l.jsx)(T,{children:o("common.global_search.alf.ask",{query:e.query})})}),(0,l.jsxs)(z,{children:[(0,l.jsx)("span",{children:o("common.global_search.action.open_chat")}),(0,l.jsx)(N,{"aria-hidden":!0,children:(0,l.jsx)(O,{src:`${i}/images/global-search/arrow-right-up.svg`,alt:""})})]})]})}function V({result:e,searchQuery:r,onHide:o,onResultOpen:i}){var a;let s,{t:p}=(0,d.useTranslation)("common"),u=(0,n.useRouter)(),g=(0,c.getPublicFolderPath)(),[x,y]=(0,t.useState)(!1),b=!!e.faviconUrl&&!x&&!G(e.url),w=`${g}/images/global-search/favicon.png`,L=window.location.hostname;(0,t.useEffect)(()=>{y(!1)},[e.faviconUrl]);let E=(0,t.useCallback)(()=>{(i?.({query:r,result:e}),o(),/^https?:\/\//.test(e.url))?window.location.assign(e.url):u.push(e.url)},[e,u,o,i,r]);return(0,l.jsxs)(v,{value:e.id,onSelect:E,children:[G(e.url)?(0,l.jsx)(_,{source:f.NoteWritingIcon,size:20,color:"txt-black-dark"}):b?(0,l.jsx)(C,{src:e.faviconUrl,alt:"","aria-hidden":!0,onError:()=>y(!0)}):e.url.startsWith("http")?(0,l.jsx)(_,{source:h.GlobeIcon,size:20,color:"txt-black-dark"}):(0,l.jsx)(C,{src:w,alt:"","aria-hidden":!0}),(0,l.jsxs)(S,{children:[(0,l.jsx)($,{children:(a=e.title,(s=r.trim())?a.split(RegExp(`(${s.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")})`,"gi")).map((e,t)=>e.toLocaleLowerCase()===s.toLocaleLowerCase()?(0,l.jsx)(I,{children:e},`${e}-${t}`):e):a)}),(0,l.jsx)(k,{children:function(e,t){if(/^https?:\/\//.test(e))try{var n,r,l;let o=new URL(e),i=(n=o.pathname,r=o.search,l=o.hash,`${n||"/"}${r}${l}`);if(t&&m(o.hostname)===m(t))return i;let a=m(o.hostname);return`${a}${"/"===i?"":i}`}catch(t){return e.replace(/^https?:\/\//,"").replace(/^www\./,"")}return e.startsWith("/")?e:`/${e}`}(e.url,L)})]}),(0,l.jsxs)(j,{children:[(0,l.jsx)("span",{children:p("common.global_search.action.go_to_page")}
220),(0,l.jsx)(M,{"aria-hidden":!0,children:(0,l.jsx)(R,{src:`${g}/images/global-search/arrow-right-up.svg`,alt:""})})]})]})}let W=function({result:e,searchQuery:t,onHide:n=g.default.noop,onResultOpen:r}){return"alf"===e.type?(0,l.jsx)(U,{result:e,onHide:n,onResultOpen:r}):(0,l.jsx)(V,{result:e,searchQuery:t,onHide:n,onResultOpen:r})};var Q=e.i(257442);e.i(392761);var Y=e.i(934559);e.i(928676),e.i(917877);let Z=e.i(389841).Client.create({baseURL:"https://front-alf-desk-api.channel.io",withCredentials:!0}),X={titleResults:[],semanticResults:[]};function J(e){return{id:e.urlKey||e.url,title:e.title||e.url,description:e.text||void 0,url:e.url,faviconUrl:e.faviconUrl||void 0}}var ee=e.i(139078),et=e.i(30040);let en="global-search-modal-open",er=y.createGlobalStyle`
221  @keyframes globalSearchOverlayFade {
222    from {
223      background: rgba(255, 255, 255, 0);
224      backdrop-filter: blur(0);
225      -webkit-backdrop-filter: blur(0);
226    }
227
228    to {
229      background: var(--color-dim-absolute-white, rgba(255, 255, 255, 0.40));
230      backdrop-filter: blur(6px);
231      -webkit-backdrop-filter: blur(6px);
232    }
233  }
234
235  body.${en} [data-state='open'][style*='--bezier-modal-z-index'] {
236    background: var(--color-dim-absolute-white, rgba(255, 255, 255, 0.40));
237    backdrop-filter: blur(6px);
238    -webkit-backdrop-filter: blur(6px);
239    animation: globalSearchOverlayFade 340ms cubic-bezier(0.32, 0.72, 0, 1) both;
240  }
241
242  @media (prefers-reduced-motion: reduce) {
243    body.${en} [data-state='open'][style*='--bezier-modal-z-index'] {
244      animation: none;
245    }
246  }
247`,el=y.keyframes`
248  0% {
249    transform: scale(1.16, 1.04);
250    opacity: 0;
251  }
252
253  55% {
254    opacity: 1;
255  }
256
257  72% {
258    transform: scale(0.996, 1.001);
259    opacity: 1;
260  }
261
262  100% {
263    transform: scale(1, 1);
264    opacity: 1;
265  }
266`,eo=y.keyframes`
267  from {
268    opacity: 0;
269  }
270
271  to {
272    opacity: 1;
273  }
274`,ei=(0,y.default)(ee.ModalContent).withConfig({displayName:"GlobalSearchModal.styled__ModalContent",componentId:"sc-72fc2c97-0"})`
275  --global-search-modal-top: max(30px, 12vh);
276  --global-search-modal-bottom-gap: 24px;
277  --global-search-modal-max-height: 476px;
278  --global-search-footer-height: 38px;
279  --global-search-visual-viewport-bottom-inset: 0px;
280
281  width: min(calc(100% - 32px), 520px);
282  position: absolute;
283  top: var(--global-search-modal-top);
284  overflow: visible;
285  background: transparent;
286  box-shadow: none;
287
288  ${w.Responsive.phone} {
289    --global-search-modal-top: 0px;
290
291    width: 100%;
292    max-width: 100%;
293    height: 100dvh;
294    top: 0;
295    overflow: hidden;
296
297    &&[data-state='open'] {
298      animation: ${eo} 300ms cubic-bezier(0.3, 0, 0, 1) both;
299    }
300  }
301`,ea=(0,y.default)(et.ModalBody).withConfig({displayName:"GlobalSearchModal.styled__ModalBody",componentId:"sc-72fc2c97-1"})`
302  padding: 0;
303  background: transparent;
304`,es=y.default.div.withConfig({displayName:"GlobalSearchModal.styled__Content",componentId:"sc-72fc2c97-2"})`
305  width: 100%;
306  height: ${({$height:e})=>`min(${e}px, var(--global-search-modal-max-height))`};
307  max-height: var(--global-search-modal-max-height);
308  box-sizing: border-box;
309  display: flex;
310  flex-direction: column;
311  position: relative;
312  background: linear-gradient(90deg, rgba(241, 241, 241, 0.8) 0%, rgba(241, 241, 241, 0.8) 100%),
313    linear-gradient(
314      92deg,
315      rgba(255, 255, 255, 0.4) 0%,
316      rgba(255, 255, 255, 0.8) 35%,
317      rgba(255, 255, 255, 0.6) 70%,
318      rgba(255, 255, 255, 0.4) 100%
319    );
320  border: 0.52px solid var(--color-bdr-absolute-white, #fff);
321  border-radius: 20px;
322  box-shadow: 1.04px 1.04px 1.04px 0 #fff inset, 0 0 2.08px 0 rgba(0, 0, 0, 0.2), 0 0 62.4px 0 rgba(0, 0, 0, 0.24);
323  backdrop-filter: blur(10px);
324  -webkit-backdrop-filter: blur(10px);
325  overflow: hidden;
326  transform-origin: center;
327  animation: ${el} 600ms cubic-bezier(0.16, 1.12, 0.28, 1) both;
328  transition: ${({$animateHeight:e})=>e?"height 600ms cubic-bezier(0.16, 1.12, 0.28, 1)":"none"};
329  will-change: height, transform, opacity;
330
331  @media (prefers-reduced-motion: reduce) {
332    animation: none;
333    transition: none;
334  }
335
336  ${w.Responsive.phone} {
337    height: 100dvh;
338    max-height: none;
339    border: 0.5px solid #fff;
340    border-radius: 0;
341    background: rgba(255, 255, 255, 0.9);
342    box-shadow: none;
343    backdrop-filter: blur(10px);
344    -webkit-backdrop-filter: blur(10px);
345    animation: none;
346    transition: none;
347  }
348`,ec=(0,y.default)(x.Command).withConfig({displayName:"GlobalSearchModal.styled__CommandRoot",componentId:"sc-72fc2c97-3"})`
349  height: 100%;
350  min-height: 0;
351  display: flex;
352  flex-direction: column;
353`,ed=y.default.div.withConfig({displayName:"GlobalSearchModal.styled__SearchRow",componentId:"sc-72fc2c97-4"})`
354  display: flex;
355  align-items: center;
356  gap: 8px;
357  flex: 0 0 24px;
358  min-width: 0;
359  width: 100%;
360  padding: 16px;
361
362  ${w.Responsive.phone} {
363    position: absolute;
364    top: 0;
365    left: 0;
366    right: 0;
367    z-index: 2;
368    flex: 0 0 auto;
369    padding: 6px 16px 0;
370    background: linear-gradient(0deg, rgba(255, 255, 255, 0.1) 0%, #fff 87.96%);
371  }
372`,ep=y.default.div.withConfig({displayName:"GlobalSearchModal.styled__SearchInputSurface",componentId:"sc-72fc2c97-5"})`
373  display: flex;
374  align-items: center;
375  gap: 8px;
376  flex: 1 0 0;
377  min-width: 0;
378
379  ${w.Responsive.phone} {
380    position: relative;
381    height: 48px;
382    padding: 12px 14px;
383    border-radius: 100px;
384    isolation: isolate;
385    box-shadow: 0 8px 20px 0 rgba(0, 0, 0, 0.08), inset 0.5px 0.5px 0.5px 0 rgba(255, 255, 255, 0.8),
386      inset -0.5px -0.5px 0.5px 0 rgba(255, 255, 255, 0.8), inset 2px 2px 34px 0 rgba(0, 0, 0, 0.06);
387    backdrop-filter: blur(30px);
388    -webkit-backdrop-filter: blur(30px);
389
390    &::before {
391      content: '';
392      position: absolute;
393      inset: 0;
394      z-index: -1;
395      border-radius: inherit;
396      background: linear-gradient(144.343deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.36) 50%);
397    }
398  }
399`,eu=y.default.span.withConfig({displayName:"GlobalSearchModal.styled__SearchIconWrapper",componentId:"sc-72fc2c97-6"})`
400  width: 20px;
401  height: 20px;
402  flex: 0 0 20px;
403  display: flex;
404  align-items: center;
405  justify-content: center;
406`,eh=y.default.img.withConfig({displayName:"GlobalSearchModal.styled__SearchIconImage",componentId:"sc-72fc2c97-7"})`
407  width: 16.6668px;
408  height: 16.6668px;
409  object-fit: contain;
410`,ef=(0,y.default)(x.Command.Input).attrs({autoFocus:!0}).withConfig({displayName:"GlobalSearchModal.styled__SearchInput",componentId:"sc-72fc2c97-8"})`
411  width: 100%;
412  min-width: 0;
413  padding: 0;
414  border: 0;
415  outline: 0;
416  background: transparent;
417  color: var(--txt-black-darkest, rgba(0, 0, 0, 0.85));
418  font-size: 18px;
419  font-weight: 500;
420  line-height: 24px;
421  letter-spacing: 0;
422
423  &::placeholder {
424    color: var(--txt-black-dark, rgba(0, 0, 0, 0.4));
425  }
426
427  ${w.Responsive.phone} {
428    font-size: 16px;
429    font-weight: 400;
430    line-height: 24px;
431    letter-spacing: -0.1px;
432  }
433`,eg=y.default.button.withConfig({displayName:"GlobalSearchModal.styled__ClearButton",componentId:"sc-72fc2c97-9"})`
434  width: 20px;
435  height: 20px;
436  flex: 0 0 20px;
437  display: flex;
438  align-items: center;
439  justify-content: center;
440  cursor: pointer;
441  transition: opacity 200ms cubic-bezier(0.2, 0.9, 0.25, 1);
442
443  &:hover {
444    opacity: 0.72;
445  }
446`,em=y.default.button.withConfig({displayName:"GlobalSearchModal.styled__CloseButton",componentId:"sc-72fc2c97-10"})`
447  display: none;
448
449  ${w.Responsive.phone} {
450    width: 24px;
451    height: 24px;
452    flex: 0 0 24px;
453    display: flex;
454    align-items: center;
455    justify-content: center;
456    cursor: pointer;
457  }
458`,ex=y.default.img.withConfig({displayName:"GlobalSearchModal.styled__IconImage",componentId:"sc-72fc2c97-11"})`
459  display: block;
460  flex: 0 0 auto;
461  object-fit: contain;
462`,ey=(0,y.default)(ex).withConfig({displayName:"GlobalSearchModal.styled__ClearIconImage",componentId:"sc-72fc2c97-12"})`
463  width: 8.74px;
464  height: 8.74px;
465
466  ${w.Responsive.phone} {
467    display: none;
468  }
469`,eb=y.default.svg.withConfig({displayName:"GlobalSearchModal.styled__ClearIconSvg",componentId:"sc-72fc2c97-13"})`
470  display: none;
471  flex: 0 0 auto;
472
473  ${w.Responsive.phone} {
474    display: block;
475    width: 16.6663px;
476    height: 16.6671px;
477  }
478`,ew=(0,y.default)(ex).withConfig({displayName:"GlobalSearchModal.styled__CloseIconImage",componentId:"sc-72fc2c97-14"})`
479  width: 10.4px;
480  height: 10.4px;
481`,ev=y.default.div.withConfig({displayName:"GlobalSearchModal.styled__LoadingWrapper",componentId:"sc-72fc2c97-15"})`
482  height: 100%;
483  display: flex;
484  align-items: center;
485  justify-content: center;
486  gap: 8px;
487  padding: 0 8px;
488  border-radius: 8px;
489
490  ${w.Responsive.phone} {
491    height: auto;
492    margin-top: 54px;
493    padding: 60px 8px;
494  }
495`,eC=y.default.span.withConfig({displayName:"GlobalSearchModal.styled__LoadingSpinner",componentId:"sc-72fc2c97-16"})`
496  width: 16px;
497  height: 16px;
498  flex: 0 0 16px;
499  display: flex;
500  align-items: center;
501  justify-content: center;
502  opacity: 0.4;
503
504  & > * {
505    width: 16px;
506    height: 16px;
507  }
508`,e_=y.default.p.withConfig({displayName:"GlobalSearchModal.styled__LoadingText",componentId:"sc-72fc2c97-17"})`
509  max-width: 100%;
510  overflow: hidden;
511  color: var(--color-text-neutral-lighter, rgba(0, 0, 0, 0.4));
512  text-align: center;
513  text-overflow: ellipsis;
514  white-space: nowrap;
515  font-size: 13px;
516  font-weight: 500;
517  line-height: 18px;
518  letter-spacing: 0;
519`,eS=y.default.div.withConfig({displayName:"GlobalSearchModal.styled__EmptyWrapper",componentId:"sc-72fc2c97-18"})`
520  display: flex;
521  align-items: center;
522  justify-content: center;
523  flex-direction: column;
524  gap: 8px;
525  flex: 1;
526  min-height: 0;
527  margin-top: 16px;
528`,e$=y.default.p.withConfig({displayName:"GlobalSearchModal.styled__EmptyText",componentId:"sc-72fc2c97-19"})`
529  color: var(--txt-black-dark);
530  text-align: center;
531  font-size: 14px;
532  line-height: 20px;
533  white-space: pre-wrap;
534`,eI=y.default.div.withConfig({displayName:"GlobalSearchModal.styled__ListWrapper",componentId:"sc-72fc2c97-20"})`
535  flex: ${({$expanded:e})=>e?"1 1 auto":"0 0 0"};
536  height: ${({$expanded:e})=>e?"auto":"0"};
537  min-height: 0;
538  display: flex;
539  flex-direction: column;
540  box-sizing: border-box;
541  padding: ${({$expanded:e})=>e?"0 6px var(--global-search-footer-height)":"0"};
542  overflow: hidden;
543
544  ${w.Responsive.phone} {
545    flex: ${({$expanded:e})=>e?"1 1 0":"0 0 0"};
546    padding: 0;
547  }
548`,ek=(0,y.default)(x.Command.List).withConfig({displayName:"GlobalSearchModal.styled__CommandList",componentId:"sc-72fc2c97-21"})`
549  flex: 1;
550  min-height: 0;
551  overflow-x: hidden;
552  overflow-y: auto;
553  overscroll-behavior: contain;
554
555  [cmdk-list-sizer] {
556    height: ${({$fillHeight:e})=>e?"100%":"auto"};
557  }
558
559  .os-scrollbar-handle {
560    background-color: rgba(0, 0, 0, 0.12);
561  }
562
563  ${w.Responsive.phone} {
564    height: 100%;
565  }
566`,ej=y.default.div.withConfig({displayName:"GlobalSearchModal.styled__ResultContent",componentId:"sc-72fc2c97-22"})`
567  animation: ${eo} 200ms cubic-bezier(0.2, 0.9, 0.25, 1) both;
568
569  @media (prefers-reduced-motion: reduce) {
570    animation: none;
571  }
572
573  ${w.Responsive.phone} {
574    min-height: 100%;
575    box-sizing: border-box;
576    padding: 70px 16px calc(26px + var(--global-search-visual-viewport-bottom-inset));
577  }
578`,eM=y.default.div.withConfig({displayName:"GlobalSearchModal.styled__List",componentId:"sc-72fc2c97-23"})`
579  display: flex;
580  flex-direction: column;
581  padding-bottom: 6px;
582
583  ${w.Responsive.phone} {
584    padding-bottom: 0;
585  }
586`,eR=y.default.div.withConfig({displayName:"GlobalSearchModal.styled__SectionLabel",componentId:"sc-72fc2c97-24"})`
587  display: flex;
588  align-items: center;
589  gap: 4px;
590  min-width: 0;
591  height: 32px;
592  flex: 0 0 32px;
593  padding: 0 8px;
594  border-radius: 8px;
595`,eL=y.default.p.withConfig({displayName:"GlobalSearchModal.styled__SectionLabelText",componentId:"sc-72fc2c97-25"})`
596  max-width: 200px;
597  overflow: hidden;
598  color: var(--color-text-neutral-lighter, rgba(0, 0, 0, 0.4));
599  text-overflow: ellipsis;
600  white-space: nowrap;
601  font-size: 13px;
602  font-weight: 500;
603  line-height: 18px;
604  letter-spacing: 0;
605
606  ${w.Responsive.phone} {
607    font-size: 14px;
608  }
609`,eE=y.default.div.withConfig({displayName:"GlobalSearchModal.styled__Footer",componentId:"sc-72fc2c97-26"})`
610  position: absolute;
611  left: 0;
612  right: 0;
613  bottom: 0;
614  display: flex;
615  align-items: center;
616  gap: 8px;
617  height: var(--global-search-footer-height);
618  padding: 8px 14px 10px;
619  background-color: #ececec;
620  border-top: 0.5px solid rgba(0, 0, 0, 0.08);
621
622  ${w.Responsive.phone} {
623    display: none;
624  }
625`,eA=y.default.div.withConfig({displayName:"GlobalSearchModal.styled__FooterShortcut",componentId:"sc-72fc2c97-27"})`
626  display: flex;
627  align-items: center;
628  gap: 6px;
629  color: var(--color-text-neutral-lighter, rgba(0, 0, 0, 0.4));
630  font-family: 'Geist Mono', monospace;
631  font-size: 11px;
632  font-weight: 400;
633  line-height: 16px;
634  letter-spacing: 0px;
635  white-space: nowrap;
636`,eT=y.default.span.withConfig({displayName:"GlobalSearchModal.styled__KeyB
636adge",componentId:"sc-72fc2c97-28"})`
637  display: inline-flex;
638  align-items: center;
639  justify-content: center;
640  height: 16px;
641  padding: 1px 6px;
642  border-radius: 32px;
643  background-color: var(--color-fill-neutral-light, rgba(0, 0, 0, 0.05));
644  color: var(--color-text-neutral-lighter, rgba(0, 0, 0, 0.4));
645  font-family: 'Geist Mono', monospace;
646  font-size: 11px;
647  font-weight: 400;
648  line-height: 16px;
649  letter-spacing: 0px;
650  white-space: nowrap;
651`,ez=["ArrowUp","ArrowDown"],eN=["ArrowUp","ArrowDown","Home","End","PageUp","PageDown"],eO=t.useLayoutEffect,eH=(0,r.create)(function({onSearchExecute:e,onClose:n,onResultOpen:h}={}){let{t:f}=(0,d.useTranslation)("common"),{visible:g,remove:m}=(0,r.useModal)(),[x,y]=(0,t.useState)(""),[b,w]=(0,t.useState)(""),[v,C]=(0,t.useState)(0),[_,S]=(0,t.useState)(!1),[$,I]=(0,t.useState)(!1),k=(0,t.useRef)(null),j=(0,t.useRef)(null),M=(0,t.useRef)(null),R=(0,t.useRef)(null),L=(0,t.useRef)(null),E=(0,t.useRef)(!1),A=(0,t.useRef)(null),T=(0,t.useRef)(!1),z=(0,t.useRef)(!1),{titleResults:N,semanticResults:O,isLoading:H}=function(e,n={}){let r=(0,Q.useQueryClient)(),l=(0,Y.useLocale)(),{onSearchExecute:o}=n,i=e.trim(),a=function(e){let[n,r]=(0,t.useState)(e);return(0,t.useEffect)(()=>{let t=setTimeout(()=>r(e),200);return()=>clearTimeout(t)},[e,200]),n}(i),s=(0,t.useRef)(0),[c,d]=(0,t.useState)({query:"",groups:X,status:"idle"}),p=!!a;(0,t.useEffect)(()=>{if(!p){s.current+=1,d({query:"",groups:X,status:"idle"});return}let e=!0,t=s.current+1,n=["global-search",l,a];return s.current=t,d({query:a,groups:X,status:"loading"}),o?.({query:a}),r.fetchQuery({queryKey:n,queryFn:({signal:e})=>(function({channelId:e,query:t,language:n,signal:r}){return Z.get("/search/pages",{query:{channelId:e,query:t,language:n},config:{signal:r}})})({channelId:"1",query:a,language:l,signal:e}),cacheTime:0,staleTime:0}).then(n=>{e&&s.current===t&&d({query:a,groups:{titleResults:(n?.titleResults??[]).map(J),semanticResults:(n?.semanticResults??[]).map(J)},status:"success"})}).catch(n=>{e&&s.current===t&&(console.error("[GlobalSearch] /search/pages 요청 실패",n),d({query:a,groups:X,status:"error"}))}),()=>{e=!1,r.cancelQueries({queryKey:n,exact:!0})}},[a,p,l,o,r]);let{isLoading:u,canShowSettledResults:h}=function({hasChannel:e,keyword:t,debounced:n,settledQuery:r,status:l}){return t?e?t!==n||"loading"===l||r!==n?{isLoading:!0,canShowSettledResults:!1}:{isLoading:!1,canShowSettledResults:"success"===l||"error"===l}:{isLoading:!1,canShowSettledResults:!0}:{isLoading:!1,canShowSettledResults:!1}}({hasChannel:!0,keyword:i,debounced:a,settledQuery:c.query,status:c.status}),{titleResults:f,semanticResults:g}=(0,t.useMemo)(()=>{var e,t;return e=h?c.groups:X,(t=u?"":i)?{titleResults:e.titleResults,semanticResults:[...e.semanticResults,{type:"alf",id:"global-search-alf-ask",query:t}]}:e},[h,u,i,c.groups]);return{titleResults:f,semanticResults:g,isLoading:u}}(x,{onSearchExecute:(0,t.useCallback)(t=>{T.current=!0,e?.(t)},[e])}),P=g||!$,D=(0,t.useCallback)(()=>{z.current||(z.current=!0,n?.({hasExecutedQuery:T.current})),m()},[n,m]);(0,t.useEffect)(()=>{g&&I(!0)},[g]),(0,t.useEffect)(()=>(document.body.classList.toggle(en,P),P&&window.ChannelIO&&window.ChannelIO("hideMessenger"),()=>document.body.classList.remove(en)),[P]);let G=(0,t.useCallback)(e=>{e.length<=100&&y(e)},[]),q=(0,t.useCallback)(()=>{null!==L.current&&cancelAnimationFrame(L.current),L.current=requestAnimationFrame(()=>{L.current=null;let e=j.current?.querySelector('[cmdk-item][data-selected="true"]'),t=R.current?.elements().viewport??j.current;if(!e||!t){E.current=!1;return}let n=t.getBoundingClientRect(),r=e.getBoundingClientRect(),l=t.scrollHeight-t.clientHeight,o=t.scrollTop+r.top-n.top-(t.clientHeight-e.offsetHeight)/2;t.scrollTo({top:Math.max(0,Math.min(l,o)),behavior:"auto"}),E.current=!1})},[]),F=x.trim().length>0,K=N.length>0||O.length>0,B=(0,t.useMemo)(()=>(0,p.getSpotlightHeight)({hasQuery:F,isLoading:H,contentHeight:v}),[F,H,v]),U=(0,t.useMemo)(()=>F&&!H?[...N,...O].map(({id:e})=>e):[],[F,H,O,N]),V=O.length>=1&&N.length>=1,ee=`${(0,c.getPublicFolderPath)()}/images/global-search/search-icon.svg`,et=`${(0,c.getPublicFolderPath)()}/images/global-search/cancel-small.svg`;(0,t.useEffect)(()=>{let e=window.matchMedia(u.PHONE_MEDIA_QUERY),t=()=>S(e.matches);return t(),e.addEventListener("change",t),()=>e.removeEventListener("change",t)},[]),(0,t.useEffect)(()=>{let e=k.current;if(!P||!_||!e)return;
651let t=window.visualViewport,n=()=>{let n=t?Math.max(0,document.documentElement.clientHeight-t.height-t.offsetTop):0;e.style.setProperty("--global-search-visual-viewport-bottom-inset",`${n}px`)};return n(),t?.addEventListener("resize",n),t?.addEventListener("scroll",n),window.addEventListener("resize",n),()=>{t?.removeEventListener("resize",n),t?.removeEventListener("scroll",n),window.removeEventListener("resize",n),e.style.removeProperty("--global-search-visual-viewport-bottom-inset")}},[_,P]),(0,t.useEffect)(()=>{let e=j.current;if(!e||!F||!(0,u.shouldUseOverlayScrollbars)(_)){R.current?.destroy(),R.current=null;return}let t=(0,s.OverlayScrollbars)(e,{scrollbars:{autoHide:"scroll"}});return R.current=t,()=>{t.destroy(),R.current===t&&(R.current=null)}},[F,_]),(0,t.useEffect)(()=>{R.current?.update(!0)},[H,O,N]),(0,t.useEffect)(()=>{if(!F||H||0===U.length)return void w("");let e=U[0];e&&!U.includes(b)&&w(e)},[F,H,U,b]),eO(()=>{if(!F||H)return void C(0);let e=M.current;if(!e)return;let t=()=>{C(Math.ceil(e.getBoundingClientRect().height||e.scrollHeight))};if(t(),"u"<typeof ResizeObserver)return;let n=new ResizeObserver(t);return n.observe(e),()=>n.disconnect()},[F,H,x,O.length,N.length]);let el=(0,t.useCallback)(e=>{!e.nativeEvent.isComposing&&eN.includes(e.key)&&(E.current=!0,A.current&&clearTimeout(A.current),A.current=setTimeout(()=>{E.current=!1,A.current=null},200))},[]),eo=(0,t.useCallback)(e=>{e.nativeEvent.isComposing&&ez.includes(e.key)&&e.stopPropagation()},[]);return(0,t.useEffect)(()=>{let e=j.current;if(!e||!F||H)return;let t=new MutationObserver(e=>{E.current&&e.some(({attributeName:e})=>"data-selected"===e)&&q()});return t.observe(e,{attributeFilter:["data-selected"],attributes:!0,subtree:!0}),()=>t.disconnect()},[F,H,q,O,N]),(0,t.useEffect)(()=>()=>{null!==L.current&&cancelAnimationFrame(L.current),A.current&&clearTimeout(A.current)},[]),(0,l.jsxs)(o.Modal,{show:P,onHide:D,children:[(0,l.jsx)(er,{}),(0,l.jsx)(ei,{ref:k,zIndex:0x989681,children:(0,l.jsx)(ea,{children:(0,l.jsx)(es,{$height:B,$animateHeight:F&&!H,children:(0,l.jsxs)(ec,{loop:!0,value:b,onValueChange:w,onKeyDown:el,shouldFilter:!1,children:[(0,l.jsxs)(ed,{children:[(0,l.jsxs)(ep,{children:[(0,l.jsx)(eu,{"aria-hidden":!0,children:(0,l.jsx)(eh,{src:ee,alt:""})}),(0,l.jsx)(ef,{value:x,onValueChange:G,onKeyDownCapture:eo,placeholder:f("common.global_search.placeholder")}),F&&(0,l.jsxs)(eg,{type:"button","aria-label":f("common.global_search.clear_search.aria_label"),onClick:()=>y(""),children:[(0,l.jsx)(ey,{src:et,alt:"","aria-hidden":!0}),(0,l.jsx)(eb,{viewBox:"0 0 16.6663 16.6671",fill:"none","aria-hidden":!0,children:(0,l.jsx)("path",{d:"M2.43375 2.4328C5.67864 -0.810985 10.9876 -0.810882 14.2326 2.4328C17.4776 5.67863 17.4776 10.9886 14.2326 14.2336C10.9876 17.4782 5.67866 17.4783 2.43375 14.2336C-0.81125 10.9886 -0.81125 5.67863 2.43375 2.4328ZM11.8683 4.79804C11.5429 4.47302 11.0159 4.47296 10.6906 4.79804L8.33316 7.15546L5.97672 4.79804C5.65136 4.47268 5.12346 4.47283 4.79801 4.79804C4.47257 5.12347 4.47257 5.65131 4.79801 5.97675L7.15445 8.33417L4.79801 10.6906C4.47257 11.0161 4.47257 11.5439 4.79801 11.8693C5.12346 12.1946 5.65133 12.1947 5.97672 11.8693L8.33316 9.5119L10.6906 11.8693C11.016 12.1945 11.5429 12.1945 11.8683 11.8693C12.1938 11.5439 12.1938 11.0161 11.8683 10.6906L9.51187 8.33417L11.8683 5.97675C12.1938 5.65131 12.1938 5.12347 11.8683 4.79804Z",fill:"black",fillOpacity:"0.4"})})]})]}),(0,l.jsx)(em,{type:"button","aria-label":f("common.global_search.close.aria_label"),onClick:D,children:(0,l.jsx)(ew,{src:et,alt:"","aria-hidden":!0})})]}),(0,l.jsxs)(eI,{$expanded:F,"aria-hidden":!F,children:[(0,l.jsxs)(ek,{ref:j,$fillHeight:H,children:[F&&H&&(0,l.jsxs)(ev,{children:[(0,l.jsx)(eC,{children:(0,l.jsx)(i.Spinner,{size:a.SpinnerSize.M,color:"txt-black-dark"})}),(0,l.jsx)(e_,{children:f("common.global_search.loading")})]}),F&&!H&&(0,l.jsx)(ej,{ref:M,children:K?(0,l.jsxs)(eM,{children:[N.map(e=>(0,l.jsx)(W,{result:e,searchQuery:x,onHide:D,onResultOpen:h},`title-${e.id}`)),O.length>0&&(0,l.jsxs)(l.Fragment,{children:[V&&(0,l.jsx)(eR,{children:(0,l.jsx)(eL,{children:f("common.global_search.semantic_section_label")})}),O.map(e=>(0,l.jsx)(W,{result:e,searchQuery:x,onHide:D,onResultOpen:h},`semantic-${e.id}`))]})]}):(0,l.jsx)(eS,{children:(0,l.jsx)(e$,{children:f("common.global_search.empty")})})})]}),F&&(0,l.jsxs)(eE,{children:[(0,l.jsxs)(eA,{children:[(0,l.jsx)(eT,{children:"↑ ↓"}),(0,l.jsx)("span",{children:f("common.global_search.footer.select")})]}),(0,l.jsxs)(eA,{children:[(0,l.jsx)(eT,{children:"↲"}),(0,l.jsx)("span",{children:f("common.global_search.footer.go")})]}),(0,l.jsxs)(eA,{children:[(0,l.jsx)(eT,{children:"esc"}),(0,l.jsx)("span",{children:f("common.global_search.footer.close")})]})]})]})]})})})})]})});var eP=e.i(910181),eD=e.i(901128);function eG(e,t){let n={pathname:e,searchScope:e.startsWith("/team/blog")?"team_blog_search":"global_search",triggerMethod:t.triggerMethod,triggerLocation:t.triggerLocation},l=(0,eD.createCmdKSearchTrackingProps)(n);(0,eD.trackCmdKDialogOpen)(n),e.startsWith("/team/blog")?r.default.show(eP.default,l):r.default.show(eH,l)}e.s(["openContextualSearch",0,eG],485158),e.s(["default",0,function(){let{pathname:e}=(0,n.useRouter)(),r=(0,t.useRef)(e);return r.current=e,(0,t.useEffect)(()=>{let e=e=>{(e.metaKey||e.ctrlKey)&&"k"===e.key.toLowerCase()&&(e.preventDefault(),eG(r.current,{triggerMethod:"keyboard",triggerLocation:"global_hotkey"}))};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[]),null}],458102),e.s([],994576)}]);

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.