',e.acceptButton=e.datepickerContainer.getElementsByClassName("scrollroll-accept-button")[0],e.dayPicker=e.datepickerContainer.getElementsByClassName("scrollroll-day-picker")[0],e.monthPicker=e.datepickerContainer.getElementsByClassName("scrollroll-month-picker")[0],e.yearPicker=e.datepickerContainer.getElementsByClassName("scrollroll-year-picker")[0],Pe(e.dayPicker),Le(e.monthPicker),Se(e.yearPicker,e.allYears),e.dayElements=e.dayPicker.getElementsByClassName("scrollroll-element")},r=function(e){l("setInitialPositions"),e.previousYearScroll=i(e.yearPos,e.height),e.yearPicker.scrollTo(0,e.previousYearScroll),e.previousMonthScroll=i(e.monthPos,e.height),e.monthPicker.scrollTo(0,e.previousMonthScroll),e.previousDayScroll=i(e.dayPos,e.height),e.dayPicker.scrollTo(0,e.previousDayScroll)},le=function(e){var t,n;for(e.maxDays=te[e.monthPos],e.allYears[e.yearPos]%4||28!==e.maxDays||e.maxDays++,n=t=28;t<=30;n=++t)e.maxDays<=n?e.dayElements[n].style.opacity="0.5":e.dayElements[n].style.removeProperty("opacity")},se=function(t){var e,n,r;for(l("attachEventListeners"),t.element.addEventListener("click",function(e){return pe(e,t)}),t.element.addEventListener("focus",function(e){return me(e,t)}),t.acceptButton.addEventListener("click",function(e){return fe(e,t)}),t.dayPicker.addEventListener("mousedown",function(e){return ge(e,t,t.dayPicker)}),t.dayPicker.addEventListener("touchstart",function(e){return he(e,t,t.dayPicker)}),t.monthPicker.addEventListener("mousedown",function(e){return ge(e,t,t.monthPicker)}),t.monthPicker.addEventListener("touchstart",function(e){return he(e,t,t.monthPicker)}),t.yearPicker.addEventListener("mousedown",function(e){return ge(e,t,t.yearPicker)}),t.yearPicker.addEventListener("touchstart",function(e){return he(e,t,t.yearPicker)}),document.addEventListener("mousemove",function(e){return ve(e,t)}),document.addEventListener("touchmove",function(e){return ye(e,t)}),document.addEventListener("mouseup",function(e){return be(e,t)}),document.addEventListener("touchend",function(e){return we(e,t)}),n=0,r=(e=t.datepickerContainer.getElementsByClassName("scrollroll-element")).length;ne.maxDays-1&&(e.dayPos=e.maxDays-1),t=i(e.dayPos,e.height),e.dayPicker.scrollTo(0,t),Ce(e)),e.previousDayScroll=t},ue=function(e){var t=e.monthPicker.scrollTop,n=i(e.monthPos,e.height),r=null==e.dragObj,o=e.previousMonthScroll===t;r&&o&&t!==n&&(e.monthPos=Be(t,e.height),11=e.allYears.length&&(e.yearPos=e.allYears.length-1),t=i(e.yearPos,e.height),e.yearPicker.scrollTo(0,t),Ce(e)),e.previousYearScroll=t},pe=function(e,t){return l("inputElementClicked"),e.preventDefault(),!!t.frozen||(Ie(t),!1)},me=function(e,t){return l("inputElementFocused"),e.preventDefault(),e.target.blur(),!1},fe=function(e,t){var n,r,o,i;if(l("acceptButtonClicked"),t.dayPos>t.maxDays-1)return t.dayElements[t.dayPos].style.color="red",void(t.dayElements[t.dayPos].style.fontWeight="bold");r=Z[t.dayPos],o=ee[t.monthPos],n=`${i=t.allYears[t.yearPos]}-${o}-`+r,r=r+`.${o}.`+i,t.isInputElement?t.element.value=r:t.element.innerText=r,t.value=n,Te(t)},ge=function(e,t,n){l("mouseDowned"),t.dragObj={picker:n},t.dragObj.lastY=e.screenY,t.dragObj.hasMoved=!1},he=function(e,t,n){l("touchStarted"),e=e.changedTouches[0],t.dragObj={picker:n},t.dragObj.touchID=e.identifier,t.dragObj.lastY=e.screenY},ve=function(e,t){var n;null!=t.dragObj&&(l("mouseMoved"),t.dragObj.hasMoved=!0,n=t.dragObj.lastY-e.screenY,t.dragObj.lastY=e.screenY,Ee(n,t.dragObj.picker))},ye=function(e,t){var n,r,o,i,a;if(null!=t.dragObj)for(l("touchMoved"),r=0,o=(i=e.changedTouches).length;r",o=n=0,r=Z.length;n${Z[o]}`;e.innerHTML=t+=""},Le=function(e){var t,n,r,o;for(l("addMonthElements"),t="",o=n=0,r=ee.length;n${ee[o]}`;e.innerHTML=t+=""},Se=function(e,t){var n,r,o,i;for(l("addYearElements"),n="",i=r=0,o=t.length;r${t[i]}`;e.innerHTML=n+=""},Ce=function(e){for(var t,n=t=28;t<=30;n=++t)e.dayElements[n].style.removeProperty("color"),e.dayElements[n].style.removeProperty("font-weight")},Te=function(e){l("closeScrollRollDatepicker"),e.outerContainer.classList.remove("shown"),e.dragObj=null,e.nexHeartbeat=function(){},e.isOn=!1},Ie=function(e){l("openScrollRollDatepicker"),e.outerContainer.classList.add("shown"),e.nexHeartbeat=e.heartbeat.bind(e),requestAnimationFrame(e.nexHeartbeat),e.isOn=!0},i=function(e,t){return t/2+e*t},Be=function(e,t){return(e-e%t)/t},Fe=function(e){return"object"==typeof HTMLElement?e instanceof HTMLElement&&e.isConnected:null!=e&&1===e.nodeType&&e.isConnected},xe=function(e,t){Object.assign(e,ne),Object.assign(e,t)},Oe=new TextEncoder("utf-8");new TextDecoder("utf-8"),(H=new Array(256).fill(0)).map(function(e,t){return t.toString(16).padStart(2,"0")}),H.map(function(e,t){return BigInt(t)}),H=Array.from("0123456789abcdef"),W=new Array(256),H.forEach(function(e){return W[e]=16*parseInt(e,16)}),K=new Array(256),H.forEach(function(e){return K[e]=parseInt(e,16)});function Re(e){return Oe.encode(e)}async function De(){h||(pt()?((m=history.state).navAction=ct(),p.lastNavAction=m.navAction,b(p),history.replaceState(m,"")):(f.navAction=Xe,p.lastNavAction=f.navAction,b(p),history.replaceState(f,"")),await nt(),m=history.state,ft(m),et(m))}({log:c,olog:Ae}=e("utilmodule")),s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",d=u=null,He=new RegExp("^[a-z0-9]*$"),je=new RegExp("^[a-km-np-z2-9]*$"),o=a=Me=null;var He,o,a,Me,je,s,c,Ae,u,d,n,Ne,ze=function(){c("initialize"),(Me=new Worker("argon2worker.js")).addEventListener("message",Ue),qe()},qe=function(){var e,t,n,r;for(u=[],d=[],e=t=48;t<=57;e=++t)u[e]=!0,48!==e&&49!==e&&(d[e]=!0);for(e=n=65;n<=90;e=++n)u[e]=!0;for(e=r=97;r<=122;e=++r)u[e]=!0,108!==e&&111!==e&&(d[e]=!0)},Ve=function(e){for(var t,n,r,o,i="",a=r=0,l=o=(e=(t=new Uint8Array(e)).length)-(e=e%3);r>18]+s[(258048&n)>>12]+s[(4032&n)>>6]+s[63&n];return 1==e?(n=t[o],i+=s[(252&n)>>2]+s[(3&n)<<4]+"=="):2==e&&(n=t[o]<<8|t[1+o],i+=s[(64512&n)>>10]+s[(1008&n)>>4]+s[(15&n)<<2]+"="),i},Ye=async function(e,t){var n=window.crypto.subtle,e=Re(e),t=Re(t),t=await n.importKey("raw",t,{name:"PBKDF2"},!1,["deriveBits","deriveKey"]),e=await n.deriveKey({name:"PBKDF2",salt:e,iterations:1e3,hash:"SHA-1"},t,{name:"HMAC",hash:"SHA-1",length:160},!0,["sign","verify"]),t=await n.exportKey("raw",e);return Ve(t)},Ue=function(e){var t,n;return c("argon2WorkerResponded"),c(e.data),null!=e.data&&({error:t,hashHex:n}=e.data),null!=a&&null!=n?a(n):null!=o&&null!=t?o(t):void c("argon2Worker response did not cause any effect!")},Je=async function(e,t){return(e=e.length<4?e+e+e:e).length<8&&(e+=e),Ye(e,t)},$e=async function(e,t){var n,r;c("argon2HashPw"),r=new Promise(function(e,t){a=e,o=t}),Me.postMessage({pin:e,birthdate:t});try{return await r}catch(e){n=e,c("Argon2 threw an Error!"),c(n)}finally{o=a=null}},_e=function(e){return u[e]},Ke=function(e){return d[e]},We=function(e){return He.test(e)},Qe=function(e){return je.test(e)},Ge=function(e){for(var t,n,r={},o=0,i=(n=(e="string"==typeof e?document.getElementById(e):e).elements).length;om.depth))return t=dt(),p.lastNavAction=t,b(p),t=lt(t),history.go(-e),t},at=function(e){return"back"===e.action&&e.timestamp===Ze},lt=function(e){return Ze=e.timestamp,new Promise(function(e){return g=e})},st=function(){g(),Ze=g=null},ct=function(){return{action:"browserNav {refresh, back or forward}",timestamp:Date.now()}},ut=function(){return{action:"nav",timestamp:Date.now()}},dt=function(){return{action:"back",timestamp:Date.now()}},pt=function(){return mt(history.state)},mt=function(e){var t,n,r,o,i;if(null==e)return!1;if(o=Object.keys(e),i=Object.keys(f),o.length!==i.length)return!1;for(n=t=0,r=o.length;t