1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,195057,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={formatUrl:function(){return l},formatWithValidation:function(){return c},urlObjectKeys:function(){return u}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let a=e.r(190809)._(e.r(998183)),i=/https?|ftp|gopher|file/;function l(e){let{auth:t,hostname:r}=e,n=e.protocol||"",o=e.pathname||"",l=e.hash||"",u=e.query||"",c=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?c=t+e.host:r&&(c=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(c+=":"+e.port)),u&&"object"==typeof u&&(u=String(a.urlQueryToSearchParams(u)));let s=e.search||u&&`?${u}`||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||i.test(n))&&!1!==c?(c="//"+(c||""),o&&"/"!==o[0]&&(o="/"+o)):c||(c=""),l&&"#"!==l[0]&&(l="#"+l),s&&"?"!==s[0]&&(s="?"+s),o=o.replace(/[?#]/g,encodeURIComponent),s=s.replace("#","%23"),`${n}${c}${o}${s}${l}`}let u=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function c(e){return l(e)}},818581,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return o}});let n=e.r(271645);function o(e,t){let r=(0,n.useRef)(null),o=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=o.current;t&&(o.current=null,t())}else e&&(r.current=a(e,n)),t&&(o.current=a(t,n))},[e,t])}function a(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},573668,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return a}});let n=e.r(718967),o=e.r(652817);function a(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,o.hasBasePath)(r.pathname)}catch(e){return!1}}},284508,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"errorOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},522016,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return _},useLinkStatus:function(){return v}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let a=e.r(190809),i=e.r(843476),l=a._(e.r(271645)),u=e.r(195057),c=e.r(8372),s=e.r(818581),d=e.r(718967),f=e.r(405550);e.r(233525);let p=e.r(388540),h=e.r(91949),m=e.r(573668),y=e.r(509396);function _(t){var r,n;let o,a,_,[v,b]=(0,l.useOptimistic)(h.IDLE_LINK_STATUS),w=(0,l.useRef)(null),{href:x,as:C,children:E,prefetch:j=null,passHref:L,replace:T,shallow:M,scroll:A,onClick:P,onMouseEnter:S,onTouchStart:O,legacyBehavior:R=!1,onNavigate:W,transitionTypes:k,ref:N,unstable_dynamicOnHover:D,...U}=t;o=E,R&&("string"==typeof o||"number"==typeof o)&&(o=(0,i.jsx)("a",{children:o}));let I=l.default.useContext(c.AppRouterContext),$=!1!==j,B=!1!==j?null===(n=j)||"auto"===n?y.FetchStrategy.PPR:y.FetchStrategy.Full:y.FetchStrategy.PPR,K="string"==typeof(r=C||x)?r:(0,u.formatUrl)(r);if(R){if(o?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});a=l.default.Children.only(o)}let X=R?a&&"object"==typeof a&&a.ref:N,z=l.default.useCallback(e=>(null!==I&&(w.current=(0,h.mountLinkInstance)(e,K,I,B,$,b)),()=>{w.current&&((0,h.unmountLinkForCurrentNavigation)(w.current),w.current=null),(0,h.unmountPrefetchableInstance)(e)}),[$,K,I,B,b]),F={ref:(0,s.useMergedRef)(z,X),onClick(t){R||"function"!=typeof P||P(t),R&&a.props&&"function"==typeof a.props.onClick&&a.props.onClick(t),!I||t.defaultPrevented||function(t,r,n,o,a,i,u){if("u">typeof window){let c,{nodeName:s}=t.currentTarget;if("A"===s.toUpperCase()&&((c=t.currentTarget.getAttribute("target"))&&"_self"!==c||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;
1if(!(0,m.isLocalURL)(r)){o&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),i){let e=!1;if(i({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:d}=e.r(699781);l.default.startTransition(()=>{d(r,o?"replace":"push",!1===a?p.ScrollBehavior.NoScroll:p.ScrollBehavior.Default,n.current,u)})}}(t,K,w,T,A,W,k)},onMouseEnter(e){R||"function"!=typeof S||S(e),R&&a.props&&"function"==typeof a.props.onMouseEnter&&a.props.onMouseEnter(e),I&&$&&(0,h.onNavigationIntent)(e.currentTarget,!0===D)},onTouchStart:function(e){R||"function"!=typeof O||O(e),R&&a.props&&"function"==typeof a.props.onTouchStart&&a.props.onTouchStart(e),I&&$&&(0,h.onNavigationIntent)(e.currentTarget,!0===D)}};return(0,d.isAbsoluteUrl)(K)?F.href=K:R&&!L&&("a"!==a.type||"href"in a.props)||(F.href=(0,f.addBasePath)(K)),_=R?l.default.cloneElement(a,F):(0,i.jsx)("a",{...U,...F,children:o}),(0,i.jsx)(g.Provider,{value:v,children:_})}e.r(284508);let g=(0,l.createContext)(h.IDLE_LINK_STATUS),v=()=>(0,l.useContext)(g);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},712276,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(375679),o=e.i(228476),a=e.i(630781);function i(){let e;return{promise:new Promise(t=>{e=window.setTimeout(t,300)}),cancel:()=>window.clearTimeout(e)}}async function l(e,t){await Promise.race([Promise.allSettled(e()),t])}async function u(){if("u">typeof navigator&&"userAgentData"in navigator)try{let e=navigator.userAgentData;return(await e.getHighEntropyValues(["architecture"])).architecture||null}catch{}return null}e.s(["DownloadButtons",0,function({lang:e}){let[c,s]=(0,r.useState)(null),d=(e,t="success")=>{s({message:e,type:t}),setTimeout(()=>s(null),3e3)},f=async(e,t,r,a,i)=>{let u=(0,n.createEventId)("tc"),c=(0,n.getTcAnonymousId)(),s=(0,n.getAttributionCampaignParams)(),d={event_id:u,download_session_id:u,tc_anonymous_id:c,download_target:e,download_url:a,location:"download_buttons",platform_hint:t,surface:"download_page",transport_type:"beacon",...s},f=(0,o.createDownloadAttributionPayload)({sid:u,platform:r,tcAnonymousId:c,campaignParams:s});await l(()=>[(0,o.recordDownloadAttribution)(f),(0,n.trackEventWithTimeout)("download_clicked",d),(0,n.trackEventWithTimeout)("tc_download_clicked",d),(0,n.trackEventWithTimeout)("tc_download_requested",{...d,download_status:"requested"}),(0,n.trackEventWithTimeout)("tc_download_started",{...d,download_status:"initiated"})],i)},p=(e,t)=>{let r=document.createElement("a");r.href=e,r.download=t,document.body.appendChild(r),r.click(),document.body.removeChild(r)},h=async()=>{let t=i();try{await f("windows_x64_exe","windows","windows",a.TELYCLAW_WINDOWS_X64_EXE_URL,t.promise)}finally{t.cancel(),p(a.TELYCLAW_WINDOWS_X64_EXE_URL,a.TELYCLAW_WINDOWS_X64_EXE_NAME)}d("zh"===e?"å¼å§ä¸è½½ Windows çæ¬":"Start downloading the Windows version")},m=async()=>{let t=i(),r=null;try{if(!(r=await Promise.race([u(),t.promise.then(()=>null)]))){let e=navigator.platform.toLowerCase();r=e.includes("arm")||e.includes("aarch64")?"arm":"x86"}await f("macos_dmg",r||"arm64","macos",a.TELYCLAW_MAC_ARM_DMG_URL,t.promise)}finally{t.cancel(),p(a.TELYCLAW_MAC_ARM_DMG_URL,a.TELYCLAW_MAC_ARM_DMG_NAME)}d("zh"===e?`å¼å§ä¸è½½ MacOS çæ¬ (${r||"arm64"})`:`Start downloading the MacOS version (${r||"arm64"})`)};return(0,t.jsxs)(t.Fragment,{children:[c&&(0,t.jsx)("div",{className:`fixed top-24 right-5 z-50 px-4 py-3 rounded-lg shadow-lg transition-all duration-300 ${"success"===c.type?"bg-primary/90 text-on-primary":"bg-primary-container/90 text-on-primary-container"}`,children:c.message}),(0,t.jsxs)("div",{className:"flex gap-4 flex-wrap",children:[(0,t.jsxs)("button",{onClick:h,className:"group flex items-center gap-3 px-6 py-3 bg-surface-container-low border border-outline-variant/20 rounded-xl cursor-pointer transition-all duration-300 hover:border-primary-fixed/50 hover:bg-surface-container hover:shadow-[0_0_20px_rgba(0,251,251,0.15)]",children:[(0,t.jsx)("svg",{className:"w-6 h-6 text-primary-fixed",viewBox:"0 0 24 24",fill:"
1currentColor",children:(0,t.jsx)("path",{d:"M0 3.449L9.75 2.1v9.451H0m10.949-9.602L24 0v11.4H10.949M0 12.6h9.75v9.451L0 20.699M10.949 12.6H24V24l-12.9-1.801"})}),(0,t.jsx)("span",{className:"font-headline font-semibold text-tertiary group-hover:text-primary-fixed transition-colors",children:"Windows"})]}),(0,t.jsxs)("button",{onClick:m,className:"group flex items-center gap-3 px-6 py-3 bg-surface-container-low border border-outline-variant/20 rounded-xl cursor-pointer transition-all duration-300 hover:border-primary-fixed/50 hover:bg-surface-container hover:shadow-[0_0_20px_rgba(0,251,251,0.15)]",children:[(0,t.jsx)("svg",{className:"w-6 h-6 text-primary-fixed",viewBox:"0 0 24 24",fill:"currentColor",children:(0,t.jsx)("path",{d:"M18.71 19.5c-.83 1.24-1.71 2.45-3.05 2.47-1.34.03-1.77-.79-3.29-.79-1.53 0-2 .77-3.27.82-1.31.05-2.3-1.32-3.14-2.53C4.25 17 2.94 12.45 4.7 9.39c.87-1.52 2.43-2.48 4.12-2.51 1.28-.02 2.5.87 3.29.87.78 0 2.26-1.07 3.81-.91.65.03 2.47.26 3.64 1.98-.09.06-2.17 1.28-2.15 3.81.03 3.02 2.65 4.03 2.68 4.04-.03.07-.42 1.44-1.38 2.83M13 3.5c.73-.83 1.94-1.46 2.94-1.5.13 1.17-.34 2.35-1.04 3.19-.69.85-1.83 1.51-2.95 1.42-.15-1.15.41-2.35 1.05-3.11z"})}),(0,t.jsx)("span",{className:"font-headline font-semibold text-tertiary group-hover:text-primary-fixed transition-colors",children:"MacOS"})]})]})]})}])}]);
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.