@localazy/cdn-client 1.1.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/LICENSE +21 -0
- package/README.md +51 -0
- package/dist/cjs/localazy-cdn.cjs +2487 -0
- package/dist/cjs/localazy-cdn.cjs.map +1 -0
- package/dist/cjs/localazy-cdn.min.cjs +2 -0
- package/dist/cjs/localazy-cdn.min.cjs.map +1 -0
- package/dist/index.d.ts +465 -0
- package/dist/localazy-cdn.js +2487 -0
- package/dist/localazy-cdn.js.map +1 -0
- package/dist/localazy-cdn.min.js +6 -0
- package/dist/localazy-cdn.min.js.map +1 -0
- package/dist/umd/localazy-cdn.umd.cjs +2490 -0
- package/dist/umd/localazy-cdn.umd.cjs.map +1 -0
- package/dist/umd/localazy-cdn.umd.min.cjs +2 -0
- package/dist/umd/localazy-cdn.umd.min.cjs.map +1 -0
- package/package.json +96 -0
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
var t=Object.defineProperty,e=(e,r,n)=>(((e,r,n)=>{r in e?t(e,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[r]=n})(e,"symbol"!=typeof r?r+"":r,n),n);
|
|
2
|
+
/* @localazy/cdn-client@1.1.1
|
|
3
|
+
* (c) 2024 Localazy <team@localazy.com>
|
|
4
|
+
* @license MIT */
|
|
5
|
+
import r from"axios";class n{constructor(t){e(this,"context"),this.context=t}async fetchLocale(t){const e={reference:t};if(this.context.cache.has(t))return new Promise((r=>{r({data:this.context.cache.get(t),config:e})}));const r=/\.(json|json5)$/.test(t.metafileFile.file)?"json":"text";return this.context.client.get(t.metafileLocale.uri,{...e,responseType:r})}async fetchMetafile(t){return this.context.client.get(this.context.metafile.params.jsonPath,t)}}var a="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function i(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var o="object"==typeof a&&a&&a.Object===Object&&a,s=o,c="object"==typeof self&&self&&self.Object===Object&&self,u=s||c||Function("return this")(),l=u.Symbol,f=l,h=Object.prototype,p=h.hasOwnProperty,v=h.toString,d=f?f.toStringTag:void 0;var b=function(t){var e=p.call(t,d),r=t[d];try{t[d]=void 0;var n=!0}catch(t){}var a=v.call(t);return n&&(e?t[d]=r:delete t[d]),a},y=Object.prototype.toString;var g=b,m=function(t){return y.call(t)},j=l?l.toStringTag:void 0;var w=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":j&&j in Object(t)?g(t):m(t)};var _=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)},x=w,O=_;var F=function(t){if(!O(t))return!1;var e=x(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e};const A=i(F);var L,S=u["__core-js_shared__"],M=(L=/[^.]+$/.exec(S&&S.keys&&S.keys.IE_PROTO||""))?"Symbol(src)_1."+L:"";var E=function(t){return!!M&&M in t},R=Function.prototype.toString;var I=function(t){if(null!=t){try{return R.call(t)}catch(t){}try{return t+""}catch(t){}}return""},U=F,P=E,$=_,z=I,q=/^\[object .+?Constructor\]$/,B=Function.prototype,T=Object.prototype,k=B.toString,C=T.hasOwnProperty,N=RegExp("^"+k.call(C).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var D=function(t){return!(!$(t)||P(t))&&(U(t)?N:q).test(z(t))},V=function(t,e){return null==t?void 0:t[e]};var W=function(t,e){var r=V(t,e);return D(r)?r:void 0},G=W(Object,"create"),H=G;var J=function(){this.__data__=H?H(null):{},this.size=0};var K=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},Q=G,X=Object.prototype.hasOwnProperty;var Y=function(t){var e=this.__data__;if(Q){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return X.call(e,t)?e[t]:void 0},Z=G,tt=Object.prototype.hasOwnProperty;var et=G;var rt=J,nt=K,at=Y,it=function(t){var e=this.__data__;return Z?void 0!==e[t]:tt.call(e,t)},ot=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=et&&void 0===e?"__lodash_hash_undefined__":e,this};function st(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}st.prototype.clear=rt,st.prototype.delete=nt,st.prototype.get=at,st.prototype.has=it,st.prototype.set=ot;var ct=st;var ut=function(){this.__data__=[],this.size=0};var lt=function(t,e){return t===e||t!=t&&e!=e},ft=lt;var ht=function(t,e){for(var r=t.length;r--;)if(ft(t[r][0],e))return r;return-1},pt=ht,vt=Array.prototype.splice;var dt=ht;var bt=ht;var yt=ht;var gt=ut,mt=function(t){var e=this.__data__,r=pt(e,t);return!(r<0)&&(r==e.length-1?e.pop():vt.call(e,r,1),--this.size,!0)},jt=function(t){var e=this.__data__,r=dt(e,t);return r<0?void 0:e[r][1]},wt=function(t){return bt(this.__data__,t)>-1},_t=function(t,e){var r=this.__data__,n=yt(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this};function xt(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}xt.prototype.clear=gt,xt.prototype.delete=mt,xt.prototype.get=jt,xt.prototype.has=wt,xt.prototype.set=_t;var Ot=xt,Ft=W(u,"Map"),At=ct,Lt=Ot,St=Ft;var Mt=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t};var Et=function(t,e){var r=t.__data__;return Mt(e)?r["string"==typeof e?"string":"hash"]:r.map},Rt=Et;var It=Et;var Ut=Et;var Pt=Et;var $t=function(){this.size=0,this.__data__={hash:new At,map:new(St||Lt),string:new At}},zt=function(t){var e=Rt(this,t).delete(t);return this.size-=e?1:0,e},qt=function(t){return It(this,t).get(t)},Bt=function(t){return Ut(this,t).has(t)},Tt=function(t,e){var r=Pt(this,t),n=r.size;return r.set(t,e),this.size+=r.size==n?0:1,this};function kt(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}kt.prototype.clear=$t,kt.prototype.delete=zt,kt.prototype.get=qt,kt.prototype.has=Bt,kt.prototype.set=Tt;var Ct=kt;var Nt=Ct,Dt=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},Vt=function(t){return this.__data__.has(t)};function Wt(t){var e=-1,r=null==t?0:t.length;for(this.__data__=new Nt;++e<r;)this.add(t[e])}Wt.prototype.add=Wt.prototype.push=Dt,Wt.prototype.has=Vt;var Gt=Wt;var Ht=function(t,e,r,n){for(var a=t.length,i=r+(n?1:-1);n?i--:++i<a;)if(e(t[i],i,t))return i;return-1};var Jt=Ht,Kt=function(t){return t!=t},Qt=function(t,e,r){for(var n=r-1,a=t.length;++n<a;)if(t[n]===e)return n;return-1};var Xt=function(t,e,r){return e==e?Qt(t,e,r):Jt(t,Kt,r)};var Yt=function(t,e){return!!(null==t?0:t.length)&&Xt(t,e,0)>-1};var Zt=function(t,e,r){for(var n=-1,a=null==t?0:t.length;++n<a;)if(r(e,t[n]))return!0;return!1};var te=function(t,e){return t.has(e)},ee=W(u,"Set");var re=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t){r[++e]=t})),r},ne=ee,ae=function(){},ie=ne&&1/re(new ne([,-0]))[1]==1/0?function(t){return new ne(t)}:ae,oe=Gt,se=Yt,ce=Zt,ue=te,le=ie,fe=re;var he=function(t,e,r){var n=-1,a=se,i=t.length,o=!0,s=[],c=s;if(r)o=!1,a=ce;else if(i>=200){var u=e?null:le(t);if(u)return fe(u);o=!1,a=ue,c=new oe}else c=e?[]:s;t:for(;++n<i;){var l=t[n],f=e?e(l):l;if(l=r||0!==l?l:0,o&&f==f){for(var h=c.length;h--;)if(c[h]===f)continue t;e&&c.push(f),s.push(l)}else a(c,f,r)||(c!==s&&c.push(f),s.push(l))}return s},pe=he;const ve=i((function(t){return t&&t.length?pe(t):[]}));class de{constructor(){e(this,"map"),this.map=new Map}get(t){return this.map.get(t)}has(t){return this.map.has(t)}set(t,e){this.map.set(t,e)}flush(){this.map=new Map}}class be{constructor(t){e(this,"context"),e(this,"cacheAdapter"),this.context=t,this.cacheAdapter=new de}setIfMissed(t){const{metafileFile:e,metafileLocale:r,data:n}=t,a=this.keyFromMetafile({metafileFile:e,metafileLocale:r});this.cacheAdapter.has(a)||this.cacheAdapter.set(a,n)}has(t){const e=this.keyFromMetafile(t);return this.cacheAdapter.has(e)}get(t){const e=this.keyFromMetafile(t);return this.cacheAdapter.get(e)}flush(){this.cacheAdapter.flush()}keyFromMetafile(t){const{metafileFile:e,metafileLocale:r}=t,n=[...ve(e.productFlavors)].sort().join("-");return[this.context.metafile.params.cdnId,e.id,e.file,e.path,e.library,e.module,e.buildType,n,r.locale,r.timestamp.toString()].filter((t=>""!==t)).join("-")}}var ye=Array.isArray;const ge=i(ye);var me=function(t){return null!=t&&"object"==typeof t},je=w,we=ye,_e=me;const xe=i((function(t){return"string"==typeof t||!we(t)&&_e(t)&&"[object String]"==je(t)}));class Oe{constructor(t){e(this,"context"),this.context=t}}class Fe extends Oe{constructor(){super(...arguments),e(this,"flush",(()=>{this.context.cache.flush()}))}}var Ae=Ot;var Le=Ot,Se=Ft,Me=Ct;var Ee=Ot,Re=function(){this.__data__=new Ae,this.size=0},Ie=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r},Ue=function(t){return this.__data__.get(t)},Pe=function(t){return this.__data__.has(t)},$e=function(t,e){var r=this.__data__;if(r instanceof Le){var n=r.__data__;if(!Se||n.length<199)return n.push([t,e]),this.size=++r.size,this;r=this.__data__=new Me(n)}return r.set(t,e),this.size=r.size,this};function ze(t){var e=this.__data__=new Ee(t);this.size=e.size}ze.prototype.clear=Re,ze.prototype.delete=Ie,ze.prototype.get=Ue,ze.prototype.has=Pe,ze.prototype.set=$e;var qe=ze;var Be=Gt,Te=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n;)if(e(t[r],r,t))return!0;return!1},ke=te;var Ce=function(t,e,r,n,a,i){var o=1&r,s=t.length,c=e.length;if(s!=c&&!(o&&c>s))return!1;var u=i.get(t),l=i.get(e);if(u&&l)return u==e&&l==t;var f=-1,h=!0,p=2&r?new Be:void 0;for(i.set(t,e),i.set(e,t);++f<s;){var v=t[f],d=e[f];if(n)var b=o?n(d,v,f,e,t,i):n(v,d,f,t,e,i);if(void 0!==b){if(b)continue;h=!1;break}if(p){if(!Te(e,(function(t,e){if(!ke(p,e)&&(v===t||a(v,t,r,n,i)))return p.push(e)}))){h=!1;break}}else if(v!==d&&!a(v,d,r,n,i)){h=!1;break}}return i.delete(t),i.delete(e),h},Ne=u.Uint8Array;var De=Ne,Ve=lt,We=Ce,Ge=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t,n){r[++e]=[n,t]})),r},He=re,Je=l?l.prototype:void 0,Ke=Je?Je.valueOf:void 0;var Qe=function(t,e,r,n,a,i,o){switch(r){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!i(new De(t),new De(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return Ve(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var s=Ge;case"[object Set]":var c=1&n;if(s||(s=He),t.size!=e.size&&!c)return!1;var u=o.get(t);if(u)return u==e;n|=2,o.set(t,e);var l=We(s(t),s(e),n,a,i,o);return o.delete(t),l;case"[object Symbol]":if(Ke)return Ke.call(t)==Ke.call(e)}return!1};var Xe=function(t,e){for(var r=-1,n=e.length,a=t.length;++r<n;)t[a+r]=e[r];return t},Ye=Xe,Ze=ye;var tr=function(t,e,r){var n=e(t);return Ze(t)?n:Ye(n,r(t))};var er=function(t,e){for(var r=-1,n=null==t?0:t.length,a=0,i=[];++r<n;){var o=t[r];e(o,r,t)&&(i[a++]=o)}return i};var rr=function(){return[]},nr=er,ar=rr,ir=Object.prototype.propertyIsEnumerable,or=Object.getOwnPropertySymbols,sr=or?function(t){return null==t?[]:(t=Object(t),nr(or(t),(function(e){return ir.call(t,e)})))}:ar;var cr=function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n},ur=w,lr=me;var fr,hr,pr,vr,dr,br,yr,gr,mr=function(t){return lr(t)&&"[object Arguments]"==ur(t)},jr=me,wr=Object.prototype,_r=wr.hasOwnProperty,xr=wr.propertyIsEnumerable,Or=mr(function(){return arguments}())?mr:function(t){return jr(t)&&_r.call(t,"callee")&&!xr.call(t,"callee")},Fr={exports:{}};fr=Fr,pr=u,vr=function(){return!1},dr=(hr=Fr.exports)&&!hr.nodeType&&hr,br=dr&&fr&&!fr.nodeType&&fr,yr=br&&br.exports===dr?pr.Buffer:void 0,gr=(yr?yr.isBuffer:void 0)||vr,fr.exports=gr;var Ar=Fr.exports,Lr=/^(?:0|[1-9]\d*)$/;var Sr=function(t,e){var r=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==r||"symbol"!=r&&Lr.test(t))&&t>-1&&t%1==0&&t<e};var Mr=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991},Er=w,Rr=Mr,Ir=me,Ur={};Ur["[object Float32Array]"]=Ur["[object Float64Array]"]=Ur["[object Int8Array]"]=Ur["[object Int16Array]"]=Ur["[object Int32Array]"]=Ur["[object Uint8Array]"]=Ur["[object Uint8ClampedArray]"]=Ur["[object Uint16Array]"]=Ur["[object Uint32Array]"]=!0,Ur["[object Arguments]"]=Ur["[object Array]"]=Ur["[object ArrayBuffer]"]=Ur["[object Boolean]"]=Ur["[object DataView]"]=Ur["[object Date]"]=Ur["[object Error]"]=Ur["[object Function]"]=Ur["[object Map]"]=Ur["[object Number]"]=Ur["[object Object]"]=Ur["[object RegExp]"]=Ur["[object Set]"]=Ur["[object String]"]=Ur["[object WeakMap]"]=!1;var Pr=function(t){return Ir(t)&&Rr(t.length)&&!!Ur[Er(t)]};var $r=function(t){return function(e){return t(e)}},zr={exports:{}};!function(t,e){var r=o,n=e&&!e.nodeType&&e,a=n&&t&&!t.nodeType&&t,i=a&&a.exports===n&&r.process,s=function(){try{var t=a&&a.require&&a.require("util").types;return t||i&&i.binding&&i.binding("util")}catch(t){}}();t.exports=s}(zr,zr.exports);var qr=zr.exports,Br=Pr,Tr=$r,kr=qr&&qr.isTypedArray,Cr=kr?Tr(kr):Br,Nr=cr,Dr=Or,Vr=ye,Wr=Ar,Gr=Sr,Hr=Cr,Jr=Object.prototype.hasOwnProperty;var Kr=function(t,e){var r=Vr(t),n=!r&&Dr(t),a=!r&&!n&&Wr(t),i=!r&&!n&&!a&&Hr(t),o=r||n||a||i,s=o?Nr(t.length,String):[],c=s.length;for(var u in t)!e&&!Jr.call(t,u)||o&&("length"==u||a&&("offset"==u||"parent"==u)||i&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||Gr(u,c))||s.push(u);return s},Qr=Object.prototype;var Xr=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Qr)};var Yr=function(t,e){return function(r){return t(e(r))}},Zr=Yr(Object.keys,Object),tn=Xr,en=Zr,rn=Object.prototype.hasOwnProperty;var nn=F,an=Mr;var on=function(t){return null!=t&&an(t.length)&&!nn(t)},sn=Kr,cn=function(t){if(!tn(t))return en(t);var e=[];for(var r in Object(t))rn.call(t,r)&&"constructor"!=r&&e.push(r);return e},un=on;var ln=function(t){return un(t)?sn(t):cn(t)},fn=tr,hn=sr,pn=ln;var vn=function(t){return fn(t,pn,hn)},dn=vn,bn=Object.prototype.hasOwnProperty;var yn=function(t,e,r,n,a,i){var o=1&r,s=dn(t),c=s.length;if(c!=dn(e).length&&!o)return!1;for(var u=c;u--;){var l=s[u];if(!(o?l in e:bn.call(e,l)))return!1}var f=i.get(t),h=i.get(e);if(f&&h)return f==e&&h==t;var p=!0;i.set(t,e),i.set(e,t);for(var v=o;++u<c;){var d=t[l=s[u]],b=e[l];if(n)var y=o?n(b,d,l,e,t,i):n(d,b,l,t,e,i);if(!(void 0===y?d===b||a(d,b,r,n,i):y)){p=!1;break}v||(v="constructor"==l)}if(p&&!v){var g=t.constructor,m=e.constructor;g==m||!("constructor"in t)||!("constructor"in e)||"function"==typeof g&&g instanceof g&&"function"==typeof m&&m instanceof m||(p=!1)}return i.delete(t),i.delete(e),p},gn=W(u,"DataView"),mn=Ft,jn=W(u,"Promise"),wn=ee,_n=W(u,"WeakMap"),xn=w,On=I,Fn="[object Map]",An="[object Promise]",Ln="[object Set]",Sn="[object WeakMap]",Mn="[object DataView]",En=On(gn),Rn=On(mn),In=On(jn),Un=On(wn),Pn=On(_n),$n=xn;(gn&&$n(new gn(new ArrayBuffer(1)))!=Mn||mn&&$n(new mn)!=Fn||jn&&$n(jn.resolve())!=An||wn&&$n(new wn)!=Ln||_n&&$n(new _n)!=Sn)&&($n=function(t){var e=xn(t),r="[object Object]"==e?t.constructor:void 0,n=r?On(r):"";if(n)switch(n){case En:return Mn;case Rn:return Fn;case In:return An;case Un:return Ln;case Pn:return Sn}return e});var zn=$n,qn=qe,Bn=Ce,Tn=Qe,kn=yn,Cn=zn,Nn=ye,Dn=Ar,Vn=Cr,Wn="[object Arguments]",Gn="[object Array]",Hn="[object Object]",Jn=Object.prototype.hasOwnProperty;var Kn=function(t,e,r,n,a,i){var o=Nn(t),s=Nn(e),c=o?Gn:Cn(t),u=s?Gn:Cn(e),l=(c=c==Wn?Hn:c)==Hn,f=(u=u==Wn?Hn:u)==Hn,h=c==u;if(h&&Dn(t)){if(!Dn(e))return!1;o=!0,l=!1}if(h&&!l)return i||(i=new qn),o||Vn(t)?Bn(t,e,r,n,a,i):Tn(t,e,c,r,n,a,i);if(!(1&r)){var p=l&&Jn.call(t,"__wrapped__"),v=f&&Jn.call(e,"__wrapped__");if(p||v){var d=p?t.value():t,b=v?e.value():e;return i||(i=new qn),a(d,b,r,n,i)}}return!!h&&(i||(i=new qn),kn(t,e,r,n,a,i))},Qn=me;var Xn=function t(e,r,n,a,i){return e===r||(null==e||null==r||!Qn(e)&&!Qn(r)?e!=e&&r!=r:Kn(e,r,n,a,t,i))},Yn=qe,Zn=Xn;var ta=_;var ea=function(t){return t==t&&!ta(t)},ra=ea,na=ln;var aa=function(t,e){return function(r){return null!=r&&(r[t]===e&&(void 0!==e||t in Object(r)))}},ia=function(t,e,r,n){var a=r.length,i=a,o=!n;if(null==t)return!i;for(t=Object(t);a--;){var s=r[a];if(o&&s[2]?s[1]!==t[s[0]]:!(s[0]in t))return!1}for(;++a<i;){var c=(s=r[a])[0],u=t[c],l=s[1];if(o&&s[2]){if(void 0===u&&!(c in t))return!1}else{var f=new Yn;if(n)var h=n(u,l,c,t,e,f);if(!(void 0===h?Zn(l,u,3,n,f):h))return!1}}return!0},oa=function(t){for(var e=na(t),r=e.length;r--;){var n=e[r],a=t[n];e[r]=[n,a,ra(a)]}return e},sa=aa;var ca=function(t){var e=oa(t);return 1==e.length&&e[0][2]?sa(e[0][0],e[0][1]):function(r){return r===t||ia(r,t,e)}},ua=w,la=me;var fa=function(t){return"symbol"==typeof t||la(t)&&"[object Symbol]"==ua(t)},ha=ye,pa=fa,va=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,da=/^\w*$/;var ba=function(t,e){if(ha(t))return!1;var r=typeof t;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=t&&!pa(t))||(da.test(t)||!va.test(t)||null!=e&&t in Object(e))},ya=Ct;function ga(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var r=function(){var n=arguments,a=e?e.apply(this,n):n[0],i=r.cache;if(i.has(a))return i.get(a);var o=t.apply(this,n);return r.cache=i.set(a,o)||i,o};return r.cache=new(ga.Cache||ya),r}ga.Cache=ya;var ma=ga;var ja=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,wa=/\\(\\)?/g,_a=function(t){var e=ma(t,(function(t){return 500===r.size&&r.clear(),t})),r=e.cache;return e}((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(ja,(function(t,r,n,a){e.push(n?a.replace(wa,"$1"):r||t)})),e}));var xa=function(t,e){for(var r=-1,n=null==t?0:t.length,a=Array(n);++r<n;)a[r]=e(t[r],r,t);return a},Oa=ye,Fa=fa,Aa=l?l.prototype:void 0,La=Aa?Aa.toString:void 0;var Sa=function t(e){if("string"==typeof e)return e;if(Oa(e))return xa(e,t)+"";if(Fa(e))return La?La.call(e):"";var r=e+"";return"0"==r&&1/e==-Infinity?"-0":r},Ma=Sa;var Ea=ye,Ra=ba,Ia=_a,Ua=function(t){return null==t?"":Ma(t)};var Pa=function(t,e){return Ea(t)?t:Ra(t,e)?[t]:Ia(Ua(t))},$a=fa;var za=function(t){if("string"==typeof t||$a(t))return t;var e=t+"";return"0"==e&&1/t==-Infinity?"-0":e},qa=Pa,Ba=za;var Ta=function(t,e){for(var r=0,n=(e=qa(e,t)).length;null!=t&&r<n;)t=t[Ba(e[r++])];return r&&r==n?t:void 0},ka=Ta;var Ca=Pa,Na=Or,Da=ye,Va=Sr,Wa=Mr,Ga=za;var Ha=function(t,e){return null!=t&&e in Object(t)},Ja=function(t,e,r){for(var n=-1,a=(e=Ca(e,t)).length,i=!1;++n<a;){var o=Ga(e[n]);if(!(i=null!=t&&r(t,o)))break;t=t[o]}return i||++n!=a?i:!!(a=null==t?0:t.length)&&Wa(a)&&Va(o,a)&&(Da(t)||Na(t))};var Ka=Xn,Qa=function(t,e,r){var n=null==t?void 0:ka(t,e);return void 0===n?r:n},Xa=function(t,e){return null!=t&&Ja(t,e,Ha)},Ya=ba,Za=ea,ti=aa,ei=za;var ri=Ta;var ni=function(t){return function(e){return null==e?void 0:e[t]}},ai=function(t){return function(e){return ri(e,t)}},ii=ba,oi=za;var si=ca,ci=function(t,e){return Ya(t)&&Za(e)?ti(ei(t),e):function(r){var n=Qa(r,t);return void 0===n&&n===e?Xa(r,t):Ka(e,n,3)}},ui=function(t){return t},li=ye,fi=function(t){return ii(t)?ni(oi(t)):ai(t)};var hi=function(t){return"function"==typeof t?t:null==t?ui:"object"==typeof t?li(t)?ci(t[0],t[1]):si(t):fi(t)},pi=hi,vi=he;const di=i((function(t,e){return t&&t.length?vi(t,pi(e)):[]}));class bi{constructor(t,r){e(this,"language"),e(this,"region"),e(this,"script"),e(this,"isRtl"),e(this,"name"),e(this,"localizedName"),e(this,"uri"),e(this,"timestamp"),e(this,"baseLocale"),this.language=t.language,this.region=t.region,this.script=t.script,this.isRtl=t.isRtl,this.name=t.name,this.localizedName=t.localizedName,this.uri=t.uri,this.timestamp=t.timestamp,this.baseLocale=r}get locale(){return this.language&&this.region&&this.script?`${this.language}_${this.region}#${this.script}`:this.language&&this.script?`${this.language}#${this.script}`:this.language&&this.region?`${this.language}_${this.region}`:this.language}get isBaseLocale(){return this.locale===this.baseLocale}toCdnLocale(){return{locale:this.locale,isBaseLocale:this.isBaseLocale,language:this.language,region:this.region,script:this.script,isRtl:this.isRtl,name:this.name,localizedName:this.localizedName}}}class yi{constructor(t){e(this,"id"),e(this,"file"),e(this,"path"),e(this,"library"),e(this,"module"),e(this,"buildType"),e(this,"timestamp"),e(this,"productFlavors"),e(this,"locales"),e(this,"baseUrl"),this.id=t.id,this.file=t.file,this.path=t.path,this.library=t.library,this.module=t.module,this.buildType=t.buildType,this.timestamp=t.timestamp,this.productFlavors=t.productFlavors,this.locales=t.locales,this.baseUrl=t.baseUrl}toCdnFile(){return{id:this.id,file:this.file,path:this.path,library:this.library,module:this.module,buildType:this.buildType,productFlavors:this.productFlavors,locales:this.locales.map((t=>({locale:t.locale,isBaseLocale:t.isBaseLocale,uri:`${this.baseUrl}${t.uri}`})))}}}class gi{constructor(t,r){e(this,"projectUrl"),e(this,"baseLocale"),e(this,"locales"),e(this,"timestamp"),e(this,"files"),e(this,"filesMap"),this.projectUrl=t.projectUrl,this.timestamp=t.timestamp,this.files=gi.filesFactory(t.files,t.baseLocale,r),this.filesMap=gi.filesMapFactory(this.files),this.locales=gi.localesFactory(this.files),this.baseLocale=this.locales.find((t=>t.isBaseLocale))}static createEmpty(t){return new gi({projectUrl:"",baseLocale:"",timestamp:0,files:{}},t)}static filesFactory(t,e,r){return Object.keys(t).reduce(((n,a)=>{const i=t[a].locales.map((t=>new bi(t,e)));return n.push(new yi({...t[a],id:a,locales:i,baseUrl:r.baseUrl})),n}),[])}static filesMapFactory(t){return t.reduce(((t,e)=>(t[e.id]=e,t)),{})}static localesFactory(t){const e=t.reduce(((t,e)=>(t.push(...e.locales.map((t=>t.toCdnLocale()))),t)),[]);return di(e,(t=>t.locale))}}class mi{constructor(t){e(this,"options"),this.options=mi.parseMetafileUrl(t)}get url(){return this.options.url}get baseUrl(){return this.options.baseUrl}get cdnId(){return this.options.cdnId}get jsonPath(){return this.options.jsonPath}static parseMetafileUrl(t){let e;try{e=new URL(t)}catch(t){throw new Error('Invalid param: "options.metafile" cannot be parsed as url.')}const r=e.pathname.match(/^\/(.*?)\/(.*?)\.(v2.json|js|ts)$/);if(null===r||4!==r.length)throw new Error('Invalid param: "options.metafile" contains invalid metafile url.');const n=r[1],a=r[2];return{url:t,baseUrl:e.origin,cdnId:n,jsonPath:`/${n}/${a}.v2.json`}}}class ji{constructor(t){e(this,"params"),e(this,"parsedData"),e(this,"data"),this.params=new mi(t.metafile),this.parsedData=null,this.data=gi.createEmpty(this.params)}setMetafile(t){this.parsedData=t,this.data=new gi(t,this.params)}}class wi{constructor(t){e(this,"context"),this.context=t}createCdnResponse(t){const{responses:e,hasSingleFileResponse:r,hasSingleLocaleResponse:n}=t;return 0===e.length?{}:(this.cacheResponses(e),r&&n?e[0].data:wi.transformResponsesToOutput(t))}cacheResponses(t){t.forEach((t=>{const{metafileFile:e,metafileLocale:r}=wi.extractReference(t);e&&r&&this.context.cache.setIfMissed({metafileFile:e,metafileLocale:r,data:t.data})}))}static transformResponsesToOutput(t){const{responses:e,hasSingleFileResponse:r}=t;return e.reduce(((t,e)=>{const{metafileFile:n,metafileLocale:a}=wi.extractReference(e);return n&&a&&(r?t[a.locale]=e.data:(t[n.id]||(t[n.id]={}),t[n.id][a.locale]=e.data)),t}),{})}static extractReference(t){var e,r;const n=null==(e=t.config.reference)?void 0:e.metafileFile,a=null==(r=t.config.reference)?void 0:r.metafileLocale,{data:i}=t;return{metafileFile:n,metafileLocale:a,data:i}}}class _i{constructor(t){e(this,"metafile"),e(this,"cdn"),e(this,"client"),e(this,"api"),e(this,"cache"),e(this,"responseFactory"),this.metafile=t.metafileContext,this.cdn=t.cdn,this.client=t.client,this.api=new n(this),this.cache=new be(this),this.responseFactory=new wi(this)}}var xi=function(t){return function(e,r,n){for(var a=-1,i=Object(e),o=n(e),s=o.length;s--;){var c=o[t?s:++a];if(!1===r(i[c],c,i))break}return e}}(),Oi=ln;var Fi=on;var Ai=function(t,e){return function(r,n){if(null==r)return r;if(!Fi(r))return t(r,n);for(var a=r.length,i=e?a:-1,o=Object(r);(e?i--:++i<a)&&!1!==n(o[i],i,o););return r}}((function(t,e){return t&&xi(t,e,Oi)}));var Li=er,Si=function(t,e){var r=[];return Ai(t,(function(t,n,a){e(t,n,a)&&r.push(t)})),r},Mi=hi,Ei=ye;const Ri=i((function(t,e){return(Ei(t)?Li:Si)(t,Mi(e))}));var Ii=hi,Ui=on,Pi=ln;var $i=function(t){return function(e,r,n){var a=Object(e);if(!Ui(e)){var i=Ii(r);e=Pi(e),r=function(t){return i(a[t],t,a)}}var o=t(e,r,n);return o>-1?a[i?e[o]:o]:void 0}},zi=/\s/;var qi=function(t){for(var e=t.length;e--&&zi.test(t.charAt(e)););return e},Bi=/^\s+/;var Ti=function(t){return t?t.slice(0,qi(t)+1).replace(Bi,""):t},ki=_,Ci=fa,Ni=/^[-+]0x[0-9a-f]+$/i,Di=/^0b[01]+$/i,Vi=/^0o[0-7]+$/i,Wi=parseInt;var Gi=function(t){if("number"==typeof t)return t;if(Ci(t))return NaN;if(ki(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=ki(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=Ti(t);var r=Di.test(t);return r||Vi.test(t)?Wi(t.slice(2),r?2:8):Ni.test(t)?NaN:+t},Hi=1/0;var Ji=function(t){return t?(t=Gi(t))===Hi||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0};var Ki=Ht,Qi=hi,Xi=function(t){var e=Ji(t),r=e%1;return e==e?r?e-r:e:0},Yi=Math.max;const Zi=i($i((function(t,e,r){var n=null==t?0:t.length;if(!n)return-1;var a=null==r?0:Xi(r);return a<0&&(a=Yi(n+a,0)),Ki(t,Qi(e),a)})));var to=Yr(Object.getPrototypeOf,Object),eo=w,ro=to,no=me,ao=Function.prototype,io=Object.prototype,oo=ao.toString,so=io.hasOwnProperty,co=oo.call(Object);const uo=i((function(t){if(!no(t)||"[object Object]"!=eo(t))return!1;var e=ro(t);if(null===e)return!0;var r=so.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&oo.call(r)==co}));var lo=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n&&!1!==e(t[r],r,t););return t},fo=W,ho=function(){try{var t=fo(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();var po=function(t,e,r){"__proto__"==e&&ho?ho(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r},vo=po,bo=lt,yo=Object.prototype.hasOwnProperty;var go=function(t,e,r){var n=t[e];yo.call(t,e)&&bo(n,r)&&(void 0!==r||e in t)||vo(t,e,r)},mo=go,jo=po;var wo=function(t,e,r,n){var a=!r;r||(r={});for(var i=-1,o=e.length;++i<o;){var s=e[i],c=n?n(r[s],t[s],s,r,t):void 0;void 0===c&&(c=t[s]),a?jo(r,s,c):mo(r,s,c)}return r},_o=wo,xo=ln;var Oo=function(t,e){return t&&_o(e,xo(e),t)};var Fo=_,Ao=Xr,Lo=function(t){var e=[];if(null!=t)for(var r in Object(t))e.push(r);return e},So=Object.prototype.hasOwnProperty;var Mo=Kr,Eo=function(t){if(!Fo(t))return Lo(t);var e=Ao(t),r=[];for(var n in t)("constructor"!=n||!e&&So.call(t,n))&&r.push(n);return r},Ro=on;var Io=function(t){return Ro(t)?Mo(t,!0):Eo(t)},Uo=wo,Po=Io;var $o=function(t,e){return t&&Uo(e,Po(e),t)},zo={exports:{}};!function(t,e){var r=u,n=e&&!e.nodeType&&e,a=n&&t&&!t.nodeType&&t,i=a&&a.exports===n?r.Buffer:void 0,o=i?i.allocUnsafe:void 0;t.exports=function(t,e){if(e)return t.slice();var r=t.length,n=o?o(r):new t.constructor(r);return t.copy(n),n}}(zo,zo.exports);var qo=zo.exports;var Bo=function(t,e){var r=-1,n=t.length;for(e||(e=Array(n));++r<n;)e[r]=t[r];return e},To=wo,ko=sr;var Co=function(t,e){return To(t,ko(t),e)},No=Xe,Do=to,Vo=sr,Wo=rr,Go=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)No(e,Vo(t)),t=Do(t);return e}:Wo,Ho=wo,Jo=Go;var Ko=function(t,e){return Ho(t,Jo(t),e)},Qo=tr,Xo=Go,Yo=Io;var Zo=function(t){return Qo(t,Yo,Xo)},ts=Object.prototype.hasOwnProperty;var es=function(t){var e=t.length,r=new t.constructor(e);return e&&"string"==typeof t[0]&&ts.call(t,"index")&&(r.index=t.index,r.input=t.input),r},rs=Ne;var ns=function(t){var e=new t.constructor(t.byteLength);return new rs(e).set(new rs(t)),e},as=ns;var is=function(t,e){var r=e?as(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)},os=/\w*$/;var ss=function(t){var e=new t.constructor(t.source,os.exec(t));return e.lastIndex=t.lastIndex,e},cs=l?l.prototype:void 0,us=cs?cs.valueOf:void 0;var ls=ns;var fs=ns,hs=is,ps=ss,vs=function(t){return us?Object(us.call(t)):{}},ds=function(t,e){var r=e?ls(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)};var bs=function(t,e,r){var n=t.constructor;switch(e){case"[object ArrayBuffer]":return fs(t);case"[object Boolean]":case"[object Date]":return new n(+t);case"[object DataView]":return hs(t,r);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return ds(t,r);case"[object Map]":case"[object Set]":return new n;case"[object Number]":case"[object String]":return new n(t);case"[object RegExp]":return ps(t);case"[object Symbol]":return vs(t)}},ys=_,gs=Object.create,ms=function(){function t(){}return function(e){if(!ys(e))return{};if(gs)return gs(e);t.prototype=e;var r=new t;return t.prototype=void 0,r}}(),js=to,ws=Xr;var _s=function(t){return"function"!=typeof t.constructor||ws(t)?{}:ms(js(t))},xs=zn,Os=me;var Fs=function(t){return Os(t)&&"[object Map]"==xs(t)},As=$r,Ls=qr&&qr.isMap,Ss=Ls?As(Ls):Fs,Ms=zn,Es=me;var Rs=function(t){return Es(t)&&"[object Set]"==Ms(t)},Is=$r,Us=qr&&qr.isSet,Ps=Us?Is(Us):Rs,$s=qe,zs=lo,qs=go,Bs=Oo,Ts=$o,ks=qo,Cs=Bo,Ns=Co,Ds=Ko,Vs=vn,Ws=Zo,Gs=zn,Hs=es,Js=bs,Ks=_s,Qs=ye,Xs=Ar,Ys=Ss,Zs=_,tc=Ps,ec=ln,rc=Io,nc="[object Arguments]",ac="[object Function]",ic="[object Object]",oc={};oc[nc]=oc["[object Array]"]=oc["[object ArrayBuffer]"]=oc["[object DataView]"]=oc["[object Boolean]"]=oc["[object Date]"]=oc["[object Float32Array]"]=oc["[object Float64Array]"]=oc["[object Int8Array]"]=oc["[object Int16Array]"]=oc["[object Int32Array]"]=oc["[object Map]"]=oc["[object Number]"]=oc[ic]=oc["[object RegExp]"]=oc["[object Set]"]=oc["[object String]"]=oc["[object Symbol]"]=oc["[object Uint8Array]"]=oc["[object Uint8ClampedArray]"]=oc["[object Uint16Array]"]=oc["[object Uint32Array]"]=!0,oc["[object Error]"]=oc[ac]=oc["[object WeakMap]"]=!1;var sc=function t(e,r,n,a,i,o){var s,c=1&r,u=2&r,l=4&r;if(n&&(s=i?n(e,a,i,o):n(e)),void 0!==s)return s;if(!Zs(e))return e;var f=Qs(e);if(f){if(s=Hs(e),!c)return Cs(e,s)}else{var h=Gs(e),p=h==ac||"[object GeneratorFunction]"==h;if(Xs(e))return ks(e,c);if(h==ic||h==nc||p&&!i){if(s=u||p?{}:Ks(e),!c)return u?Ds(e,Ts(s,e)):Ns(e,Bs(s,e))}else{if(!oc[h])return i?e:{};s=Js(e,h,c)}}o||(o=new $s);var v=o.get(e);if(v)return v;o.set(e,s),tc(e)?e.forEach((function(a){s.add(t(a,r,n,a,e,o))})):Ys(e)&&e.forEach((function(a,i){s.set(i,t(a,r,n,i,e,o))}));var d=f?void 0:(l?u?Ws:Vs:u?rc:ec)(e);return zs(d||e,(function(a,i){d&&(a=e[i=a]),qs(s,i,t(a,r,n,i,e,o))})),s},cc=sc,uc=ca;const lc=i((function(t){return uc(cc(t,1))})),fc=class t extends Oe{constructor(){super(...arguments),e(this,"list",(()=>t.transformFiles(this.context.metafile.data.files))),e(this,"filter",(e=>{if(!e)throw new Error('Invalid param: missing required "options" parameter.');if(!A(e)&&!uo(e))throw new Error('Invalid param: "options" must be function or object.');const r=t.transformFiles(this.context.metafile.data.files);return A(e)?r.filter(e):Ri(r,lc(e))})),e(this,"find",(e=>{if(!e)throw new Error('Invalid param: missing required "options" parameter.');if(!A(e)&&!uo(e))throw new Error('Invalid param: "options" must be function or object.');const r=t.transformFiles(this.context.metafile.data.files);return A(e)?r.find(e):Zi(r,lc(e))})),e(this,"first",(()=>{if(0===this.context.metafile.data.files.length)throw new Error("File is missing in downloaded metafile.");return t.transformFiles(this.context.metafile.data.files)[0]}))}};e(fc,"transformFiles",(t=>t.map((t=>t.toCdnFile()))));let hc=fc;class pc extends Oe{constructor(t){super(t),e(this,"files"),e(this,"locales",(t=>{const{excludeBaseLocale:e}=t||{},{locales:r}=this.context.metafile.data;return e?r.filter((t=>!t.isBaseLocale)):r})),e(this,"refresh",(async t=>{const e=await this.context.api.fetchMetafile(t);this.context.metafile.setMetafile(e.data)})),e(this,"switch",(async(t,e)=>{this.context.metafile.params=new mi(t.metafile),await this.refresh(e)})),this.files=new hc(t)}get projectUrl(){return this.context.metafile.data.projectUrl}get baseLocale(){return this.context.metafile.data.baseLocale}get url(){return this.context.metafile.params.url}}const vc=i((function(t){return void 0===t}));class dc{constructor(t){e(this,"data"),e(this,"context"),this.context=t.context,this.data=t.data||{}}}class bc{constructor(t){e(this,"files"),e(this,"localesMap"),e(this,"hasSingleFileResponse"),e(this,"hasSingleLocaleResponse"),e(this,"context"),this.files=[],this.localesMap=new dc({context:t}),this.hasSingleFileResponse=!1,this.hasSingleLocaleResponse=!1,this.context=t}async execute(){return this.context.responseFactory.createCdnResponse({responses:await Promise.all(this.getPromises()),localesMap:this.localesMap,hasSingleFileResponse:this.hasSingleFileResponse,hasSingleLocaleResponse:this.hasSingleLocaleResponse})}getPromises(){return this.files.reduce(((t,e)=>(this.localesMap.data[e.id]&&t.push(...this.localesMap.data[e.id].map((t=>this.context.api.fetchLocale({metafileFile:e,metafileLocale:t})))),t)),[])}}class yc{constructor(t){e(this,"context"),e(this,"request"),this.context=t,this.request=new bc(this.context)}addFiles(t){if(!(uo(t)||xe(t)||vc(t)||ge(t)))throw new Error('Invalid param: "request.files" must be object, array, string or undefined.');if(ge(t)&&t.forEach((t=>{if(!uo(t)&&!xe(t))throw new Error('Invalid param: array "request.files" must contain objects or strings.')})),xe(t)){this.request.hasSingleFileResponse=!0;const e=this.context.metafile.data.files.find((e=>e.id===t));if(!(e instanceof yi))throw new Error(`File not found: "${t}".`);this.request.files=[e]}else if(vc(t))this.request.files=[...this.context.metafile.data.files];else if(ge(t))this.request.files=t.map((t=>{let e;if(xe(t)){const r=this.context.metafile.data.files.find((e=>e.id===t));if(vc(r))throw new Error(`File not found: "${t}".`);e=r}else{const r=this.context.metafile.data.files.find((e=>e.id===t.id));if(vc(r))throw new Error(`File not found: "${t.id}".`);e=r}return e}));else if(uo(t)){this.request.hasSingleFileResponse=!0;const e=this.context.metafile.data.files.find((e=>e.id===t.id));if(vc(e))throw new Error(`File not found: "${t.id}".`);this.request.files=[e]}return this}addLocales(t,e){if(!(xe(t)||vc(t)||ge(t)))throw new Error('Invalid param: "request.locales" must be array, string or undefined.');return ge(t)&&t.forEach((t=>{if(!xe(t))throw new Error('Invalid param: array "request.locales" must contain strings.')})),xe(t)?(this.request.hasSingleLocaleResponse=!0,this.request.files.reduce(((e,r)=>(e.data[r.id]=r.locales.filter((e=>e.locale===t)),e)),this.request.localesMap)):vc(t)?this.request.files.reduce(((t,r)=>(t.data[r.id]=e?r.locales.filter((t=>!t.isBaseLocale)):r.locales,t)),this.request.localesMap):ge(t)&&this.request.files.reduce(((e,r)=>(e.data[r.id]=r.locales.filter((e=>t.includes(e.locale))),e)),this.request.localesMap),this}getCdnRequest(){const t=this.request;return this.request=new bc(this.context),t}}class gc{constructor(t,r){e(this,"client"),this.client=gc.clientFactory(t,r)}static clientFactory(t,e){const n={baseURL:t,...e};return r.create(n)}get(t,e){return this.client.get(t,e)}}class mc{constructor(t,r){e(this,"metafile"),e(this,"cache"),e(this,"context"),e(this,"fetch",(async t=>{const{files:e,locales:r,excludeBaseLocale:n}=t||{};return new yc(this.context).addFiles(e).addLocales(r,n).getCdnRequest().execute()}));const n=new ji(t),a=new gc(n.params.baseUrl,r);this.context=new _i({metafileContext:n,cdn:this,client:a}),this.metafile=new pc(this.context),this.cache=new Fe(this.context)}static async create(t,e){if(!t)throw new Error('Invalid param: missing required "options" parameter.');if(!xe(t.metafile))throw new Error('Invalid param: "options.metafile" must be string.');const r=new mc(t,e);return await r.metafile.refresh(e),r}}export{n as Api,gc as AxiosHttpAdapter,Oe as CdnBase,Fe as CdnCache,mc as CdnClient,pc as CdnMetafile,hc as CdnMetafileFiles,_i as Context,be as LocalesCache,dc as LocalesMap,de as MemoryCacheAdapter,ji as MetafileContext,gi as MetafileData,yi as MetafileFile,bi as MetafileLocale,mi as MetafileParams,bc as Request,yc as RequestBuilder,wi as ResponseFactory};
|
|
6
|
+
//# sourceMappingURL=localazy-cdn.min.js.map
|