Files
xin-school/public/assets/tslib.es6-BaFViOhq.js
T
2026-05-30 17:38:49 +08:00

2 lines
2.4 KiB
JavaScript

var y=function(c,a){return y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])},y(c,a)};function h(c,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");y(c,a);function t(){this.constructor=c}c.prototype=a===null?Object.create(a):(t.prototype=a.prototype,new t)}var p=function(){return p=Object.assign||function(a){for(var t,n=1,o=arguments.length;n<o;n++){t=arguments[n];for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&(a[e]=t[e])}return a},p.apply(this,arguments)};function _(c,a){var t={};for(var n in c)Object.prototype.hasOwnProperty.call(c,n)&&a.indexOf(n)<0&&(t[n]=c[n]);if(c!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(c);o<n.length;o++)a.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(c,n[o])&&(t[n[o]]=c[n[o]]);return t}function b(c,a,t,n){function o(e){return e instanceof t?e:new t(function(u){u(e)})}return new(t||(t=Promise))(function(e,u){function f(i){try{r(n.next(i))}catch(s){u(s)}}function l(i){try{r(n.throw(i))}catch(s){u(s)}}function r(i){i.done?e(i.value):o(i.value).then(f,l)}r((n=n.apply(c,a||[])).next())})}function w(c,a){var t={label:0,sent:function(){if(e[0]&1)throw e[1];return e[1]},trys:[],ops:[]},n,o,e,u=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return u.next=f(0),u.throw=f(1),u.return=f(2),typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function f(r){return function(i){return l([r,i])}}function l(r){if(n)throw new TypeError("Generator is already executing.");for(;u&&(u=0,r[0]&&(t=0)),t;)try{if(n=1,o&&(e=r[0]&2?o.return:r[0]?o.throw||((e=o.return)&&e.call(o),0):o.next)&&!(e=e.call(o,r[1])).done)return e;switch(o=0,e&&(r=[r[0]&2,e.value]),r[0]){case 0:case 1:e=r;break;case 4:return t.label++,{value:r[1],done:!1};case 5:t.label++,o=r[1],r=[0];continue;case 7:r=t.ops.pop(),t.trys.pop();continue;default:if(e=t.trys,!(e=e.length>0&&e[e.length-1])&&(r[0]===6||r[0]===2)){t=0;continue}if(r[0]===3&&(!e||r[1]>e[0]&&r[1]<e[3])){t.label=r[1];break}if(r[0]===6&&t.label<e[1]){t.label=e[1],e=r;break}if(e&&t.label<e[2]){t.label=e[2],t.ops.push(r);break}e[2]&&t.ops.pop(),t.trys.pop();continue}r=a.call(c,t)}catch(i){r=[6,i],o=0}finally{n=e=0}if(r[0]&5)throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}}export{h as _,b as a,w as b,_ as c,p as d};