1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/browser-ponyfill-D4eHoV-P.js","assets/index-BpLLe65f.js","assets/index-Cb_-3jXA.css"])))=>i.map(i=>d[i]); 2import{_ as D}from"./index-BpLLe65f.js";function $(t,e){var n=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=K(t))||e){n&&(t=n);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(u){throw u},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. 3In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var f,o=!0,c=!1;return{s:function(){n=n.call(t)},n:function(){var u=n.next();return o=u.done,u},e:function(u){c=!0,f=u},f:function(){try{o||n.return==null||n.return()}finally{if(c)throw f}}}}function K(t,e){if(t){if(typeof t=="string")return q(t,e);var n={}.toString.call(t).slice(8,-1);return n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set"?Array.from(t):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?q(t,e):void 0}}function q(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function S(t){"@babel/helpers - typeof";return S=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},S(t)}var X=["__proto__","constructor","prototype"];function C(t){return!(typeof t!="string"||t.length===0||t.length>128||X.indexOf(t)>-1||t.indexOf("..")>-1||t.indexOf("\\")>-1||/[?#%\s@]/.test(t)||/[\x00-\x1F\x7F]/.test(t))}function U(t){return!(!C(t)||t.indexOf("/")>-1)}function N(t){return C(t)}var W={lng:U,ns:N};function w(t){return typeof t!="string"?t:t.replace(/[\r\n\x00-\x1F\x7F]/g," ")}function Y(t){if(typeof t!="string"||t.length===0)return t;try{var e=new URL(t);return e.username||e.password?(e.username="",e.password="",e.toString()):t}catch{return t.replace(/(\/\/)[^/@\s]+@/g,"$1")}}function M(){return typeof XMLHttpRequest=="function"||(typeof XMLHttpRequest>"u"?"undefined":S(XMLHttpRequest))==="object"}function k(t){return!!t&&typeof t.then=="function"}function B(t){return k(t)?t:Promise.resolve(t)}var G=/\{\{(.+?)\}\}/g;function A(t,e){var n=!1,r=t.replace(G,function(i,f){var o=f.trim();if(X.indexOf(o)>-1)return i;var c=e[o];if(c==null)return i;var a=W[o]||U,u=String(c).split("+"),s=$(u),d;try{for(s.s();!(d=s.n()).done;){var l=d.value;if(!a(l))return n=!0,i}}catch(p){s.e(p)}finally{s.f()}return u.join("+")});return n?null:r}function E(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function H(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?E(Object(n),!0).forEach(function(r){J(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):E(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function J(t,e,n){return(e=Q(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Q(t){var e=V(t,"string");return h(e)=="symbol"?e:e+""}function V(t,e){if(h(t)!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e);if(h(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function h(t){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h(t)}var y=typeof fetch=="function"?fetch:void 0;typeof globalThis<"u"&&globalThis.fetch?y=globalThis.fetch:typeof window<"u"&&window.fetch&&(y=window.fetch);var b;M()&&(typeof globalThis<"u"&&globalThis.XMLHttpRequest?b=globalThis.XMLHttpRequest:typeof window<"u"&&window.XMLHttpRequest&&(b=window.XMLHttpRequest));var P;typeof ActiveXObject=="function"&&(typeof globalThis<"u"&&globalThis.ActiveXObject?P=globalThis.ActiveXObject:typeof window<"u"&&window.ActiveXObject&&(P=window.ActiveXObject));typeof y!="function"&&(y=void 0);if(!y&&!b&&!P)try{D(()=>import("./browser-ponyfill-D4eHoV-P.js").then(t=>t.b),__vite__mapDeps([0,1,2])).then(function(t){y=t.default}).catch(function(){})}catch{}var x=["__proto__","constructor","prototype"],_=function(e,n){if(n&&h(n)==="object"){for(var r="",i=0,f=Object.keys(n);i<f.length;i++){var o=f[i];x.indexOf(o)>-1||(r+="&"+encodeURIComponent(o)+"="+encodeURIComponent(n[o]))}if(!r)return e;e=e+(e.indexOf("?")!==-1?"&":"?")+r.slice(1)}return e}
3,L=function(e,n,r,i){var f=function(a){if(!a.ok)return r(a.statusText||"Error",{status:a.status});a.text().then(function(u){r(null,{status:a.status,data:u})}).catch(r)};if(i){var o=i(e,n);if(o instanceof Promise){o.then(f).catch(r);return}}typeof fetch=="function"?fetch(e,n).then(f).catch(r):y(e,n).then(f).catch(r)},z=function(e,n,r,i){e.queryStringParams&&(n=_(n,e.queryStringParams));var f=H({},typeof e.customHeaders=="function"?e.customHeaders():e.customHeaders);typeof window>"u"&&typeof globalThis<"u"&&typeof globalThis.process<"u"&&globalThis.process.versions&&globalThis.process.versions.node&&(f["User-Agent"]="i18next-http-backend (node/".concat(globalThis.process.version,"; ").concat(globalThis.process.platform," ").concat(globalThis.process.arch,")")),r&&(f["Content-Type"]="application/json");var o=typeof e.requestOptions=="function"?e.requestOptions(r):e.requestOptions,c=H({method:r?"POST":"GET",body:r?e.stringify(r):void 0,headers:f},e._omitFetchOptions?{}:o),a=typeof e.alternateFetch=="function"&&e.alternateFetch.length>=1?e.alternateFetch:void 0;try{L(n,c,i,a)}catch(u){if(!o||Object.keys(o).length===0||!u.message||u.message.indexOf("not implemented")<0)return i(u);try{Object.keys(o).forEach(function(s){delete c[s]}),L(n,c,i,a),e._omitFetchOptions=!0}catch(s){i(s)}}},Z=function(e,n,r,i){r&&h(r)==="object"&&(r=_("",r).slice(1)),e.queryStringParams&&(n=_(n,e.queryStringParams));try{var f=b?new b:new P("MSXML2.XMLHTTP.3.0");f.open(r?"POST":"GET",n,1),e.crossDomain||f.setRequestHeader("X-Requested-With","XMLHttpRequest"),f.withCredentials=!!e.withCredentials,r&&f.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),f.overrideMimeType&&f.overrideMimeType("application/json");var o=e.customHeaders;if(o=typeof o=="function"?o():o,o)for(var c=0,a=Object.keys(o);c<a.length;c++){var u=a[c];x.indexOf(u)>-1||f.setRequestHeader(u,o[u])}f.onreadystatechange=function(){f.readyState>3&&i(f.status>=400?f.statusText:null,{status:f.status,data:f.responseText})},f.send(r)}catch(s){console&&console.log(s)}},ee=function(e,n,r,i){if(typeof r=="function"&&(i=r,r=void 0),i=i||function(){},y&&n.indexOf("file:")!==0)return z(e,n,r,i);if(M()||typeof ActiveXObject=="function")return Z(e,n,r,i);i(new Error("No fetch and no xhr implementation found!"))};function v(t){"@babel/helpers - typeof";return v=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},v(t)}function R(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function j(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?R(Object(n),!0).forEach(function(r){F(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):R(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function te(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ne(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,I(r.key),r)}}function re(t,e,n){return e&&ne(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function F(t,e,n){return(e=I(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function I(t){var e=ie(t,"string");return v(e)=="symbol"?e:e+""}function ie(t,e){if(v(t)!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e);if(v(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}var oe=function(){return{loadPath:"/locales/{{lng}}/{{ns}}.json",addPath:"/locales/add/{{lng}}/{{ns}}",parse:function(n){return JSON.parse(n)},stringify:JSON.stringify,parsePayload:function(n,r,i){return F({},r,i||"")},parseLoadPayload:function(n,r){},request:ee,reloadInterval:typeof window<"u"?!1:3600*1e3,customHeaders:{},queryStringParams:{},crossDomain:!1,withCredentials:!1,overrideMimeType:!1,requestOptions:{mode:"cors",credentials:"same-origin",cache:"default"}}},fe=(function(){function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};te(this,t),this.services=e,this.options=n,this.allOptions=r,this.type="backend",this.init(e,n,r)}return re(t,[{key:"init",value:function(n){var r=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(this.services=n,this.options=j(j(j({},oe()),this.options||{}),i),this.allOptions=f,this.services&&this.options.reloadInterval){var o=setInterval(function(){return r.reload()},this.options.reloadInterval);v(o)==="object"&&typeof o.unref=="function"&&o.unref()}}},{key:"readMulti",value:function(n,r,i){this._readAny(n,n,r,r,i)}},{key:"read",value:function(n,r,i){this._readAny([n],n,[r],r,i)}},{key:"_readAny",value:function(n,r,i,f,o){var c=this,a=this.options.loadPath;typeof this.options.loadPath=="function"&&(a=this.options.loadPath(n,i)),a=B(a),a.then(function(u){if(!u)return o(null,{});var s=A(u,{lng:n.join("+"),ns:i.join("+")});if(s==null){var d=n.map(w).join(", "),l=i.map(w).join(", ");return o(new Error("i18next-http-backend: unsafe lng/ns value â refusing to build request URL for languages=["+d+"] namespaces=["+l+"]"),!1)}c.loadUrl(s,o,r,f)})}},{key:"loadUrl",value:function(n,r,i,f){var o=this,c=typeof i=="string"?[i]:i,a=typeof f=="string"?[f]:f,u=this.options.parseLoadPayload(c,a),s=w(Y(n));this.options.request(this.options,n,u,function(d,l){if(l&&(l.status>=500&&l.status<600||!l.status))return r("failed loading "+s+"; status code: "+l.status,!0);if(l&&l.status>=400&&l.status<500)return r("failed loading "+s+"; status code: "+l.status,!1);if(!l&&d&&d.message){var p=d.message.toLowerCase(),O=["failed","fetch","network","load"].find(function(T){return p.indexOf(T)>-1});if(O)return r("failed loading "+s+": "+w(d.message),!0)}if(d)return r(d,!1);var g,m;
3try{typeof l.data=="string"?g=o.options.parse(l.data,i,f):g=l.data}catch{m="failed parsing "+s+" to json"}if(m)return r(m,!1);r(null,g)})}},{key:"create",value:function(n,r,i,f,o){var c=this;if(this.options.addPath){typeof n=="string"&&(n=[n]);var a=this.options.parsePayload(r,i,f),u=0,s=[],d=[];n.forEach(function(l){var p=c.options.addPath;typeof c.options.addPath=="function"&&(p=c.options.addPath(l,r));var O=A(p,{lng:l,ns:r});if(O==null){u+=1,o&&u===n.length&&o(s,d);return}c.options.request(c.options,O,a,function(g,m){u+=1,s.push(g),d.push(m),u===n.length&&typeof o=="function"&&o(s,d)})})}}},{key:"reload",value:function(){var n=this,r=this.services,i=r.backendConnector,f=r.languageUtils,o=r.logger,c=i.language;if(!(c&&c.toLowerCase()==="cimode")){var a=[],u=function(d){var l=f.toResolveHierarchy(d);l.forEach(function(p){a.indexOf(p)<0&&a.push(p)})};u(c),this.allOptions.preload&&this.allOptions.preload.forEach(function(s){return u(s)}),a.forEach(function(s){n.allOptions.ns.forEach(function(d){i.read(s,d,"read",null,null,function(l,p){l&&o.warn("loading namespace ".concat(d," for language ").concat(s," failed"),l),!l&&p&&o.log("loaded namespace ".concat(d," for language ").concat(s),p),i.loaded("".concat(s,"|").concat(d),l,p)})})})}}}])})();fe.type="backend";export{fe as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.