1!function(){var t={5161:function(t,e,n){!function t(e,n,r){function o(a,u){if(!n[a]){if(!e[a]){if(i)return i(a,!0);var s=Error("Cannot find module '"+a+"'");throw s.code="MODULE_NOT_FOUND",s}var l=n[a]={exports:{}};e[a][0].call(l.exports,function(t){return o(e[a][1][t]||t)},l,l.exports,t,e,n,r)}return n[a].exports}for(var i=void 0,a=0;a<r.length;a++)o(r[a]);return o}({1:[function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;n.default=function(){var t;function e(){if(!(this instanceof e))throw TypeError("Cannot call a class as a function")}return t=[{key:"getCookieExpiresString",value:function(t){var e=new Date(new Date().getTime()+t);return"expires=".concat(e.toGMTString(),";")}},{key:"bake",value:function(t,n){document.cookie="smartbanner_exited=1; ".concat(t?e.getCookieExpiresString(t):""," path=").concat(n)}},{key:"unbake",value:function(){document.cookie="smartbanner_exited=; expires=Thu, 01 Jan 1970 00:00:01 GMT;"}},{key:"baked",get:function(){return"1"===document.cookie.replace(/(?:(?:^|.*;\s*)smartbanner_exited\s*=\s*([^;]*).*$)|^.*$/,"$1")}}],function(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,function(t){var e=function(t,e){if("object"!==r(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,e||"default");if("object"!==r(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===r(e)?e:String(e)}(o.key),o)}}(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}()},{}],2:[function(t,e,r){(function(t){(function(){"use strict";function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;r.default=function(){var n;function r(){if(!(this instanceof r))throw TypeError("Cannot call a class as a function")}return n=[{key:"platform",value:function(){var t=window.navigator.maxTouchPoints,e=window.navigator.userAgent;return/Android/i.test(e)?"android":!window.MSStream&&!/X11|Linux/i.test(e)&&t&&t>0||/iPhone|iPad|iPod/i.test(e)?"ios":void 0}},{key:"userAgentMatchesRegex",value:function(t){return new RegExp(t).test(window.navigator.userAgent)}},{key:"jQueryMobilePage",value:function(){return void 0!==t.$&&"undefined"!==t.$.mobile&&null!==document.querySelector(".ui-page")}},{key:"wrapperElement",value:function(){var t=r.jQueryMobilePage()?".ui-page":"html";return document.querySelectorAll(t)}}],function(t,n){for(var r=0;r<n.length;r++){var o=n[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,function(t){var n=function(t,n){if("object"!==e(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var o=r.call(t,n||"default");if("object"!==e(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}(t,"string");return"symbol"===e(n)?n:String(n)}(o.key),o)}}(r,n),Object.defineProperty(r,"prototype",{writable:!1}),r}()}).call(this)}).call(this,void 0!==n.g?n.g:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],3:[function(t,e,n){"use strict";var r,o,i=(r=t("./smartbanner.js"))&&r.__esModule?r:{default:r};window.addEventListener("load",function(){(o=new i.default).apiEnabled?window.smartbanner=o:o.publish()})},{"./smartbanner.js":5}],4:[function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;n.default=function(){var t;function e(){if(!(this instanceof e))throw TypeError("Cannot call a class as a function")}return t=[{key:"parse",value:function(){var t=document.getElementsByTagName("meta"),e={};return Array.apply(null,t).forEach(function(t){var n,r,o=null,i=t.getAttribute("name"),a=t.getAttribute("content");i&&a&&-1!==(n=i).indexOf("smartbanner:")&&n.split(":")[1].length>0&&a.length>0&&(-1!==(o=i.split(":")[1]).indexOf("-")&&((r=o.split("-")).map(function(t,e){e>0&&(r[e]=t.charAt(0).toUpperCase()+t.substring(1))}
1),o=r.join("")),e[o]=a)}),e}}],function(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,function(t){var e=function(t,e){if("object"!==r(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,e||"default");if("object"!==r(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===r(e)?e:String(e)}(o.key),o)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}()},{}],5:[function(t,e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=a(t("./optionparser.js")),o=a(t("./detector.js")),i=a(t("./bakery.js"));function a(t){return t&&t.__esModule?t:{default:t}}function u(t){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var s="data-smartbanner-original-top",l="data-smartbanner-original-margin-top";function c(t){this.positioningDisabled||f(t.data.height)}function f(t){for(var e,n=o.default.wrapperElement(),r=0,i=n.length;r<i;r++)if(e=n[r],o.default.jQueryMobilePage()){if(e.getAttribute(s))continue;var a=parseFloat(getComputedStyle(e).top);e.setAttribute(s,isNaN(a)?0:a),e.style.top=t+"px"}else{if(e.getAttribute(l))continue;var u=parseFloat(getComputedStyle(e).marginTop);e.setAttribute(l,isNaN(u)?0:u),e.style.marginTop=t+"px"}}n.default=function(){var t;function e(){if(!(this instanceof e))throw TypeError("Cannot call a class as a function");var t=new r.default;this.options=t.parse(),this.platform=o.default.platform();var n=new Event("smartbanner.init");document.dispatchEvent(n)}return t=[{key:"originalTop",get:function(){return parseFloat(o.default.wrapperElement()[0].getAttribute(s))}},{key:"originalTopMargin",get:function(){return parseFloat(o.default.wrapperElement()[0].getAttribute(l))}},{key:"priceSuffix",get:function(){return"ios"===this.platform&&this.options.priceSuffixApple?this.options.priceSuffixApple:"android"===this.platform&&this.options.priceSuffixGoogle?this.options.priceSuffixGoogle:""}},{key:"icon",get:function(){return"android"===this.platform?this.options.iconGoogle:this.options.iconApple}},{key:"buttonUrl",get:function(){return"android"===this.platform?this.options.buttonUrlGoogle:"ios"===this.platform?this.options.buttonUrlApple:"#"}},{key:"closeLabel",get:function(){return void 0!==this.options.closeLabel?this.options.closeLabel:"Close"}},{key:"html",get:function(){var t=this.options.customDesignModifier?this.options.customDesignModifier:this.platform;return'<div class="smartbanner smartbanner--'.concat(t,' js_smartbanner">\n <a href="javascript:void(0);" class="smartbanner__exit js_smartbanner__exit" aria-label="').concat(this.closeLabel,'"></a>\n <div class="smartbanner__icon" style="background-image: url(').concat(this.icon,');"></div>\n <div class="smartbanner__info">\n <div>\n <div class="smartbanner__info__title">').concat(this.options.title,'</div>\n <div class="smartbanner__info__author">').concat(this.options.author,'</div>\n <div class="smartbanner__info__price">').concat(this.options.price).concat(this.priceSuffix,'</div>\n </div>\n </div>\n <a href="').concat(this.buttonUrl,'" target="_blank" class="smartbanner__button js_smartbanner__button" rel="noopener" aria-label="').concat(this.options.button,'"><span class="smartbanner__button__label">').concat(this.options.button,"</span></a>\n </div>")}},{key:"height",get:function(){try{return document.querySelector(".js_smartbanner").offsetHeight}catch(t){return 0}}},{key:"platformEnabled",get:function(){var t=this.options.enabledPlatforms||"android,ios";return t&&-1!==t.replace(/\s+/g,"").split(",").indexOf(this.platform)}},{key:"positioningDisabled",get:function(){return"true"===this.options.disablePositioning}},{key:"apiEnabled",get:function(){return"true"===this.options.api}},{key:"userAgentExcluded",get:function(){return!!this.options.excludeUserAgentRegex&&o.default.userAgentMatchesRegex(this.options.excludeUserAgentRegex)}},{key:"userAgentIncluded",get:function(){return!!this.options.includeUserAgentRegex&&o.default.userAgentMatchesRegex(this.options.includeUserAgentRegex)}},{key:"hideTtl",get:function(){return!!this.options.hideTtl&&parseInt(this.options.hideTtl)}},{key:"hidePath",get:function(){return this.options.hidePath?this.options.hidePath:"/"}},{key:"publish",value:function(){if(0===Object.keys(this.options).length)throw Error("No options detected. Please consult documentation.");
1if(i.default.baked||this.userAgentExcluded||!(this.platformEnabled||this.userAgentIncluded))return!1;var t,e=document.createElement("div");document.querySelector("body").appendChild(e),e.outerHTML=this.html;var n=new Event("smartbanner.view");document.dispatchEvent(n),this.positioningDisabled||f(this.height),t=this,document.querySelector(".js_smartbanner__exit").addEventListener("click",function(e){t.exit(),e.preventDefault()}),document.querySelector(".js_smartbanner__button").addEventListener("click",function(e){t.clickout()}),o.default.jQueryMobilePage()&&$(document).on("pagebeforeshow",t,c)}},{key:"exit",value:function(){o.default.jQueryMobilePage()&&$(document).off("pagebeforeshow",c),this.positioningDisabled||function(){for(var t,e=o.default.wrapperElement(),n=0,r=e.length;n<r;n++)t=e[n],o.default.jQueryMobilePage()&&t.getAttribute(s)?t.style.top=t.getAttribute(s)+"px":t.getAttribute(l)&&(t.style.marginTop=t.getAttribute(l)+"px")}();var t=document.querySelector(".js_smartbanner");document.querySelector("body").removeChild(t);var e=new Event("smartbanner.exit");document.dispatchEvent(e),i.default.bake(this.hideTtl,this.hidePath)}},{key:"clickout",value:function(){var t=new Event("smartbanner.clickout");document.dispatchEvent(t)}}],function(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,function(t){var e=function(t,e){if("object"!==u(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!==u(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===u(e)?e:String(e)}(r.key),r)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}()},{"./bakery.js":1,"./detector.js":2,"./optionparser.js":4}]},{},[3])},8910:function(t,e,n){"use strict";t.exports={}}},e={};function n(r){var o=e[r];if(void 0!==o)return o.exports;var i=e[r]={exports:{}};return t[r](i,i.exports,n),i.exports}n.m=t,n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,{a:e}),e},n.d=function(t,e){for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.k=function(t){return""+t+".css"},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.p="/themes/scoop/dist/",n.rv=function(){return"1.5.8"},n.ruid="[email protected]",function(){"use strict";n(5161),n(8910)}()}();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.