1import{$n as e,Dt as t,Kt as n,Pt as r,Sn as i,Un as a,Vt as o,Y as s,Zn as c,ar as l,ct as u,er as d,gt as f,or as p,rr as m,sr as h,xn as g,xt as _}from"./NPQnAyPb.js";import{Ot as v}from"./ChIsoajX.js";import{b as y}from"./AMmFG1r8.js";import{E as b,S as x,c as S,f as ee,i as C,l as w,m as T,p as E,r as D,s as O,u as k,x as A,y as j}from"./_15GYrGo.js";function te(e={}){let{inheritAttrs:t=!0,name:n=`ReusableTemplate`}=e,r=d(),i=u({name:`${n}.define`,setup(e,{slots:t}){return()=>{r.value=t.default}}}),a=u({inheritAttrs:t,name:`${n}.reuse`,props:e.props,setup(n,{attrs:i,slots:a}){return()=>{if(!r.value)throw Error(`[VueUse] Failed to find the definition of reusable template`);let o=r.value?.call(r,{...e.props==null?M(i):n,$slots:a});return t&&o?.length===1?o[0]:o}}});return E({define:i,reuse:a},[i,a])}function M(e){let t={};for(let n in e)t[D(n)]=e[n];return t}var N=w?window:void 0;w&&window.document,w&&window.navigator,w&&window.location;function P(e){let t=l(e);return t?.$el??t}function F(...e){let t=(e,t,n,r)=>(e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)),n=s(()=>{let t=j(l(e[0])).filter(e=>e!=null);return t.every(e=>typeof e!=`string`)?t:void 0});return b(()=>[n.value?.map(e=>P(e))??[N].filter(e=>e!=null),j(l(n.value?e[1]:e[0])),j(h(n.value?e[2]:e[1])),l(n.value?e[3]:e[2])],([e,n,r,i],a,o)=>{if(!e?.length||!n?.length||!r?.length)return;let s=ee(i)?{...i}:i,c=e.flatMap(e=>n.flatMap(n=>r.map(r=>t(e,n,r,s))));o(()=>{c.forEach(e=>e())})},{flush:`post`})}function I(){let e=d(!1),t=f();return t&&o(()=>{e.value=!0},t),e}function L(e){let t=I();return s(()=>(t.value,!!e()))}function R(e){return typeof e==`function`?e:typeof e==`string`?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function z(...e){let t,n,r={};e.length===3?(t=e[0],n=e[1],r=e[2]):e.length===2?typeof e[1]==`object`?(t=!0,n=e[0],r=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);let{target:i=N,eventName:a=`keydown`,passive:o=!1,dedupe:s=!1}=r,c=R(t);return F(i,a,e=>{e.repeat&&l(s)||c(e)&&n(e)},o)}function B(t,n={}){let{immediate:r=!0,fpsLimit:i=null,window:a=N,once:o=!1}=n,c=d(!1),u=s(()=>{let e=l(i);return e?1e3/e:null}),f=0,p=null;function m(e){if(!c.value||!a)return;f||=e;let n=e-f;if(u.value&&n<u.value){p=a.requestAnimationFrame(m);return}if(f=e,t({delta:n,timestamp:e}),o){c.value=!1,p=null;return}p=a.requestAnimationFrame(m)}function h(){!c.value&&a&&(c.value=!0,f=0,p=a.requestAnimationFrame(m))}function g(){c.value=!1,p!=null&&a&&(a.cancelAnimationFrame(p),p=null)}return r&&h(),x(g),{isActive:e(c),pause:g,resume:h}}var V=Symbol(`vueuse-ssr-width`);function H(){let e=_()?S(V,null):null;return typeof e==`number`?e:void 0}function U(e,t={}){let{window:n=N,ssrWidth:r=H()}=t,a=L(()=>n&&`matchMedia`in n&&typeof n.matchMedia==`function`),o=d(typeof r==`number`),c=d(),u=d(!1);return i(()=>{if(o.value){o.value=!a.value;let t=l(e).split(`,`);u.value=t.some(e=>{let t=e.includes(`not all`),n=e.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),i=e.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),a=!!(n||i);return n&&a&&(a=r>=T(n[1])),i&&a&&(a=r<=T(i[1])),t?!a:a});return}a.value&&(c.value=n.matchMedia(l(e)),u.value=c.value.matches)}),F(c,`change`,e=>{u.value=e.matches},{passive:!0}),s(()=>u.value)}function W(e){return JSON.parse(JSON.stringify(e))}function G(e){let t=f(),r=C(()=>null,()=>e?P(e):t.proxy.$el);return n(r.trigger),o(r.trigger),r}function K(e,t,n={}){let{window:r=N,...i}=n,a,o=L(()=>r&&`ResizeObserver`in r),c=()=>{a&&=(a.disconnect(),void 0)},u=g(s(()=>{let t=l(e);return Array.isArray(t)?t.map(e=>P(e)):[P(t)]}),e=>{if(c(),o.value&&r){a=new ResizeObserver(t);for(let t of e)t&&a.observe(t,i)}},{immediate:!0,flush:`post`}),d=()=>{c(),u()};return x(d),{isSupported:o,stop:d}}function q(e=G()){let t=d(),n=()=>{let n=P(e);n&&(t.value=n.parentElement)};return A(n),g(()=>l(e),n),t}function J(e,t,n,i={}){var a,o;let{clone:l=!1,passive:u=!1,eventName:d,deep:p=!1,defaultValue:m,shouldEmit:h}=i,_=f(),v=n||_?.emit||(_==null||(a=_.$emit)==null?void 0:a.bind(_))||(_==null||(o=_.proxy)==null||(o=o.$emit)==null?void 0:o.bind(_?.proxy)),y=d;t||=`modelValue`,y||=`update:${t.toString()}`;let b=e=>l?typeof l==`function`?l(e):W(e):e,x=()=>k(e[t])?b(e[t]):m,S=e=>{h?h(e)&&v(y,e):v(y,e)};if(u){let n=c(x()),i=!1;return g(()=>e[t],e=>{i||(i=!0,n.value=b(e),r(()=>i=!1))}),g(n,n=>{!i&&(n!==e[t]||p)&&S(n)},{deep:p}),n}return s({get(){return x()},set(e){S(e)}})}function Y(){let e=f(),t=c(),r=s(()=>i());n(()=>{r.value!==i()&&p(t)});function i(){return t.value&&`$el`in t.value&&[`#text`,`#comment`].includes(t.value.$el.nodeName)?t.value.$el.nextElementSibling:P(t)}let a=Object.assign({},e.exposed),o={};for(let t in e.props)Object.defineProperty(o,t,{enumerable:!0,configurable:!0,get:()=>e.props[t]});if(Object.keys(a).length>0)for(let e in a)Object.defineProperty(o,e,{enumerable:!0,configurable:!0,get:()=>a[e]});Object.defineProperty(o,"$el",{enumerable:!0,configurable:!0,get:()=>e.vnode.el}),e.exposed=o;function l(n){if(t.value=n,n&&(Object.defineProperty(o,"$el",{enumerable:!0,configurable:!0,get:()=>n instanceof Element?n:n.$el}),!(n instanceof Element)&&!Object.hasOwn(n,`$el`))){let t=n.$.exposed,r=Object.assign({},o);for(let e in t)Object.defineProperty(r,e,{enumerable:!0,configurable:!0,get:()=>t[e]});e.exposed=r}}return{forwardRef:l,currentRef:t,currentElement:r}}function X(e){return(t,n)=>Z(t,n,h(e))}function Z(e,t,n){return y(n,`messages.${e}`,e).replace(/\{(\w+)\}/g,(e,n)=>`${t?.[n]??`{${n}}`}`)}function ne(e){return{lang:s(()=>h(e).name),code:s(()=>h(e).code),dir:s(()=>h(e).dir),locale:a(e)?e:c(e),t:X(e)}}function re(e){return v(e,{dir:`ltr`})}var Q=re({name:`English`,code:`en`,messages:{alert:{close:`Close`},authForm:{hidePassword:`Hide password`,showPassword:`Show password`,submit:`Continue`},banner:{close:`Close`},calendar:{nextMonth:`Next month`,nextYear:`Next year`,prevMonth:`Previous month`,prevYear:`Previous year`},carousel:{dots:`Choose slide to display`,goto:`Go to slide {slide}`,next:`Next`,prev:`Prev`},chatPrompt:{placeholder:`Type your message hereâ¦`},chatPromptSubmit:{label:`Send prompt`},colorMode:{dark:`Dark`,light:`Light`,switchToDark:`Switch to dark mode`,switchToLight:`Switch to light mode`,system:`System`},commandPalette:{back:`Back`,close:`Close`,noData:`No data`,noMatch:`No matching data`,placeholder:`Type a command or searchâ¦`},contentSearch:{links:`Links`,search:`Results`,theme:`Theme`},contentSearchButton:{label:`Searchâ¦`},contentToc:{title:`On this page`},dropdownMenu:{noMatch:`No matching data`,search:`Searchâ¦`},dashboardSearch:{theme:`Theme`},dashboardSearchButton:{label:`Searchâ¦`},dashboardSidebarCollapse:{collapse:`Collapse sidebar`,expand:`Expand sidebar`},dashboardSidebarToggle:{close:`Close sidebar`,open:`Open sidebar`},drawer:{close:`Close`},error:{clear:`Back to home`},fileUpload:{removeFile:`Remove {filename}`},header:{close:`Close menu`,open:`Open menu`},inputMenu:{create:`Create "{label}"`,noData:`No data`,noMatch:`No matching data`},inputNumber:{decrement:`Decrement`,increment:`Increment`},listbox:{noData:`No data`,noMatch:`No matching data`,search:`Searchâ¦`},modal:{close:`Close`},pricingTable:{caption:`Pricing plan comparison`},prose:{codeCollapse:{closeText:`Collapse`,name:`code`,openText:`Expand`},collapsible:{closeText:`Hide`,name:`properties`,openText:`Show`},pre:{copy:`Copy code to clipboard`},prompt:{copy:`Copy prompt`,openIn:`Open in {name}`}},chatReasoning:{thinking:`Thinkingâ¦`,thought:`Thought`,thoughtFor:`Thought for {duration}`},sidebar:{close:`Close`,toggle:`Toggle`},selectMenu:{create:`Create "{label}"`,noData:`No data`,noMatch:`No matching data`,search:`Searchâ¦`},slideover:{close:`Close`},table:{noData:`No data`},toast:{close:`Close`}}}),$=Symbol.for(`nuxt-ui.locale-context`),ie=O(e=>{let n=e||m(t($,Q));return ne(s(()=>n.value||Q))});export{te as a,P as c,I as d,q as f,J as h,Y as i,F as l,K as m,ie as n,N as o,B as p,Q as r,z as s,$ as t,U as u};
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.