Files
gemini-viewer-examples/public/demo/libs/gemini-viewer.esm.min.js

7 lines
4.1 MiB
JavaScript
Raw Normal View History

2023-02-04 16:28:29 +08:00
/**
2023-02-07 19:09:26 +08:00
* @pattern-x/gemini-viewer-threejs v0.2.19 build Tue Feb 07 2023
2023-02-04 16:28:29 +08:00
* https://pattern-x.github.io/gemini-viewer-examples/
* Copyright 2023 gemini
* @license UNLICENSED
*/
2023-02-07 19:09:26 +08:00
var nz=f,__create=Object[nz(419)],__defProp=Object[nz(420)],__defProps=Object[nz(421)],__getOwnPropDesc=Object.getOwnPropertyDescriptor,__getOwnPropDescs=Object.getOwnPropertyDescriptors,__getOwnPropNames=Object[nz(422)],__getOwnPropSymbols=Object[nz(423)],__getProtoOf=Object[nz(424)],__hasOwnProp=Object[nz(425)].hasOwnProperty,__propIsEnum=Object[nz(425)][nz(426)],__reflectGet=Reflect[nz(427)],__pow=Math[nz(428)],__defNormalProp=(t,e,n)=>e in t?__defProp(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,__spreadValues=(t,e)=>{var n=nz;for(var r in e||(e={}))__hasOwnProp[n(429)](e,r)&&__defNormalProp(t,r,e[r]);if(__getOwnPropSymbols)for(var r of __getOwnPropSymbols(e))__propIsEnum[n(429)](e,r)&&__defNormalProp(t,r,e[r]);return t},__spreadProps=(t,e)=>__defProps(t,__getOwnPropDescs(e)),__require=(t=>typeof require!==nz(430)?require:"undefined"!=typeof Proxy?new Proxy(t,{get:(t,e)=>(typeof require!==nz(430)?require:t)[e]}):t)((function(t){if("undefined"!=typeof require)return require.apply(this,arguments);throw new Error('Dynamic require of "'+t+'" is not supported')})),__esm=(t,e)=>function(){return t&&(e=(0,t[__getOwnPropNames(t)[0]])(t=0)),e},__commonJS=(t,e)=>function(){var n=nz;return e||(0,t[__getOwnPropNames(t)[0]])((e={exports:{}})[n(431)],e),e[n(431)]},__export=(t,e)=>{for(var n in e)__defProp(t,n,{get:e[n],enumerable:!0})},__copyProps=(t,e,n,r)=>{var i=nz;if(e&&"object"==typeof e||typeof e===i(432))for(let s of __getOwnPropNames(e))__hasOwnProp[i(429)](t,s)||s===n||__defProp(t,s,{get:()=>e[s],enumerable:!(r=__getOwnPropDesc(e,s))||r[i(433)]});return t},__toESM=(t,e,n)=>(n=null!=t?__create(__getProtoOf(t)):{},__copyProps(!e&&t&&t[nz(434)]?n:__defProp(n,nz(435),{value:t,enumerable:!0}),t)),__toCommonJS=t=>__copyProps(__defProp({},nz(434),{value:!0}),t),__superGet=(t,e,n)=>__reflectGet(__getProtoOf(t),n,e),__async=(t,e,n)=>new Promise(((r,i)=>{var s=f,a=t=>{var e=f;try{c(n[e(436)](t))}catch(t){i(t)}},o=t=>{var e=f;try{c(n[e(437)](t))}catch(t){i(t)}},c=t=>t[s(438)]?r(t[s(439)]):Promise[s(440)](t[s(439)]).then(a,o);c((n=n[s(441)](t,e))[s(436)]())})),factory_exports={};function _typeof(t){var e=nz;return(_typeof=typeof Symbol===e(432)&&typeof Symbol.iterator===e(442)?function(t){return typeof t}:function(t){var n=e;return t&&"function"==typeof Symbol&&t[n(443)]===Symbol&&t!==Symbol[n(425)]?"symbol":typeof t})(t)}function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError(nz(444))}function _defineProperties(t,e){for(var n=nz,r=0;r<e.length;r++){var i=e[r];i[n(433)]=i[n(433)]||!1,i[n(445)]=!0,n(439)in i&&(i[n(446)]=!0),Object[n(420)](t,i[n(447)],i)}}function _createClass(t,e,n){return e&&_defineProperties(t[nz(425)],e),n&&_defineProperties(t,n),t}function getPluralRules(t,e,n){var r=nz,i=function(t){var n=f;do{if(e(t))return t;t=t[n(448)](/-?[^-]*$/,"")}while(t);return null},s=function(t){for(var e=f,n=canonicalizeLocaleList(t),r=0;r<n[e(449)];++r){var s=i(n[r]);if(s)return s}return i(defaultLocale())},a=function(){var r=f;function a(n){var r=f,i=arguments[r(449)]>1&&void 0!==arguments[1]?arguments[1]:{};_classCallCheck(this,a),this[r(450)]=s(n),this._select=e(this[r(450)]),this[r(451)]=getType(i[r(452)]),this._nf=new t("en",i)}return _createClass(a,[{key:r(453),value:function(){var t=r,e=this[t(454)][t(453)](),i=e.minimumIntegerDigits,s=e[t(455)],a=e[t(456)],o=e.minimumSignificantDigits,c=e[t(457)],l={locale:this[t(450)],minimumIntegerDigits:i,minimumFractionDigits:s,maximumFractionDigits:a,pluralCategories:n(this[t(450)],"ordinal"===this._type),type:this._type};return typeof o===t(458)&&(l[t(459)]=o,l[t(457)]=c),l}},{key:r(460),value:function(t){var e=r;if(!(this instanceof a))throw new TypeError("select() called on incompatible ".concat(this));if(typeof t!==e(458)&&(t=Number(t)),!isFinite(t))return"other";var n=this[e(454)][e(461)](Math.abs(t));return this._select(n,this[e(451)]===e(462))}}],[{key:r(463),value:function(t){var e=r;return canonicalizeLocaleList(t)[e(464)](i)}}]),a}();return Object[r(420)](a,r(425),{writable:!1}),a}__export(factory_exports,{default:()=>getPluralRules});var isStr