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