All Downloads are FREE. Search and download functionalities are using the official Maven repository.

browser.preview.assets.index-BJ9YAofP.js Maven / Gradle / Ivy

There is a newer version: 5.24.0
Show newest version
import{aY as Wr,aq as $}from"./index-DC3IUagG.js";var h={},X={};for(var ur=[],p=0;p<64;)ur[p]=0|4294967296*Math.sin(++p%Math.PI);function Hr(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>4]+ur[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 Gr=Object.freeze(Object.defineProperty({__proto__:null,default:Hr},Symbol.toStringTag,{value:"Module"})),jr=Wr(Gr);var vr={exports:{}};(function(r,a){(function(e,t){r.exports=function(n,i,o,l,f){for(i=i.split?i.split("."):i,l=0;l>>20,a-Qn|0}var kn=Zn;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* 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.
*/var ri=kn,ai=ri;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* 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.
*/var ei=sr,ti=cr,ni=$r,ii=qr,li=Kr,oi=Qr,fi=pr,ui=yr,vi=En,si=Jn,ci=ai,$i=Or,pi=Pr,yi=2220446049250313e-31,_i=2148532223,U=[0,0],P=[0,0];function bi(r,a){var e,t;return r===0||fi(r)||ui(r)?r:(si(U),r=U[0],a+=U[1],a+=ci(r),aii?r<0?ti:ei:(a<=li?(a+=52,t=yi):t=1,$i(P),e=P[0],e&=_i,e|=a+ni<<20,t*pi(e,P[1])))}var Ai=bi;/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* 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.
*/var di=Ai,hi=di,Lr={};function mi(r,a,e){a.split&&(a=a.split("."));for(var t=0,n=a.length,i=r,o,l;t1?(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,A.dset)(r,t,l)}else if(n.move){var f=(0,y.default)(e,n.move);f!==void 0&&(0,A.dset)(r,t,f),(0,Ii.unset)(r,n.move)}else n.hasOwnProperty("set")&&(0,A.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,A.dset)(r,t,JSON.stringify(u)):(0,A.dset)(r,t,"undefined")}}}}function Fi(r,a){return a.sample.percent<=0?!1:a.sample.percent>=1?!0:a.sample.path?Mi(r,a):Li(a.sample.percent)}function Li(r){return Math.random()<=r}function Mi(r,a){var e=(0,y.default)(r,a.sample.path),t=(0,wi.default)(JSON.stringify(e)),n=-64,i=[];lr(t.slice(0,8),i);for(var o=0,l=0;l<64&&i[l]!==1;l++)o++;if(o!==0){var f=[];lr(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,Ni.default)(parseInt(i.join(""),2),n)=1;n/=2)t-n>=0?(t-=n,a.push(1)):a.push(0)}var z={},Wi=$&&$.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(z,"__esModule",{value:!0});var Hi=Wi(B);function Gi(r,a){if(!a)throw new Error("No matcher supplied!");switch(a.type){case"all":return ji();case"fql":return Ri(a.ir,r);default:throw new Error("Matcher of type ".concat(a.type," unsupported."))}}z.default=Gi;function ji(){return!0}function Ri(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":case">=":return Di(v(r[1],a),v(r[2],a),e,a);case"in":return Ci(v(r[1],a),v(r[2],a),a);case"contains":return Bi(v(r[1],a),v(r[2],a));case"match":return Vi(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 xi(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,Hi.default)(a,r)}function Ci(r,a,e){return a.find(function(t){return v(t,e)===r})!==void 0}function Di(r,a,e,t){if(m(r)&&(r=c(r,t)),m(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":return r>a;default:throw new Error("Invalid operator in compareNumbers: ".concat(e))}}function Xi(r,a,e,t){switch(m(r)&&(r=c(r,t)),m(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 Bi(r,a){return typeof r!="string"||typeof a!="string"?!1:r.indexOf(a)!==-1}function Vi(r,a){return typeof r!="string"||typeof a!="string"?!1:Ji(a,r)}function xi(r){return r===null?0:!Array.isArray(r)&&typeof r!="string"?NaN:r.length}function m(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 Ji(r,a){var e,t;r:for(;r.length>0;){var n=void 0,i=void 0;if(e=qi(r),n=e.star,i=e.chunk,r=e.pattern,n&&i==="")return!0;var o=or(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;s0)continue;a=l;continue r}if(u)return!1}return!1}return a.length===0}function qi(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;t0;){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="",d=void 0;if(e=fr(r),u=e.char,r=e.newChunk,d=e.err,d||(s=u,r[0]==="-"&&(t=fr(r.slice(1)),s=t.char,r=t.newChunk,d=t.err,d)))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 zi=function(){function r(a){this.rules=[],this.rules=a||[]}return r.prototype.getRulesByDestinationName=function(a){for(var e=[],t=0,n=this.rules;t




© 2015 - 2024 Weber Informatics LLC | Privacy Policy