pangea-lib 2.9.0 → 2.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/main.cjs.js +1 -1
- package/dist/main.es.js +9 -9
- package/package.json +1 -1
package/dist/main.cjs.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(M){return M instanceof this?M:new this(M)}static concat(M,...k){const P=new this(M);return k.forEach(D=>P.set(D)),P}static accessor(M){const k=(this[t6]=this[t6]={accessors:{}}).accessors,P=this.prototype;function D($){const W=_3($);k[W]||(function(p1,b1){const v1=N.toCamelCase(" "+b1);["get","set","has"].forEach(c1=>{Object.defineProperty(p1,c1+v1,{value:function(_1,x1,R1){return this[c1].call(this,b1,_1,x1,R1)},configurable:!0})})}(P,$),k[W]=!0)}return N.isArray(M)?M.forEach(D):D(M),this}}O.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),N.reduceDescriptors(O.prototype,({value:d},M)=>{let k=M[0].toUpperCase()+M.slice(1);return{get:()=>d,set(P){this[k]=P}}}),N.freezeMethods(O);var t1=O;function G(d,M){const k=this||S4,P=M||k,D=t1.from(P.headers);let $=P.data;return N.forEach(d,function(W){$=W.call(k,$,D.normalize(),M?M.status:void 0)}),D.normalize(),$}function i1(d){return!(!d||!d.__CANCEL__)}function h1(d,M,k){y.call(this,d??"canceled",y.ERR_CANCELED,M,k),this.name="CanceledError"}N.inherits(h1,y,{__CANCEL__:!0});var w2=k2.hasStandardBrowserEnv?{write(d,M,k,P,D,$){const W=[d+"="+encodeURIComponent(M)];N.isNumber(k)&&W.push("expires="+new Date(k).toGMTString()),N.isString(P)&&W.push("path="+P),N.isString(D)&&W.push("domain="+D),$===!0&&W.push("secure"),document.cookie=W.join("; ")},read(d){const M=document.cookie.match(new RegExp("(^|;\\s*)("+d+")=([^;]*)"));return M?decodeURIComponent(M[3]):null},remove(d){this.write(d,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function P2(d,M){return d&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(M)?function(k,P){return P?k.replace(/\/?\/$/,"")+"/"+P.replace(/^\/+/,""):k}(d,M):M}var A3=k2.hasStandardBrowserEnv?function(){const d=/(msie|trident)/i.test(navigator.userAgent),M=document.createElement("a");let k;function P(D){let $=D;return d&&(M.setAttribute("href",$),$=M.href),M.setAttribute("href",$),{href:M.href,protocol:M.protocol?M.protocol.replace(/:$/,""):"",host:M.host,search:M.search?M.search.replace(/^\?/,""):"",hash:M.hash?M.hash.replace(/^#/,""):"",hostname:M.hostname,port:M.port,pathname:M.pathname.charAt(0)==="/"?M.pathname:"/"+M.pathname}}return k=P(window.location.href),function(D){const $=N.isString(D)?P(D):D;return $.protocol===k.protocol&&$.host===k.host}}():function(){return!0};function _4(d,M){let k=0;const P=function(D,$){D=D||10;const W=new Array(D),p1=new Array(D);let b1,v1=0,c1=0;return $=$!==void 0?$:1e3,function(_1){const x1=Date.now(),R1=p1[c1];b1||(b1=x1),W[v1]=_1,p1[v1]=x1;let L1=c1,W1=0;for(;L1!==v1;)W1+=W[L1++],L1%=D;if(v1=(v1+1)%D,v1===c1&&(c1=(c1+1)%D),x1-b1<$)return;const h2=R1&&x1-R1;return h2?Math.round(1e3*W1/h2):void 0}}(50,250);return D=>{const $=D.loaded,W=D.lengthComputable?D.total:void 0,p1=$-k,b1=P(p1);k=$;const v1={loaded:$,total:W,progress:W?$/W:void 0,bytes:p1,rate:b1||void 0,estimated:b1&&W&&$<=W?(W-$)/b1:void 0,event:D};v1[M?"download":"upload"]=!0,d(v1)}}const t4={http:null,xhr:typeof XMLHttpRequest<"u"&&function(d){return new Promise(function(M,k){let P=d.data;const D=t1.from(d.headers).normalize();let $,W,{responseType:p1,withXSRFToken:b1}=d;function v1(){d.cancelToken&&d.cancelToken.unsubscribe($),d.signal&&d.signal.removeEventListener("abort",$)}if(N.isFormData(P)){if(k2.hasStandardBrowserEnv||k2.hasStandardBrowserWebWorkerEnv)D.setContentType(!1);else if((W=D.getContentType())!==!1){const[L1,...W1]=W?W.split(";").map(h2=>h2.trim()).filter(Boolean):[];D.setContentType([L1||"multipart/form-data",...W1].join("; "))}}let c1=new XMLHttpRequest;if(d.auth){const L1=d.auth.username||"",W1=d.auth.password?unescape(encodeURIComponent(d.auth.password)):"";D.set("Authorization","Basic "+btoa(L1+":"+W1))}const _1=P2(d.baseURL,d.url);function x1(){if(!c1)return;const L1=t1.from("getAllResponseHeaders"in c1&&c1.getAllResponseHeaders());(function(W1,h2,a3){const Lc=a3.config.validateStatus;a3.status&&Lc&&!Lc(a3.status)?h2(new y("Request failed with status code "+a3.status,[y.ERR_BAD_REQUEST,y.ERR_BAD_RESPONSE][Math.floor(a3.status/100)-4],a3.config,a3.request,a3)):W1(a3)})(function(W1){M(W1),v1()},function(W1){k(W1),v1()},{data:p1&&p1!=="text"&&p1!=="json"?c1.response:c1.responseText,status:c1.status,statusText:c1.statusText,headers:L1,config:d,request:c1}),c1=null}if(c1.open(d.method.toUpperCase(),O1(_1,d.params,d.paramsSerializer),!0),c1.timeout=d.timeout,"onloadend"in c1?c1.onloadend=x1:c1.onreadystatechange=function(){c1&&c1.readyState===4&&(c1.status!==0||c1.responseURL&&c1.responseURL.indexOf("file:")===0)&&setTimeout(x1)},c1.onabort=function(){c1&&(k(new y("Request aborted",y.ECONNABORTED,d,c1)),c1=null)},c1.onerror=function(){k(new y("Network Error",y.ERR_NETWORK,d,c1)),c1=null},c1.ontimeout=function(){let L1=d.timeout?"timeout of "+d.timeout+"ms exceeded":"timeout exceeded";const W1=d.transitional||x2;d.timeoutErrorMessage&&(L1=d.timeoutErrorMessage),k(new y(L1,W1.clarifyTimeoutError?y.ETIMEDOUT:y.ECONNABORTED,d,c1)),c1=null},k2.hasStandardBrowserEnv&&(b1&&N.isFunction(b1)&&(b1=b1(d)),b1||b1!==!1&&A3(_1))){const L1=d.xsrfHeaderName&&d.xsrfCookieName&&w2.read(d.xsrfCookieName);L1&&D.set(d.xsrfHeaderName,L1)}P===void 0&&D.setContentType(null),"setRequestHeader"in c1&&N.forEach(D.toJSON(),function(L1,W1){c1.setRequestHeader(W1,L1)}),N.isUndefined(d.withCredentials)||(c1.withCredentials=!!d.withCredentials),p1&&p1!=="json"&&(c1.responseType=d.responseType),typeof d.onDownloadProgress=="function"&&c1.addEventListener("progress",_4(d.onDownloadProgress,!0)),typeof d.onUploadProgress=="function"&&c1.upload&&c1.upload.addEventListener("progress",_4(d.onUploadProgress)),(d.cancelToken||d.signal)&&($=L1=>{c1&&(k(!L1||L1.type?new h1(null,d,c1):L1),c1.abort(),c1=null)},d.cancelToken&&d.cancelToken.subscribe($),d.signal&&(d.signal.aborted?$():d.signal.addEventListener("abort",$)));const R1=function(L1){const W1=/^([-+\w]{1,25})(:?\/\/|:)/.exec(L1);return W1&&W1[1]||""}(_1);R1&&k2.protocols.indexOf(R1)===-1?k(new y("Unsupported protocol "+R1+":",y.ERR_BAD_REQUEST,d)):c1.send(P||null)})}};N.forEach(t4,(d,M)=>{if(d){try{Object.defineProperty(d,"name",{value:M})}catch{}Object.defineProperty(d,"adapterName",{value:M})}});const c3=d=>`- ${d}`,F6=d=>N.isFunction(d)||d===null||d===!1;var Y0=d=>{d=N.isArray(d)?d:[d];const{length:M}=d;let k,P;const D={};for(let $=0;$<M;$++){let W;if(k=d[$],P=k,!F6(k)&&(P=t4[(W=String(k)).toLowerCase()],P===void 0))throw new y(`Unknown adapter '${W}'`);if(P)break;D[W||"#"+$]=P}if(!P){const $=Object.entries(D).map(([W,p1])=>`adapter ${W} `+(p1===!1?"is not supported by the environment":"is not available in the build"));throw new y("There is no suitable adapter to dispatch the request "+(M?$.length>1?`since :
|
|
4
4
|
`+$.map(c3).join(`
|
|
5
5
|
`):" "+c3($[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return P};function $5(d){if(d.cancelToken&&d.cancelToken.throwIfRequested(),d.signal&&d.signal.aborted)throw new h1(null,d)}function Cc(d){return $5(d),d.headers=t1.from(d.headers),d.data=G.call(d,d.transformRequest),["post","put","patch"].indexOf(d.method)!==-1&&d.headers.setContentType("application/x-www-form-urlencoded",!1),Y0(d.adapter||S4.adapter)(d).then(function(M){return $5(d),M.data=G.call(d,d.transformResponse,M),M.headers=t1.from(M.headers),M},function(M){return i1(M)||($5(d),M&&M.response&&(M.response.data=G.call(d,d.transformResponse,M.response),M.response.headers=t1.from(M.response.headers))),Promise.reject(M)})}const Vc=d=>d instanceof t1?{...d}:d;function n6(d,M){M=M||{};const k={};function P(v1,c1,_1){return N.isPlainObject(v1)&&N.isPlainObject(c1)?N.merge.call({caseless:_1},v1,c1):N.isPlainObject(c1)?N.merge({},c1):N.isArray(c1)?c1.slice():c1}function D(v1,c1,_1){return N.isUndefined(c1)?N.isUndefined(v1)?void 0:P(void 0,v1,_1):P(v1,c1,_1)}function $(v1,c1){if(!N.isUndefined(c1))return P(void 0,c1)}function W(v1,c1){return N.isUndefined(c1)?N.isUndefined(v1)?void 0:P(void 0,v1):P(void 0,c1)}function p1(v1,c1,_1){return _1 in M?P(v1,c1):_1 in d?P(void 0,v1):void 0}const b1={url:$,method:$,data:$,baseURL:W,transformRequest:W,transformResponse:W,paramsSerializer:W,timeout:W,timeoutMessage:W,withCredentials:W,withXSRFToken:W,adapter:W,responseType:W,xsrfCookieName:W,xsrfHeaderName:W,onUploadProgress:W,onDownloadProgress:W,decompress:W,maxContentLength:W,maxBodyLength:W,beforeRedirect:W,transport:W,httpAgent:W,httpsAgent:W,cancelToken:W,socketPath:W,responseEncoding:W,validateStatus:p1,headers:(v1,c1)=>D(Vc(v1),Vc(c1),!0)};return N.forEach(Object.keys(Object.assign({},d,M)),function(v1){const c1=b1[v1]||D,_1=c1(d[v1],M[v1],v1);N.isUndefined(_1)&&c1!==p1||(k[v1]=_1)}),k}const q5={};["object","boolean","number","function","string","symbol"].forEach((d,M)=>{q5[d]=function(k){return typeof k===d||"a"+(M<1?"n ":" ")+d}});const bc={};q5.transitional=function(d,M,k){function P(D,$){return"[Axios v1.6.8] Transitional option '"+D+"'"+$+(k?". "+k:"")}return(D,$,W)=>{if(d===!1)throw new y(P($," has been removed"+(M?" in "+M:"")),y.ERR_DEPRECATED);return M&&!bc[$]&&(bc[$]=!0,console.warn(P($," has been deprecated since v"+M+" and will be removed in the near future"))),!d||d(D,$,W)}};var Y5={assertOptions:function(d,M,k){if(typeof d!="object")throw new y("options must be an object",y.ERR_BAD_OPTION_VALUE);const P=Object.keys(d);let D=P.length;for(;D-- >0;){const $=P[D],W=M[$];if(W){const p1=d[$],b1=p1===void 0||W(p1,$,d);if(b1!==!0)throw new y("option "+$+" must be "+b1,y.ERR_BAD_OPTION_VALUE)}else if(k!==!0)throw new y("Unknown option "+$,y.ERR_BAD_OPTION)}},validators:q5};const n4=Y5.validators;class W0{constructor(M){this.defaults=M,this.interceptors={request:new k1,response:new k1}}async request(M,k){try{return await this._request(M,k)}catch(P){if(P instanceof Error){let D;Error.captureStackTrace?Error.captureStackTrace(D={}):D=new Error;const $=D.stack?D.stack.replace(/^.+\n/,""):"";P.stack?$&&!String(P.stack).endsWith($.replace(/^.+\n.+\n/,""))&&(P.stack+=`
|
|
6
|
-
`+$):P.stack=$}throw P}}_request(M,k){typeof M=="string"?(k=k||{}).url=M:k=M||{},k=n6(this.defaults,k);const{transitional:P,paramsSerializer:D,headers:$}=k;P!==void 0&&Y5.assertOptions(P,{silentJSONParsing:n4.transitional(n4.boolean),forcedJSONParsing:n4.transitional(n4.boolean),clarifyTimeoutError:n4.transitional(n4.boolean)},!1),D!=null&&(N.isFunction(D)?k.paramsSerializer={serialize:D}:Y5.assertOptions(D,{encode:n4.function,serialize:n4.function},!0)),k.method=(k.method||this.defaults.method||"get").toLowerCase();let W=$&&N.merge($.common,$[k.method]);$&&N.forEach(["delete","get","head","post","put","patch","common"],L1=>{delete $[L1]}),k.headers=t1.concat(W,$);const p1=[];let b1=!0;this.interceptors.request.forEach(function(L1){typeof L1.runWhen=="function"&&L1.runWhen(k)===!1||(b1=b1&&L1.synchronous,p1.unshift(L1.fulfilled,L1.rejected))});const v1=[];let c1;this.interceptors.response.forEach(function(L1){v1.push(L1.fulfilled,L1.rejected)});let _1,x1=0;if(!b1){const L1=[Cc.bind(this),void 0];for(L1.unshift.apply(L1,p1),L1.push.apply(L1,v1),_1=L1.length,c1=Promise.resolve(k);x1<_1;)c1=c1.then(L1[x1++],L1[x1++]);return c1}_1=p1.length;let R1=k;for(x1=0;x1<_1;){const L1=p1[x1++],W1=p1[x1++];try{R1=L1(R1)}catch(h2){W1.call(this,h2);break}}try{c1=Cc.call(this,R1)}catch(L1){return Promise.reject(L1)}for(x1=0,_1=v1.length;x1<_1;)c1=c1.then(v1[x1++],v1[x1++]);return c1}getUri(M){return O1(P2((M=n6(this.defaults,M)).baseURL,M.url),M.params,M.paramsSerializer)}}N.forEach(["delete","get","head","options"],function(d){W0.prototype[d]=function(M,k){return this.request(n6(k||{},{method:d,url:M,data:(k||{}).data}))}}),N.forEach(["post","put","patch"],function(d){function M(k){return function(P,D,$){return this.request(n6($||{},{method:d,headers:k?{"Content-Type":"multipart/form-data"}:{},url:P,data:D}))}}W0.prototype[d]=M(),W0.prototype[d+"Form"]=M(!0)});var U0=W0;class W5{constructor(M){if(typeof M!="function")throw new TypeError("executor must be a function.");let k;this.promise=new Promise(function(D){k=D});const P=this;this.promise.then(D=>{if(!P._listeners)return;let $=P._listeners.length;for(;$-- >0;)P._listeners[$](D);P._listeners=null}),this.promise.then=D=>{let $;const W=new Promise(p1=>{P.subscribe(p1),$=p1}).then(D);return W.cancel=function(){P.unsubscribe($)},W},M(function(D,$,W){P.reason||(P.reason=new h1(D,$,W),k(P.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(M){this.reason?M(this.reason):this._listeners?this._listeners.push(M):this._listeners=[M]}unsubscribe(M){if(!this._listeners)return;const k=this._listeners.indexOf(M);k!==-1&&this._listeners.splice(k,1)}static source(){let M;return{token:new W5(function(k){M=k}),cancel:M}}}var dp=W5;const U5={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(U5).forEach(([d,M])=>{U5[M]=d});var vp=U5;const g2=function d(M){const k=new U0(M),P=l(U0.prototype.request,k);return N.extend(P,U0.prototype,k,{allOwnKeys:!0}),N.extend(P,k,null,{allOwnKeys:!0}),P.create=function(D){return d(n6(M,D))},P}(S4);g2.Axios=U0,g2.CanceledError=h1,g2.CancelToken=dp,g2.isCancel=i1,g2.VERSION="1.6.8",g2.toFormData=H1,g2.AxiosError=y,g2.Cancel=g2.CanceledError,g2.all=function(d){return Promise.all(d)},g2.spread=function(d){return function(M){return d.apply(null,M)}},g2.isAxiosError=function(d){return N.isObject(d)&&d.isAxiosError===!0},g2.mergeConfig=n6,g2.AxiosHeaders=t1,g2.formToJSON=d=>a6(N.isHTMLForm(d)?new FormData(d):d),g2.getAdapter=Y0,g2.HttpStatusCode=vp,g2.default=g2,r.exports=g2}},t={};function n(r){var i=t[r];if(i!==void 0)return i.exports;var o=t[r]={exports:{}};return a[r].call(o.exports,o,o.exports,n),o.exports}return n.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),n(927)})())})(Dt);var H8=Dt.exports;const Hp={textFirst:{light:"#000000",dark:"#ffffff"},textSecond:{light:"#585858",dark:"#d7d7d7"},textThird:{light:"#9B9B9B",dark:"#afafaf"},backgroundFirst:{light:"#ffffff",dark:"#1a1a1a"},backgroundSecond:{light:"#efefef",dark:"#242424"},backgroundThird:{light:"#dddddd",dark:"#5e5e5e"}},Cp={primary:{main:"#218c5a",contrast:"#ffffff"},secondary:{main:"#218c5a",contrast:"#ffffff"},success:{main:"#95cd41",contrast:"#ffffff"},warning:{main:"#ffbd35",contrast:"#ffffff"},danger:{main:"#ff5959",contrast:"#ffffff"},dark:{main:"#1e1e1e",contrast:"#ffffff"},light:{main:"#f0f0f0",contrast:"#000000"},red:{main:"#de4795",contrast:"#ffffff"},purple:{main:"#7746db",contrast:"#ffffff"},sky:{main:"#1ab8c3",contrast:"#ffffff"},beige:{main:"#fdf5e6",contrast:"#ffffff"}},Vp={info:"#54b4d3",link:"#0064ff",error:"#e11515"},Bt={...Hp,...Cp,...Vp},bp={colors:Bt};function q3(e,c){let a=0,t=0,n=0,r=0;if(e.startsWith("rgb")||e.startsWith("rgba")){const i=e.replace(/rgba?\((.*?)\)/,"$1").replace(/\s/g,""),[,o,l,f,u="1"]=i.match(/(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*([\d.]+))?/);a=parseInt(o),t=parseInt(l),n=parseInt(f),r=parseFloat(u)}if(e.startsWith("#")){let i=e;i.length===4&&(i="#"+i[1]+i[1]+i[2]+i[2]+i[3]+i[3]);let[,o,l,f,u]=i.match(/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i).map((h,m)=>m===4?parseInt(h,16)/255:parseInt(h,16));u=u?parseFloat(u.toFixed(3)):1,a=o,t=l,n=f,r=u}return`rgba(${a}, ${t}, ${n}, ${r*c})`}function r6(e){if(typeof e=="string")return"informative";if("light"in e&&"dark"in e)return"theme";if("main"in e&&"contrast"in e)return"prop"}function j5(e,c){document.querySelector(":root").style.setProperty(e,c)}const x7=e5.defineStore("pga-theme",()=>{const e=s.ref("light");function c(a){e.value=a}return{theme:e,setTheme:c}},{persist:!0}),w3=e5.defineStore("pga-colors",()=>{const e=s.ref(Bt),c=s.computed(()=>{const n={};for(const r in e.value){const i=e.value[r];if(r6(i)==="theme"&&(n[r]=i[x7().theme]),r6(i)==="prop")for(const o in i){let l=r;o==="contrast"&&(l+="Contrast"),n[l]=i[o]}r6(i)==="informative"&&(n[r]=i)}return n});s.watch(c,n=>{for(const r in n){const i=n[r];if(r6(i)==="theme"){const o=`--pgaColor${H8.getFirstChartInUppercase(r)}`,l=i[x7().theme];j5(o,l)}if(r6(i)==="prop")for(const o in i){let l=`--pgaColor${H8.getFirstChartInUppercase(r)}`;o==="contrast"&&(l+="Contrast");const f=i[o];j5(l,f)}if(r6(i)==="informative"){const o=`--pgaColor${H8.getFirstChartInUppercase(r)}`;j5(o,i)}}},{deep:!0,immediate:!0});function a(n,r){e.value[n]=r}function t(n){e.value=n}return{colors:c,setColor:a,setColors:t}});const Lp={class:"badge"},yp=s.defineComponent({__name:"PgaBadge",props:{color:{default:"primary"}},setup(e){s.useCssVars(n=>({"743fd213":a.value,"73a8fd85":t.value}));const c=e,a=s.computed(()=>{let n=w3().colors[c.color];return n||c.color}),t=s.computed(()=>q3(a.value,.1));return(n,r)=>(s.openBlock(),s.createElementBlock("div",Lp,[s.renderSlot(n.$slots,"default",{},void 0,!0)]))}});const U2=(e,c)=>{const a=e.__vccOpts||e;for(const[t,n]of c)a[t]=n;return a},xp=U2(yp,[["__scopeId","data-v-fd7f1deb"]]);function yc(e,c){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);c&&(t=t.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),a.push.apply(a,t)}return a}function z1(e){for(var c=1;c<arguments.length;c++){var a=arguments[c]!=null?arguments[c]:{};c%2?yc(Object(a),!0).forEach(function(t){V2(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):yc(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}function _8(e){"@babel/helpers - typeof";return _8=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(c){return typeof c}:function(c){return c&&typeof Symbol=="function"&&c.constructor===Symbol&&c!==Symbol.prototype?"symbol":typeof c},_8(e)}function wp(e,c){if(!(e instanceof c))throw new TypeError("Cannot call a class as a function")}function xc(e,c){for(var a=0;a<c.length;a++){var t=c[a];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(e,t.key,t)}}function kp(e,c,a){return c&&xc(e.prototype,c),a&&xc(e,a),Object.defineProperty(e,"prototype",{writable:!1}),e}function V2(e,c,a){return c in e?Object.defineProperty(e,c,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[c]=a,e}function se(e,c){return Np(e)||Ap(e,c)||Ot(e,c)||Tp()}function w0(e){return Sp(e)||_p(e)||Ot(e)||Pp()}function Sp(e){if(Array.isArray(e))return w7(e)}function Np(e){if(Array.isArray(e))return e}function _p(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Ap(e,c){var a=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(a!=null){var t=[],n=!0,r=!1,i,o;try{for(a=a.call(e);!(n=(i=a.next()).done)&&(t.push(i.value),!(c&&t.length===c));n=!0);}catch(l){r=!0,o=l}finally{try{!n&&a.return!=null&&a.return()}finally{if(r)throw o}}return t}}function Ot(e,c){if(e){if(typeof e=="string")return w7(e,c);var a=Object.prototype.toString.call(e).slice(8,-1);if(a==="Object"&&e.constructor&&(a=e.constructor.name),a==="Map"||a==="Set")return Array.from(e);if(a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return w7(e,c)}}function w7(e,c){(c==null||c>e.length)&&(c=e.length);for(var a=0,t=new Array(c);a<c;a++)t[a]=e[a];return t}function Pp(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
6
|
+
`+$):P.stack=$}throw P}}_request(M,k){typeof M=="string"?(k=k||{}).url=M:k=M||{},k=n6(this.defaults,k);const{transitional:P,paramsSerializer:D,headers:$}=k;P!==void 0&&Y5.assertOptions(P,{silentJSONParsing:n4.transitional(n4.boolean),forcedJSONParsing:n4.transitional(n4.boolean),clarifyTimeoutError:n4.transitional(n4.boolean)},!1),D!=null&&(N.isFunction(D)?k.paramsSerializer={serialize:D}:Y5.assertOptions(D,{encode:n4.function,serialize:n4.function},!0)),k.method=(k.method||this.defaults.method||"get").toLowerCase();let W=$&&N.merge($.common,$[k.method]);$&&N.forEach(["delete","get","head","post","put","patch","common"],L1=>{delete $[L1]}),k.headers=t1.concat(W,$);const p1=[];let b1=!0;this.interceptors.request.forEach(function(L1){typeof L1.runWhen=="function"&&L1.runWhen(k)===!1||(b1=b1&&L1.synchronous,p1.unshift(L1.fulfilled,L1.rejected))});const v1=[];let c1;this.interceptors.response.forEach(function(L1){v1.push(L1.fulfilled,L1.rejected)});let _1,x1=0;if(!b1){const L1=[Cc.bind(this),void 0];for(L1.unshift.apply(L1,p1),L1.push.apply(L1,v1),_1=L1.length,c1=Promise.resolve(k);x1<_1;)c1=c1.then(L1[x1++],L1[x1++]);return c1}_1=p1.length;let R1=k;for(x1=0;x1<_1;){const L1=p1[x1++],W1=p1[x1++];try{R1=L1(R1)}catch(h2){W1.call(this,h2);break}}try{c1=Cc.call(this,R1)}catch(L1){return Promise.reject(L1)}for(x1=0,_1=v1.length;x1<_1;)c1=c1.then(v1[x1++],v1[x1++]);return c1}getUri(M){return O1(P2((M=n6(this.defaults,M)).baseURL,M.url),M.params,M.paramsSerializer)}}N.forEach(["delete","get","head","options"],function(d){W0.prototype[d]=function(M,k){return this.request(n6(k||{},{method:d,url:M,data:(k||{}).data}))}}),N.forEach(["post","put","patch"],function(d){function M(k){return function(P,D,$){return this.request(n6($||{},{method:d,headers:k?{"Content-Type":"multipart/form-data"}:{},url:P,data:D}))}}W0.prototype[d]=M(),W0.prototype[d+"Form"]=M(!0)});var U0=W0;class W5{constructor(M){if(typeof M!="function")throw new TypeError("executor must be a function.");let k;this.promise=new Promise(function(D){k=D});const P=this;this.promise.then(D=>{if(!P._listeners)return;let $=P._listeners.length;for(;$-- >0;)P._listeners[$](D);P._listeners=null}),this.promise.then=D=>{let $;const W=new Promise(p1=>{P.subscribe(p1),$=p1}).then(D);return W.cancel=function(){P.unsubscribe($)},W},M(function(D,$,W){P.reason||(P.reason=new h1(D,$,W),k(P.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(M){this.reason?M(this.reason):this._listeners?this._listeners.push(M):this._listeners=[M]}unsubscribe(M){if(!this._listeners)return;const k=this._listeners.indexOf(M);k!==-1&&this._listeners.splice(k,1)}static source(){let M;return{token:new W5(function(k){M=k}),cancel:M}}}var dp=W5;const U5={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(U5).forEach(([d,M])=>{U5[M]=d});var vp=U5;const g2=function d(M){const k=new U0(M),P=l(U0.prototype.request,k);return N.extend(P,U0.prototype,k,{allOwnKeys:!0}),N.extend(P,k,null,{allOwnKeys:!0}),P.create=function(D){return d(n6(M,D))},P}(S4);g2.Axios=U0,g2.CanceledError=h1,g2.CancelToken=dp,g2.isCancel=i1,g2.VERSION="1.6.8",g2.toFormData=H1,g2.AxiosError=y,g2.Cancel=g2.CanceledError,g2.all=function(d){return Promise.all(d)},g2.spread=function(d){return function(M){return d.apply(null,M)}},g2.isAxiosError=function(d){return N.isObject(d)&&d.isAxiosError===!0},g2.mergeConfig=n6,g2.AxiosHeaders=t1,g2.formToJSON=d=>a6(N.isHTMLForm(d)?new FormData(d):d),g2.getAdapter=Y0,g2.HttpStatusCode=vp,g2.default=g2,r.exports=g2}},t={};function n(r){var i=t[r];if(i!==void 0)return i.exports;var o=t[r]={exports:{}};return a[r].call(o.exports,o,o.exports,n),o.exports}return n.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),n(927)})())})(Dt);var H8=Dt.exports;const Hp={textFirst:{light:"#000000",dark:"#ffffff"},textSecond:{light:"#333333",dark:"#cccccc"},textThird:{light:"#666666",dark:"#999999"},backgroundFirst:{light:"#ffffff",dark:"#121212"},backgroundSecond:{light:"#f5f5f5",dark:"#1e1e1e"},backgroundThird:{light:"#e0e0e0",dark:"#2e2e2e"}},Cp={primary:{main:"#218c5a",contrast:"#ffffff"},secondary:{main:"#218c5a",contrast:"#ffffff"},success:{main:"#95cd41",contrast:"#ffffff"},warning:{main:"#ffbd35",contrast:"#ffffff"},danger:{main:"#ff5959",contrast:"#ffffff"},dark:{main:"#1e1e1e",contrast:"#ffffff"},light:{main:"#f0f0f0",contrast:"#000000"},red:{main:"#de4795",contrast:"#ffffff"},purple:{main:"#7746db",contrast:"#ffffff"},sky:{main:"#1ab8c3",contrast:"#ffffff"},beige:{main:"#fdf5e6",contrast:"#ffffff"}},Vp={info:"#54b4d3",link:"#0064ff",error:"#e11515"},Bt={...Hp,...Cp,...Vp},bp={colors:Bt};function q3(e,c){let a=0,t=0,n=0,r=0;if(e.startsWith("rgb")||e.startsWith("rgba")){const i=e.replace(/rgba?\((.*?)\)/,"$1").replace(/\s/g,""),[,o,l,f,u="1"]=i.match(/(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*([\d.]+))?/);a=parseInt(o),t=parseInt(l),n=parseInt(f),r=parseFloat(u)}if(e.startsWith("#")){let i=e;i.length===4&&(i="#"+i[1]+i[1]+i[2]+i[2]+i[3]+i[3]);let[,o,l,f,u]=i.match(/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i).map((h,m)=>m===4?parseInt(h,16)/255:parseInt(h,16));u=u?parseFloat(u.toFixed(3)):1,a=o,t=l,n=f,r=u}return`rgba(${a}, ${t}, ${n}, ${r*c})`}function r6(e){if(typeof e=="string")return"informative";if("light"in e&&"dark"in e)return"theme";if("main"in e&&"contrast"in e)return"prop"}function j5(e,c){document.querySelector(":root").style.setProperty(e,c)}const x7=e5.defineStore("pga-theme",()=>{const e=s.ref("light");function c(a){e.value=a}return{theme:e,setTheme:c}},{persist:!0}),w3=e5.defineStore("pga-colors",()=>{const e=s.ref(Bt),c=s.computed(()=>{const n={};for(const r in e.value){const i=e.value[r];if(r6(i)==="theme"&&(n[r]=i[x7().theme]),r6(i)==="prop")for(const o in i){let l=r;o==="contrast"&&(l+="Contrast"),n[l]=i[o]}r6(i)==="informative"&&(n[r]=i)}return n});s.watch(c,n=>{for(const r in n){const i=n[r];if(r6(i)==="theme"){const o=`--pgaColor${H8.getFirstChartInUppercase(r)}`,l=i[x7().theme];j5(o,l)}if(r6(i)==="prop")for(const o in i){let l=`--pgaColor${H8.getFirstChartInUppercase(r)}`;o==="contrast"&&(l+="Contrast");const f=i[o];j5(l,f)}if(r6(i)==="informative"){const o=`--pgaColor${H8.getFirstChartInUppercase(r)}`;j5(o,i)}}},{deep:!0,immediate:!0});function a(n,r){e.value[n]=r}function t(n){e.value=n}return{colors:c,setColor:a,setColors:t}});const Lp={class:"badge"},yp=s.defineComponent({__name:"PgaBadge",props:{color:{default:"primary"}},setup(e){s.useCssVars(n=>({"743fd213":a.value,"73a8fd85":t.value}));const c=e,a=s.computed(()=>{let n=w3().colors[c.color];return n||c.color}),t=s.computed(()=>q3(a.value,.1));return(n,r)=>(s.openBlock(),s.createElementBlock("div",Lp,[s.renderSlot(n.$slots,"default",{},void 0,!0)]))}});const U2=(e,c)=>{const a=e.__vccOpts||e;for(const[t,n]of c)a[t]=n;return a},xp=U2(yp,[["__scopeId","data-v-fd7f1deb"]]);function yc(e,c){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);c&&(t=t.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),a.push.apply(a,t)}return a}function z1(e){for(var c=1;c<arguments.length;c++){var a=arguments[c]!=null?arguments[c]:{};c%2?yc(Object(a),!0).forEach(function(t){V2(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):yc(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}function _8(e){"@babel/helpers - typeof";return _8=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(c){return typeof c}:function(c){return c&&typeof Symbol=="function"&&c.constructor===Symbol&&c!==Symbol.prototype?"symbol":typeof c},_8(e)}function wp(e,c){if(!(e instanceof c))throw new TypeError("Cannot call a class as a function")}function xc(e,c){for(var a=0;a<c.length;a++){var t=c[a];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(e,t.key,t)}}function kp(e,c,a){return c&&xc(e.prototype,c),a&&xc(e,a),Object.defineProperty(e,"prototype",{writable:!1}),e}function V2(e,c,a){return c in e?Object.defineProperty(e,c,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[c]=a,e}function se(e,c){return Np(e)||Ap(e,c)||Ot(e,c)||Tp()}function w0(e){return Sp(e)||_p(e)||Ot(e)||Pp()}function Sp(e){if(Array.isArray(e))return w7(e)}function Np(e){if(Array.isArray(e))return e}function _p(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Ap(e,c){var a=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(a!=null){var t=[],n=!0,r=!1,i,o;try{for(a=a.call(e);!(n=(i=a.next()).done)&&(t.push(i.value),!(c&&t.length===c));n=!0);}catch(l){r=!0,o=l}finally{try{!n&&a.return!=null&&a.return()}finally{if(r)throw o}}return t}}function Ot(e,c){if(e){if(typeof e=="string")return w7(e,c);var a=Object.prototype.toString.call(e).slice(8,-1);if(a==="Object"&&e.constructor&&(a=e.constructor.name),a==="Map"||a==="Set")return Array.from(e);if(a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return w7(e,c)}}function w7(e,c){(c==null||c>e.length)&&(c=e.length);for(var a=0,t=new Array(c);a<c;a++)t[a]=e[a];return t}function Pp(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
7
7
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Tp(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
8
8
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var wc=function(){},oe={},Ft={},Rt=null,Et={mark:wc,measure:wc};try{typeof window<"u"&&(oe=window),typeof document<"u"&&(Ft=document),typeof MutationObserver<"u"&&(Rt=MutationObserver),typeof performance<"u"&&(Et=performance)}catch{}var Dp=oe.navigator||{},kc=Dp.userAgent,Sc=kc===void 0?"":kc,V4=oe,J1=Ft,Nc=Rt,j0=Et;V4.document;var K3=!!J1.documentElement&&!!J1.head&&typeof J1.addEventListener=="function"&&typeof J1.createElement=="function",It=~Sc.indexOf("MSIE")||~Sc.indexOf("Trident/"),G0,Z0,X0,K0,Q0,U3="___FONT_AWESOME___",k7=16,$t="fa",qt="svg-inline--fa",G4="data-fa-i2svg",S7="data-fa-pseudo-element",Bp="data-fa-pseudo-element-pending",le="data-prefix",fe="data-icon",_c="fontawesome-i2svg",Op="async",Fp=["HTML","HEAD","STYLE","SCRIPT"],Yt=function(){try{return process.env.NODE_ENV==="production"}catch{return!1}}(),Q1="classic",f2="sharp",ue=[Q1,f2];function k0(e){return new Proxy(e,{get:function(a,t){return t in a?a[t]:a[Q1]}})}var f0=k0((G0={},V2(G0,Q1,{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fad:"duotone","fa-duotone":"duotone",fab:"brands","fa-brands":"brands",fak:"kit",fakd:"kit","fa-kit":"kit","fa-kit-duotone":"kit"}),V2(G0,f2,{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"}),G0)),u0=k0((Z0={},V2(Z0,Q1,{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"}),V2(Z0,f2,{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"}),Z0)),h0=k0((X0={},V2(X0,Q1,{fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"}),V2(X0,f2,{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"}),X0)),Rp=k0((K0={},V2(K0,Q1,{"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"}),V2(K0,f2,{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"}),K0)),Ep=/fa(s|r|l|t|d|b|k|ss|sr|sl|st)?[\-\ ]/,Wt="fa-layers-text",Ip=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i,$p=k0((Q0={},V2(Q0,Q1,{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"}),V2(Q0,f2,{900:"fass",400:"fasr",300:"fasl",100:"fast"}),Q0)),Ut=[1,2,3,4,5,6,7,8,9,10],qp=Ut.concat([11,12,13,14,15,16,17,18,19,20]),Yp=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],E4={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},m0=new Set;Object.keys(u0[Q1]).map(m0.add.bind(m0));Object.keys(u0[f2]).map(m0.add.bind(m0));var Wp=[].concat(ue,w0(m0),["2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",E4.GROUP,E4.SWAP_OPACITY,E4.PRIMARY,E4.SECONDARY]).concat(Ut.map(function(e){return"".concat(e,"x")})).concat(qp.map(function(e){return"w-".concat(e)})),J6=V4.FontAwesomeConfig||{};function Up(e){var c=J1.querySelector("script["+e+"]");if(c)return c.getAttribute(e)}function jp(e){return e===""?!0:e==="false"?!1:e==="true"?!0:e}if(J1&&typeof J1.querySelector=="function"){var Gp=[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]];Gp.forEach(function(e){var c=se(e,2),a=c[0],t=c[1],n=jp(Up(a));n!=null&&(J6[t]=n)})}var jt={styleDefault:"solid",familyDefault:"classic",cssPrefix:$t,replacementClass:qt,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};J6.familyPrefix&&(J6.cssPrefix=J6.familyPrefix);var b6=z1(z1({},jt),J6);b6.autoReplaceSvg||(b6.observeMutations=!1);var C1={};Object.keys(jt).forEach(function(e){Object.defineProperty(C1,e,{enumerable:!0,set:function(a){b6[e]=a,e0.forEach(function(t){return t(C1)})},get:function(){return b6[e]}})});Object.defineProperty(C1,"familyPrefix",{enumerable:!0,set:function(c){b6.cssPrefix=c,e0.forEach(function(a){return a(C1)})},get:function(){return b6.cssPrefix}});V4.FontAwesomeConfig=C1;var e0=[];function Zp(e){return e0.push(e),function(){e0.splice(e0.indexOf(e),1)}}var r4=k7,V3={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function Xp(e){if(!(!e||!K3)){var c=J1.createElement("style");c.setAttribute("type","text/css"),c.innerHTML=e;for(var a=J1.head.childNodes,t=null,n=a.length-1;n>-1;n--){var r=a[n],i=(r.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(i)>-1&&(t=r)}return J1.head.insertBefore(c,t),e}}var Kp="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function d0(){for(var e=12,c="";e-- >0;)c+=Kp[Math.random()*62|0];return c}function A6(e){for(var c=[],a=(e||[]).length>>>0;a--;)c[a]=e[a];return c}function he(e){return e.classList?A6(e.classList):(e.getAttribute("class")||"").split(" ").filter(function(c){return c})}function Gt(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function Qp(e){return Object.keys(e||{}).reduce(function(c,a){return c+"".concat(a,'="').concat(Gt(e[a]),'" ')},"").trim()}function c5(e){return Object.keys(e||{}).reduce(function(c,a){return c+"".concat(a,": ").concat(e[a].trim(),";")},"")}function me(e){return e.size!==V3.size||e.x!==V3.x||e.y!==V3.y||e.rotate!==V3.rotate||e.flipX||e.flipY}function Jp(e){var c=e.transform,a=e.containerWidth,t=e.iconWidth,n={transform:"translate(".concat(a/2," 256)")},r="translate(".concat(c.x*32,", ").concat(c.y*32,") "),i="scale(".concat(c.size/16*(c.flipX?-1:1),", ").concat(c.size/16*(c.flipY?-1:1),") "),o="rotate(".concat(c.rotate," 0 0)"),l={transform:"".concat(r," ").concat(i," ").concat(o)},f={transform:"translate(".concat(t/2*-1," -256)")};return{outer:n,inner:l,path:f}}function ez(e){var c=e.transform,a=e.width,t=a===void 0?k7:a,n=e.height,r=n===void 0?k7:n,i=e.startCentered,o=i===void 0?!1:i,l="";return o&&It?l+="translate(".concat(c.x/r4-t/2,"em, ").concat(c.y/r4-r/2,"em) "):o?l+="translate(calc(-50% + ".concat(c.x/r4,"em), calc(-50% + ").concat(c.y/r4,"em)) "):l+="translate(".concat(c.x/r4,"em, ").concat(c.y/r4,"em) "),l+="scale(".concat(c.size/r4*(c.flipX?-1:1),", ").concat(c.size/r4*(c.flipY?-1:1),") "),l+="rotate(".concat(c.rotate,"deg) "),l}var cz=`:root, :host {
|
|
9
9
|
--fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";
|
package/dist/main.es.js
CHANGED
|
@@ -996,24 +996,24 @@ const dz = {
|
|
|
996
996
|
dark: "#ffffff"
|
|
997
997
|
},
|
|
998
998
|
textSecond: {
|
|
999
|
-
light: "#
|
|
1000
|
-
dark: "#
|
|
999
|
+
light: "#333333",
|
|
1000
|
+
dark: "#cccccc"
|
|
1001
1001
|
},
|
|
1002
1002
|
textThird: {
|
|
1003
|
-
light: "#
|
|
1004
|
-
dark: "#
|
|
1003
|
+
light: "#666666",
|
|
1004
|
+
dark: "#999999"
|
|
1005
1005
|
},
|
|
1006
1006
|
backgroundFirst: {
|
|
1007
1007
|
light: "#ffffff",
|
|
1008
|
-
dark: "#
|
|
1008
|
+
dark: "#121212"
|
|
1009
1009
|
},
|
|
1010
1010
|
backgroundSecond: {
|
|
1011
|
-
light: "#
|
|
1012
|
-
dark: "#
|
|
1011
|
+
light: "#f5f5f5",
|
|
1012
|
+
dark: "#1e1e1e"
|
|
1013
1013
|
},
|
|
1014
1014
|
backgroundThird: {
|
|
1015
|
-
light: "#
|
|
1016
|
-
dark: "#
|
|
1015
|
+
light: "#e0e0e0",
|
|
1016
|
+
dark: "#2e2e2e"
|
|
1017
1017
|
}
|
|
1018
1018
|
}, mz = {
|
|
1019
1019
|
primary: {
|