/*! behaviors.js is part of Webrecorder project. Copyright (C) 2021-2024, Webrecorder Software. Licensed under the Affero General Public License v3. */(()=>{vart={480:(t,e,i)=>{"use strict";functiono(t,e=document,i=null){returns(t,!0,e,i)}functions(t,e,i,o=null){t=function(t){functione(){o&&(a.length>0&&/^[~+>]$/.test(a[a.length-1])&&a.push(" "),a.push(o))}vari,o,s,n,a=[],r=[0],l=0,c=/(?:[^\\]|(?:^|[^\\])(?:\\\\)+)$/,h=/^\s+$/,d=[/\s+|\/\*|["'>~+[(]/g,/\s+|\/\*|["'[\]()]/g,/\s+|\/\*|["'[\]()]/g,null,/\*\//g];for(t=t.trim();;){if(o="",(s=d[r[r.length-1]]).lastIndex=l,!(i=s.exec(t))){o=t.substr(l),e();break}if((n=l)<(l=s.lastIndex)-i[0].length&&(o=t.substring(n,l-i[0].length)),r[r.length-1]<3){if(e(),"["===i[0])r.push(1);elseif("("===i[0])r.push(2);elseif(/^["']$/.test(i[0]))r.push(3),d[3]=newRegExp(i[0],"g");elseif("/*"===i[0])r.push(4);elseif(/^[\])]$/.test(i[0])&&r.length>0)r.pop();elseif(/^(?:\s+|[~+>])$/.test(i[0])&&(a.length>0&&!h.test(a[a.length-1])&&0===r[r.length-1]&&a.push(" "),1===r[r.length-1]&&5===a.length&&"="===a[2].charAt(a[2].length-1)&&(a[4]=" "+a[4]),h.test(i[0])))continue;a.push(i[0])}elsea[a.length-1]+=o,c.test(a[a.length-1])&&(4===r[r.length-1]&&(a.length<2||h.test(a[a.length-2])?a.pop():a[a.length-1]=" ",i[0]=""),r.pop()),a[a.length-1]+=i[0]}returna.join("").trim()}(t);lets=i.querySelector(t);if(document.head.createShadowRoot||document.head.attachShadow){if(!e&&s)returns;returnn(t,",").reduce(((t,s)=>{if(!e&&t)returnt;constl=n(s.replace(/^\s+/g,"").replace(/\s*([>+~]+)\s*/g,"$1")," ").filter((t=>!!t)).map((t=>n(t,">"))),c=l.length-1,h=function(t=null,e,i=null){leto=[];if(i)o=i;else{constt=function(e){for(leti=0;i<e.length;i++){consts=e[i];o.push(s),s.shadowRoot&&t(s.shadowRoot.querySelectorAll("*"))}};e.shadowRoot&&t(e.shadowRoot.querySelectorAll("*")),t(e.querySelectorAll("*"))}returnt?o.filter((e=>e.matches(t))):o}(l[c][l[c].length-1],i,o),d=function(t,e,i){returno=>{lets=e,n=o,l=!1;for(;n&&!a(n);){lete=!0;if(1===t[s].length)e=n.matches(t[s]);else{consto=[].concat(t[s]).reverse();leta=n;for(consttofo){if(!a||!a.matches(t)){e=!1;break}a=r(a,i)}}if(e&&0===s){l=!0;break}e&&s--,n=r(n,i)}returnl}}(l,c,i);returne?t=t.concat(h.filter(d)):(t=h.find(d))||null}),e?[]:null)}returne?i.querySelectorAll(t):s}functionn(t,e){returnt.match(/\\?.|^$/g).reduce(((t,i)=>('"'!==i||t.sQuote?"'"!==i||t.quote?t.quote||t.sQuote||i!==e?t.a[t.a.length-1]+=i:t.a.push(""):(t.sQuote^=1,t.a[t.a.length-1]+=i):(t.quote^=1,t.a[t.a.length-1]+=i),t)),{a:[""]}).a}functiona(t){returnt.nodeType===Node.DOCUMENT_FRAGMENT_NODE||t.nodeType===Node.DOCUMENT_NODE}functionr(t,e){consti=t.parentNode;returni&&i.host&&11===i.nodeType?i.host:i===e?null:i}i.d(e,{Jp:()=>o})},702:(t,e,i)=>{"use strict";i.r(e),i.d(e,{AutoClick:()=>n});varo=i(841),s=i(721);classnextendso.BackgroundBehavior{constructor(t="a"){super(),this.seenElem=newWeakSet,this.selector=t,this._donePromise=newPromise((t=>this._markDone=t))}beforeUnload(t){returnt.preventDefault(),!1}nextSameOriginLink(t){try{conste=document.querySelectorAll(this.selector);for(constiofe){conste=i;if(e.href&&e.href.startsWith(self.location.origin)&&!e.href.startsWith(t)&&(e.isConnected&&!this.seenElem.has(e)))returnthis.seenElem.add(e),e}}catch(t){this.debug(t.toString())}returnnull}asyncstart(){constt=self.location.href,e=newURL(t);e.hash="";consti=e.href+"#";for(window.addEventListener("beforeunload",(t=>this.beforeUnload(t)));;){conste=this.nextSameOriginLink(i);if(!e)break;awaitthis.processElem(e,t)}for(consteofdocument.querySelectorAll(this.selector)){consto=e;o.href&&!o.href.startsWith(i)||awaitthis.processElem(o,t)}window.removeEventListener("beforeunload",(t=>this.beforeUnload(t))),this._markDone()}asyncprocessElem(t,e){if(!t.isConnected)return;try{if(!getEventListeners(t).click)return}catch(t){}if(t.target)return;consti=self;if(t.href){if(i.__bx_addSet&&!awaiti.__bx_addSet(t.href))return;this.debug("Clicking on link: "+t.href)}elsethis.debug("Click empty link");t.click(),await(0,s.sleep)(250),self.location.href!=e&&awaitnew