1(self.webpackChunk=self.webpackChunk||[]).push([[372],{2715:function(){const e=document.querySelector(".deck"),t=document.querySelector(".roll-buttons > .btn-left"),n=document.querySelector(".roll-buttons > .btn-right");let s,a,i=!1;if(e){const c=function(t){i=!0,e.classList.add("active"),s=(t.pageX||t.touches[0].clientX)-e.offsetLeft,a=e.scrollLeft},r=function(t){i=!1,e.classList.remove("active")},o=function(t){if(!i)return;const n=3*((t.pageX||t.touches[0].clientX)-e.offsetLeft-s);e.scrollLeft=a-n},u=function(){animate(e.scrollLeft,e.scrollLeft-.9*e.clientWidth,(t=>{e.scrollLeft=t}),500,"easeOutQuint")},d=function(){animate(e.scrollLeft,e.scrollLeft+.9*e.clientWidth,(t=>{e.scrollLeft=t}),500,"easeOutQuint")};e.addEventListener("mousedown",c,{passive:!0}),e.addEventListener("touchstart",c,{passive:!0}),e.addEventListener("mouseleave",r,{passive:!0}),e.addEventListener("touchcancel",r,{passive:!0}),e.addEventListener("mouseup",r,{passive:!0}),e.addEventListener("touchend",r,{passive:!0}),e.addEventListener("mousemove",o,{passive:!0}),e.addEventListener("touchmove",o,{passive:!0}),t.addEventListener("click",u,{passive:!0}),n.addEventListener("click",d,{passive:!0})}animate=function(e,t,n,s,a){e=e||0,t=t||100,n=n||console.log,s=s||2500,a=a||"linear";var i=+new Date,c=function(){var r=(new Date-i)/s;n(Math.round(e+(t-e)*function(){var e=function(e){return function(t){return Math.pow(t,e)}},t=function(e){return function(t){return 1-Math.abs(Math.pow(t-1,e))}},n=function(e){return function(t){return t<.5?EaseIn(e)(2*t)/2:EaseOut(e)(2*t-1)/2+.5}};return this.linear=function(e){return e},this.easeInQuad=e(2),this.easeOutQuad=t(2),this.easeInOutQuad=n(2),this.easeInCubic=e(3),this.easeOutCubic=t(3),this.easeInOutCubic=n(3),this.easeInQuart=e(4),this.easeOutQuart=t(4),this.easeInOutQuart=n(4),this.easeInQuint=e(5),this.easeOutQuint=t(5),this.easeInOutQuint=n(5),this.easeInElastic=function(e){return(.04-.04/e)*Math.sin(25*e)+1},this.easeOutElastic=function(e){return.04*e/--e*Math.sin(25*e)},this.easeInOutElastic=function(e){return(e-=.5)<0?(.02+.01/e)*Math.sin(50*e):(.02-.01/e)*Math.sin(50*e)+1},this.easeInSin=function(e){return 1+Math.sin(Math.PI/2*e-Math.PI/2)},this.easeOutSin=function(e){return Math.sin(Math.PI/2*e)},this.easeInOutSin=function(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2},this}()[a](r))),r<1?window.requestAnimationFrame&&requestAnimationFrame(c)||setTimeout(c,16):n(t)};c()}},5752:function(e,t,n){n(7412),n(1450),n(2715)},1450:function(){const e=document.getElementById("reading"),t=document.querySelector(".spinner--wrapper");if(e){const n=JSON.parse(e.dataset.options),s=e.dataset.url;let a=[];const i=[...document.getElementsByClassName("deck")];i&&i.forEach((e=>{e.addEventListener("click",(t=>{t.preventDefault(),e.classList.add("chosen"),e.parentElement.classList.add("chosen"),document.querySelector(".choose-card").classList.add("show")}))}));const c=[...document.getElementsByClassName("card-wrapper")];document.getElementById("results");let r=!0,o=document.getElementById("cards-left");c&&c.forEach((i=>{i.addEventListener("click",(c=>{a.filter(Boolean).length<n.cardsNumber&&!i.classList.contains("chosen")&&(i.classList.add("chosen"),!n.sequence&&!n.noReverse&&Math.random()>.8&&(i.classList.add("inverse"),i.dataset.inverse=!0),function(e){const t=document.querySelector(".deck.chosen");if(document.querySelector(".yes-no-reading h1")||!t)return;let n=document.createElement("div");n.innerHTML=e.dataset.name,n.classList.add("card-name"),n.style.left=e.offsetLeft+"px",n.style.top=4.5-1.1*e.dataset.odd+"rem",t.appendChild(n)}(i),n.sequence?a[i.dataset.seq]={id:i.dataset.card,inverse:n.noReverse?null:i.dataset.inverse}:(a.push({id:i.dataset.card,inverse:i.dataset.inverse}),o&&(o.innerHTML=n.cardsNumber-a.filter(Boolean).length))),a.filter(Boolean).length>=n.cardsNumber&&r&&(r=!1,document.querySelector(".choose-card").classList.remove("show"),t.classList.add("active"),fetch(s,{method:"POST",headers:{Accept:"application/json"},body:JSON.stringify({cardsChosen:a})}).then((e=>{e.redirected&&(window.location.href=e.url)})).catch((n=>{t.querySelector(".spinner--label").innerHTML=e.dataset.txt+'<br><a href="javascript:location.reload();" class="gold">'+e.dataset.btn+"</a>"})))}))}))}},7412:function(e,t,n){"use strict";n.r(t)}},function(e){var t;t=5752,e(e.s=t)}]);
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.