1/*! For license information please see front.min.js.LICENSE.txt */ 2(()=>{var t={20:t=>{"use strict";var e="%[a-f0-9]{2}",n=new RegExp(e,"gi"),r=new RegExp("("+e+")+","gi");function o(t,e){try{return decodeURIComponent(t.join(""))}catch(t){}if(1===t.length)return t;e=e||1;var n=t.slice(0,e),r=t.slice(e);return Array.prototype.concat.call([],o(n),o(r))}function a(t){try{return decodeURIComponent(t)}catch(a){for(var e=t.match(n),r=1;r<e.length;r++)e=(t=o(e,r).join("")).match(n);return t}}t.exports=function(t){if("string"!=typeof t)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof t+"`");try{return t=t.replace(/\+/g," "),decodeURIComponent(t)}catch(e){return function(t){for(var e={"%FE%FF":"��","%FF%FE":"��"},n=r.exec(t);n;){try{e[n[0]]=decodeURIComponent(n[0])}catch(t){var o=a(n[0]);o!==n[0]&&(e[n[0]]=o)}n=r.exec(t)}e["%C2"]="�";for(var i=Object.keys(e),s=0;s<i.length;s++){var c=i[s];t=t.replace(new RegExp(c,"g"),e[c])}return t}(t)}}},806:t=>{"use strict";t.exports=function(t,e){for(var n={},r=Object.keys(t),o=Array.isArray(e),a=0;a<r.length;a++){var i=r[a],s=t[i];(o?-1!==e.indexOf(i):e(i,s,t))&&(n[i]=s)}return n}},727:function(t){var e;e=function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={exports:{},id:r,loaded:!1};return t[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}return n.m=t,n.c=e,n.p="",n(0)}([function(t,e,n){"use strict";var r,o=n(1),a=(r=o)&&r.__esModule?r:{default:r};t.exports=a.default},function(t,e,n){"use strict";e.__esModule=!0;var r,o=u(n(2)),a=u(n(3)),i=n(6),s=(r=i)&&r.__esModule?r:{default:r},c=n(5);function u(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var f={comment:/^<!--/,endTag:/^<\//,atomicTag:/^<\s*(script|style|noscript|iframe|textarea)[\s\/>]/i,startTag:/^</,chars:/^[^<]/},d=function(){function t(){var e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};l(this,t),this.stream=n;var a=!1,i={};for(var c in o)o.hasOwnProperty(c)&&(r.autoFix&&(i[c+"Fix"]=!0),a=a||i[c+"Fix"]);a?(this._readToken=(0,s.default)(this,i,(function(){return e._readTokenImpl()})),this._peekToken=(0,s.default)(this,i,(function(){return e._peekTokenImpl()}))):(this._readToken=this._readTokenImpl,this._peekToken=this._peekTokenImpl)}return t.prototype.append=function(t){this.stream+=t},t.prototype.prepend=function(t){this.stream=t+this.stream},t.prototype._readTokenImpl=function(){var t=this._peekTokenImpl();if(t)return this.stream=this.stream.slice(t.length),t},t.prototype._peekTokenImpl=function(){for(var t in f)if(f.hasOwnProperty(t)&&f[t].test(this.stream)){var e=a[t](this.stream);if(e)return"startTag"===e.type&&/script|style/i.test(e.tagName)?null:(e.text=this.stream.substr(0,e.length),e)}},t.prototype.peekToken=function(){return this._peekToken()},t.prototype.readToken=function(){return this._readToken()},t.prototype.readTokens=function(t){for(var e=void 0;e=this.readToken();)if(t[e.type]&&!1===t[e.type](e))return},t.prototype.clear=function(){var t=this.stream;return this.stream="",t},t.prototype.rest=function(){return this.stream},t}();for(var p in e.default=d,d.tokenToString=function(t){return t.toString()},d.escapeAttributes=function(t){var e={};for(var n in t)t.hasOwnProperty(n)&&(e[n]=(0,c.escapeQuotes)(t[n],null));return e},d.supports=o,o)o.hasOwnProperty(p)&&(d.browserHasFlaw=d.browserHasFlaw||!o[p]&&p)},function(t,e){"use strict";e.__esModule=!0;var n=!1,r=!1,o=window.document.createElement("div");try{var a="<P><I></P></I>";o.innerHTML=a,e.tagSoup=n=o.innerHTML!==a}catch(t){e.tagSoup=n=!1}try{o.innerHTML="<P><i><P></P></i></P>",e.selfClose=r=2===o.childNodes.length}catch(t){e.selfClose=r=!1}o=null,e.tagSoup=n,e.selfClose=r},function(t,e,n){"use strict";e.__esModule=!0,e.comment=function(t){var e=t.indexOf("--\x3e");if(e>=0)return new r.CommentToken(t.substr(4,e-1),e+3)},e.chars=function(t){var e=t.indexOf("<");return new r.CharsToken(e>=0?e:t.length)},e.startTag=a,e.atomicTag=function(t){var e=a(t);if(e){var n=t.slice(e.length);if(n.match(new RegExp("</\\s*"+e.tagName+"\\s*>","i"))){var o=n.match(new RegExp("([\\s\\S]*?)</\\s*"+e.tagName+"\\s*>","i"));if(o)return new r.AtomicTagToken(e.tagName,o[0].length+e.length,e.attrs,e.booleanAttrs,o[1])}}},e.endTag=function(t){var e=t.match(o.endTag);if(e)return new r.EndTagToken(e[1],e[0].length)};var r=n(4),o={startTag:/^<([\-A-Za-z0-9_!:]+)((?:\s+[\w\-]+(?:\s*=?\s*(?:(?
2:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,endTag:/^<\/([\-A-Za-z0-9_:]+)[^>]*>/,attr:/(?:([\-A-Za-z0-9_]+)\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))|(?:([\-A-Za-z0-9_]+)(\s|$)+)/g,fillAttr:/^(checked|compact|declare|defer|disabled|ismap|multiple|nohref|noresize|noshade|nowrap|readonly|selected)$/i};function a(t){if(-1!==t.indexOf(">")){var e=t.match(o.startTag);if(e){var n={},a={},i=e[2];return e[2].replace(o.attr,(function(t,e){arguments[2]||arguments[3]||arguments[4]||arguments[5]?arguments[5]?(n[arguments[5]]="",a[arguments[5]]=!0):n[e]=arguments[2]||arguments[3]||arguments[4]||o.fillAttr.test(e)&&e||"":n[e]="",i=i.replace(t,"")})),new r.StartTagToken(e[1],e[0].length,n,a,!!e[3],i.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""))}}}},function(t,e,n){"use strict";e.__esModule=!0,e.EndTagToken=e.AtomicTagToken=e.StartTagToken=e.TagToken=e.CharsToken=e.CommentToken=e.Token=void 0;var r=n(5);function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}e.Token=function t(e,n){o(this,t),this.type=e,this.length=n,this.text=""},e.CommentToken=function(){function t(e,n){o(this,t),this.type="comment",this.length=n||(e?e.length:0),this.text="",this.content=e}return t.prototype.toString=function(){return"\x3c!--"+this.content},t}(),e.CharsToken=function(){function t(e){o(this,t),this.type="chars",this.length=e,this.text=""}return t.prototype.toString=function(){return this.text},t}();var a=e.TagToken=function(){function t(e,n,r,a,i){o(this,t),this.type=e,this.length=r,this.text="",this.tagName=n,this.attrs=a,this.booleanAttrs=i,this.unary=!1,this.html5Unary=!1}return t.formatTag=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n="<"+t.tagName;for(var o in t.attrs)if(t.attrs.hasOwnProperty(o)){n+=" "+o;var a=t.attrs[o];void 0!==t.booleanAttrs&&void 0!==t.booleanAttrs[o]||(n+='="'+(0,r.escapeQuotes)(a)+'"')}return t.rest&&(n+=" "+t.rest),t.unary&&!t.html5Unary?n+="/>":n+=">",null!=e&&(n+=e+"</"+t.tagName+">"),n},t}();e.StartTagToken=function(){function t(e,n,r,a,i,s){o(this,t),this.type="startTag",this.length=n,this.text="",this.tagName=e,this.attrs=r,this.booleanAttrs=a,this.html5Unary=!1,this.unary=i,this.rest=s}return t.prototype.toString=function(){return a.formatTag(this)},t}(),e.AtomicTagToken=function(){function t(e,n,r,a,i){o(this,t),this.type="atomicTag",this.length=n,this.text="",this.tagName=e,this.attrs=r,this.booleanAttrs=a,this.unary=!1,this.html5Unary=!1,this.content=i}return t.prototype.toString=function(){return a.formatTag(this,this.content)},t}(),e.EndTagToken=function(){function t(e,n){o(this,t),this.type="endTag",this.length=n,this.text="",this.tagName=e}return t.prototype.toString=function(){return"</"+this.tagName+">"},t}()},function(t,e){"use strict";e.__esModule=!0,e.escapeQuotes=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return t?t.replace(/([^"]*)"/g,(function(t,e){return/\\/.test(e)?e+'"':e+'\\"'})):e}},function(t,e){"use strict";e.__esModule=!0,e.default=function(t,e,n){var i=function(){var t=[];return t.last=function(){return this[this.length-1]},t.lastTagNameEq=function(t){var e=this.last();return e&&e.tagName&&e.tagName.toUpperCase()===t.toUpperCase()},t.containsTagName=function(t){for(var e,n=0;e=this[n];n++)if(e.tagName===t)return!0;return!1},t}(),s={startTag:function(n){var o=n.tagName;"TR"===o.toUpperCase()&&i.lastTagNameEq("TABLE")?(t.prepend("<TBODY>"),c()):e.selfCloseFix&&r.test(o)&&i.containsTagName(o)?i.lastTagNameEq(o)?a(t,i):(t.prepend("</"+n.tagName+">"),c()):n.unary||i.push(n)},endTag:function(r){i.last()?e.tagSoupFix&&!i.lastTagNameEq(r.tagName)?a(t,i):i.pop():e.tagSoupFix&&(n(),c())}};function c(){var e=function(t,e){var n=t.stream,r=o(e());return t.stream=n,r}(t,n);e&&s[e.type]&&s[e.type](e)}return function(){return c(),o(n())}};var n=/^(AREA|BASE|BASEFONT|BR|COL|FRAME|HR|IMG|INPUT|ISINDEX|LINK|META|PARAM|EMBED)$/i,r=/^(COLGROUP|DD|DT|LI|OPTIONS|P|TD|TFOOT|TH|THEAD|TR)$/i;function o(t){return t&&"startTag"===t.type&&(t.unary=n.test(t.tagName)||t.unary,t.html5Unary=!/\/>$/.test(t.text)),t}function a(t,e){var n=e.pop();t.prepend("</"+n.tagName+">")}}])},t.exports=e()},563:(t,e,n)=>{"use strict";const r=n(610),o=n(20),a=n(500),i=n(806),s=Symbol("encodeFragmentIdentifier");function c(t){if("string"!=typeof t||1!==t.length)throw new TypeError("arrayFormatSeparator must be single character string")}function u(t,e){return e.encode?e.strict?r(t):encodeURIComponent(t):t}function l(t,e){return e.decode?o(t):t}function f(t){return Array.isArray(t)?t.sort():"object"==typeof t?f(Object.keys(t)).sort(((t,e)=>Number(t)-Number(e))).map((e=>t[e])):t}function d(t){const e=t.indexOf("#");return-1!==e&&(t=t.slice(0,e)),t}function p(t){const e=(t=d(t)).indexOf("?");return-1===e?"":t.slice(e+1)}function h(t,e){return e.parseNumbers&&!Number.isNaN(Number(t))&&"string"==typeof t&&""!==t.trim()?t=Number(t):!e.parseBooleans||null===t||"true"!==t.toLowerCase()&&"false"!==t.toLowerCase()||(t="true"===t.toLowerCase()),t}function v(t,e){c((e=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},e)).arrayFormatSeparator);const n=function(t){let e;switch(t.arrayFormat){case"index":return(t,n,r)=>{e=/\[(\d*)\]$/.exec(t),t=t.replace(/\[\d*\]$/,""),e?(void 0===r[t]&&(r[t]={}),r[t][e[1]]=n):r[t]=n};case"bracket":return(t,n,r)=>{e=/(\[\])$/.exec(t),t=t.replace(/\[\]$/,""),e?void 0!==r[t]?r[t]=[].concat(r[t],n):r[t]=[n]:r[t]=n};case"comma":case"separator":return(e,n,r)=>{const o="string"==typeof n&&n.includes(t.arrayFormatSeparator),a="string"==typeof n&&!o&&l(n,t).includes(t.arrayFormatSeparator);n=a?l(n,t):n;const i=o||a?n.split(t.arrayFormatSeparator).map((e=>l(e,t))):null===n?n:l(n,t);r[e]=i};case"bracket-separator":return(e,n,r)=>{const o=/(\[\])$/.test(e);
2if(e=e.replace(/\[\]$/,""),!o)return void(r[e]=n?l(n,t):n);const a=null===n?[]:n.split(t.arrayFormatSeparator).map((e=>l(e,t)));void 0!==r[e]?r[e]=[].concat(r[e],a):r[e]=a};default:return(t,e,n)=>{void 0!==n[t]?n[t]=[].concat(n[t],e):n[t]=e}}}(e),r=Object.create(null);if("string"!=typeof t)return r;if(!(t=t.trim().replace(/^[?#&]/,"")))return r;for(const o of t.split("&")){if(""===o)continue;let[t,i]=a(e.decode?o.replace(/\+/g," "):o,"=");i=void 0===i?null:["comma","separator","bracket-separator"].includes(e.arrayFormat)?i:l(i,e),n(l(t,e),i,r)}for(const t of Object.keys(r)){const n=r[t];if("object"==typeof n&&null!==n)for(const t of Object.keys(n))n[t]=h(n[t],e);else r[t]=h(n,e)}return!1===e.sort?r:(!0===e.sort?Object.keys(r).sort():Object.keys(r).sort(e.sort)).reduce(((t,e)=>{const n=r[e];return Boolean(n)&&"object"==typeof n&&!Array.isArray(n)?t[e]=f(n):t[e]=n,t}),Object.create(null))}e.extract=p,e.parse=v,e.stringify=(t,e)=>{if(!t)return"";c((e=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},e)).arrayFormatSeparator);const n=n=>e.skipNull&&null==t[n]||e.skipEmptyString&&""===t[n],r=function(t){switch(t.arrayFormat){case"index":return e=>(n,r)=>{const o=n.length;return void 0===r||t.skipNull&&null===r||t.skipEmptyString&&""===r?n:null===r?[...n,[u(e,t),"[",o,"]"].join("")]:[...n,[u(e,t),"[",u(o,t),"]=",u(r,t)].join("")]};case"bracket":return e=>(n,r)=>void 0===r||t.skipNull&&null===r||t.skipEmptyString&&""===r?n:null===r?[...n,[u(e,t),"[]"].join("")]:[...n,[u(e,t),"[]=",u(r,t)].join("")];case"comma":case"separator":case"bracket-separator":{const e="bracket-separator"===t.arrayFormat?"[]=":"=";return n=>(r,o)=>void 0===o||t.skipNull&&null===o||t.skipEmptyString&&""===o?r:(o=null===o?"":o,0===r.length?[[u(n,t),e,u(o,t)].join("")]:[[r,u(o,t)].join(t.arrayFormatSeparator)])}default:return e=>(n,r)=>void 0===r||t.skipNull&&null===r||t.skipEmptyString&&""===r?n:null===r?[...n,u(e,t)]:[...n,[u(e,t),"=",u(r,t)].join("")]}}(e),o={};for(const e of Object.keys(t))n(e)||(o[e]=t[e]);const a=Object.keys(o);return!1!==e.sort&&a.sort(e.sort),a.map((n=>{const o=t[n];return void 0===o?"":null===o?u(n,e):Array.isArray(o)?0===o.length&&"bracket-separator"===e.arrayFormat?u(n,e)+"[]":o.reduce(r(n),[]).join("&"):u(n,e)+"="+u(o,e)})).filter((t=>t.length>0)).join("&")},e.parseUrl=(t,e)=>{e=Object.assign({decode:!0},e);const[n,r]=a(t,"#");return Object.assign({url:n.split("?")[0]||"",query:v(p(t),e)},e&&e.parseFragmentIdentifier&&r?{fragmentIdentifier:l(r,e)}:{})},e.stringifyUrl=(t,n)=>{n=Object.assign({encode:!0,strict:!0,[s]:!0},n);const r=d(t.url).split("?")[0]||"",o=e.extract(t.url),a=e.parse(o,{sort:!1}),i=Object.assign(a,t.query);let c=e.stringify(i,n);c&&(c=`?${c}`);let l=function(t){let e="";const n=t.indexOf("#");return-1!==n&&(e=t.slice(n)),e}(t.url);return t.fragmentIdentifier&&(l=`#${n[s]?u(t.fragmentIdentifier,n):t.fragmentIdentifier}`),`${r}${c}${l}`},e.pick=(t,n,r)=>{r=Object.assign({parseFragmentIdentifier:!0,[s]:!1},r);const{url:o,query:a,fragmentIdentifier:c}=e.parseUrl(t,r);return e.stringifyUrl({url:o,query:i(a,n),fragmentIdentifier:c},r)},e.exclude=(t,n,r)=>{const o=Array.isArray(n)?t=>!n.includes(t):(t,e)=>!n(t,e);return e.pick(t,o,r)}},666:t=>{var e=function(t){"use strict";var e,n=Object.prototype,r=n.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",i=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function c(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,n){return t[e]=n}}function u(t,e,n,r){var o=e&&e.prototype instanceof y?e:y,a=Object.create(o.prototype),i=new N(r||[]);return a._invoke=function(t,e,n){var r=f;return function(o,a){if(r===p)throw new Error("Generator is already running");if(r===h){if("throw"===o)throw a;return C()}for(n.method=o,n.arg=a;;){var i=n.delegate;if(i){var s=x(i,n);if(s){if(s===v)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===f)throw r=h,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var c=l(t,e,n);if("normal"===c.type){if(r=n.done?h:d,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r=h,n.method="throw",n.arg=c.arg)}}}(t,n,i),a}function l(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=u;var f="suspendedStart",d="suspendedYield",p="executing",h="completed",v={};function y(){}function m(){}function g(){}var b={};c(b,a,(function(){return this}));var w=Object.getPrototypeOf,k=w&&w(w(A([])));k&&k!==n&&r.call(k,a)&&(b=k);var S=g.prototype=y.prototype=Object.create(b);function E(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function O(t,e){function n(o,a,i,s){var c=l(t[o],t,a);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"==typeof f&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){n("next",t,i,s)}),(function(t){n("throw",t,i,s)})):e.resolve(f).then((function(t){u.value=t,i(u)}),(function(t){return n("throw",t,i,s)}))}s(c.arg)}var o;this._invoke=function(t,r){function a(){return new e((function(e,o){n(t,r,e,o)}))}return o=o?o.then(a,a):a()}}function x(t,n){var r=t.iterator[n.method];if(r===e){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&
vendor: 4,374 bytes, line 2
2(n.method="return",n.arg=e,x(t,n),"throw"===n.method))return v;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var o=l(r,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,v;var a=o.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function A(t){if(t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o<t.length;)if(r.call(t,o))return n.value=t[o],n.done=!1,n;return n.value=e,n.done=!0,n};return i.next=i}}return{next:C}}function C(){return{value:e,done:!0}}return m.prototype=g,c(S,"constructor",g),c(g,"constructor",m),m.displayName=c(g,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,g):(t.__proto__=g,c(t,s,"GeneratorFunction")),t.prototype=Object.create(S),t},t.awrap=function(t){return{__await:t}},E(O.prototype),c(O.prototype,i,(function(){return this})),t.AsyncIterator=O,t.async=function(e,n,r,o,a){void 0===a&&(a=Promise);var i=new O(u(e,n,r,o),a);return t.isGeneratorFunction(n)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},E(S),c(S,s,"Generator"),c(S,a,(function(){return this})),c(S,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},t.values=A,N.prototype={constructor:N,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(j),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function o(r,o){return s.type="throw",s.arg=t,n.next=r,o&&(n.method="next",n.arg=e),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],s=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,v):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),j(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;j(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:A(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),v}},t}(t.exports);try{regeneratorRuntime=e}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}},500:t=>{"use strict";
2t.exports=(t,e)=>{if("string"!=typeof t||"string"!=typeof e)throw new TypeError("Expected the arguments to be of type `string`");if(""===e)return[t];const n=t.indexOf(e);return-1===n?[t]:[t.slice(0,n),t.slice(n+e.length)]}},610:t=>{"use strict";t.exports=t=>encodeURIComponent(t).replace(/[!'()*]/g,(t=>`%${t.charCodeAt(0).toString(16).toUpperCase()}`))}},e={};function n(r){var o=e[r];if(void 0!==o)return o.exports;var a=e[r]={exports:{}};return t[r].call(a.exports,a,a.exports,n),a.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{"use strict";n(666);var t=n(563);function e(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==n)return;var r,o,a=[],i=!0,s=!1;try{for(n=n.call(t);!(i=(r=n.next()).done)&&(a.push(r.value),!e||a.length!==e);i=!0);}catch(t){s=!0,o=t}finally{try{i||null==n.return||n.return()}finally{if(s)throw o}}return a}(t,e)||c(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function o(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?r(Object(n),!0).forEach((function(e){a(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function a(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function i(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=c(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,s=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return i=t.done,t},e:function(t){s=!0,a=t},f:function(){try{i||null==n.return||n.return()}finally{if(s)throw a}}}}function s(t){return function(t){if(Array.isArray(t))return u(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||c(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(t,e){if(t){if("string"==typeof t)return u(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(t,e):void 0}}function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var l=function(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"POST",a=t.stringify(o({},n),{arrayFormat:"index"}),i={method:r,credentials:"same-origin",headers:new Headers({"Content-Type":"application/x-www-form-urlencoded; charset=utf-8"})};return"GET"===r?e+="?"+a:i.body=a,fetch(e,i)},f=function(t){return{data:JSON.stringify(o({},t))}},d=function(t){return document.cookie.split("; ").reduce((function(e,n){var r=n.split("=");return r[0]===t?decodeURIComponent(r[1]):e}),null)},p=function(t,e,n){var r=new Date;e=e||"",n=n||365,r.setTime(r.getTime()+24*n*60*60*1e3),document.cookie=t+"="+encodeURIComponent(e)+"; expires="+r.toGMTString()+"; path="+vogdprcFront.path};function h(t){return function(t){if(Array.isArray(t))return v(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return v(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return v(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function v(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var y="data-animation",m=function(t){t.setAttribute("".concat(y,"
2-appearing"),""),setTimeout((function(){t.removeAttribute("".concat(y)),t.removeAttribute("".concat(y,"-appearing")),t.setAttribute("".concat(y,"-complete"),"")}),function(t){var e=getComputedStyle(t);return 1e3*(parseFloat(e.animationDuration)+parseFloat(e.animationDelay))}(t))};const g=function(){if("IntersectionObserver"in window)!function(t,e){var n=new IntersectionObserver((function(t){s(t).forEach((function(t){var r=t.isIntersecting,o=(t._,t.target);r&&(e(o),n.unobserve(o))}))}),{threshold:arguments.length>2&&void 0!==arguments[2]?arguments[2]:[0]});if(t&&e){var r,o=i([].concat(t));try{for(o.s();!(r=o.n()).done;)for(var a=r.value,c=0,u=s(document.querySelectorAll(a));c<u.length;c++){var l=u[c];n.observe(l)}}catch(t){o.e(t)}finally{o.f()}}}("[".concat(y,"]"),(function(t){m(t)}),[0]);else for(var t=0,e=h(document.querySelectorAll("[".concat(y,"]")));t<e.length;t++){var n=e[t];m(n)}};function b(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function w(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?b(Object(n),!0).forEach((function(e){k(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function k(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function S(t,e,n,r,o,a,i){try{var s=t[a](i),c=s.value}catch(t){return void n(t)}s.done?e(c):Promise.resolve(c).then(r,o)}var E=function(){var t,e=(t=regeneratorRuntime.mark((function t(){var e,n,r,o,a,i,s,c=arguments;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=c.length>0&&void 0!==c[0]?c[0]:"all",n=vogdprcFront.prefix,r=vogdprcFront.ajaxUrl,o=vogdprcFront.ajaxNonce,a=vogdprcFront.ajaxArg,i=vogdprcFront.cookieName,s=!0,t.next=9,l(r,w(k({action:n+"_consent_cookie"},a,o),f({checked:e})),"POST").then((function(t){return t.json()})).then((function(t){if(s=!1,void 0!==t.success&&t.success){var e=void 0!==t.message&&t.message;p(i,e)}else console.dir(t)})).catch((function(t){s=!1,console.dir(t)}));case 9:return t.abrupt("return",s);case 10:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(r,o){var a=t.apply(e,n);function i(t){S(a,r,o,i,s,"next",t)}function s(t){S(a,r,o,i,s,"throw",t)}i(void 0)}))});return function(){return e.apply(this,arguments)}}();function O(t,e,n,r,o,a,i){try{var s=t[a](i),c=s.value}catch(t){return void n(t)}s.done?e(c):Promise.resolve(c).then(r,o)}function x(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var a=t.apply(e,n);function i(t){O(a,r,o,i,s,"next",t)}function s(t){O(a,r,o,i,s,"throw",t)}i(void 0)}))}}function T(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var j=function(){function t(e,n,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.trap=r,this.consentGivenEvent=e,this.consentBarCloseEvent=n,this.setProperties(),this.init()}var e,n,r;return e=t,n=[{key:"setProperties",value:function(){this.cookieName=vogdprcFront.cookieName,this.consentBar=document.querySelector(".vogdprc-consent-bar"),this.buttonAccept=document.querySelector(".vogdprc-consent-bar .vogdprc-button--accept"),this.buttonReject=document.querySelector(".vogdprc-consent-bar .vogdprc-button--reject"),this.isLoading=!1}},{key:"init",value:function(){var t=this;this.consentBar&&(null===d(this.cookieName)?(window.addEventListener(this.consentBarCloseEvent.type,(function(){t.hideBar()})),document.querySelector("body").prepend(this.consentBar),this.consentBar.addEventListener("close",function(){var e=x(regeneratorRuntime.mark((function e(n){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!==d(t.cookieName)){e.next=6;break}return e.next=4,E("none");case 4:t.isLoading=e.sent,window.dispatchEvent(t.consentGivenEvent);case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),this.consentBar.show(),this.trap.activate(),this.handleButtonAccept(),this.handleButtonReject()):this.consentBar.close())}},{key:"handleButtonAccept",value:function(){var t=this;this.buttonAccept&&this.buttonAccept.addEventListener("click",function(){var e=x(regeneratorRuntime.mark((function e(n){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.isLoading){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,E("all");case 4:t.isLoading=e.sent,window.dispatchEvent(t.consentGivenEvent),t.hideBar();case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())}},{key:"handleButtonReject",value:function(){var t=this;this.buttonReject&&this.buttonReject.addEventListener("click",function(){var e=x(regeneratorRuntime.mark((function e(n){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.isLoading){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,E("none");case 4:t.isLoading=e.sent,window.dispatchEvent(t.consentGivenEvent),t.hideBar();case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())}},{key:"hideBar",value:function(){var t=this;this.consentBar.classList.add("vogdprc-consent-bar--hidden"),setTimeout((function(){t.consentBar.close(),t.trap.deactivate()}),290)}}],n&&T(e.prototype,n),r&&T(e,r),t}();function N(t,e,n,r,o,a,i){try{var s=t[a](i),c=s.value}catch(t){return void n(t)}s.done?e(c):Promise.resolve(c).then(r,o)}function A(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var C=function(){function t(e,n,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.consentGivenEvent=e,this.consentBarCloseEvent=n,this.trap=r,this.setProperties(),this.init()}var e,n,r;return e=t,n=[{key:"setProperties",value:function(){this.isLoading=!1,this.modalId="#vogdprc-consent-modal",this.consentModal=document.querySelector(this.modalId),this.navigationButtonClass=".vogdprc-consent-modal__navigation-button",this.navigationButtonActiveClass=".vogdprc-consent-modal__navigation-button--active",this.navigationButtonActiveKey="vogdprc-consent-modal__navigation-button--active",this.descriptionClass=".vogdprc-consent-modal__description",this.descriptionActiveClass=".vogdprc-consent-modal__description--active",this.settingsLinks=document.querySelectorAll(".vogdprc-consents-settings-link, .vogdprc-processor-settings-link")}},{key:"init",value:function(){this.consentModal&&(this.initModal(),this.triggerModal(),this.tabSwitcher(this.consentModal),this.modalListener(this.consentModal))}},{key:"initModal",value:function(){var t=this;document.querySelectorAll("[data-close=vogdprc-consent-modal]").forEach((function(e){e.addEventListener("click",(function(){t.consentModal.close()}))})),document.querySelectorAll('[data-trigger="vogdprc-consent-modal"]').forEach((function(e){e.addEventListener("click",(function(){t.consentModal.showModal(),t.trap.deactivate()}))})),this.consentModal.addEventListener("close",(function(){t.trap.activate();var e=t.consentModal.querySelectorAll(t.descriptionClass),n=t.consentModal.querySelectorAll(t.navigationButtonClass),r=t.consentModal.querySelectorAll('input[type="checkbox"]'),o=!1;e.forEach((function(e){e.classList.remove(t.descriptionActiveClass),o||(o=!0,e.classList.add(t.descriptionActiveClass))}
2)),o=!1,n.forEach((function(e){e.classList.remove(t.navigationButtonActiveClass),o||(o=!0,e.classList.add(t.navigationButtonActiveClass))})),r.forEach((function(t){t.checked=!1}))}))}},{key:"triggerModal",value:function(){var t=this;this.settingsLinks&&this.settingsLinks.forEach((function(e){e.addEventListener("click",(function(e){t.consentModal.showModal(),t.trap.deactivate()}))}))}},{key:"tabSwitcher",value:function(t){var e=this,n=t.querySelectorAll(".vogdprc-consent-modal__navigation button");if(n){var r=t.querySelectorAll(".vogdprc-consent-modal__description");n.forEach((function(o){o.addEventListener("click",(function(a){var i=t.querySelector('.vogdprc-consent-modal__description[data-target="'+o.getAttribute("data-target")+'"]');i&&(n.forEach((function(t){t.classList.remove(e.navigationButtonActiveKey)})),o.classList.add(e.navigationButtonActiveKey),r.forEach((function(t){t.style.display="none"})),i.style.display="flex")}))}))}}},{key:"modalListener",value:function(t){var e=this,n=t.querySelector(".vogdprc-consent-modal__save-button");if(null!=n){var r=this.isLoading;n.addEventListener("click",function(){var n,o=(n=regeneratorRuntime.mark((function n(o){var a,i,s,c,u;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!r){n.next=2;break}return n.abrupt("return");case 2:if(a=t.querySelectorAll('input[type="checkbox"]'),i=[],a.length>0)for(s=0;s<a.length;s++)c=a[s],u=c.value,!0===c.checked&&u&&i.push(u);return n.next=7,E(i);case 7:r=n.sent,window.dispatchEvent(e.consentGivenEvent),window.dispatchEvent(e.consentBarCloseEvent);case 10:case"end":return n.stop()}}),n)})),function(){var t=this,e=arguments;return new Promise((function(r,o){var a=n.apply(t,e);function i(t){N(a,r,o,i,s,"next",t)}function s(t){N(a,r,o,i,s,"throw",t)}i(void 0)}))});return function(t){return o.apply(this,arguments)}}()),this.isLoading=r}}}],n&&A(e.prototype,n),r&&A(e,r),t}(),_=n(727),L=n.n(_);function P(t){return null!=t}function F(t){return"function"==typeof t}function I(t,e,n){for(var r in t)t.hasOwnProperty(r)&&e.call(n,r,t[r])}function R(t){try{return Array.prototype.slice.call(t)}catch(n){var e=[];return function(t,e,n){var r,o=t&&t.length||0;for(r=0;r<o;r++)e.call(n,t[r],r)}(t,(function(t){e.push(t)})),e}}function D(t,e){return!(!t||"startTag"!==t.type&&"atomicTag"!==t.type||!("tagName"in t))&&!!~t.tagName.toLowerCase().indexOf(e)}function q(t){return D(t,"script")}function M(t){return D(t,"style")}function B(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function G(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var U="data-ps-",$="ps-style",H="ps-script";function K(t,e){var n=U+e,r=t.getAttribute(n);return P(r)?String(r):r}function W(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=U+e;P(n)&&""!==n?t.setAttribute(r,n):t.removeAttribute(r)}var Q=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};B(this,t),this.root=e,this.options=n,this.doc=e.ownerDocument,this.win=this.doc.defaultView||this.doc.parentWindow,this.parser=new(L())("",{autoFix:n.autoFix}),this.actuals=[e],this.proxyHistory="",this.proxyRoot=this.doc.createElement(e.nodeName),this.scriptStack=[],this.writeQueue=[],W(this.proxyRoot,"proxyof",0)}var e,n,r;return e=t,n=[{key:"write",value:function(){var t;for((t=this.writeQueue).push.apply(t,arguments);!this.deferredRemote&&this.writeQueue.length;){var e=this.writeQueue.shift();F(e)?this._callFunction(e):this._writeImpl(e)}}},{key:"_callFunction",value:function(t){var e={type:"function",value:t.name||t.toString()};this._onScriptStart(e),t.call(this.win,this.doc),this._onScriptDone(e)}},{key:"_writeImpl",value:function(t){var e,n,r;this.parser.append(t);for(var o=[];(e=this.parser.readToken())&&!(n=q(e))&&!(r=M(e));)(e=this.options.beforeWriteToken(e))&&o.push(e);o.length>0&&this._writeStaticTokens(o),n&&this._handleScriptToken(e),r&&this._handleStyleToken(e)}},{key:"_writeStaticTokens",value:function(t){var e=this._buildChunk(t);return e.actual?(e.html=this.proxyHistory+e.actual,this.proxyHistory+=e.proxy,this.proxyRoot.innerHTML=e.html,this._walkChunk(),e):null}},{key:"_buildChunk",value:function(t){for(var e=this.actuals.length,n=[],r=[],o=[],a=t.length,i=0;i<a;i++){var s=t[i],c=s.toString();if(n.push(c),s.attrs){if(!/^noscript$/i.test(s.tagName)){var u=e++;r.push(c.replace(/(\/?>)/," ".concat(U,"id=").concat(u," $1"))),s.attrs.id!==H&&s.attrs.id!==$&&o.push("atomicTag"===s.type?"":"<".concat(s.tagName," ").concat(U,"proxyof=").concat(u)+(s.unary?" />":">"))}}else r.push(c),o.push("endTag"===s.type?c:"")}return{tokens:t,raw:n.join(""),actual:r.join(""),proxy:o.join("")}}},{key:"_walkChunk",value:function(){for(var t,e=[this.proxyRoot];P(t=e.shift());){var n=1===t.nodeType;if(!n||!K(t,"proxyof")){n&&(this.actuals[K(t,"id")]=t,W(t,"id"));var r=t.parentNode&&K(t.parentNode,"proxyof");r&&this.actuals[r].appendChild(t)}e.unshift.apply(e,R(t.childNodes))}}},{key:"_handleScriptToken",value:function(t){var e=this,n=this.parser.clear();n&&this.writeQueue.unshift(n),t.src=t.attrs.src||t.attrs.SRC,(t=this.options.beforeWriteToken(t))&&(t.src&&this.scriptStack.length?this.deferredRemote=t:this._onScriptStart(t),this._writeScriptToken(t,(function(){e._onScriptDone(t)})))}},{key:"_handleStyleToken",value:function(t){var e=this.parser.clear();e&&this.writeQueue.unshift(e),t.type=t.attrs.type||t.attrs.TYPE||"text/css",(t=this.options.beforeWriteToken(t))&&this._writeStyleToken(t),e&&this.write()}},{key:"_writeStyleToken",value:function(t){var e=this._buildStyle(t);this._insertCursor(e,$),t.content&&(e.styleSheet&&!e.sheet?e.styleSheet.cssText=t.content:e.appendChild(this.doc.createTextNode(t.content)))}},{key:"_buildStyle",value:function(t){var e=this.doc.createElement(t.tagName);return e.setAttribute("type",t.type),I(t.attrs,(function(t,n){e.setAttribute(t,n)})),e}},{key:"_insertCursor",value:function(t,e){this._writeImpl('<span id="'.concat(e,'"/>'));var n=this.doc.getElementById(e);n&&n.parentNode.replaceChild(t,n)}},{key:"_onScriptStart",value:function(t){t.outerWrites=this.writeQueue,this.writeQueue=[],this.scriptStack.unshift(t)}},{key:"_onScriptDone",value:function(t){t===this.scriptStack[0]?(this.scriptStack.shift(),this.write.apply(this,t.outerWrites),!this.scriptStack.length&&this.deferredRemote&&(this._onScriptStart(this.deferredRemote),this.deferredRemote=null)):this.options.error({msg:"Bad script nesting or script finished twice"})}},{key:"_writeScriptToken",value:function(t,e){var n=this._buildScript(t),r=this._shouldRelease(n),o=this.options.afterAsync;t.src&&(n.src=t.src,this._scriptLoadHandler(n,r?o:function(){e(),o()}));try{this._insertCursor(n,H),n.src&&!r||e()}catch(t){this.options.error(t),e()}}},{key:"_buildScript",value:function(t){var e,n,r=this.doc.createElement(t.tagName);return I(t.attrs,(function(t,e){r.setAttribute(t,e)})),t.content&&q(t)&&(r.text=t.content),t.content&&function(t){return D(t,"
2noscript")}(t)&&(e=t.content,(n=document.createElement("template")).innerHTML=e,n.content.childNodes).forEach((function(t){r.appendChild(t)})),r}},{key:"_scriptLoadHandler",value:function(t,e){function n(){t=t.onload=t.onreadystatechange=t.onerror=null}var r=this.options.error;function o(){n(),null!=e&&e(),e=null}function a(t){n(),r(t),null!=e&&e(),e=null}function i(t,e){var n=t["on".concat(e)];null!=n&&(t["_on".concat(e)]=n)}i(t,"load"),i(t,"error"),Object.assign(t,{onload:function(){if(t._onload)try{t._onload.apply(this,Array.prototype.slice.call(arguments,0))}catch(e){a({msg:"onload handler failed ".concat(e," @ ").concat(t.src)})}o()},onerror:function(){if(t._onerror)try{t._onerror.apply(this,Array.prototype.slice.call(arguments,0))}catch(e){return void a({msg:"onerror handler failed ".concat(e," @ ").concat(t.src)})}a({msg:"remote script failed ".concat(t.src)})},onreadystatechange:function(){/^(loaded|complete)$/.test(t.readyState)&&o()}})}},{key:"_shouldRelease",value:function(t){return!/^script$/i.test(t.nodeName)||!!(this.options.releaseAsync&&t.src&&t.hasAttribute("async"))}}],n&&G(e.prototype,n),r&&G(e,r),t}();function z(t){return function(t){if(Array.isArray(t))return Y(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return Y(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Y(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Y(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function Z(){}var J={afterAsync:Z,afterDequeue:Z,afterStreamStart:Z,afterWrite:Z,autoFix:!0,beforeEnqueue:Z,beforeWriteToken:function(t){return t},beforeWrite:function(t){return t},done:Z,error:function(t){throw new Error(t.msg)},releaseAsync:!1},V=0,X=[],tt=null;function et(){var t,e=X.shift();if(e){var n=(t=e)[t.length-1];n.afterDequeue(),e.stream=nt.apply(void 0,z(e)),n.afterStreamStart()}}function nt(t,e,n){(tt=new Q(t,n)).id=V++,tt.name=n.name||tt.id,rt.streams[tt.name]=tt;var r=t.ownerDocument,o={close:r.close,open:r.open,write:r.write,writeln:r.writeln};function a(t){t=n.beforeWrite(t),tt.write(t),n.afterWrite(t)}Object.assign(r,{close:Z,open:Z,write:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return a(e.join(""))},writeln:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return a(e.join("")+"\n")}});var i=tt.win.onerror||Z;return tt.win.onerror=function(t,e,r){n.error({msg:"".concat(t," - ").concat(e,": ").concat(r)}),i.apply(tt.win,[t,e,r])},tt.write(e,(function(){Object.assign(r,o),tt.win.onerror=i,n.done(),tt=null,et()})),tt}function rt(t,e,n){if(F(n))n={done:n};else if("clear"===n)return X=[],tt=null,void(V=0);n=function(t,e){return t=t||{},I(e,(function(e,n){P(t[e])||(t[e]=n)})),t}(n,J);var r=[t=/^#/.test(t)?window.document.getElementById(t.substr(1)):t.jquery?t[0]:t,e,n];return t.postscribe={cancel:function(){r.stream?r.stream.abort():r[1]=Z}},n.beforeEnqueue(r),X.push(r),tt||et(),t.postscribe}function ot(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==n)return;var r,o,a=[],i=!0,s=!1;try{for(n=n.call(t);!(i=(r=n.next()).done)&&(a.push(r.value),!e||a.length!==e);i=!0);}catch(t){s=!0,o=t}finally{try{i||null==n.return||n.return()}finally{if(s)throw o}}return a}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return at(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return at(t,e)}
2(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function at(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function it(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}Object.assign(rt,{streams:{},queue:X,WriteStream:Q});var st=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.loadedConsents=[],this.consentGivenEvent=e,this.checkForAcceptence(),this.loadConsents()}var n,r,o;return n=t,(r=[{key:"setGivenConsent",value:function(){var t={ad_storage:"denied",ad_user_data:"denied",ad_personalization:"denied",analytics_storage:"denied"},e=d(vogdprcFront.cookieName);if(null!=e){var n=this._parseConsentCookie(e);Object.keys(t).forEach((function(e){(!0===n||void 0!==n[e]&&"accepted"===n[e])&&(t[e]="granted")}))}"function"==typeof window.gtag?gtag("consent","update",t):(window.dataLayer=window.dataLayer||[],window.dataLayer.push(["consent","update",t]))}},{key:"checkForAcceptence",value:function(){var t=this;window.addEventListener(this.consentGivenEvent.type,(function(){t.allDoneCallback=t.setGivenConsent,t.loadConsents()}))}},{key:"loadConsents",value:function(){var t=this,n=void 0!==vogdprcFront.consents?vogdprcFront.consents:[];n.length<1&&(this.allDoneCallback(),this.allDoneCallback=null);var r,o=ot((r=function(t){return t.required},n.reduce((function(t,n){var o=e(t,2),a=o[0],i=o[1];return r(n)?[[].concat(s(a),[n]),i]:[a,[].concat(s(i),[n])]}),[[],[]])),2),a=o[0],i=o[1];a.forEach((function(e){return t.loadConsent(e)}));var c=d(vogdprcFront.cookieName);if(null!=c){this.allDoneCallback=this.setGivenConsent;var u=this._parseConsentCookie(c);i.forEach((function(e){(!0===u||void 0!==u[e.ID]&&"declined"!==u[e.ID]||e.consent_type&&"none"!==e.consent_type&&"declined"!==u[e.consent_type])&&t.loadConsent(e)})),this.setDefaultConsents()}else this.setDefaultConsents()}},{key:"_parseConsentCookie",value:function(t){if("accept"===t)return!0;var e=t.split(",");return Object.fromEntries(e.map((function(t){var e=t.lastIndexOf("_");return-1===e?[t,""]:[t.slice(0,e),t.slice(e+1)]})))}},{key:"getTargetByPlacement",value:function(t){var e;switch(t){case"head":e=document.head;break;case"body":if(null===(e=document.querySelector("#vogdprc-consent-body"))){var n=document.createElement("div");n.id="vogdprc-consent-body",document.body.prepend(n),e="#"+n.id}break;case"footer":e=document.body}return e}},{key:"loadConsent",value:function(t){var e=this,n=this.getTargetByPlacement(t.placement);null===n||this.loadedConsents.includes(t.ID)||(this.pendingPostscribes=(this.pendingPostscribes||0)+1,rt(n,t.content,{done:function(){e.loadedConsents.push(t.ID),e.pendingPostscribes--,0===e.pendingPostscribes&&(e.setDefaultConsents(),setTimeout((function(){e.allDoneCallback&&(e.allDoneCallback(),e.allDoneCallback=null)}),500))}}))}},{key:"setDefaultConsents",value:function(){"function"==typeof window.gtag?gtag("consent","default",{ad_storage:"denied",ad_user_data:"denied",ad_personalization:"denied",analytics_storage:"denied"}):(window.dataLayer=window.dataLayer||[],window.dataLayer.push(["consent","default",{ad_storage:"denied",ad_user_data:"denied",ad_personalization:"denied",analytics_storage:"denied"}]))}}])&&it(n.prototype,r),o&&it(n,o),t}();function ct(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function ut(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ct(Object(n),!0).forEach((function(e){lt(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ct(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function lt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ft(t,e,n,r,o,a,i){try{var s=t[a](i),c=s.value}catch(t){return void n(t)}s.done?e(c):Promise.resolve(c).then(r,o)}function dt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var pt=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.setProperties(),this.init()}var e,n,r,o,a;return e=t,n=[{key:"setProperties",value:function(){this.prefix=vogdprcFront.pluginPrefix,this.ajaxUrl=vogdprcFront.ajaxUrl,this.ajaxNonce=vogdprcFront.ajaxNonce,this.ajaxArg=vogdprcFront.ajaxArg,this.successClassName="vogdprc-message--success",this.errorClassName="vogdprc-message--error",this.formAction=this.prefix+"_process_action",this.form=document.querySelector(".vogdprc-form--access-request"),this.isLoading=!1,this.isLoadingClassName="is-loading"}},{key:"init",value:function(){this.handleForm()}},{key:"handleForm",value:function(){var t=this;this.form&&this.form.addEventListener("submit",(function(e){e.preventDefault(),t.accessRequest()}))}},{key:"setIsLoading",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.isLoading=t,t?document.body.classList.add(this.isLoadingClassName):document.body.classList.remove(this.isLoadingClassName)}},{key:"accessRequest",value:(o=regeneratorRuntime.mark((function t(){var e,n,r,o=this;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!this.isLoading){t.next=2;break}return t.abrupt("return");case 2:return this.setIsLoading(),e=this.form.querySelector(".vogdprc-message"),n=this.form.querySelector("#vogdprc-form__consent"),r=this.form.querySelector("#vogdprc-form__email"),e.style.display="none",e.classList.remove(this.successClassName,this.errorClassName),e.innerHTML="",t.prev=9,t.next=12,l(this.ajaxUrl,ut(lt({action:this.formAction},this.ajaxArg,this.ajaxNonce),f({type:"access_request",email:r.value,consent:n.checked})),"POST").then((function(t){return t.json()})).then((function(t){o.setIsLoading(!1);var n=void 0!==t.message&&t.message;
2n&&(o.form.reset(),r.blur(),e.innerHTML=n,e.classList.add(o.successClassName),e.removeAttribute("style"));var a=void 0!==t.error&&t.error;a&&(r.focus(),e.innerHTML=a,e.classList.add(o.errorClassName),e.removeAttribute("style"))}));case 12:t.next=18;break;case 14:t.prev=14,t.t0=t.catch(9),console.error(t.t0),this.setIsLoading(!1);case 18:case"end":return t.stop()}}),t,this,[[9,14]])})),a=function(){var t=this,e=arguments;return new Promise((function(n,r){var a=o.apply(t,e);function i(t){ft(a,n,r,i,s,"next",t)}function s(t){ft(a,n,r,i,s,"throw",t)}i(void 0)}))},function(){return a.apply(this,arguments)})}],n&&dt(e.prototype,n),r&&dt(e,r),t}();function ht(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function vt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ht(Object(n),!0).forEach((function(e){yt(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ht(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function yt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function mt(t,e,n,r,o,a,i){try{var s=t[a](i),c=s.value}catch(t){return void n(t)}s.done?e(c):Promise.resolve(c).then(r,o)}function gt(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var a=t.apply(e,n);function i(t){mt(a,r,o,i,s,"next",t)}function s(t){mt(a,r,o,i,s,"throw",t)}i(void 0)}))}}function bt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var wt=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.setProperties(),this.init()}var e,n,r,o;return e=t,n=[{key:"setProperties",value:function(){this.prefix=vogdprcFront.pluginPrefix,this.ajaxUrl=vogdprcFront.ajaxUrl,this.ajaxNonce=vogdprcFront.ajaxNonce,this.ajaxArg=vogdprcFront.ajaxArg,this.token=vogdprcFront.token,this.forms=document.querySelectorAll(".vogdprc-form--delete-request"),this.statusErrorClassName="vogdprc-status--error",this.statusProcessingClassName="vogdprc-status--processing",this.statusRemovedClassName="vogdprc-status--removed",this.messageErrorClassName="vogdprc-message--error",this.isLoading=!1,this.isLoadingClassName="is-loading",this.isHiddenClassName="is-hidden"}},{key:"init",value:function(){this.handleForm()}},{key:"handleForm",value:function(){var t=this;this.forms&&this.forms.forEach((function(e){t.handleFormSubmit(e),t.handleSelectAllCheckboxes(e)}))}},{key:"handleSelectAllCheckboxes",value:function(t){var e=t.querySelector(".vogdprc-select-all");if(t&&e){var n=t.querySelectorAll(".vogdprc-checkbox");n.forEach((function(t){t.addEventListener("change",(function(r){!1!==t.checked?(e.checked=!0,n.forEach((function(t){!1===t.checked&&(e.checked=!1)}))):e.checked=!1}))})),e.addEventListener("change",(function(t){var e=t.target.checked;n.forEach((function(t){t.checked=e}))}))}}},{key:"handleFormSubmit",value:function(t){var e=this;t&&t.addEventListener("submit",(function(n){n.preventDefault();var r=t.querySelector(".vogdprc-select-all"),o=function(t){var e=[];return t.length?(t.forEach((function(t){var n=parseInt(t.value);t.checked&&n>0&&e.push(n)})),e):e}(t.querySelectorAll(".vogdprc-checkbox"));r.checked=!1,e.deleteRequest(t,o)}))}},{key:"setIsLoading",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.isLoading=t,t?document.body.classList.add(this.isLoadingClassName):document.body.classList.remove(this.isLoadingClassName)}},{key:"deleteRequest",value:(o=gt(regeneratorRuntime.mark((function t(e){var n,r,o,a,i,s,c=this,u=arguments;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=u.length>1&&void 0!==u[1]?u[1]:[],r=u.length>2&&void 0!==u[2]?u[2]:0,e&&n){t.next=4;break}return t.abrupt("return");case 4:if(o=e.getAttribute("data-vogdprc"),a=e.querySelector(".vogdprc-message"),(i=n.slice(0,1)).length){t.next=9;break}return t.abrupt("return");case 9:(s=e.querySelector('tr[data-id="'+i[0]+'"]')).classList.remove(this.statusErrorClassName),s.classList.add(this.statusProcessingClassName),a.classList.add(this.isHiddenClassName),a.classList.remove(this.messageErrorClassName),a.innerHTML="",this.setIsLoading(),setTimeout(gt(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,l(c.ajaxUrl,vt(yt({action:c.prefix+"_process_action"},c.ajaxArg,c.ajaxNonce),f({type:"delete_request",token:c.token,settings:JSON.parse(o),value:i[0]})),"POST").then((function(t){return t.json()})).then((function(t){c.setIsLoading(!1);var r=void 0!==t.message&&t.message,o=void 0!==t.error&&t.error;r&&(n.splice(0,1),s.querySelector('input[type="checkbox"]').remove(),s.classList.add(c.statusRemovedClassName),a.innerHTML=r,a.classList.remove(c.isHiddenClassName),n.length&&c.deleteRequest(e,n,500)),o&&(s.classList.add(c.statusErrorClassName),a.innerHTML=o,a.classList.add(c.messageErrorClassName),a.classList.remove(c.isHiddenClassName))}));case 3:t.next=9;break;case 5:t.prev=5,t.t0=t.catch(0),console.error(t.t0),c.setIsLoading(!1);case 9:case"end":return t.stop()}}),t,null,[[0,5]])}))),r||0);case 17:case"end":return t.stop()}}),t,this)}))),function(t){return o.apply(this,arguments)})}],n&&bt(e.prototype,n),r&&bt(e,r),t}(),kt=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not
2(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],St=kt.join(","),Et="undefined"==typeof Element,Ot=Et?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,xt=!Et&&Element.prototype.getRootNode?function(t){var e;return null==t||null===(e=t.getRootNode)||void 0===e?void 0:e.call(t)}:function(t){return null==t?void 0:t.ownerDocument},Tt=function t(e,n){var r;void 0===n&&(n=!0);var o=null==e||null===(r=e.getAttribute)||void 0===r?void 0:r.call(e,"inert");return""===o||"true"===o||n&&e&&t(e.parentNode)},jt=function(t,e,n){if(Tt(t))return[];var r=Array.prototype.slice.apply(t.querySelectorAll(St));return e&&Ot.call(t,St)&&r.unshift(t),r=r.filter(n)},Nt=function t(e,n,r){for(var o=[],a=Array.from(e);a.length;){var i=a.shift();if(!Tt(i,!1))if("SLOT"===i.tagName){var s=i.assignedElements(),c=t(s.length?s:i.children,!0,r);r.flatten?o.push.apply(o,c):o.push({scopeParent:i,candidates:c})}else{Ot.call(i,St)&&r.filter(i)&&(n||!e.includes(i))&&o.push(i);var u=i.shadowRoot||"function"==typeof r.getShadowRoot&&r.getShadowRoot(i),l=!Tt(u,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(i));if(u&&l){var f=t(!0===u?i.children:u.children,!0,r);r.flatten?o.push.apply(o,f):o.push({scopeParent:i,candidates:f})}else a.unshift.apply(a,i.children)}}return o},At=function(t){return!isNaN(parseInt(t.getAttribute("tabindex"),10))},Ct=function(t){if(!t)throw new Error("No node provided");return t.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||function(t){var e,n=null==t||null===(e=t.getAttribute)||void 0===e?void 0:e.call(t,"contenteditable");return""===n||"true"===n}(t))&&!At(t)?0:t.tabIndex},_t=function(t,e){return t.tabIndex===e.tabIndex?t.documentOrder-e.documentOrder:t.tabIndex-e.tabIndex},Lt=function(t){return"INPUT"===t.tagName},Pt=function(t){return function(t){return Lt(t)&&"radio"===t.type}(t)&&!function(t){if(!t.name)return!0;var e,n=t.form||xt(t),r=function(t){return n.querySelectorAll('input[type="radio"][name="'+t+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)e=r(window.CSS.escape(t.name));else try{e=r(t.name)}catch(t){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",t.message),!1}var o=function(t,e){for(var n=0;n<t.length;n++)if(t[n].checked&&t[n].form===e)return t[n]}(e,t.form);return!o||o===t}(t)},Ft=function(t){var e=t.getBoundingClientRect(),n=e.width,r=e.height;return 0===n&&0===r},It=function(t,e){var n=e.displayCheck,r=e.getShadowRoot;if("hidden"===getComputedStyle(t).visibility)return!0;var o=Ot.call(t,"details>summary:first-of-type")?t.parentElement:t;if(Ot.call(o,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return Ft(t)}else{if("function"==typeof r){for(var a=t;t;){var i=t.parentElement,s=xt(t);if(i&&!i.shadowRoot&&!0===r(i))return Ft(t);t=t.assignedSlot?t.assignedSlot:i||s===t.ownerDocument?i:s.host}t=a}if(function(t){var e,n,r,o,a=t&&xt(t),i=null===(e=a)||void 0===e?void 0:e.host,s=!1;if(a&&a!==t)for(s=!!(null!==(n=i)&&void 0!==n&&null!==(r=n.ownerDocument)&&void 0!==r&&r.contains(i)||null!=t&&null!==(o=t.ownerDocument)&&void 0!==o&&o.contains(t));!s&&i;){var c,u,l;s=!(null===(u=i=null===(c=a=xt(i))||void 0===c?void 0:c.host)||void 0===u||null===(l=u.ownerDocument)||void 0===l||!l.contains(i))}return s}(t))return!t.getClientRects().length;if("legacy-full"!==n)return!0}return!1},Rt=function(t,e){return!(e.disabled||Tt(e)||function(t){return Lt(t)&&"hidden"===t.type}(e)||It(e,t)||function(t){return"DETAILS"===t.tagName&&Array.prototype.slice.apply(t.children).some((function(t){return"SUMMARY"===t.tagName}))}(e)||function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var e=t.parentElement;e;){if("FIELDSET"===e.tagName&&e.disabled){for(var n=0;n<e.children.length;n++){var r=e.children.item(n);if("LEGEND"===r.tagName)return!!Ot.call(e,"fieldset[disabled] *")||!r.contains(t)}return!0}e=e.parentElement}return!1}(e))},Dt=function(t,e){return!(Pt(e)||Ct(e)<0||!Rt(t,e))},qt=function(t){var e=parseInt(t.getAttribute("tabindex"),10);return!!(isNaN(e)||e>=0)},Mt=function t(e){var n=[],r=[];
2return e.forEach((function(e,o){var a=!!e.scopeParent,i=a?e.scopeParent:e,s=function(t,e){var n=Ct(t);return n<0&&e&&!At(t)?0:n}(i,a),c=a?t(e.candidates):i;0===s?a?n.push.apply(n,c):n.push(i):r.push({documentOrder:o,tabIndex:s,item:e,isScope:a,content:c})})),r.sort(_t).reduce((function(t,e){return e.isScope?t.push.apply(t,e.content):t.push(e.content),t}),[]).concat(n)},Bt=function(t,e){if(e=e||{},!t)throw new Error("No node provided");return!1!==Ot.call(t,St)&&Dt(e,t)},Gt=kt.concat("iframe").join(","),Ut=function(t,e){if(e=e||{},!t)throw new Error("No node provided");return!1!==Ot.call(t,Gt)&&Rt(e,t)};function $t(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function Ht(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e);if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Kt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Wt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Kt(Object(n),!0).forEach((function(e){Ht(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Kt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Qt(t){return function(t){if(Array.isArray(t))return $t(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return $t(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?$t(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var zt,Yt=function(t,e){if(t.length>0){var n=t[t.length-1];n!==e&&n._setPausedState(!0)}var r=t.indexOf(e);-1===r||t.splice(r,1),t.push(e)},Zt=function(t,e){var n=t.indexOf(e);-1!==n&&t.splice(n,1),t.length>0&&!t[t.length-1]._isManuallyPaused()&&t[t.length-1]._setPausedState(!1)},Jt=function(t){return"Tab"===(null==t?void 0:t.key)||9===(null==t?void 0:t.keyCode)},Vt=function(t){return Jt(t)&&!t.shiftKey},Xt=function(t){return Jt(t)&&t.shiftKey},te=function(t){return setTimeout(t,0)},ee=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return"function"==typeof t?t.apply(void 0,n):t},ne=function(t){return t.target.shadowRoot&&"function"==typeof t.composedPath?t.composedPath()[0]:t.target},re=[],oe=function(t,e){var n,r=(null==e?void 0:e.document)||document,o=(null==e?void 0:e.trapStack)||re,a=Wt({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:Vt,isKeyBackward:Xt},e),i={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,manuallyPaused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},s=function(t,e,n){return t&&void 0!==t[e]?t[e]:a[n||e]},c=function(t,e){var n="function"==typeof(null==e?void 0:e.composedPath)?e.composedPath():void 0;return i.containerGroups.findIndex((function(e){var r=e.container,o=e.tabbableNodes;return r.contains(t)||(null==n?void 0:n.includes(r))||o.find((function(e){return e===t}))}))},u=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.hasFallback,o=void 0!==n&&n,i=e.params,s=void 0===i?[]:i,c=a[t];if("function"==typeof c&&(c=c.apply(void 0,Qt(s))),!0===c&&(c=void 0),!c){if(void 0===c||!1===c)return c;throw new Error("`".concat(t,"` was specified but was not a node, or did not return a node"))}var u=c;if("string"==typeof c){try{u=r.querySelector(c)}catch(e){throw new Error("`".concat(t,'` appears to be an invali
2d selector; error="').concat(e.message,'"'))}if(!u&&!o)throw new Error("`".concat(t,"` as selector refers to no known node"))}return u},l=function(){var t=u("initialFocus",{hasFallback:!0});if(!1===t)return!1;if(void 0===t||t&&!Ut(t,a.tabbableOptions))if(c(r.activeElement)>=0)t=r.activeElement;else{var e=i.tabbableGroups[0];t=e&&e.firstTabbableNode||u("fallbackFocus")}else null===t&&(t=u("fallbackFocus"));if(!t)throw new Error("Your focus-trap needs to have at least one focusable element");return t},f=function(){if(i.containerGroups=i.containers.map((function(t){var e=function(t,e){var n;return n=(e=e||{}).getShadowRoot?Nt([t],e.includeContainer,{filter:Dt.bind(null,e),flatten:!1,getShadowRoot:e.getShadowRoot,shadowRootFilter:qt}):jt(t,e.includeContainer,Dt.bind(null,e)),Mt(n)}(t,a.tabbableOptions),n=function(t,e){return(e=e||{}).getShadowRoot?Nt([t],e.includeContainer,{filter:Rt.bind(null,e),flatten:!0,getShadowRoot:e.getShadowRoot}):jt(t,e.includeContainer,Rt.bind(null,e))}(t,a.tabbableOptions),r=e.length>0?e[0]:void 0,o=e.length>0?e[e.length-1]:void 0,i=n.find((function(t){return Bt(t)})),s=n.slice().reverse().find((function(t){return Bt(t)})),c=!!e.find((function(t){return Ct(t)>0}));return{container:t,tabbableNodes:e,focusableNodes:n,posTabIndexesFound:c,firstTabbableNode:r,lastTabbableNode:o,firstDomTabbableNode:i,lastDomTabbableNode:s,nextTabbableNode:function(t){var r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],o=e.indexOf(t);return o<0?r?n.slice(n.indexOf(t)+1).find((function(t){return Bt(t)})):n.slice(0,n.indexOf(t)).reverse().find((function(t){return Bt(t)})):e[o+(r?1:-1)]}}})),i.tabbableGroups=i.containerGroups.filter((function(t){return t.tabbableNodes.length>0})),i.tabbableGroups.length<=0&&!u("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(i.containerGroups.find((function(t){return t.posTabIndexesFound}))&&i.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},d=function(t){var e=t.activeElement;if(e)return e.shadowRoot&&null!==e.shadowRoot.activeElement?d(e.shadowRoot):e},p=function(t){!1!==t&&t!==d(document)&&(t&&t.focus?(t.focus({preventScroll:!!a.preventScroll}),i.mostRecentlyFocusedNode=t,function(t){return t.tagName&&"input"===t.tagName.toLowerCase()&&"function"==typeof t.select}(t)&&t.select()):p(l()))},h=function(t){var e=u("setReturnFocus",{params:[t]});return e||!1!==e&&t},v=function(t){var e=t.target,n=t.event,r=t.isBackward,o=void 0!==r&&r;e=e||ne(n),f();var s=null;if(i.tabbableGroups.length>0){var l=c(e,n),d=l>=0?i.containerGroups[l]:void 0;if(l<0)s=o?i.tabbableGroups[i.tabbableGroups.length-1].lastTabbableNode:i.tabbableGroups[0].firstTabbableNode;else if(o){var p=i.tabbableGroups.findIndex((function(t){var n=t.firstTabbableNode;return e===n}));if(p<0&&(d.container===e||Ut(e,a.tabbableOptions)&&!Bt(e,a.tabbableOptions)&&!d.nextTabbableNode(e,!1))&&(p=l),p>=0){var h=0===p?i.tabbableGroups.length-1:p-1,v=i.tabbableGroups[h];s=Ct(e)>=0?v.lastTabbableNode:v.lastDomTabbableNode}else Jt(n)||(s=d.nextTabbableNode(e,!1))}else{var y=i.tabbableGroups.findIndex((function(t){var n=t.lastTabbableNode;return e===n}));if(y<0&&(d.container===e||Ut(e,a.tabbableOptions)&&!Bt(e,a.tabbableOptions)&&!d.nextTabbableNode(e))&&(y=l),y>=0){var m=y===i.tabbableGroups.length-1?0:y+1,g=i.tabbableGroups[m];s=Ct(e)>=0?g.firstTabbableNode:g.firstDomTabbableNode}else Jt(n)||(s=d.nextTabbableNode(e))}}else s=u("fallbackFocus");return s},y=function(t){var e=ne(t);c(e,t)>=0||(ee(a.clickOutsideDeactivates,t)?n.deactivate({returnFocus:a.returnFocusOnDeactivate}):ee(a.allowOutsideClick,t)||t.preventDefault())},m=function(t){var e=ne(t),n=c(e,t)>=0;if(n||e instanceof Document)n&&(i.mostRecentlyFocusedNode=e);else{var r;t.stopImmediatePropagation();var o=!0;if(i.mostRecentlyFocusedNode)if(Ct(i.mostRecentlyFocusedNode)>0){var s=c(i.mostRecentlyFocusedNode),u=i.containerGroups[s].tabbableNodes;if(u.length>0){var f=u.findIndex((function(t){return t===i.mostRecentlyFocusedNode}));f>=0&&(a.isKeyForward(i.recentNavEvent)?f+1<u.length&&(r=u[f+1],o=!1):f-1>=0&&(r=u[f-1],o=!1))}}else i.containerGroups.some((function(t){return t.tabbableNodes.some((function(t){return Ct(t)>0}))}))||(o=!1);else o=!1;o&&(r=v({target:i.mostRecentlyFocusedNode,isBackward:a.isKeyBackward(i.recentNavEvent)})),p(r||(i.mostRecentlyFocusedNode||l()))}i.recentNavEvent=void 0},g=function(t){(a.isKeyForward(t)||a.isKeyBackward(t))&&function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];i.recentNavEvent=t;var n=v({event:t,isBackward:e});n&&(Jt(t)&&t.preventDefault(),p(n))}(t,a.isKeyBackward(t))},b=function(t){var e;"Escape"!==(null==(e=t)?void 0:e.key)&&"Esc"!==(null==e?void 0:e.key)&&27!==(null==e?void 0:e.keyCode)||!1===ee(a.escapeDeactivates,t)||(t.preventDefault(),n.deactivate())},w=function(t){var e=ne(t);c(e,t)>=0||ee(a.clickOutsideDeactivates,t)||ee(a.allowOutsideClick,t)||(t.preventDefault(),t.stopImmediatePropagation())},k=function(){if(i.active)return Yt(o,n),i.delayInitialFocusTimer=a.delayInitialFocus?te((function(){p(l())})):p(l()),r.addEventListener("focusin",m,!0),r.addEventListener("mousedown",y,{capture:!0,passive:!1}),r.addEventListener("touchstart",y,{capture:!0,passive:!1}),r.addEventListener("click",w,{capture:!0,passive:!1}),r.addEventListener("keydown",g,{capture:!0,passive:!1}),r.addEventListener("keydown",b),n},S=function(){if(i.active)return r.removeEventListener("focusin",m,!0),r.removeEventListener("mousedown",y,!0),r.removeEventListener("touchstart",y,!0),r.removeEventListener("click",w,!0),r.removeEventListener("keydown",g,!0),r.removeEventListener("keydown",b),n},E="undefined"!=typeof window&&"MutationObserver"in window?new MutationObserver((function(t){t.some((function(t){return Array.from(t.removedNodes
2).some((function(t){return t===i.mostRecentlyFocusedNode}))}))&&p(l())})):void 0,O=function(){E&&(E.disconnect(),i.active&&!i.paused&&i.containers.map((function(t){E.observe(t,{subtree:!0,childList:!0})})))};return n={get active(){return i.active},get paused(){return i.paused},activate:function(t){if(i.active)return this;var e=s(t,"onActivate"),n=s(t,"onPostActivate"),o=s(t,"checkCanFocusTrap");o||f(),i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=d(r),null==e||e();var a=function(){o&&f(),k(),O(),null==n||n()};return o?(o(i.containers.concat()).then(a,a),this):(a(),this)},deactivate:function(t){if(!i.active)return this;var e=Wt({onDeactivate:a.onDeactivate,onPostDeactivate:a.onPostDeactivate,checkCanReturnFocus:a.checkCanReturnFocus},t);clearTimeout(i.delayInitialFocusTimer),i.delayInitialFocusTimer=void 0,S(),i.active=!1,i.paused=!1,O(),Zt(o,n);var r=s(e,"onDeactivate"),c=s(e,"onPostDeactivate"),u=s(e,"checkCanReturnFocus"),l=s(e,"returnFocus","returnFocusOnDeactivate");null==r||r();var f=function(){te((function(){l&&p(h(i.nodeFocusedBeforeActivation)),null==c||c()}))};return l&&u?(u(h(i.nodeFocusedBeforeActivation)).then(f,f),this):(f(),this)},pause:function(t){return i.active?(i.manuallyPaused=!0,this._setPausedState(!0,t)):this},unpause:function(t){return i.active?(i.manuallyPaused=!1,o[o.length-1]!==this?this:this._setPausedState(!1,t)):this},updateContainerElements:function(t){var e=[].concat(t).filter(Boolean);return i.containers=e.map((function(t){return"string"==typeof t?r.querySelector(t):t})),i.active&&f(),O(),this}},Object.defineProperties(n,{_isManuallyPaused:{value:function(){return i.manuallyPaused}},_setPausedState:{value:function(t,e){if(i.paused===t)return this;if(i.paused=t,t){var n=s(e,"onPause"),r=s(e,"onPostPause");null==n||n(),S(),O(),null==r||r()}else{var o=s(e,"onUnpause"),a=s(e,"onPostUnpause");null==o||o(),f(),k(),O(),null==a||a()}return this}}}),n.updateContainerElements(t),n};zt=function(){g();var t=new Event("vogdprc.consent.given"),e=new Event("vogdprc.bar.close"),n=document.querySelector(".vogdprc-consent-bar");if(n){var r=oe(n,{clickOutsideDeactivates:!0});new j(t,e,r),new C(t,e,r),new st(t),new pt,new wt}},document.addEventListener("DOMContentLoaded",(function(){zt()}))})()})();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.