index-b36504b3.js 71 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489
  1. import{cX as ur,b as $}from"./index-0d8158eb.js";import{d as Lr}from"./a-14d94dc6.js";import"./layout-9e52ad07.js";import"./use-notification-56391e62.js";import"./index-aba65090.js";import"./error-messages-d2d0bb30.js";import"./index.esm-07f1e6d3.js";import"./index-845e4de2.js";import"./index-c0b93546.js";import"./index-9af9f9f3.js";var d={},B={};for(var vr=[],p=0;p<64;)vr[p]=0|4294967296*Math.sin(++p%Math.PI);function Mr(r){var a,e,t,n=[a=1732584193,e=4023233417,~a,~e],i=[],o=unescape(encodeURI(r))+"€",l=o.length;for(r=--l/4+2|15,i[--r]=8*l;~l;)i[l>>2]|=o.charCodeAt(l)<<8*l--;for(p=o=0;p<r;p+=16){for(l=n;o<64;l=[t=l[3],a+((t=l[0]+[a&e|~a&t,t&a|~t&e,a^e^t,e^(a|~t)][l=o>>4]+vr[o]+~~i[p|15&[o,5*o+1,3*o+5,7*o][l]])<<(l=[7,12,17,22,5,9,14,20,4,11,16,23,6,10,15,21][4*l+o++%4])|t>>>-l),a,e])a=0|l[1],e=l[2];for(o=4;o;)n[--o]+=l[o]}for(r="";o<32;)r+=(n[o>>3]>>4*(1^o++)&15).toString(16);return r}const Wr=Object.freeze(Object.defineProperty({__proto__:null,default:Mr},Symbol.toStringTag,{value:"Module"})),Hr=ur(Wr);var A={},Gr={get exports(){return A},set exports(r){A=r}};(function(r,a){(function(e,t){r.exports=function(n,i,o,l,f){for(i=i.split?i.split("."):i,l=0;l<i.length;l++)n=n?n[i[l]]:f;return n===f?o:n}})()})(Gr);/**
  2. * @license Apache-2.0
  3. *
  4. * Copyright (c) 2018 The Stdlib Authors.
  5. *
  6. * Licensed under the Apache License, Version 2.0 (the "License");
  7. * you may not use this file except in compliance with the License.
  8. * You may obtain a copy of the License at
  9. *
  10. * http://www.apache.org/licenses/LICENSE-2.0
  11. *
  12. * Unless required by applicable law or agreed to in writing, software
  13. * distributed under the License is distributed on an "AS IS" BASIS,
  14. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  15. * See the License for the specific language governing permissions and
  16. * limitations under the License.
  17. */var jr=Number.POSITIVE_INFINITY,sr=jr;/**
  18. * @license Apache-2.0
  19. *
  20. * Copyright (c) 2018 The Stdlib Authors.
  21. *
  22. * Licensed under the Apache License, Version 2.0 (the "License");
  23. * you may not use this file except in compliance with the License.
  24. * You may obtain a copy of the License at
  25. *
  26. * http://www.apache.org/licenses/LICENSE-2.0
  27. *
  28. * Unless required by applicable law or agreed to in writing, software
  29. * distributed under the License is distributed on an "AS IS" BASIS,
  30. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  31. * See the License for the specific language governing permissions and
  32. * limitations under the License.
  33. */var Rr=Number;/**
  34. * @license Apache-2.0
  35. *
  36. * Copyright (c) 2018 The Stdlib Authors.
  37. *
  38. * Licensed under the Apache License, Version 2.0 (the "License");
  39. * you may not use this file except in compliance with the License.
  40. * You may obtain a copy of the License at
  41. *
  42. * http://www.apache.org/licenses/LICENSE-2.0
  43. *
  44. * Unless required by applicable law or agreed to in writing, software
  45. * distributed under the License is distributed on an "AS IS" BASIS,
  46. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  47. * See the License for the specific language governing permissions and
  48. * limitations under the License.
  49. */var Cr=Rr,Xr=Cr;/**
  50. * @license Apache-2.0
  51. *
  52. * Copyright (c) 2018 The Stdlib Authors.
  53. *
  54. * Licensed under the Apache License, Version 2.0 (the "License");
  55. * you may not use this file except in compliance with the License.
  56. * You may obtain a copy of the License at
  57. *
  58. * http://www.apache.org/licenses/LICENSE-2.0
  59. *
  60. * Unless required by applicable law or agreed to in writing, software
  61. * distributed under the License is distributed on an "AS IS" BASIS,
  62. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  63. * See the License for the specific language governing permissions and
  64. * limitations under the License.
  65. */var Dr=Xr,Br=Dr.NEGATIVE_INFINITY,cr=Br;/**
  66. * @license Apache-2.0
  67. *
  68. * Copyright (c) 2018 The Stdlib Authors.
  69. *
  70. * Licensed under the Apache License, Version 2.0 (the "License");
  71. * you may not use this file except in compliance with the License.
  72. * You may obtain a copy of the License at
  73. *
  74. * http://www.apache.org/licenses/LICENSE-2.0
  75. *
  76. * Unless required by applicable law or agreed to in writing, software
  77. * distributed under the License is distributed on an "AS IS" BASIS,
  78. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  79. * See the License for the specific language governing permissions and
  80. * limitations under the License.
  81. */var Vr=1023,$r=Vr;/**
  82. * @license Apache-2.0
  83. *
  84. * Copyright (c) 2018 The Stdlib Authors.
  85. *
  86. * Licensed under the Apache License, Version 2.0 (the "License");
  87. * you may not use this file except in compliance with the License.
  88. * You may obtain a copy of the License at
  89. *
  90. * http://www.apache.org/licenses/LICENSE-2.0
  91. *
  92. * Unless required by applicable law or agreed to in writing, software
  93. * distributed under the License is distributed on an "AS IS" BASIS,
  94. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  95. * See the License for the specific language governing permissions and
  96. * limitations under the License.
  97. */var xr=1023,Jr=xr;/**
  98. * @license Apache-2.0
  99. *
  100. * Copyright (c) 2018 The Stdlib Authors.
  101. *
  102. * Licensed under the Apache License, Version 2.0 (the "License");
  103. * you may not use this file except in compliance with the License.
  104. * You may obtain a copy of the License at
  105. *
  106. * http://www.apache.org/licenses/LICENSE-2.0
  107. *
  108. * Unless required by applicable law or agreed to in writing, software
  109. * distributed under the License is distributed on an "AS IS" BASIS,
  110. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  111. * See the License for the specific language governing permissions and
  112. * limitations under the License.
  113. */var qr=-1023,zr=qr;/**
  114. * @license Apache-2.0
  115. *
  116. * Copyright (c) 2018 The Stdlib Authors.
  117. *
  118. * Licensed under the Apache License, Version 2.0 (the "License");
  119. * you may not use this file except in compliance with the License.
  120. * You may obtain a copy of the License at
  121. *
  122. * http://www.apache.org/licenses/LICENSE-2.0
  123. *
  124. * Unless required by applicable law or agreed to in writing, software
  125. * distributed under the License is distributed on an "AS IS" BASIS,
  126. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  127. * See the License for the specific language governing permissions and
  128. * limitations under the License.
  129. */var Kr=-1074,Qr=Kr;/**
  130. * @license Apache-2.0
  131. *
  132. * Copyright (c) 2018 The Stdlib Authors.
  133. *
  134. * Licensed under the Apache License, Version 2.0 (the "License");
  135. * you may not use this file except in compliance with the License.
  136. * You may obtain a copy of the License at
  137. *
  138. * http://www.apache.org/licenses/LICENSE-2.0
  139. *
  140. * Unless required by applicable law or agreed to in writing, software
  141. * distributed under the License is distributed on an "AS IS" BASIS,
  142. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  143. * See the License for the specific language governing permissions and
  144. * limitations under the License.
  145. */function Yr(r){return r!==r}var Zr=Yr;/**
  146. * @license Apache-2.0
  147. *
  148. * Copyright (c) 2018 The Stdlib Authors.
  149. *
  150. * Licensed under the Apache License, Version 2.0 (the "License");
  151. * you may not use this file except in compliance with the License.
  152. * You may obtain a copy of the License at
  153. *
  154. * http://www.apache.org/licenses/LICENSE-2.0
  155. *
  156. * Unless required by applicable law or agreed to in writing, software
  157. * distributed under the License is distributed on an "AS IS" BASIS,
  158. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  159. * See the License for the specific language governing permissions and
  160. * limitations under the License.
  161. */var kr=Zr,pr=kr;/**
  162. * @license Apache-2.0
  163. *
  164. * Copyright (c) 2018 The Stdlib Authors.
  165. *
  166. * Licensed under the Apache License, Version 2.0 (the "License");
  167. * you may not use this file except in compliance with the License.
  168. * You may obtain a copy of the License at
  169. *
  170. * http://www.apache.org/licenses/LICENSE-2.0
  171. *
  172. * Unless required by applicable law or agreed to in writing, software
  173. * distributed under the License is distributed on an "AS IS" BASIS,
  174. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  175. * See the License for the specific language governing permissions and
  176. * limitations under the License.
  177. */var ra=sr,aa=cr;function ea(r){return r===ra||r===aa}var ta=ea;/**
  178. * @license Apache-2.0
  179. *
  180. * Copyright (c) 2018 The Stdlib Authors.
  181. *
  182. * Licensed under the Apache License, Version 2.0 (the "License");
  183. * you may not use this file except in compliance with the License.
  184. * You may obtain a copy of the License at
  185. *
  186. * http://www.apache.org/licenses/LICENSE-2.0
  187. *
  188. * Unless required by applicable law or agreed to in writing, software
  189. * distributed under the License is distributed on an "AS IS" BASIS,
  190. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  191. * See the License for the specific language governing permissions and
  192. * limitations under the License.
  193. */var na=ta,yr=na;/**
  194. * @license Apache-2.0
  195. *
  196. * Copyright (c) 2022 The Stdlib Authors.
  197. *
  198. * Licensed under the Apache License, Version 2.0 (the "License");
  199. * you may not use this file except in compliance with the License.
  200. * You may obtain a copy of the License at
  201. *
  202. * http://www.apache.org/licenses/LICENSE-2.0
  203. *
  204. * Unless required by applicable law or agreed to in writing, software
  205. * distributed under the License is distributed on an "AS IS" BASIS,
  206. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  207. * See the License for the specific language governing permissions and
  208. * limitations under the License.
  209. */var ia=2147483648>>>0,oa=ia;/**
  210. * @license Apache-2.0
  211. *
  212. * Copyright (c) 2022 The Stdlib Authors.
  213. *
  214. * Licensed under the Apache License, Version 2.0 (the "License");
  215. * you may not use this file except in compliance with the License.
  216. * You may obtain a copy of the License at
  217. *
  218. * http://www.apache.org/licenses/LICENSE-2.0
  219. *
  220. * Unless required by applicable law or agreed to in writing, software
  221. * distributed under the License is distributed on an "AS IS" BASIS,
  222. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  223. * See the License for the specific language governing permissions and
  224. * limitations under the License.
  225. */var la=2147483647>>>0,fa=la;/**
  226. * @license Apache-2.0
  227. *
  228. * Copyright (c) 2021 The Stdlib Authors.
  229. *
  230. * Licensed under the Apache License, Version 2.0 (the "License");
  231. * you may not use this file except in compliance with the License.
  232. * You may obtain a copy of the License at
  233. *
  234. * http://www.apache.org/licenses/LICENSE-2.0
  235. *
  236. * Unless required by applicable law or agreed to in writing, software
  237. * distributed under the License is distributed on an "AS IS" BASIS,
  238. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  239. * See the License for the specific language governing permissions and
  240. * limitations under the License.
  241. */var ua=typeof Object.defineProperty=="function"?Object.defineProperty:null,va=ua;/**
  242. * @license Apache-2.0
  243. *
  244. * Copyright (c) 2021 The Stdlib Authors.
  245. *
  246. * Licensed under the Apache License, Version 2.0 (the "License");
  247. * you may not use this file except in compliance with the License.
  248. * You may obtain a copy of the License at
  249. *
  250. * http://www.apache.org/licenses/LICENSE-2.0
  251. *
  252. * Unless required by applicable law or agreed to in writing, software
  253. * distributed under the License is distributed on an "AS IS" BASIS,
  254. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  255. * See the License for the specific language governing permissions and
  256. * limitations under the License.
  257. */var sa=va;function ca(){try{return sa({},"x",{}),!0}catch{return!1}}var $a=ca;/**
  258. * @license Apache-2.0
  259. *
  260. * Copyright (c) 2018 The Stdlib Authors.
  261. *
  262. * Licensed under the Apache License, Version 2.0 (the "License");
  263. * you may not use this file except in compliance with the License.
  264. * You may obtain a copy of the License at
  265. *
  266. * http://www.apache.org/licenses/LICENSE-2.0
  267. *
  268. * Unless required by applicable law or agreed to in writing, software
  269. * distributed under the License is distributed on an "AS IS" BASIS,
  270. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  271. * See the License for the specific language governing permissions and
  272. * limitations under the License.
  273. */var pa=Object.defineProperty,ya=pa;/**
  274. * @license Apache-2.0
  275. *
  276. * Copyright (c) 2018 The Stdlib Authors.
  277. *
  278. * Licensed under the Apache License, Version 2.0 (the "License");
  279. * you may not use this file except in compliance with the License.
  280. * You may obtain a copy of the License at
  281. *
  282. * http://www.apache.org/licenses/LICENSE-2.0
  283. *
  284. * Unless required by applicable law or agreed to in writing, software
  285. * distributed under the License is distributed on an "AS IS" BASIS,
  286. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  287. * See the License for the specific language governing permissions and
  288. * limitations under the License.
  289. */var _=Object.prototype,Q=_.toString,Y=_.__defineGetter__,Z=_.__defineSetter__,_a=_.__lookupGetter__,ba=_.__lookupSetter__;function ma(r,a,e){var t,n,i,o;if(typeof r!="object"||r===null||Q.call(r)==="[object Array]")throw new TypeError("invalid argument. First argument must be an object. Value: `"+r+"`.");if(typeof e!="object"||e===null||Q.call(e)==="[object Array]")throw new TypeError("invalid argument. Property descriptor must be an object. Value: `"+e+"`.");if(n="value"in e,n&&(_a.call(r,a)||ba.call(r,a)?(t=r.__proto__,r.__proto__=_,delete r[a],r[a]=e.value,r.__proto__=t):r[a]=e.value),i="get"in e,o="set"in e,n&&(i||o))throw new Error("invalid argument. Cannot specify one or more accessors and a value or writable attribute in the property descriptor.");return i&&Y&&Y.call(r,a,e.get),o&&Z&&Z.call(r,a,e.set),r}var Aa=ma;/**
  290. * @license Apache-2.0
  291. *
  292. * Copyright (c) 2018 The Stdlib Authors.
  293. *
  294. * Licensed under the Apache License, Version 2.0 (the "License");
  295. * you may not use this file except in compliance with the License.
  296. * You may obtain a copy of the License at
  297. *
  298. * http://www.apache.org/licenses/LICENSE-2.0
  299. *
  300. * Unless required by applicable law or agreed to in writing, software
  301. * distributed under the License is distributed on an "AS IS" BASIS,
  302. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  303. * See the License for the specific language governing permissions and
  304. * limitations under the License.
  305. */var ha=$a,da=ya,ga=Aa,F;ha()?F=da:F=ga;var Sa=F;/**
  306. * @license Apache-2.0
  307. *
  308. * Copyright (c) 2018 The Stdlib Authors.
  309. *
  310. * Licensed under the Apache License, Version 2.0 (the "License");
  311. * you may not use this file except in compliance with the License.
  312. * You may obtain a copy of the License at
  313. *
  314. * http://www.apache.org/licenses/LICENSE-2.0
  315. *
  316. * Unless required by applicable law or agreed to in writing, software
  317. * distributed under the License is distributed on an "AS IS" BASIS,
  318. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  319. * See the License for the specific language governing permissions and
  320. * limitations under the License.
  321. */var wa=Sa;function Oa(r,a,e){wa(r,a,{configurable:!1,enumerable:!1,writable:!1,value:e})}var Na=Oa;/**
  322. * @license Apache-2.0
  323. *
  324. * Copyright (c) 2018 The Stdlib Authors.
  325. *
  326. * Licensed under the Apache License, Version 2.0 (the "License");
  327. * you may not use this file except in compliance with the License.
  328. * You may obtain a copy of the License at
  329. *
  330. * http://www.apache.org/licenses/LICENSE-2.0
  331. *
  332. * Unless required by applicable law or agreed to in writing, software
  333. * distributed under the License is distributed on an "AS IS" BASIS,
  334. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  335. * See the License for the specific language governing permissions and
  336. * limitations under the License.
  337. */var Ia=Na,_r=Ia;/**
  338. * @license Apache-2.0
  339. *
  340. * Copyright (c) 2018 The Stdlib Authors.
  341. *
  342. * Licensed under the Apache License, Version 2.0 (the "License");
  343. * you may not use this file except in compliance with the License.
  344. * You may obtain a copy of the License at
  345. *
  346. * http://www.apache.org/licenses/LICENSE-2.0
  347. *
  348. * Unless required by applicable law or agreed to in writing, software
  349. * distributed under the License is distributed on an "AS IS" BASIS,
  350. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  351. * See the License for the specific language governing permissions and
  352. * limitations under the License.
  353. */function Ua(){return typeof Symbol=="function"&&typeof Symbol("foo")=="symbol"}var Ea=Ua;/**
  354. * @license Apache-2.0
  355. *
  356. * Copyright (c) 2018 The Stdlib Authors.
  357. *
  358. * Licensed under the Apache License, Version 2.0 (the "License");
  359. * you may not use this file except in compliance with the License.
  360. * You may obtain a copy of the License at
  361. *
  362. * http://www.apache.org/licenses/LICENSE-2.0
  363. *
  364. * Unless required by applicable law or agreed to in writing, software
  365. * distributed under the License is distributed on an "AS IS" BASIS,
  366. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  367. * See the License for the specific language governing permissions and
  368. * limitations under the License.
  369. */var Pa=Ea,Ta=Pa;/**
  370. * @license Apache-2.0
  371. *
  372. * Copyright (c) 2018 The Stdlib Authors.
  373. *
  374. * Licensed under the Apache License, Version 2.0 (the "License");
  375. * you may not use this file except in compliance with the License.
  376. * You may obtain a copy of the License at
  377. *
  378. * http://www.apache.org/licenses/LICENSE-2.0
  379. *
  380. * Unless required by applicable law or agreed to in writing, software
  381. * distributed under the License is distributed on an "AS IS" BASIS,
  382. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  383. * See the License for the specific language governing permissions and
  384. * limitations under the License.
  385. */var Fa=Ta,La=Fa();function Ma(){return La&&typeof Symbol.toStringTag=="symbol"}var Wa=Ma;/**
  386. * @license Apache-2.0
  387. *
  388. * Copyright (c) 2018 The Stdlib Authors.
  389. *
  390. * Licensed under the Apache License, Version 2.0 (the "License");
  391. * you may not use this file except in compliance with the License.
  392. * You may obtain a copy of the License at
  393. *
  394. * http://www.apache.org/licenses/LICENSE-2.0
  395. *
  396. * Unless required by applicable law or agreed to in writing, software
  397. * distributed under the License is distributed on an "AS IS" BASIS,
  398. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  399. * See the License for the specific language governing permissions and
  400. * limitations under the License.
  401. */var Ha=Wa,Ga=Ha;/**
  402. * @license Apache-2.0
  403. *
  404. * Copyright (c) 2018 The Stdlib Authors.
  405. *
  406. * Licensed under the Apache License, Version 2.0 (the "License");
  407. * you may not use this file except in compliance with the License.
  408. * You may obtain a copy of the License at
  409. *
  410. * http://www.apache.org/licenses/LICENSE-2.0
  411. *
  412. * Unless required by applicable law or agreed to in writing, software
  413. * distributed under the License is distributed on an "AS IS" BASIS,
  414. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  415. * See the License for the specific language governing permissions and
  416. * limitations under the License.
  417. */var ja=Object.prototype.toString,br=ja;/**
  418. * @license Apache-2.0
  419. *
  420. * Copyright (c) 2018 The Stdlib Authors.
  421. *
  422. * Licensed under the Apache License, Version 2.0 (the "License");
  423. * you may not use this file except in compliance with the License.
  424. * You may obtain a copy of the License at
  425. *
  426. * http://www.apache.org/licenses/LICENSE-2.0
  427. *
  428. * Unless required by applicable law or agreed to in writing, software
  429. * distributed under the License is distributed on an "AS IS" BASIS,
  430. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  431. * See the License for the specific language governing permissions and
  432. * limitations under the License.
  433. */var Ra=br;function Ca(r){return Ra.call(r)}var Xa=Ca;/**
  434. * @license Apache-2.0
  435. *
  436. * Copyright (c) 2018 The Stdlib Authors.
  437. *
  438. * Licensed under the Apache License, Version 2.0 (the "License");
  439. * you may not use this file except in compliance with the License.
  440. * You may obtain a copy of the License at
  441. *
  442. * http://www.apache.org/licenses/LICENSE-2.0
  443. *
  444. * Unless required by applicable law or agreed to in writing, software
  445. * distributed under the License is distributed on an "AS IS" BASIS,
  446. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  447. * See the License for the specific language governing permissions and
  448. * limitations under the License.
  449. */var Da=Object.prototype.hasOwnProperty;function Ba(r,a){return r==null?!1:Da.call(r,a)}var Va=Ba;/**
  450. * @license Apache-2.0
  451. *
  452. * Copyright (c) 2018 The Stdlib Authors.
  453. *
  454. * Licensed under the Apache License, Version 2.0 (the "License");
  455. * you may not use this file except in compliance with the License.
  456. * You may obtain a copy of the License at
  457. *
  458. * http://www.apache.org/licenses/LICENSE-2.0
  459. *
  460. * Unless required by applicable law or agreed to in writing, software
  461. * distributed under the License is distributed on an "AS IS" BASIS,
  462. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  463. * See the License for the specific language governing permissions and
  464. * limitations under the License.
  465. */var xa=Va,Ja=xa;/**
  466. * @license Apache-2.0
  467. *
  468. * Copyright (c) 2018 The Stdlib Authors.
  469. *
  470. * Licensed under the Apache License, Version 2.0 (the "License");
  471. * you may not use this file except in compliance with the License.
  472. * You may obtain a copy of the License at
  473. *
  474. * http://www.apache.org/licenses/LICENSE-2.0
  475. *
  476. * Unless required by applicable law or agreed to in writing, software
  477. * distributed under the License is distributed on an "AS IS" BASIS,
  478. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  479. * See the License for the specific language governing permissions and
  480. * limitations under the License.
  481. */var qa=typeof Symbol=="function"?Symbol.toStringTag:"",za=qa;/**
  482. * @license Apache-2.0
  483. *
  484. * Copyright (c) 2018 The Stdlib Authors.
  485. *
  486. * Licensed under the Apache License, Version 2.0 (the "License");
  487. * you may not use this file except in compliance with the License.
  488. * You may obtain a copy of the License at
  489. *
  490. * http://www.apache.org/licenses/LICENSE-2.0
  491. *
  492. * Unless required by applicable law or agreed to in writing, software
  493. * distributed under the License is distributed on an "AS IS" BASIS,
  494. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  495. * See the License for the specific language governing permissions and
  496. * limitations under the License.
  497. */var Ka=Ja,b=za,O=br;function Qa(r){var a,e,t;if(r==null)return O.call(r);e=r[b],a=Ka(r,b);try{r[b]=void 0}catch{return O.call(r)}return t=O.call(r),a?r[b]=e:delete r[b],t}var Ya=Qa;/**
  498. * @license Apache-2.0
  499. *
  500. * Copyright (c) 2018 The Stdlib Authors.
  501. *
  502. * Licensed under the Apache License, Version 2.0 (the "License");
  503. * you may not use this file except in compliance with the License.
  504. * You may obtain a copy of the License at
  505. *
  506. * http://www.apache.org/licenses/LICENSE-2.0
  507. *
  508. * Unless required by applicable law or agreed to in writing, software
  509. * distributed under the License is distributed on an "AS IS" BASIS,
  510. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  511. * See the License for the specific language governing permissions and
  512. * limitations under the License.
  513. */var Za=Ga,ka=Xa,re=Ya,L;Za()?L=re:L=ka;var S=L;/**
  514. * @license Apache-2.0
  515. *
  516. * Copyright (c) 2018 The Stdlib Authors.
  517. *
  518. * Licensed under the Apache License, Version 2.0 (the "License");
  519. * you may not use this file except in compliance with the License.
  520. * You may obtain a copy of the License at
  521. *
  522. * http://www.apache.org/licenses/LICENSE-2.0
  523. *
  524. * Unless required by applicable law or agreed to in writing, software
  525. * distributed under the License is distributed on an "AS IS" BASIS,
  526. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  527. * See the License for the specific language governing permissions and
  528. * limitations under the License.
  529. */var ae=S,ee=typeof Uint32Array=="function";function te(r){return ee&&r instanceof Uint32Array||ae(r)==="[object Uint32Array]"}var ne=te;/**
  530. * @license Apache-2.0
  531. *
  532. * Copyright (c) 2018 The Stdlib Authors.
  533. *
  534. * Licensed under the Apache License, Version 2.0 (the "License");
  535. * you may not use this file except in compliance with the License.
  536. * You may obtain a copy of the License at
  537. *
  538. * http://www.apache.org/licenses/LICENSE-2.0
  539. *
  540. * Unless required by applicable law or agreed to in writing, software
  541. * distributed under the License is distributed on an "AS IS" BASIS,
  542. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  543. * See the License for the specific language governing permissions and
  544. * limitations under the License.
  545. */var ie=ne,oe=ie;/**
  546. * @license Apache-2.0
  547. *
  548. * Copyright (c) 2018 The Stdlib Authors.
  549. *
  550. * Licensed under the Apache License, Version 2.0 (the "License");
  551. * you may not use this file except in compliance with the License.
  552. * You may obtain a copy of the License at
  553. *
  554. * http://www.apache.org/licenses/LICENSE-2.0
  555. *
  556. * Unless required by applicable law or agreed to in writing, software
  557. * distributed under the License is distributed on an "AS IS" BASIS,
  558. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  559. * See the License for the specific language governing permissions and
  560. * limitations under the License.
  561. */var le=4294967295,fe=le;/**
  562. * @license Apache-2.0
  563. *
  564. * Copyright (c) 2018 The Stdlib Authors.
  565. *
  566. * Licensed under the Apache License, Version 2.0 (the "License");
  567. * you may not use this file except in compliance with the License.
  568. * You may obtain a copy of the License at
  569. *
  570. * http://www.apache.org/licenses/LICENSE-2.0
  571. *
  572. * Unless required by applicable law or agreed to in writing, software
  573. * distributed under the License is distributed on an "AS IS" BASIS,
  574. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  575. * See the License for the specific language governing permissions and
  576. * limitations under the License.
  577. */var ue=typeof Uint32Array=="function"?Uint32Array:null,ve=ue;/**
  578. * @license Apache-2.0
  579. *
  580. * Copyright (c) 2018 The Stdlib Authors.
  581. *
  582. * Licensed under the Apache License, Version 2.0 (the "License");
  583. * you may not use this file except in compliance with the License.
  584. * You may obtain a copy of the License at
  585. *
  586. * http://www.apache.org/licenses/LICENSE-2.0
  587. *
  588. * Unless required by applicable law or agreed to in writing, software
  589. * distributed under the License is distributed on an "AS IS" BASIS,
  590. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  591. * See the License for the specific language governing permissions and
  592. * limitations under the License.
  593. */var se=oe,N=fe,k=ve;function ce(){var r,a;if(typeof k!="function")return!1;try{a=[1,3.14,-3.14,N+1,N+2],a=new k(a),r=se(a)&&a[0]===1&&a[1]===3&&a[2]===N-2&&a[3]===0&&a[4]===1}catch{r=!1}return r}var $e=ce;/**
  594. * @license Apache-2.0
  595. *
  596. * Copyright (c) 2018 The Stdlib Authors.
  597. *
  598. * Licensed under the Apache License, Version 2.0 (the "License");
  599. * you may not use this file except in compliance with the License.
  600. * You may obtain a copy of the License at
  601. *
  602. * http://www.apache.org/licenses/LICENSE-2.0
  603. *
  604. * Unless required by applicable law or agreed to in writing, software
  605. * distributed under the License is distributed on an "AS IS" BASIS,
  606. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  607. * See the License for the specific language governing permissions and
  608. * limitations under the License.
  609. */var pe=$e,ye=pe;/**
  610. * @license Apache-2.0
  611. *
  612. * Copyright (c) 2018 The Stdlib Authors.
  613. *
  614. * Licensed under the Apache License, Version 2.0 (the "License");
  615. * you may not use this file except in compliance with the License.
  616. * You may obtain a copy of the License at
  617. *
  618. * http://www.apache.org/licenses/LICENSE-2.0
  619. *
  620. * Unless required by applicable law or agreed to in writing, software
  621. * distributed under the License is distributed on an "AS IS" BASIS,
  622. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  623. * See the License for the specific language governing permissions and
  624. * limitations under the License.
  625. */var _e=typeof Uint32Array=="function"?Uint32Array:void 0,be=_e;/**
  626. * @license Apache-2.0
  627. *
  628. * Copyright (c) 2018 The Stdlib Authors.
  629. *
  630. * Licensed under the Apache License, Version 2.0 (the "License");
  631. * you may not use this file except in compliance with the License.
  632. * You may obtain a copy of the License at
  633. *
  634. * http://www.apache.org/licenses/LICENSE-2.0
  635. *
  636. * Unless required by applicable law or agreed to in writing, software
  637. * distributed under the License is distributed on an "AS IS" BASIS,
  638. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  639. * See the License for the specific language governing permissions and
  640. * limitations under the License.
  641. */function me(){throw new Error("not implemented")}var Ae=me;/**
  642. * @license Apache-2.0
  643. *
  644. * Copyright (c) 2018 The Stdlib Authors.
  645. *
  646. * Licensed under the Apache License, Version 2.0 (the "License");
  647. * you may not use this file except in compliance with the License.
  648. * You may obtain a copy of the License at
  649. *
  650. * http://www.apache.org/licenses/LICENSE-2.0
  651. *
  652. * Unless required by applicable law or agreed to in writing, software
  653. * distributed under the License is distributed on an "AS IS" BASIS,
  654. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  655. * See the License for the specific language governing permissions and
  656. * limitations under the License.
  657. */var he=ye,de=be,ge=Ae,M;he()?M=de:M=ge;var V=M;/**
  658. * @license Apache-2.0
  659. *
  660. * Copyright (c) 2018 The Stdlib Authors.
  661. *
  662. * Licensed under the Apache License, Version 2.0 (the "License");
  663. * you may not use this file except in compliance with the License.
  664. * You may obtain a copy of the License at
  665. *
  666. * http://www.apache.org/licenses/LICENSE-2.0
  667. *
  668. * Unless required by applicable law or agreed to in writing, software
  669. * distributed under the License is distributed on an "AS IS" BASIS,
  670. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  671. * See the License for the specific language governing permissions and
  672. * limitations under the License.
  673. */var Se=S,we=typeof Float64Array=="function";function Oe(r){return we&&r instanceof Float64Array||Se(r)==="[object Float64Array]"}var Ne=Oe;/**
  674. * @license Apache-2.0
  675. *
  676. * Copyright (c) 2018 The Stdlib Authors.
  677. *
  678. * Licensed under the Apache License, Version 2.0 (the "License");
  679. * you may not use this file except in compliance with the License.
  680. * You may obtain a copy of the License at
  681. *
  682. * http://www.apache.org/licenses/LICENSE-2.0
  683. *
  684. * Unless required by applicable law or agreed to in writing, software
  685. * distributed under the License is distributed on an "AS IS" BASIS,
  686. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  687. * See the License for the specific language governing permissions and
  688. * limitations under the License.
  689. */var Ie=Ne,Ue=Ie;/**
  690. * @license Apache-2.0
  691. *
  692. * Copyright (c) 2018 The Stdlib Authors.
  693. *
  694. * Licensed under the Apache License, Version 2.0 (the "License");
  695. * you may not use this file except in compliance with the License.
  696. * You may obtain a copy of the License at
  697. *
  698. * http://www.apache.org/licenses/LICENSE-2.0
  699. *
  700. * Unless required by applicable law or agreed to in writing, software
  701. * distributed under the License is distributed on an "AS IS" BASIS,
  702. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  703. * See the License for the specific language governing permissions and
  704. * limitations under the License.
  705. */var Ee=typeof Float64Array=="function"?Float64Array:null,Pe=Ee;/**
  706. * @license Apache-2.0
  707. *
  708. * Copyright (c) 2018 The Stdlib Authors.
  709. *
  710. * Licensed under the Apache License, Version 2.0 (the "License");
  711. * you may not use this file except in compliance with the License.
  712. * You may obtain a copy of the License at
  713. *
  714. * http://www.apache.org/licenses/LICENSE-2.0
  715. *
  716. * Unless required by applicable law or agreed to in writing, software
  717. * distributed under the License is distributed on an "AS IS" BASIS,
  718. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  719. * See the License for the specific language governing permissions and
  720. * limitations under the License.
  721. */var Te=Ue,rr=Pe;function Fe(){var r,a;if(typeof rr!="function")return!1;try{a=new rr([1,3.14,-3.14,NaN]),r=Te(a)&&a[0]===1&&a[1]===3.14&&a[2]===-3.14&&a[3]!==a[3]}catch{r=!1}return r}var Le=Fe;/**
  722. * @license Apache-2.0
  723. *
  724. * Copyright (c) 2018 The Stdlib Authors.
  725. *
  726. * Licensed under the Apache License, Version 2.0 (the "License");
  727. * you may not use this file except in compliance with the License.
  728. * You may obtain a copy of the License at
  729. *
  730. * http://www.apache.org/licenses/LICENSE-2.0
  731. *
  732. * Unless required by applicable law or agreed to in writing, software
  733. * distributed under the License is distributed on an "AS IS" BASIS,
  734. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  735. * See the License for the specific language governing permissions and
  736. * limitations under the License.
  737. */var Me=Le,We=Me;/**
  738. * @license Apache-2.0
  739. *
  740. * Copyright (c) 2018 The Stdlib Authors.
  741. *
  742. * Licensed under the Apache License, Version 2.0 (the "License");
  743. * you may not use this file except in compliance with the License.
  744. * You may obtain a copy of the License at
  745. *
  746. * http://www.apache.org/licenses/LICENSE-2.0
  747. *
  748. * Unless required by applicable law or agreed to in writing, software
  749. * distributed under the License is distributed on an "AS IS" BASIS,
  750. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  751. * See the License for the specific language governing permissions and
  752. * limitations under the License.
  753. */var He=typeof Float64Array=="function"?Float64Array:void 0,Ge=He;/**
  754. * @license Apache-2.0
  755. *
  756. * Copyright (c) 2018 The Stdlib Authors.
  757. *
  758. * Licensed under the Apache License, Version 2.0 (the "License");
  759. * you may not use this file except in compliance with the License.
  760. * You may obtain a copy of the License at
  761. *
  762. * http://www.apache.org/licenses/LICENSE-2.0
  763. *
  764. * Unless required by applicable law or agreed to in writing, software
  765. * distributed under the License is distributed on an "AS IS" BASIS,
  766. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  767. * See the License for the specific language governing permissions and
  768. * limitations under the License.
  769. */function je(){throw new Error("not implemented")}var Re=je;/**
  770. * @license Apache-2.0
  771. *
  772. * Copyright (c) 2018 The Stdlib Authors.
  773. *
  774. * Licensed under the Apache License, Version 2.0 (the "License");
  775. * you may not use this file except in compliance with the License.
  776. * You may obtain a copy of the License at
  777. *
  778. * http://www.apache.org/licenses/LICENSE-2.0
  779. *
  780. * Unless required by applicable law or agreed to in writing, software
  781. * distributed under the License is distributed on an "AS IS" BASIS,
  782. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  783. * See the License for the specific language governing permissions and
  784. * limitations under the License.
  785. */var Ce=We,Xe=Ge,De=Re,W;Ce()?W=Xe:W=De;var x=W;/**
  786. * @license Apache-2.0
  787. *
  788. * Copyright (c) 2018 The Stdlib Authors.
  789. *
  790. * Licensed under the Apache License, Version 2.0 (the "License");
  791. * you may not use this file except in compliance with the License.
  792. * You may obtain a copy of the License at
  793. *
  794. * http://www.apache.org/licenses/LICENSE-2.0
  795. *
  796. * Unless required by applicable law or agreed to in writing, software
  797. * distributed under the License is distributed on an "AS IS" BASIS,
  798. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  799. * See the License for the specific language governing permissions and
  800. * limitations under the License.
  801. */var Be=S,Ve=typeof Uint8Array=="function";function xe(r){return Ve&&r instanceof Uint8Array||Be(r)==="[object Uint8Array]"}var Je=xe;/**
  802. * @license Apache-2.0
  803. *
  804. * Copyright (c) 2018 The Stdlib Authors.
  805. *
  806. * Licensed under the Apache License, Version 2.0 (the "License");
  807. * you may not use this file except in compliance with the License.
  808. * You may obtain a copy of the License at
  809. *
  810. * http://www.apache.org/licenses/LICENSE-2.0
  811. *
  812. * Unless required by applicable law or agreed to in writing, software
  813. * distributed under the License is distributed on an "AS IS" BASIS,
  814. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  815. * See the License for the specific language governing permissions and
  816. * limitations under the License.
  817. */var qe=Je,ze=qe;/**
  818. * @license Apache-2.0
  819. *
  820. * Copyright (c) 2018 The Stdlib Authors.
  821. *
  822. * Licensed under the Apache License, Version 2.0 (the "License");
  823. * you may not use this file except in compliance with the License.
  824. * You may obtain a copy of the License at
  825. *
  826. * http://www.apache.org/licenses/LICENSE-2.0
  827. *
  828. * Unless required by applicable law or agreed to in writing, software
  829. * distributed under the License is distributed on an "AS IS" BASIS,
  830. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  831. * See the License for the specific language governing permissions and
  832. * limitations under the License.
  833. */var Ke=255,Qe=Ke;/**
  834. * @license Apache-2.0
  835. *
  836. * Copyright (c) 2018 The Stdlib Authors.
  837. *
  838. * Licensed under the Apache License, Version 2.0 (the "License");
  839. * you may not use this file except in compliance with the License.
  840. * You may obtain a copy of the License at
  841. *
  842. * http://www.apache.org/licenses/LICENSE-2.0
  843. *
  844. * Unless required by applicable law or agreed to in writing, software
  845. * distributed under the License is distributed on an "AS IS" BASIS,
  846. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  847. * See the License for the specific language governing permissions and
  848. * limitations under the License.
  849. */var Ye=typeof Uint8Array=="function"?Uint8Array:null,Ze=Ye;/**
  850. * @license Apache-2.0
  851. *
  852. * Copyright (c) 2018 The Stdlib Authors.
  853. *
  854. * Licensed under the Apache License, Version 2.0 (the "License");
  855. * you may not use this file except in compliance with the License.
  856. * You may obtain a copy of the License at
  857. *
  858. * http://www.apache.org/licenses/LICENSE-2.0
  859. *
  860. * Unless required by applicable law or agreed to in writing, software
  861. * distributed under the License is distributed on an "AS IS" BASIS,
  862. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  863. * See the License for the specific language governing permissions and
  864. * limitations under the License.
  865. */var ke=ze,I=Qe,ar=Ze;function rt(){var r,a;if(typeof ar!="function")return!1;try{a=[1,3.14,-3.14,I+1,I+2],a=new ar(a),r=ke(a)&&a[0]===1&&a[1]===3&&a[2]===I-2&&a[3]===0&&a[4]===1}catch{r=!1}return r}var at=rt;/**
  866. * @license Apache-2.0
  867. *
  868. * Copyright (c) 2018 The Stdlib Authors.
  869. *
  870. * Licensed under the Apache License, Version 2.0 (the "License");
  871. * you may not use this file except in compliance with the License.
  872. * You may obtain a copy of the License at
  873. *
  874. * http://www.apache.org/licenses/LICENSE-2.0
  875. *
  876. * Unless required by applicable law or agreed to in writing, software
  877. * distributed under the License is distributed on an "AS IS" BASIS,
  878. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  879. * See the License for the specific language governing permissions and
  880. * limitations under the License.
  881. */var et=at,tt=et;/**
  882. * @license Apache-2.0
  883. *
  884. * Copyright (c) 2018 The Stdlib Authors.
  885. *
  886. * Licensed under the Apache License, Version 2.0 (the "License");
  887. * you may not use this file except in compliance with the License.
  888. * You may obtain a copy of the License at
  889. *
  890. * http://www.apache.org/licenses/LICENSE-2.0
  891. *
  892. * Unless required by applicable law or agreed to in writing, software
  893. * distributed under the License is distributed on an "AS IS" BASIS,
  894. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  895. * See the License for the specific language governing permissions and
  896. * limitations under the License.
  897. */var nt=typeof Uint8Array=="function"?Uint8Array:void 0,it=nt;/**
  898. * @license Apache-2.0
  899. *
  900. * Copyright (c) 2018 The Stdlib Authors.
  901. *
  902. * Licensed under the Apache License, Version 2.0 (the "License");
  903. * you may not use this file except in compliance with the License.
  904. * You may obtain a copy of the License at
  905. *
  906. * http://www.apache.org/licenses/LICENSE-2.0
  907. *
  908. * Unless required by applicable law or agreed to in writing, software
  909. * distributed under the License is distributed on an "AS IS" BASIS,
  910. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  911. * See the License for the specific language governing permissions and
  912. * limitations under the License.
  913. */function ot(){throw new Error("not implemented")}var lt=ot;/**
  914. * @license Apache-2.0
  915. *
  916. * Copyright (c) 2018 The Stdlib Authors.
  917. *
  918. * Licensed under the Apache License, Version 2.0 (the "License");
  919. * you may not use this file except in compliance with the License.
  920. * You may obtain a copy of the License at
  921. *
  922. * http://www.apache.org/licenses/LICENSE-2.0
  923. *
  924. * Unless required by applicable law or agreed to in writing, software
  925. * distributed under the License is distributed on an "AS IS" BASIS,
  926. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  927. * See the License for the specific language governing permissions and
  928. * limitations under the License.
  929. */var ft=tt,ut=it,vt=lt,H;ft()?H=ut:H=vt;var st=H;/**
  930. * @license Apache-2.0
  931. *
  932. * Copyright (c) 2018 The Stdlib Authors.
  933. *
  934. * Licensed under the Apache License, Version 2.0 (the "License");
  935. * you may not use this file except in compliance with the License.
  936. * You may obtain a copy of the License at
  937. *
  938. * http://www.apache.org/licenses/LICENSE-2.0
  939. *
  940. * Unless required by applicable law or agreed to in writing, software
  941. * distributed under the License is distributed on an "AS IS" BASIS,
  942. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  943. * See the License for the specific language governing permissions and
  944. * limitations under the License.
  945. */var ct=S,$t=typeof Uint16Array=="function";function pt(r){return $t&&r instanceof Uint16Array||ct(r)==="[object Uint16Array]"}var yt=pt;/**
  946. * @license Apache-2.0
  947. *
  948. * Copyright (c) 2018 The Stdlib Authors.
  949. *
  950. * Licensed under the Apache License, Version 2.0 (the "License");
  951. * you may not use this file except in compliance with the License.
  952. * You may obtain a copy of the License at
  953. *
  954. * http://www.apache.org/licenses/LICENSE-2.0
  955. *
  956. * Unless required by applicable law or agreed to in writing, software
  957. * distributed under the License is distributed on an "AS IS" BASIS,
  958. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  959. * See the License for the specific language governing permissions and
  960. * limitations under the License.
  961. */var _t=yt,bt=_t;/**
  962. * @license Apache-2.0
  963. *
  964. * Copyright (c) 2018 The Stdlib Authors.
  965. *
  966. * Licensed under the Apache License, Version 2.0 (the "License");
  967. * you may not use this file except in compliance with the License.
  968. * You may obtain a copy of the License at
  969. *
  970. * http://www.apache.org/licenses/LICENSE-2.0
  971. *
  972. * Unless required by applicable law or agreed to in writing, software
  973. * distributed under the License is distributed on an "AS IS" BASIS,
  974. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  975. * See the License for the specific language governing permissions and
  976. * limitations under the License.
  977. */var mt=65535,At=mt;/**
  978. * @license Apache-2.0
  979. *
  980. * Copyright (c) 2018 The Stdlib Authors.
  981. *
  982. * Licensed under the Apache License, Version 2.0 (the "License");
  983. * you may not use this file except in compliance with the License.
  984. * You may obtain a copy of the License at
  985. *
  986. * http://www.apache.org/licenses/LICENSE-2.0
  987. *
  988. * Unless required by applicable law or agreed to in writing, software
  989. * distributed under the License is distributed on an "AS IS" BASIS,
  990. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  991. * See the License for the specific language governing permissions and
  992. * limitations under the License.
  993. */var ht=typeof Uint16Array=="function"?Uint16Array:null,dt=ht;/**
  994. * @license Apache-2.0
  995. *
  996. * Copyright (c) 2018 The Stdlib Authors.
  997. *
  998. * Licensed under the Apache License, Version 2.0 (the "License");
  999. * you may not use this file except in compliance with the License.
  1000. * You may obtain a copy of the License at
  1001. *
  1002. * http://www.apache.org/licenses/LICENSE-2.0
  1003. *
  1004. * Unless required by applicable law or agreed to in writing, software
  1005. * distributed under the License is distributed on an "AS IS" BASIS,
  1006. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  1007. * See the License for the specific language governing permissions and
  1008. * limitations under the License.
  1009. */var gt=bt,U=At,er=dt;function St(){var r,a;if(typeof er!="function")return!1;try{a=[1,3.14,-3.14,U+1,U+2],a=new er(a),r=gt(a)&&a[0]===1&&a[1]===3&&a[2]===U-2&&a[3]===0&&a[4]===1}catch{r=!1}return r}var wt=St;/**
  1010. * @license Apache-2.0
  1011. *
  1012. * Copyright (c) 2018 The Stdlib Authors.
  1013. *
  1014. * Licensed under the Apache License, Version 2.0 (the "License");
  1015. * you may not use this file except in compliance with the License.
  1016. * You may obtain a copy of the License at
  1017. *
  1018. * http://www.apache.org/licenses/LICENSE-2.0
  1019. *
  1020. * Unless required by applicable law or agreed to in writing, software
  1021. * distributed under the License is distributed on an "AS IS" BASIS,
  1022. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  1023. * See the License for the specific language governing permissions and
  1024. * limitations under the License.
  1025. */var Ot=wt,Nt=Ot;/**
  1026. * @license Apache-2.0
  1027. *
  1028. * Copyright (c) 2018 The Stdlib Authors.
  1029. *
  1030. * Licensed under the Apache License, Version 2.0 (the "License");
  1031. * you may not use this file except in compliance with the License.
  1032. * You may obtain a copy of the License at
  1033. *
  1034. * http://www.apache.org/licenses/LICENSE-2.0
  1035. *
  1036. * Unless required by applicable law or agreed to in writing, software
  1037. * distributed under the License is distributed on an "AS IS" BASIS,
  1038. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  1039. * See the License for the specific language governing permissions and
  1040. * limitations under the License.
  1041. */var It=typeof Uint16Array=="function"?Uint16Array:void 0,Ut=It;/**
  1042. * @license Apache-2.0
  1043. *
  1044. * Copyright (c) 2018 The Stdlib Authors.
  1045. *
  1046. * Licensed under the Apache License, Version 2.0 (the "License");
  1047. * you may not use this file except in compliance with the License.
  1048. * You may obtain a copy of the License at
  1049. *
  1050. * http://www.apache.org/licenses/LICENSE-2.0
  1051. *
  1052. * Unless required by applicable law or agreed to in writing, software
  1053. * distributed under the License is distributed on an "AS IS" BASIS,
  1054. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  1055. * See the License for the specific language governing permissions and
  1056. * limitations under the License.
  1057. */function Et(){throw new Error("not implemented")}var Pt=Et;/**
  1058. * @license Apache-2.0
  1059. *
  1060. * Copyright (c) 2018 The Stdlib Authors.
  1061. *
  1062. * Licensed under the Apache License, Version 2.0 (the "License");
  1063. * you may not use this file except in compliance with the License.
  1064. * You may obtain a copy of the License at
  1065. *
  1066. * http://www.apache.org/licenses/LICENSE-2.0
  1067. *
  1068. * Unless required by applicable law or agreed to in writing, software
  1069. * distributed under the License is distributed on an "AS IS" BASIS,
  1070. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  1071. * See the License for the specific language governing permissions and
  1072. * limitations under the License.
  1073. */var Tt=Nt,Ft=Ut,Lt=Pt,G;Tt()?G=Ft:G=Lt;var Mt=G;/**
  1074. * @license Apache-2.0
  1075. *
  1076. * Copyright (c) 2018 The Stdlib Authors.
  1077. *
  1078. * Licensed under the Apache License, Version 2.0 (the "License");
  1079. * you may not use this file except in compliance with the License.
  1080. * You may obtain a copy of the License at
  1081. *
  1082. * http://www.apache.org/licenses/LICENSE-2.0
  1083. *
  1084. * Unless required by applicable law or agreed to in writing, software
  1085. * distributed under the License is distributed on an "AS IS" BASIS,
  1086. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  1087. * See the License for the specific language governing permissions and
  1088. * limitations under the License.
  1089. */var Wt=st,Ht=Mt,Gt={uint16:Ht,uint8:Wt},jt=Gt;/**
  1090. * @license Apache-2.0
  1091. *
  1092. * Copyright (c) 2018 The Stdlib Authors.
  1093. *
  1094. * Licensed under the Apache License, Version 2.0 (the "License");
  1095. * you may not use this file except in compliance with the License.
  1096. * You may obtain a copy of the License at
  1097. *
  1098. * http://www.apache.org/licenses/LICENSE-2.0
  1099. *
  1100. * Unless required by applicable law or agreed to in writing, software
  1101. * distributed under the License is distributed on an "AS IS" BASIS,
  1102. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  1103. * See the License for the specific language governing permissions and
  1104. * limitations under the License.
  1105. */var tr=jt,mr;function Rt(){var r,a;return r=new tr.uint16(1),r[0]=4660,a=new tr.uint8(r.buffer),a[0]===52}mr=Rt();var Ct=mr;/**
  1106. * @license Apache-2.0
  1107. *
  1108. * Copyright (c) 2018 The Stdlib Authors.
  1109. *
  1110. * Licensed under the Apache License, Version 2.0 (the "License");
  1111. * you may not use this file except in compliance with the License.
  1112. * You may obtain a copy of the License at
  1113. *
  1114. * http://www.apache.org/licenses/LICENSE-2.0
  1115. *
  1116. * Unless required by applicable law or agreed to in writing, software
  1117. * distributed under the License is distributed on an "AS IS" BASIS,
  1118. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  1119. * See the License for the specific language governing permissions and
  1120. * limitations under the License.
  1121. */var Xt=Ct,J=Xt;/**
  1122. * @license Apache-2.0
  1123. *
  1124. * Copyright (c) 2018 The Stdlib Authors.
  1125. *
  1126. * Licensed under the Apache License, Version 2.0 (the "License");
  1127. * you may not use this file except in compliance with the License.
  1128. * You may obtain a copy of the License at
  1129. *
  1130. * http://www.apache.org/licenses/LICENSE-2.0
  1131. *
  1132. * Unless required by applicable law or agreed to in writing, software
  1133. * distributed under the License is distributed on an "AS IS" BASIS,
  1134. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  1135. * See the License for the specific language governing permissions and
  1136. * limitations under the License.
  1137. */var Dt=J,Ar,j,R;Dt===!0?(j=1,R=0):(j=0,R=1);Ar={HIGH:j,LOW:R};var Bt=Ar;/**
  1138. * @license Apache-2.0
  1139. *
  1140. * Copyright (c) 2018 The Stdlib Authors.
  1141. *
  1142. * Licensed under the Apache License, Version 2.0 (the "License");
  1143. * you may not use this file except in compliance with the License.
  1144. * You may obtain a copy of the License at
  1145. *
  1146. * http://www.apache.org/licenses/LICENSE-2.0
  1147. *
  1148. * Unless required by applicable law or agreed to in writing, software
  1149. * distributed under the License is distributed on an "AS IS" BASIS,
  1150. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  1151. * See the License for the specific language governing permissions and
  1152. * limitations under the License.
  1153. */var Vt=V,xt=x,hr=Bt,dr=new xt(1),nr=new Vt(dr.buffer),Jt=hr.HIGH,qt=hr.LOW;function zt(r,a,e,t){return dr[0]=r,a[t]=nr[Jt],a[t+e]=nr[qt],a}var gr=zt;/**
  1154. * @license Apache-2.0
  1155. *
  1156. * Copyright (c) 2018 The Stdlib Authors.
  1157. *
  1158. * Licensed under the Apache License, Version 2.0 (the "License");
  1159. * you may not use this file except in compliance with the License.
  1160. * You may obtain a copy of the License at
  1161. *
  1162. * http://www.apache.org/licenses/LICENSE-2.0
  1163. *
  1164. * Unless required by applicable law or agreed to in writing, software
  1165. * distributed under the License is distributed on an "AS IS" BASIS,
  1166. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  1167. * See the License for the specific language governing permissions and
  1168. * limitations under the License.
  1169. */var Kt=gr;function Qt(r){return Kt(r,[0>>>0,0>>>0],1,0)}var Yt=Qt;/**
  1170. * @license Apache-2.0
  1171. *
  1172. * Copyright (c) 2018 The Stdlib Authors.
  1173. *
  1174. * Licensed under the Apache License, Version 2.0 (the "License");
  1175. * you may not use this file except in compliance with the License.
  1176. * You may obtain a copy of the License at
  1177. *
  1178. * http://www.apache.org/licenses/LICENSE-2.0
  1179. *
  1180. * Unless required by applicable law or agreed to in writing, software
  1181. * distributed under the License is distributed on an "AS IS" BASIS,
  1182. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  1183. * See the License for the specific language governing permissions and
  1184. * limitations under the License.
  1185. */var Zt=_r,Sr=Yt,kt=gr;Zt(Sr,"assign",kt);var wr=Sr;/**
  1186. * @license Apache-2.0
  1187. *
  1188. * Copyright (c) 2018 The Stdlib Authors.
  1189. *
  1190. * Licensed under the Apache License, Version 2.0 (the "License");
  1191. * you may not use this file except in compliance with the License.
  1192. * You may obtain a copy of the License at
  1193. *
  1194. * http://www.apache.org/licenses/LICENSE-2.0
  1195. *
  1196. * Unless required by applicable law or agreed to in writing, software
  1197. * distributed under the License is distributed on an "AS IS" BASIS,
  1198. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  1199. * See the License for the specific language governing permissions and
  1200. * limitations under the License.
  1201. */var rn=J,C;rn===!0?C=1:C=0;var an=C;/**
  1202. * @license Apache-2.0
  1203. *
  1204. * Copyright (c) 2018 The Stdlib Authors.
  1205. *
  1206. * Licensed under the Apache License, Version 2.0 (the "License");
  1207. * you may not use this file except in compliance with the License.
  1208. * You may obtain a copy of the License at
  1209. *
  1210. * http://www.apache.org/licenses/LICENSE-2.0
  1211. *
  1212. * Unless required by applicable law or agreed to in writing, software
  1213. * distributed under the License is distributed on an "AS IS" BASIS,
  1214. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  1215. * See the License for the specific language governing permissions and
  1216. * limitations under the License.
  1217. */var en=V,tn=x,nn=an,Or=new tn(1),on=new en(Or.buffer);function ln(r){return Or[0]=r,on[nn]}var fn=ln;/**
  1218. * @license Apache-2.0
  1219. *
  1220. * Copyright (c) 2018 The Stdlib Authors.
  1221. *
  1222. * Licensed under the Apache License, Version 2.0 (the "License");
  1223. * you may not use this file except in compliance with the License.
  1224. * You may obtain a copy of the License at
  1225. *
  1226. * http://www.apache.org/licenses/LICENSE-2.0
  1227. *
  1228. * Unless required by applicable law or agreed to in writing, software
  1229. * distributed under the License is distributed on an "AS IS" BASIS,
  1230. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  1231. * See the License for the specific language governing permissions and
  1232. * limitations under the License.
  1233. */var un=fn,Nr=un;/**
  1234. * @license Apache-2.0
  1235. *
  1236. * Copyright (c) 2018 The Stdlib Authors.
  1237. *
  1238. * Licensed under the Apache License, Version 2.0 (the "License");
  1239. * you may not use this file except in compliance with the License.
  1240. * You may obtain a copy of the License at
  1241. *
  1242. * http://www.apache.org/licenses/LICENSE-2.0
  1243. *
  1244. * Unless required by applicable law or agreed to in writing, software
  1245. * distributed under the License is distributed on an "AS IS" BASIS,
  1246. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  1247. * See the License for the specific language governing permissions and
  1248. * limitations under the License.
  1249. */var vn=J,Ir,X,D;vn===!0?(X=1,D=0):(X=0,D=1);Ir={HIGH:X,LOW:D};var sn=Ir;/**
  1250. * @license Apache-2.0
  1251. *
  1252. * Copyright (c) 2018 The Stdlib Authors.
  1253. *
  1254. * Licensed under the Apache License, Version 2.0 (the "License");
  1255. * you may not use this file except in compliance with the License.
  1256. * You may obtain a copy of the License at
  1257. *
  1258. * http://www.apache.org/licenses/LICENSE-2.0
  1259. *
  1260. * Unless required by applicable law or agreed to in writing, software
  1261. * distributed under the License is distributed on an "AS IS" BASIS,
  1262. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  1263. * See the License for the specific language governing permissions and
  1264. * limitations under the License.
  1265. */var cn=V,$n=x,Ur=sn,Er=new $n(1),ir=new cn(Er.buffer),pn=Ur.HIGH,yn=Ur.LOW;function _n(r,a){return ir[pn]=r,ir[yn]=a,Er[0]}var bn=_n;/**
  1266. * @license Apache-2.0
  1267. *
  1268. * Copyright (c) 2018 The Stdlib Authors.
  1269. *
  1270. * Licensed under the Apache License, Version 2.0 (the "License");
  1271. * you may not use this file except in compliance with the License.
  1272. * You may obtain a copy of the License at
  1273. *
  1274. * http://www.apache.org/licenses/LICENSE-2.0
  1275. *
  1276. * Unless required by applicable law or agreed to in writing, software
  1277. * distributed under the License is distributed on an "AS IS" BASIS,
  1278. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  1279. * See the License for the specific language governing permissions and
  1280. * limitations under the License.
  1281. */var mn=bn,Pr=mn;/**
  1282. * @license Apache-2.0
  1283. *
  1284. * Copyright (c) 2018 The Stdlib Authors.
  1285. *
  1286. * Licensed under the Apache License, Version 2.0 (the "License");
  1287. * you may not use this file except in compliance with the License.
  1288. * You may obtain a copy of the License at
  1289. *
  1290. * http://www.apache.org/licenses/LICENSE-2.0
  1291. *
  1292. * Unless required by applicable law or agreed to in writing, software
  1293. * distributed under the License is distributed on an "AS IS" BASIS,
  1294. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  1295. * See the License for the specific language governing permissions and
  1296. * limitations under the License.
  1297. */var An=oa,hn=fa,dn=wr,gn=Nr,Sn=Pr,E=[0,0];function wn(r,a){var e,t;return dn.assign(r,E,1,0),e=E[0],e&=hn,t=gn(a),t&=An,e|=t,Sn(e,E[1])}var On=wn;/**
  1298. * @license Apache-2.0
  1299. *
  1300. * Copyright (c) 2018 The Stdlib Authors.
  1301. *
  1302. * Licensed under the Apache License, Version 2.0 (the "License");
  1303. * you may not use this file except in compliance with the License.
  1304. * You may obtain a copy of the License at
  1305. *
  1306. * http://www.apache.org/licenses/LICENSE-2.0
  1307. *
  1308. * Unless required by applicable law or agreed to in writing, software
  1309. * distributed under the License is distributed on an "AS IS" BASIS,
  1310. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  1311. * See the License for the specific language governing permissions and
  1312. * limitations under the License.
  1313. */var Nn=On,In=Nn;/**
  1314. * @license Apache-2.0
  1315. *
  1316. * Copyright (c) 2018 The Stdlib Authors.
  1317. *
  1318. * Licensed under the Apache License, Version 2.0 (the "License");
  1319. * you may not use this file except in compliance with the License.
  1320. * You may obtain a copy of the License at
  1321. *
  1322. * http://www.apache.org/licenses/LICENSE-2.0
  1323. *
  1324. * Unless required by applicable law or agreed to in writing, software
  1325. * distributed under the License is distributed on an "AS IS" BASIS,
  1326. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  1327. * See the License for the specific language governing permissions and
  1328. * limitations under the License.
  1329. */var Un=22250738585072014e-324,En=Un;/**
  1330. * @license Apache-2.0
  1331. *
  1332. * Copyright (c) 2021 The Stdlib Authors.
  1333. *
  1334. * Licensed under the Apache License, Version 2.0 (the "License");
  1335. * you may not use this file except in compliance with the License.
  1336. * You may obtain a copy of the License at
  1337. *
  1338. * http://www.apache.org/licenses/LICENSE-2.0
  1339. *
  1340. * Unless required by applicable law or agreed to in writing, software
  1341. * distributed under the License is distributed on an "AS IS" BASIS,
  1342. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  1343. * See the License for the specific language governing permissions and
  1344. * limitations under the License.
  1345. */function Pn(r){return Math.abs(r)}var Tn=Pn;/**
  1346. * @license Apache-2.0
  1347. *
  1348. * Copyright (c) 2018 The Stdlib Authors.
  1349. *
  1350. * Licensed under the Apache License, Version 2.0 (the "License");
  1351. * you may not use this file except in compliance with the License.
  1352. * You may obtain a copy of the License at
  1353. *
  1354. * http://www.apache.org/licenses/LICENSE-2.0
  1355. *
  1356. * Unless required by applicable law or agreed to in writing, software
  1357. * distributed under the License is distributed on an "AS IS" BASIS,
  1358. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  1359. * See the License for the specific language governing permissions and
  1360. * limitations under the License.
  1361. */var Fn=Tn,Ln=Fn;/**
  1362. * @license Apache-2.0
  1363. *
  1364. * Copyright (c) 2018 The Stdlib Authors.
  1365. *
  1366. * Licensed under the Apache License, Version 2.0 (the "License");
  1367. * you may not use this file except in compliance with the License.
  1368. * You may obtain a copy of the License at
  1369. *
  1370. * http://www.apache.org/licenses/LICENSE-2.0
  1371. *
  1372. * Unless required by applicable law or agreed to in writing, software
  1373. * distributed under the License is distributed on an "AS IS" BASIS,
  1374. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  1375. * See the License for the specific language governing permissions and
  1376. * limitations under the License.
  1377. */var Mn=En,Wn=yr,Hn=pr,Gn=Ln,jn=4503599627370496;function Rn(r,a,e,t){return Hn(r)||Wn(r)?(a[t]=r,a[t+e]=0,a):r!==0&&Gn(r)<Mn?(a[t]=r*jn,a[t+e]=-52,a):(a[t]=r,a[t+e]=0,a)}var Tr=Rn;/**
  1378. * @license Apache-2.0
  1379. *
  1380. * Copyright (c) 2018 The Stdlib Authors.
  1381. *
  1382. * Licensed under the Apache License, Version 2.0 (the "License");
  1383. * you may not use this file except in compliance with the License.
  1384. * You may obtain a copy of the License at
  1385. *
  1386. * http://www.apache.org/licenses/LICENSE-2.0
  1387. *
  1388. * Unless required by applicable law or agreed to in writing, software
  1389. * distributed under the License is distributed on an "AS IS" BASIS,
  1390. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  1391. * See the License for the specific language governing permissions and
  1392. * limitations under the License.
  1393. */var Cn=Tr;function Xn(r){return Cn(r,[0,0],1,0)}var Dn=Xn;/**
  1394. * @license Apache-2.0
  1395. *
  1396. * Copyright (c) 2018 The Stdlib Authors.
  1397. *
  1398. * Licensed under the Apache License, Version 2.0 (the "License");
  1399. * you may not use this file except in compliance with the License.
  1400. * You may obtain a copy of the License at
  1401. *
  1402. * http://www.apache.org/licenses/LICENSE-2.0
  1403. *
  1404. * Unless required by applicable law or agreed to in writing, software
  1405. * distributed under the License is distributed on an "AS IS" BASIS,
  1406. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  1407. * See the License for the specific language governing permissions and
  1408. * limitations under the License.
  1409. */var Bn=_r,Fr=Dn,Vn=Tr;Bn(Fr,"assign",Vn);var xn=Fr;/**
  1410. * @license Apache-2.0
  1411. *
  1412. * Copyright (c) 2018 The Stdlib Authors.
  1413. *
  1414. * Licensed under the Apache License, Version 2.0 (the "License");
  1415. * you may not use this file except in compliance with the License.
  1416. * You may obtain a copy of the License at
  1417. *
  1418. * http://www.apache.org/licenses/LICENSE-2.0
  1419. *
  1420. * Unless required by applicable law or agreed to in writing, software
  1421. * distributed under the License is distributed on an "AS IS" BASIS,
  1422. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  1423. * See the License for the specific language governing permissions and
  1424. * limitations under the License.
  1425. */var Jn=2146435072,qn=Jn;/**
  1426. * @license Apache-2.0
  1427. *
  1428. * Copyright (c) 2018 The Stdlib Authors.
  1429. *
  1430. * Licensed under the Apache License, Version 2.0 (the "License");
  1431. * you may not use this file except in compliance with the License.
  1432. * You may obtain a copy of the License at
  1433. *
  1434. * http://www.apache.org/licenses/LICENSE-2.0
  1435. *
  1436. * Unless required by applicable law or agreed to in writing, software
  1437. * distributed under the License is distributed on an "AS IS" BASIS,
  1438. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  1439. * See the License for the specific language governing permissions and
  1440. * limitations under the License.
  1441. */var zn=Nr,Kn=qn,Qn=$r;function Yn(r){var a=zn(r);return a=(a&Kn)>>>20,a-Qn|0}var Zn=Yn;/**
  1442. * @license Apache-2.0
  1443. *
  1444. * Copyright (c) 2018 The Stdlib Authors.
  1445. *
  1446. * Licensed under the Apache License, Version 2.0 (the "License");
  1447. * you may not use this file except in compliance with the License.
  1448. * You may obtain a copy of the License at
  1449. *
  1450. * http://www.apache.org/licenses/LICENSE-2.0
  1451. *
  1452. * Unless required by applicable law or agreed to in writing, software
  1453. * distributed under the License is distributed on an "AS IS" BASIS,
  1454. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  1455. * See the License for the specific language governing permissions and
  1456. * limitations under the License.
  1457. */var kn=Zn,ri=kn;/**
  1458. * @license Apache-2.0
  1459. *
  1460. * Copyright (c) 2018 The Stdlib Authors.
  1461. *
  1462. * Licensed under the Apache License, Version 2.0 (the "License");
  1463. * you may not use this file except in compliance with the License.
  1464. * You may obtain a copy of the License at
  1465. *
  1466. * http://www.apache.org/licenses/LICENSE-2.0
  1467. *
  1468. * Unless required by applicable law or agreed to in writing, software
  1469. * distributed under the License is distributed on an "AS IS" BASIS,
  1470. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  1471. * See the License for the specific language governing permissions and
  1472. * limitations under the License.
  1473. */var ai=sr,ei=cr,ti=$r,ni=Jr,ii=zr,oi=Qr,li=pr,fi=yr,ui=In,vi=xn,si=ri,ci=wr,$i=Pr,pi=2220446049250313e-31,yi=2148532223>>>0,P=[0,0],T=[0,0];function _i(r,a){var e,t;return r===0||li(r)||fi(r)?r:(vi(P),r=P[0],a+=P[1],a+=si(r),a<oi?ui(0,r):a>ni?r<0?ei:ai:(a<=ii?(a+=52,t=pi):t=1,ci(T),e=T[0],e&=yi,e|=a+ti<<20,t*$i(e,T[1])))}var bi=_i;/**
  1474. * @license Apache-2.0
  1475. *
  1476. * Copyright (c) 2018 The Stdlib Authors.
  1477. *
  1478. * Licensed under the Apache License, Version 2.0 (the "License");
  1479. * you may not use this file except in compliance with the License.
  1480. * You may obtain a copy of the License at
  1481. *
  1482. * http://www.apache.org/licenses/LICENSE-2.0
  1483. *
  1484. * Unless required by applicable law or agreed to in writing, software
  1485. * distributed under the License is distributed on an "AS IS" BASIS,
  1486. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  1487. * See the License for the specific language governing permissions and
  1488. * limitations under the License.
  1489. */var mi=bi,Ai=mi;const hi=ur(Lr);var w={},di=$&&$.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(w,"__esModule",{value:!0});w.unset=void 0;var gi=di(A);function Si(r,a){if((0,gi.default)(r,a)){for(var e=a.split("."),t=e.pop();e.length&&e[e.length-1].slice(-1)==="\\";)t=e.pop().slice(0,-1)+"."+t;for(;e.length;)r=r[a=e.shift()];return delete r[t]}return!0}w.unset=Si;var q=$&&$.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(B,"__esModule",{value:!0});var wi=q(Hr),y=q(A),Oi=q(Ai),m=hi,Ni=w;function Ii(r,a){for(var e=r,t=0,n=a;t<n.length;t++){var i=n[t];switch(i.type){case"drop":return null;case"drop_properties":Ui(e,i.config);break;case"allow_properties":Ei(e,i.config);break;case"sample_event":if(Ti(e,i.config))break;return null;case"map_properties":Pi(e,i.config);break;case"hash_properties":break;default:throw new Error('Transformer of type "'.concat(i.type,'" is unsupported.'))}}return e}B.default=Ii;function Ui(r,a){for(var e in a.drop)if(a.drop.hasOwnProperty(e)){var t=e===""?r:(0,y.default)(r,e);if(!(typeof t!="object"||t===null))for(var n=0,i=a.drop[e];n<i.length;n++){var o=i[n];delete t[o]}}}function Ei(r,a){for(var e in a.allow)if(a.allow.hasOwnProperty(e)){var t=e===""?r:(0,y.default)(r,e);if(!(typeof t!="object"||t===null))for(var n in t)t.hasOwnProperty(n)&&a.allow[e].indexOf(n)===-1&&delete t[n]}}function Pi(r,a){var e=JSON.parse(JSON.stringify(r));for(var t in a.map)if(a.map.hasOwnProperty(t)){var n=a.map[t],i=t.split("."),o=void 0;if(i.length>1?(i.pop(),o=(0,y.default)(e,i.join("."))):o=r,typeof o=="object"){if(n.copy){var l=(0,y.default)(e,n.copy);l!==void 0&&(0,m.dset)(r,t,l)}else if(n.move){var f=(0,y.default)(e,n.move);f!==void 0&&(0,m.dset)(r,t,f),(0,Ni.unset)(r,n.move)}else n.hasOwnProperty("set")&&(0,m.dset)(r,t,n.set);if(n.to_string){var u=(0,y.default)(r,t);if(typeof u=="string"||typeof u=="object"&&u!==null)continue;u!==void 0?(0,m.dset)(r,t,JSON.stringify(u)):(0,m.dset)(r,t,"undefined")}}}}function Ti(r,a){return a.sample.percent<=0?!1:a.sample.percent>=1?!0:a.sample.path?Li(r,a):Fi(a.sample.percent)}function Fi(r){return Math.random()<=r}function Li(r,a){var e=(0,y.default)(r,a.sample.path),t=(0,wi.default)(JSON.stringify(e)),n=-64,i=[];or(t.slice(0,8),i);for(var o=0,l=0;l<64&&i[l]!==1;l++)o++;if(o!==0){var f=[];or(t.slice(9,16),f),n-=o,i.splice(0,o),f.splice(64-o),i=i.concat(f)}return i[63]=i[63]===0?1:0,(0,Oi.default)(parseInt(i.join(""),2),n)<a.sample.percent}function or(r,a){for(var e=0;e<8;e++)for(var t=r[e],n=128;n>=1;n/=2)t-n>=0?(t-=n,a.push(1)):a.push(0)}var z={},Mi=$&&$.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(z,"__esModule",{value:!0});var Wi=Mi(A);function Hi(r,a){if(!a)throw new Error("No matcher supplied!");switch(a.type){case"all":return Gi();case"fql":return ji(a.ir,r);default:throw new Error("Matcher of type ".concat(a.type," unsupported."))}}z.default=Hi;function Gi(){return!0}function ji(r,a){if(!r)return!1;try{r=JSON.parse(r)}catch(t){throw new Error('Failed to JSON.parse FQL intermediate representation "'.concat(r,'": ').concat(t))}var e=c(r,a);return typeof e!="boolean"?!1:e}function c(r,a){if(!Array.isArray(r))return v(r,a)===!0;var e=r[0];switch(e){case"!":return!c(r[1],a);case"or":for(var t=1;t<r.length;t++)if(c(r[t],a))return!0;return!1;case"and":for(var t=1;t<r.length;t++)if(!c(r[t],a))return!1;return!0;case"=":case"!=":return Xi(v(r[1],a),v(r[2],a),e,a);case"<=":case"<":case">":case">=":return Ci(v(r[1],a),v(r[2],a),e,a);case"in":return Ri(v(r[1],a),v(r[2],a),a);case"contains":return Di(v(r[1],a),v(r[2],a));case"match":return Bi(v(r[1],a),v(r[2],a));case"lowercase":var n=v(r[1],a);return typeof n!="string"?null:n.toLowerCase();case"typeof":return typeof v(r[1],a);case"length":return Vi(v(r[1],a));default:throw new Error("FQL IR could not evaluate for token: ".concat(e))}}function v(r,a){return Array.isArray(r)?r:typeof r=="object"?r.value:(0,Wi.default)(a,r)}function Ri(r,a,e){return a.find(function(t){return v(t,e)===r})!==void 0}function Ci(r,a,e,t){if(g(r)&&(r=c(r,t)),g(a)&&(a=c(a,t)),typeof r!="number"||typeof a!="number")return!1;switch(e){case"<=":return r<=a;case">=":return r>=a;case"<":return r<a;case">":return r>a;default:throw new Error("Invalid operator in compareNumbers: ".concat(e))}}function Xi(r,a,e,t){switch(g(r)&&(r=c(r,t)),g(a)&&(a=c(a,t)),typeof r=="object"&&typeof a=="object"&&(r=JSON.stringify(r),a=JSON.stringify(a)),e){case"=":return r===a;case"!=":return r!==a;default:throw new Error("Invalid operator in compareItems: ".concat(e))}}function Di(r,a){return typeof r!="string"||typeof a!="string"?!1:r.indexOf(a)!==-1}function Bi(r,a){return typeof r!="string"||typeof a!="string"?!1:xi(a,r)}function Vi(r){return r===null?0:!Array.isArray(r)&&typeof r!="string"?NaN:r.length}function g(r){return Array.isArray(r)?(r[0]==="lowercase"||r[0]==="length"||r[0]==="typeof")&&r.length===2||(r[0]==="contains"||r[0]==="match")&&r.length===3:!1}function xi(r,a){var e,t;r:for(;r.length>0;){var n=void 0,i=void 0;if(e=Ji(r),n=e.star,i=e.chunk,r=e.pattern,n&&i==="")return!0;var o=lr(i,a),l=o.t,f=o.ok,u=o.err;if(u)return!1;if(f&&(l.length===0||r.length>0)){a=l;continue}if(n)for(var s=0;s<a.length;s++){if(t=lr(i,a.slice(s+1)),l=t.t,f=t.ok,u=t.err,f){if(r.length===0&&l.length>0)continue;a=l;continue r}if(u)return!1}return!1}return a.length===0}function Ji(r){for(var a={star:!1,chunk:"",pattern:""};r.length>0&&r[0]==="*";)r=r.slice(1),a.star=!0;var e=!1,t;r:for(t=0;t<r.length;t++)switch(r[t]){case"\\":t+1<r.length&&t++;break;case"[":e=!0;break;case"]":e=!1;break;case"*":if(!e)break r}return a.chunk=r.slice(0,t),a.pattern=r.slice(t),a}function lr(r,a){for(var e,t,n={t:"",ok:!1,err:!1};r.length>0;){if(a.length===0)return n;switch(r[0]){case"[":var i=a[0];a=a.slice(1),r=r.slice(1);var o=!0;r.length>0&&r[0]==="^"&&(o=!1,r=r.slice(1));for(var l=!1,f=0;;){if(r.length>0&&r[0]==="]"&&f>0){r=r.slice(1);break}var u="",s="",h=void 0;if(e=fr(r),u=e.char,r=e.newChunk,h=e.err,h||(s=u,r[0]==="-"&&(t=fr(r.slice(1)),s=t.char,r=t.newChunk,h=t.err,h)))return n;u<=i&&i<=s&&(l=!0),f++}if(l!==o)return n;break;case"?":a=a.slice(1),r=r.slice(1);break;case"\\":if(r=r.slice(1),r.length===0)return n.err=!0,n;default:if(r[0]!==a[0])return n;a=a.slice(1),r=r.slice(1)}}return n.t=a,n.ok=!0,n.err=!1,n}function fr(r){var a={char:"",newChunk:"",err:!1};return r.length===0||r[0]==="-"||r[0]==="]"||r[0]==="\\"&&(r=r.slice(1),r.length===0)?(a.err=!0,a):(a.char=r[0],a.newChunk=r.slice(1),a.newChunk.length===0&&(a.err=!0),a)}var K={};Object.defineProperty(K,"__esModule",{value:!0});var qi=function(){function r(a){this.rules=[],this.rules=a||[]}return r.prototype.getRulesByDestinationName=function(a){for(var e=[],t=0,n=this.rules;t<n.length;t++){var i=n[t];(i.destinationName===a||i.destinationName===void 0)&&e.push(i)}return e},r}();K.default=qi;(function(r){var a=$&&$.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(r,"__esModule",{value:!0}),r.Store=r.matches=r.transform=void 0;var e=B;Object.defineProperty(r,"transform",{enumerable:!0,get:function(){return a(e).default}});var t=z;Object.defineProperty(r,"matches",{enumerable:!0,get:function(){return a(t).default}});var n=K;Object.defineProperty(r,"Store",{enumerable:!0,get:function(){return a(n).default}})})(d);var no=function(r){return function(a){var e=a.payload,t=a.integration,n=a.next,i=new d.Store(r),o=i.getRulesByDestinationName(t);o.forEach(function(l){for(var f=l.matchers,u=l.transformers,s=0;s<f.length;s++)if(d.matches(e.obj,f[s])&&(e.obj=d.transform(e.obj,u[s]),e.obj===null))return n(null)}),n(e)}};export{no as tsubMiddleware};