1/*! For license information please see 6673.664ed7d7.chunk.js.LICENSE.txt */ 2(self.webpackChunkhh_frontend_react=self.webpackChunkhh_frontend_react||[]).push([[6673],{17381:(t,e,i)=>{"use strict";i.r(e),i.d(e,{default:()=>g});var n=i(15671),o=i(43144),r=i(53640),s=i(60136),a=i(47313),l=i(63258),h=i.n(l),c=i(53933),u=i(58629),d=i(13287),m=i(41877),p=i(58895),f=i(78523);const v=p.ZP.div.withConfig({componentId:"sc-16jz4wf-0"})([".container{display:flex;justify-content:center;align-items:center;}.scene-container{max-width:600px;width:80%;position:relative;margin-top:60px;@media (max-width:","px){margin-bottom:200px;}}.layer{&.layer1 img{position:relative;}&.layer2{position:absolute;left:50% !important;bottom:20% !important;top:inherit !important;margin-left:-150px;width:300px;@media (max-width:","px){width:200px;margin-left:-100px;bottom:30% !important;}@media (max-width:","px){width:150px;margin-left:-75px;bottom:33% !important;}@media (max-width:","px){width:100px;margin-left:-50px;bottom:20% !important;}}&.layer3{position:absolute;top:inherit !important;bottom:0 !important;width:100%;@media (max-width:","px){top:100% !important;bottom:inherit !important;}h3{text-align:center;@media (max-width:","px){font-size:18px;}}p{text-align:center;}}}"],f.yJ.xs,f.yJ.lg,f.yJ.sm,f.yJ.xs,f.yJ.xs,f.yJ.md),y=i.p+"static/media/notfound.1d290d955088385a7254.png";var w=i(46417),b=function(){var t=(0,u.$)("NotFoundScreen").t;return(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)("h3",{children:t("Oops Not found")}),(0,w.jsx)("p",{children:t("Report or return")})]})};const g=function(t){function e(){return(0,n.Z)(this,e),(0,r.Z)(this,e,arguments)}return(0,s.Z)(e,t),(0,o.Z)(e,[{key:"componentDidMount",value:function(){this.parallax=new(h())(this.scene)}},{key:"componentWillUnmount",value:function(){this.parallax&&this.parallax.disable()}},{key:"render",value:function(){var t=this;return(0,w.jsxs)(v,{children:[(0,w.jsx)(c.ZP,{link:[{rel:d.a,href:"".concat(window.location.origin).concat(m.HiE)}],meta:[{name:"prerender-status-code",content:"404"}]}),(0,w.jsx)("div",{className:"container",children:(0,w.jsxs)("div",{ref:function(e){t.scene=e},className:"scene-container",children:[(0,w.jsx)("div",{className:"layer layer1","data-depth":"0.10",children:(0,w.jsx)("img",{alt:"notFound",src:y})}),(0,w.jsx)("div",{className:"layer layer2","data-depth":"0.30",children:(0,w.jsx)("img",{alt:"404",src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAR8AAACKCAYAAACTi04JAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAECpJREFUeNrsXe11EzsQFT78Jx2wVEA4FMCmAkIFsSsgroC4goQK7FQQp4I4BXBwKmDTgdPBWwUZjJ8d78cdSSPde45P4D2y3p2Vru6MZkbGEOL4+PHjEa1AEP/OiQHN4IV4LmkJgvgzJ07rH+ckH3nc1B8qH4L4TTzH9Y9p/VmSfGQNbRVPWX8eaA2C8+HZC5i6xXhF8pEz9NBKS/fXFS1CEM/hh2P3ZyofQWm5GedZ0ipE5nPCLsTD9d9//PhB5SMsLQ2VD8E58bHctRiTfPCYbkjLNctT+RA5L8Y3W/95RfLBG/qi/nG6y9AEkSnuzP93e6l8BKTltx3/i6qHyHVO/M8LcHgi+eCMXOyQlgSR85wYmo0AM5WPrE+7L5HwnlYiMpsT27u923gORbymqXrjco+0pBtqTOE+b16w0f3GalgxOJ/8YvxH+ZB85KTlGouMyOazI5myxa+WW9dZ28yS0pxkpA43bsHZC5vjQ/LpLy2ntIE5cwSMrF8r3edb/R1V/fO6/lytBy0R7Xi4aLDw/FlMXtFknaXlryYTrp4wrxJ8/mdiaKlwEJjVn0lt04qjMLoxcWqabbos6vd3Yv/AgHN3aXmU4QAr64/N27gLQDzGKaxfdoVljyS1XsCfhYPk097Qly0m3iIVpVd/bgKSzjas6vrpFBgR3guYtliMH0k+3QxtV97zDOW0dTFPI7u1wpKhizMQ4bAvkfCg8mHAuZ20bNuR8F7x8647MA4jv1UblP5U//zCgLT3MXLeYV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ZRN4ldxfuXhN+tfScnHnomUfnsJ36SjweWf9T48C4OkmIg9plYSTztAC4apvLRwPKBCWiWmGuycoqHAeZw88H0tT+VjyeWj4CAbEB2RuLJHtHMh6TJB1yXpH6w1xPWul8TxY9g38EHEk8ankDqyucIOHGTiC24DGCNMaC5UzwV+aMXoimyTp18so/37CEg636dKHIlbQIhg8sYFKDr9C6ypvLxxPIREtCi/vHOxJ2IuHazmEAYH/n0VqCpl1cE79YWOQE9b1e7FhdTE0+zdHtfE5JO2uQz4LtohKeUH86VYlgVNAms8lbuHt6RePCIrcg6deVTgq6zSH1gOhV0UQ9QO+mH5vcJpoWnr7cD2XZhnDGuo0L1QIqsUyefCXByZAE3+S0BXbmmU2eOxNFEZG1qFdc1t869oTIRpVq84vsgGkr2dQuNT46I7J+bxogsoS3dx+6SLLhlTpB8CAQp7SOhiiRD7MN/AgwAqUrl+9pVgbUAAAAASUVORK5CYII="})}),(0,w.jsx)("div",{className:"layer layer3","data-depth":"0",children:(0,w.jsx)(b,{})})]})})]})}}])}(a.PureComponent)},63258:(t,e,i)=>{t.exports=function t(e,i,n){function o(s,a){if(!i[s]){if(!e[s]){if(r)return r(s,!0);var l=new Error("Cannot find module '"+s+"'");throw l.code="MODULE_NOT_FOUND",l}
2var h=i[s]={exports:{}};e[s][0].call(h.exports,(function(t){var i=e[s][1][t];return o(i||t)}),h,h.exports,t,e,i,n)}return i[s].exports}for(var r=void 0,s=0;s<n.length;s++)o(n[s]);return o}({1:[function(t,e,i){"use strict";var n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function s(t){if(null===t||void 0===t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}function a(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},i=0;i<10;i++)e["_"+String.fromCharCode(i)]=i;if("0123456789"!==Object.getOwnPropertyNames(e).map((function(t){return e[t]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(t){n[t]=t})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(o){return!1}}e.exports=a()?Object.assign:function(t,e){for(var i,a,l=s(t),h=1;h<arguments.length;h++){for(var c in i=Object(arguments[h]))o.call(i,c)&&(l[c]=i[c]);if(n){a=n(i);for(var u=0;u<a.length;u++)r.call(i,a[u])&&(l[a[u]]=i[a[u]])}}return l}},{}],2:[function(t,e,i){(function(t){(function(){var i,n,o,r,s,a;"undefined"!==typeof performance&&null!==performance&&performance.now?e.exports=function(){return performance.now()}:"undefined"!==typeof t&&null!==t&&t.hrtime?(e.exports=function(){return(i()-s)/1e6},n=t.hrtime,r=(i=function(){var t;return 1e9*(t=n())[0]+t[1]})(),a=1e9*t.uptime(),s=r-a):Date.now?(e.exports=function(){return Date.now()-o},o=Date.now()):(e.exports=function(){return(new Date).getTime()-o},o=(new Date).getTime())}).call(this)}).call(this,t("_process"))},{_process:3}],3:[function(t,e,i){var n,o,r=e.exports={};function s(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function l(t){if(n===setTimeout)return setTimeout(t,0);if((n===s||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}function h(t){if(o===clearTimeout)return clearTimeout(t);if((o===a||!o)&&clearTimeout)return o=clearTimeout,clearTimeout(t);try{return o(t)}catch(e){try{return o.call(null,t)}catch(e){return o.call(this,t)}}}!function(){try{n="function"===typeof setTimeout?setTimeout:s}catch(t){n=s}try{o="function"===typeof clearTimeout?clearTimeout:a}catch(t){o=a}}();var c,u=[],d=!1,m=-1;function p(){d&&c&&(d=!1,c.length?u=c.concat(u):m=-1,u.length&&f())}function f(){if(!d){var t=l(p);d=!0;for(var e=u.length;e;){for(c=u,u=[];++m<e;)c&&c[m].run();m=-1,e=u.length}c=null,d=!1,h(t)}}function v(t,e){this.fun=t,this.array=e}function y(){}r.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)e[i-1]=arguments[i];u.push(new v(t,e)),1!==u.length||d||l(f)},v.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=y,r.addListener=y,r.once=y,r.off=y,r.removeListener=y,r.removeAllListeners=y,r.emit=y,r.prependListener=y,r.prependOnceListener=y,r.listeners=function(t){return[]},r.binding=function(t){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(t){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},{}],4:[function(t,e,n){(function(i){for(var n=t("performance-now"),o="undefined"===typeof window?i:window,r=["moz","webkit"],s="AnimationFrame",a=o["request"+s],l=o["cancel"+s]||o["cancelRequest"+s],h=0;!a&&h<r.length;h++)a=o[r[h]+"Request"+s],l=o[r[h]+"Cancel"+s]||o[r[h]+"CancelRequest"+s];if(!a||!l){var c=0,u=0,d=[],m=1e3/60;a=function(t){if(0===d.length){var e=n(),i=Math.max(0,m-(e-c));c=i+e,setTimeout((function(){var t=d.slice(0);d.length=0;for(var e=function(){if(!t[i].cancelled)try{t[i].callback(c)}catch(e){setTimeout((function(){throw e}),0)}},i=0;i<t.length;i++)e()}),Math.round(i))}return d.push({handle:++u,callback:t,cancelled:!1}),u},l=function(t){for(var e=0;e<d.length;e++)d[e].handle===t&&(d[e].cancelled=!0)}}e.exports=function(t){return a.call(o,t)},e.exports.cancel=function(){l.apply(o,arguments)},e.exports.polyfill=function(){o.requestAnimationFrame=a,o.cancelAnimationFrame=l}}).call(this,"undefined"!==typeof i.g?i.g:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{"performance-now":2}
vendor: 12,361 bytes, line 2
2],5:[function(t,e,i){"use strict";var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}();function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var r=t("raf"),s=t("object-assign"),a={propertyCache:{},vendors:[null,["-webkit-","webkit"],["-moz-","Moz"],["-o-","O"],["-ms-","ms"]],clamp:function(t,e,i){return e<i?t<e?e:t>i?i:t:t<i?i:t>e?e:t},data:function(t,e){return a.deserialize(t.getAttribute("data-"+e))},deserialize:function(t){return"true"===t||"false"!==t&&("null"===t?null:!isNaN(parseFloat(t))&&isFinite(t)?parseFloat(t):t)},camelCase:function(t){return t.replace(/-+(.)?/g,(function(t,e){return e?e.toUpperCase():""}))},accelerate:function(t){a.css(t,"transform","translate3d(0,0,0) rotate(0.0001deg)"),a.css(t,"transform-style","preserve-3d"),a.css(t,"backface-visibility","hidden")},transformSupport:function(t){for(var e=document.createElement("div"),i=!1,n=null,o=!1,r=null,s=null,l=0,h=a.vendors.length;l<h;l++)if(null!==a.vendors[l]?(r=a.vendors[l][0]+"transform",s=a.vendors[l][1]+"Transform"):(r="transform",s="transform"),void 0!==e.style[s]){i=!0;break}switch(t){case"2D":o=i;break;case"3D":if(i){var c=document.body||document.createElement("body"),u=document.documentElement,d=u.style.overflow,m=!1;document.body||(m=!0,u.style.overflow="hidden",u.appendChild(c),c.style.overflow="hidden",c.style.background=""),c.appendChild(e),e.style[s]="translate3d(1px,1px,1px)",o=void 0!==(n=window.getComputedStyle(e).getPropertyValue(r))&&n.length>0&&"none"!==n,u.style.overflow=d,c.removeChild(e),m&&(c.removeAttribute("style"),c.parentNode.removeChild(c))}}return o},css:function(t,e,i){var n=a.propertyCache[e];if(!n)for(var o=0,r=a.vendors.length;o<r;o++)if(n=null!==a.vendors[o]?a.camelCase(a.vendors[o][1]+"-"+e):e,void 0!==t.style[n]){a.propertyCache[e]=n;break}t.style[n]=i}},l=30,h={relativeInput:!1,clipRelativeInput:!1,inputElement:null,hoverOnly:!1,calibrationThreshold:100,calibrationDelay:500,supportDelay:500,calibrateX:!1,calibrateY:!0,invertX:!0,invertY:!0,limitX:!1,limitY:!1,scalarX:10,scalarY:10,frictionX:.1,frictionY:.1,originX:.5,originY:.5,pointerEvents:!1,precision:1,onReady:null,selector:null},c=function(){function t(e,i){o(this,t),this.element=e;var n={calibrateX:a.data(this.element,"calibrate-x"),calibrateY:a.data(this.element,"calibrate-y"),invertX:a.data(this.element,"invert-x"),invertY:a.data(this.element,"invert-y"),limitX:a.data(this.element,"limit-x"),limitY:a.data(this.element,"limit-y"),scalarX:a.data(this.element,"scalar-x"),scalarY:a.data(this.element,"scalar-y"),frictionX:a.data(this.element,"friction-x"),frictionY:a.data(this.element,"friction-y"),originX:a.data(this.element,"origin-x"),originY:a.data(this.element,"origin-y"),pointerEvents:a.data(this.element,"pointer-events"),precision:a.data(this.element,"precision"),relativeInput:a.data(this.element,"relative-input"),clipRelativeInput:a.data(this.element,"clip-relative-input"),hoverOnly:a.data(this.element,"hover-only"),inputElement:document.querySelector(a.data(this.element,"input-element")),selector:a.data(this.element,"selector")};for(var r in n)null===n[r]&&delete n[r];s(this,h,n,i),this.inputElement||(this.inputElement=this.element),this.calibrationTimer=null,this.calibrationFlag=!0,this.enabled=!1,this.depthsX=[],this.depthsY=[],this.raf=null,this.bounds=null,this.elementPositionX=0,this.elementPositionY=0,this.elementWidth=0,this.elementHeight=0,this.elementCenterX=0,this.elementCenterY=0,this.elementRangeX=0,this.elementRangeY=0,this.calibrationX=0,this.calibrationY=0,this.inputX=0,this.inputY=0,this.motionX=0,this.motionY=0,this.velocityX=0,this.velocityY=0,this.onMouseMove=this.onMouseMove.bind(this),this.onDeviceOrientation=this.onDeviceOrientation.bind(this),this.onDeviceMotion=this.onDeviceMotion.bind(this),this.onOrientationTimer=this.onOrientationTimer.bind(this),this.onMotionTimer=this.onMotionTimer.bind(this),this.onCalibrationTimer=this.onCalibrationTimer.bind(this),this.onAnimationFrame=this.onAnimationFrame.bind(this),this.onWindowResize=this.onWindowResize.bind(this),this.windowWidth=null,this.windowHeight=null,this.windowCenterX=null,this.windowCenterY=null,this.windowRadiusX=null,this.windowRadiusY=null,this.portrait=!1,this.desktop=!navigator.userAgent.match(/(iPhone|iPod|iPad|Android|BlackBerry|BB10|mobi|tablet|opera mini|nexus 7)/i),this.motionSupport=!!window.DeviceMotionEvent&&!this.desktop,this.orientationSupport=!!window.DeviceOrientationEvent&&!this.desktop,this.orientationStatus=0,this.motionStatus=0,this.initialise()}return n(t,[{key:"initialise",value:function(){void 0===this.transform2DSupport&&(this.transform2DSupport=a.transformSupport("2D"),this.transform3DSupport=a.transformSupport("3D")),this.transform3DSupport&&a.accelerate(this.element),"static"===window.getComputedStyle(this.element).getPropertyValue("position")&&(this.element.style.position="relative"),this.pointerEvents||(this.element.style.pointerEvents="none"),this.updateLayers(),this.updateDimensions(),this.enable(),this.queueCalibration(this.calibrationDelay)}},{key:"doReadyCallback",value:function(){this.onReady&&this.onReady()}},{key:"updateLayers",value:function(){this.selector?this.layers=this.element.querySelectorAll(this.selector):this.layers=this.element.children,this.layers.length||console.warn("ParallaxJS: Your scene does not have any layers."),this.depthsX=[],this.depthsY=[];for(var t=0;t<this.layers.length;t++){var e=this.layers[t];this.transform3DSupport&&a.accelerate(e),e.style.position=t?"absolute":"relative",e.style.display="block",e.style.left=0,e.style.top=0;var i=a.data(e,"depth")||0;this.depthsX.push(a.data(e,"depth-x")||i),this.depthsY.push(a.data(e,"depth-y")||i)}}},{key:"updateDimensions",value:function(){this.windowWidth=window.innerWidth,this.windowHeight=window.innerHeight,this.windowCenterX=this.windowWidth*this.originX,this.windowCenterY=this.windowHeight*this.originY,this.windowRadiusX=Math.max(this.windowCenterX,this.windowWidth-this.windowCenterX),this.windowRadiusY=Math.max(this.windowCenterY,this.windowHeight-this.windowCenterY)}},{key:"updateBounds",value:function(){this.bounds=this.inputElement.getBoundingClientRect(),this.elementPositionX=this.bounds.left,this.elementPositionY=this.bounds.top,this.elementWidth=this.bounds.width,this.elementHeight=this.bounds.height,this.elementCenterX=this.elementWidth*this.originX,this.elementCenterY=this.elementHeight*this.originY,this.elementRangeX=Math.max(this.elementCenterX,this.elementWidth-this.elementCenterX),this.elementRangeY=Math.max(this.elementCenterY,this.elementHeight-this.elementCenterY)}},{key:"queueCalibration",value:function(t){clearTimeout(this.calibrationTimer),this.calibrationTimer=setTimeout(this.onCalibrationTimer,t)}},{key:"enable",value:function(){this.enabled||(this.enabled=!0,this.orientationSupport?(this.portrait=!1,window.addEventListener("deviceorientation",this.onDeviceOrientation),this.detectionTimer=setTimeout(this.onOrientationTimer,this.supportDelay)):this.motionSupport?(this.portrait=!1,window.addEventListener("devicemotion",this.onDeviceMotion),this.detectionTimer=setTimeout(this.onMotionTimer,this.supportDelay)):(this.calibrationX=0,this.calibrationY=0,this.portrait=!1,window.addEventListener("mousemove",this.onMouseMove),this.doReadyCallback()),window.addEventListener("resize",this.onWindowResize),this.raf=r(this.onAnimationFrame))}},{key:"disable",value:function(){this.enabled&&(this.enabled=!1,this.orientationSupport?window.removeEventListener("deviceorientation",this.onDeviceOrientation):this.motionSupport?window.removeEventListener("devicemotion",this.onDeviceMotion):window.removeEventListener("mousemove",this.onMouseMove),window.removeEventListener("resize",this.onWindowResize),r.cancel(this.raf))}},{key:"calibrate",value:function(t,e){this.calibrateX=void 0===t?this.calibrateX:t,this.calibrateY=void 0===e?this.calibrateY:e}},{key:"invert",value:function(t,e){this.invertX=void 0===t?this.invertX:t,this.invertY=void 0===e?this.invertY:e}},{key:"friction",value:function(t,e){this.frictionX=void 0===t?this.frictionX:t,this.frictionY=void 0===e?this.frictionY:e}},{key:"scalar",value:function(t,e){this.scalarX=void 0===t?this.scalarX:t,this.scalarY=void 0===e?this.scalarY:e}},{key:"limit",value:function(t,e){this.limitX=void 0===t?this.limitX:t,this.limitY=void 0===e?this.limitY:e}},{key:"origin",value:function(t,e){this.originX=void 0===t?this.originX:t,this.originY=void 0===e?this.originY:e}},{key:"setInputElement",value:function(t){this.inputElement=t,this.updateDimensions()}},{key:"setPosition",value:function(t,e,i){e=e.toFixed(this.precision)+"px",i=i.toFixed(this.precision)+"px",this.transform3DSupport?a.css(t,"transform","translate3d("+e+","+i+",0)"):this.transform2DSupport?a.css(t,"transform","translate("+e+","+i+")"):(t.style.left=e,t.style.top=i)}},{key:"onOrientationTimer",value:function(){this.orientationSupport&&0===this.orientationStatus?(this.disable(),this.orientationSupport=!1,this.enable()):this.doReadyCallback()}},{key:"onMotionTimer",value:function(){this.motionSupport&&0===this.motionStatus?(this.disable(),this.motionSupport=!1,this.enable()):this.doReadyCallback()}},{key:"onCalibrationTimer",value:function(){this.calibrationFlag=!0}},{key:"onWindowResize",value:function(){this.updateDimensions()}},{key:"onAnimationFrame",value:function(){this.updateBounds();var t=this.inputX-this.calibrationX,e=this.inputY-this.calibrationY;(Math.abs(t)>this.calibrationThreshold||Math.abs(e)>this.calibrationThreshold)&&this.queueCalibration(0),this.portrait?(this.motionX=this.calibrateX?e:this.inputY,this.motionY=this.calibrateY?t:this.inputX):(this.motionX=this.calibrateX?t:this.inputX,this.motionY=this.calibrateY?e:this.inputY),this.motionX*=this.elementWidth*(this.scalarX/100),this.motionY*=this.elementHeight*(this.scalarY/100),isNaN(parseFloat(this.limitX))||(this.motionX=a.clamp(this.motionX,-this.limitX,this.limitX)),isNaN(parseFloat(this.limitY))||(this.motionY=a.clamp(this.motionY,-this.limitY,this.limitY)),this.velocityX+=(this.motionX-this.velocityX)*this.frictionX,this.velocityY+=(this.motionY-this.velocityY)*this.frictionY;for(var i=0;i<this.layers.length;i++){var n=this.layers[i],o=this.depthsX[i],s=this.depthsY[i],l=this.velocityX*(o*(this.invertX?-1:1)),h=this.velocityY*(s*(this.invertY?-1:1));this.setPosition(n,l,h)}this.raf=r(this.onAnimationFrame)}},{key:"rotate",value:function(t,e){var i=(t||0)/l,n=(e||0)/l,o=this.windowHeight>this.windowWidth;this.portrait!==o&&(this.portrait=o,this.calibrationFlag=!0),this.calibrationFlag&&(this.calibrationFlag=!1,this.calibrationX=i,this.calibrationY=n),this.inputX=i,this.inputY=n}},{key:"onDeviceOrientation",value:function(t){var e=t.beta,i=t.gamma;null!==e&&null!==i&&(this.orientationStatus=1,this.rotate(e,i))}},{key:"onDeviceMotion",value:function(t){var e=t.rotationRate.beta,i=t.rotationRate.gamma;null!==e&&null!==i&&(this.motionStatus=1,this.rotate(e,i))}},{key:"onMouseMove",value:function(t){var e=t.clientX,i=t.clientY;if(this.hoverOnly&&(e<this.elementPositionX||e>this.elementPositionX+this.elementWidth||i<this.elementPositionY||i>this.elementPositionY+this.elementHeight))return this.inputX=0,void(this.inputY=0);this.relativeInput?(this.clipRelativeInput&&(e=Math.max(e,this.elementPositionX),e=Math.min(e,this.elementPositionX+this.elementWidth),i=Math.max(i,this.elementPositionY),i=Math.min(i,this.elementPositionY+this.elementHeight)),this.elementRangeX&&this.elementRangeY&&(this.inputX=(e-this.elementPositionX-this.elementCenterX)/this.elementRangeX,this.inputY=(i-this.elementPositionY-this.elementCenterY)/this.elementRangeY)):this.windowRadiusX&&this.windowRadiusY&&(this.inputX=(e-this.windowCenterX)/this.windowRadiusX,this.inputY=(i-this.windowCenterY)/this.windowRadiusY)}},{key:"destroy",value:function(){this.disable(),clearTimeout(this.calibrationTimer),clearTimeout(this.detectionTimer),this.element.removeAttribute("style");for(var t=0;t<this.layers.length;t++)this.layers[t].removeAttribute("style");delete this.element,delete this.layers}},{key:"version",value:function(){return"3.1.0"}}]),t}();e.exports=c},{"object-assign":1,raf:4}]},{},[5])(5)}}]);
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.