PageSourceSearch

https://colordesigner.io/_nuxt/Wdk23hA9.js

js colordesigner.io collected 2026-10-02 05:43:26 UTC 7,168 bytes, 1 lines download raw bytes

1import{Et as e,N as t,O as n,_t as r,bt as i,d as a,dt as o,ft as s,gt as c,ht as l,k as u,ot as d,pt as f,vt as p,wt as m}from"./CRxet5Tc.js";var h=typeof window<`u`,g,_=e=>g=e,v=Symbol();function y(e){return e&&typeof e==`object`&&Object.prototype.toString.call(e)===`[object Object]`&&typeof e.toJSON!=`function`}var b=typeof window==`object`&&window.window===window?window:typeof self==`object`&&self.self===self?self:typeof global==`object`&&global.global===global?global:typeof globalThis==`object`?globalThis:{HTMLElement:null};function x(e,{autoBom:t=!1}={}){return t&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob([``,e],{type:e.type}):e}function S(e,t,n){let r=new XMLHttpRequest;r.open(`GET`,e),r.responseType=`blob`,r.onload=function(){D(r.response,t,n)},r.onerror=function(){console.error(`could not download file`)},r.send()}function C(e){let t=new XMLHttpRequest;t.open(`HEAD`,e,!1);try{t.send()}catch{}return t.status>=200&&t.status<=299}function w(e){try{e.dispatchEvent(new MouseEvent(`click`))}catch{let t=new MouseEvent(`click`,{bubbles:!0,cancelable:!0,view:window,detail:0,screenX:80,screenY:20,clientX:80,clientY:20,ctrlKey:!1,altKey:!1,shiftKey:!1,metaKey:!1,button:0,relatedTarget:null});e.dispatchEvent(t)}}var T=typeof navigator==`object`?navigator:{userAgent:``},E=/Macintosh/.test(T.userAgent)&&/AppleWebKit/.test(T.userAgent)&&!/Safari/.test(T.userAgent),D=h?typeof HTMLAnchorElement<`u`&&`download`in HTMLAnchorElement.prototype&&!E?O:`msSaveOrOpenBlob`in T?k:A:()=>{};function O(e,t=`download`,n){let r=document.createElement(`a`);r.download=t,r.rel=`noopener`,typeof e==`string`?(r.href=e,r.origin===location.origin?w(r):C(r.href)?S(e,t,n):(r.target=`_blank`,w(r))):(r.href=URL.createObjectURL(e),setTimeout(function(){URL.revokeObjectURL(r.href)},4e4),setTimeout(function(){w(r)},0))}function k(e,t=`download`,n){if(typeof e==`string`){if(C(e))S(e,t,n);else{let t=document.createElement(`a`);t.href=e,t.target=`_blank`,setTimeout(function(){w(t)})}}else navigator.msSaveOrOpenBlob(x(e,n),t)}function A(e,t,n,r){if(r||=open(``,`_blank`),r&&(r.document.title=r.document.body.innerText=`downloading...`),typeof e==`string`)return S(e,t,n);let i=e.type===`application/octet-stream`,a=/constructor/i.test(String(b.HTMLElement))||`safari`in b,o=/CriOS\/[\d]+/.test(navigator.userAgent);if((o||i&&a||E)&&typeof FileReader<`u`){let t=new FileReader;t.onloadend=function(){let e=t.result;if(typeof e!=`string`)throw r=null,Error(`Wrong reader.result type`);e=o?e:e.replace(/^data:[^;]*;/,`data:attachment/file;`),r?r.location.href=e:location.assign(e),r=null},t.readAsDataURL(e)}else{let t=URL.createObjectURL(e);r?r.location.assign(t):location.href=t,r=null,setTimeout(function(){URL.revokeObjectURL(t)},4e4)}}var{assign:j}=Object;function M(){let e=o(!0),t=e.run(()=>i({})),n=[],r=[],a=c({install(e){_(a),a._a=e,e.provide(v,a),e.config.globalProperties.$pinia=a,r.forEach(e=>n.push(e)),r=[]},use(e){return this._a?n.push(e):r.push(e),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return a}var N=()=>{};function P(e,t,n,i=N){e.add(t);let a=()=>{e.delete(t)&&i()};return!n&&s()&&r(a),a}function F(e,...t){e.forEach(e=>{e(...t)})}var I=e=>e(),L=Symbol(),R=Symbol();function z(e,t){e instanceof Map&&t instanceof Map?t.forEach((t,n)=>e.set(n,t)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(let n in t){if(!Object.hasOwn(t,n))continue;let r=t[n],i=e[n];e[n]=y(i)&&y(r)&&Object.hasOwn(e,n)&&!l(r)&&!f(r)?z(i,r):r}return e}var B=Symbol();function V(e){return!e||typeof e!=`object`||!Object.hasOwn(e,B)}var{assign:H}=Object;function U(e){return!!(l(e)&&e.effect)}function W(t,n,r,i){let{state:o,actions:s,getters:l}=n,u=r.state.value[t],d;function f(){return u||(r.state.value[t]=o?o():{}),H(e(r.state.value[t]),s,Object.keys(l||{}).reduce((e,n)=>(e[n]=c(a(()=>{_(r);let e=r._s.get(t);return l[n].call(e,e)})),e),{}))}return d=G(t,f,n,r,i,!0),d}function G(e,n,r={},i,a,s){let c,u=H({actions:{}},r),h={deep:!0},g,v,y=new Set,b=new Set,x,S=i.state.value[e];!s&&!S&&(i.state.value[e]={});let C;function w(n){let r;g=v=!1,typeof n==`function`?(n(i.state.value[e]),r={type:`patch function`,storeId:e,events:x}):(z(i.state.value[e],n),r={type:`patch object`,payload:n,storeId:e,events:x});let a=C=Symbol();t().then(()=>{C===a&&(g=!0)}),v=!0,F(y,r,i.state.value[e])}let T=s?function(){let{state:e}=r,t=e?e():{};this.$patch(e=>{H(e,t)})}:N;function E(){c.stop(),y.clear(),b.clear(),i._s.delete(e)}let D=(t,n=``)=>{if(L in t)return t[R]=n,t;let r=function(){_(i);let n=Array.from(arguments),a=new Set,o=new Set;function s(e){a.add(e)}function c(e){o.add(e)}F(b,{args:n,name:r[R],store:k,after:s,onError:c});let l;try{l=t.apply(this&&this.$id===e?this:k,n)}catch(e){throw F(o,e),e}return l instanceof Promise?l.then(e=>(F(a,e),e)).catch(e=>(F(o,e),Promise.reject(e))):(F(a,l),l)};return r[L]=!0,r[R]=n,r},O={_p:i,$id:e,$onAction:P.bind(null,b),$patch:w,$reset:T,$subscribe(t,n={}){if(y.has(t))return N;let r=P(y,t,n.detached,()=>a()),a=c.run(()=>d(()=>i.state.value[e],r=>{(n.flush===`sync`?v:g)&&t({storeId:e,type:`direct`,events:x},r)},H({},h,n)));return r},$dispose:E},k=p(O);i._s.set(e,k);let A=(i._a&&i._a.runWithContext||I)(()=>i._e.run(()=>(c=o()).run(()=>n({action:D}))));for(let t in A){let n=A[t];
1l(n)&&!U(n)||f(n)?s||(S&&V(n)&&(l(n)?n.value=S[t]:((n instanceof Set||n instanceof Map)&&n.clear(),z(n,S[t]))),i.state.value[e][t]=n):typeof n==`function`&&(A[t]=D(n,t),u.actions[t]=n)}return H(k,A),H(m(k),A),Object.defineProperty(k,"$state",{get:()=>i.state.value[e],set:e=>{w(t=>{H(t,e)})}}),i._p.forEach(e=>{let t=c.run(()=>e({store:k,app:i._a,pinia:i,options:u}));H(k,t)}),S&&s&&r.hydrate&&r.hydrate(k.$state,S),g=!0,v=!0,k}function K(e,t,r){let i,a=typeof t==`function`;i=a?r:t;function o(r,o){let s=n();return r||=s?u(v,null):null,r&&_(r),r=g,r._s.has(e)||(a?G(e,t,i,r):W(e,i,r)),r._s.get(e)}return o.$id=e,o}function q(e,t){return Array.isArray(t)?t.reduce((t,n)=>(t[n]=function(){return e(this.$pinia)[n]},t),{}):Object.keys(t).reduce((n,r)=>(n[r]=function(){let n=e(this.$pinia),i=t[r];return typeof i==`function`?i.call(this,n):n[i]},n),{})}var J=q;function Y(e,t){return Array.isArray(t)?t.reduce((t,n)=>(t[n]=function(...t){return e(this.$pinia)[n](...t)},t),{}):Object.keys(t).reduce((n,r)=>(n[r]=function(...n){return e(this.$pinia)[t[r]](...n)},n),{})}var X=K(`dashboard`,{state:()=>({isUserLoggedIn:!1,proActive:!1,allowShowAds:!1,logInModal:!1,signUpModal:!1,upgradeToProModal:!1,resetPasswordModal:!1,colors:[],colorPalettes:[],profile:{id:``,email:``}}),actions:{logInHook(){this.isUserLoggedIn=!0},logOutHook(){this.isUserLoggedIn=!1},showLogInModal(){this.logInModal=!0},hideLogInModal(){this.logInModal=!1},showSignUpModal(){this.signUpModal=!0},hideSignUpModal(){this.signUpModal=!1},showResetPasswordModal(){this.resetPasswordModal=!0},hideResetPasswordModal(){this.resetPasswordModal=!1},showUpgradeToProModal(){this.upgradeToProModal=!0},hideUpgradeToProModal(){this.upgradeToProModal=!1},setProStatus(e=!0){this.proActive=e},enableAds(){this.allowShowAds=!0},setProfil(e){this.profile=e}}});export{J as a,V as c,Y as i,M as n,q as o,K as r,_ as s,X as t};

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.