pangea-lib 2.11.673 → 2.11.674
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 +18 -18
- package/package.json +1 -1
package/dist/main.cjs.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(_){return _ instanceof this?_:new this(_)}static concat(_,...T){const Y=new this(_);return T.forEach(Q=>Y.set(Q)),Y}static accessor(_){const T=(this[m3]=this[m3]={accessors:{}}).accessors,Y=this.prototype;function Q(a1){const e1=p2(a1);T[e1]||(function(h1,y1){const w1=O.toCamelCase(" "+y1);["get","set","has"].forEach(C1=>{Object.defineProperty(h1,C1+w1,{value:function(O1,P1,Q1){return this[C1].call(this,y1,O1,P1,Q1)},configurable:!0})})}(Y,a1),T[e1]=!0)}return O.isArray(_)?_.forEach(Q):Q(_),this}}s1.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),O.reduceDescriptors(s1.prototype,({value:M},_)=>{let T=_[0].toUpperCase()+_.slice(1);return{get:()=>M,set(Y){this[T]=Y}}}),O.freezeMethods(s1);var b1=s1;function p1(M,_){const T=this||Y1,Y=_||T,Q=b1.from(Y.headers);let a1=Y.data;return O.forEach(M,function(e1){a1=e1.call(T,a1,Q.normalize(),_?_.status:void 0)}),Q.normalize(),a1}function _1(M){return!(!M||!M.__CANCEL__)}function S1(M,_,T){I.call(this,M??"canceled",I.ERR_CANCELED,_,T),this.name="CanceledError"}O.inherits(S1,I,{__CANCEL__:!0});var p3=Y2.hasStandardBrowserEnv?{write(M,_,T,Y,Q,a1){const e1=[M+"="+encodeURIComponent(_)];O.isNumber(T)&&e1.push("expires="+new Date(T).toGMTString()),O.isString(Y)&&e1.push("path="+Y),O.isString(Q)&&e1.push("domain="+Q),a1===!0&&e1.push("secure"),document.cookie=e1.join("; ")},read(M){const _=document.cookie.match(new RegExp("(^|;\\s*)("+M+")=([^;]*)"));return _?decodeURIComponent(_[3]):null},remove(M){this.write(M,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function S3(M,_){return M&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(_)?function(T,Y){return Y?T.replace(/\/?\/$/,"")+"/"+Y.replace(/^\/+/,""):T}(M,_):_}var a4=Y2.hasStandardBrowserEnv?function(){const M=/(msie|trident)/i.test(navigator.userAgent),_=document.createElement("a");let T;function Y(Q){let a1=Q;return M&&(_.setAttribute("href",a1),a1=_.href),_.setAttribute("href",a1),{href:_.href,protocol:_.protocol?_.protocol.replace(/:$/,""):"",host:_.host,search:_.search?_.search.replace(/^\?/,""):"",hash:_.hash?_.hash.replace(/^#/,""):"",hostname:_.hostname,port:_.port,pathname:_.pathname.charAt(0)==="/"?_.pathname:"/"+_.pathname}}return T=Y(window.location.href),function(Q){const a1=O.isString(Q)?Y(Q):Q;return a1.protocol===T.protocol&&a1.host===T.host}}():function(){return!0};function Se(M,_){let T=0;const Y=function(Q,a1){Q=Q||10;const e1=new Array(Q),h1=new Array(Q);let y1,w1=0,C1=0;return a1=a1!==void 0?a1:1e3,function(O1){const P1=Date.now(),Q1=h1[C1];y1||(y1=P1),e1[w1]=O1,h1[w1]=P1;let F1=C1,J1=0;for(;F1!==w1;)J1+=e1[F1++],F1%=Q;if(w1=(w1+1)%Q,w1===C1&&(C1=(C1+1)%Q),P1-y1<a1)return;const _2=Q1&&P1-Q1;return _2?Math.round(1e3*J1/_2):void 0}}(50,250);return Q=>{const a1=Q.loaded,e1=Q.lengthComputable?Q.total:void 0,h1=a1-T,y1=Y(h1);T=a1;const w1={loaded:a1,total:e1,progress:e1?a1/e1:void 0,bytes:h1,rate:y1||void 0,estimated:y1&&e1&&a1<=e1?(e1-a1)/y1:void 0,event:Q};w1[_?"download":"upload"]=!0,M(w1)}}const re={http:null,xhr:typeof XMLHttpRequest<"u"&&function(M){return new Promise(function(_,T){let Y=M.data;const Q=b1.from(M.headers).normalize();let a1,e1,{responseType:h1,withXSRFToken:y1}=M;function w1(){M.cancelToken&&M.cancelToken.unsubscribe(a1),M.signal&&M.signal.removeEventListener("abort",a1)}if(O.isFormData(Y)){if(Y2.hasStandardBrowserEnv||Y2.hasStandardBrowserWebWorkerEnv)Q.setContentType(!1);else if((e1=Q.getContentType())!==!1){const[F1,...J1]=e1?e1.split(";").map(_2=>_2.trim()).filter(Boolean):[];Q.setContentType([F1||"multipart/form-data",...J1].join("; "))}}let C1=new XMLHttpRequest;if(M.auth){const F1=M.auth.username||"",J1=M.auth.password?unescape(encodeURIComponent(M.auth.password)):"";Q.set("Authorization","Basic "+btoa(F1+":"+J1))}const O1=S3(M.baseURL,M.url);function P1(){if(!C1)return;const F1=b1.from("getAllResponseHeaders"in C1&&C1.getAllResponseHeaders());(function(J1,_2,J2){const pl=J2.config.validateStatus;J2.status&&pl&&!pl(J2.status)?_2(new I("Request failed with status code "+J2.status,[I.ERR_BAD_REQUEST,I.ERR_BAD_RESPONSE][Math.floor(J2.status/100)-4],J2.config,J2.request,J2)):J1(J2)})(function(J1){_(J1),w1()},function(J1){T(J1),w1()},{data:h1&&h1!=="text"&&h1!=="json"?C1.response:C1.responseText,status:C1.status,statusText:C1.statusText,headers:F1,config:M,request:C1}),C1=null}if(C1.open(M.method.toUpperCase(),U1(O1,M.params,M.paramsSerializer),!0),C1.timeout=M.timeout,"onloadend"in C1?C1.onloadend=P1:C1.onreadystatechange=function(){C1&&C1.readyState===4&&(C1.status!==0||C1.responseURL&&C1.responseURL.indexOf("file:")===0)&&setTimeout(P1)},C1.onabort=function(){C1&&(T(new I("Request aborted",I.ECONNABORTED,M,C1)),C1=null)},C1.onerror=function(){T(new I("Network Error",I.ERR_NETWORK,M,C1)),C1=null},C1.ontimeout=function(){let F1=M.timeout?"timeout of "+M.timeout+"ms exceeded":"timeout exceeded";const J1=M.transitional||z2;M.timeoutErrorMessage&&(F1=M.timeoutErrorMessage),T(new I(F1,J1.clarifyTimeoutError?I.ETIMEDOUT:I.ECONNABORTED,M,C1)),C1=null},Y2.hasStandardBrowserEnv&&(y1&&O.isFunction(y1)&&(y1=y1(M)),y1||y1!==!1&&a4(O1))){const F1=M.xsrfHeaderName&&M.xsrfCookieName&&p3.read(M.xsrfCookieName);F1&&Q.set(M.xsrfHeaderName,F1)}Y===void 0&&Q.setContentType(null),"setRequestHeader"in C1&&O.forEach(Q.toJSON(),function(F1,J1){C1.setRequestHeader(J1,F1)}),O.isUndefined(M.withCredentials)||(C1.withCredentials=!!M.withCredentials),h1&&h1!=="json"&&(C1.responseType=M.responseType),typeof M.onDownloadProgress=="function"&&C1.addEventListener("progress",Se(M.onDownloadProgress,!0)),typeof M.onUploadProgress=="function"&&C1.upload&&C1.upload.addEventListener("progress",Se(M.onUploadProgress)),(M.cancelToken||M.signal)&&(a1=F1=>{C1&&(T(!F1||F1.type?new S1(null,M,C1):F1),C1.abort(),C1=null)},M.cancelToken&&M.cancelToken.subscribe(a1),M.signal&&(M.signal.aborted?a1():M.signal.addEventListener("abort",a1)));const Q1=function(F1){const J1=/^([-+\w]{1,25})(:?\/\/|:)/.exec(F1);return J1&&J1[1]||""}(O1);Q1&&Y2.protocols.indexOf(Q1)===-1?T(new I("Unsupported protocol "+Q1+":",I.ERR_BAD_REQUEST,M)):C1.send(Y||null)})}};O.forEach(re,(M,_)=>{if(M){try{Object.defineProperty(M,"name",{value:_})}catch{}Object.defineProperty(M,"adapterName",{value:_})}});const f4=M=>`- ${M}`,e6=M=>O.isFunction(M)||M===null||M===!1;var Q6=M=>{M=O.isArray(M)?M:[M];const{length:_}=M;let T,Y;const Q={};for(let a1=0;a1<_;a1++){let e1;if(T=M[a1],Y=T,!e6(T)&&(Y=re[(e1=String(T)).toLowerCase()],Y===void 0))throw new I(`Unknown adapter '${e1}'`);if(Y)break;Q[e1||"#"+a1]=Y}if(!Y){const a1=Object.entries(Q).map(([e1,h1])=>`adapter ${e1} `+(h1===!1?"is not supported by the environment":"is not available in the build"));throw new I("There is no suitable adapter to dispatch the request "+(_?a1.length>1?`since :
|
|
4
4
|
`+a1.map(f4).join(`
|
|
5
5
|
`):" "+f4(a1[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return Y};function Z8(M){if(M.cancelToken&&M.cancelToken.throwIfRequested(),M.signal&&M.signal.aborted)throw new S1(null,M)}function oa(M){return Z8(M),M.headers=b1.from(M.headers),M.data=p1.call(M,M.transformRequest),["post","put","patch"].indexOf(M.method)!==-1&&M.headers.setContentType("application/x-www-form-urlencoded",!1),Q6(M.adapter||Y1.adapter)(M).then(function(_){return Z8(M),_.data=p1.call(M,M.transformResponse,_),_.headers=b1.from(_.headers),_},function(_){return _1(_)||(Z8(M),_&&_.response&&(_.response.data=p1.call(M,M.transformResponse,_.response),_.response.headers=b1.from(_.response.headers))),Promise.reject(_)})}const la=M=>M instanceof b1?{...M}:M;function ne(M,_){_=_||{};const T={};function Y(w1,C1,O1){return O.isPlainObject(w1)&&O.isPlainObject(C1)?O.merge.call({caseless:O1},w1,C1):O.isPlainObject(C1)?O.merge({},C1):O.isArray(C1)?C1.slice():C1}function Q(w1,C1,O1){return O.isUndefined(C1)?O.isUndefined(w1)?void 0:Y(void 0,w1,O1):Y(w1,C1,O1)}function a1(w1,C1){if(!O.isUndefined(C1))return Y(void 0,C1)}function e1(w1,C1){return O.isUndefined(C1)?O.isUndefined(w1)?void 0:Y(void 0,w1):Y(void 0,C1)}function h1(w1,C1,O1){return O1 in _?Y(w1,C1):O1 in M?Y(void 0,w1):void 0}const y1={url:a1,method:a1,data:a1,baseURL:e1,transformRequest:e1,transformResponse:e1,paramsSerializer:e1,timeout:e1,timeoutMessage:e1,withCredentials:e1,withXSRFToken:e1,adapter:e1,responseType:e1,xsrfCookieName:e1,xsrfHeaderName:e1,onUploadProgress:e1,onDownloadProgress:e1,decompress:e1,maxContentLength:e1,maxBodyLength:e1,beforeRedirect:e1,transport:e1,httpAgent:e1,httpsAgent:e1,cancelToken:e1,socketPath:e1,responseEncoding:e1,validateStatus:h1,headers:(w1,C1)=>Q(la(w1),la(C1),!0)};return O.forEach(Object.keys(Object.assign({},M,_)),function(w1){const C1=y1[w1]||Q,O1=C1(M[w1],_[w1],w1);O.isUndefined(O1)&&C1!==h1||(T[w1]=O1)}),T}const K8={};["object","boolean","number","function","string","symbol"].forEach((M,_)=>{K8[M]=function(T){return typeof T===M||"a"+(_<1?"n ":" ")+M}});const fa={};K8.transitional=function(M,_,T){function Y(Q,a1){return"[Axios v1.6.8] Transitional option '"+Q+"'"+a1+(T?". "+T:"")}return(Q,a1,e1)=>{if(M===!1)throw new I(Y(a1," has been removed"+(_?" in "+_:"")),I.ERR_DEPRECATED);return _&&!fa[a1]&&(fa[a1]=!0,console.warn(Y(a1," has been deprecated since v"+_+" and will be removed in the near future"))),!M||M(Q,a1,e1)}};var Q8={assertOptions:function(M,_,T){if(typeof M!="object")throw new I("options must be an object",I.ERR_BAD_OPTION_VALUE);const Y=Object.keys(M);let Q=Y.length;for(;Q-- >0;){const a1=Y[Q],e1=_[a1];if(e1){const h1=M[a1],y1=h1===void 0||e1(h1,a1,M);if(y1!==!0)throw new I("option "+a1+" must be "+y1,I.ERR_BAD_OPTION_VALUE)}else if(T!==!0)throw new I("Unknown option "+a1,I.ERR_BAD_OPTION)}},validators:K8};const N=Q8.validators;class G{constructor(_){this.defaults=_,this.interceptors={request:new E1,response:new E1}}async request(_,T){try{return await this._request(_,T)}catch(Y){if(Y instanceof Error){let Q;Error.captureStackTrace?Error.captureStackTrace(Q={}):Q=new Error;const a1=Q.stack?Q.stack.replace(/^.+\n/,""):"";Y.stack?a1&&!String(Y.stack).endsWith(a1.replace(/^.+\n.+\n/,""))&&(Y.stack+=`
|
|
6
|
-
`+a1):Y.stack=a1}throw Y}}_request(_,T){typeof _=="string"?(T=T||{}).url=_:T=_||{},T=ne(this.defaults,T);const{transitional:Y,paramsSerializer:Q,headers:a1}=T;Y!==void 0&&Q8.assertOptions(Y,{silentJSONParsing:N.transitional(N.boolean),forcedJSONParsing:N.transitional(N.boolean),clarifyTimeoutError:N.transitional(N.boolean)},!1),Q!=null&&(O.isFunction(Q)?T.paramsSerializer={serialize:Q}:Q8.assertOptions(Q,{encode:N.function,serialize:N.function},!0)),T.method=(T.method||this.defaults.method||"get").toLowerCase();let e1=a1&&O.merge(a1.common,a1[T.method]);a1&&O.forEach(["delete","get","head","post","put","patch","common"],F1=>{delete a1[F1]}),T.headers=b1.concat(e1,a1);const h1=[];let y1=!0;this.interceptors.request.forEach(function(F1){typeof F1.runWhen=="function"&&F1.runWhen(T)===!1||(y1=y1&&F1.synchronous,h1.unshift(F1.fulfilled,F1.rejected))});const w1=[];let C1;this.interceptors.response.forEach(function(F1){w1.push(F1.fulfilled,F1.rejected)});let O1,P1=0;if(!y1){const F1=[oa.bind(this),void 0];for(F1.unshift.apply(F1,h1),F1.push.apply(F1,w1),O1=F1.length,C1=Promise.resolve(T);P1<O1;)C1=C1.then(F1[P1++],F1[P1++]);return C1}O1=h1.length;let Q1=T;for(P1=0;P1<O1;){const F1=h1[P1++],J1=h1[P1++];try{Q1=F1(Q1)}catch(_2){J1.call(this,_2);break}}try{C1=oa.call(this,Q1)}catch(F1){return Promise.reject(F1)}for(P1=0,O1=w1.length;P1<O1;)C1=C1.then(w1[P1++],w1[P1++]);return C1}getUri(_){return U1(S3((_=ne(this.defaults,_)).baseURL,_.url),_.params,_.paramsSerializer)}}O.forEach(["delete","get","head","options"],function(M){G.prototype[M]=function(_,T){return this.request(ne(T||{},{method:M,url:_,data:(T||{}).data}))}}),O.forEach(["post","put","patch"],function(M){function _(T){return function(Y,Q,a1){return this.request(ne(a1||{},{method:M,headers:T?{"Content-Type":"multipart/form-data"}:{},url:Y,data:Q}))}}G.prototype[M]=_(),G.prototype[M+"Form"]=_(!0)});var R=G;class W{constructor(_){if(typeof _!="function")throw new TypeError("executor must be a function.");let T;this.promise=new Promise(function(Q){T=Q});const Y=this;this.promise.then(Q=>{if(!Y._listeners)return;let a1=Y._listeners.length;for(;a1-- >0;)Y._listeners[a1](Q);Y._listeners=null}),this.promise.then=Q=>{let a1;const e1=new Promise(h1=>{Y.subscribe(h1),a1=h1}).then(Q);return e1.cancel=function(){Y.unsubscribe(a1)},e1},_(function(Q,a1,e1){Y.reason||(Y.reason=new S1(Q,a1,e1),T(Y.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(_){this.reason?_(this.reason):this._listeners?this._listeners.push(_):this._listeners=[_]}unsubscribe(_){if(!this._listeners)return;const T=this._listeners.indexOf(_);T!==-1&&this._listeners.splice(T,1)}static source(){let _;return{token:new W(function(T){_=T}),cancel:_}}}var Z=W;const K={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(K).forEach(([M,_])=>{K[_]=M});var l1=K;const u1=function M(_){const T=new R(_),Y=l(R.prototype.request,T);return O.extend(Y,R.prototype,T,{allOwnKeys:!0}),O.extend(Y,T,null,{allOwnKeys:!0}),Y.create=function(Q){return M(ne(_,Q))},Y}(Y1);u1.Axios=R,u1.CanceledError=S1,u1.CancelToken=Z,u1.isCancel=_1,u1.VERSION="1.6.8",u1.toFormData=V1,u1.AxiosError=I,u1.Cancel=u1.CanceledError,u1.all=function(M){return Promise.all(M)},u1.spread=function(M){return function(_){return M.apply(null,_)}},u1.isAxiosError=function(M){return O.isObject(M)&&M.isAxiosError===!0},u1.mergeConfig=ne,u1.AxiosHeaders=b1,u1.formToJSON=M=>j2(O.isHTMLForm(M)?new FormData(M):M),u1.getAdapter=Q6,u1.HttpStatusCode=l1,u1.default=u1,n.exports=u1}},c={};function r(n){var i=c[n];if(i!==void 0)return i.exports;var s=c[n]={exports:{}};return a[n].call(s.exports,s,s.exports,r),s.exports}return r.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),r(927)})())})(Nm);var m4=Nm.exports;function gA(){return window.innerWidth<=768}function En(e,t){document.querySelector(":root").style.setProperty(e,t)}function V7(e){const t=e?"visible":"hidden";document.body.style.overflow=t}function xA(e,t,a="animate__"){return new Promise(c=>{const r=`${a}${t}`,n=document.querySelector(e);if(n){n.classList.add(`${a}animated`,r);const i=s=>{s.stopPropagation(),n==null||n.classList.remove(`${a}animated`,r),c("Animation ended")};n.addEventListener("animationend",i,{once:!0})}})}const CA={first:{light:"#1f1f1f",dark:"#f5f5f5",contrast:{light:"#fcfcfc",dark:"#202020"}},second:{light:"#2e2e2e",dark:"#e5e5e5",contrast:{light:"#f4f4f4",dark:"#282828"}},third:{light:"#494949",dark:"#d5d5d5",contrast:{light:"#ececec",dark:"#2a2a2a"}},primary:{light:"#218c5a",dark:"#218c5a",contrast:{light:"#ffffff",dark:"#ffffff"}},secondary:{light:"#218c5a",dark:"#218c5a",contrast:{light:"#ffffff",dark:"#ffffff"}},success:{light:"#4caf50",dark:"#81c784",contrast:{light:"#ffffff",dark:"#000000"}},warning:{light:"#ffa000",dark:"#ffca28",contrast:{light:"#ffffff",dark:"#000000"}},danger:{light:"#f44336",dark:"#ff8a80",contrast:{light:"#ffffff",dark:"#000000"}},grey:{light:"#9e9e9e",dark:"#bdbdbd",contrast:{light:"#000000",dark:"#000000"}},red:{light:"#f50057",dark:"#ff6185",contrast:{light:"#ffffff",dark:"#000000"}},purple:{light:"#9c27b0",dark:"#ba68c8",contrast:{light:"#ffffff",dark:"#000000"}},sky:{light:"#00bcd4",dark:"#4dd0e1",contrast:{light:"#ffffff",dark:"#000000"}},aqua:{light:"#00e5ff",dark:"#26c6da",contrast:{light:"#ffffff",dark:"#000000"}},beige:{light:"#ffe082",dark:"#ffecb3",contrast:{light:"#000000",dark:"#000000"}},info:{light:"#03a9f4",dark:"#4fc3f7",contrast:{light:"#ffffff",dark:"#000000"}},link:{light:"#1976d2",dark:"#1976d2",contrast:{light:"#ffffff",dark:"#000000"}},error:{light:"#d32f2f",dark:"#f44336",contrast:{light:"#ffffff",dark:"#000000"}},overlay:{light:"#00000080",dark:"#ffffff50",contrast:{light:"#ffffff",dark:"#000000"}}},Tm={coralPink:"#ff6b6b",warmOrange:"#ff8855",mandarinOrange:"#ffb76a",cornYellow:"#ffd54d",oliveGreen:"#7a7f42",pistachioGreen:"#a6c566",aquaMarine:"#5fd4bb",polarMint:"#80c9b4",arcticBlue:"#7fafdd",ceruleanBlue:"#007ba2",cobaltBlue:"#005493",smokyGray:"#5f6d6e",ashGray:"#a1b1b5",softMauve:"#b495c8",orchidPurple:"#c66cc6"};function Em(e,t){let a=0,c=0,r=0,n=0;if(e.startsWith("rgb")||e.startsWith("rgba")){const s=e.replace(/rgba?\((.*?)\)/,"$1").replace(/\s/g,""),[,l,f,u,h="1"]=s.match(/(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*([\d.]+))?/);a=parseInt(l),c=parseInt(f),r=parseInt(u),n=parseFloat(h)}if(e.startsWith("#")){let s=e;s.length===4&&(s="#"+s[1]+s[1]+s[2]+s[2]+s[3]+s[3]);let[,l,f,u,h]=s.match(/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i).map((d,m)=>m===4?parseInt(d,16)/255:parseInt(d,16));h=h?parseFloat(h.toFixed(3)):1,a=l,c=f,r=u,n=h}const i=t/100;return`rgba(${a}, ${c}, ${r}, ${n*i})`}function Fn(e,t){const c=`--pga-color-${m4.camelToKebab(e)}`;En(c,t);for(let r=5;r<=95;r+=5){const n=r<10?`0${r}`:r%10===0?`${r/10}`:`${r}`;En(`${c}-0${n}`,Em(t,r))}}function zA(){const e=Tm,t=Math.floor(Math.random()*Object.keys(e).length);return e[Object.keys(e)[t]]}const Pl={app:{name:"",backendUrl:"",language:"es",theme:"light"},colors:CA,button:{buttonType:"filled"},form:{input:{padding:"0.5em",iconWidth:"2.6em",paddingWithIcon:"3.1em",height:"2.2em",borderRadius:"0.25em",borderColor:"var(--pga-color-first-02)",colorFocus:"var(--pga-color-primary)",backgroundColor:"var(--pga-color-first-contrast)",backgroundColorDisabled:"var(--pga-color-second-contrast)",backgroundColorFocus:"var(--pga-color-primary-01)",backgroundColorHover:"var(--pga-color-primary-02)",placeholderColor:"var(--pga-color-third)"}},image:{staticUrl:"",dynamicUrl:""},notifications:{timeoutTime:4e3,preventRemove:!0}},x2=y3.defineStore("pga-options",()=>{const e=o.ref(!1),t=o.ref(Pl),a=o.computed(()=>t.value.app),c=o.computed(()=>t.value.colors),r=o.computed(()=>t.value.button),n=o.computed(()=>t.value.form),i=o.computed(()=>t.value.image),s=o.computed(()=>t.value.notifications),l=o.computed({get(){return t.value.app.language},set(p){t.value.app.language=p}}),f=o.computed({get(){return t.value.app.theme},set(p){t.value.app.theme=p}});o.watch([c,()=>a.value.theme],([p,v])=>{for(const g in p){const x=p[g];Fn(g,x[v]),Fn(`${g}Contrast`,x.contrast[v])}},{deep:!0,immediate:!0});function u(p){e.value||(e.value=!0,t.value=m4.mergeDeep(Pl,p))}function h(p){l.value=p}function d(p){f.value=p}function m(){f.value=f.value==="light"?"dark":"light"}return{options:t,appOptions:a,colorsOptions:c,buttonOptions:r,formOptions:n,imageOptions:i,notificationsOptions:s,language:l,theme:f,initOptions:u,setLanguage:h,setTheme:d,changeTheme:m}},{persist:!0});function Ol(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);t&&(c=c.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),a.push.apply(a,c)}return a}function N1(e){for(var t=1;t<arguments.length;t++){var a=arguments[t]!=null?arguments[t]:{};t%2?Ol(Object(a),!0).forEach(function(c){b3(e,c,a[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Ol(Object(a)).forEach(function(c){Object.defineProperty(e,c,Object.getOwnPropertyDescriptor(a,c))})}return e}function w7(e){"@babel/helpers - typeof";return w7=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},w7(e)}function MA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bl(e,t){for(var a=0;a<t.length;a++){var c=t[a];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(e,c.key,c)}}function yA(e,t,a){return t&&Bl(e.prototype,t),a&&Bl(e,a),Object.defineProperty(e,"prototype",{writable:!1}),e}function b3(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function ts(e,t){return HA(e)||wA(e,t)||Fm(e,t)||LA()}function Tt(e){return bA(e)||VA(e)||Fm(e)||_A()}function bA(e){if(Array.isArray(e))return Dn(e)}function HA(e){if(Array.isArray(e))return e}function VA(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function wA(e,t){var a=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(a!=null){var c=[],r=!0,n=!1,i,s;try{for(a=a.call(e);!(r=(i=a.next()).done)&&(c.push(i.value),!(t&&c.length===t));r=!0);}catch(l){n=!0,s=l}finally{try{!r&&a.return!=null&&a.return()}finally{if(n)throw s}}return c}}function Fm(e,t){if(e){if(typeof e=="string")return Dn(e,t);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 Dn(e,t)}}function Dn(e,t){(t==null||t>e.length)&&(t=e.length);for(var a=0,c=new Array(t);a<t;a++)c[a]=e[a];return c}function _A(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
6
|
+
`+a1):Y.stack=a1}throw Y}}_request(_,T){typeof _=="string"?(T=T||{}).url=_:T=_||{},T=ne(this.defaults,T);const{transitional:Y,paramsSerializer:Q,headers:a1}=T;Y!==void 0&&Q8.assertOptions(Y,{silentJSONParsing:N.transitional(N.boolean),forcedJSONParsing:N.transitional(N.boolean),clarifyTimeoutError:N.transitional(N.boolean)},!1),Q!=null&&(O.isFunction(Q)?T.paramsSerializer={serialize:Q}:Q8.assertOptions(Q,{encode:N.function,serialize:N.function},!0)),T.method=(T.method||this.defaults.method||"get").toLowerCase();let e1=a1&&O.merge(a1.common,a1[T.method]);a1&&O.forEach(["delete","get","head","post","put","patch","common"],F1=>{delete a1[F1]}),T.headers=b1.concat(e1,a1);const h1=[];let y1=!0;this.interceptors.request.forEach(function(F1){typeof F1.runWhen=="function"&&F1.runWhen(T)===!1||(y1=y1&&F1.synchronous,h1.unshift(F1.fulfilled,F1.rejected))});const w1=[];let C1;this.interceptors.response.forEach(function(F1){w1.push(F1.fulfilled,F1.rejected)});let O1,P1=0;if(!y1){const F1=[oa.bind(this),void 0];for(F1.unshift.apply(F1,h1),F1.push.apply(F1,w1),O1=F1.length,C1=Promise.resolve(T);P1<O1;)C1=C1.then(F1[P1++],F1[P1++]);return C1}O1=h1.length;let Q1=T;for(P1=0;P1<O1;){const F1=h1[P1++],J1=h1[P1++];try{Q1=F1(Q1)}catch(_2){J1.call(this,_2);break}}try{C1=oa.call(this,Q1)}catch(F1){return Promise.reject(F1)}for(P1=0,O1=w1.length;P1<O1;)C1=C1.then(w1[P1++],w1[P1++]);return C1}getUri(_){return U1(S3((_=ne(this.defaults,_)).baseURL,_.url),_.params,_.paramsSerializer)}}O.forEach(["delete","get","head","options"],function(M){G.prototype[M]=function(_,T){return this.request(ne(T||{},{method:M,url:_,data:(T||{}).data}))}}),O.forEach(["post","put","patch"],function(M){function _(T){return function(Y,Q,a1){return this.request(ne(a1||{},{method:M,headers:T?{"Content-Type":"multipart/form-data"}:{},url:Y,data:Q}))}}G.prototype[M]=_(),G.prototype[M+"Form"]=_(!0)});var R=G;class W{constructor(_){if(typeof _!="function")throw new TypeError("executor must be a function.");let T;this.promise=new Promise(function(Q){T=Q});const Y=this;this.promise.then(Q=>{if(!Y._listeners)return;let a1=Y._listeners.length;for(;a1-- >0;)Y._listeners[a1](Q);Y._listeners=null}),this.promise.then=Q=>{let a1;const e1=new Promise(h1=>{Y.subscribe(h1),a1=h1}).then(Q);return e1.cancel=function(){Y.unsubscribe(a1)},e1},_(function(Q,a1,e1){Y.reason||(Y.reason=new S1(Q,a1,e1),T(Y.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(_){this.reason?_(this.reason):this._listeners?this._listeners.push(_):this._listeners=[_]}unsubscribe(_){if(!this._listeners)return;const T=this._listeners.indexOf(_);T!==-1&&this._listeners.splice(T,1)}static source(){let _;return{token:new W(function(T){_=T}),cancel:_}}}var Z=W;const K={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(K).forEach(([M,_])=>{K[_]=M});var l1=K;const u1=function M(_){const T=new R(_),Y=l(R.prototype.request,T);return O.extend(Y,R.prototype,T,{allOwnKeys:!0}),O.extend(Y,T,null,{allOwnKeys:!0}),Y.create=function(Q){return M(ne(_,Q))},Y}(Y1);u1.Axios=R,u1.CanceledError=S1,u1.CancelToken=Z,u1.isCancel=_1,u1.VERSION="1.6.8",u1.toFormData=V1,u1.AxiosError=I,u1.Cancel=u1.CanceledError,u1.all=function(M){return Promise.all(M)},u1.spread=function(M){return function(_){return M.apply(null,_)}},u1.isAxiosError=function(M){return O.isObject(M)&&M.isAxiosError===!0},u1.mergeConfig=ne,u1.AxiosHeaders=b1,u1.formToJSON=M=>j2(O.isHTMLForm(M)?new FormData(M):M),u1.getAdapter=Q6,u1.HttpStatusCode=l1,u1.default=u1,n.exports=u1}},c={};function r(n){var i=c[n];if(i!==void 0)return i.exports;var s=c[n]={exports:{}};return a[n].call(s.exports,s,s.exports,r),s.exports}return r.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),r(927)})())})(Nm);var m4=Nm.exports;function gA(){return window.innerWidth<=768}function En(e,t){document.querySelector(":root").style.setProperty(e,t)}function V7(e){const t=e?"visible":"hidden";document.body.style.overflow=t}function xA(e,t,a="animate__"){return new Promise(c=>{const r=`${a}${t}`,n=document.querySelector(e);if(n){n.classList.add(`${a}animated`,r);const i=s=>{s.stopPropagation(),n==null||n.classList.remove(`${a}animated`,r),c("Animation ended")};n.addEventListener("animationend",i,{once:!0})}})}const CA={first:{light:"#1f1f1f",dark:"#f5f5f5",contrast:{light:"#fcfcfc",dark:"#202020"}},second:{light:"#2e2e2e",dark:"#e5e5e5",contrast:{light:"#f4f4f4",dark:"#282828"}},third:{light:"#494949",dark:"#d5d5d5",contrast:{light:"#ececec",dark:"#2a2a2a"}},primary:{light:"#218c5a",dark:"#218c5a",contrast:{light:"#ffffff",dark:"#ffffff"}},secondary:{light:"#218c5a",dark:"#218c5a",contrast:{light:"#ffffff",dark:"#ffffff"}},success:{light:"#66bb6a",dark:"#66bb6a",contrast:{light:"#ffffff",dark:"#000000"}},warning:{light:"#ffb300",dark:"#ffb300",contrast:{light:"#ffffff",dark:"#000000"}},danger:{light:"#f44336",dark:"#ff7043",contrast:{light:"#ffffff",dark:"#000000"}},grey:{light:"#9e9e9e",dark:"#9e9e9e",contrast:{light:"#000000",dark:"#000000"}},red:{light:"#e91e63",dark:"#ff4081",contrast:{light:"#ffffff",dark:"#000000"}},purple:{light:"#9c27b0",dark:"#9c27b0",contrast:{light:"#ffffff",dark:"#000000"}},sky:{light:"#00bcd4",dark:"#26c6da",contrast:{light:"#ffffff",dark:"#000000"}},aqua:{light:"#00bcd4",dark:"#00acc1",contrast:{light:"#ffffff",dark:"#000000"}},beige:{light:"#ffecb3",dark:"#ffecb3",contrast:{light:"#000000",dark:"#000000"}},info:{light:"#039be5",dark:"#039be5",contrast:{light:"#ffffff",dark:"#000000"}},link:{light:"#1976d2",dark:"#1976d2",contrast:{light:"#ffffff",dark:"#000000"}},error:{light:"#d32f2f",dark:"#ff5252",contrast:{light:"#ffffff",dark:"#000000"}},overlay:{light:"#00000080",dark:"#00000080",contrast:{light:"#ffffff",dark:"#ffffff"}}},Tm={coralPink:"#ff6b6b",warmOrange:"#ff8855",mandarinOrange:"#ffb76a",cornYellow:"#ffd54d",oliveGreen:"#7a7f42",pistachioGreen:"#a6c566",aquaMarine:"#5fd4bb",polarMint:"#80c9b4",arcticBlue:"#7fafdd",ceruleanBlue:"#007ba2",cobaltBlue:"#005493",smokyGray:"#5f6d6e",ashGray:"#a1b1b5",softMauve:"#b495c8",orchidPurple:"#c66cc6"};function Em(e,t){let a=0,c=0,r=0,n=0;if(e.startsWith("rgb")||e.startsWith("rgba")){const s=e.replace(/rgba?\((.*?)\)/,"$1").replace(/\s/g,""),[,l,f,u,h="1"]=s.match(/(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*([\d.]+))?/);a=parseInt(l),c=parseInt(f),r=parseInt(u),n=parseFloat(h)}if(e.startsWith("#")){let s=e;s.length===4&&(s="#"+s[1]+s[1]+s[2]+s[2]+s[3]+s[3]);let[,l,f,u,h]=s.match(/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i).map((d,m)=>m===4?parseInt(d,16)/255:parseInt(d,16));h=h?parseFloat(h.toFixed(3)):1,a=l,c=f,r=u,n=h}const i=t/100;return`rgba(${a}, ${c}, ${r}, ${n*i})`}function Fn(e,t){const c=`--pga-color-${m4.camelToKebab(e)}`;En(c,t);for(let r=5;r<=95;r+=5){const n=r<10?`0${r}`:r%10===0?`${r/10}`:`${r}`;En(`${c}-0${n}`,Em(t,r))}}function zA(){const e=Tm,t=Math.floor(Math.random()*Object.keys(e).length);return e[Object.keys(e)[t]]}const Pl={app:{name:"",backendUrl:"",language:"es",theme:"light"},colors:CA,button:{buttonType:"filled"},form:{input:{padding:"0.5em",iconWidth:"2.6em",paddingWithIcon:"3.1em",height:"2.2em",borderRadius:"0.25em",borderColor:"var(--pga-color-first-02)",colorFocus:"var(--pga-color-primary)",backgroundColor:"var(--pga-color-first-contrast)",backgroundColorDisabled:"var(--pga-color-second-contrast)",backgroundColorFocus:"var(--pga-color-primary-01)",backgroundColorHover:"var(--pga-color-primary-02)",placeholderColor:"var(--pga-color-third)"}},image:{staticUrl:"",dynamicUrl:""},notifications:{timeoutTime:4e3,preventRemove:!0}},x2=y3.defineStore("pga-options",()=>{const e=o.ref(!1),t=o.ref(Pl),a=o.computed(()=>t.value.app),c=o.computed(()=>t.value.colors),r=o.computed(()=>t.value.button),n=o.computed(()=>t.value.form),i=o.computed(()=>t.value.image),s=o.computed(()=>t.value.notifications),l=o.computed({get(){return t.value.app.language},set(p){t.value.app.language=p}}),f=o.computed({get(){return t.value.app.theme},set(p){t.value.app.theme=p}});o.watch([c,()=>a.value.theme],([p,v])=>{for(const g in p){const x=p[g];Fn(g,x[v]),Fn(`${g}Contrast`,x.contrast[v])}},{deep:!0,immediate:!0});function u(p){e.value||(e.value=!0,t.value=m4.mergeDeep(Pl,p))}function h(p){l.value=p}function d(p){f.value=p}function m(){f.value=f.value==="light"?"dark":"light"}return{options:t,appOptions:a,colorsOptions:c,buttonOptions:r,formOptions:n,imageOptions:i,notificationsOptions:s,language:l,theme:f,initOptions:u,setLanguage:h,setTheme:d,changeTheme:m}},{persist:!0});function Ol(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);t&&(c=c.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),a.push.apply(a,c)}return a}function N1(e){for(var t=1;t<arguments.length;t++){var a=arguments[t]!=null?arguments[t]:{};t%2?Ol(Object(a),!0).forEach(function(c){b3(e,c,a[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Ol(Object(a)).forEach(function(c){Object.defineProperty(e,c,Object.getOwnPropertyDescriptor(a,c))})}return e}function w7(e){"@babel/helpers - typeof";return w7=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},w7(e)}function MA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bl(e,t){for(var a=0;a<t.length;a++){var c=t[a];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(e,c.key,c)}}function yA(e,t,a){return t&&Bl(e.prototype,t),a&&Bl(e,a),Object.defineProperty(e,"prototype",{writable:!1}),e}function b3(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function ts(e,t){return HA(e)||wA(e,t)||Fm(e,t)||LA()}function Tt(e){return bA(e)||VA(e)||Fm(e)||_A()}function bA(e){if(Array.isArray(e))return Dn(e)}function HA(e){if(Array.isArray(e))return e}function VA(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function wA(e,t){var a=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(a!=null){var c=[],r=!0,n=!1,i,s;try{for(a=a.call(e);!(r=(i=a.next()).done)&&(c.push(i.value),!(t&&c.length===t));r=!0);}catch(l){n=!0,s=l}finally{try{!r&&a.return!=null&&a.return()}finally{if(n)throw s}}return c}}function Fm(e,t){if(e){if(typeof e=="string")return Dn(e,t);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 Dn(e,t)}}function Dn(e,t){(t==null||t>e.length)&&(t=e.length);for(var a=0,c=new Array(t);a<t;a++)c[a]=e[a];return c}function _A(){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 LA(){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 Rl=function(){},as={},Dm={},Pm=null,Om={mark:Rl,measure:Rl};try{typeof window<"u"&&(as=window),typeof document<"u"&&(Dm=document),typeof MutationObserver<"u"&&(Pm=MutationObserver),typeof performance<"u"&&(Om=performance)}catch{}var kA=as.navigator||{},Il=kA.userAgent,$l=Il===void 0?"":Il,O0=as,N2=Dm,Ul=Pm,da=Om;O0.document;var c0=!!N2.documentElement&&!!N2.head&&typeof N2.addEventListener=="function"&&typeof N2.createElement=="function",Bm=~$l.indexOf("MSIE")||~$l.indexOf("Trident/"),ma,pa,va,ga,xa,Ke="___FONT_AWESOME___",Pn=16,Rm="fa",Im="svg-inline--fa",k6="data-fa-i2svg",On="data-fa-pseudo-element",SA="data-fa-pseudo-element-pending",cs="data-prefix",rs="data-icon",Wl="fontawesome-i2svg",AA="async",NA=["HTML","HEAD","STYLE","SCRIPT"],$m=function(){try{return process.env.NODE_ENV==="production"}catch{return!1}}(),S2="classic",X2="sharp",ns=[S2,X2];function Et(e){return new Proxy(e,{get:function(a,c){return c in a?a[c]:a[S2]}})}var J5=Et((ma={},b3(ma,S2,{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"}),b3(ma,X2,{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"}),ma)),et=Et((pa={},b3(pa,S2,{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"}),b3(pa,X2,{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"}),pa)),tt=Et((va={},b3(va,S2,{fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"}),b3(va,X2,{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"}),va)),TA=Et((ga={},b3(ga,S2,{"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"}),b3(ga,X2,{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"}),ga)),EA=/fa(s|r|l|t|d|b|k|ss|sr|sl|st)?[\-\ ]/,Um="fa-layers-text",FA=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i,DA=Et((xa={},b3(xa,S2,{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"}),b3(xa,X2,{900:"fass",400:"fasr",300:"fasl",100:"fast"}),xa)),Wm=[1,2,3,4,5,6,7,8,9,10],PA=Wm.concat([11,12,13,14,15,16,17,18,19,20]),OA=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],p6={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},at=new Set;Object.keys(et[S2]).map(at.add.bind(at));Object.keys(et[X2]).map(at.add.bind(at));var BA=[].concat(ns,Tt(at),["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",p6.GROUP,p6.SWAP_OPACITY,p6.PRIMARY,p6.SECONDARY]).concat(Wm.map(function(e){return"".concat(e,"x")})).concat(PA.map(function(e){return"w-".concat(e)})),L5=O0.FontAwesomeConfig||{};function RA(e){var t=N2.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}function IA(e){return e===""?!0:e==="false"?!1:e==="true"?!0:e}if(N2&&typeof N2.querySelector=="function"){var $A=[["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"]];$A.forEach(function(e){var t=ts(e,2),a=t[0],c=t[1],r=IA(RA(a));r!=null&&(L5[c]=r)})}var Ym={styleDefault:"solid",familyDefault:"classic",cssPrefix:Rm,replacementClass:Im,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};L5.familyPrefix&&(L5.cssPrefix=L5.familyPrefix);var H8=N1(N1({},Ym),L5);H8.autoReplaceSvg||(H8.observeMutations=!1);var B1={};Object.keys(Ym).forEach(function(e){Object.defineProperty(B1,e,{enumerable:!0,set:function(a){H8[e]=a,k5.forEach(function(c){return c(B1)})},get:function(){return H8[e]}})});Object.defineProperty(B1,"familyPrefix",{enumerable:!0,set:function(t){H8.cssPrefix=t,k5.forEach(function(a){return a(B1)})},get:function(){return H8.cssPrefix}});O0.FontAwesomeConfig=B1;var k5=[];function UA(e){return k5.push(e),function(){k5.splice(k5.indexOf(e),1)}}var l0=Pn,me={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function WA(e){if(!(!e||!c0)){var t=N2.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var a=N2.head.childNodes,c=null,r=a.length-1;r>-1;r--){var n=a[r],i=(n.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(i)>-1&&(c=n)}return N2.head.insertBefore(t,c),e}}var YA="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function ct(){for(var e=12,t="";e-- >0;)t+=YA[Math.random()*62|0];return t}function B8(e){for(var t=[],a=(e||[]).length>>>0;a--;)t[a]=e[a];return t}function is(e){return e.classList?B8(e.classList):(e.getAttribute("class")||"").split(" ").filter(function(t){return t})}function jm(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function jA(e){return Object.keys(e||{}).reduce(function(t,a){return t+"".concat(a,'="').concat(jm(e[a]),'" ')},"").trim()}function Cc(e){return Object.keys(e||{}).reduce(function(t,a){return t+"".concat(a,": ").concat(e[a].trim(),";")},"")}function ss(e){return e.size!==me.size||e.x!==me.x||e.y!==me.y||e.rotate!==me.rotate||e.flipX||e.flipY}function qA(e){var t=e.transform,a=e.containerWidth,c=e.iconWidth,r={transform:"translate(".concat(a/2," 256)")},n="translate(".concat(t.x*32,", ").concat(t.y*32,") "),i="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),s="rotate(".concat(t.rotate," 0 0)"),l={transform:"".concat(n," ").concat(i," ").concat(s)},f={transform:"translate(".concat(c/2*-1," -256)")};return{outer:r,inner:l,path:f}}function GA(e){var t=e.transform,a=e.width,c=a===void 0?Pn:a,r=e.height,n=r===void 0?Pn:r,i=e.startCentered,s=i===void 0?!1:i,l="";return s&&Bm?l+="translate(".concat(t.x/l0-c/2,"em, ").concat(t.y/l0-n/2,"em) "):s?l+="translate(calc(-50% + ".concat(t.x/l0,"em), calc(-50% + ").concat(t.y/l0,"em)) "):l+="translate(".concat(t.x/l0,"em, ").concat(t.y/l0,"em) "),l+="scale(".concat(t.size/l0*(t.flipX?-1:1),", ").concat(t.size/l0*(t.flipY?-1:1),") "),l+="rotate(".concat(t.rotate,"deg) "),l}var XA=`:root, :host {
|
|
9
9
|
--fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";
|
package/dist/main.es.js
CHANGED
|
@@ -3497,16 +3497,16 @@ const yT = {
|
|
|
3497
3497
|
}
|
|
3498
3498
|
},
|
|
3499
3499
|
success: {
|
|
3500
|
-
light: "#
|
|
3501
|
-
dark: "#
|
|
3500
|
+
light: "#66bb6a",
|
|
3501
|
+
dark: "#66bb6a",
|
|
3502
3502
|
contrast: {
|
|
3503
3503
|
light: "#ffffff",
|
|
3504
3504
|
dark: "#000000"
|
|
3505
3505
|
}
|
|
3506
3506
|
},
|
|
3507
3507
|
warning: {
|
|
3508
|
-
light: "#
|
|
3509
|
-
dark: "#
|
|
3508
|
+
light: "#ffb300",
|
|
3509
|
+
dark: "#ffb300",
|
|
3510
3510
|
contrast: {
|
|
3511
3511
|
light: "#ffffff",
|
|
3512
3512
|
dark: "#000000"
|
|
@@ -3514,7 +3514,7 @@ const yT = {
|
|
|
3514
3514
|
},
|
|
3515
3515
|
danger: {
|
|
3516
3516
|
light: "#f44336",
|
|
3517
|
-
dark: "#
|
|
3517
|
+
dark: "#ff7043",
|
|
3518
3518
|
contrast: {
|
|
3519
3519
|
light: "#ffffff",
|
|
3520
3520
|
dark: "#000000"
|
|
@@ -3522,15 +3522,15 @@ const yT = {
|
|
|
3522
3522
|
},
|
|
3523
3523
|
grey: {
|
|
3524
3524
|
light: "#9e9e9e",
|
|
3525
|
-
dark: "#
|
|
3525
|
+
dark: "#9e9e9e",
|
|
3526
3526
|
contrast: {
|
|
3527
3527
|
light: "#000000",
|
|
3528
3528
|
dark: "#000000"
|
|
3529
3529
|
}
|
|
3530
3530
|
},
|
|
3531
3531
|
red: {
|
|
3532
|
-
light: "#
|
|
3533
|
-
dark: "#
|
|
3532
|
+
light: "#e91e63",
|
|
3533
|
+
dark: "#ff4081",
|
|
3534
3534
|
contrast: {
|
|
3535
3535
|
light: "#ffffff",
|
|
3536
3536
|
dark: "#000000"
|
|
@@ -3538,7 +3538,7 @@ const yT = {
|
|
|
3538
3538
|
},
|
|
3539
3539
|
purple: {
|
|
3540
3540
|
light: "#9c27b0",
|
|
3541
|
-
dark: "#
|
|
3541
|
+
dark: "#9c27b0",
|
|
3542
3542
|
contrast: {
|
|
3543
3543
|
light: "#ffffff",
|
|
3544
3544
|
dark: "#000000"
|
|
@@ -3546,22 +3546,22 @@ const yT = {
|
|
|
3546
3546
|
},
|
|
3547
3547
|
sky: {
|
|
3548
3548
|
light: "#00bcd4",
|
|
3549
|
-
dark: "#
|
|
3549
|
+
dark: "#26c6da",
|
|
3550
3550
|
contrast: {
|
|
3551
3551
|
light: "#ffffff",
|
|
3552
3552
|
dark: "#000000"
|
|
3553
3553
|
}
|
|
3554
3554
|
},
|
|
3555
3555
|
aqua: {
|
|
3556
|
-
light: "#
|
|
3557
|
-
dark: "#
|
|
3556
|
+
light: "#00bcd4",
|
|
3557
|
+
dark: "#00acc1",
|
|
3558
3558
|
contrast: {
|
|
3559
3559
|
light: "#ffffff",
|
|
3560
3560
|
dark: "#000000"
|
|
3561
3561
|
}
|
|
3562
3562
|
},
|
|
3563
3563
|
beige: {
|
|
3564
|
-
light: "#
|
|
3564
|
+
light: "#ffecb3",
|
|
3565
3565
|
dark: "#ffecb3",
|
|
3566
3566
|
contrast: {
|
|
3567
3567
|
light: "#000000",
|
|
@@ -3569,8 +3569,8 @@ const yT = {
|
|
|
3569
3569
|
}
|
|
3570
3570
|
},
|
|
3571
3571
|
info: {
|
|
3572
|
-
light: "#
|
|
3573
|
-
dark: "#
|
|
3572
|
+
light: "#039be5",
|
|
3573
|
+
dark: "#039be5",
|
|
3574
3574
|
contrast: {
|
|
3575
3575
|
light: "#ffffff",
|
|
3576
3576
|
dark: "#000000"
|
|
@@ -3586,7 +3586,7 @@ const yT = {
|
|
|
3586
3586
|
},
|
|
3587
3587
|
error: {
|
|
3588
3588
|
light: "#d32f2f",
|
|
3589
|
-
dark: "#
|
|
3589
|
+
dark: "#ff5252",
|
|
3590
3590
|
contrast: {
|
|
3591
3591
|
light: "#ffffff",
|
|
3592
3592
|
dark: "#000000"
|
|
@@ -3594,10 +3594,10 @@ const yT = {
|
|
|
3594
3594
|
},
|
|
3595
3595
|
overlay: {
|
|
3596
3596
|
light: "#00000080",
|
|
3597
|
-
dark: "#
|
|
3597
|
+
dark: "#00000080",
|
|
3598
3598
|
contrast: {
|
|
3599
3599
|
light: "#ffffff",
|
|
3600
|
-
dark: "#
|
|
3600
|
+
dark: "#ffffff"
|
|
3601
3601
|
}
|
|
3602
3602
|
}
|
|
3603
3603
|
}, Vp = {
|