Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) Safe-mode: OFF (not secure) /var/www/html/wincloud_gateway/node_modules/@formatjs/intl-listformat/dist/umd/ drwxr-xr-x | |
| Viewing file: Select action/file-type: !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).IntlListFormat={})}(this,function(e){"use strict";function O(e,t,r){if(void 0===r&&(r=Error),!e)throw new r(t)}function s(e){if(null==e)throw new TypeError("undefined/null cannot be converted to object");return Object(e)}function p(e,t,r,n,o){var a=e[t];if(void 0===a)return o;if("boolean"!==r&&"string"!==r)throw new TypeError("invalid type");if("boolean"===r&&(a=Boolean(a)),"string"===r&&(a=function(e){if("symbol"==typeof e)throw TypeError("Cannot convert a Symbol value to a string");return String(e)}(a)),void 0!==n&&!n.filter(function(e){return e==a}).length)throw new RangeError(a+" is not within "+n.join(", "));return a}function _(e,t,r,n){e.get(t)||e.set(t,Object.create(null)),e.get(t)[r]=n}function l(e,t,r){return function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var o=e.get(t);if(o)return r.reduce(function(e,t){return e[t]=o[t],e},Object.create(null));throw new TypeError(t+" InternalSlot has not been initialized")}(e,t,r)[r]}function m(e){var t=Intl.getCanonicalLocales;return"function"==typeof t?t(e):Intl.DateTimeFormat.supportedLocalesOf(e)}var n,t=(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),a=function(){return(a=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function v(e){var u,c,b=function(e,t){for(var r={locale:""},n=0,o=t;n<o.length;n++){var a=o[n],l=a.replace(f,""),i=h(e,l);if(i)return r.locale=i,a!==l&&(r.extension=a.slice(l.length+1,a.length)),r}return r.locale=u(),r},L=(c=u=e,function(e,t){for(var r={locale:""},n=0,o=t;n<o.length;n++){var a=o[n],l=a.replace(f,""),i=h(e,l);if(i)return r.locale=i,a!==l&&(r.extension=a.slice(l.length+1,a.length)),r}return r.locale=c(),r});return function(e,t,r,n,o){for(var a,l=("lookup"===r.localeMatcher?b:L)(e,t),i=l.locale,u={locale:"",dataLocale:i},c="-u",f=0,s=n;f<s.length;f++){var p=s[f],_=o[i];O("object"==typeof _&&null!==_,"locale data "+p+" must be an object");var v=_[p];O(Array.isArray(v),"keyLocaleData for "+p+" must be an array");var h=v[0];O("string"==typeof h||null===h,"value must be string or null");var y,d,g="";!l.extension||void 0!==(y=A(l.extension,p))&&(""!==y?~v.indexOf(y)&&(g="-"+p+"-"+(h=y)):~y.indexOf("true")&&(h="true",g="-"+p)),p in r&&(O("string"==typeof(d=r[p])||null==d,"optionsValue must be String, Undefined or Null"),~v.indexOf(d)&&d!==h&&(h=d,g="")),u[p]=h,c+=g}return 2<c.length&&(-1===(a=i.indexOf("-x-"))?i+=c:i=i.slice(0,a)+c+i.slice(a,i.length),i=m(i)[0]),u.locale=i,u}}function A(e,t){O(2===t.length,"key must have 2 elements");var r=e.length,n="-"+t+"-",o=e.indexOf(n);if(-1!==o){for(var a=o+4,l=a,i=a,u=!1;!u;){var c=e.indexOf("-",i);2===(-1===c?r-i:c-i)?u=!0:-1===c?(l=r,u=!0):i=(l=c)+1}return e.slice(a,l)}if(n="-"+t,-1!==(o=e.indexOf(n))&&o+3===r)return""}var f=/-u(?:-[0-9a-z]{2,8})+/gi;function h(e,t){for(var r=t;;){if(~e.indexOf(r))return r;var n=r.lastIndexOf("-");if(!~n)return;2<=n&&"-"===r[n-2]&&(n-=2),r=r.slice(0,n)}}function i(e,t){for(var r=[],n=0,o=t;n<o.length;n++){var a=h(e,o[n].replace(f,""));a&&r.push(a)}return r}var r,u=(r=Error,t(o,r),o);function o(){var e=null!==r&&r.apply(this,arguments)||this;return e.type="MISSING_LOCALE_DATA",e}function c(e,t,r){void 0===r&&(r=function(e,t){return a(a({},e),t)});var n=function(e,t,r){var n=[e];t[e]&&(e=t[e],n.push(e));var o=r[e];o&&n.push(o);for(var a=e.split("-"),l=a.length;1<l;l--)n.push(a.slice(0,l-1).join("-"));return n}(e,t.aliases,t.parentLocales),o=n.map(function(e){return t.data[e]}).filter(Boolean);if(!o.length)throw new u('Missing locale data for "'+e+'", lookup hierarchy: '+n.join(", "));return o.reverse(),o.reduce(r,{})}var y=function(){return(y=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},d=function(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;for(var n=Array(e),o=0,t=0;t<r;t++)for(var a=arguments[t],l=0,i=a.length;l<i;l++,o++)n[o]=a[l];return n};function g(e,t){if(!(e instanceof w))throw new TypeError("Method Intl.ListFormat.prototype."+t+" called on incompatible receiver "+String(e))}function b(e){if(void 0===e)return[];for(var t=[],r=0,n=e;r<n.length;r++){var o=n[r];if("string"!=typeof o)throw new TypeError("array list["+e.indexOf(o)+"] is not type String");t.push(o)}return t}function L(e,t,r){var n=r.length;if(0===n)return[];if(2===n)return T(l(e,t,"templatePair"),{0:{type:"element",value:r[0]},1:{type:"element",value:r[1]}});for(var o={type:"element",value:r[n-1]},a=n-2;0<=a;){o=T(l(e,t,0===a?"templateStart":a<n-2?"templateMiddle":"templateEnd"),{0:{type:"element",value:r[a]},1:o});a--}return o}function T(e,t){for(var r=[],n=0,o=function(e){for(var t=[],r=e.indexOf("{"),n=0,o=0,a=e.length;r<e.length&&-1<r;)O(r<(n=e.indexOf("}",r)),"Invalid pattern "+e),o<r&&t.push({type:"literal",value:e.substring(o,r)}),t.push({type:e.substring(r+1,n),value:void 0}),o=n+1,r=e.indexOf("{",o);return o<a&&t.push({type:"literal",value:e.substring(o,a)}),t}(e);n<o.length;n++){var a,l=o[n],i=l.type;"literal"===l.type?r.push({type:"literal",value:l.value}):(O(i in t,i+" is missing from placables"),a=t[i],Array.isArray(a)?r.push.apply(r,a):r.push(a))}return r}var w=(E.prototype.format=function(e){g(this,"format");var t="",r=L(E.__INTERNAL_SLOT_MAP__,this,b(e));if(!Array.isArray(r))return r.value;for(var n=0,o=r;n<o.length;n++)t+=o[n].value;return t},E.prototype.formatToParts=function(e){g(this,"format");var t=L(E.__INTERNAL_SLOT_MAP__,this,b(e));if(!Array.isArray(t))return[t];for(var r=[],n=0,o=t;n<o.length;n++){var a=o[n];r.push(y({},a))}return r},E.prototype.resolvedOptions=function(){return g(this,"resolvedOptions"),{locale:l(E.__INTERNAL_SLOT_MAP__,this,"locale"),type:l(E.__INTERNAL_SLOT_MAP__,this,"type"),style:l(E.__INTERNAL_SLOT_MAP__,this,"style")}},E.supportedLocalesOf=function(e,t){return r=E.availableLocales,n=m(e),void 0!==(o=t)&&p(o=s(o),"localeMatcher","string",["lookup","best fit"],"best fit"),i(r,n);var r,n,o},E.__addLocaleData=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=function(t){Object.keys(d(t.availableLocales,Object.keys(t.aliases),Object.keys(t.parentLocales)).reduce(function(e,t){return e[t]=!0,e},{})).forEach(function(e){try{E.localeData[e]=c(e,t)}catch(e){}})},n=0,o=e;n<o.length;n++)r(o[n]);E.availableLocales=Object.keys(E.localeData),E.__defaultLocale||(E.__defaultLocale=E.availableLocales[0])},E.getDefaultLocale=function(){return E.__defaultLocale},E.localeData={},E.availableLocales=[],E.__defaultLocale="en",E.relevantExtensionKeys=[],E.polyfilled=!0,E.__INTERNAL_SLOT_MAP__=new WeakMap,E);function E(e,t){if(!(this&&this instanceof E?this.constructor:void 0))throw new TypeError("Intl.ListFormat must be called with 'new'");_(E.__INTERNAL_SLOT_MAP__,this,"initializedListFormat",!0);var r=m(e),n=Object.create(null),o=void 0===t?Object.create(null):s(t),a=p(o,"localeMatcher","string",["best fit","lookup"],"best fit");n.localeMatcher=a;var l=E.localeData,i=v(E.getDefaultLocale)(E.availableLocales,r,n,E.relevantExtensionKeys,l);_(E.__INTERNAL_SLOT_MAP__,this,"locale",i.locale);var u=p(o,"type","string",["conjunction","disjunction","unit"],"conjunction");_(E.__INTERNAL_SLOT_MAP__,this,"type",u);var c=p(o,"style","string",["long","short","narrow"],"long");_(E.__INTERNAL_SLOT_MAP__,this,"style",c);var f=l[i.dataLocale][u][c];_(E.__INTERNAL_SLOT_MAP__,this,"templatePair",f.pair),_(E.__INTERNAL_SLOT_MAP__,this,"templateStart",f.start),_(E.__INTERNAL_SLOT_MAP__,this,"templateMiddle",f.middle),_(E.__INTERNAL_SLOT_MAP__,this,"templateEnd",f.end)}try{"undefined"!=typeof Symbol&&Object.defineProperty(w.prototype,Symbol.toStringTag,{value:"Intl.ListFormat",writable:!1,enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype.constructor,"length",{value:0,writable:!1,enumerable:!1,configurable:!0}),Object.defineProperty(w.supportedLocalesOf,"length",{value:1,writable:!1,enumerable:!1,configurable:!0})}catch(e){}e.default=w,Object.defineProperty(e,"__esModule",{value:!0})});
//# sourceMappingURL=intl-listformat.min.js.map
|
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0419 ]-- |