1var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},t={},o={},r=e.parcelRequire94c2;function n(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function i(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{},r=Object.keys(o);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(o).filter(function(e){return Object.getOwnPropertyDescriptor(o,e).enumerable}))),r.forEach(function(t){n(e,t,o[t])})}return e}function l(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);o.push.apply(o,r)}return o})(Object(t)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(t,o))}),e}null==r&&((r=function(e){if(e in t)return t[e].exports;if(e in o){var r=o[e];delete o[e];var n={id:e,exports:{}};return t[e]=n,r.call(n.exports,n,n.exports),n.exports}var i=Error("Cannot find module '"+e+"'");throw i.code="MODULE_NOT_FOUND",i}).register=function(e,t){o[e]=t},e.parcelRequire94c2=r);class s{get isOpen(){var e,t;return null!==(t=null===(e=this.el)||void 0===e?void 0:e.classList.contains("open"))&&void 0!==t&&t}close(){this.el&&(this.el.classList.remove("open"),document.body.style.overflow="",document.body.style.paddingRight="",document.body.querySelectorAll(".header").forEach(e=>{e.style.paddingRight=""}))}open(){var e;this.el&&(this.el.classList.add("open"),null===(e=this.el.querySelector("input"))||void 0===e||e.focus(),document.body.style.overflow="hidden",document.body.style.paddingRight=a()+"px",document.body.querySelectorAll(".header").forEach(e=>{e.style.paddingRight=a()+"px"}))}constructor(e){if(this.el=document.getElementById(e),!this.el)return;window.addEventListener("keydown",e=>{"Escape"===e.key&&this.isOpen&&this.close()}),this.el.addEventListener("pointerdown",()=>this.close()),this.el.querySelector(".modal-close").addEventListener("click",()=>this.close()),this.el.querySelector(".modal-body").addEventListener("pointerdown",e=>e.stopPropagation())}}function a(){let e=document.createElement("div");e.style.visibility="hidden",e.style.overflow="scroll",e.style.msOverflowStyle="scrollbar",document.body.appendChild(e);let t=document.createElement("div");e.appendChild(t);let o=e.offsetWidth-t.offsetWidth;return e.parentNode.removeChild(e),o}const c=e=>{let t=e.replaceAll(" ","");if(t.length<2)return{value:t,isValid:!1,error:"The nickname is too short"};if(/[^\u0000-\u007F]+$/.test(t))return{value:t,isValid:!1,error:"Please use Latin letters"};if(t.endsWith(".near")){let e=t.toLowerCase();if(e.length>32)return{value:t,isValid:!1,error:"The nickname is too long"};if(!/^[a-z0-9._]+$/.test(e))return{value:t,isValid:!1,error:"Address can only contain letters Aâ¦z and numbers 1â¦9"}}else if(!/^[0-9a-fA-F]+$/.test(t))return{value:t,isValid:!1,error:"Wrong wallet address"};return{value:t,isValid:!0}};class d{async submit(e){console.log(JSON.stringify(e)),this.onSubmit(),this.input.value="",await fetch("https://api.herewallet.app/api/v1/web/android_whitelist",{method:"POST",body:JSON.stringify({user_name:e})})}constructor(e,t){this.onSubmit=t,this.root=document.querySelector(e),this.input=this.root.querySelector("input"),this.button=this.root.querySelector(".here-button"),this.button.addEventListener("click",async e=>{let{value:t,isValid:o,error:r}=c(this.input.value);this.input.value=t;let n=this.root.querySelector(".error-valid");o?(n.style.display="none",await this.submit(this.input.value)):(n.textContent=r,n.style.display="block")}),this.input.addEventListener("keydown",async e=>{"Enter"===e.key&&""!==this.input.value.trim()&&await this.submit(this.input.value)})}}const u=new s("success-modal");var h=r("74bxX");window.addEventListener("resize",function(e){var t;function o(){var o=e.clientHeight;o!==t&&requestAnimationFrame(function(){e.style.setProperty("--vh",.01*o+"px"),t=o})}return o(),o}(document.documentElement)),document.querySelectorAll(".slider").forEach(e
1=>(function(e){let t;let o=e.querySelectorAll(".slides img"),r=e.closest(".feature").querySelector(".feature-content"),n=e.querySelector(".pagination"),i=r.querySelectorAll(".feature-content li"),l=0;function s(){n.innerHTML="";for(let e=0;e<o.length;e++){let r=document.createElement("span");e===l&&r.classList.add("active"),r.addEventListener("click",()=>{clearInterval(t),o[l].classList.remove("active"),o[l=e].classList.add("active"),s(),o.forEach(e=>{e.style.transform=`translateX(-${100*l}%)`})}),n.appendChild(r)}}n.querySelectorAll("span").forEach(function(e){e.addEventListener("click",function(){let e=Array.prototype.indexOf.call(n.children,this);i.forEach(function(t,o){o===e?t.classList.add("active"):t.classList.remove("active")})})}),o[0].classList.add("active"),t=setInterval(function(){o[l].classList.remove("active"),i[l].classList.remove("active"),l=(l+1)%o.length,o[l].classList.add("active"),i[l].classList.add("active"),s(),o.forEach((e,t)=>{0===l?t===o.length-1?e.style.transform=`translateX(-${(t+1)*100}%)`:0===t?(setTimeout(()=>{e.style.transition="none",e.style.opacity="0",e.style.transform="translateX(100%)"},10),setTimeout(()=>{e.style.transition="opacity .8s ease-in, transform .8s cubic-bezier(.4, 1, .55, 1.05)",e.style.opacity="1",e.style.transform=`translateX(-${100*l}%)`},200)):e.style.transform=`translateX(-${100*l}%)`:e.style.transform=`translateX(-${100*l}%)`})},3e3),s()})(e));var h=r("74bxX");const p=new h.QRCode(l(i({},h.lightQR),{size:128,value:"https://download.herewallet.app"}));document.querySelector(".qrcode-main").appendChild(p.canvas);const y=new h.QRCode(l(i({},h.darkQR),{size:168,fill:{type:"linear-gradient",position:[0,0,1,1],colorStops:[[0,"#34302C"],[.3,"#525252"],[.85,"#34302C"]]},value:"https://download.herewallet.app"}));document.querySelector(".qr-second").appendChild(y.canvas);const v=new class extends s{constructor(){super("waitlist-join"),this.provider=new d("#waitlist-join"),this.provider.onSubmit=()=>{this.close(),u.open()}}},m=new class{constructor(){var e,t,o,r;n(this,"header",document.querySelector(".header")),n(this,"floatQr",document.querySelector(".float-qr")),n(this,"topButton",document.querySelector(".scroll-up")),n(this,"isOpen",!1),n(this,"toggleModal",()=>{this.btn.classList.toggle("open"),this.headerBody.classList.toggle("open"),document.body.classList.toggle("body_margin"),this.isOpen=!this.isOpen,document.body.style.overflow=this.isOpen?"hidden":""}),document.querySelector(".form-block")&&(this.provider=new d(".form-block"),this.provider.onSubmit=()=>{u.open()}),this.headerBody=this.header.querySelector(".header-body"),this.btn=this.header.querySelector(".header-action"),this.btn.addEventListener("click",()=>this.toggleModal()),this.header.classList.toggle("active",window.scrollY>40),null===(e=this.floatQr)||void 0===e||e.classList.toggle("active",window.scrollY>600),null===(t=this.topButton)||void 0===t||t.classList.toggle("active",window.scrollY>600),[...this.headerBody.querySelectorAll("a")].forEach(e=>e.addEventListener("pointerdown",e=>{e.target instanceof HTMLElement&&"A"===e.target.tagName&&window.location.assign(e.target.href)})),null===(o=this.topButton)||void 0===o||o.addEventListener("click",()=>{document.body.scrollIntoView({behavior:"smooth"})});let s=new h.QRCode(l(i({},h.lightQR),{size:80,value:"https://download.herewallet.app"}));null===(r=this.floatQr)||void 0===r||r.querySelector(".qrcode").appendChild(s.canvas),window.addEventListener("scroll",()=>{var e,t;let o=window.innerWidth<=620?40:80;this.header.classList.toggle("active",window.scrollY>o),null===(e=this.floatQr)||void 0===e||e.classList.toggle("active",window.scrollY>600),null===(t=this.topButton)||void 0===t||t.classList.toggle("active",window.scrollY>600)})}},f=(e,t,o)=>{var r=Math.max(0,Math.min(1,(o-e)/(t-e)));return r*r*(3-2*r)},g=document.getElementsByClassName("page")[0],w=document.getElementsByClassName("page-background")[0],b=()=>{let e=window.innerWidth<1600?44:88;e=window.innerWidth<1200?0:e;let{y:t,height:o}=w.getBoundingClientRect(),r=t>0?1-f(620,200,t):f(-o+1e3,-o+500,t),n=r*e;w.style.left=n+"px",w.style.right=n+"px"},L=document.querySelector(".binance-features__wrapper"),S=L.querySelector("h2"),q=L.querySelector(".binance-features__p"),E=()=>{let{y:e}=L.getBoundingClientRect(),t=window.innerWidth,o=t<750?e<=-450?1-f(-450,-860,e):f(700,150,e):e<=-180?1-f(-180,-600,e):f(900,300,e),r=`rgba(175, 115, 230, ${o})`;g.style.backgroundColor=r,S.style.color=o>.75?"#FFFFFF":"#2c3034",q.style.color=o>.75?"#FFFFFF":"#2c3034"},k=document.querySelectorAll(".feature-picture-phone"),O=()=>
1{k.forEach(e=>{let t=e.getBoundingClientRect(),o=window.innerWidth<720?40:20;e.style.transition="0.1s transform",e.style.transform=`translateY(${Math.max(0,t.top/15-o)}px)`})},C=()=>{b(),E(),O()};document.addEventListener("scroll",C,{passive:!0}),C();const x=Array.from(document.querySelectorAll(".ask-block"));x.forEach(e=>{e.addEventListener("click",()=>{let t=e.querySelector(".ask-block-header"),o=e.querySelector(".ask-block-body"),r=t.getBoundingClientRect();x.forEach(t=>{if(t==e)return;let o=t.querySelector(".ask-block-header"),r=o.getBoundingClientRect();t.classList.remove("open"),t.style.height=r.height+"px"}),e.style.height=r.height+"px",o.style.display="block",setTimeout(()=>{let{height:t}=o.getBoundingClientRect();e.classList.toggle("open"),e.style.height=e.classList.contains("open")?`${r.height+t}px`:r.height+"px"},10)})});const A=Array.from(document.querySelectorAll(".waitlist-button"));A.forEach(e=>{e.addEventListener("click",()=>{window.innerWidth<=778?m.toggleModal():v.open()})});const F=Array.from(document.querySelectorAll(".news-item"));F.forEach(e=>{e.addEventListener("click",()=>{var t;null===(t=e.querySelector("a"))||void 0===t||t.click()})});const P=document.querySelector(".secure-banner");if(null==P||P.addEventListener("click",e=>{var t;"a"!==e.target.tag&&(null===(t=P.querySelector(".secure-banner-link"))||void 0===t||t.click())}),/Android/.test(navigator.userAgent)){let e=document.querySelector(".appandroid");e.classList.add("app-show")}else if(/iPhone|iPad|iPod/.test(navigator.userAgent)&&!window.MSStream){let e=document.querySelector(".appstore");e.classList.add("app-show")}else{let e=document.querySelector(".apprandom");e.classList.add("app-show")}window.addEventListener("DOMContentLoaded",function(){var e=document.querySelector(".header-note"),t=document.querySelector(".header-note__close");if(-1!==document.cookie.indexOf("headerNoteClosed")||"true"===localStorage.getItem("headerNoteClosed"))e.classList.remove("open"),document.cookie="headerNoteClosed=true; expires=Fri, 31 Dec 2000 23:59:59 GMT; path=/",localStorage.removeItem("headerNoteClosed");else{var o=function(){window.scrollY>=300?e.classList.add("open"):e.classList.remove("open")};window.addEventListener("scroll",o),t.addEventListener("click",function(){e.classList.remove("open"),document.cookie="headerNoteClosed=true; expires=Fri, 31 Dec 9999 23:59:59 GMT; path=/",localStorage.setItem("headerNoteClosed","true"),window.removeEventListener("scroll",o)})}});var R=document.querySelector(".how-work__mobile-img"),j=!1;R.addEventListener("click",function(){j?R.classList.remove("enlarged"):R.classList.add("enlarged"),j=!j}); 2//# sourceMappingURL=index.1088395c.js.map
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.