1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2068],{4966:(e,t,a)=>{"use strict";a.d(t,{A:()=>i});var n=a(95155),s=a(12115),l=a(35571),r=a(16174),c=a(34656);function i(){let{t:e,language:t,setLanguage:a}=(0,l.s9)(),{theme:i,resolvedTheme:o,setTheme:d}=(0,r.D)(),[u,x]=(0,s.useState)(!1);(0,s.useEffect)(()=>{x(!0)},[]);let m=e("system"===i?"common.system":"dark"===i?"common.dark":"common.light");return(0,n.jsxs)(c.Kr,{children:[(0,n.jsx)(c.$,{value:t,options:l.Yj,onChange:a,ready:u}),(0,n.jsx)(c.Xy,{theme:i,resolved:o,ready:u,label:e("common.themeToggle").replace("{name}",m),onCycle:()=>d("system"===i?"light":"light"===i?"dark":"system")})]})}},7183:e=>{e.exports={style:{fontFamily:"'GeistMono', ui-monospace, SFMono-Regular, Roboto Mono, Menlo, Monaco, Liberation Mono, DejaVu Sans Mono, Courier New, monospace"},className:"__className_46451f",variable:"__variable_46451f"}},16174:(e,t,a)=>{"use strict";a.d(t,{D:()=>i,ThemeProvider:()=>c});var n=a(95155),s=a(12115),l=a(22696);let r=(0,s.createContext)(void 0);function c(e){let{children:t}=e,[a,c]=(0,s.useState)("dark"),[i,o]=(0,s.useState)("dark"),[d,u]=(0,s.useState)(!1);return(0,s.useEffect)(()=>{let e=(e=>{if("undefined"==typeof document)return null;let t=document.cookie.split("; ").find(t=>t.startsWith(e+"="));return t?t.split("=")[1]:null})("claws-theme"),t=localStorage.getItem("theme"),a=e||t;a&&["light","dark","system"].includes(a)&&c(a),u(!0)},[]),(0,s.useEffect)(()=>{let e="system"===a?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":a;o(e);let t=document.documentElement;t.classList.remove("light","dark"),t.classList.add(e),t.setAttribute("data-theme",e)},[a]),(0,s.useEffect)(()=>{if("system"!==a)return;let e=window.matchMedia("(prefers-color-scheme: dark)"),t=e=>{let t=e.matches?"dark":"light";o(t),document.documentElement.classList.remove("light","dark"),document.documentElement.classList.add(t),document.documentElement.setAttribute("data-theme",t)};return e.addEventListener("change",t),()=>e.removeEventListener("change",t)},[a]),(0,n.jsx)(r.Provider,{value:{theme:a,resolvedTheme:i,setTheme:e=>{if(c(e),localStorage.setItem("theme",e),"undefined"!=typeof document){let t=window.location.hostname.endsWith(l.wy)?"; domain=".concat(l.w9):"";document.cookie="claws-theme=".concat(e,"; max-age=").concat(31536e3,"; sameSite=lax; path=/").concat(t)}}},children:d?t:(0,n.jsx)("div",{style:{visibility:"hidden"},children:t})})}function i(){let e=(0,s.useContext)(r);if(!e)throw Error("useTheme must be used within a ThemeProvider");return e}},22311:e=>{e.exports={style:{fontFamily:"'GeistSans', 'GeistSans Fallback'"},className:"__className_8adcd2",variable:"__variable_8adcd2"}},34656:(e,t,a)=>{"use strict";a.d(t,{$:()=>R,AR:()=>z,Ae:()=>g,GQ:()=>_,Kr:()=>H,LP:()=>v,Nl:()=>b,Qk:()=>w,RE:()=>C,RH:()=>m,UQ:()=>V,Wt:()=>j,Xd:()=>S,Xy:()=>W,dM:()=>f,go:()=>F,iT:()=>E,iz:()=>N,k3:()=>h,kQ:()=>y,ms:()=>d,pQ:()=>o,sy:()=>p,v5:()=>L,wC:()=>M,wq:()=>u,xu:()=>A,yy:()=>x});var n=a(95155),s=a(12115);let l=function(){for(var e=arguments.length,t=Array(e),a=0;a<e;a++)t[a]=arguments[a];return t.filter(Boolean).join(" ")},r={eye:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0"}),(0,n.jsx)("circle",{cx:"12",cy:"12",r:"3"})]}),"eye-off":(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49"}),(0,n.jsx)("path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242"}),(0,n.jsx)("path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143"}),(0,n.jsx)("path",{d:"m2 2 20 20"})]}),globe:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("circle",{cx:"12",cy:"12",r:"10"}),(0,n.jsx)("path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20"}),(0,n.jsx)("path",{d:"M2 12h20"})]}),"chevron-down":(0,n.jsx)("path",{d:"m6 9 6 6 6-6"}),sun:(0,n.jsx)("path",{d:"M12 3v2.25m6.364.386-1.591 1.591M21 12h-2.25m-.386 6.364-1.591-1.591M12 18.75V21m-4.773-4.227-1.591 1.591M5.25 12H3m4.227-4.773L5.636 5.636M15.75 12a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0Z"}),moon:(0,n.jsx)("path",{d:"M21.752 15.002A9.72 9.72 0 0 1 18 15.75c-5.385 0-9.75-4.365-9.75-9.75 0-1.33.266-2.597.748-3.752A9.753 9.753 0 0 0 3 11.25C3 16.635 7.365 21 12.75 21a9.753 9.753 0 0 0 9.002-5.998Z"}),monitor:(0,n.jsx)("path",{d:"M9 17.25v1.007a3 3 0 0 1-.879 2.122L7.5 21h9l-.621-.621A3 3 0 0 1 15 18.257V17.25m6-12V15a2.25 2.25 0 0 1-2.25 2.25H5.25A2.25 2.25 0 0 1 3 15V5.25m18 0A2.25 2.25 0 0 0 18.75 3H5.25A2.25 2.25 0 0 0 3 5.25m18 0V12a2.25 2.25 0 0 1-2.25 2.25H5.25A2.25 2.25 0 0 1 3 12V5.25"}),alert:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3"}),(0,n.jsx)("path",{d:"M12 9v4"}),(0,n.jsx)("path",{d:"M12 17h.01"})]}),x:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("path",{d:"M18 6 6 18"}),(0,n.jsx)("path",{d:"m6 6 12 12"})]}),zap:(0,n.jsx)("path",{d:"M15.914 4a1.5 1.5 0 00-2.474-1.561l-9 9A1.5 1.5 0 005.5 14h4.002a.5.5 0 01.471.666L8.086 20a1.5 1.5 0 002.475 1.56l9-9A1.5 1.5 0 0018.5 10h-3.997a.5.5 0 01-.472-.667z"}),link:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("path",{d:"M9 17H7A5 5 0 0 1 7 7h2"}),(0,n.jsx)("path",{d:"M15 7h2a5 5 0 1 1 0 10h-2"}),(0,n.jsx)("line",{x1:"8",x2:"16",y1:"12",y2:"12"})]}),bot:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("path",{d:"M12 8V4H8"}),(0,n.jsx)("rect",{width:"16",height:"12",x:"4",y:"8",rx:"2"}),(0,n.jsx)("path",{d:"M2 14h2"}),(0,n.jsx)("path",{d:"M20 14h2"}),(0,n.jsx)("path",{d:"M15 13v2"}),(0,n.jsx)("path",{d:"M9 13v2"})]}),chart:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("path",{d:"M3 3v16a2 2 0 0 0 2 2h16"}),(0,n.jsx)("path",{d:"M18 17V9"}),(0,n.jsx)("path",{d:"M13 17V5"}),(0,n.jsx)("path",{d:"M8 17v-3"})]}),"mail-check":(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("path",{d:"M22 13V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h8"}),(0,n.jsx)("path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7"}),(0,n.jsx)("path",{d:"m16 19 2 2 4-4"})]})},c=new Set(["sun","moon","monitor"]);function i(e){let{name:t,size:a=16,strokeWidth:s}=e;return(0,n.jsx)("svg",{width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:null!=s?s:c.has(t)?1.5:2,strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",focusable:"false",children:r[t]})}
1function o(e){let{controls:t,below:a,className:s,children:r,...c}=e;return(0,n.jsxs)("div",{className:l("x7-gate",s),...c,children:[t?(0,n.jsx)("div",{className:"x7-gate__controls",children:t}):null,r,a?(0,n.jsx)("div",{className:"x7-gate__below",children:a}):null]})}function d(e){let{title:t,children:a,className:s,...r}=e;return(0,n.jsxs)("div",{role:"status",className:l("x7-gate__banner",s),...r,children:[(0,n.jsxs)("p",{className:"x7-gate__banner-title",children:[(0,n.jsx)("span",{className:"x7-gate__banner-dot","aria-hidden":"true"}),t]}),a]})}function u(e){let{className:t,...a}=e;return(0,n.jsx)("p",{className:l("x7-gate__banner-line",t),...a})}function x(e){let{size:t="form",tone:a,className:s,...r}=e;return(0,n.jsx)("div",{className:l("x7-gate__card","form"!==t&&"x7-gate__card--".concat(t),a&&"x7-gate__card--".concat(a),s),...r})}function m(e){let{brand:t,zone:a,controls:s,className:r,...c}=e;return(0,n.jsxs)("div",{className:l("x7-gate__header",r),...c,children:[(0,n.jsxs)("div",{className:"x7-gate__brand",children:[t,a?(0,n.jsx)("span",{className:"x7-gate__zone",children:a}):null]}),null!=s?s:null]})}function h(e){let{title:t,subtitle:a,icon:s,iconSize:r=40,tone:c,className:o,...d}=e;return(0,n.jsxs)("div",{className:l("x7-gate__heading",c&&"x7-gate__heading--".concat(c),o),...d,children:[s?(0,n.jsx)("div",{className:"x7-gate__heading-icon",children:(0,n.jsx)(i,{name:s,size:r,strokeWidth:1.5})}):null,(0,n.jsx)("h1",{className:"x7-gate__title",children:t}),a?(0,n.jsx)("p",{className:"x7-gate__subtitle",children:a}):null]})}function _(e){let{roomy:t,className:a,...s}=e;return(0,n.jsx)("form",{className:l("x7-gate__form",t&&"x7-gate__form--roomy",a),...s})}function p(e){let{tabs:t,value:a,onChange:s,idPrefix:r,className:c,...i}=e;return(0,n.jsx)("div",{role:"tablist",className:l("x7-gate__tabs",c),...i,children:t.map(e=>(0,n.jsx)("button",{type:"button",role:"tab",id:"".concat(r).concat(e.value),"aria-selected":a===e.value,className:"x7-gate__tab",onClick:()=>s(e.value),children:e.label},e.value))})}function g(e){let{label:t,htmlFor:a,error:s,errorId:l,notice:r,noticeId:c,className:i,children:o,...d}=e;return(0,n.jsxs)("div",{className:i,...d,children:[(0,n.jsx)("label",{htmlFor:a,className:"x7-gate__label",children:t}),o,r?(0,n.jsx)("p",{id:c,className:"x7-gate__hint x7-gate__hint--notice",children:r}):null,s?(0,n.jsx)("p",{id:l,className:"x7-gate__hint x7-gate__hint--error",children:s}):null]})}function j(e){let{variant:t="text",className:a,...s}=e;return(0,n.jsx)("input",{className:l("x7-gate__input","text"!==t&&"x7-gate__input--".concat(t),a),...s})}function f(e){let{shown:t,onToggle:a,showLabel:s,hideLabel:r,className:c,...o}=e;return(0,n.jsxs)("div",{className:"x7-gate__control",children:[(0,n.jsx)("input",{type:t?"text":"password",className:l("x7-gate__input x7-gate__input--toggle",c),...o}),(0,n.jsx)("button",{type:"button",onClick:a,"aria-label":t?r:s,"aria-pressed":t,className:"x7-gate__toggle",children:(0,n.jsx)(i,{name:t?"eye-off":"eye",size:18})})]})}function v(e){let{tone:t,className:a,...s}=e;return(0,n.jsx)("p",{role:"error"===t?"alert":void 0,className:l("x7-gate__message","x7-gate__message--".concat(t),a),...s})}function b(e){let{className:t,...a}=e;return(0,n.jsx)("p",{className:l("x7-gate__legal",t),...a})}function N(e){let{className:t,...a}=e;return(0,n.jsx)("a",{className:l("x7-gate__link",t),...a})}function y(e){let{className:t,type:a="button",...s}=e;return(0,n.jsx)("button",{type:a,className:l("x7-gate__link",t),...s})}function k(){return(0,n.jsxs)("svg",{className:"x7-gate__spinner",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",focusable:"false",children:[(0,n.jsx)("circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4",opacity:"0.25"}),(0,n.jsx)("path",{fill:"currentColor",opacity:"0.75",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]})}function M(e){let{variant:t="primary",loading:a=!1,disabled:s,className:r,children:c,type:i="button",...o}=e;return(0,n.jsxs)("button",{type:i,disabled:s||a,className:l("x7-gate__btn","x7-gate__btn--".concat(t),r),...o,children:[a?(0,n.jsx)(k,{}):null,c]})}function w(e){let{variant:t="primary",className:a,...s}=e;return(0,n.jsx)("a",{className:l("x7-gate__btn","x7-gate__btn--".concat(t),a),...s})}function L(e){let{className:t,...a}=e;return(0,n.jsx)("div",{className:l("x7-gate__actions",t),...a})}function E(e){let{className:t,...a}=e;return(0,n.jsx)("div",{className:l("x7-gate__foot",t),...a})}function C(){return(0,n.jsx)("span",{className:"x7-gate__sep","aria-hidden":"true",children:"\xb7"})}function A(e){let{className:t,...a}=e;return(0,n.jsx)("a",{className:l("x7-gate__back",t),...a})}function S(e){let{intro:t,items:a,warningLabel:s,warning:r,className:c,...o}=e;return(0,n.jsxs)("div",{className:l("x7-gate__terms",c),...o,children:[(0,n.jsx)("p",{children:t}),(0,n.jsx)("ul",{className:"x7-gate__terms-list",children:a.map(e=>(0,n.jsxs)("li",{className:"x7-gate__terms-item",children:[(0,n.jsx)("span",{className:"x7-gate__chip","aria-hidden":"true",children:(0,n.jsx)(i,{name:e.icon,size:13})}),(0,n.jsxs)("span",{className:"x7-gate__terms-text",children:[(0,n.jsx)("span",{className:"x7-gate__terms-name",children:e.name}),(0,n.jsx)("span",{className:"x7-gate__terms-desc",children:e.description})]})]},e.key))}),(0,n.jsxs)("p",{className:"x7-gate__warning",children:[(0,n.jsx)("strong",{children:s}),": ",r]})]})}function z(e){let{sentence:t,className:a,...s}=e;return(0,n.jsxs)("div",{className:"x7-gate__consent",children:[(0,n.jsx)("input",{type:"checkbox",className:l("x7-gate__checkbox",a),...s}),(0,n.jsx)("div",{className:"x7-gate__consent-text",children:t})]})}function F(e){let{items:t,className:a,...s}=e;return(0,n.jsx)("ul",{className:l("x7-gate__checklist",a),...s,children:t.map(e=>(0,n.jsxs)("li",{className:"x7-gate__check x7-gate__check--".concat(e.kind),children:[(0,n.jsx)(i,{name:"lost"===e.kind?"x":"zap",size:14}),(0,n.jsx)("span",{children:e.text})]},e.key))})}function V(e){let{className:t,...a}=e;return(0,n.jsx)("p",{className:l("x7-gate__note",t),...a})}function H(e){let{className:t,...a}=e;return(0,n.jsx)("div",{className:l("x7-gate__control-group",t),...a})}function R(e){var t;let{value:a,options:l,onChange:r,ready:c=!0}
1=e,[o,d]=(0,s.useState)(!1),u=(0,s.useRef)(null),x=null!=(t=l.find(e=>e.code===a))?t:l[0];return(0,s.useEffect)(()=>{if(!o)return;let e=e=>{u.current&&!u.current.contains(e.target)&&d(!1)},t=e=>{if("Escape"===e.key){var t,a;d(!1),null==(a=u.current)||null==(t=a.querySelector("button"))||t.focus()}};return document.addEventListener("mousedown",e),document.addEventListener("keydown",t),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("keydown",t)}},[o]),(0,n.jsxs)("div",{ref:u,className:"x7-gate__lang",children:[(0,n.jsxs)("button",{type:"button",onClick:()=>d(e=>!e),"aria-expanded":o,"aria-haspopup":"menu","aria-label":null==x?void 0:x.label,className:"x7-gate__pill",children:[(0,n.jsx)(i,{name:"globe",size:14,strokeWidth:1.75}),(0,n.jsx)("span",{className:"x7-gate__pill-label",children:c?null==x?void 0:x.short:""}),(0,n.jsx)(i,{name:"chevron-down",size:12,strokeWidth:1.75})]}),o?(0,n.jsx)("div",{role:"menu",className:"x7-gate__menu",children:l.map(e=>(0,n.jsxs)("button",{type:"button",role:"menuitem","aria-current":e.code===a,className:"x7-gate__menu-item",onClick:()=>{r(e.code),d(!1)},children:[(0,n.jsx)("span",{className:"x7-gate__menu-label",children:e.label}),(0,n.jsx)("span",{className:"x7-gate__menu-code",children:e.code.toUpperCase()})]},e.code))}):null]})}function W(e){let{theme:t,resolved:a,onCycle:s,label:l,ready:r=!0}=e;return r?(0,n.jsx)("button",{type:"button",onClick:s,"aria-label":l,className:"x7-gate__icon-btn",children:(0,n.jsx)(i,{name:"system"===t?"monitor":"dark"===a?"moon":"sun",size:16})}):(0,n.jsx)("span",{className:"x7-gate__icon-slot","aria-hidden":"true"})}},38491:(e,t,a)=>{"use strict";a.d(t,{n:()=>c});var n=a(22311),s=a.n(n),l=a(7183),r=a.n(l);let c="".concat(s().variable," ").concat(r().variable)},42633:(e,t,a)=>{"use strict";a.d(t,{k3:()=>o});var n=a(22696),s=a(11689);let l=["pay","app","crm","ads-hub","partner","docs","live","pay-s","app-s","api-s","hub","hub-s"],r=new Set(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n.wy;return[e,...l.map(t=>"".concat(t,".").concat(e))]}()),c=/^\/admin(?:[/?#]|$)/,i="https://admin-door.invalid";function o(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/profile",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=new URLSearchParams(e),l=n.get("next"),o="admin"===a.door;if(l){if(o){let e=function(e){let t;if("string"!=typeof e||!c.test(e)||/[\\\s\u0000-\u001f\u007f]/.test(e)||e.split(/[?#]/,1)[0].includes("//"))return null;try{t=new URL(e,i)}catch(e){return null}return t.origin!==i||!c.test(t.pathname)||"/admin/login"===t.pathname||t.pathname.startsWith("/admin/login/")?null:"".concat(t.pathname).concat(t.search).concat(t.hash)}(l);if(e)return e}else if((0,s.hG)(l))return l;let e=function(e){let t;if("string"!=typeof e)return null;try{t=new URL(e)}catch(e){return null}return t.username||t.password?null:"https:"===t.protocol&&""===t.port&&r.has(t.hostname)?t.toString():null}(l);if(e)return e}if(o)return t;let d=(0,s.L3)({ref:n.get("ref"),planId:n.get("plan"),src:n.get("ref_src")});return d||t}},59062:()=>{}}]);
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.