!function(e,t){"object"==typeofexports&&"undefined"!=typeofmodule?t(exports):"function"==typeofdefine&&define.amd?define(["exports"],t):t((e="undefined"!=typeofglobalThis?globalThis:e||self).tf=e.tf||{})}(this,(function(e){"use strict";functiont(e,t){returnt.forEach((function(t){t&&"string"!=typeoft&&!Array.isArray(t)&&Object.keys(t).forEach((function(n){if("default"!==n&&!(nine)){varr=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:function(){returnt[n]}})}}))})),e}varn="undefined"!=typeofglobalThis?globalThis:"undefined"!=typeofwindow?window:"undefined"!=typeofglobal?global:"undefined"!=typeofself?self:{};functionr(e){returne&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}functiona(e){vart,n;functionr(t,n){try{varo=e[t](n),s=o.value,u=sinstanceofi;Promise.resolve(u?s.v:s).then((function(n){if(u){vari="return"===t?"return":"next";if(!s.k||n.done)returnr(i,n);n=e[i](n).value}a(o.done?"return":"normal",n)}),(function(e){r("throw",e)}))}catch(e){a("throw",e)}}functiona(e,a){switch(e){case"return":t.resolve({value:a,done:!0});break;case"throw":t.reject(a);break;default:t.resolve({value:a,done:!1})}(t=t.next)?r(t.key,t.arg):n=null}this._invoke=function(e,a){returnnewPromise((function(i,o){vars={key:e,arg:a,resolve:i,reject:o,next:null};n?n=n.next=s:(t=n=s,r(e,a))}))},"function"!=typeofe.return&&(this.return=void0)}functioni(e,t){this.v=e,this.k=t}functiono(){o=function(){returne};vare={},t=Object.prototype,n=t.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value},a="function"==typeofSymbol?Symbol:{},i=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";functionc(e,t,n){returnObject.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){returne[t]=n}}functionl(e,t,n,a){vari=t&&t.prototypeinstanceoff?t:f,o=Object.create(i.prototype),s=newT(a||[]);returnr(o,"_invoke",{value:w(e,n,s)}),o}functionh(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;varp={};functionf(){}functiond(){}functionv(){}varm={};c(m,i,(function(){returnthis}));varg=Object.getPrototypeOf,y=g&&g(g(E([])));y&&y!==t&&n.call(y,i)&&(m=y);varb=v.prototype=f.prototype=Object.create(m);functionx(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){returnthis._invoke(t,e)}))}))}functionk(e,t){functiona(r,i,o,s){varu=h(e[r],e,i);if("throw"!==u.type){varc=u.arg,l=c.value;returnl&&"object"==typeofl&&n.call(l,"__await")?t.resolve(l.__await).then((function(e){a("next",e,o,s)}),(function(e){a("throw",e,o,s)})):t.resolve(l).then((function(e){c.value=e,o(c)}),(function(e){returna("throw",e,o,s)}))}s(u.arg)}vari;r(this,"_invoke",{value:function(e,n){functionr(){returnnewt((function(t,r){a(e,n,t,r)}))}returni=i?i.then(r,r):r()}})}functionw(e,t,n){varr="suspendedStart";returnfunction(a,i){if("executing"===r)thrownewError("Generator is already running");if("completed"===r){if("throw"===a)throwi;returnC()}for(n.method=a,n.arg=i;;){varo=n.delegate;if(o){vars=I(o,n);if(s){if(s===p)continue;returns}}if("next"===n.method)n.sent=n._sent=n.arg;elseif("throw"===n.method){if("suspendedStart"===r)throwr="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";varu=h(e,t,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===p)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}functionI(e,t){varn=t.method,r=e.iterator[n];if(void0===r)returnt.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void0,I(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=newTypeError("The iterator does not provide a '"+n+"' method")),p;vara=h(r,e.iterator,t.arg);if("throw"===a.type)returnt.method="throw",t.arg=a.arg,t.delegate=null,p;vari=a.arg;returni?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.m