paymentiq-cashier-bootstrapper 1.7.10 → 1.7.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cashier.js +1 -1
- package/index.d.ts +7 -2
- package/package.json +1 -1
package/dist/cashier.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! For license information please see cashier.js.LICENSE.txt */
|
|
2
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.beta=t():e.beta=t()}("undefined"!=typeof self?self:this,(()=>(()=>{var e={750:function(e,t,n){var a,r;!function(i,o,c){"use strict";"undefined"!=typeof window&&n.amdO?void 0===(r="function"==typeof(a=c)?a.call(t,n,t,e):a)||(e.exports=r):e.exports?e.exports=c():o.exports?o.exports=c():o.Fingerprint2=c()}(0,this,(function(){"use strict";void 0===Array.isArray&&(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)});var e=function(e,t){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var n=[0,0,0,0];return n[3]+=e[3]+t[3],n[2]+=n[3]>>>16,n[3]&=65535,n[2]+=e[2]+t[2],n[1]+=n[2]>>>16,n[2]&=65535,n[1]+=e[1]+t[1],n[0]+=n[1]>>>16,n[1]&=65535,n[0]+=e[0]+t[0],n[0]&=65535,[n[0]<<16|n[1],n[2]<<16|n[3]]},t=function(e,t){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var n=[0,0,0,0];return n[3]+=e[3]*t[3],n[2]+=n[3]>>>16,n[3]&=65535,n[2]+=e[2]*t[3],n[1]+=n[2]>>>16,n[2]&=65535,n[2]+=e[3]*t[2],n[1]+=n[2]>>>16,n[2]&=65535,n[1]+=e[1]*t[3],n[0]+=n[1]>>>16,n[1]&=65535,n[1]+=e[2]*t[2],n[0]+=n[1]>>>16,n[1]&=65535,n[1]+=e[3]*t[1],n[0]+=n[1]>>>16,n[1]&=65535,n[0]+=e[0]*t[3]+e[1]*t[2]+e[2]*t[1]+e[3]*t[0],n[0]&=65535,[n[0]<<16|n[1],n[2]<<16|n[3]]},n=function(e,t){return 32==(t%=64)?[e[1],e[0]]:t<32?[e[0]<<t|e[1]>>>32-t,e[1]<<t|e[0]>>>32-t]:(t-=32,[e[1]<<t|e[0]>>>32-t,e[0]<<t|e[1]>>>32-t])},a=function(e,t){return 0==(t%=64)?e:t<32?[e[0]<<t|e[1]>>>32-t,e[1]<<t]:[e[1]<<t-32,0]},r=function(e,t){return[e[0]^t[0],e[1]^t[1]]},i=function(e){return e=r(e,[0,e[0]>>>1]),e=t(e,[4283543511,3981806797]),e=r(e,[0,e[0]>>>1]),e=t(e,[3301882366,444984403]),r(e,[0,e[0]>>>1])},o=function(o,c){c=c||0;for(var s=(o=o||"").length%16,d=o.length-s,l=[0,c],u=[0,c],f=[0,0],h=[0,0],p=[2277735313,289559509],g=[1291169091,658871167],m=0;m<d;m+=16)f=[255&o.charCodeAt(m+4)|(255&o.charCodeAt(m+5))<<8|(255&o.charCodeAt(m+6))<<16|(255&o.charCodeAt(m+7))<<24,255&o.charCodeAt(m)|(255&o.charCodeAt(m+1))<<8|(255&o.charCodeAt(m+2))<<16|(255&o.charCodeAt(m+3))<<24],h=[255&o.charCodeAt(m+12)|(255&o.charCodeAt(m+13))<<8|(255&o.charCodeAt(m+14))<<16|(255&o.charCodeAt(m+15))<<24,255&o.charCodeAt(m+8)|(255&o.charCodeAt(m+9))<<8|(255&o.charCodeAt(m+10))<<16|(255&o.charCodeAt(m+11))<<24],f=t(f,p),f=n(f,31),f=t(f,g),l=r(l,f),l=n(l,27),l=e(l,u),l=e(t(l,[0,5]),[0,1390208809]),h=t(h,g),h=n(h,33),h=t(h,p),u=r(u,h),u=n(u,31),u=e(u,l),u=e(t(u,[0,5]),[0,944331445]);switch(f=[0,0],h=[0,0],s){case 15:h=r(h,a([0,o.charCodeAt(m+14)],48));case 14:h=r(h,a([0,o.charCodeAt(m+13)],40));case 13:h=r(h,a([0,o.charCodeAt(m+12)],32));case 12:h=r(h,a([0,o.charCodeAt(m+11)],24));case 11:h=r(h,a([0,o.charCodeAt(m+10)],16));case 10:h=r(h,a([0,o.charCodeAt(m+9)],8));case 9:h=r(h,[0,o.charCodeAt(m+8)]),h=t(h,g),h=n(h,33),h=t(h,p),u=r(u,h);case 8:f=r(f,a([0,o.charCodeAt(m+7)],56));case 7:f=r(f,a([0,o.charCodeAt(m+6)],48));case 6:f=r(f,a([0,o.charCodeAt(m+5)],40));case 5:f=r(f,a([0,o.charCodeAt(m+4)],32));case 4:f=r(f,a([0,o.charCodeAt(m+3)],24));case 3:f=r(f,a([0,o.charCodeAt(m+2)],16));case 2:f=r(f,a([0,o.charCodeAt(m+1)],8));case 1:f=r(f,[0,o.charCodeAt(m)]),f=t(f,p),f=n(f,31),f=t(f,g),l=r(l,f)}return l=r(l,[0,o.length]),u=r(u,[0,o.length]),l=e(l,u),u=e(u,l),l=i(l),u=i(u),l=e(l,u),u=e(u,l),("00000000"+(l[0]>>>0).toString(16)).slice(-8)+("00000000"+(l[1]>>>0).toString(16)).slice(-8)+("00000000"+(u[0]>>>0).toString(16)).slice(-8)+("00000000"+(u[1]>>>0).toString(16)).slice(-8)},c={preprocessor:null,audio:{timeout:1e3,excludeIOS11:!0},fonts:{swfContainerId:"fingerprintjs2",swfPath:"flash/compiled/FontList.swf",userDefinedFonts:[],extendedJsFonts:!1},screen:{detectScreenOrientation:!0},plugins:{sortPluginsFor:[/palemoon/i],excludeIE:!1},extraComponents:[],excludes:{enumerateDevices:!0,pixelRatio:!0,doNotTrack:!0,fontsFlash:!0,adBlock:!0},NOT_AVAILABLE:"not available",ERROR:"error",EXCLUDED:"excluded"},s=function(e,t){if(Array.prototype.forEach&&e.forEach===Array.prototype.forEach)e.forEach(t);else if(e.length===+e.length)for(var n=0,a=e.length;n<a;n++)t(e[n],n,e);else for(var r in e)e.hasOwnProperty(r)&&t(e[r],r,e)},d=function(e,t){var n=[];return null==e?n:Array.prototype.map&&e.map===Array.prototype.map?e.map(t):(s(e,(function(e,a,r){n.push(t(e,a,r))})),n)},l=function(e){if(null==navigator.plugins)return e.NOT_AVAILABLE;for(var t=[],n=0,a=navigator.plugins.length;n<a;n++)navigator.plugins[n]&&t.push(navigator.plugins[n]);return u(e)&&(t=t.sort((function(e,t){return e.name>t.name?1:e.name<t.name?-1:0}))),d(t,(function(e){var t=d(e,(function(e){return[e.type,e.suffixes]}));return[e.name,e.description,t]}))},u=function(e){for(var t=!1,n=0,a=e.plugins.sortPluginsFor.length;n<a;n++){var r=e.plugins.sortPluginsFor[n];if(navigator.userAgent.match(r)){t=!0;break}}return t},f=function(){var e=document.createElement("canvas");return!(!e.getContext||!e.getContext("2d"))},h=function(){if(!f())return!1;var e=g(),t=!!window.WebGLRenderingContext&&!!e;return m(e),t},p=function(){return("msWriteProfilerMark"in window)+("msLaunchUri"in navigator)+("msSaveBlob"in navigator)>=2},g=function(){var e=document.createElement("canvas"),t=null;try{t=e.getContext("webgl")||e.getContext("experimental-webgl")}catch(e){}return t||(t=null),t},m=function(e){var t=e.getExtension("WEBGL_lose_context");null!=t&&t.loseContext()},v=[{key:"userAgent",getData:function(e){e(navigator.userAgent)}},{key:"webdriver",getData:function(e,t){e(null==navigator.webdriver?t.NOT_AVAILABLE:navigator.webdriver)}},{key:"language",getData:function(e,t){e(navigator.language||navigator.userLanguage||navigator.browserLanguage||navigator.systemLanguage||t.NOT_AVAILABLE)}},{key:"colorDepth",getData:function(e,t){e(window.screen.colorDepth||t.NOT_AVAILABLE)}},{key:"deviceMemory",getData:function(e,t){e(navigator.deviceMemory||t.NOT_AVAILABLE)}},{key:"pixelRatio",getData:function(e,t){e(window.devicePixelRatio||t.NOT_AVAILABLE)}},{key:"hardwareConcurrency",getData:function(e,t){e(function(e){return navigator.hardwareConcurrency?navigator.hardwareConcurrency:e.NOT_AVAILABLE}(t))}},{key:"screenResolution",getData:function(e,t){e(function(e){var t=[window.screen.width,window.screen.height];return e.screen.detectScreenOrientation&&t.sort().reverse(),t}(t))}},{key:"availableScreenResolution",getData:function(e,t){e(function(e){if(window.screen.availWidth&&window.screen.availHeight){var t=[window.screen.availHeight,window.screen.availWidth];return e.screen.detectScreenOrientation&&t.sort().reverse(),t}return e.NOT_AVAILABLE}(t))}},{key:"timezoneOffset",getData:function(e){e((new Date).getTimezoneOffset())}},{key:"timezone",getData:function(e,t){window.Intl&&window.Intl.DateTimeFormat?e((new window.Intl.DateTimeFormat).resolvedOptions().timeZone||t.NOT_AVAILABLE):e(t.NOT_AVAILABLE)}},{key:"sessionStorage",getData:function(e,t){e(function(e){try{return!!window.sessionStorage}catch(t){return e.ERROR}}(t))}},{key:"localStorage",getData:function(e,t){e(function(e){try{return!!window.localStorage}catch(t){return e.ERROR}}(t))}},{key:"indexedDb",getData:function(e,t){e(function(e){if(p())return e.EXCLUDED;try{return!!window.indexedDB}catch(t){return e.ERROR}}(t))}},{key:"addBehavior",getData:function(e){e(!!window.HTMLElement.prototype.addBehavior)}},{key:"openDatabase",getData:function(e){e(!!window.openDatabase)}},{key:"cpuClass",getData:function(e,t){e(function(e){return navigator.cpuClass||e.NOT_AVAILABLE}(t))}},{key:"platform",getData:function(e,t){e(function(e){return navigator.platform?navigator.platform:e.NOT_AVAILABLE}(t))}},{key:"doNotTrack",getData:function(e,t){e(function(e){return navigator.doNotTrack?navigator.doNotTrack:navigator.msDoNotTrack?navigator.msDoNotTrack:window.doNotTrack?window.doNotTrack:e.NOT_AVAILABLE}(t))}},{key:"plugins",getData:function(e,t){"Microsoft Internet Explorer"===navigator.appName||"Netscape"===navigator.appName&&/Trident/.test(navigator.userAgent)?t.plugins.excludeIE?e(t.EXCLUDED):e(function(e){var t=[];return Object.getOwnPropertyDescriptor&&Object.getOwnPropertyDescriptor(window,"ActiveXObject")||"ActiveXObject"in window?t=d(["AcroPDF.PDF","Adodb.Stream","AgControl.AgControl","DevalVRXCtrl.DevalVRXCtrl.1","MacromediaFlashPaper.MacromediaFlashPaper","Msxml2.DOMDocument","Msxml2.XMLHTTP","PDF.PdfCtrl","QuickTime.QuickTime","QuickTimeCheckObject.QuickTimeCheck.1","RealPlayer","RealPlayer.RealPlayer(tm) ActiveX Control (32-bit)","RealVideo.RealVideo(tm) ActiveX Control (32-bit)","Scripting.Dictionary","SWCtl.SWCtl","Shell.UIHelper","ShockwaveFlash.ShockwaveFlash","Skype.Detection","TDCCtl.TDCCtl","WMPlayer.OCX","rmocx.RealPlayer G2 Control","rmocx.RealPlayer G2 Control.1"],(function(t){try{return new window.ActiveXObject(t),t}catch(t){return e.ERROR}})):t.push(e.NOT_AVAILABLE),navigator.plugins&&(t=t.concat(l(e))),t}(t)):e(l(t))}},{key:"canvas",getData:function(e,t){f()?e(function(e){var t=[],n=document.createElement("canvas");n.width=2e3,n.height=200,n.style.display="inline";var a=n.getContext("2d");return a.rect(0,0,10,10),a.rect(2,2,6,6),t.push("canvas winding:"+(!1===a.isPointInPath(5,5,"evenodd")?"yes":"no")),a.textBaseline="alphabetic",a.fillStyle="#f60",a.fillRect(125,1,62,20),a.fillStyle="#069",e.dontUseFakeFontInCanvas?a.font="11pt Arial":a.font="11pt no-real-font-123",a.fillText("Cwm fjordbank glyphs vext quiz, 😃",2,15),a.fillStyle="rgba(102, 204, 0, 0.2)",a.font="18pt Arial",a.fillText("Cwm fjordbank glyphs vext quiz, 😃",4,45),a.globalCompositeOperation="multiply",a.fillStyle="rgb(255,0,255)",a.beginPath(),a.arc(50,50,50,0,2*Math.PI,!0),a.closePath(),a.fill(),a.fillStyle="rgb(0,255,255)",a.beginPath(),a.arc(100,50,50,0,2*Math.PI,!0),a.closePath(),a.fill(),a.fillStyle="rgb(255,255,0)",a.beginPath(),a.arc(75,100,50,0,2*Math.PI,!0),a.closePath(),a.fill(),a.fillStyle="rgb(255,0,255)",a.arc(75,75,75,0,2*Math.PI,!0),a.arc(75,75,25,0,2*Math.PI,!0),a.fill("evenodd"),n.toDataURL&&t.push("canvas fp:"+n.toDataURL()),t}(t)):e(t.NOT_AVAILABLE)}},{key:"webgl",getData:function(e,t){h()?e(function(){var e,t=function(t){return e.clearColor(0,0,0,1),e.enable(e.DEPTH_TEST),e.depthFunc(e.LEQUAL),e.clear(e.COLOR_BUFFER_BIT|e.DEPTH_BUFFER_BIT),"["+t[0]+", "+t[1]+"]"};if(!(e=g()))return null;var n=[],a=e.createBuffer();e.bindBuffer(e.ARRAY_BUFFER,a);var r=new Float32Array([-.2,-.9,0,.4,-.26,0,0,.732134444,0]);e.bufferData(e.ARRAY_BUFFER,r,e.STATIC_DRAW),a.itemSize=3,a.numItems=3;var i=e.createProgram(),o=e.createShader(e.VERTEX_SHADER);e.shaderSource(o,"attribute vec2 attrVertex;varying vec2 varyinTexCoordinate;uniform vec2 uniformOffset;void main(){varyinTexCoordinate=attrVertex+uniformOffset;gl_Position=vec4(attrVertex,0,1);}"),e.compileShader(o);var c=e.createShader(e.FRAGMENT_SHADER);e.shaderSource(c,"precision mediump float;varying vec2 varyinTexCoordinate;void main() {gl_FragColor=vec4(varyinTexCoordinate,0,1);}"),e.compileShader(c),e.attachShader(i,o),e.attachShader(i,c),e.linkProgram(i),e.useProgram(i),i.vertexPosAttrib=e.getAttribLocation(i,"attrVertex"),i.offsetUniform=e.getUniformLocation(i,"uniformOffset"),e.enableVertexAttribArray(i.vertexPosArray),e.vertexAttribPointer(i.vertexPosAttrib,a.itemSize,e.FLOAT,!1,0,0),e.uniform2f(i.offsetUniform,1,1),e.drawArrays(e.TRIANGLE_STRIP,0,a.numItems);try{n.push(e.canvas.toDataURL())}catch(e){}n.push("extensions:"+(e.getSupportedExtensions()||[]).join(";")),n.push("webgl aliased line width range:"+t(e.getParameter(e.ALIASED_LINE_WIDTH_RANGE))),n.push("webgl aliased point size range:"+t(e.getParameter(e.ALIASED_POINT_SIZE_RANGE))),n.push("webgl alpha bits:"+e.getParameter(e.ALPHA_BITS)),n.push("webgl antialiasing:"+(e.getContextAttributes().antialias?"yes":"no")),n.push("webgl blue bits:"+e.getParameter(e.BLUE_BITS)),n.push("webgl depth bits:"+e.getParameter(e.DEPTH_BITS)),n.push("webgl green bits:"+e.getParameter(e.GREEN_BITS)),n.push("webgl max anisotropy:"+function(e){var t=e.getExtension("EXT_texture_filter_anisotropic")||e.getExtension("WEBKIT_EXT_texture_filter_anisotropic")||e.getExtension("MOZ_EXT_texture_filter_anisotropic");if(t){var n=e.getParameter(t.MAX_TEXTURE_MAX_ANISOTROPY_EXT);return 0===n&&(n=2),n}return null}(e)),n.push("webgl max combined texture image units:"+e.getParameter(e.MAX_COMBINED_TEXTURE_IMAGE_UNITS)),n.push("webgl max cube map texture size:"+e.getParameter(e.MAX_CUBE_MAP_TEXTURE_SIZE)),n.push("webgl max fragment uniform vectors:"+e.getParameter(e.MAX_FRAGMENT_UNIFORM_VECTORS)),n.push("webgl max render buffer size:"+e.getParameter(e.MAX_RENDERBUFFER_SIZE)),n.push("webgl max texture image units:"+e.getParameter(e.MAX_TEXTURE_IMAGE_UNITS)),n.push("webgl max texture size:"+e.getParameter(e.MAX_TEXTURE_SIZE)),n.push("webgl max varying vectors:"+e.getParameter(e.MAX_VARYING_VECTORS)),n.push("webgl max vertex attribs:"+e.getParameter(e.MAX_VERTEX_ATTRIBS)),n.push("webgl max vertex texture image units:"+e.getParameter(e.MAX_VERTEX_TEXTURE_IMAGE_UNITS)),n.push("webgl max vertex uniform vectors:"+e.getParameter(e.MAX_VERTEX_UNIFORM_VECTORS)),n.push("webgl max viewport dims:"+t(e.getParameter(e.MAX_VIEWPORT_DIMS))),n.push("webgl red bits:"+e.getParameter(e.RED_BITS)),n.push("webgl renderer:"+e.getParameter(e.RENDERER)),n.push("webgl shading language version:"+e.getParameter(e.SHADING_LANGUAGE_VERSION)),n.push("webgl stencil bits:"+e.getParameter(e.STENCIL_BITS)),n.push("webgl vendor:"+e.getParameter(e.VENDOR)),n.push("webgl version:"+e.getParameter(e.VERSION));try{var d=e.getExtension("WEBGL_debug_renderer_info");d&&(n.push("webgl unmasked vendor:"+e.getParameter(d.UNMASKED_VENDOR_WEBGL)),n.push("webgl unmasked renderer:"+e.getParameter(d.UNMASKED_RENDERER_WEBGL)))}catch(e){}return e.getShaderPrecisionFormat?(s(["FLOAT","INT"],(function(t){s(["VERTEX","FRAGMENT"],(function(a){s(["HIGH","MEDIUM","LOW"],(function(r){s(["precision","rangeMin","rangeMax"],(function(i){var o=e.getShaderPrecisionFormat(e[a+"_SHADER"],e[r+"_"+t])[i];"precision"!==i&&(i="precision "+i);var c=["webgl ",a.toLowerCase()," shader ",r.toLowerCase()," ",t.toLowerCase()," ",i,":",o].join("");n.push(c)}))}))}))})),m(e),n):(m(e),n)}()):e(t.NOT_AVAILABLE)}},{key:"webglVendorAndRenderer",getData:function(e){h()?e(function(){try{var e=g(),t=e.getExtension("WEBGL_debug_renderer_info"),n=e.getParameter(t.UNMASKED_VENDOR_WEBGL)+"~"+e.getParameter(t.UNMASKED_RENDERER_WEBGL);return m(e),n}catch(e){return null}}()):e()}},{key:"adBlock",getData:function(e){e(function(){var e=document.createElement("div");e.innerHTML=" ",e.className="adsbox";var t=!1;try{document.body.appendChild(e),t=0===document.getElementsByClassName("adsbox")[0].offsetHeight,document.body.removeChild(e)}catch(e){t=!1}return t}())}},{key:"hasLiedLanguages",getData:function(e){e(function(){if(void 0!==navigator.languages)try{if(navigator.languages[0].substr(0,2)!==navigator.language.substr(0,2))return!0}catch(e){return!0}return!1}())}},{key:"hasLiedResolution",getData:function(e){e(window.screen.width<window.screen.availWidth||window.screen.height<window.screen.availHeight)}},{key:"hasLiedOs",getData:function(e){e(function(){var e,t=navigator.userAgent.toLowerCase(),n=navigator.oscpu,a=navigator.platform.toLowerCase();if(e=t.indexOf("windows phone")>=0?"Windows Phone":t.indexOf("windows")>=0||t.indexOf("win16")>=0||t.indexOf("win32")>=0||t.indexOf("win64")>=0||t.indexOf("win95")>=0||t.indexOf("win98")>=0||t.indexOf("winnt")>=0||t.indexOf("wow64")>=0?"Windows":t.indexOf("android")>=0?"Android":t.indexOf("linux")>=0||t.indexOf("cros")>=0||t.indexOf("x11")>=0?"Linux":t.indexOf("iphone")>=0||t.indexOf("ipad")>=0||t.indexOf("ipod")>=0||t.indexOf("crios")>=0||t.indexOf("fxios")>=0?"iOS":t.indexOf("macintosh")>=0||t.indexOf("mac_powerpc)")>=0?"Mac":"Other",("ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0)&&"Windows"!==e&&"Windows Phone"!==e&&"Android"!==e&&"iOS"!==e&&"Other"!==e&&-1===t.indexOf("cros"))return!0;if(void 0!==n){if((n=n.toLowerCase()).indexOf("win")>=0&&"Windows"!==e&&"Windows Phone"!==e)return!0;if(n.indexOf("linux")>=0&&"Linux"!==e&&"Android"!==e)return!0;if(n.indexOf("mac")>=0&&"Mac"!==e&&"iOS"!==e)return!0;if((-1===n.indexOf("win")&&-1===n.indexOf("linux")&&-1===n.indexOf("mac"))!=("Other"===e))return!0}return a.indexOf("win")>=0&&"Windows"!==e&&"Windows Phone"!==e||(a.indexOf("linux")>=0||a.indexOf("android")>=0||a.indexOf("pike")>=0)&&"Linux"!==e&&"Android"!==e||(a.indexOf("mac")>=0||a.indexOf("ipad")>=0||a.indexOf("ipod")>=0||a.indexOf("iphone")>=0)&&"Mac"!==e&&"iOS"!==e||!(a.indexOf("arm")>=0&&"Windows Phone"===e)&&!(a.indexOf("pike")>=0&&t.indexOf("opera mini")>=0)&&((a.indexOf("win")<0&&a.indexOf("linux")<0&&a.indexOf("mac")<0&&a.indexOf("iphone")<0&&a.indexOf("ipad")<0&&a.indexOf("ipod")<0)!=("Other"===e)||void 0===navigator.plugins&&"Windows"!==e&&"Windows Phone"!==e)}())}},{key:"hasLiedBrowser",getData:function(e){e(function(){var e,t=navigator.userAgent.toLowerCase(),n=navigator.productSub;if(t.indexOf("edge/")>=0||t.indexOf("iemobile/")>=0)return!1;if(t.indexOf("opera mini")>=0)return!1;if(("Chrome"==(e=t.indexOf("firefox/")>=0?"Firefox":t.indexOf("opera/")>=0||t.indexOf(" opr/")>=0?"Opera":t.indexOf("chrome/")>=0?"Chrome":t.indexOf("safari/")>=0?t.indexOf("android 1.")>=0||t.indexOf("android 2.")>=0||t.indexOf("android 3.")>=0||t.indexOf("android 4.")>=0?"AOSP":"Safari":t.indexOf("trident/")>=0?"Internet Explorer":"Other")||"Safari"===e||"Opera"===e)&&"20030107"!==n)return!0;var a,r=eval.toString().length;if(37===r&&"Safari"!==e&&"Firefox"!==e&&"Other"!==e)return!0;if(39===r&&"Internet Explorer"!==e&&"Other"!==e)return!0;if(33===r&&"Chrome"!==e&&"AOSP"!==e&&"Opera"!==e&&"Other"!==e)return!0;try{throw"a"}catch(e){try{e.toSource(),a=!0}catch(e){a=!1}}return a&&"Firefox"!==e&&"Other"!==e}())}},{key:"touchSupport",getData:function(e){e(function(){var e,t=0;void 0!==navigator.maxTouchPoints?t=navigator.maxTouchPoints:void 0!==navigator.msMaxTouchPoints&&(t=navigator.msMaxTouchPoints);try{document.createEvent("TouchEvent"),e=!0}catch(t){e=!1}return[t,e,"ontouchstart"in window]}())}},{key:"fonts",getData:function(e,t){var n=["monospace","sans-serif","serif"],a=["Andale Mono","Arial","Arial Black","Arial Hebrew","Arial MT","Arial Narrow","Arial Rounded MT Bold","Arial Unicode MS","Bitstream Vera Sans Mono","Book Antiqua","Bookman Old Style","Calibri","Cambria","Cambria Math","Century","Century Gothic","Century Schoolbook","Comic Sans","Comic Sans MS","Consolas","Courier","Courier New","Geneva","Georgia","Helvetica","Helvetica Neue","Impact","Lucida Bright","Lucida Calligraphy","Lucida Console","Lucida Fax","LUCIDA GRANDE","Lucida Handwriting","Lucida Sans","Lucida Sans Typewriter","Lucida Sans Unicode","Microsoft Sans Serif","Monaco","Monotype Corsiva","MS Gothic","MS Outlook","MS PGothic","MS Reference Sans Serif","MS Sans Serif","MS Serif","MYRIAD","MYRIAD PRO","Palatino","Palatino Linotype","Segoe Print","Segoe Script","Segoe UI","Segoe UI Light","Segoe UI Semibold","Segoe UI Symbol","Tahoma","Times","Times New Roman","Times New Roman PS","Trebuchet MS","Verdana","Wingdings","Wingdings 2","Wingdings 3"];t.fonts.extendedJsFonts&&(a=a.concat(["Abadi MT Condensed Light","Academy Engraved LET","ADOBE CASLON PRO","Adobe Garamond","ADOBE GARAMOND PRO","Agency FB","Aharoni","Albertus Extra Bold","Albertus Medium","Algerian","Amazone BT","American Typewriter","American Typewriter Condensed","AmerType Md BT","Andalus","Angsana New","AngsanaUPC","Antique Olive","Aparajita","Apple Chancery","Apple Color Emoji","Apple SD Gothic Neo","Arabic Typesetting","ARCHER","ARNO PRO","Arrus BT","Aurora Cn BT","AvantGarde Bk BT","AvantGarde Md BT","AVENIR","Ayuthaya","Bandy","Bangla Sangam MN","Bank Gothic","BankGothic Md BT","Baskerville","Baskerville Old Face","Batang","BatangChe","Bauer Bodoni","Bauhaus 93","Bazooka","Bell MT","Bembo","Benguiat Bk BT","Berlin Sans FB","Berlin Sans FB Demi","Bernard MT Condensed","BernhardFashion BT","BernhardMod BT","Big Caslon","BinnerD","Blackadder ITC","BlairMdITC TT","Bodoni 72","Bodoni 72 Oldstyle","Bodoni 72 Smallcaps","Bodoni MT","Bodoni MT Black","Bodoni MT Condensed","Bodoni MT Poster Compressed","Bookshelf Symbol 7","Boulder","Bradley Hand","Bradley Hand ITC","Bremen Bd BT","Britannic Bold","Broadway","Browallia New","BrowalliaUPC","Brush Script MT","Californian FB","Calisto MT","Calligrapher","Candara","CaslonOpnface BT","Castellar","Centaur","Cezanne","CG Omega","CG Times","Chalkboard","Chalkboard SE","Chalkduster","Charlesworth","Charter Bd BT","Charter BT","Chaucer","ChelthmITC Bk BT","Chiller","Clarendon","Clarendon Condensed","CloisterBlack BT","Cochin","Colonna MT","Constantia","Cooper Black","Copperplate","Copperplate Gothic","Copperplate Gothic Bold","Copperplate Gothic Light","CopperplGoth Bd BT","Corbel","Cordia New","CordiaUPC","Cornerstone","Coronet","Cuckoo","Curlz MT","DaunPenh","Dauphin","David","DB LCD Temp","DELICIOUS","Denmark","DFKai-SB","Didot","DilleniaUPC","DIN","DokChampa","Dotum","DotumChe","Ebrima","Edwardian Script ITC","Elephant","English 111 Vivace BT","Engravers MT","EngraversGothic BT","Eras Bold ITC","Eras Demi ITC","Eras Light ITC","Eras Medium ITC","EucrosiaUPC","Euphemia","Euphemia UCAS","EUROSTILE","Exotc350 Bd BT","FangSong","Felix Titling","Fixedsys","FONTIN","Footlight MT Light","Forte","FrankRuehl","Fransiscan","Freefrm721 Blk BT","FreesiaUPC","Freestyle Script","French Script MT","FrnkGothITC Bk BT","Fruitger","FRUTIGER","Futura","Futura Bk BT","Futura Lt BT","Futura Md BT","Futura ZBlk BT","FuturaBlack BT","Gabriola","Galliard BT","Gautami","Geeza Pro","Geometr231 BT","Geometr231 Hv BT","Geometr231 Lt BT","GeoSlab 703 Lt BT","GeoSlab 703 XBd BT","Gigi","Gill Sans","Gill Sans MT","Gill Sans MT Condensed","Gill Sans MT Ext Condensed Bold","Gill Sans Ultra Bold","Gill Sans Ultra Bold Condensed","Gisha","Gloucester MT Extra Condensed","GOTHAM","GOTHAM BOLD","Goudy Old Style","Goudy Stout","GoudyHandtooled BT","GoudyOLSt BT","Gujarati Sangam MN","Gulim","GulimChe","Gungsuh","GungsuhChe","Gurmukhi MN","Haettenschweiler","Harlow Solid Italic","Harrington","Heather","Heiti SC","Heiti TC","HELV","Herald","High Tower Text","Hiragino Kaku Gothic ProN","Hiragino Mincho ProN","Hoefler Text","Humanst 521 Cn BT","Humanst521 BT","Humanst521 Lt BT","Imprint MT Shadow","Incised901 Bd BT","Incised901 BT","Incised901 Lt BT","INCONSOLATA","Informal Roman","Informal011 BT","INTERSTATE","IrisUPC","Iskoola Pota","JasmineUPC","Jazz LET","Jenson","Jester","Jokerman","Juice ITC","Kabel Bk BT","Kabel Ult BT","Kailasa","KaiTi","Kalinga","Kannada Sangam MN","Kartika","Kaufmann Bd BT","Kaufmann BT","Khmer UI","KodchiangUPC","Kokila","Korinna BT","Kristen ITC","Krungthep","Kunstler Script","Lao UI","Latha","Leelawadee","Letter Gothic","Levenim MT","LilyUPC","Lithograph","Lithograph Light","Long Island","Lydian BT","Magneto","Maiandra GD","Malayalam Sangam MN","Malgun Gothic","Mangal","Marigold","Marion","Marker Felt","Market","Marlett","Matisse ITC","Matura MT Script Capitals","Meiryo","Meiryo UI","Microsoft Himalaya","Microsoft JhengHei","Microsoft New Tai Lue","Microsoft PhagsPa","Microsoft Tai Le","Microsoft Uighur","Microsoft YaHei","Microsoft Yi Baiti","MingLiU","MingLiU_HKSCS","MingLiU_HKSCS-ExtB","MingLiU-ExtB","Minion","Minion Pro","Miriam","Miriam Fixed","Mistral","Modern","Modern No. 20","Mona Lisa Solid ITC TT","Mongolian Baiti","MONO","MoolBoran","Mrs Eaves","MS LineDraw","MS Mincho","MS PMincho","MS Reference Specialty","MS UI Gothic","MT Extra","MUSEO","MV Boli","Nadeem","Narkisim","NEVIS","News Gothic","News GothicMT","NewsGoth BT","Niagara Engraved","Niagara Solid","Noteworthy","NSimSun","Nyala","OCR A Extended","Old Century","Old English Text MT","Onyx","Onyx BT","OPTIMA","Oriya Sangam MN","OSAKA","OzHandicraft BT","Palace Script MT","Papyrus","Parchment","Party LET","Pegasus","Perpetua","Perpetua Titling MT","PetitaBold","Pickwick","Plantagenet Cherokee","Playbill","PMingLiU","PMingLiU-ExtB","Poor Richard","Poster","PosterBodoni BT","PRINCETOWN LET","Pristina","PTBarnum BT","Pythagoras","Raavi","Rage Italic","Ravie","Ribbon131 Bd BT","Rockwell","Rockwell Condensed","Rockwell Extra Bold","Rod","Roman","Sakkal Majalla","Santa Fe LET","Savoye LET","Sceptre","Script","Script MT Bold","SCRIPTINA","Serifa","Serifa BT","Serifa Th BT","ShelleyVolante BT","Sherwood","Shonar Bangla","Showcard Gothic","Shruti","Signboard","SILKSCREEN","SimHei","Simplified Arabic","Simplified Arabic Fixed","SimSun","SimSun-ExtB","Sinhala Sangam MN","Sketch Rockwell","Skia","Small Fonts","Snap ITC","Snell Roundhand","Socket","Souvenir Lt BT","Staccato222 BT","Steamer","Stencil","Storybook","Styllo","Subway","Swis721 BlkEx BT","Swiss911 XCm BT","Sylfaen","Synchro LET","System","Tamil Sangam MN","Technical","Teletype","Telugu Sangam MN","Tempus Sans ITC","Terminal","Thonburi","Traditional Arabic","Trajan","TRAJAN PRO","Tristan","Tubular","Tunga","Tw Cen MT","Tw Cen MT Condensed","Tw Cen MT Condensed Extra Bold","TypoUpright BT","Unicorn","Univers","Univers CE 55 Medium","Univers Condensed","Utsaah","Vagabond","Vani","Vijaya","Viner Hand ITC","VisualUI","Vivaldi","Vladimir Script","Vrinda","Westminster","WHITNEY","Wide Latin","ZapfEllipt BT","ZapfHumnst BT","ZapfHumnst Dm BT","Zapfino","Zurich BlkEx BT","Zurich Ex BT","ZWAdobeF"])),a=(a=a.concat(t.fonts.userDefinedFonts)).filter((function(e,t){return a.indexOf(e)===t}));var r=document.getElementsByTagName("body")[0],i=document.createElement("div"),o=document.createElement("div"),c={},s={},d=function(){var e=document.createElement("span");return e.style.position="absolute",e.style.left="-9999px",e.style.fontSize="72px",e.style.fontStyle="normal",e.style.fontWeight="normal",e.style.letterSpacing="normal",e.style.lineBreak="auto",e.style.lineHeight="normal",e.style.textTransform="none",e.style.textAlign="left",e.style.textDecoration="none",e.style.textShadow="none",e.style.whiteSpace="normal",e.style.wordBreak="normal",e.style.wordSpacing="normal",e.innerHTML="mmmmmmmmmmlli",e},l=function(e,t){var n=d();return n.style.fontFamily="'"+e+"',"+t,n},u=function(e){for(var t=!1,a=0;a<n.length;a++)if(t=e[a].offsetWidth!==c[n[a]]||e[a].offsetHeight!==s[n[a]])return t;return t},f=function(){for(var e=[],t=0,a=n.length;t<a;t++){var r=d();r.style.fontFamily=n[t],i.appendChild(r),e.push(r)}return e}();r.appendChild(i);for(var h=0,p=n.length;h<p;h++)c[n[h]]=f[h].offsetWidth,s[n[h]]=f[h].offsetHeight;var g=function(){for(var e={},t=0,r=a.length;t<r;t++){for(var i=[],c=0,s=n.length;c<s;c++){var d=l(a[t],n[c]);o.appendChild(d),i.push(d)}e[a[t]]=i}return e}();r.appendChild(o);for(var m=[],v=0,y=a.length;v<y;v++)u(g[a[v]])&&m.push(a[v]);r.removeChild(o),r.removeChild(i),e(m)},pauseBefore:!0},{key:"fontsFlash",getData:function(e,t){return void 0!==window.swfobject?window.swfobject.hasFlashPlayerVersion("9.0.0")?t.fonts.swfPath?void function(e,t){var n="___fp_swf_loaded";window[n]=function(t){e(t)};var a,r=t.fonts.swfContainerId;(a=document.createElement("div")).setAttribute("id",(void 0).fonts.swfContainerId),document.body.appendChild(a);var i={onReady:n};window.swfobject.embedSWF(t.fonts.swfPath,r,"1","1","9.0.0",!1,i,{allowScriptAccess:"always",menu:"false"},{})}((function(t){e(t)}),t):e("missing options.fonts.swfPath"):e("flash not installed"):e("swf object not loaded")},pauseBefore:!0},{key:"audio",getData:function(e,t){var n=t.audio;if(n.excludeIOS11&&navigator.userAgent.match(/OS 11.+Version\/11.+Safari/))return e(t.EXCLUDED);var a=window.OfflineAudioContext||window.webkitOfflineAudioContext;if(null==a)return e(t.NOT_AVAILABLE);var r=new a(1,44100,44100),i=r.createOscillator();i.type="triangle",i.frequency.setValueAtTime(1e4,r.currentTime);var o=r.createDynamicsCompressor();s([["threshold",-50],["knee",40],["ratio",12],["reduction",-20],["attack",0],["release",.25]],(function(e){void 0!==o[e[0]]&&"function"==typeof o[e[0]].setValueAtTime&&o[e[0]].setValueAtTime(e[1],r.currentTime)})),i.connect(o),o.connect(r.destination),i.start(0),r.startRendering();var c=setTimeout((function(){return console.warn('Audio fingerprint timed out. Please report bug at https://github.com/fingerprintjs/fingerprintjs with your user agent: "'+navigator.userAgent+'".'),r.oncomplete=function(){},r=null,e("audioTimeout")}),n.timeout);r.oncomplete=function(t){var n;try{clearTimeout(c),n=t.renderedBuffer.getChannelData(0).slice(4500,5e3).reduce((function(e,t){return e+Math.abs(t)}),0).toString(),i.disconnect(),o.disconnect()}catch(t){return void e(t)}e(n)}}},{key:"enumerateDevices",getData:function(e,t){if(!navigator.mediaDevices||!navigator.mediaDevices.enumerateDevices)return e(t.NOT_AVAILABLE);navigator.mediaDevices.enumerateDevices().then((function(t){e(t.map((function(e){return"id="+e.deviceId+";gid="+e.groupId+";"+e.kind+";"+e.label})))})).catch((function(t){e(t)}))}}],y=function(e){throw new Error("'new Fingerprint()' is deprecated, see https://github.com/fingerprintjs/fingerprintjs#upgrade-guide-from-182-to-200")};return y.get=function(e,t){t?e||(e={}):(t=e,e={}),function(e,t){if(null==t)return e;var n,a;for(a in t)null==(n=t[a])||Object.prototype.hasOwnProperty.call(e,a)||(e[a]=n)}(e,c),e.components=e.extraComponents.concat(v);var n={data:[],addPreprocessedComponent:function(t,a){"function"==typeof e.preprocessor&&(a=e.preprocessor(t,a)),n.data.push({key:t,value:a})}},a=-1,r=function(i){if((a+=1)>=e.components.length)t(n.data);else{var o=e.components[a];if(e.excludes[o.key])r(!1);else{if(!i&&o.pauseBefore)return a-=1,void setTimeout((function(){r(!0)}),1);try{o.getData((function(e){n.addPreprocessedComponent(o.key,e),r(!1)}),e)}catch(e){n.addPreprocessedComponent(o.key,String(e)),r(!1)}}}};r(!1)},y.getPromise=function(e){return new Promise((function(t,n){y.get(e,t)}))},y.getV18=function(e,t){return null==t&&(t=e,e={}),y.get(e,(function(n){for(var a=[],r=0;r<n.length;r++){var i=n[r];if(i.value===(e.NOT_AVAILABLE||"not available"))a.push({key:i.key,value:"unknown"});else if("plugins"===i.key)a.push({key:"plugins",value:d(i.value,(function(e){var t=d(e[2],(function(e){return e.join?e.join("~"):e})).join(",");return[e[0],e[1],t].join("::")}))});else if(-1!==["canvas","webgl"].indexOf(i.key)&&Array.isArray(i.value))a.push({key:i.key,value:i.value.join("~")});else if(-1!==["sessionStorage","localStorage","indexedDb","addBehavior","openDatabase"].indexOf(i.key)){if(!i.value)continue;a.push({key:i.key,value:1})}else i.value?a.push(i.value.join?{key:i.key,value:i.value.join(";")}:i):a.push({key:i.key,value:i.value})}var c=o(d(a,(function(e){return e.value})).join("~~~"),31);t(c,a)}))},y.x64hash128=o,y.VERSION="2.1.4",y}))}},t={};function n(a){var r=t[a];if(void 0!==r)return r.exports;var i=t[a]={exports:{}};return e[a].call(i.exports,i,i.exports,n),i.exports}n.amdO={},n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var a in t)n.o(t,a)&&!n.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return(()=>{"use strict";n.r(a),n.d(a,{default:()=>Re});var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)},t=function(){return t=Object.assign||function(e){for(var t,n=1,a=arguments.length;n<a;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},t.apply(this,arguments)};function r(e,t,n,a){return new(n||(n=Promise))((function(r,i){function o(e){try{s(a.next(e))}catch(e){i(e)}}function c(e){try{s(a.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,c)}s((a=a.apply(e,t||[])).next())}))}function i(e,t){var n,a,r,i,o={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,a&&(r=2&i[0]?a.return:i[0]?a.throw||((r=a.return)&&r.call(a),0):a.next)&&!(r=r.call(a,i[1])).done)return r;switch(a=0,r&&(i=[2&i[0],r.value]),i[0]){case 0:case 1:r=i;break;case 4:return o.label++,{value:i[1],done:!1};case 5:o.label++,a=i[1],i=[0];continue;case 7:i=o.ops.pop(),o.trys.pop();continue;default:if(!((r=(r=o.trys).length>0&&r[r.length-1])||6!==i[0]&&2!==i[0])){o=0;continue}if(3===i[0]&&(!r||i[1]>r[0]&&i[1]<r[3])){o.label=i[1];break}if(6===i[0]&&o.label<r[1]){o.label=r[1],r=i;break}if(r&&o.label<r[2]){o.label=r[2],o.ops.push(i);break}r[2]&&o.ops.pop(),o.trys.pop();continue}i=t.call(e,o)}catch(e){i=[6,e],a=0}finally{n=r=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,c])}}}var o=n(750),c=n.n(o);const s="UPDATE_DATA",d="CASHIER_PAUSE",l="CASHIER_RESUME",u="DEVICE_ID",f="INITIATE_NATIVE_PAYMENT",h="PROCESS_NATIVE_PAYMENT",p="STATUS_NATIVE_PAYMENT",g="CASHIER_INIT_LOAD",m="CASHIER_BOOT_REQUEST",v="DONE_LOADING",y="IS_LOADING",T="ONLOAD_ERROR",w="LOOKUP_CUSTOMER_IDENTIFIED",E="CUSTOMER_DATA",A="LOOKUP_SHA_256",C="LOOKUP_EDIT_USER",O="LOOKUP_CUSTOMER_RESET",S="LOOKUP_REPORT_HEIGHT";var I,b="data-cashier-wrapper",_="cashier_container_uid",P=((I={})[u]="PIQ_DEVICE_ID",I[f]="PIQ_INITIATE_NATIVE_PAYMENT",I[h]="PIQ_PROCESS_NATIVE_PAYMENT",I[p]="PIQ_STATUS_NATIVE_PAYMENT",I[w]="PIQ_LOOKUP_CUSTOMER_IDENTIFIED",I[E]="PIQ_CUSTOMER_DATA",I[A]="PIQ_LOOKUP_SHA_256",I[C]="PIQ_LOOKUP_EDIT_USER",I[O]="PIQ_LOOKUP_CUSTOMER_RESET",I[S]="PIQ_LOOKUP_REPORT_HEIGHT",I),B={};Object.keys(P).forEach((function(e){B[P[e]]=e}));for(var x=function(e){return e&&Object.prototype.hasOwnProperty.call(B,e)&&B[e]||e},k=function(e){return e.map((function(e){return String.fromCodePoint(74^e)})).join("")},M={key:"paymentiq",docsUrl:[34,62,62,58,57,112,101,101,46,37,41,57,100,58,43,51,39,47,36,62,35,59,100,35,37,101,47,63,56,37,58,47,101,41,43,57,34,35,47,56,101,45,47,36,47,56,43,38,101,32,43,60,43,57,41,56,35,58,62,43,58,35],fallbackEnvironment:"production",environments:{production:{cashierApi:[34,62,62,58,57,112,101,101,43,58,35,100,58,43,51,39,47,36,62,35,59,100,35,37,101,58,43,51,39,47,36,62,35,59,101,41,43,57,34,35,47,56],cashierOrigin:[34,62,62,58,57,112,101,101,41,34,47,41,33,37,63,62,100,58,43,51,39,47,36,62,35,59,100,35,37]},mrgreen:{cashierApi:[34,62,62,58,57,112,101,101,39,56,45,56,47,47,36,103,43,58,35,100,58,43,51,39,47,36,62,35,59,100,35,37,101,58,43,51,39,47,36,62,35,59,101,41,43,57,34,35,47,56],cashierOrigin:[34,62,62,58,57,112,101,101,41,34,47,41,33,37,63,62,100,58,43,51,39,47,36,62,35,59,100,35,37]},casumo:{cashierApi:[34,62,62,58,57,112,101,101,41,43,57,63,39,37,103,43,58,35,100,58,43,51,39,47,36,62,35,59,100,35,37,101,58,43,51,39,47,36,62,35,59,101,41,43,57,34,35,47,56],cashierOrigin:[34,62,62,58,57,112,101,101,41,34,47,41,33,37,63,62,100,58,43,51,39,47,36,62,35,59,100,35,37]},test:{cashierApi:[34,62,62,58,57,112,101,101,62,47,57,62,103,43,58,35,100,58,43,51,39,47,36,62,35,59,100,35,37,101,58,43,51,39,47,36,62,35,59,101,41,43,57,34,35,47,56],cashierOrigin:[34,62,62,58,57,112,101,101,41,34,47,41,33,37,63,62,100,58,43,51,39,47,36,62,35,59,100,35,37]},development:{cashierApi:[34,62,62,58,112,101,101,38,37,41,43,38,34,37,57,62,112,127,122,122,122],cashierOrigin:[34,62,62,58,112,101,101,38,37,41,43,38,34,37,57,62,112,127,122,122,122]},ecom:{cashierApi:[34,62,62,58,57,112,101,101,43,58,35,100,47,41,37,39,62,56,43,36,57,43,41,62,35,37,36,57,100,35,37,101,63,35,101,41,43,57,34,35,47,56],cashierOrigin:[34,62,62,58,57,112,101,101,41,34,47,41,33,37,63,62,100,47,41,37,39,62,56,43,36,57,43,41,62,35,37,36,57,100,35,37]},oceanharborlight:{cashierApi:[34,62,62,58,57,112,101,101,43,58,35,100,37,41,47,43,36,34,43,56,40,37,56,38,35,45,34,62,100,41,37,39,101,63,35,101,41,43,57,34,35,47,56],cashierOrigin:[34,62,62,58,57,112,101,101,41,34,47,41,33,37,63,62,100,37,41,47,43,36,34,43,56,40,37,56,38,35,45,34,62,100,41,37,39]},silvercurrent:{cashierApi:[34,62,62,58,57,112,101,101,43,58,35,100,57,35,38,60,47,56,41,63,56,56,47,36,62,100,48,37,36,47,101,63,35,101,41,43,57,34,35,47,56],cashierOrigin:[34,62,62,58,57,112,101,101,41,34,47,41,33,37,63,62,100,57,35,38,60,47,56,41,63,56,56,47,36,62,100,48,37,36,47]},softember:{cashierApi:[34,62,62,58,57,112,101,101,43,58,35,100,57,37,44,62,47,39,40,47,56,100,62,37,37,38,57,101,63,35,101,41,43,57,34,35,47,56],cashierOrigin:[34,62,62,58,57,112,101,101,41,34,47,41,33,37,63,62,100,57,37,44,62,47,39,40,47,56,100,62,37,37,38,57]},sunpetal:{cashierApi:[34,62,62,58,57,112,101,101,43,58,35,100,57,63,36,58,47,62,43,38,100,50,51,48,101,63,35,101,41,43,57,34,35,47,56],cashierOrigin:[34,62,62,58,57,112,101,101,41,34,47,41,33,37,63,62,100,57,63,36,58,47,62,43,38,100,50,51,48]}}},L={},R=0,N=Object.keys(M.environments);R<N.length;R++){var D=N[R],U=M.environments[D];L[D]={cashierApi:k(U.cashierApi),cashierOrigin:k(U.cashierOrigin)}}var F=[34,62,62,58,112,101,101,38,37,41,43,38,34,37,57,62,112,126,122,122,122],G=[34,62,62,58,112,101,101,122,100,122,100,122,100,122,112,127,122,122,122],H=[34,62,62,58,112,101,101,122,100,122,100,122,100,122,112,126,122,122,122],V=M.fallbackEnvironment,W=function(t){function n(e){var a=t.call(this,'Unknown environment "'+String(e)+'" for brand "'+M.key+'". This build knows: '+Object.keys(L).join(", "))||this;return a.name="UnknownEnvironmentError",Object.setPrototypeOf(a,n.prototype),a}return function(t,n){function a(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}(n,t),n}(Error),j=function(e){var t=e&&Object.prototype.hasOwnProperty.call(L,e)?L[e]:void 0;if(t)return t;if(!e||V)return L[X()];throw new W(e)},X=function(){return V||Object.keys(L).filter((function(e){return"development"!==e}))[0]||Object.keys(L)[0]},K=function(){for(var e=[],t=0,n=Object.keys(L);t<n.length;t++){var a=n[t],r=L[a];try{var i=new URL(r.cashierApi).origin;e.includes(i)||e.push(i)}catch(e){}e.includes(r.cashierOrigin)||e.push(r.cashierOrigin)}for(var o=0,c=[k(G),k(H),k(F)];o<c.length;o++){var s=c[o];e.includes(s)||e.push(s)}return e},z=function(){var e=M.docsUrl?k(M.docsUrl):"";return e?" Read more over at ".concat(e):""},Q=null,Y=null,J=function(e){return!(!e||"string"!=typeof e)&&K().includes(e)},Z=!1,q=[],$=function(e,t){Z||"cashierIframe"!==(null==e?void 0:e.id)?t():q.length>=50?console.error("Dropping cashier call: more than ".concat(50," were made before the cashier finished loading.")):q.push(t)},ee=[m,g,y,v],te=null,ne=null,ae=null,re=function(e){te=e,window.removeEventListener("message",se,!1),window.addEventListener("message",se)};function ie(e){var t,n,a,r=K();return e.origin&&(a=e.origin,J(a)&&(Q=a)),!(r.includes(e.origin)||(null===(t=e.data)||void 0===t?void 0:t.eventType)&&["CASHIER_INIT_LOAD","CASHIER_BOOT_REQUEST","LOOKUP_INIT_LOAD","IS_LOADING"].includes(e.data.eventType)||((null===(n=e.data)||void 0===n?void 0:n.eventType)&&console.error("Integration: Failed to read post message - invalid origin",e.origin,e.data.eventType),0))}function oe(e){var t;(null===(t=e.data)||void 0===t?void 0:t.eventType)&&console.error("Invalid origin, will not read cashier events",e.data.eventType,e.origin)}var ce=function(e,t){var n=JSON.stringify({eventType:e,payload:t});window.ReactNativeWebView?ue(n,window.ReactNativeWebView,"*"):ue(n)},se=function(e){if(ie(e))return oe(e);switch(x(e.data.eventType)){case g:if(te.cashierInitLoad)return te.cashierInitLoad({data:e.data.payload});break;case"LOOKUP_INIT_LOAD":if(te.lookupInitLoad)return te.lookupInitLoad();break;case"CHANGE":if(te.change)return te.change({data:e.data.payload});break;case s:if(te.update)return te.update({data:e.data.payload});break;case"TX_SUCCESS":if(te.success)return te.success({data:e.data.payload});break;case"TX_FAILED":if(te.failure)return te.failure({data:e.data.payload});break;case"TX_PENDING":if(te.pending)return te.pending({data:e.data.payload});break;case"TX_UNRESOLVED":if(te.unresolved)return te.unresolved({data:e.data.payload});break;case"APP_SET_HEIGHT":return Oe(e.data.payload.height);case d:if(te.pause)return te.pause({data:e.data.payload});break;case l:if(te.resume)return te.resume({data:e.data.payload});break;case y:if(te.isLoading)return te.isLoading({data:e.data.eventType});break;case v:if(te.doneLoading)return te.doneLoading({data:e.data.eventType});break;case"APP_VISIBLE":if(te.isVisible)return te.isVisible();break;case"APP_HIDDEN":if(te.isHidden)return te.isHidden();break;case"SELECTED_TX_METHOD":if(te.paymentMethodSelect&&e.data&&e.data.payload)return te.paymentMethodSelect({data:e.data.payload});break;case"PAYMENT_AMOUNT_CHANGE":if(te.paymentAmountChange&&e.data&&e.data.payload)return te.paymentAmountChange({data:e.data.payload});break;case"ENTERED_TX_METHOD_PAGE":if(te.paymentMethodPageEntered&&e.data&&e.data.payload)return te.paymentMethodPageEntered({data:e.data.payload});break;case"APP_ROUTE_CHANGE":if(te.navigate&&e.data&&e.data.payload)return te.navigate({data:e.data.payload});break;case"NEW_IFRAME":case"NEW_WINDOW":if(te.newProviderWindow)return te.newProviderWindow({data:e.data.eventType});break;case"CANCEL_PENDING_WITHDRAWAL":if(te.cancelledPendingWD)return te.cancelledPendingWD({data:e.data.payload});break;case"TX_VALIDATION_FAILED":if(te.validationFailed)return te.validationFailed({data:e.data.payload});break;case w:return function(e){var t=e.data,n=t.eventType,a=t.payload;if(!n&&"string"==typeof e.data){var r=JSON.parse(e.data);n=r.eventType,a=r.payload}if(te.lookupUserIdentified&&te.lookupUserIdentified({data:a}),!ae||ae.cashierLoaded)return me({iframe:document.getElementById("cashierIframe")});var i={userId:a.userId,sessionId:a.sessionId||null,user:a.user,attributes:a.attributes,didToken:a.didToken||null};ae.setupCashier(i)}(e);case E:if(te.lookupUserData)return te.lookupUserData({data:e.data.payload});case"TX_CANCELLED":if(te.cancelled)return te.cancelled({data:e.data.payload});break;case T:if(te.onLoadError)return te.onLoadError({data:e.data.payload});break;case"TRANSACTION_INIT":if(te.transactionInit)return te.transactionInit({data:e.data.payload})}},de=function(e){return r(void 0,void 0,void 0,(function(){var t,n,a,o,c,s,d,l;return i(this,(function(u){if(ie(e))return[2,oe(e)];try{switch(t=e.data,n=t.eventType,a=t.payload,n||"string"!=typeof e.data||(o=JSON.parse(e.data),n=o.eventType,a=o.payload),c=n,n=x(n),ee.includes(n)&&K().includes(e.origin)&&function(){if(!Z){Z=!0;var e=q;q=[],e.forEach((function(e){try{e()}catch(e){console.error("Failed to flush a queued cashier call",e)}}))}}(),n){case m:!function(){var e,t,n=document.querySelector("#cashierIframe");if(n){var a=null!==(t=null===(e=null==ae?void 0:ae.cashierConfig)||void 0===e?void 0:e.launchToken)&&void 0!==t?t:null;fe({eventType:"CASHIER_BOOT",payload:{launchToken:a}},n.contentWindow,Ee(n))}}();break;case"ADD_CONFIG_TO_WINDOW":be(a);break;case"SETUP_AUTHORIZE_SCRIPT":!function(e){if(null==e?void 0:e.authorizeScript){var t=e.provider,n=e.authorizeScript;try{var a="Authenticate_".concat(t);if(!document.getElementById(a)){var r=document.createElement("script");r.id=a,r.innerHTML=n,document.body.appendChild(r)}}catch(e){console.log(e),console.error("Unable to add authenticate script for ".concat(t))}}}(a);break;case"EXECUTE_AUTHORIZE_METHOD":s=a.method,d=a.parameters,window[s](d);break;case"GET_INTEGRATIONS_SCRIPT_URL":return[2,ne(a)];case"TOP_URL_REPLACE":!function(e){window.location.replace(e.url);var t=JSON.stringify({eventType:"APPLICATION_REDIRECT",payload:e});window.ReactNativeWebView?le(t,window.ReactNativeWebView,"*"):le(t)}(a);break;case f:!function(e,t){ce(e,t)}(c,a);break;case h:l=document.getElementById("cashierIframe"),ue({eventType:c,payload:a},l.contentWindow,we());break;case p:ce(c,a);break;case A:!function(e,t){r(void 0,void 0,void 0,(function(){var n,a,r,o,c;return i(this,(function(i){switch(i.label){case 0:return t.codeVerifier?(n=t.codeVerifier,a=new TextEncoder,r=a.encode(n),[4,window.crypto.subtle.digest("SHA-256",r)]):[3,2];case 1:o=i.sent(),c=document.getElementById("lookupIframe"),fe({eventType:e,payload:{codeChallenge:o,codeVerifier:n}},c.contentWindow,Ee(c),!0),i.label=2;case 2:return[2]}}))}))}(c,a);break;case C:return[2,ge({iframe:document.getElementById("cashierIframe")})];case O:_e(),ae.cashierLoaded=!1;break;case S:return[2,Se(e.data.payload.height)]}}catch(e){console.log(e)}return[2]}))}))},le=function(e,n,a,r){void 0===n&&(n=null),void 0===a&&(a=null),void 0===r&&(r=!1);try{var i=function(e){n?n.postMessage(e,a):window.postMessage(e,we())};i(e);var o=!r&&e&&e.eventType&&Object.prototype.hasOwnProperty.call(P,e.eventType)&&P[e.eventType];o&&i(t(t({},e),{eventType:o}))}catch(t){e.eventType?console.error("Failed to send postMessage: ",e.eventType):console.error(t)}},ue=function(e,t,n){return void 0===t&&(t=null),void 0===n&&(n=null),le(e,t,n,!0)},fe=function(e,t,n,a){void 0===a&&(a=!1);var r=j(void 0).cashierOrigin;le(e,t,n,a),n!==r&&le(e,t,r,a)},he=function(e,t){if(!e.iframe)throw new TypeError("Cannot ".concat(t,": the Cashier is not set up"));return e.iframe},pe=function(e,t){var n=he(t,"set css");$(n,(function(){return fe({eventType:"SET_CSS",payload:e},n.contentWindow,Ee(n))}))},ge=function(e){if(!e.iframe)return null;fe({eventType:d},e.iframe.contentWindow,Ee(e.iframe));var t=document.getElementById("cashierIframe");t&&(t.tabIndex=-1)},me=function(e){fe({eventType:l},e.iframe.contentWindow,Ee(e.iframe)),document.getElementById("cashierIframe").tabIndex=0},ve=function(e){var t=document.querySelector("#cashierIframe");fe({eventType:"POST_INTEGRATION_URL",payload:{url:Ie("txRefId",e.txRefId),txRefId:e.txRefId}},t.contentWindow,Ee(t))},ye=function(e){if(window._paymentCashierDFP){var t=document.getElementById(e);Te(t,window._paymentCashierDFP),delete window._paymentCashierDFP}else setTimeout((function(){ye(e)}),50)},Te=function(e,t){t?$(e,(function(){return fe({eventType:u,payload:{deviceId:t}},e.contentWindow,Ee(e))})):console.error("DeviceId not defined")};function we(){return window.location.origin||(window.location.origin=window.location.protocol+"//"+window.location.hostname+(window.location.port?":"+window.location.port:"")),window.location.origin}var Ee=function(e){return Q||(Y||function(e){var t=new URL(e.src),n=function(e){for(var t=0,n=Object.keys(L);t<n.length;t++){var a=n[t],r=L[a];try{if(new URL(r.cashierApi).origin===e&&r.cashierOrigin!==e)return r.cashierOrigin}catch(e){}}return null}(t.origin);return n||(null==t?void 0:t.origin)}(e))},Ae=function(e,t,n){void 0===t&&(t=!0),void 0===n&&(n=!1);try{var a=function(e){return n?e:encodeURIComponent(e)},r=["trackingPixels","logoUrl","customLogoFileName"],i=function(e,t){var n="object"==typeof e&&r.includes(t);return a(n?JSON.stringify(e):e)},o=[];for(var c in e){var s=e[c];t?null!==e[c]&&""!==e[c]&&o.push("".concat(a(c),"=").concat(i(s,c))):o.push("".concat(a(c),"=").concat(i(s,c)))}return o.join("&")}catch(e){console.error(e)}},Ce=function(e){var n=t({},e);try{var a=n.theme;for(var r in delete n.theme,a)for(var i in a[r])n["theme_".concat(r,"_").concat(i)]=a[r][i]}catch(e){console.log(e)}try{var o=n.attributes;for(var c in function(e){delete e.containerMinHeight,delete e.initLoadErrorTimeout,delete e.attributes,delete e.launchToken}(n),o)n["attributes.".concat(c)]=o[c];var s=n.user;for(var d in delete n.user,s)n["user.".concat(d)]=s[d]}catch(e){console.log(e)}return n},Oe=function(e){document.getElementById("cashierIframe").style.height="".concat(e,"px")},Se=function(e){document.getElementById("lookupIframe").style.height="".concat(e,"px")},Ie=function(e,t){var n=self.window.location.href,a=null,r=new RegExp("[&\\?]"+e+"=");return r.test(n)?(r=new RegExp("([&\\?])"+e+"=\\d+"),a=n.replace(r,"$1".concat(e,"=").concat(t))):a=n.indexOf("?")>-1?"".concat(n,"&").concat(e,"=").concat(t):"".concat(n,"?").concat(e,"=").concat(t),a},be=function(e){try{var n=JSON.parse(e.config),a="".concat(window.PAYMENT_CASHIER_URI.split("?")[0],"?").concat(Ae(Ce(n)));window.PAYMENT_CASHIER_BO_CONFIG_URI=a,window.PAYMENT_CASHIER_BO_CONFIG_MERGED=t(t({},window.__PAYMENT_CASHIER_CONFIG__),e)}catch(e){console.log(e)}},_e=function(){try{Z=!1,q=[];var e=document.getElementById("cashierIframe");e?e.remove():console.log("No cashier found and can't reset")}catch(e){console.error(e),console.log("Unable to destroy the cashier, has it been set up?")}},Pe="geolocation *;camera *;payment *;clipboard-read *;clipboard-write *;autoplay *;microphone *;fullscreen *;accelerometer *;magnetometer *;gyroscope *;picture-in-picture *;otp-credentials *;publickey-credentials-get https://checkout-v2.zimpler.net;publickey-credentials-create https://checkout-v2.zimpler.net;";var Be="_PaymentIQCashier",xe={},ke=function(e,t){if(!xe[e]){xe[e]=!0;try{console.warn("[Cashier] "+e+" is deprecated and will be removed. Use "+function(e){return"Reset"===e.slice(-5)?"_PaymentCashierReset":"_PaymentCashier"}(e)+" instead. Both behave identically; only the name changes.")}catch(e){}}},Me=function(){function e(e,n,a){this.initCssSet=!1;var r=document.querySelector(e);r.className="piq-cashier-wrapper",r.setAttribute(b,""),this.cashierContainerId=(new Date).getTime().toString(),r.setAttribute(_,this.cashierContainerId),n.containerMinHeight&&(this.containerMinHeight=n.containerMinHeight);var i=t({},n),o=function(e){var n=e.font,a=e.locale,r=we();if(e.attributes||(e.attributes={}),e.attributes.hostUri=r,e.lookupConfig){var i=t({},e.lookupConfig),o=t(t(t(t({merchantId:e.merchantId},i),n&&{font:n}),a&&{locale:a}),{hostUri:r,theme:t({},e.theme),containerWidth:e.containerWidth||void 0,environment:i.environment||e.environment||X()});return delete e.lookupConfig,{cashierConfig:e,lookupConfig:o}}return{cashierConfig:e}}(i),s=o.cashierConfig,d=o.lookupConfig;this.cashierConfig=s,this.element=r,this.lookupLoaded=!1,this.cashierLoaded=!1,d?this.setupCheckoutFlow(r,d,a,this):this.setupCashierFlow(a),function(){try{c().getV18({},(function(e){window._paymentCashierDFP=e}))}catch(e){console.error("Failed to generate device id"),console.error(e)}}(),i.launchToken;var l=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n}(i,["launchToken"]);return window.__PAYMENT_CASHIER_CONFIG__=l,this.api(!1,null)}return e.prototype.setupCashierFlow=function(e){this.setupCashier({callback:e})},e.prototype.setupCheckoutFlow=function(e,n,a,r){var i=this,o=null;n&&(n.domElement||e)&&(o=function(e,n,a){var r=t({},n);r.didAccessToken&&(r.didAccessToken=JSON.stringify(r.didAccessToken)),r.userData&&(r.userData=JSON.stringify(r.userData)),a.iframe=document.createElement("iframe");var i=r.environment,o=(r.containerHeight,r.containerWidth),c=void 0===o?"1px":o,s=r.containerMinHeight,d=void 0===s?"0px":s,l=function(e,t){if("development"===e)return k(F);var n=j(e).cashierOrigin;return"".concat(n,"/checkout-client/").concat(t||"master")}(i,r.version);a.iframe.style.borderWidth=0,a.iframe.style.display="block",a.iframe.style.height="250px",a.iframe.style.minHeight=d,a.iframe.style.width=c,a.iframe.style.minWidth="100%",a.iframe.style.left="0px",a.iframe.allow=Pe,a.iframe.id="lookupIframe",a.iframe.setAttribute("data-hj-allow-iframe","true"),a.iframe.setAttribute("data-cy","lookup-iframe");var u=Ae(Ce(r));return u.length>2e3&&console.error("Query length is over 2000 characters, which some browsers cannot handle. Check whether every parameter passed in is needed: long attributes can be supplied through the JavaScript API instead.".concat(z())),a.iframe.src="".concat(l,"/?").concat(u),e.appendChild(a.iframe),a.iframe}(n.domElement||e,n,r)),o.onload=function(){i.lookupLoaded=!0,a(i.api(!0,o))}},e.prototype.setupCashier=function(e){var n,a,r=this;try{var i=e.callback,o=void 0===i?null:i,c=e.userId,s=e.sessionId,d=e.user,l=void 0===d?{}:d,u=e.attributes,f=void 0===u?{}:u,h=e.didToken,p=void 0===h?null:h,g=this,m=g.element,v=g.cashierConfig,y=g.cashierLoaded;if(m&&v&&!y){c&&(v.userId=c),s&&(v.sessionId=s),p&&(v.attributes||(v.attributes={}),v.attributes.didToken=p),v.user=t(t({},v.user),l),v.attributes=t(t({},v.attributes),f);var w=function(e,t,n,a){n.iframe=document.createElement("iframe");var r,i=t.environment,o=t.containerHeight,c=void 0===o?"100%":o,s=t.containerWidth,d=void 0===s?"100%":s,l=t.containerMinHeight,u=void 0===l?"0px":l,f=j(i).cashierApi,h=j(i).cashierOrigin;J(r=h)&&(Y=r),n.iframe.style.borderWidth=0,n.iframe.style.display="block",n.iframe.style.height=c,n.iframe.style.minHeight=u,n.iframe.style.width=d,n.iframe.style.left="0px",n.iframe.allow=Pe,n.iframe.allowTransparency,n.iframe.id="cashierIframe",n.iframe.setAttribute("data-hj-allow-iframe","true"),n.iframe.setAttribute("data-cy","cashier-iframe");var p=Ae(Ce(t));p.length>2e3&&console.error("Query length is over 2000 characters, which some browsers cannot handle. Check whether every parameter passed in is needed: long attributes can be supplied through the JavaScript API instead.".concat(z()));var g="".concat(p,"&attributes.bootstrapVersion=").concat("1.7.10"),m="".concat(f,"/?").concat(g);return n.iframe.src=m,n.iframe.onload=a,e.appendChild(n.iframe),window.PAYMENT_CASHIER_URI=m,n.iframe}(m,v,this,(function(){r.cashierLoaded=!0,o&&o(r.api(!0,w))}));n=v.initLoadErrorTimeout,a=this.cashierContainerId,void 0===n&&(n=1e4),setTimeout((function(){var e,t=document.querySelector("[".concat(b,"]")),i=(null==t?void 0:t.attributes)?null===(e=t.attributes[_])||void 0===e?void 0:e.value:"";r.cashierLoaded||a!==i||self.postMessage({eventType:T,payload:{status:"Could not load cashier iframe. Execution time limit was exceeded: ".concat(n," milliseconds"),timeLimit:n}},"*")}),n)}}catch(e){if(console.log("Failed to setup cashier"),console.error(e),e instanceof W)throw e}},e.prototype.api=function(e,n){var a,r,i=this,o={set:function(e){!function(e,n){var a=function(e){var n=function(e){var n=globalThis.structuredClone;if("function"==typeof n)try{return n(e)}catch(e){}return t({},e)}(e);return n.config&&(delete n.config.merchantId,delete n.config.userId,delete n.config.sessionId),n}(e),r=he(n,"set data");$(r,(function(){return fe({eventType:s,payload:a},r.contentWindow,Ee(r))}))}(e,i)},css:function(e){pe(e,i)},pause:function(){ge(i)},resume:function(){me(i)},on:function(){}};return this.containerMinHeight&&!this.initCssSet&&(a=this.containerMinHeight,r=this,window.addEventListener("message",(function(e){if(e.data.eventType===g){"number"==typeof a&&"".concat(a,"px");var t="\n #app-container.auto-height {\n min-height: ".concat(a,"!important;\n }\n ");pe(t,r)}})),this.initCssSet=!0),e&&n?(ye(n.id),ae=this,ne=ve,window.removeEventListener("message",de,!1),window.addEventListener("message",de),t(t({},o),{on:function(e){!function(e){var t;re(e),e.isLoading&&((t=document.querySelector("#cashierIframe"))&&fe({eventType:y},t.contentWindow,Ee(t)))}(e)}})):o},e}();function Le(e,t,n){if(!(this instanceof Le))throw new TypeError(Be+" cannot be invoked without 'new'");return ke(Be),new Me(e,t,n)}Le.prototype=Me.prototype,window._PaymentCashier=Me,window._PaymentCashierReset=_e,window._PaymentIQCashier=Le,window._PaymentIQCashierReset=function(){return ke("_PaymentIQCashierReset"),_e()};const Re=Me})(),a})()));
|
|
2
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.beta=t():e.beta=t()}("undefined"!=typeof self?self:this,(()=>(()=>{var e={750:function(e,t,n){var a,r;!function(i,o,c){"use strict";"undefined"!=typeof window&&n.amdO?void 0===(r="function"==typeof(a=c)?a.call(t,n,t,e):a)||(e.exports=r):e.exports?e.exports=c():o.exports?o.exports=c():o.Fingerprint2=c()}(0,this,(function(){"use strict";void 0===Array.isArray&&(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)});var e=function(e,t){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var n=[0,0,0,0];return n[3]+=e[3]+t[3],n[2]+=n[3]>>>16,n[3]&=65535,n[2]+=e[2]+t[2],n[1]+=n[2]>>>16,n[2]&=65535,n[1]+=e[1]+t[1],n[0]+=n[1]>>>16,n[1]&=65535,n[0]+=e[0]+t[0],n[0]&=65535,[n[0]<<16|n[1],n[2]<<16|n[3]]},t=function(e,t){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var n=[0,0,0,0];return n[3]+=e[3]*t[3],n[2]+=n[3]>>>16,n[3]&=65535,n[2]+=e[2]*t[3],n[1]+=n[2]>>>16,n[2]&=65535,n[2]+=e[3]*t[2],n[1]+=n[2]>>>16,n[2]&=65535,n[1]+=e[1]*t[3],n[0]+=n[1]>>>16,n[1]&=65535,n[1]+=e[2]*t[2],n[0]+=n[1]>>>16,n[1]&=65535,n[1]+=e[3]*t[1],n[0]+=n[1]>>>16,n[1]&=65535,n[0]+=e[0]*t[3]+e[1]*t[2]+e[2]*t[1]+e[3]*t[0],n[0]&=65535,[n[0]<<16|n[1],n[2]<<16|n[3]]},n=function(e,t){return 32==(t%=64)?[e[1],e[0]]:t<32?[e[0]<<t|e[1]>>>32-t,e[1]<<t|e[0]>>>32-t]:(t-=32,[e[1]<<t|e[0]>>>32-t,e[0]<<t|e[1]>>>32-t])},a=function(e,t){return 0==(t%=64)?e:t<32?[e[0]<<t|e[1]>>>32-t,e[1]<<t]:[e[1]<<t-32,0]},r=function(e,t){return[e[0]^t[0],e[1]^t[1]]},i=function(e){return e=r(e,[0,e[0]>>>1]),e=t(e,[4283543511,3981806797]),e=r(e,[0,e[0]>>>1]),e=t(e,[3301882366,444984403]),r(e,[0,e[0]>>>1])},o=function(o,c){c=c||0;for(var s=(o=o||"").length%16,l=o.length-s,d=[0,c],u=[0,c],f=[0,0],h=[0,0],p=[2277735313,289559509],g=[1291169091,658871167],m=0;m<l;m+=16)f=[255&o.charCodeAt(m+4)|(255&o.charCodeAt(m+5))<<8|(255&o.charCodeAt(m+6))<<16|(255&o.charCodeAt(m+7))<<24,255&o.charCodeAt(m)|(255&o.charCodeAt(m+1))<<8|(255&o.charCodeAt(m+2))<<16|(255&o.charCodeAt(m+3))<<24],h=[255&o.charCodeAt(m+12)|(255&o.charCodeAt(m+13))<<8|(255&o.charCodeAt(m+14))<<16|(255&o.charCodeAt(m+15))<<24,255&o.charCodeAt(m+8)|(255&o.charCodeAt(m+9))<<8|(255&o.charCodeAt(m+10))<<16|(255&o.charCodeAt(m+11))<<24],f=t(f,p),f=n(f,31),f=t(f,g),d=r(d,f),d=n(d,27),d=e(d,u),d=e(t(d,[0,5]),[0,1390208809]),h=t(h,g),h=n(h,33),h=t(h,p),u=r(u,h),u=n(u,31),u=e(u,d),u=e(t(u,[0,5]),[0,944331445]);switch(f=[0,0],h=[0,0],s){case 15:h=r(h,a([0,o.charCodeAt(m+14)],48));case 14:h=r(h,a([0,o.charCodeAt(m+13)],40));case 13:h=r(h,a([0,o.charCodeAt(m+12)],32));case 12:h=r(h,a([0,o.charCodeAt(m+11)],24));case 11:h=r(h,a([0,o.charCodeAt(m+10)],16));case 10:h=r(h,a([0,o.charCodeAt(m+9)],8));case 9:h=r(h,[0,o.charCodeAt(m+8)]),h=t(h,g),h=n(h,33),h=t(h,p),u=r(u,h);case 8:f=r(f,a([0,o.charCodeAt(m+7)],56));case 7:f=r(f,a([0,o.charCodeAt(m+6)],48));case 6:f=r(f,a([0,o.charCodeAt(m+5)],40));case 5:f=r(f,a([0,o.charCodeAt(m+4)],32));case 4:f=r(f,a([0,o.charCodeAt(m+3)],24));case 3:f=r(f,a([0,o.charCodeAt(m+2)],16));case 2:f=r(f,a([0,o.charCodeAt(m+1)],8));case 1:f=r(f,[0,o.charCodeAt(m)]),f=t(f,p),f=n(f,31),f=t(f,g),d=r(d,f)}return d=r(d,[0,o.length]),u=r(u,[0,o.length]),d=e(d,u),u=e(u,d),d=i(d),u=i(u),d=e(d,u),u=e(u,d),("00000000"+(d[0]>>>0).toString(16)).slice(-8)+("00000000"+(d[1]>>>0).toString(16)).slice(-8)+("00000000"+(u[0]>>>0).toString(16)).slice(-8)+("00000000"+(u[1]>>>0).toString(16)).slice(-8)},c={preprocessor:null,audio:{timeout:1e3,excludeIOS11:!0},fonts:{swfContainerId:"fingerprintjs2",swfPath:"flash/compiled/FontList.swf",userDefinedFonts:[],extendedJsFonts:!1},screen:{detectScreenOrientation:!0},plugins:{sortPluginsFor:[/palemoon/i],excludeIE:!1},extraComponents:[],excludes:{enumerateDevices:!0,pixelRatio:!0,doNotTrack:!0,fontsFlash:!0,adBlock:!0},NOT_AVAILABLE:"not available",ERROR:"error",EXCLUDED:"excluded"},s=function(e,t){if(Array.prototype.forEach&&e.forEach===Array.prototype.forEach)e.forEach(t);else if(e.length===+e.length)for(var n=0,a=e.length;n<a;n++)t(e[n],n,e);else for(var r in e)e.hasOwnProperty(r)&&t(e[r],r,e)},l=function(e,t){var n=[];return null==e?n:Array.prototype.map&&e.map===Array.prototype.map?e.map(t):(s(e,(function(e,a,r){n.push(t(e,a,r))})),n)},d=function(e){if(null==navigator.plugins)return e.NOT_AVAILABLE;for(var t=[],n=0,a=navigator.plugins.length;n<a;n++)navigator.plugins[n]&&t.push(navigator.plugins[n]);return u(e)&&(t=t.sort((function(e,t){return e.name>t.name?1:e.name<t.name?-1:0}))),l(t,(function(e){var t=l(e,(function(e){return[e.type,e.suffixes]}));return[e.name,e.description,t]}))},u=function(e){for(var t=!1,n=0,a=e.plugins.sortPluginsFor.length;n<a;n++){var r=e.plugins.sortPluginsFor[n];if(navigator.userAgent.match(r)){t=!0;break}}return t},f=function(){var e=document.createElement("canvas");return!(!e.getContext||!e.getContext("2d"))},h=function(){if(!f())return!1;var e=g(),t=!!window.WebGLRenderingContext&&!!e;return m(e),t},p=function(){return("msWriteProfilerMark"in window)+("msLaunchUri"in navigator)+("msSaveBlob"in navigator)>=2},g=function(){var e=document.createElement("canvas"),t=null;try{t=e.getContext("webgl")||e.getContext("experimental-webgl")}catch(e){}return t||(t=null),t},m=function(e){var t=e.getExtension("WEBGL_lose_context");null!=t&&t.loseContext()},v=[{key:"userAgent",getData:function(e){e(navigator.userAgent)}},{key:"webdriver",getData:function(e,t){e(null==navigator.webdriver?t.NOT_AVAILABLE:navigator.webdriver)}},{key:"language",getData:function(e,t){e(navigator.language||navigator.userLanguage||navigator.browserLanguage||navigator.systemLanguage||t.NOT_AVAILABLE)}},{key:"colorDepth",getData:function(e,t){e(window.screen.colorDepth||t.NOT_AVAILABLE)}},{key:"deviceMemory",getData:function(e,t){e(navigator.deviceMemory||t.NOT_AVAILABLE)}},{key:"pixelRatio",getData:function(e,t){e(window.devicePixelRatio||t.NOT_AVAILABLE)}},{key:"hardwareConcurrency",getData:function(e,t){e(function(e){return navigator.hardwareConcurrency?navigator.hardwareConcurrency:e.NOT_AVAILABLE}(t))}},{key:"screenResolution",getData:function(e,t){e(function(e){var t=[window.screen.width,window.screen.height];return e.screen.detectScreenOrientation&&t.sort().reverse(),t}(t))}},{key:"availableScreenResolution",getData:function(e,t){e(function(e){if(window.screen.availWidth&&window.screen.availHeight){var t=[window.screen.availHeight,window.screen.availWidth];return e.screen.detectScreenOrientation&&t.sort().reverse(),t}return e.NOT_AVAILABLE}(t))}},{key:"timezoneOffset",getData:function(e){e((new Date).getTimezoneOffset())}},{key:"timezone",getData:function(e,t){window.Intl&&window.Intl.DateTimeFormat?e((new window.Intl.DateTimeFormat).resolvedOptions().timeZone||t.NOT_AVAILABLE):e(t.NOT_AVAILABLE)}},{key:"sessionStorage",getData:function(e,t){e(function(e){try{return!!window.sessionStorage}catch(t){return e.ERROR}}(t))}},{key:"localStorage",getData:function(e,t){e(function(e){try{return!!window.localStorage}catch(t){return e.ERROR}}(t))}},{key:"indexedDb",getData:function(e,t){e(function(e){if(p())return e.EXCLUDED;try{return!!window.indexedDB}catch(t){return e.ERROR}}(t))}},{key:"addBehavior",getData:function(e){e(!!window.HTMLElement.prototype.addBehavior)}},{key:"openDatabase",getData:function(e){e(!!window.openDatabase)}},{key:"cpuClass",getData:function(e,t){e(function(e){return navigator.cpuClass||e.NOT_AVAILABLE}(t))}},{key:"platform",getData:function(e,t){e(function(e){return navigator.platform?navigator.platform:e.NOT_AVAILABLE}(t))}},{key:"doNotTrack",getData:function(e,t){e(function(e){return navigator.doNotTrack?navigator.doNotTrack:navigator.msDoNotTrack?navigator.msDoNotTrack:window.doNotTrack?window.doNotTrack:e.NOT_AVAILABLE}(t))}},{key:"plugins",getData:function(e,t){"Microsoft Internet Explorer"===navigator.appName||"Netscape"===navigator.appName&&/Trident/.test(navigator.userAgent)?t.plugins.excludeIE?e(t.EXCLUDED):e(function(e){var t=[];return Object.getOwnPropertyDescriptor&&Object.getOwnPropertyDescriptor(window,"ActiveXObject")||"ActiveXObject"in window?t=l(["AcroPDF.PDF","Adodb.Stream","AgControl.AgControl","DevalVRXCtrl.DevalVRXCtrl.1","MacromediaFlashPaper.MacromediaFlashPaper","Msxml2.DOMDocument","Msxml2.XMLHTTP","PDF.PdfCtrl","QuickTime.QuickTime","QuickTimeCheckObject.QuickTimeCheck.1","RealPlayer","RealPlayer.RealPlayer(tm) ActiveX Control (32-bit)","RealVideo.RealVideo(tm) ActiveX Control (32-bit)","Scripting.Dictionary","SWCtl.SWCtl","Shell.UIHelper","ShockwaveFlash.ShockwaveFlash","Skype.Detection","TDCCtl.TDCCtl","WMPlayer.OCX","rmocx.RealPlayer G2 Control","rmocx.RealPlayer G2 Control.1"],(function(t){try{return new window.ActiveXObject(t),t}catch(t){return e.ERROR}})):t.push(e.NOT_AVAILABLE),navigator.plugins&&(t=t.concat(d(e))),t}(t)):e(d(t))}},{key:"canvas",getData:function(e,t){f()?e(function(e){var t=[],n=document.createElement("canvas");n.width=2e3,n.height=200,n.style.display="inline";var a=n.getContext("2d");return a.rect(0,0,10,10),a.rect(2,2,6,6),t.push("canvas winding:"+(!1===a.isPointInPath(5,5,"evenodd")?"yes":"no")),a.textBaseline="alphabetic",a.fillStyle="#f60",a.fillRect(125,1,62,20),a.fillStyle="#069",e.dontUseFakeFontInCanvas?a.font="11pt Arial":a.font="11pt no-real-font-123",a.fillText("Cwm fjordbank glyphs vext quiz, 😃",2,15),a.fillStyle="rgba(102, 204, 0, 0.2)",a.font="18pt Arial",a.fillText("Cwm fjordbank glyphs vext quiz, 😃",4,45),a.globalCompositeOperation="multiply",a.fillStyle="rgb(255,0,255)",a.beginPath(),a.arc(50,50,50,0,2*Math.PI,!0),a.closePath(),a.fill(),a.fillStyle="rgb(0,255,255)",a.beginPath(),a.arc(100,50,50,0,2*Math.PI,!0),a.closePath(),a.fill(),a.fillStyle="rgb(255,255,0)",a.beginPath(),a.arc(75,100,50,0,2*Math.PI,!0),a.closePath(),a.fill(),a.fillStyle="rgb(255,0,255)",a.arc(75,75,75,0,2*Math.PI,!0),a.arc(75,75,25,0,2*Math.PI,!0),a.fill("evenodd"),n.toDataURL&&t.push("canvas fp:"+n.toDataURL()),t}(t)):e(t.NOT_AVAILABLE)}},{key:"webgl",getData:function(e,t){h()?e(function(){var e,t=function(t){return e.clearColor(0,0,0,1),e.enable(e.DEPTH_TEST),e.depthFunc(e.LEQUAL),e.clear(e.COLOR_BUFFER_BIT|e.DEPTH_BUFFER_BIT),"["+t[0]+", "+t[1]+"]"};if(!(e=g()))return null;var n=[],a=e.createBuffer();e.bindBuffer(e.ARRAY_BUFFER,a);var r=new Float32Array([-.2,-.9,0,.4,-.26,0,0,.732134444,0]);e.bufferData(e.ARRAY_BUFFER,r,e.STATIC_DRAW),a.itemSize=3,a.numItems=3;var i=e.createProgram(),o=e.createShader(e.VERTEX_SHADER);e.shaderSource(o,"attribute vec2 attrVertex;varying vec2 varyinTexCoordinate;uniform vec2 uniformOffset;void main(){varyinTexCoordinate=attrVertex+uniformOffset;gl_Position=vec4(attrVertex,0,1);}"),e.compileShader(o);var c=e.createShader(e.FRAGMENT_SHADER);e.shaderSource(c,"precision mediump float;varying vec2 varyinTexCoordinate;void main() {gl_FragColor=vec4(varyinTexCoordinate,0,1);}"),e.compileShader(c),e.attachShader(i,o),e.attachShader(i,c),e.linkProgram(i),e.useProgram(i),i.vertexPosAttrib=e.getAttribLocation(i,"attrVertex"),i.offsetUniform=e.getUniformLocation(i,"uniformOffset"),e.enableVertexAttribArray(i.vertexPosArray),e.vertexAttribPointer(i.vertexPosAttrib,a.itemSize,e.FLOAT,!1,0,0),e.uniform2f(i.offsetUniform,1,1),e.drawArrays(e.TRIANGLE_STRIP,0,a.numItems);try{n.push(e.canvas.toDataURL())}catch(e){}n.push("extensions:"+(e.getSupportedExtensions()||[]).join(";")),n.push("webgl aliased line width range:"+t(e.getParameter(e.ALIASED_LINE_WIDTH_RANGE))),n.push("webgl aliased point size range:"+t(e.getParameter(e.ALIASED_POINT_SIZE_RANGE))),n.push("webgl alpha bits:"+e.getParameter(e.ALPHA_BITS)),n.push("webgl antialiasing:"+(e.getContextAttributes().antialias?"yes":"no")),n.push("webgl blue bits:"+e.getParameter(e.BLUE_BITS)),n.push("webgl depth bits:"+e.getParameter(e.DEPTH_BITS)),n.push("webgl green bits:"+e.getParameter(e.GREEN_BITS)),n.push("webgl max anisotropy:"+function(e){var t=e.getExtension("EXT_texture_filter_anisotropic")||e.getExtension("WEBKIT_EXT_texture_filter_anisotropic")||e.getExtension("MOZ_EXT_texture_filter_anisotropic");if(t){var n=e.getParameter(t.MAX_TEXTURE_MAX_ANISOTROPY_EXT);return 0===n&&(n=2),n}return null}(e)),n.push("webgl max combined texture image units:"+e.getParameter(e.MAX_COMBINED_TEXTURE_IMAGE_UNITS)),n.push("webgl max cube map texture size:"+e.getParameter(e.MAX_CUBE_MAP_TEXTURE_SIZE)),n.push("webgl max fragment uniform vectors:"+e.getParameter(e.MAX_FRAGMENT_UNIFORM_VECTORS)),n.push("webgl max render buffer size:"+e.getParameter(e.MAX_RENDERBUFFER_SIZE)),n.push("webgl max texture image units:"+e.getParameter(e.MAX_TEXTURE_IMAGE_UNITS)),n.push("webgl max texture size:"+e.getParameter(e.MAX_TEXTURE_SIZE)),n.push("webgl max varying vectors:"+e.getParameter(e.MAX_VARYING_VECTORS)),n.push("webgl max vertex attribs:"+e.getParameter(e.MAX_VERTEX_ATTRIBS)),n.push("webgl max vertex texture image units:"+e.getParameter(e.MAX_VERTEX_TEXTURE_IMAGE_UNITS)),n.push("webgl max vertex uniform vectors:"+e.getParameter(e.MAX_VERTEX_UNIFORM_VECTORS)),n.push("webgl max viewport dims:"+t(e.getParameter(e.MAX_VIEWPORT_DIMS))),n.push("webgl red bits:"+e.getParameter(e.RED_BITS)),n.push("webgl renderer:"+e.getParameter(e.RENDERER)),n.push("webgl shading language version:"+e.getParameter(e.SHADING_LANGUAGE_VERSION)),n.push("webgl stencil bits:"+e.getParameter(e.STENCIL_BITS)),n.push("webgl vendor:"+e.getParameter(e.VENDOR)),n.push("webgl version:"+e.getParameter(e.VERSION));try{var l=e.getExtension("WEBGL_debug_renderer_info");l&&(n.push("webgl unmasked vendor:"+e.getParameter(l.UNMASKED_VENDOR_WEBGL)),n.push("webgl unmasked renderer:"+e.getParameter(l.UNMASKED_RENDERER_WEBGL)))}catch(e){}return e.getShaderPrecisionFormat?(s(["FLOAT","INT"],(function(t){s(["VERTEX","FRAGMENT"],(function(a){s(["HIGH","MEDIUM","LOW"],(function(r){s(["precision","rangeMin","rangeMax"],(function(i){var o=e.getShaderPrecisionFormat(e[a+"_SHADER"],e[r+"_"+t])[i];"precision"!==i&&(i="precision "+i);var c=["webgl ",a.toLowerCase()," shader ",r.toLowerCase()," ",t.toLowerCase()," ",i,":",o].join("");n.push(c)}))}))}))})),m(e),n):(m(e),n)}()):e(t.NOT_AVAILABLE)}},{key:"webglVendorAndRenderer",getData:function(e){h()?e(function(){try{var e=g(),t=e.getExtension("WEBGL_debug_renderer_info"),n=e.getParameter(t.UNMASKED_VENDOR_WEBGL)+"~"+e.getParameter(t.UNMASKED_RENDERER_WEBGL);return m(e),n}catch(e){return null}}()):e()}},{key:"adBlock",getData:function(e){e(function(){var e=document.createElement("div");e.innerHTML=" ",e.className="adsbox";var t=!1;try{document.body.appendChild(e),t=0===document.getElementsByClassName("adsbox")[0].offsetHeight,document.body.removeChild(e)}catch(e){t=!1}return t}())}},{key:"hasLiedLanguages",getData:function(e){e(function(){if(void 0!==navigator.languages)try{if(navigator.languages[0].substr(0,2)!==navigator.language.substr(0,2))return!0}catch(e){return!0}return!1}())}},{key:"hasLiedResolution",getData:function(e){e(window.screen.width<window.screen.availWidth||window.screen.height<window.screen.availHeight)}},{key:"hasLiedOs",getData:function(e){e(function(){var e,t=navigator.userAgent.toLowerCase(),n=navigator.oscpu,a=navigator.platform.toLowerCase();if(e=t.indexOf("windows phone")>=0?"Windows Phone":t.indexOf("windows")>=0||t.indexOf("win16")>=0||t.indexOf("win32")>=0||t.indexOf("win64")>=0||t.indexOf("win95")>=0||t.indexOf("win98")>=0||t.indexOf("winnt")>=0||t.indexOf("wow64")>=0?"Windows":t.indexOf("android")>=0?"Android":t.indexOf("linux")>=0||t.indexOf("cros")>=0||t.indexOf("x11")>=0?"Linux":t.indexOf("iphone")>=0||t.indexOf("ipad")>=0||t.indexOf("ipod")>=0||t.indexOf("crios")>=0||t.indexOf("fxios")>=0?"iOS":t.indexOf("macintosh")>=0||t.indexOf("mac_powerpc)")>=0?"Mac":"Other",("ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0)&&"Windows"!==e&&"Windows Phone"!==e&&"Android"!==e&&"iOS"!==e&&"Other"!==e&&-1===t.indexOf("cros"))return!0;if(void 0!==n){if((n=n.toLowerCase()).indexOf("win")>=0&&"Windows"!==e&&"Windows Phone"!==e)return!0;if(n.indexOf("linux")>=0&&"Linux"!==e&&"Android"!==e)return!0;if(n.indexOf("mac")>=0&&"Mac"!==e&&"iOS"!==e)return!0;if((-1===n.indexOf("win")&&-1===n.indexOf("linux")&&-1===n.indexOf("mac"))!=("Other"===e))return!0}return a.indexOf("win")>=0&&"Windows"!==e&&"Windows Phone"!==e||(a.indexOf("linux")>=0||a.indexOf("android")>=0||a.indexOf("pike")>=0)&&"Linux"!==e&&"Android"!==e||(a.indexOf("mac")>=0||a.indexOf("ipad")>=0||a.indexOf("ipod")>=0||a.indexOf("iphone")>=0)&&"Mac"!==e&&"iOS"!==e||!(a.indexOf("arm")>=0&&"Windows Phone"===e)&&!(a.indexOf("pike")>=0&&t.indexOf("opera mini")>=0)&&((a.indexOf("win")<0&&a.indexOf("linux")<0&&a.indexOf("mac")<0&&a.indexOf("iphone")<0&&a.indexOf("ipad")<0&&a.indexOf("ipod")<0)!=("Other"===e)||void 0===navigator.plugins&&"Windows"!==e&&"Windows Phone"!==e)}())}},{key:"hasLiedBrowser",getData:function(e){e(function(){var e,t=navigator.userAgent.toLowerCase(),n=navigator.productSub;if(t.indexOf("edge/")>=0||t.indexOf("iemobile/")>=0)return!1;if(t.indexOf("opera mini")>=0)return!1;if(("Chrome"==(e=t.indexOf("firefox/")>=0?"Firefox":t.indexOf("opera/")>=0||t.indexOf(" opr/")>=0?"Opera":t.indexOf("chrome/")>=0?"Chrome":t.indexOf("safari/")>=0?t.indexOf("android 1.")>=0||t.indexOf("android 2.")>=0||t.indexOf("android 3.")>=0||t.indexOf("android 4.")>=0?"AOSP":"Safari":t.indexOf("trident/")>=0?"Internet Explorer":"Other")||"Safari"===e||"Opera"===e)&&"20030107"!==n)return!0;var a,r=eval.toString().length;if(37===r&&"Safari"!==e&&"Firefox"!==e&&"Other"!==e)return!0;if(39===r&&"Internet Explorer"!==e&&"Other"!==e)return!0;if(33===r&&"Chrome"!==e&&"AOSP"!==e&&"Opera"!==e&&"Other"!==e)return!0;try{throw"a"}catch(e){try{e.toSource(),a=!0}catch(e){a=!1}}return a&&"Firefox"!==e&&"Other"!==e}())}},{key:"touchSupport",getData:function(e){e(function(){var e,t=0;void 0!==navigator.maxTouchPoints?t=navigator.maxTouchPoints:void 0!==navigator.msMaxTouchPoints&&(t=navigator.msMaxTouchPoints);try{document.createEvent("TouchEvent"),e=!0}catch(t){e=!1}return[t,e,"ontouchstart"in window]}())}},{key:"fonts",getData:function(e,t){var n=["monospace","sans-serif","serif"],a=["Andale Mono","Arial","Arial Black","Arial Hebrew","Arial MT","Arial Narrow","Arial Rounded MT Bold","Arial Unicode MS","Bitstream Vera Sans Mono","Book Antiqua","Bookman Old Style","Calibri","Cambria","Cambria Math","Century","Century Gothic","Century Schoolbook","Comic Sans","Comic Sans MS","Consolas","Courier","Courier New","Geneva","Georgia","Helvetica","Helvetica Neue","Impact","Lucida Bright","Lucida Calligraphy","Lucida Console","Lucida Fax","LUCIDA GRANDE","Lucida Handwriting","Lucida Sans","Lucida Sans Typewriter","Lucida Sans Unicode","Microsoft Sans Serif","Monaco","Monotype Corsiva","MS Gothic","MS Outlook","MS PGothic","MS Reference Sans Serif","MS Sans Serif","MS Serif","MYRIAD","MYRIAD PRO","Palatino","Palatino Linotype","Segoe Print","Segoe Script","Segoe UI","Segoe UI Light","Segoe UI Semibold","Segoe UI Symbol","Tahoma","Times","Times New Roman","Times New Roman PS","Trebuchet MS","Verdana","Wingdings","Wingdings 2","Wingdings 3"];t.fonts.extendedJsFonts&&(a=a.concat(["Abadi MT Condensed Light","Academy Engraved LET","ADOBE CASLON PRO","Adobe Garamond","ADOBE GARAMOND PRO","Agency FB","Aharoni","Albertus Extra Bold","Albertus Medium","Algerian","Amazone BT","American Typewriter","American Typewriter Condensed","AmerType Md BT","Andalus","Angsana New","AngsanaUPC","Antique Olive","Aparajita","Apple Chancery","Apple Color Emoji","Apple SD Gothic Neo","Arabic Typesetting","ARCHER","ARNO PRO","Arrus BT","Aurora Cn BT","AvantGarde Bk BT","AvantGarde Md BT","AVENIR","Ayuthaya","Bandy","Bangla Sangam MN","Bank Gothic","BankGothic Md BT","Baskerville","Baskerville Old Face","Batang","BatangChe","Bauer Bodoni","Bauhaus 93","Bazooka","Bell MT","Bembo","Benguiat Bk BT","Berlin Sans FB","Berlin Sans FB Demi","Bernard MT Condensed","BernhardFashion BT","BernhardMod BT","Big Caslon","BinnerD","Blackadder ITC","BlairMdITC TT","Bodoni 72","Bodoni 72 Oldstyle","Bodoni 72 Smallcaps","Bodoni MT","Bodoni MT Black","Bodoni MT Condensed","Bodoni MT Poster Compressed","Bookshelf Symbol 7","Boulder","Bradley Hand","Bradley Hand ITC","Bremen Bd BT","Britannic Bold","Broadway","Browallia New","BrowalliaUPC","Brush Script MT","Californian FB","Calisto MT","Calligrapher","Candara","CaslonOpnface BT","Castellar","Centaur","Cezanne","CG Omega","CG Times","Chalkboard","Chalkboard SE","Chalkduster","Charlesworth","Charter Bd BT","Charter BT","Chaucer","ChelthmITC Bk BT","Chiller","Clarendon","Clarendon Condensed","CloisterBlack BT","Cochin","Colonna MT","Constantia","Cooper Black","Copperplate","Copperplate Gothic","Copperplate Gothic Bold","Copperplate Gothic Light","CopperplGoth Bd BT","Corbel","Cordia New","CordiaUPC","Cornerstone","Coronet","Cuckoo","Curlz MT","DaunPenh","Dauphin","David","DB LCD Temp","DELICIOUS","Denmark","DFKai-SB","Didot","DilleniaUPC","DIN","DokChampa","Dotum","DotumChe","Ebrima","Edwardian Script ITC","Elephant","English 111 Vivace BT","Engravers MT","EngraversGothic BT","Eras Bold ITC","Eras Demi ITC","Eras Light ITC","Eras Medium ITC","EucrosiaUPC","Euphemia","Euphemia UCAS","EUROSTILE","Exotc350 Bd BT","FangSong","Felix Titling","Fixedsys","FONTIN","Footlight MT Light","Forte","FrankRuehl","Fransiscan","Freefrm721 Blk BT","FreesiaUPC","Freestyle Script","French Script MT","FrnkGothITC Bk BT","Fruitger","FRUTIGER","Futura","Futura Bk BT","Futura Lt BT","Futura Md BT","Futura ZBlk BT","FuturaBlack BT","Gabriola","Galliard BT","Gautami","Geeza Pro","Geometr231 BT","Geometr231 Hv BT","Geometr231 Lt BT","GeoSlab 703 Lt BT","GeoSlab 703 XBd BT","Gigi","Gill Sans","Gill Sans MT","Gill Sans MT Condensed","Gill Sans MT Ext Condensed Bold","Gill Sans Ultra Bold","Gill Sans Ultra Bold Condensed","Gisha","Gloucester MT Extra Condensed","GOTHAM","GOTHAM BOLD","Goudy Old Style","Goudy Stout","GoudyHandtooled BT","GoudyOLSt BT","Gujarati Sangam MN","Gulim","GulimChe","Gungsuh","GungsuhChe","Gurmukhi MN","Haettenschweiler","Harlow Solid Italic","Harrington","Heather","Heiti SC","Heiti TC","HELV","Herald","High Tower Text","Hiragino Kaku Gothic ProN","Hiragino Mincho ProN","Hoefler Text","Humanst 521 Cn BT","Humanst521 BT","Humanst521 Lt BT","Imprint MT Shadow","Incised901 Bd BT","Incised901 BT","Incised901 Lt BT","INCONSOLATA","Informal Roman","Informal011 BT","INTERSTATE","IrisUPC","Iskoola Pota","JasmineUPC","Jazz LET","Jenson","Jester","Jokerman","Juice ITC","Kabel Bk BT","Kabel Ult BT","Kailasa","KaiTi","Kalinga","Kannada Sangam MN","Kartika","Kaufmann Bd BT","Kaufmann BT","Khmer UI","KodchiangUPC","Kokila","Korinna BT","Kristen ITC","Krungthep","Kunstler Script","Lao UI","Latha","Leelawadee","Letter Gothic","Levenim MT","LilyUPC","Lithograph","Lithograph Light","Long Island","Lydian BT","Magneto","Maiandra GD","Malayalam Sangam MN","Malgun Gothic","Mangal","Marigold","Marion","Marker Felt","Market","Marlett","Matisse ITC","Matura MT Script Capitals","Meiryo","Meiryo UI","Microsoft Himalaya","Microsoft JhengHei","Microsoft New Tai Lue","Microsoft PhagsPa","Microsoft Tai Le","Microsoft Uighur","Microsoft YaHei","Microsoft Yi Baiti","MingLiU","MingLiU_HKSCS","MingLiU_HKSCS-ExtB","MingLiU-ExtB","Minion","Minion Pro","Miriam","Miriam Fixed","Mistral","Modern","Modern No. 20","Mona Lisa Solid ITC TT","Mongolian Baiti","MONO","MoolBoran","Mrs Eaves","MS LineDraw","MS Mincho","MS PMincho","MS Reference Specialty","MS UI Gothic","MT Extra","MUSEO","MV Boli","Nadeem","Narkisim","NEVIS","News Gothic","News GothicMT","NewsGoth BT","Niagara Engraved","Niagara Solid","Noteworthy","NSimSun","Nyala","OCR A Extended","Old Century","Old English Text MT","Onyx","Onyx BT","OPTIMA","Oriya Sangam MN","OSAKA","OzHandicraft BT","Palace Script MT","Papyrus","Parchment","Party LET","Pegasus","Perpetua","Perpetua Titling MT","PetitaBold","Pickwick","Plantagenet Cherokee","Playbill","PMingLiU","PMingLiU-ExtB","Poor Richard","Poster","PosterBodoni BT","PRINCETOWN LET","Pristina","PTBarnum BT","Pythagoras","Raavi","Rage Italic","Ravie","Ribbon131 Bd BT","Rockwell","Rockwell Condensed","Rockwell Extra Bold","Rod","Roman","Sakkal Majalla","Santa Fe LET","Savoye LET","Sceptre","Script","Script MT Bold","SCRIPTINA","Serifa","Serifa BT","Serifa Th BT","ShelleyVolante BT","Sherwood","Shonar Bangla","Showcard Gothic","Shruti","Signboard","SILKSCREEN","SimHei","Simplified Arabic","Simplified Arabic Fixed","SimSun","SimSun-ExtB","Sinhala Sangam MN","Sketch Rockwell","Skia","Small Fonts","Snap ITC","Snell Roundhand","Socket","Souvenir Lt BT","Staccato222 BT","Steamer","Stencil","Storybook","Styllo","Subway","Swis721 BlkEx BT","Swiss911 XCm BT","Sylfaen","Synchro LET","System","Tamil Sangam MN","Technical","Teletype","Telugu Sangam MN","Tempus Sans ITC","Terminal","Thonburi","Traditional Arabic","Trajan","TRAJAN PRO","Tristan","Tubular","Tunga","Tw Cen MT","Tw Cen MT Condensed","Tw Cen MT Condensed Extra Bold","TypoUpright BT","Unicorn","Univers","Univers CE 55 Medium","Univers Condensed","Utsaah","Vagabond","Vani","Vijaya","Viner Hand ITC","VisualUI","Vivaldi","Vladimir Script","Vrinda","Westminster","WHITNEY","Wide Latin","ZapfEllipt BT","ZapfHumnst BT","ZapfHumnst Dm BT","Zapfino","Zurich BlkEx BT","Zurich Ex BT","ZWAdobeF"])),a=(a=a.concat(t.fonts.userDefinedFonts)).filter((function(e,t){return a.indexOf(e)===t}));var r=document.getElementsByTagName("body")[0],i=document.createElement("div"),o=document.createElement("div"),c={},s={},l=function(){var e=document.createElement("span");return e.style.position="absolute",e.style.left="-9999px",e.style.fontSize="72px",e.style.fontStyle="normal",e.style.fontWeight="normal",e.style.letterSpacing="normal",e.style.lineBreak="auto",e.style.lineHeight="normal",e.style.textTransform="none",e.style.textAlign="left",e.style.textDecoration="none",e.style.textShadow="none",e.style.whiteSpace="normal",e.style.wordBreak="normal",e.style.wordSpacing="normal",e.innerHTML="mmmmmmmmmmlli",e},d=function(e,t){var n=l();return n.style.fontFamily="'"+e+"',"+t,n},u=function(e){for(var t=!1,a=0;a<n.length;a++)if(t=e[a].offsetWidth!==c[n[a]]||e[a].offsetHeight!==s[n[a]])return t;return t},f=function(){for(var e=[],t=0,a=n.length;t<a;t++){var r=l();r.style.fontFamily=n[t],i.appendChild(r),e.push(r)}return e}();r.appendChild(i);for(var h=0,p=n.length;h<p;h++)c[n[h]]=f[h].offsetWidth,s[n[h]]=f[h].offsetHeight;var g=function(){for(var e={},t=0,r=a.length;t<r;t++){for(var i=[],c=0,s=n.length;c<s;c++){var l=d(a[t],n[c]);o.appendChild(l),i.push(l)}e[a[t]]=i}return e}();r.appendChild(o);for(var m=[],v=0,y=a.length;v<y;v++)u(g[a[v]])&&m.push(a[v]);r.removeChild(o),r.removeChild(i),e(m)},pauseBefore:!0},{key:"fontsFlash",getData:function(e,t){return void 0!==window.swfobject?window.swfobject.hasFlashPlayerVersion("9.0.0")?t.fonts.swfPath?void function(e,t){var n="___fp_swf_loaded";window[n]=function(t){e(t)};var a,r=t.fonts.swfContainerId;(a=document.createElement("div")).setAttribute("id",(void 0).fonts.swfContainerId),document.body.appendChild(a);var i={onReady:n};window.swfobject.embedSWF(t.fonts.swfPath,r,"1","1","9.0.0",!1,i,{allowScriptAccess:"always",menu:"false"},{})}((function(t){e(t)}),t):e("missing options.fonts.swfPath"):e("flash not installed"):e("swf object not loaded")},pauseBefore:!0},{key:"audio",getData:function(e,t){var n=t.audio;if(n.excludeIOS11&&navigator.userAgent.match(/OS 11.+Version\/11.+Safari/))return e(t.EXCLUDED);var a=window.OfflineAudioContext||window.webkitOfflineAudioContext;if(null==a)return e(t.NOT_AVAILABLE);var r=new a(1,44100,44100),i=r.createOscillator();i.type="triangle",i.frequency.setValueAtTime(1e4,r.currentTime);var o=r.createDynamicsCompressor();s([["threshold",-50],["knee",40],["ratio",12],["reduction",-20],["attack",0],["release",.25]],(function(e){void 0!==o[e[0]]&&"function"==typeof o[e[0]].setValueAtTime&&o[e[0]].setValueAtTime(e[1],r.currentTime)})),i.connect(o),o.connect(r.destination),i.start(0),r.startRendering();var c=setTimeout((function(){return console.warn('Audio fingerprint timed out. Please report bug at https://github.com/fingerprintjs/fingerprintjs with your user agent: "'+navigator.userAgent+'".'),r.oncomplete=function(){},r=null,e("audioTimeout")}),n.timeout);r.oncomplete=function(t){var n;try{clearTimeout(c),n=t.renderedBuffer.getChannelData(0).slice(4500,5e3).reduce((function(e,t){return e+Math.abs(t)}),0).toString(),i.disconnect(),o.disconnect()}catch(t){return void e(t)}e(n)}}},{key:"enumerateDevices",getData:function(e,t){if(!navigator.mediaDevices||!navigator.mediaDevices.enumerateDevices)return e(t.NOT_AVAILABLE);navigator.mediaDevices.enumerateDevices().then((function(t){e(t.map((function(e){return"id="+e.deviceId+";gid="+e.groupId+";"+e.kind+";"+e.label})))})).catch((function(t){e(t)}))}}],y=function(e){throw new Error("'new Fingerprint()' is deprecated, see https://github.com/fingerprintjs/fingerprintjs#upgrade-guide-from-182-to-200")};return y.get=function(e,t){t?e||(e={}):(t=e,e={}),function(e,t){if(null==t)return e;var n,a;for(a in t)null==(n=t[a])||Object.prototype.hasOwnProperty.call(e,a)||(e[a]=n)}(e,c),e.components=e.extraComponents.concat(v);var n={data:[],addPreprocessedComponent:function(t,a){"function"==typeof e.preprocessor&&(a=e.preprocessor(t,a)),n.data.push({key:t,value:a})}},a=-1,r=function(i){if((a+=1)>=e.components.length)t(n.data);else{var o=e.components[a];if(e.excludes[o.key])r(!1);else{if(!i&&o.pauseBefore)return a-=1,void setTimeout((function(){r(!0)}),1);try{o.getData((function(e){n.addPreprocessedComponent(o.key,e),r(!1)}),e)}catch(e){n.addPreprocessedComponent(o.key,String(e)),r(!1)}}}};r(!1)},y.getPromise=function(e){return new Promise((function(t,n){y.get(e,t)}))},y.getV18=function(e,t){return null==t&&(t=e,e={}),y.get(e,(function(n){for(var a=[],r=0;r<n.length;r++){var i=n[r];if(i.value===(e.NOT_AVAILABLE||"not available"))a.push({key:i.key,value:"unknown"});else if("plugins"===i.key)a.push({key:"plugins",value:l(i.value,(function(e){var t=l(e[2],(function(e){return e.join?e.join("~"):e})).join(",");return[e[0],e[1],t].join("::")}))});else if(-1!==["canvas","webgl"].indexOf(i.key)&&Array.isArray(i.value))a.push({key:i.key,value:i.value.join("~")});else if(-1!==["sessionStorage","localStorage","indexedDb","addBehavior","openDatabase"].indexOf(i.key)){if(!i.value)continue;a.push({key:i.key,value:1})}else i.value?a.push(i.value.join?{key:i.key,value:i.value.join(";")}:i):a.push({key:i.key,value:i.value})}var c=o(l(a,(function(e){return e.value})).join("~~~"),31);t(c,a)}))},y.x64hash128=o,y.VERSION="2.1.4",y}))}},t={};function n(a){var r=t[a];if(void 0!==r)return r.exports;var i=t[a]={exports:{}};return e[a].call(i.exports,i,i.exports,n),i.exports}n.amdO={},n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var a in t)n.o(t,a)&&!n.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return(()=>{"use strict";n.r(a),n.d(a,{default:()=>Ge});var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)},t=function(){return t=Object.assign||function(e){for(var t,n=1,a=arguments.length;n<a;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},t.apply(this,arguments)};function r(e,t,n,a){return new(n||(n=Promise))((function(r,i){function o(e){try{s(a.next(e))}catch(e){i(e)}}function c(e){try{s(a.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,c)}s((a=a.apply(e,t||[])).next())}))}function i(e,t){var n,a,r,i,o={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,a&&(r=2&i[0]?a.return:i[0]?a.throw||((r=a.return)&&r.call(a),0):a.next)&&!(r=r.call(a,i[1])).done)return r;switch(a=0,r&&(i=[2&i[0],r.value]),i[0]){case 0:case 1:r=i;break;case 4:return o.label++,{value:i[1],done:!1};case 5:o.label++,a=i[1],i=[0];continue;case 7:i=o.ops.pop(),o.trys.pop();continue;default:if(!((r=(r=o.trys).length>0&&r[r.length-1])||6!==i[0]&&2!==i[0])){o=0;continue}if(3===i[0]&&(!r||i[1]>r[0]&&i[1]<r[3])){o.label=i[1];break}if(6===i[0]&&o.label<r[1]){o.label=r[1],r=i;break}if(r&&o.label<r[2]){o.label=r[2],o.ops.push(i);break}r[2]&&o.ops.pop(),o.trys.pop();continue}i=t.call(e,o)}catch(e){i=[6,e],a=0}finally{n=r=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,c])}}}var o=n(750),c=n.n(o);const s="UPDATE_DATA",l="CASHIER_PAUSE",d="CASHIER_RESUME",u="DEVICE_ID",f="INITIATE_NATIVE_PAYMENT",h="PROCESS_NATIVE_PAYMENT",p="STATUS_NATIVE_PAYMENT",g="CASHIER_INIT_LOAD",m="CASHIER_BOOT_REQUEST",v="DONE_LOADING",y="IS_LOADING",T="ONLOAD_ERROR",w="LOOKUP_CUSTOMER_IDENTIFIED",E="CUSTOMER_DATA",A="LOOKUP_SHA_256",O="LOOKUP_EDIT_USER",C="LOOKUP_CUSTOMER_RESET",S="LOOKUP_REPORT_HEIGHT";var I,b="data-cashier-wrapper",_="cashier_container_uid",P=((I={})[u]="PIQ_DEVICE_ID",I[f]="PIQ_INITIATE_NATIVE_PAYMENT",I[h]="PIQ_PROCESS_NATIVE_PAYMENT",I[p]="PIQ_STATUS_NATIVE_PAYMENT",I[w]="PIQ_LOOKUP_CUSTOMER_IDENTIFIED",I[E]="PIQ_CUSTOMER_DATA",I[A]="PIQ_LOOKUP_SHA_256",I[O]="PIQ_LOOKUP_EDIT_USER",I[C]="PIQ_LOOKUP_CUSTOMER_RESET",I[S]="PIQ_LOOKUP_REPORT_HEIGHT",I),B={};Object.keys(P).forEach((function(e){B[P[e]]=e}));for(var x=function(e){return e&&Object.prototype.hasOwnProperty.call(B,e)&&B[e]||e},k=function(e){return e.map((function(e){return String.fromCodePoint(74^e)})).join("")},R={key:"paymentiq",docsUrl:[34,62,62,58,57,112,101,101,46,37,41,57,100,58,43,51,39,47,36,62,35,59,100,35,37,101,47,63,56,37,58,47,101,41,43,57,34,35,47,56,101,45,47,36,47,56,43,38,101,32,43,60,43,57,41,56,35,58,62,43,58,35],fallbackEnvironment:"production",environments:{production:{cashierApi:[34,62,62,58,57,112,101,101,43,58,35,100,58,43,51,39,47,36,62,35,59,100,35,37,101,58,43,51,39,47,36,62,35,59,101,41,43,57,34,35,47,56],cashierOrigin:[34,62,62,58,57,112,101,101,41,34,47,41,33,37,63,62,100,58,43,51,39,47,36,62,35,59,100,35,37]},mrgreen:{cashierApi:[34,62,62,58,57,112,101,101,39,56,45,56,47,47,36,103,43,58,35,100,58,43,51,39,47,36,62,35,59,100,35,37,101,58,43,51,39,47,36,62,35,59,101,41,43,57,34,35,47,56],cashierOrigin:[34,62,62,58,57,112,101,101,41,34,47,41,33,37,63,62,100,58,43,51,39,47,36,62,35,59,100,35,37]},casumo:{cashierApi:[34,62,62,58,57,112,101,101,41,43,57,63,39,37,103,43,58,35,100,58,43,51,39,47,36,62,35,59,100,35,37,101,58,43,51,39,47,36,62,35,59,101,41,43,57,34,35,47,56],cashierOrigin:[34,62,62,58,57,112,101,101,41,34,47,41,33,37,63,62,100,58,43,51,39,47,36,62,35,59,100,35,37]},test:{cashierApi:[34,62,62,58,57,112,101,101,62,47,57,62,103,43,58,35,100,58,43,51,39,47,36,62,35,59,100,35,37,101,58,43,51,39,47,36,62,35,59,101,41,43,57,34,35,47,56],cashierOrigin:[34,62,62,58,57,112,101,101,41,34,47,41,33,37,63,62,100,58,43,51,39,47,36,62,35,59,100,35,37]},development:{cashierApi:[34,62,62,58,112,101,101,38,37,41,43,38,34,37,57,62,112,127,122,122,122],cashierOrigin:[34,62,62,58,112,101,101,38,37,41,43,38,34,37,57,62,112,127,122,122,122]},ecom:{cashierApi:[34,62,62,58,57,112,101,101,43,58,35,100,47,41,37,39,62,56,43,36,57,43,41,62,35,37,36,57,100,35,37,101,63,35,101,41,43,57,34,35,47,56],cashierOrigin:[34,62,62,58,57,112,101,101,41,34,47,41,33,37,63,62,100,47,41,37,39,62,56,43,36,57,43,41,62,35,37,36,57,100,35,37]},oceanharborlight:{cashierApi:[34,62,62,58,57,112,101,101,43,58,35,100,37,41,47,43,36,34,43,56,40,37,56,38,35,45,34,62,100,41,37,39,101,63,35,101,41,43,57,34,35,47,56],cashierOrigin:[34,62,62,58,57,112,101,101,41,34,47,41,33,37,63,62,100,37,41,47,43,36,34,43,56,40,37,56,38,35,45,34,62,100,41,37,39]},silvercurrent:{cashierApi:[34,62,62,58,57,112,101,101,43,58,35,100,57,35,38,60,47,56,41,63,56,56,47,36,62,100,48,37,36,47,101,63,35,101,41,43,57,34,35,47,56],cashierOrigin:[34,62,62,58,57,112,101,101,41,34,47,41,33,37,63,62,100,57,35,38,60,47,56,41,63,56,56,47,36,62,100,48,37,36,47]},softember:{cashierApi:[34,62,62,58,57,112,101,101,43,58,35,100,57,37,44,62,47,39,40,47,56,100,62,37,37,38,57,101,63,35,101,41,43,57,34,35,47,56],cashierOrigin:[34,62,62,58,57,112,101,101,41,34,47,41,33,37,63,62,100,57,37,44,62,47,39,40,47,56,100,62,37,37,38,57]},sunpetal:{cashierApi:[34,62,62,58,57,112,101,101,43,58,35,100,57,63,36,58,47,62,43,38,100,50,51,48,101,63,35,101,41,43,57,34,35,47,56],cashierOrigin:[34,62,62,58,57,112,101,101,41,34,47,41,33,37,63,62,100,57,63,36,58,47,62,43,38,100,50,51,48]}}},M={},L=0,N=Object.keys(R.environments);L<N.length;L++){var D=N[L],U=R.environments[D];M[D]={cashierApi:k(U.cashierApi),cashierOrigin:k(U.cashierOrigin)}}var F=[34,62,62,58,112,101,101,38,37,41,43,38,34,37,57,62,112,126,122,122,122],G=[34,62,62,58,112,101,101,122,100,122,100,122,100,122,112,127,122,122,122],H=[34,62,62,58,112,101,101,122,100,122,100,122,100,122,112,126,122,122,122],V=R.fallbackEnvironment,W=function(e){var t=R.environmentAliases;if(t&&Object.prototype.hasOwnProperty.call(t,e)){var n=t[e];return Object.prototype.hasOwnProperty.call(M,n)?n:void 0}},j=function(t){function n(e){var a=t.call(this,'Unknown environment "'+String(e)+'" for brand "'+R.key+'". This build knows: '+Object.keys(M).concat(Object.keys(R.environmentAliases||{}).filter((function(e){return Boolean(W(e))}))).join(", "))||this;return a.name="UnknownEnvironmentError",Object.setPrototypeOf(a,n.prototype),a}return function(t,n){function a(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}(n,t),n}(Error),X=function(e){var t=e&&Object.prototype.hasOwnProperty.call(M,e)?M[e]:void 0;if(t)return t;if(e){var n=W(e);if(n)return M[n]}if(!e||V)return M[K()];throw new j(e)},K=function(){return V||Object.keys(M).filter((function(e){return"development"!==e}))[0]||Object.keys(M)[0]},z=function(){for(var e=[],t=0,n=Object.keys(M);t<n.length;t++){var a=n[t],r=M[a];try{var i=new URL(r.cashierApi).origin;e.includes(i)||e.push(i)}catch(e){}e.includes(r.cashierOrigin)||e.push(r.cashierOrigin)}for(var o=0,c=[k(G),k(H),k(F)];o<c.length;o++){var s=c[o];e.includes(s)||e.push(s)}return e},Q=function(){var e=R.docsUrl?k(R.docsUrl):"";return e?" Read more over at ".concat(e):""},Y=null,J=null,Z=function(e){return!(!e||"string"!=typeof e)&&z().includes(e)},q=!1,$=[],ee=function(e,t){q||"cashierIframe"!==(null==e?void 0:e.id)?t():$.length>=50?console.error("Dropping cashier call: more than ".concat(50," were made before the cashier finished loading.")):$.push(t)},te=[m,g,y,v],ne=null,ae=null,re=null,ie=function(e){ne=e,window.removeEventListener("message",le,!1),window.addEventListener("message",le)};function oe(e){var t,n,a,r=z();return e.origin&&(a=e.origin,Z(a)&&(Y=a)),!(r.includes(e.origin)||(null===(t=e.data)||void 0===t?void 0:t.eventType)&&["CASHIER_INIT_LOAD","CASHIER_BOOT_REQUEST","LOOKUP_INIT_LOAD","IS_LOADING"].includes(e.data.eventType)||((null===(n=e.data)||void 0===n?void 0:n.eventType)&&console.error("Integration: Failed to read post message - invalid origin",e.origin,e.data.eventType),0))}function ce(e){var t;(null===(t=e.data)||void 0===t?void 0:t.eventType)&&console.error("Invalid origin, will not read cashier events",e.data.eventType,e.origin)}var se=function(e,t){var n=JSON.stringify({eventType:e,payload:t});window.ReactNativeWebView?fe(n,window.ReactNativeWebView,"*"):fe(n)},le=function(e){if(oe(e))return ce(e);switch(x(e.data.eventType)){case g:if(ne.cashierInitLoad)return ne.cashierInitLoad({data:e.data.payload});break;case"LOOKUP_INIT_LOAD":if(ne.lookupInitLoad)return ne.lookupInitLoad();break;case"CHANGE":if(ne.change)return ne.change({data:e.data.payload});break;case s:if(ne.update)return ne.update({data:e.data.payload});break;case"TX_SUCCESS":if(ne.success)return ne.success({data:e.data.payload});break;case"TX_FAILED":if(ne.failure)return ne.failure({data:e.data.payload});break;case"TX_PENDING":if(ne.pending)return ne.pending({data:e.data.payload});break;case"TX_UNRESOLVED":if(ne.unresolved)return ne.unresolved({data:e.data.payload});break;case"APP_SET_HEIGHT":return Se(e.data.payload.height);case l:if(ne.pause)return ne.pause({data:e.data.payload});break;case d:if(ne.resume)return ne.resume({data:e.data.payload});break;case y:if(ne.isLoading)return ne.isLoading({data:e.data.eventType});break;case v:if(ne.doneLoading)return ne.doneLoading({data:e.data.eventType});break;case"APP_VISIBLE":if(ne.isVisible)return ne.isVisible();break;case"APP_HIDDEN":if(ne.isHidden)return ne.isHidden();break;case"SELECTED_TX_METHOD":if(ne.paymentMethodSelect&&e.data&&e.data.payload)return ne.paymentMethodSelect({data:e.data.payload});break;case"PAYMENT_AMOUNT_CHANGE":if(ne.paymentAmountChange&&e.data&&e.data.payload)return ne.paymentAmountChange({data:e.data.payload});break;case"ENTERED_TX_METHOD_PAGE":if(ne.paymentMethodPageEntered&&e.data&&e.data.payload)return ne.paymentMethodPageEntered({data:e.data.payload});break;case"APP_ROUTE_CHANGE":if(ne.navigate&&e.data&&e.data.payload)return ne.navigate({data:e.data.payload});break;case"NEW_IFRAME":case"NEW_WINDOW":if(ne.newProviderWindow)return ne.newProviderWindow({data:e.data.eventType});break;case"CANCEL_PENDING_WITHDRAWAL":if(ne.cancelledPendingWD)return ne.cancelledPendingWD({data:e.data.payload});break;case"TX_VALIDATION_FAILED":if(ne.validationFailed)return ne.validationFailed({data:e.data.payload});break;case w:return function(e){var t=e.data,n=t.eventType,a=t.payload;if(!n&&"string"==typeof e.data){var r=JSON.parse(e.data);n=r.eventType,a=r.payload}if(ne.lookupUserIdentified&&ne.lookupUserIdentified({data:a}),!re||re.cashierLoaded)return ve({iframe:document.getElementById("cashierIframe")});var i={userId:a.userId,sessionId:a.sessionId||null,user:a.user,attributes:a.attributes,didToken:a.didToken||null};re.setupCashier(i)}(e);case E:if(ne.lookupUserData)return ne.lookupUserData({data:e.data.payload});case"TX_CANCELLED":if(ne.cancelled)return ne.cancelled({data:e.data.payload});break;case T:if(ne.onLoadError)return ne.onLoadError({data:e.data.payload});break;case"TRANSACTION_INIT":if(ne.transactionInit)return ne.transactionInit({data:e.data.payload})}},de=function(e){return r(void 0,void 0,void 0,(function(){var t,n,a,o,c,s,l,d;return i(this,(function(u){if(oe(e))return[2,ce(e)];try{switch(t=e.data,n=t.eventType,a=t.payload,n||"string"!=typeof e.data||(o=JSON.parse(e.data),n=o.eventType,a=o.payload),c=n,n=x(n),te.includes(n)&&z().includes(e.origin)&&function(){if(!q){q=!0;var e=$;$=[],e.forEach((function(e){try{e()}catch(e){console.error("Failed to flush a queued cashier call",e)}}))}}(),n){case m:!function(e){var t,n,a,r=document.querySelector("#cashierIframe");if(r){var i=null!==(n=null===(t=null==re?void 0:re.cashierConfig)||void 0===t?void 0:t.launchToken)&&void 0!==n?n:null,o=!0===(null==e?void 0:e.supportsResume)?null===(a=null==re?void 0:re.merchantReturn)||void 0===a?void 0:a.txRefId:void 0;he({eventType:"CASHIER_BOOT",payload:o?{launchToken:i,resumeTxRefId:o}:{launchToken:i}},r.contentWindow,Ae(r)),o&&(xe(),re.merchantReturn=null)}}(a);break;case"ADD_CONFIG_TO_WINDOW":ke(a);break;case"SETUP_AUTHORIZE_SCRIPT":!function(e){if(null==e?void 0:e.authorizeScript){var t=e.provider,n=e.authorizeScript;try{var a="Authenticate_".concat(t);if(!document.getElementById(a)){var r=document.createElement("script");r.id=a,r.innerHTML=n,document.body.appendChild(r)}}catch(e){console.log(e),console.error("Unable to add authenticate script for ".concat(t))}}}(a);break;case"EXECUTE_AUTHORIZE_METHOD":s=a.method,l=a.parameters,window[s](l);break;case"GET_INTEGRATIONS_SCRIPT_URL":return[2,ae(a)];case"TOP_URL_REPLACE":!function(e){window.location.replace(e.url);var t=JSON.stringify({eventType:"APPLICATION_REDIRECT",payload:e});window.ReactNativeWebView?ue(t,window.ReactNativeWebView,"*"):ue(t)}(a);break;case f:!function(e,t){se(e,t)}(c,a);break;case h:d=document.getElementById("cashierIframe"),fe({eventType:c,payload:a},d.contentWindow,Ee());break;case p:se(c,a);break;case A:!function(e,t){r(void 0,void 0,void 0,(function(){var n,a,r,o,c;return i(this,(function(i){switch(i.label){case 0:return t.codeVerifier?(n=t.codeVerifier,a=new TextEncoder,r=a.encode(n),[4,window.crypto.subtle.digest("SHA-256",r)]):[3,2];case 1:o=i.sent(),c=document.getElementById("lookupIframe"),he({eventType:e,payload:{codeChallenge:o,codeVerifier:n}},c.contentWindow,Ae(c),!0),i.label=2;case 2:return[2]}}))}))}(c,a);break;case O:return[2,me({iframe:document.getElementById("cashierIframe")})];case C:Re(),re.cashierLoaded=!1;break;case S:return[2,Ie(e.data.payload.height)]}}catch(e){console.log(e)}return[2]}))}))},ue=function(e,n,a,r){void 0===n&&(n=null),void 0===a&&(a=null),void 0===r&&(r=!1);try{var i=function(e){n?n.postMessage(e,a):window.postMessage(e,Ee())};i(e);var o=!r&&e&&e.eventType&&Object.prototype.hasOwnProperty.call(P,e.eventType)&&P[e.eventType];o&&i(t(t({},e),{eventType:o}))}catch(t){e.eventType?console.error("Failed to send postMessage: ",e.eventType):console.error(t)}},fe=function(e,t,n){return void 0===t&&(t=null),void 0===n&&(n=null),ue(e,t,n,!0)},he=function(e,t,n,a){void 0===a&&(a=!1);var r=X(void 0).cashierOrigin;ue(e,t,n,a),n!==r&&ue(e,t,r,a)},pe=function(e,t){if(!e.iframe)throw new TypeError("Cannot ".concat(t,": the Cashier is not set up"));return e.iframe},ge=function(e,t){var n=pe(t,"set css");ee(n,(function(){return he({eventType:"SET_CSS",payload:e},n.contentWindow,Ae(n))}))},me=function(e){if(!e.iframe)return null;he({eventType:l},e.iframe.contentWindow,Ae(e.iframe));var t=document.getElementById("cashierIframe");t&&(t.tabIndex=-1)},ve=function(e){he({eventType:d},e.iframe.contentWindow,Ae(e.iframe)),document.getElementById("cashierIframe").tabIndex=0},ye=function(e){var t=document.querySelector("#cashierIframe");he({eventType:"POST_INTEGRATION_URL",payload:{url:be("txRefId",e.txRefId),txRefId:e.txRefId}},t.contentWindow,Ae(t))},Te=function(e){if(window._paymentCashierDFP){var t=document.getElementById(e);we(t,window._paymentCashierDFP),delete window._paymentCashierDFP}else setTimeout((function(){Te(e)}),50)},we=function(e,t){t?ee(e,(function(){return he({eventType:u,payload:{deviceId:t}},e.contentWindow,Ae(e))})):console.error("DeviceId not defined")};function Ee(){return window.location.origin||(window.location.origin=window.location.protocol+"//"+window.location.hostname+(window.location.port?":"+window.location.port:"")),window.location.origin}var Ae=function(e){return Y||(J||function(e){var t=new URL(e.src),n=function(e){for(var t=0,n=Object.keys(M);t<n.length;t++){var a=n[t],r=M[a];try{if(new URL(r.cashierApi).origin===e&&r.cashierOrigin!==e)return r.cashierOrigin}catch(e){}}return null}(t.origin);return n||(null==t?void 0:t.origin)}(e))},Oe=function(e,t,n){void 0===t&&(t=!0),void 0===n&&(n=!1);try{var a=function(e){return n?e:encodeURIComponent(e)},r=["trackingPixels","logoUrl","customLogoFileName"],i=function(e,t){var n="object"==typeof e&&r.includes(t);return a(n?JSON.stringify(e):e)},o=[];for(var c in e){var s=e[c];t?null!==e[c]&&""!==e[c]&&o.push("".concat(a(c),"=").concat(i(s,c))):o.push("".concat(a(c),"=").concat(i(s,c)))}return o.join("&")}catch(e){console.error(e)}},Ce=function(e){var n=t({},e);try{var a=n.theme;for(var r in delete n.theme,a)for(var i in a[r])n["theme_".concat(r,"_").concat(i)]=a[r][i]}catch(e){console.log(e)}try{var o=n.attributes;for(var c in function(e){delete e.containerMinHeight,delete e.initLoadErrorTimeout,delete e.attributes,delete e.launchToken}(n),o)n["attributes.".concat(c)]=o[c];var s=n.user;for(var l in delete n.user,s)n["user.".concat(l)]=s[l]}catch(e){console.log(e)}return n},Se=function(e){document.getElementById("cashierIframe").style.height="".concat(e,"px")},Ie=function(e){document.getElementById("lookupIframe").style.height="".concat(e,"px")},be=function(e,t){var n=self.window.location.href,a=null,r=new RegExp("[&\\?]"+e+"=");return r.test(n)?(r=new RegExp("([&\\?])"+e+"=\\d+"),a=n.replace(r,"$1".concat(e,"=").concat(t))):a=n.indexOf("?")>-1?"".concat(n,"&").concat(e,"=").concat(t):"".concat(n,"?").concat(e,"=").concat(t),a},_e=["cashierRedirect","piqCashierRedirect"],Pe=_e.concat("txRefId"),Be=/^[0-9]+(A[0-9]+(F[0-9]+)?)?$/,xe=function(){try{var e=window.location,t=e.pathname,n=e.search,a=e.hash,r=n.replace(/^\?/,"").split("&").filter(Boolean),i=r.filter((function(e){var t=e.split("=")[0],n=t;try{n=decodeURIComponent(t)}catch(e){}return!Pe.includes(n)}));if(i.length===r.length)return;var o=i.length?"?".concat(i.join("&")):"";window.history.replaceState(window.history.state,"","".concat(t).concat(o).concat(a))}catch(e){console.warn(e)}},ke=function(e){try{var n=JSON.parse(e.config),a="".concat(window.PAYMENT_CASHIER_URI.split("?")[0],"?").concat(Oe(Ce(n)));window.PAYMENT_CASHIER_BO_CONFIG_URI=a,window.PAYMENT_CASHIER_BO_CONFIG_MERGED=t(t({},window.__PAYMENT_CASHIER_CONFIG__),e)}catch(e){console.log(e)}},Re=function(){try{q=!1,$=[];var e=document.getElementById("cashierIframe");e?e.remove():console.log("No cashier found and can't reset")}catch(e){console.error(e),console.log("Unable to destroy the cashier, has it been set up?")}},Me="geolocation *;camera *;payment *;clipboard-read *;clipboard-write *;autoplay *;microphone *;fullscreen *;accelerometer *;magnetometer *;gyroscope *;picture-in-picture *;otp-credentials *;publickey-credentials-get https://checkout-v2.zimpler.net;publickey-credentials-create https://checkout-v2.zimpler.net;";var Le="_PaymentIQCashier",Ne={},De=function(e,t){if(!Ne[e]){Ne[e]=!0;try{console.warn("[Cashier] "+e+" is deprecated and will be removed. Use "+function(e){return"Reset"===e.slice(-5)?"_PaymentCashierReset":"_PaymentCashier"}(e)+" instead. Both behave identically; only the name changes.")}catch(e){}}},Ue=function(){function e(e,n,a){this.initCssSet=!1;var r=document.querySelector(e);r.className="piq-cashier-wrapper",r.setAttribute(b,""),this.cashierContainerId=(new Date).getTime().toString(),r.setAttribute(_,this.cashierContainerId),n.containerMinHeight&&(this.containerMinHeight=n.containerMinHeight);var i=t({},n),o=function(e){var n=e.font,a=e.locale,r=Ee();if(e.attributes||(e.attributes={}),e.attributes.hostUri=r,e.lookupConfig){var i=t({},e.lookupConfig),o=t(t(t(t({merchantId:e.merchantId},i),n&&{font:n}),a&&{locale:a}),{hostUri:r,theme:t({},e.theme),containerWidth:e.containerWidth||void 0,environment:i.environment||e.environment||K()});return delete e.lookupConfig,{cashierConfig:e,lookupConfig:o}}return{cashierConfig:e}}(i),s=o.cashierConfig,l=o.lookupConfig;this.cashierConfig=s,this.element=r,this.lookupLoaded=!1,this.cashierLoaded=!1,l?this.setupCheckoutFlow(r,l,a,this):this.setupCashierFlow(a),function(){try{c().getV18({},(function(e){window._paymentCashierDFP=e}))}catch(e){console.error("Failed to generate device id"),console.error(e)}}(),i.launchToken;var d=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n}(i,["launchToken"]);return window.__PAYMENT_CASHIER_CONFIG__=d,this.api(!1,null)}return e.prototype.setupCashierFlow=function(e){this.setupCashier({callback:e})},e.prototype.setupCheckoutFlow=function(e,n,a,r){var i=this,o=null;n&&(n.domElement||e)&&(o=function(e,n,a){var r=t({},n);r.didAccessToken&&(r.didAccessToken=JSON.stringify(r.didAccessToken)),r.userData&&(r.userData=JSON.stringify(r.userData)),a.iframe=document.createElement("iframe");var i=r.environment,o=(r.containerHeight,r.containerWidth),c=void 0===o?"1px":o,s=r.containerMinHeight,l=void 0===s?"0px":s,d=function(e,t){if("development"===e)return k(F);var n=X(e).cashierOrigin;return"".concat(n,"/checkout-client/").concat(t||"master")}(i,r.version);a.iframe.style.borderWidth=0,a.iframe.style.display="block",a.iframe.style.height="250px",a.iframe.style.minHeight=l,a.iframe.style.width=c,a.iframe.style.minWidth="100%",a.iframe.style.left="0px",a.iframe.allow=Me,a.iframe.id="lookupIframe",a.iframe.setAttribute("data-hj-allow-iframe","true"),a.iframe.setAttribute("data-cy","lookup-iframe");var u=Oe(Ce(r));return u.length>2e3&&console.error("Query length is over 2000 characters, which some browsers cannot handle. Check whether every parameter passed in is needed: long attributes can be supplied through the JavaScript API instead.".concat(Q())),a.iframe.src="".concat(d,"/?").concat(u),e.appendChild(a.iframe),a.iframe}(n.domElement||e,n,r)),o.onload=function(){i.lookupLoaded=!0,a(i.api(!0,o))}},e.prototype.setupCashier=function(e){var n,a,r=this;try{var i=e.callback,o=void 0===i?null:i,c=e.userId,s=e.sessionId,l=e.user,d=void 0===l?{}:l,u=e.attributes,f=void 0===u?{}:u,h=e.didToken,p=void 0===h?null:h,g=this,m=g.element,v=g.cashierConfig,y=g.cashierLoaded;if(m&&v&&!y){c&&(v.userId=c),s&&(v.sessionId=s),p&&(v.attributes||(v.attributes={}),v.attributes.didToken=p),v.user=t(t({},v.user),d),v.attributes=t(t({},v.attributes),f);var w=function(e,t,n,a){n.iframe=document.createElement("iframe");var r,i=t.environment,o=t.containerHeight,c=void 0===o?"100%":o,s=t.containerWidth,l=void 0===s?"100%":s,d=t.containerMinHeight,u=void 0===d?"0px":d,f=X(i).cashierApi,h=X(i).cashierOrigin;Z(r=h)&&(J=r),n.iframe.style.borderWidth=0,n.iframe.style.display="block",n.iframe.style.height=c,n.iframe.style.minHeight=u,n.iframe.style.width=l,n.iframe.style.left="0px",n.iframe.allow=Me,n.iframe.allowTransparency,n.iframe.id="cashierIframe",n.iframe.setAttribute("data-hj-allow-iframe","true"),n.iframe.setAttribute("data-cy","cashier-iframe"),n.merchantReturn=function(e){void 0===e&&(e=window.location.search);try{var t=new URLSearchParams(e),n=_e.some((function(e){return t.has(e)})),a=t.get("txRefId");return n&&a&&Be.test(a)?{txRefId:a}:null}catch(e){return null}}();var p=Oe(Ce(t));p.length>2e3&&console.error("Query length is over 2000 characters, which some browsers cannot handle. Check whether every parameter passed in is needed: long attributes can be supplied through the JavaScript API instead.".concat(Q()));var g="".concat(p,"&attributes.bootstrapVersion=").concat("1.7.15"),m="".concat(f,"/?").concat(g);return n.iframe.src=m,n.iframe.onload=a,e.appendChild(n.iframe),window.PAYMENT_CASHIER_URI=m,n.iframe}(m,v,this,(function(){r.cashierLoaded=!0,o&&o(r.api(!0,w))}));n=v.initLoadErrorTimeout,a=this.cashierContainerId,void 0===n&&(n=1e4),setTimeout((function(){var e,t=document.querySelector("[".concat(b,"]")),i=(null==t?void 0:t.attributes)?null===(e=t.attributes[_])||void 0===e?void 0:e.value:"";r.cashierLoaded||a!==i||self.postMessage({eventType:T,payload:{status:"Could not load cashier iframe. Execution time limit was exceeded: ".concat(n," milliseconds"),timeLimit:n}},"*")}),n)}}catch(e){if(console.log("Failed to setup cashier"),console.error(e),e instanceof j)throw e}},e.prototype.api=function(e,n){var a,r,i=this,o={set:function(e){!function(e,n){var a=function(e){var n=function(e){var n=globalThis.structuredClone;if("function"==typeof n)try{return n(e)}catch(e){}return t({},e)}(e);return n.config&&(delete n.config.merchantId,delete n.config.userId,delete n.config.sessionId),n}(e),r=pe(n,"set data");ee(r,(function(){return he({eventType:s,payload:a},r.contentWindow,Ae(r))}))}(e,i)},css:function(e){ge(e,i)},pause:function(){me(i)},resume:function(){ve(i)},on:function(){}};return this.containerMinHeight&&!this.initCssSet&&(a=this.containerMinHeight,r=this,window.addEventListener("message",(function(e){if(e.data.eventType===g){"number"==typeof a&&"".concat(a,"px");var t="\n #app-container.auto-height {\n min-height: ".concat(a,"!important;\n }\n ");ge(t,r)}})),this.initCssSet=!0),e&&n?(Te(n.id),re=this,ae=ye,window.removeEventListener("message",de,!1),window.addEventListener("message",de),t(t({},o),{on:function(e){!function(e){var t;ie(e),e.isLoading&&((t=document.querySelector("#cashierIframe"))&&he({eventType:y},t.contentWindow,Ae(t)))}(e)}})):o},e}();function Fe(e,t,n){if(!(this instanceof Fe))throw new TypeError(Le+" cannot be invoked without 'new'");return De(Le),new Ue(e,t,n)}Fe.prototype=Ue.prototype,window._PaymentCashier=Ue,window._PaymentCashierReset=Re,window._PaymentIQCashier=Fe,window._PaymentIQCashierReset=function(){return De("_PaymentIQCashierReset"),Re()};const Ge=Ue})(),a})()));
|
package/index.d.ts
CHANGED
|
@@ -85,8 +85,9 @@ type BooleanOrBooleanString = boolean | 'true' | 'false';
|
|
|
85
85
|
type StringOrNumber = string | number;
|
|
86
86
|
/*
|
|
87
87
|
Every environment the published package knows. Deliberately broad: one .d.ts is published for all
|
|
88
|
-
brands, so it cannot narrow per build. A white-label artifact accepts
|
|
89
|
-
throws UnknownEnvironmentError on any other
|
|
88
|
+
brands, so it cannot narrow per build. A white-label artifact accepts its own environment, plus
|
|
89
|
+
'production' as a stage alias for it from 1.7.12, and throws UnknownEnvironmentError on any other,
|
|
90
|
+
'test' included.
|
|
90
91
|
|
|
91
92
|
`(string & {})` keeps the list as autocomplete rather than a closed set. Two tenants used to be
|
|
92
93
|
named here and are still resolved at runtime, so removing their literals must not stop their
|
|
@@ -124,6 +125,9 @@ type BonusPlacement = 'inline-before' | 'inline-after' | 'dedicated-step';
|
|
|
124
125
|
// 'explicit' shows a "no bonus" tile the player must actively pick; 'implicit'
|
|
125
126
|
// treats not choosing as declining.
|
|
126
127
|
type NoBonusMode = 'explicit' | 'implicit';
|
|
128
|
+
// 'collapsed' shows each bonus as its name and badges only; selecting one
|
|
129
|
+
// expands it to the full card. 'full' (default) shows every card in full.
|
|
130
|
+
type BonusListDensity = 'full' | 'collapsed';
|
|
127
131
|
type TrackingEvent = 'allDeposits' | 'firstDeposit' | 'allWithdrawals';
|
|
128
132
|
type DisplayLogoOrName = 'both' | 'logo' | 'name';
|
|
129
133
|
type C2PPrefillDataFlow = 'default' | 'hide';
|
|
@@ -302,6 +306,7 @@ export interface CashierConfig {
|
|
|
302
306
|
bonusPlacement?: BonusPlacement;
|
|
303
307
|
availableBonuses?: BonusOption[];
|
|
304
308
|
noBonusMode?: NoBonusMode;
|
|
309
|
+
bonusListDensity?: BonusListDensity;
|
|
305
310
|
withdrawalRestrictions?: WithdrawalRestrictions;
|
|
306
311
|
channelId?: string;
|
|
307
312
|
// Header logo. Per color mode since cashier v3 — see ColorModeAsset.
|