tocco-widget-utils 3.17.9 → 3.17.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/tql.js CHANGED
@@ -1,3 +1,3 @@
1
1
  !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports["tocco-widget-utils-tql"]=e():t["tocco-widget-utils-tql"]=e()}(this,(()=>(()=>{var t={5580(t,e,r){var n=r(6110)(r(9325),"DataView");t.exports=n},1549(t,e,r){var n=r(2032),o=r(3862),i=r(6721),a=r(2749),u=r(5749);function s(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}s.prototype.clear=n,s.prototype.delete=o,s.prototype.get=i,s.prototype.has=a,s.prototype.set=u,t.exports=s},79(t,e,r){var n=r(3702),o=r(80),i=r(4739),a=r(8655),u=r(1175);function s(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}s.prototype.clear=n,s.prototype.delete=o,s.prototype.get=i,s.prototype.has=a,s.prototype.set=u,t.exports=s},8223(t,e,r){var n=r(6110)(r(9325),"Map");t.exports=n},3661(t,e,r){var n=r(3040),o=r(7670),i=r(289),a=r(4509),u=r(2949);function s(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}s.prototype.clear=n,s.prototype.delete=o,s.prototype.get=i,s.prototype.has=a,s.prototype.set=u,t.exports=s},2804(t,e,r){var n=r(6110)(r(9325),"Promise");t.exports=n},6545(t,e,r){var n=r(6110)(r(9325),"Set");t.exports=n},8859(t,e,r){var n=r(3661),o=r(1380),i=r(1459);function a(t){var e=-1,r=null==t?0:t.length;for(this.__data__=new n;++e<r;)this.add(t[e])}a.prototype.add=a.prototype.push=o,a.prototype.has=i,t.exports=a},7217(t,e,r){var n=r(79),o=r(1420),i=r(938),a=r(3605),u=r(9817),s=r(945);function c(t){var e=this.__data__=new n(t);this.size=e.size}c.prototype.clear=o,c.prototype.delete=i,c.prototype.get=a,c.prototype.has=u,c.prototype.set=s,t.exports=c},1873(t,e,r){var n=r(9325).Symbol;t.exports=n},7828(t,e,r){var n=r(9325).Uint8Array;t.exports=n},8303(t,e,r){var n=r(6110)(r(9325),"WeakMap");t.exports=n},9770(t){t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,o=0,i=[];++r<n;){var a=t[r];e(a,r,t)&&(i[o++]=a)}return i}},695(t,e,r){var n=r(8096),o=r(2428),i=r(6449),a=r(3656),u=r(361),s=r(7167),c=Object.prototype.hasOwnProperty;t.exports=function(t,e){var r=i(t),p=!r&&o(t),f=!r&&!p&&a(t),l=!r&&!p&&!f&&s(t),v=r||p||f||l,y=v?n(t.length,String):[],h=y.length;for(var d in t)!e&&!c.call(t,d)||v&&("length"==d||f&&("offset"==d||"parent"==d)||l&&("buffer"==d||"byteLength"==d||"byteOffset"==d)||u(d,h))||y.push(d);return y}},4528(t){t.exports=function(t,e){for(var r=-1,n=e.length,o=t.length;++r<n;)t[o+r]=e[r];return t}},4248(t){t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n;)if(e(t[r],r,t))return!0;return!1}},6025(t,e,r){var n=r(5288);t.exports=function(t,e){for(var r=t.length;r--;)if(n(t[r][0],e))return r;return-1}},2199(t,e,r){var n=r(4528),o=r(6449);t.exports=function(t,e,r){var i=e(t);return o(t)?i:n(i,r(t))}},2552(t,e,r){var n=r(1873),o=r(659),i=r(9350),a=n?n.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":a&&a in Object(t)?o(t):i(t)}},7534(t,e,r){var n=r(2552),o=r(346);t.exports=function(t){return o(t)&&"[object Arguments]"==n(t)}},270(t,e,r){var n=r(7068),o=r(346);t.exports=function t(e,r,i,a,u){return e===r||(null==e||null==r||!o(e)&&!o(r)?e!=e&&r!=r:n(e,r,i,a,t,u))}},7068(t,e,r){var n=r(7217),o=r(5911),i=r(1986),a=r(689),u=r(5861),s=r(6449),c=r(3656),p=r(7167),f="[object Arguments]",l="[object Array]",v="[object Object]",y=Object.prototype.hasOwnProperty;t.exports=function(t,e,r,h,d,b){var x=s(t),_=s(e),j=x?l:u(t),g=_?l:u(e),w=(j=j==f?v:j)==v,m=(g=g==f?v:g)==v,O=j==g;if(O&&c(t)){if(!c(e))return!1;x=!0,w=!1}if(O&&!w)return b||(b=new n),x||p(t)?o(t,e,r,h,d,b):i(t,e,j,r,h,d,b);if(!(1&r)){var S=w&&y.call(t,"__wrapped__"),P=m&&y.call(e,"__wrapped__");if(S||P){var A=S?t.value():t,k=P?e.value():e;return b||(b=new n),d(A,k,r,h,b)}}return!!O&&(b||(b=new n),a(t,e,r,h,d,b))}},5083(t,e,r){var n=r(1882),o=r(7296),i=r(3805),a=r(7473),u=/^\[object .+?Constructor\]$/,s=Function.prototype,c=Object.prototype,p=s.toString,f=c.hasOwnProperty,l=RegExp("^"+p.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!i(t)||o(t))&&(n(t)?l:u).test(a(t))}},4901(t,e,r){var n=r(2552),o=r(294),i=r(346),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,t.exports=function(t){return i(t)&&o(t.length)&&!!a[n(t)]}},8984(t,e,r){var n=r(5527),o=r(3650),i=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return o(t);var e=[];for(var r in Object(t))i.call(t,r)&&"constructor"!=r&&e.push(r);return e}},8096(t){t.exports=function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}},7301(t){t.exports=function(t){return function(e){return t(e)}}},9219(t){t.exports=function(t,e){return t.has(e)}},5481(t,e,r){var n=r(9325)["__core-js_shared__"];t.exports=n},5911(t,e,r){var n=r(8859),o=r(4248),i=r(9219);t.exports=function(t,e,r,a,u,s){var c=1&r,p=t.length,f=e.length;if(p!=f&&!(c&&f>p))return!1;var l=s.get(t),v=s.get(e);if(l&&v)return l==e&&v==t;var y=-1,h=!0,d=2&r?new n:void 0;for(s.set(t,e),s.set(e,t);++y<p;){var b=t[y],x=e[y];if(a)var _=c?a(x,b,y,e,t,s):a(b,x,y,t,e,s);if(void 0!==_){if(_)continue;h=!1;break}if(d){if(!o(e,(function(t,e){if(!i(d,e)&&(b===t||u(b,t,r,a,s)))return d.push(e)}))){h=!1;break}}else if(b!==x&&!u(b,x,r,a,s)){h=!1;break}}return s.delete(t),s.delete(e),h}},1986(t,e,r){var n=r(1873),o=r(7828),i=r(5288),a=r(5911),u=r(317),s=r(4247),c=n?n.prototype:void 0,p=c?c.valueOf:void 0;t.exports=function(t,e,r,n,c,f,l){switch(r){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!f(new o(t),new o(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var v=u;case"[object Set]":var y=1&n;if(v||(v=s),t.size!=e.size&&!y)return!1;var h=l.get(t);if(h)return h==e;n|=2,l.set(t,e);var d=a(v(t),v(e),n,c,f,l);return l.delete(t),d;case"[object Symbol]":if(p)return p.call(t)==p.call(e)}return!1}},689(t,e,r){var n=r(2),o=Object.prototype.hasOwnProperty;t.exports=function(t,e,r,i,a,u){var s=1&r,c=n(t),p=c.length;if(p!=n(e).length&&!s)return!1;for(var f=p;f--;){var l=c[f];if(!(s?l in e:o.call(e,l)))return!1}var v=u.get(t),y=u.get(e);if(v&&y)return v==e&&y==t;var h=!0;u.set(t,e),u.set(e,t);for(var d=s;++f<p;){var b=t[l=c[f]],x=e[l];if(i)var _=s?i(x,b,l,e,t,u):i(b,x,l,t,e,u);if(!(void 0===_?b===x||a(b,x,r,i,u):_)){h=!1;break}d||(d="constructor"==l)}if(h&&!d){var j=t.constructor,g=e.constructor;j==g||!("constructor"in t)||!("constructor"in e)||"function"==typeof j&&j instanceof j&&"function"==typeof g&&g instanceof g||(h=!1)}return u.delete(t),u.delete(e),h}},4840(t,e,r){var n="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;t.exports=n},2(t,e,r){var n=r(2199),o=r(4664),i=r(5950);t.exports=function(t){return n(t,i,o)}},2651(t,e,r){var n=r(4218);t.exports=function(t,e){var r=t.__data__;return n(e)?r["string"==typeof e?"string":"hash"]:r.map}},6110(t,e,r){var n=r(5083),o=r(392);t.exports=function(t,e){var r=o(t,e);return n(r)?r:void 0}},659(t,e,r){var n=r(1873),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,u=n?n.toStringTag:void 0;t.exports=function(t){var e=i.call(t,u),r=t[u];try{t[u]=void 0;var n=!0}catch(t){}var o=a.call(t);return n&&(e?t[u]=r:delete t[u]),o}},4664(t,e,r){var n=r(9770),o=r(3345),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,u=a?function(t){return null==t?[]:(t=Object(t),n(a(t),(function(e){return i.call(t,e)})))}:o;t.exports=u},5861(t,e,r){var n=r(5580),o=r(8223),i=r(2804),a=r(6545),u=r(8303),s=r(2552),c=r(7473),p="[object Map]",f="[object Promise]",l="[object Set]",v="[object WeakMap]",y="[object DataView]",h=c(n),d=c(o),b=c(i),x=c(a),_=c(u),j=s;(n&&j(new n(new ArrayBuffer(1)))!=y||o&&j(new o)!=p||i&&j(i.resolve())!=f||a&&j(new a)!=l||u&&j(new u)!=v)&&(j=function(t){var e=s(t),r="[object Object]"==e?t.constructor:void 0,n=r?c(r):"";if(n)switch(n){case h:return y;case d:return p;case b:return f;case x:return l;case _:return v}return e}),t.exports=j},392(t){t.exports=function(t,e){return null==t?void 0:t[e]}},2032(t,e,r){var n=r(1042);t.exports=function(){this.__data__=n?n(null):{},this.size=0}},3862(t){t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},6721(t,e,r){var n=r(1042),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(n){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return o.call(e,t)?e[t]:void 0}},2749(t,e,r){var n=r(1042),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return n?void 0!==e[t]:o.call(e,t)}},5749(t,e,r){var n=r(1042);t.exports=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=n&&void 0===e?"__lodash_hash_undefined__":e,this}},361(t){var e=/^(?:0|[1-9]\d*)$/;t.exports=function(t,r){var n=typeof t;return!!(r=r??9007199254740991)&&("number"==n||"symbol"!=n&&e.test(t))&&t>-1&&t%1==0&&t<r}},4218(t){t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},7296(t,e,r){var n,o=r(5481),i=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";t.exports=function(t){return!!i&&i in t}},5527(t){var e=Object.prototype;t.exports=function(t){var r=t&&t.constructor;return t===("function"==typeof r&&r.prototype||e)}},3702(t){t.exports=function(){this.__data__=[],this.size=0}},80(t,e,r){var n=r(6025),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0)&&(r==e.length-1?e.pop():o.call(e,r,1),--this.size,!0)}},4739(t,e,r){var n=r(6025);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},8655(t,e,r){var n=r(6025);t.exports=function(t){return n(this.__data__,t)>-1}},1175(t,e,r){var n=r(6025);t.exports=function(t,e){var r=this.__data__,o=n(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this}},3040(t,e,r){var n=r(1549),o=r(79),i=r(8223);t.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||o),string:new n}}},7670(t,e,r){var n=r(2651);t.exports=function(t){var e=n(this,t).delete(t);return this.size-=e?1:0,e}},289(t,e,r){var n=r(2651);t.exports=function(t){return n(this,t).get(t)}},4509(t,e,r){var n=r(2651);t.exports=function(t){return n(this,t).has(t)}},2949(t,e,r){var n=r(2651);t.exports=function(t,e){var r=n(this,t),o=r.size;return r.set(t,e),this.size+=r.size==o?0:1,this}},317(t){t.exports=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t,n){r[++e]=[n,t]})),r}},1042(t,e,r){var n=r(6110)(Object,"create");t.exports=n},3650(t,e,r){var n=r(4335)(Object.keys,Object);t.exports=n},6009(t,e,r){t=r.nmd(t);var n=r(4840),o=e&&!e.nodeType&&e,i=o&&t&&!t.nodeType&&t,a=i&&i.exports===o&&n.process,u=function(){try{var t=i&&i.require&&i.require("util").types;return t||a&&a.binding&&a.binding("util")}catch(t){}}();t.exports=u},9350(t){var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},4335(t){t.exports=function(t,e){return function(r){return t(e(r))}}},9325(t,e,r){var n=r(4840),o="object"==typeof self&&self&&self.Object===Object&&self,i=n||o||Function("return this")();t.exports=i},1380(t){t.exports=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this}},1459(t){t.exports=function(t){return this.__data__.has(t)}},4247(t){t.exports=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t){r[++e]=t})),r}},1420(t,e,r){var n=r(79);t.exports=function(){this.__data__=new n,this.size=0}},938(t){t.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},3605(t){t.exports=function(t){return this.__data__.get(t)}},9817(t){t.exports=function(t){return this.__data__.has(t)}},945(t,e,r){var n=r(79),o=r(8223),i=r(3661);t.exports=function(t,e){var r=this.__data__;if(r instanceof n){var a=r.__data__;if(!o||a.length<199)return a.push([t,e]),this.size=++r.size,this;r=this.__data__=new i(a)}return r.set(t,e),this.size=r.size,this}},7473(t){var e=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return e.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},5288(t){t.exports=function(t,e){return t===e||t!=t&&e!=e}},2428(t,e,r){var n=r(7534),o=r(346),i=Object.prototype,a=i.hasOwnProperty,u=i.propertyIsEnumerable,s=n(function(){return arguments}())?n:function(t){return o(t)&&a.call(t,"callee")&&!u.call(t,"callee")};t.exports=s},6449(t){var e=Array.isArray;t.exports=e},4894(t,e,r){var n=r(1882),o=r(294);t.exports=function(t){return null!=t&&o(t.length)&&!n(t)}},3656(t,e,r){t=r.nmd(t);var n=r(9325),o=r(9935),i=e&&!e.nodeType&&e,a=i&&t&&!t.nodeType&&t,u=a&&a.exports===i?n.Buffer:void 0,s=(u?u.isBuffer:void 0)||o;t.exports=s},2404(t,e,r){var n=r(270);t.exports=function(t,e){return n(t,e)}},1882(t,e,r){var n=r(2552),o=r(3805);t.exports=function(t){if(!o(t))return!1;var e=n(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},294(t){t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},3805(t){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},346(t){t.exports=function(t){return null!=t&&"object"==typeof t}},7167(t,e,r){var n=r(4901),o=r(7301),i=r(6009),a=i&&i.isTypedArray,u=a?o(a):n;t.exports=u},5950(t,e,r){var n=r(695),o=r(8984),i=r(4894);t.exports=function(t){return i(t)?n(t):o(t)}},3345(t){t.exports=function(){return[]}},9935(t){t.exports=function(){return!1}},5172(t){t.exports=function(t,e){this.v=t,this.k=e},t.exports.__esModule=!0,t.exports.default=t.exports},6993(t,e,r){var n=r(5546);function o(){
2
2
  /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
3
- var e,r,i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.toStringTag||"@@toStringTag";function s(t,o,i,a){var u=o&&o.prototype instanceof p?o:p,s=Object.create(u.prototype);return n(s,"_invoke",function(t,n,o){var i,a,u,s=0,p=o||[],f=!1,l={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,r){return i=t,a=0,u=e,l.n=r,c}};function v(t,n){for(a=t,u=n,r=0;!f&&s&&!o&&r<p.length;r++){var o,i=p[r],v=l.p,y=i[2];t>3?(o=y===n)&&(u=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=t<2&&v<i[1])?(a=0,l.v=n,l.n=i[1]):v<y&&(o=t<3||i[0]>n||n>y)&&(i[4]=t,i[5]=n,l.n=y,a=0))}if(o||t>1)return c;throw f=!0,n}return function(o,p,y){if(s>1)throw TypeError("Generator is already running");for(f&&1===p&&v(p,y),a=p,u=y;(r=a<2?e:u)||!f;){i||(a?a<3?(a>1&&(l.n=-1),v(a,u)):l.n=u:l.v=u);try{if(s=2,i){if(a||(o="next"),r=i[o]){if(!(r=r.call(i,u)))throw TypeError("iterator result is not an object");if(!r.done)return r;u=r.value,a<2&&(a=0)}else 1===a&&(r=i.return)&&r.call(i),a<2&&(u=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((r=(f=l.n<0)?u:t.call(n,l))!==c)break}catch(t){i=e,a=1,u=t}finally{s=1}}return{value:r,done:f}}}(t,i,a),!0),s}var c={};function p(){}function f(){}function l(){}r=Object.getPrototypeOf;var v=[][a]?r(r([][a]())):(n(r={},a,(function(){return this})),r),y=l.prototype=p.prototype=Object.create(v);function h(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,l):(t.__proto__=l,n(t,u,"GeneratorFunction")),t.prototype=Object.create(y),t}return f.prototype=l,n(y,"constructor",l),n(l,"constructor",f),f.displayName="GeneratorFunction",n(l,u,"GeneratorFunction"),n(y),n(y,u,"Generator"),n(y,a,(function(){return this})),n(y,"toString",(function(){return"[object Generator]"})),(t.exports=o=function(){return{w:s,m:h}},t.exports.__esModule=!0,t.exports.default=t.exports)()}t.exports=o,t.exports.__esModule=!0,t.exports.default=t.exports},5869(t,e,r){var n=r(887);t.exports=function(t,e,r,o,i){var a=n(t,e,r,o,i);return a.next().then((function(t){return t.done?t.value:a.next()}))},t.exports.__esModule=!0,t.exports.default=t.exports},887(t,e,r){var n=r(6993),o=r(1791);t.exports=function(t,e,r,i,a){return new o(n().w(t,e,r,i),a||Promise)},t.exports.__esModule=!0,t.exports.default=t.exports},1791(t,e,r){var n=r(5172),o=r(5546);t.exports=function t(e,r){function i(t,o,a,u){try{var s=e[t](o),c=s.value;return c instanceof n?r.resolve(c.v).then((function(t){i("next",t,a,u)}),(function(t){i("throw",t,a,u)})):r.resolve(c).then((function(t){s.value=t,a(s)}),(function(t){return i("throw",t,a,u)}))}catch(t){u(t)}}var a;this.next||(o(t.prototype),o(t.prototype,"function"==typeof Symbol&&Symbol.asyncIterator||"@asyncIterator",(function(){return this}))),o(this,"_invoke",(function(t,e,n){function o(){return new r((function(e,r){i(t,n,e,r)}))}return a=a?a.then(o,o):o()}),!0)},t.exports.__esModule=!0,t.exports.default=t.exports},5546(t){function e(r,n,o,i){var a=Object.defineProperty;try{a({},"",{})}catch(r){a=0}t.exports=e=function(t,r,n,o){function i(r,n){e(t,r,(function(t){return this._invoke(r,n,t)}))}r?a?a(t,r,{value:n,enumerable:!o,configurable:!o,writable:!o}):t[r]=n:(i("next",0),i("throw",1),i("return",2))},t.exports.__esModule=!0,t.exports.default=t.exports,e(r,n,o,i)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports},4373(t){t.exports=function(t){var e=Object(t),r=[];for(var n in e)r.unshift(n);return function t(){for(;r.length;)if((n=r.pop())in e)return t.value=n,t.done=!1,t;return t.done=!0,t}},t.exports.__esModule=!0,t.exports.default=t.exports},4633(t,e,r){var n=r(5172),o=r(6993),i=r(5869),a=r(887),u=r(1791),s=r(4373),c=r(579);function p(){"use strict";var e=o(),r=e.m(p),f=(Object.getPrototypeOf?Object.getPrototypeOf(r):r.__proto__).constructor;function l(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===f||"GeneratorFunction"===(e.displayName||e.name))}var v={throw:1,return:2,break:3,continue:3};function y(t){var e,r;return function(n){e||(e={stop:function(){return r(n.a,2)},catch:function(){return n.v},abrupt:function(t,e){return r(n.a,v[t],e)},delegateYield:function(t,o,i){return e.resultName=o,r(n.d,c(t),i)},finish:function(t){return r(n.f,t)}},r=function(t,r,o){n.p=e.prev,n.n=e.next;try{return t(r,o)}finally{e.next=n.n}}),e.resultName&&(e[e.resultName]=n.v,e.resultName=void 0),e.sent=n.v,e.next=n.n;try{return t.call(this,e)}finally{n.p=e.prev,n.n=e.next}}}return(t.exports=p=function(){return{wrap:function(t,r,n,o){return e.w(y(t),r,n,o&&o.reverse())},isGeneratorFunction:l,mark:e.m,awrap:function(t,e){return new n(t,e)},AsyncIterator:u,async:function(t,e,r,n,o){return(l(e)?a:i)(y(t),e,r,n,o)},keys:s,values:c}},t.exports.__esModule=!0,t.exports.default=t.exports)()}t.exports=p,t.exports.__esModule=!0,t.exports.default=t.exports},579(t,e,r){var n=r(3738).default;t.exports=function(t){if(null!=t){var e=t["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],r=0;if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length))return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}}}throw new TypeError(n(t)+" is not iterable")},t.exports.__esModule=!0,t.exports.default=t.exports},3738(t){function e(r){return t.exports=e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,e(r)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports},4756(t,e,r){var n=r(4633)();t.exports=n;try{regeneratorRuntime=n}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=n:Function("r","regeneratorRuntime = r")(n)}}};const e={};function r(n){const o=e[n];if(void 0!==o)return o.exports;const i=e[n]={id:n,loaded:!1,exports:{}};return t[n](i,i.exports,r),i.loaded=!0,i.exports}r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.nmd=t=>(t.paths=[],t.children||(t.children=[]),t);return(()=>{"use strict";const t="3.17.9";var e="tqlMeta",n="toccoBackendUrl";var o=function(t){var e=function(t){return t.startsWith("http")?new URL(t):window.location}(t.currentScript.getAttribute("src"));return e.protocol+"//"+e.host};function i(t,e,r,n,o,i,a){try{var u=t[i](a),s=u.value}catch(t){return void r(t)}u.done?e(s):Promise.resolve(s).then(n,o)}var a=r(4756),u=r(2404);const s=function(){var t;window.console&&(t=console).log.apply(t,arguments)},c=function(){window.console&&(console.error||console.log).apply(void 0,arguments)};function p(t){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},p(t)}function f(t){var e=function(t,e){if("object"!=p(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=p(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==p(e)?e:e+""}function l(t,e,r){return(e=f(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function v(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}var y,h,d=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=new Headers;r.set("Content-Type","application/json");var n=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?v(Object(r),!0).forEach((function(e){l(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({headers:r,method:"GET",credentials:"include"},e);return fetch(t,n)},b=function(t){var e=t.ok,r=t.status;return t.json().then((function(t){return{ok:e,status:r,body:t}}))},x=function(t){var e=t.backendUrl;return function(){var t,r=(t=a.mark((function t(r,n){var o,i;return a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o={method:"POST",body:JSON.stringify(n)},t.next=1,d("".concat(e,"/nice2/rest/entities/2.0/").concat(r,"/search?_omitLinks=true"),o).then(b).then((function(t){return null==t?void 0:t.body})).catch((function(t){c("Could not execute tql.",t)}));case 1:return i=t.sent,t.abrupt("return",i);case 2:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function u(t){i(a,n,o,u,s,"next",t)}function s(t){i(a,n,o,u,s,"throw",t)}u(void 0)}))});return function(t,e){return r.apply(this,arguments)}}()},_=function(r){var n=r.backendUrl,o=r.assetUrl,i=t,a={version:i,backendUrl:n,assetUrl:o},p=x(a),f=window[e];if(f)return s("tocco-widget-utils - tql function is already initialized"),void(!u(f,a)&&c("More than one tql function with different settings has been found. Add only one tql function per page.","\nInitialized tql function:",f,"\nIgnored tql function:",a));window.tql=p,window[e]=a,s("tocco-widget-utils - v".concat(i," - tql"))};y=o(document),h={backendUrl:window[n]?window[n]:y,assetUrl:y},_(h)})(),{}})()));
3
+ var e,r,i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.toStringTag||"@@toStringTag";function s(t,o,i,a){var u=o&&o.prototype instanceof p?o:p,s=Object.create(u.prototype);return n(s,"_invoke",function(t,n,o){var i,a,u,s=0,p=o||[],f=!1,l={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,r){return i=t,a=0,u=e,l.n=r,c}};function v(t,n){for(a=t,u=n,r=0;!f&&s&&!o&&r<p.length;r++){var o,i=p[r],v=l.p,y=i[2];t>3?(o=y===n)&&(u=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=t<2&&v<i[1])?(a=0,l.v=n,l.n=i[1]):v<y&&(o=t<3||i[0]>n||n>y)&&(i[4]=t,i[5]=n,l.n=y,a=0))}if(o||t>1)return c;throw f=!0,n}return function(o,p,y){if(s>1)throw TypeError("Generator is already running");for(f&&1===p&&v(p,y),a=p,u=y;(r=a<2?e:u)||!f;){i||(a?a<3?(a>1&&(l.n=-1),v(a,u)):l.n=u:l.v=u);try{if(s=2,i){if(a||(o="next"),r=i[o]){if(!(r=r.call(i,u)))throw TypeError("iterator result is not an object");if(!r.done)return r;u=r.value,a<2&&(a=0)}else 1===a&&(r=i.return)&&r.call(i),a<2&&(u=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((r=(f=l.n<0)?u:t.call(n,l))!==c)break}catch(t){i=e,a=1,u=t}finally{s=1}}return{value:r,done:f}}}(t,i,a),!0),s}var c={};function p(){}function f(){}function l(){}r=Object.getPrototypeOf;var v=[][a]?r(r([][a]())):(n(r={},a,(function(){return this})),r),y=l.prototype=p.prototype=Object.create(v);function h(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,l):(t.__proto__=l,n(t,u,"GeneratorFunction")),t.prototype=Object.create(y),t}return f.prototype=l,n(y,"constructor",l),n(l,"constructor",f),f.displayName="GeneratorFunction",n(l,u,"GeneratorFunction"),n(y),n(y,u,"Generator"),n(y,a,(function(){return this})),n(y,"toString",(function(){return"[object Generator]"})),(t.exports=o=function(){return{w:s,m:h}},t.exports.__esModule=!0,t.exports.default=t.exports)()}t.exports=o,t.exports.__esModule=!0,t.exports.default=t.exports},5869(t,e,r){var n=r(887);t.exports=function(t,e,r,o,i){var a=n(t,e,r,o,i);return a.next().then((function(t){return t.done?t.value:a.next()}))},t.exports.__esModule=!0,t.exports.default=t.exports},887(t,e,r){var n=r(6993),o=r(1791);t.exports=function(t,e,r,i,a){return new o(n().w(t,e,r,i),a||Promise)},t.exports.__esModule=!0,t.exports.default=t.exports},1791(t,e,r){var n=r(5172),o=r(5546);t.exports=function t(e,r){function i(t,o,a,u){try{var s=e[t](o),c=s.value;return c instanceof n?r.resolve(c.v).then((function(t){i("next",t,a,u)}),(function(t){i("throw",t,a,u)})):r.resolve(c).then((function(t){s.value=t,a(s)}),(function(t){return i("throw",t,a,u)}))}catch(t){u(t)}}var a;this.next||(o(t.prototype),o(t.prototype,"function"==typeof Symbol&&Symbol.asyncIterator||"@asyncIterator",(function(){return this}))),o(this,"_invoke",(function(t,e,n){function o(){return new r((function(e,r){i(t,n,e,r)}))}return a=a?a.then(o,o):o()}),!0)},t.exports.__esModule=!0,t.exports.default=t.exports},5546(t){function e(r,n,o,i){var a=Object.defineProperty;try{a({},"",{})}catch(r){a=0}t.exports=e=function(t,r,n,o){function i(r,n){e(t,r,(function(t){return this._invoke(r,n,t)}))}r?a?a(t,r,{value:n,enumerable:!o,configurable:!o,writable:!o}):t[r]=n:(i("next",0),i("throw",1),i("return",2))},t.exports.__esModule=!0,t.exports.default=t.exports,e(r,n,o,i)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports},4373(t){t.exports=function(t){var e=Object(t),r=[];for(var n in e)r.unshift(n);return function t(){for(;r.length;)if((n=r.pop())in e)return t.value=n,t.done=!1,t;return t.done=!0,t}},t.exports.__esModule=!0,t.exports.default=t.exports},4633(t,e,r){var n=r(5172),o=r(6993),i=r(5869),a=r(887),u=r(1791),s=r(4373),c=r(579);function p(){"use strict";var e=o(),r=e.m(p),f=(Object.getPrototypeOf?Object.getPrototypeOf(r):r.__proto__).constructor;function l(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===f||"GeneratorFunction"===(e.displayName||e.name))}var v={throw:1,return:2,break:3,continue:3};function y(t){var e,r;return function(n){e||(e={stop:function(){return r(n.a,2)},catch:function(){return n.v},abrupt:function(t,e){return r(n.a,v[t],e)},delegateYield:function(t,o,i){return e.resultName=o,r(n.d,c(t),i)},finish:function(t){return r(n.f,t)}},r=function(t,r,o){n.p=e.prev,n.n=e.next;try{return t(r,o)}finally{e.next=n.n}}),e.resultName&&(e[e.resultName]=n.v,e.resultName=void 0),e.sent=n.v,e.next=n.n;try{return t.call(this,e)}finally{n.p=e.prev,n.n=e.next}}}return(t.exports=p=function(){return{wrap:function(t,r,n,o){return e.w(y(t),r,n,o&&o.reverse())},isGeneratorFunction:l,mark:e.m,awrap:function(t,e){return new n(t,e)},AsyncIterator:u,async:function(t,e,r,n,o){return(l(e)?a:i)(y(t),e,r,n,o)},keys:s,values:c}},t.exports.__esModule=!0,t.exports.default=t.exports)()}t.exports=p,t.exports.__esModule=!0,t.exports.default=t.exports},579(t,e,r){var n=r(3738).default;t.exports=function(t){if(null!=t){var e=t["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],r=0;if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length))return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}}}throw new TypeError(n(t)+" is not iterable")},t.exports.__esModule=!0,t.exports.default=t.exports},3738(t){function e(r){return t.exports=e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,e(r)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports},4756(t,e,r){var n=r(4633)();t.exports=n;try{regeneratorRuntime=n}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=n:Function("r","regeneratorRuntime = r")(n)}}};const e={};function r(n){const o=e[n];if(void 0!==o)return o.exports;const i=e[n]={id:n,loaded:!1,exports:{}};return t[n](i,i.exports,r),i.loaded=!0,i.exports}r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.nmd=t=>(t.paths=[],t.children||(t.children=[]),t);return(()=>{"use strict";const t="3.17.10";var e="tqlMeta",n="toccoBackendUrl";var o=function(t){var e=function(t){return t.startsWith("http")?new URL(t):window.location}(t.currentScript.getAttribute("src"));return e.protocol+"//"+e.host};function i(t,e,r,n,o,i,a){try{var u=t[i](a),s=u.value}catch(t){return void r(t)}u.done?e(s):Promise.resolve(s).then(n,o)}var a=r(4756),u=r(2404);const s=function(){var t;window.console&&(t=console).log.apply(t,arguments)},c=function(){window.console&&(console.error||console.log).apply(void 0,arguments)};function p(t){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},p(t)}function f(t){var e=function(t,e){if("object"!=p(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=p(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==p(e)?e:e+""}function l(t,e,r){return(e=f(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function v(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}var y,h,d=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=new Headers;r.set("Content-Type","application/json");var n=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?v(Object(r),!0).forEach((function(e){l(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({headers:r,method:"GET",credentials:"include"},e);return fetch(t,n)},b=function(t){var e=t.ok,r=t.status;return t.json().then((function(t){return{ok:e,status:r,body:t}}))},x=function(t){var e=t.backendUrl;return function(){var t,r=(t=a.mark((function t(r,n){var o,i;return a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o={method:"POST",body:JSON.stringify(n)},t.next=1,d("".concat(e,"/nice2/rest/entities/2.0/").concat(r,"/search?_omitLinks=true"),o).then(b).then((function(t){return null==t?void 0:t.body})).catch((function(t){c("Could not execute tql.",t)}));case 1:return i=t.sent,t.abrupt("return",i);case 2:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function u(t){i(a,n,o,u,s,"next",t)}function s(t){i(a,n,o,u,s,"throw",t)}u(void 0)}))});return function(t,e){return r.apply(this,arguments)}}()},_=function(r){var n=r.backendUrl,o=r.assetUrl,i=t,a={version:i,backendUrl:n,assetUrl:o},p=x(a),f=window[e];if(f)return s("tocco-widget-utils - tql function is already initialized"),void(!u(f,a)&&c("More than one tql function with different settings has been found. Add only one tql function per page.","\nInitialized tql function:",f,"\nIgnored tql function:",a));window.tql=p,window[e]=a,s("tocco-widget-utils - v".concat(i," - tql"))};y=o(document),h={backendUrl:window[n]?window[n]:y,assetUrl:y},_(h)})(),{}})()));