PageSourceSearch

https://solarbrain.ai/_nuxt/B8CBZLxA.js

js solarbrain.ai collected 2026-10-05 15:51:25 UTC 16,302 bytes, 1 lines download raw bytes

1import{At as e,Bt as t,Ct as n,F as r,Ft as i,H as a,I as o,M as s,Nt as c,Pt as l,Rt as u,Y as d,Z as f,ft as p,j as m,jt as h,kt as g,pt as _,x as v}from"./DWS5kUQL.js";import{C as y,D as b,E as x,M as S,N as C,O as w,P as T,T as E,_ as D,c as O,d as k,g as A,h as j,j as M,k as N,l as P,m as ee,n as te,p as ne,r as F,s as re,t as ie,u as I}from"./C3bjzUOu.js";o(),n();function ae(e={}){let{inheritAttrs:t=!0,name:n=`ReusableTemplate`}=e,r=l(),i=m({name:`${n}.define`,setup(e,{slots:t}){return()=>{r.value=t.default}}}),a=m({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?oe(i):n,$slots:a});return t&&o?.length===1?o[0]:o}}});return ee({define:i,reuse:a},[i,a])}function oe(e){let t={};for(let n in e)t[ie(n)]=e[n];return t}var L=I?window:void 0,R=I?window.document:void 0,z=I?window.navigator:void 0;I&&window.location;function B(e){let t=u(e);return t?.$el??t}function V(...e){let n=(e,t,n,r)=>(e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)),r=v(()=>{let t=y(u(e[0])).filter(e=>e!=null);return t.every(e=>typeof e!=`string`)?t:void 0});return S(()=>[r.value?.map(e=>B(e))??[L].filter(e=>e!=null),y(u(r.value?e[1]:e[0])),y(t(r.value?e[2]:e[1])),u(r.value?e[3]:e[2])],([e,t,r,i],a,o)=>{if(!e?.length||!t?.length||!r?.length)return;let s=ne(i)?{...i}:i,c=e.flatMap(e=>t.flatMap(t=>r.map(r=>n(e,t,r,s))));o(()=>{c.forEach(e=>e())})},{flush:`post`})}function H(){let e=l(!1),t=s();return t&&d(()=>{e.value=!0},t),e}function U(e){let t=H();return v(()=>(t.value,!!e()))}function W(e,t,n={}){let{window:r=L,...i}=n,a,o=U(()=>r&&`MutationObserver`in r),s=()=>{a&&=(a.disconnect(),void 0)},c=p(v(()=>{let t=y(u(e)).map(B).filter(A);return new Set(t)}),e=>{s(),o.value&&e.size&&(a=new MutationObserver(t),e.forEach(e=>a.observe(e,i)))},{immediate:!0,flush:`post`}),l=()=>a?.takeRecords(),d=()=>{c(),s()};return x(d),{isSupported:o,stop:d,takeRecords:l}}function se(e,t,n={}){let{window:r=L,document:i=r?.document,flush:a=`sync`}=n;if(!r||!i)return j;let o,s=e=>{o?.(),o=e},c=_(()=>{let n=B(e);if(n){let{stop:e}=W(i,e=>{e.map(e=>[...e.removedNodes]).flat().some(e=>e===n||e.contains(n))&&t(e)},{window:r,childList:!0,subtree:!0});s(e)}},{flush:a}),l=()=>{c(),s()};return x(l),l}function G(e){return typeof e==`function`?e:typeof e==`string`?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function K(...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=L,eventName:a=`keydown`,passive:o=!1,dedupe:s=!1}=r,c=G(t);return V(i,a,e=>{e.repeat&&u(s)||c(e)&&n(e)},o)}function ce(e={}){let{window:t=L,deep:n=!0,triggerOnRemoval:r=!1}=e,i=e.document??t?.document,a=()=>{let e=i?.activeElement;if(n)for(var t;e?.shadowRoot;)e=e==null||(t=e.shadowRoot)==null?void 0:t.activeElement;return e},o=l(),s=()=>{o.value=a()};if(t){let e={capture:!0,passive:!0};V(t,`blur`,e=>{e.relatedTarget===null&&s()},e),V(t,`focus`,s,e)}return r&&se(o,s,{document:i}),s(),o}function le(e,t={}){let{immediate:n=!0,fpsLimit:r=null,window:i=L,once:a=!1}=t,o=l(!1),s=v(()=>{let e=u(r);return e?1e3/e:null}),d=0,f=null;function p(t){if(!o.value||!i)return;d||=t;let n=t-d;if(s.value&&n<s.value){f=i.requestAnimationFrame(p);return}if(d=t,e({delta:n,timestamp:t}),a){o.value=!1,f=null;return}f=i.requestAnimationFrame(p)}function m(){!o.value&&i&&(o.value=!0,d=0,f=i.requestAnimationFrame(p))}function h(){o.value=!1,f!=null&&i&&(i.cancelAnimationFrame(f),f=null)}return n&&m(),x(h),{isActive:c(o),pause:h,resume:m}}var ue=Symbol(`vueuse-ssr-width`);function de(){let e=r()?P(ue,null):null;return typeof e==`number`?e:void 0}function fe(e,t={}){let{window:n=L,ssrWidth:r=de()}=t,i=U(()=>n&&`matchMedia`in n&&typeof n.matchMedia==`function`),a=l(typeof r==`number`),o=l(),s=l(!1);return _(()=>{if(a.value){a.value=!i.value;let t=u(e).split(`,`);s.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>=D(n[1])),i&&a&&(a=r<=D(i[1])),t?!a:a});return}i.value&&(o.value=n.matchMedia(u(e)),s.value=o.value.matches)}),V(o,`change`,e=>{s.value=e.matches},{passive:!0}),v(()=>s.value)}function q(e,t={}){let{controls:n=!1,navigator:r=z}=t,a=U(()=>r&&`permissions`in r),o=l(),s=typeof e==`string`?{name:e}:e,c=l(),u=()=>{c.value=o.value?.state??`prompt`};V(o,`change`,u,{passive:!0});let d=re(async()=>
1{if(a.value){if(!o.value)try{o.value=await r.permissions.query(s)}catch{o.value=void 0}finally{u()}if(n)return i(o.value)}});return d(),n?{state:c,isSupported:a,query:d}:c}function pe(e={}){let{navigator:t=z,read:n=!1,source:r,copiedDuring:i=1500,legacy:a=!1}=e,o=U(()=>t&&`clipboard`in t),s=q(`clipboard-read`),d=q(`clipboard-write`),f=v(()=>o.value||a),p=l(``),m=l(!1),h=l(!1),g=M(()=>m.value=!1,i,{immediate:!1}),_=0;async function y(){let e=!(o.value&&w(s.value));if(!e)try{p.value=await t.clipboard.readText()}catch{e=!0}e&&(p.value=C())}f.value&&n&&V([`copy`,`cut`],y,{passive:!0});async function b(e){let n=e??u(r);if(f.value&&n!=null){h.value=!0;let e=!(o.value&&w(d.value));if(!e)try{let e=x(n);await t.clipboard.write([e])}catch{e=!0}if(e){if(typeof n==`string`)p.value=n,S(n);else{let e=++_,t=await n();t!=null&&e===_&&(p.value=t,S(t))}}m.value=!0,g.start(),h.value=!1}}function x(e){return typeof e==`string`?(p.value=e,new ClipboardItem({"text/plain":e})):new ClipboardItem({"text/plain":e().then((e=``)=>(p.value=e,new Blob([e],{type:`text/plain`})))})}function S(e){let t=document.createElement(`textarea`);t.value=e,t.style.position=`absolute`,t.style.opacity=`0`,t.setAttribute(`readonly`,``),document.body.appendChild(t),t.select(),document.execCommand(`copy`),t.remove()}function C(){var e,t;return((e=document)==null||(t=e.getSelection)==null||(t=t.call(e))==null?void 0:t.toString())??``}function w(e){return e===`granted`||e===`prompt`}return{copyPending:c(h),isSupported:f,text:c(p),copied:c(m),copy:b}}function me(e){return JSON.parse(JSON.stringify(e))}var J=typeof globalThis<`u`?globalThis:typeof window<`u`?window:typeof global<`u`?global:typeof self<`u`?self:{},Y=`__vueuse_ssr_handlers__`,he=ge();function ge(){return Y in J||(J[Y]=J[Y]||{}),J[Y]}function _e(e,t){return he[e]||t}function ve(e){return e==null?`any`:e instanceof Set?`set`:e instanceof Map?`map`:e instanceof Date?`date`:typeof e==`boolean`?`boolean`:typeof e==`string`?`string`:typeof e==`object`?`object`:Number.isNaN(e)?`any`:`number`}var ye={boolean:{read:e=>e===`true`,write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},X=`vueuse-storage`;function be(e,t,n,r={}){let{flush:i=`pre`,deep:o=!0,listenToStorageChanges:s=!0,writeDefaults:c=!0,mergeDefaults:d=!1,shallow:f,window:m=L,eventFilter:g,onError:_=e=>{console.error(e)},initOnMounted:y}=r,b=(f?l:h)(typeof t==`function`?t():t),x=v(()=>u(e));if(!n)try{n=_e(`getDefaultStorage`,()=>L?.localStorage)()}catch(e){_(e)}if(!n)return b;let S=u(t),C=ve(S),w=r.serializer??ye[C],{pause:D,resume:O}=T(b,e=>j(e),{flush:i,deep:o,eventFilter:g});p(x,()=>N(),{flush:i});let k=!1;m&&s&&(n instanceof Storage?V(m,`storage`,e=>{(!y||k)&&N(e)},{passive:!0}):V(m,X,e=>{(!y||k)&&P(e)})),y?E(()=>{k=!0,N()}):N();function A(e,t){if(m){let r={key:x.value,oldValue:e,newValue:t,storageArea:n};m.dispatchEvent(n instanceof Storage?new StorageEvent(`storage`,r):new CustomEvent(X,{detail:r}))}}function j(e){try{let t=n.getItem(x.value);if(e==null)A(t,null),n.removeItem(x.value);else{let r=w.write(e);t!==r&&(n.setItem(x.value,r),A(t,r))}}catch(e){_(e)}}function M(e){let t=e?e.newValue:n.getItem(x.value);if(t==null)return c&&S!=null&&n.setItem(x.value,w.write(S)),S;if(!e&&d){let e=w.read(t);return typeof d==`function`?d(e,S):C===`object`&&!Array.isArray(e)?{...S,...e}:e}return typeof t==`string`?w.read(t):t}function N(e){if(!(e&&e.storageArea!==n)){if(e&&e.key==null){b.value=S;return}if(!(e&&e.key!==x.value)){D();try{let t=w.write(b.value);(e===void 0||e?.newValue!==t)&&(b.value=M(e))}catch(e){_(e)}finally{e?a(O):O()}}}}function P(e){N(e.detail)}return b}function xe(e){let t=s(),n=te(()=>null,()=>e?B(e):t.proxy.$el);return f(n.trigger),d(n.trigger),n}function Se(e,n={}){let r=l(!1),i=l(null),a=0,o=!0;if(I){let s=typeof n==`function`?{onDrop:n}:n,c=s.multiple??!0,l=s.preventDefaultForUnhandled??!1,u=e=>{let t=Array.from(e.dataTransfer?.files??[]);return t.length===0?null:c?t:[t[0]]},d=e=>{let n=t(s.dataTypes);return typeof n==`function`?n(e):!n?.length||e.length!==0&&e.every(e=>n.some(t=>e.includes(t)))},f=e=>{if(s.checkValidity)return s.checkValidity(e);let t=Array.from(e??[]).map(e=>e.type),n=d(t),r=c||e.length<=1;return n&&r},p=()=>/^(?:(?!chrome|android).)*safari/i.test(navigator.userAgent)&&!(`chrome`in window),m=(e,t)=>
1{let n=e.dataTransfer?.items;if(o=(n&&f(n))??!1,l&&e.preventDefault(),!p()&&!o){e.dataTransfer&&(e.dataTransfer.dropEffect=`none`);return}e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect=`copy`);let c=u(e);switch(t){case`enter`:var d;a+=1,r.value=!0,(d=s.onEnter)==null||d.call(s,null,e);break;case`over`:var m;(m=s.onOver)==null||m.call(s,null,e);break;case`leave`:var h;--a,a===0&&(r.value=!1),(h=s.onLeave)==null||h.call(s,null,e);break;case`drop`:if(a=0,r.value=!1,o){var g;i.value=c,(g=s.onDrop)==null||g.call(s,c,e)}}};V(e,`dragenter`,e=>m(e,`enter`)),V(e,`dragover`,e=>m(e,`over`)),V(e,`dragleave`,e=>m(e,`leave`)),V(e,`drop`,e=>m(e,`drop`))}return{files:i,isOverDropZone:r}}function Ce(e,t,n={}){let{window:r=L,...i}=n,a,o=U(()=>r&&`ResizeObserver`in r),s=()=>{a&&=(a.disconnect(),void 0)},c=p(v(()=>{let t=u(e);return Array.isArray(t)?t.map(e=>B(e)):[B(t)]}),e=>{if(s(),o.value&&r){a=new ResizeObserver(t);for(let t of e)t&&a.observe(t,i)}},{immediate:!0,flush:`post`}),l=()=>{s(),c()};return x(l),{isSupported:o,stop:l}}function we(e,t,n={}){let{root:r,rootMargin:i,threshold:a=0,window:o=L,immediate:s=!0}=n,c=U(()=>o&&`IntersectionObserver`in o),d=v(()=>y(u(e)).map(B).filter(A)),f=j,m=l(s),h=c.value?p(()=>[d.value,B(r),u(i),m.value],([e,n,r])=>{if(f(),!m.value||!e.length)return;let i=new IntersectionObserver(t,{root:B(n),rootMargin:r,threshold:a});e.forEach(e=>e&&i.observe(e)),f=()=>{i.disconnect(),f=j}},{immediate:s,flush:`post`}):j,g=()=>{f(),h(),m.value=!1};return x(g),{isSupported:c,isActive:m,pause(){f(),m.value=!1},resume(){m.value=!0},stop:g}}function Te(e,t={}){let{window:n=L,scrollTarget:r,threshold:i=0,rootMargin:a,once:o=!1,initialValue:s=!1}=t,c=l(s),u=we(e,e=>{let t=c.value,n=0;for(let r of e)r.time>=n&&(n=r.time,t=r.isIntersecting);c.value=t,o&&C(c,()=>{u.stop()})},{root:r,window:n,threshold:i,rootMargin:a});return t.controls?{...u,isVisible:c}:c}var Z=new Map;function Ee(e){function t(t){let n=Z.get(e)||new Set;n.add(t),Z.set(e,n);let i=()=>r(t);return x(i),i}function n(e){function n(...t){r(n),e(...t)}return t(n)}function r(t){let n=Z.get(e);n&&(n.delete(t),n.size||i())}function i(){Z.delete(e)}function a(t,n){var r;(r=Z.get(e))==null||r.forEach(e=>e(t,n))}return{on:t,once:n,off:r,emit:a,reset:i}}var De={multiple:!0,accept:`*`,reset:!1,directory:!1};function Oe(e){if(!e)return null;if(e instanceof FileList)return e;let t=new DataTransfer;for(let n of e)t.items.add(n);return t.files}function ke(t={}){let{document:n=R}=t,r=h(Oe(t.initialFiles)),{on:i,trigger:a}=F(),{on:o,trigger:s}=F(),c=v(()=>{let e=B(t.input)??(n?n.createElement(`input`):void 0);return e&&(e.type=`file`,e.onchange=e=>{let t=e.target;r.value=t.files,a(r.value)},e.oncancel=()=>{s()}),e}),l=()=>{r.value=null,c.value&&c.value.value&&(c.value.value=``,a(null))},d=e=>{let t=c.value;t&&(t.multiple=u(e.multiple),t.accept=u(e.accept),t.webkitdirectory=u(e.directory),O(e,`capture`)&&(t.capture=u(e.capture)))};return _(()=>{d(t)}),{files:e(r),open:e=>{let n=c.value;if(!n)return;let r={...De,...t,...e};d(r),u(r.reset)&&l(),n.click()},reset:l,onCancel:o,onChange:i}}var Ae=`focusin`,Q=`focusout`,je=`:focus-within`;function Me(e,t={}){let{window:n=L}=t,r=v(()=>B(e)),i=l(!1),a=v(()=>i.value),o=ce(t);if(!n||!o.value)return{focused:a};let s={passive:!0};return V(r,Ae,()=>i.value=!0,s),V(r,Q,()=>{var e,t;return i.value=((e=r.value)==null||(t=e.matches)==null?void 0:t.call(e,je))??!1},s),{focused:a}}function Ne(e){return typeof Window<`u`&&e instanceof Window?e.document.documentElement:typeof Document<`u`&&e instanceof Document?e.documentElement:e}var $=1;function Pe(e,t={}){let{throttle:n=0,idle:r=200,onStop:i=j,onScroll:a=j,offset:o={left:0,right:0,top:0,bottom:0},observe:s={mutation:!1},eventListenerOptions:c={capture:!1,passive:!0},behavior:d=`auto`,window:f=L,onError:p=e=>{console.error(e)}}=t,m=typeof s==`boolean`?{mutation:s}:s,h=l(0),_=l(0),y=v({get(){return h.value},set(e){x(e,void 0)}}),b=v({get(){return _.value},set(e){x(void 0,e)}});function x(t,n){var r,i;if(!f)return;let a=u(e);if(!a)return;(r=a instanceof Document?f.document.body:a)==null||r.scrollTo({top:u(n)??b.value,left:u(t)??y.value,behavior:u(d)});let o=(a==null||(i=a.document)==null?void 0:i.documentElement)||a?.documentElement||a;y!=null&&(h.value=o.scrollLeft),b!=null&&(_.value=o.scrollTop)}let S=l(!1),C=g({left:!0,right:!1,top:!0,bottom:!1}),T=g({left:!1,right:!1,top:!1,bottom:!1}),D=e=>{S.value&&(S.value=!1,T.left=!1,T.right=!1,T.top=!1,T.bottom=!1,i(e))},O=w(D,n+r),k=e=>{var t;if(!f)return;let n=(e==null||(t=e.document)==null?void 0:t.documentElement)||e?.documentElement||B(e),{display:r,flexDirection:i,direction:a}=f.getComputedStyle(n),s=a===`rtl`?-1:1,c=n.scrollLeft;T.left=c<h.value,T.right=c>h.value;let l=Math.abs(c*s)<=(o.left||0),u=Math.abs(c*s)+n.clientWidth>=n.scrollWidth-(o.right||0)-$;r===`flex`&&i===`row-reverse`?(C.left=u,C.right=l):(C.left=l,C.right=u),h.value=c;let d=n.scrollTop;
1e===f.document&&!d&&(d=f.document.body.scrollTop),T.top=d<_.value,T.bottom=d>_.value;let p=Math.abs(d)<=(o.top||0),m=Math.abs(d)+n.clientHeight>=n.scrollHeight-(o.bottom||0)-$;r===`flex`&&i===`column-reverse`?(C.top=m,C.bottom=p):(C.top=p,C.bottom=m),_.value=d},A=e=>{if(!f)return;let t=e.target.documentElement??e.target;k(t),S.value=!0,O(e),a(e)};return V(e,`scroll`,n?N(A,n,!0,!1):A,c),E(()=>{try{let t=u(e);if(!t)return;k(t)}catch(e){p(e)}}),m?.mutation&&e!=null&&e!==f&&e!==document&&W(e,()=>{let t=u(e);t&&k(t)},{attributes:!0,childList:!0,subtree:!0}),V(e,`scrollend`,D,c),{x:y,y:b,isScrolling:S,arrivedState:C,directions:T,measure(){let t=u(e);f&&t&&k(t)}}}function Fe(e,t,n={}){let{direction:r=`bottom`,interval:i=100,canLoadMore:o=()=>!0}=n,s=g(Pe(e,{...n,offset:{[r]:n.distance??0,...n.offset}})),c=l(),d=v(()=>!!c.value),f=v(()=>Ne(u(e))),m=Te(f),h=v(()=>f.value?o(f.value):!1);function _(){if(s.measure(),!f.value||!m.value||!h.value||c.value)return;let{scrollHeight:e,clientHeight:n,scrollWidth:o,clientWidth:l}=f.value,u=r===`bottom`||r===`top`?e<=n:o<=l;(s.arrivedState[r]||u)&&(c.value=Promise.all([t(s),new Promise(e=>setTimeout(e,i))]).finally(()=>{c.value=null,a(()=>_())}))}return b(p(()=>[s.arrivedState[r],m.value,h.value],_,{immediate:!0,flush:`post`})),{isLoading:d,reset(){a(()=>_())}}}function Ie(e=xe()){let t=l(),n=()=>{let n=B(e);n&&(t.value=n.parentElement)};return E(n),p(()=>u(e),n),t}function Le(e,t,n,r={}){var i,o;let{clone:c=!1,passive:l=!1,eventName:u,deep:d=!1,defaultValue:f,shouldEmit:m}=r,g=s(),_=n||g?.emit||(g==null||(i=g.$emit)==null?void 0:i.bind(g))||(g==null||(o=g.proxy)==null||(o=o.$emit)==null?void 0:o.bind(g?.proxy)),y=u;t||=`modelValue`,y||=`update:${t.toString()}`;let b=e=>c?typeof c==`function`?c(e):me(e):e,x=()=>k(e[t])?b(e[t]):f,S=e=>{m?m(e)&&_(y,e):_(y,e)};if(l){let n=h(x()),r=!1;return p(()=>e[t],e=>{r||(r=!0,n.value=b(e),a(()=>r=!1))}),p(n,n=>{!r&&(n!==e[t]||d)&&S(n)},{deep:d}),n}return v({get(){return x()},set(e){S(e)}})}export{Ce as _,B as a,Ee as c,Me as d,Fe as f,le as g,Ie as h,K as i,V as l,H as m,R as n,pe as o,fe as p,L as r,Se as s,ae as t,ke as u,be as v,Le as y};

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.