/** * @license * Copyright 2020 Google LLC. All Rights Reserved. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * ============================================================================= */ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t=t||self).tf=t.tf||{})}(this,(function(t){"use strict";var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function n(t,e){return t(e={exports:{}},e.exports),e.exports}var r=function(t){return t&&t.Math==Math&&t},a=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof e&&e)||Function("return this")(),i=function(t){try{return!!t()}catch(t){return!0}},o=!i((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),s={}.propertyIsEnumerable,u=Object.getOwnPropertyDescriptor,c={f:u&&!s.call({1:2},1)?function(t){var e=u(this,t);return!!e&&e.enumerable}:s},l=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},h={}.toString,f=function(t){return h.call(t).slice(8,-1)},p="".split,d=i((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==f(t)?p.call(t,""):Object(t)}:Object,m=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},v=function(t){return d(m(t))},g=function(t){return"object"==typeof t?null!==t:"function"==typeof t},y=function(t,e){if(!g(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!g(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!g(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!g(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")},b={}.hasOwnProperty,x=function(t,e){return b.call(t,e)},w=a.document,k=g(w)&&g(w.createElement),S=function(t){return k?w.createElement(t):{}},C=!o&&!i((function(){return 7!=Object.defineProperty(S("div"),"a",{get:function(){return 7}}).a})),R=Object.getOwnPropertyDescriptor,N={f:o?R:function(t,e){if(t=v(t),e=y(e,!0),C)try{return R(t,e)}catch(t){}if(x(t,e))return l(!c.f.call(t,e),t[e])}},E=function(t){if(!g(t))throw TypeError(String(t)+" is not an object");return t},I=Object.defineProperty,A={f:o?I:function(t,e,n){if(E(t),e=y(e,!0),E(n),C)try{return I(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},T=o?function(t,e,n){return A.f(t,e,l(1,n))}:function(t,e,n){return t[e]=n,t},D=function(t,e){try{T(a,t,e)}catch(n){a[t]=e}return e},_=a["__core-js_shared__"]||D("__core-js_shared__",{}),O=Function.toString;"function"!=typeof _.inspectSource&&(_.inspectSource=function(t){return O.call(t)});var F,M,L,z=_.inspectSource,B=a.WeakMap,P="function"==typeof B&&/native code/.test(z(B)),W=n((function(t){(t.exports=function(t,e){return _[t]||(_[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.5",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})})),V=0,U=Math.random(),j=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++V+U).toString(36)},G=W("keys"),q=function(t){return G[t]||(G[t]=j(t))},H={},K=a.WeakMap;if(P){var X=new K,Y=X.get,J=X.has,$=X.set;F=function(t,e){return $.call(X,t,e),e},M=function(t){return Y.call(X,t)||{}},L=function(t){return J.call(X,t)}}else{var Z=q("state");H[Z]=!0,F=function(t,e){return T(t,Z,e),e},M=function(t){return x(t,Z)?t[Z]:{}},L=function(t){return x(t,Z)}}var Q,tt={set:F,get:M,has:L,enforce:function(t){return L(t)?M(t):F(t,{})},getterFor:function(t){return function(e){var n;if(!g(e)||(n=M(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}},et=n((function(t){var e=tt.get,n=tt.enforce,r=String(String).split("String");(t.exports=function(t,e,i,o){var s=!!o&&!!o.unsafe,u=!!o&&!!o.enumerable,c=!!o&&!!o.noTargetGet;"function"==typeof i&&("string"!=typeof e||x(i,"name")||T(i,"name",e),n(i).source=r.join("string"==typeof e?e:"")),t!==a?(s?!c&&t[e]&&(u=!0):delete t[e],u?t[e]=i:T(t,e,i)):u?t[e]=i:D(e,i)})(Function.prototype,"toString",(function(){return"function"==typeof this&&e(this).source||z(this)}))})),nt=a,rt=function(t){return"function"==typeof t?t:void 0},at=function(t,e){return arguments.length<2?rt(nt[t])||rt(a[t]):nt[t]&&nt[t][e]||a[t]&&a[t][e]},it=Math.ceil,ot=Math.floor,st=function(t){return isNaN(t=+t)?0:(t>0?ot:it)(t)},ut=Math.min,ct=function(t){return t>0?ut(st(t),9007199254740991):0},lt=Math.max,ht=Math.min,ft=function(t,e){var n=st(t);return n<0?lt(n+e,0):ht(n,e)},pt=function(t){return function(e,n,r){var a,i=v(e),o=ct(i.length),s=ft(r,o);if(t&&n!=n){for(;o>s;)if((a=i[s++])!=a)return!0}else for(;o>s;s++)if((t||s in i)&&i[s]===n)return t||s||0;return!t&&-1}},dt={includes:pt(!0),indexOf:pt(!1)},mt=dt.indexOf,vt=function(t,e){var n,r=v(t),a=0,i=[];for(n in r)!x(H,n)&&x(r,n)&&i.push(n);for(;e.length>a;)x(r,n=e[a++])&&(~mt(i,n)||i.push(n));return i},gt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],yt=gt.concat("length","prototype"),bt={f:Object.getOwnPropertyNames||function(t){return vt(t,yt)}},xt={f:Object.getOwnPropertySymbols},wt=at("Reflect","ownKeys")||function(t){var e=bt.f(E(t)),n=xt.f;return n?e.concat(n(t)):e},kt=function(t,e){for(var n=wt(e),r=A.f,a=N.f,i=0;ii;)A.f(t,n=r[i++],e[n]);return t},Bt=at("document","documentElement"),Pt=q("IE_PROTO"),Wt=function(){},Vt=function(t){return"