rel.fr.activastore.com
Open in
urlscan Pro
95.131.136.1
Public Scan
Submitted URL: http://rel.fr.activastore.com/
Effective URL: https://rel.fr.activastore.com/
Submission: On September 10 via api from FR — Scanned from FR
Effective URL: https://rel.fr.activastore.com/
Submission: On September 10 via api from FR — Scanned from FR
Form analysis
0 forms found in the DOMText Content
!function(){"use strict";var e="undefined"==typeof global?self:global;if("function"!=typeof e.KWANKO_REQUIRE){var t={},i={},n={},r={}.hasOwnProperty,o=/^\.\.?(\/|$)/,s=function(e,t){for(var i,n=[],r=(o.test(t)?e+"/"+t:t).split("/"),s=0,a=r.length;s<a;s++)i=r[s],".."===i?n.pop():"."!==i&&""!==i&&n.push(i);return n.join("/")},a=function(e){return e.split("/").slice(0,-1).join("/")},l=function(t){return function(i){var n=s(a(t),i);return e.KWANKO_REQUIRE(n,t)}},u=function(e,t){var n=g&&g.createHot(e),r={id:e,exports:{},hot:n};return i[e]=r,t(r.exports,l(e),r),r.exports},c=function(e){return n[e]?c(n[e]):e},d=function(e,t){return c(s(a(e),t))},f=function(e,n){null==n&&(n="/");var o=c(e);if(r.call(i,o))return i[o].exports;if(r.call(t,o))return u(o,t[o]);throw new Error("Cannot find module '"+e+"' from '"+n+"'")};f.alias=function(e,t){n[t]=e};var h=/\.[^.\/]+$/,p=/\/index(\.[^\/]+)?$/,m=function(e){if(h.test(e)){var t=e.replace(h,"");r.call(n,t)&&n[t].replace(h,"")!==t+"/index"||(n[t]=e)}if(p.test(e)){var i=e.replace(p,"");r.call(n,i)||(n[i]=e)}};f.register=f.define=function(e,n){if(e&&"object"==typeof e)for(var o in e)r.call(e,o)&&f.register(o,e[o]);else t[e]=n,delete i[e],m(e)},f.list=function(){var e=[];for(var i in t)r.call(t,i)&&e.push(i);return e};var g=e._hmr&&new e._hmr(d,f,t,i);f._cache=i,f.hmr=g&&g.wrap,f.brunch=!0,e.KWANKO_REQUIRE=f}}(),function(){var e,t=("undefined"==typeof window?this:window,function(e,t,i){var n={},r=function(t,i){var o;try{return o=e(i+"/node_modules/"+t)}catch(s){if(s.toString().indexOf("Cannot find module")===-1)throw s;if(i.indexOf("node_modules")!==-1){var a=i.split("/"),l=a.lastIndexOf("node_modules"),u=a.slice(0,l).join("/");return r(t,u)}}return n};return function(o){if(o in t&&(o=t[o]),o){if("."!==o[0]&&i){var s=r(o,i);if(s!==n)return s}return e(o)}}});KWANKO_REQUIRE.register("core-js/es6/symbol.js",function(e,i,n){i=t(i,{},"core-js"),function(){i("../modules/es6.symbol"),i("../modules/es6.object.to-string"),n.exports=i("../modules/_core").Symbol}()}),KWANKO_REQUIRE.register("core-js/fn/object/assign.js",function(e,i,n){i=t(i,{},"core-js"),function(){i("../../modules/es6.object.assign"),n.exports=i("../../modules/_core").Object.assign}()}),KWANKO_REQUIRE.register("core-js/fn/promise.js",function(e,i,n){i=t(i,{},"core-js"),function(){i("../modules/es6.object.to-string"),i("../modules/es6.string.iterator"),i("../modules/web.dom.iterable"),i("../modules/es6.promise"),i("../modules/es7.promise.finally"),i("../modules/es7.promise.try"),n.exports=i("../modules/_core").Promise}()}),KWANKO_REQUIRE.register("core-js/modules/_a-function.js",function(e,i,n){i=t(i,{},"core-js"),function(){n.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}}()}),KWANKO_REQUIRE.register("core-js/modules/_add-to-unscopables.js",function(e,i,n){i=t(i,{},"core-js"),function(){var e=i("./_wks")("unscopables"),t=Array.prototype;void 0==t[e]&&i("./_hide")(t,e,{}),n.exports=function(i){t[e][i]=!0}}()}),KWANKO_REQUIRE.register("core-js/modules/_an-instance.js",function(e,i,n){i=t(i,{},"core-js"),function(){n.exports=function(e,t,i,n){if(!(e instanceof t)||void 0!==n&&n in e)throw TypeError(i+": incorrect invocation!");return e}}()}),KWANKO_REQUIRE.register("core-js/modules/_an-object.js",function(e,i,n){i=t(i,{},"core-js"),function(){var e=i("./_is-object");n.exports=function(t){if(!e(t))throw TypeError(t+" is not an object!");return t}}()}),KWANKO_REQUIRE.register("core-js/modules/_array-includes.js",function(e,i,n){i=t(i,{},"core-js"),function(){var e=i("./_to-iobject"),t=i("./_to-length"),r=i("./_to-absolute-index");n.exports=function(i){return function(n,o,s){var a,l=e(n),u=t(l.length),c=r(s,u);if(i&&o!=o){for(;u>c;)if(a=l[c++],a!=a)return!0}else for(;u>c;c++)if((i||c in l)&&l[c]===o)return i||c||0;return!i&&-1}}}()}),KWANKO_REQUIRE.register("core-js/modules/_classof.js",function(e,i,n){i=t(i,{},"core-js"),function(){var e=i("./_cof"),t=i("./_wks")("toStringTag"),r="Arguments"==e(function(){return arguments}()),o=function(e,t){try{return e[t]}catch(i){}};n.exports=function(i){var n,s,a;return void 0===i?"Undefined":null===i?"Null":"string"==typeof(s=o(n=Object(i),t))?s:r?e(n):"Object"==(a=e(n))&&"function"==typeof n.callee?"Arguments":a}}()}),KWANKO_REQUIRE.register("core-js/modules/_cof.js",function(e,i,n){i=t(i,{},"core-js"),function(){var e={}.toString;n.exports=function(t){return e.call(t).slice(8,-1)}}()}),KWANKO_REQUIRE.register("core-js/modules/_core.js",function(e,i,n){i=t(i,{},"core-js"),function(){var e=n.exports={version:"2.6.10"};"number"==typeof __e&&(__e=e)}()}),KWANKO_REQUIRE.register("core-js/modules/_ctx.js",function(e,i,n){i=t(i,{},"core-js"),function(){var e=i("./_a-function");n.exports=function(t,i,n){if(e(t),void 0===i)return t;switch(n){case 1:return function(e){return t.call(i,e)};case 2:return function(e,n){return t.call(i,e,n)};case 3:return function(e,n,r){return t.call(i,e,n,r)}}return function(){return t.apply(i,arguments)}}}()}),KWANKO_REQUIRE.register("core-js/modules/_defined.js",function(e,i,n){i=t(i,{},"core-js"),function(){n.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}}()}),KWANKO_REQUIRE.register("core-js/modules/_descriptors.js",function(e,i,n){i=t(i,{},"core-js"),function(){n.exports=!i("./_fails")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})}()}),KWANKO_REQUIRE.register("core-js/modules/_dom-create.js",function(e,i,n){i=t(i,{},"core-js"),function(){var e=i("./_is-object"),t=i("./_global").document,r=e(t)&&e(t.createElement);n.exports=function(e){return r?t.createElement(e):{}}}()}),KWANKO_REQUIRE.register("core-js/modules/_enum-bug-keys.js",function(e,i,n){i=t(i,{},"core-js"),function(){n.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")}()}),KWANKO_REQUIRE.register("core-js/modules/_enum-keys.js",function(e,i,n){i=t(i,{},"core-js"),function(){var e=i("./_object-keys"),t=i("./_object-gops"),r=i("./_object-pie");n.exports=function(i){var n=e(i),o=t.f;if(o)for(var s,a=o(i),l=r.f,u=0;a.length>u;)l.call(i,s=a[u++])&&n.push(s);return n}}()}),KWANKO_REQUIRE.register("core-js/modules/_export.js",function(e,i,n){i=t(i,{},"core-js"),function(){var e=i("./_global"),t=i("./_core"),r=i("./_hide"),o=i("./_redefine"),s=i("./_ctx"),a="prototype",l=function(i,n,u){var c,d,f,h,p=i&l.F,m=i&l.G,g=i&l.S,y=i&l.P,v=i&l.B,_=m?e:g?e[n]||(e[n]={}):(e[n]||{})[a],w=m?t:t[n]||(t[n]={}),b=w[a]||(w[a]={});m&&(u=n);for(c in u)d=!p&&_&&void 0!==_[c],f=(d?_:u)[c],h=v&&d?s(f,e):y&&"function"==typeof f?s(Function.call,f):f,_&&o(_,c,f,i&l.U),w[c]!=f&&r(w,c,h),y&&b[c]!=f&&(b[c]=f)};e.core=t,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,n.exports=l}()}),KWANKO_REQUIRE.register("core-js/modules/_fails.js",function(e,i,n){i=t(i,{},"core-js"),function(){n.exports=function(e){try{return!!e()}catch(t){return!0}}}()}),KWANKO_REQUIRE.register("core-js/modules/_for-of.js",function(e,i,n){i=t(i,{},"core-js"),function(){var e=i("./_ctx"),t=i("./_iter-call"),r=i("./_is-array-iter"),o=i("./_an-object"),s=i("./_to-length"),a=i("./core.get-iterator-method"),l={},u={},c=n.exports=function(i,n,c,d,f){var h,p,m,g,y=f?function(){return i}:a(i),v=e(c,d,n?2:1),_=0;if("function"!=typeof y)throw TypeError(i+" is not iterable!");if(r(y)){for(h=s(i.length);h>_;_++)if(g=n?v(o(p=i[_])[0],p[1]):v(i[_]),g===l||g===u)return g}else for(m=y.call(i);!(p=m.next()).done;)if(g=t(m,v,p.value,n),g===l||g===u)return g};c.BREAK=l,c.RETURN=u}()}),KWANKO_REQUIRE.register("core-js/modules/_function-to-string.js",function(e,i,n){i=t(i,{},"core-js"),function(){n.exports=i("./_shared")("native-function-to-string",Function.toString)}()}),KWANKO_REQUIRE.register("core-js/modules/_global.js",function(e,i,n){i=t(i,{},"core-js"),function(){var e=n.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)}()}),KWANKO_REQUIRE.register("core-js/modules/_has.js",function(e,i,n){i=t(i,{},"core-js"),function(){var e={}.hasOwnProperty;n.exports=function(t,i){return e.call(t,i)}}()}),KWANKO_REQUIRE.register("core-js/modules/_hide.js",function(e,i,n){i=t(i,{},"core-js"),function(){var e=i("./_object-dp"),t=i("./_property-desc");n.exports=i("./_descriptors")?function(i,n,r){return e.f(i,n,t(1,r))}:function(e,t,i){return e[t]=i,e}}()}),KWANKO_REQUIRE.register("core-js/modules/_html.js",function(e,i,n){i=t(i,{},"core-js"),function(){var e=i("./_global").document;n.exports=e&&e.documentElement}()}),KWANKO_REQUIRE.register("core-js/modules/_ie8-dom-define.js",function(e,i,n){i=t(i,{},"core-js"),function(){n.exports=!i("./_descriptors")&&!i("./_fails")(function(){return 7!=Object.defineProperty(i("./_dom-create")("div"),"a",{get:function(){return 7}}).a})}()}),KWANKO_REQUIRE.register("core-js/modules/_invoke.js",function(e,i,n){i=t(i,{},"core-js"),function(){n.exports=function(e,t,i){var n=void 0===i;switch(t.length){case 0:return n?e():e.call(i);case 1:return n?e(t[0]):e.call(i,t[0]);case 2:return n?e(t[0],t[1]):e.call(i,t[0],t[1]);case 3:return n?e(t[0],t[1],t[2]):e.call(i,t[0],t[1],t[2]);case 4:return n?e(t[0],t[1],t[2],t[3]):e.call(i,t[0],t[1],t[2],t[3])}return e.apply(i,t)}}()}),KWANKO_REQUIRE.register("core-js/modules/_iobject.js",function(e,i,n){i=t(i,{},"core-js"),function(){var e=i("./_cof");n.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==e(t)?t.split(""):Object(t)}}()}),KWANKO_REQUIRE.register("core-js/modules/_is-array-iter.js",function(e,i,n){i=t(i,{},"core-js"),function(){var e=i("./_iterators"),t=i("./_wks")("iterator"),r=Array.prototype;n.exports=function(i){return void 0!==i&&(e.Array===i||r[t]===i)}}()}),KWANKO_REQUIRE.register("core-js/modules/_is-array.js",function(e,i,n){i=t(i,{},"core-js"),function(){var e=i("./_cof");n.exports=Array.isArray||function(t){return"Array"==e(t)}}()}),KWANKO_REQUIRE.register("core-js/modules/_is-object.js",function(e,i,n){i=t(i,{},"core-js"),function(){n.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}}()}),KWANKO_REQUIRE.register("core-js/modules/_iter-call.js",function(e,i,n){i=t(i,{},"core-js"),function(){var e=i("./_an-object");n.exports=function(t,i,n,r){try{return r?i(e(n)[0],n[1]):i(n)}catch(o){var s=t["return"];throw void 0!==s&&e(s.call(t)),o}}}()}),KWANKO_REQUIRE.register("core-js/modules/_iter-create.js",function(e,i,n){i=t(i,{},"core-js"),function(){"use strict";var e=i("./_object-create"),t=i("./_property-desc"),r=i("./_set-to-string-tag"),o={};i("./_hide")(o,i("./_wks")("iterator"),function(){return this}),n.exports=function(i,n,s){i.prototype=e(o,{next:t(1,s)}),r(i,n+" Iterator")}}()}),KWANKO_REQUIRE.register("core-js/modules/_iter-define.js",function(e,i,n){i=t(i,{},"core-js"),function(){"use strict";var e=i("./_library"),t=i("./_export"),r=i("./_redefine"),o=i("./_hide"),s=i("./_iterators"),a=i("./_iter-create"),l=i("./_set-to-string-tag"),u=i("./_object-gpo"),c=i("./_wks")("iterator"),d=!([].keys&&"next"in[].keys()),f="@@iterator",h="keys",p="values",m=function(){return this};n.exports=function(i,n,g,y,v,_,w){a(g,n,y);var b,E,S,T=function(e){if(!d&&e in P)return P[e];switch(e){case h:return function(){return new g(this,e)};case p:return function(){return new g(this,e)}}return function(){return new g(this,e)}},C=n+" Iterator",j=v==p,k=!1,P=i.prototype,x=P[c]||P[f]||v&&P[v],O=x||T(v),A=v?j?T("entries"):O:void 0,L="Array"==n?P.entries||x:x;if(L&&(S=u(L.call(new i)),S!==Object.prototype&&S.next&&(l(S,C,!0),e||"function"==typeof S[c]||o(S,c,m))),j&&x&&x.name!==p&&(k=!0,O=function(){return x.call(this)}),e&&!w||!d&&!k&&P[c]||o(P,c,O),s[n]=O,s[C]=m,v)if(b={values:j?O:T(p),keys:_?O:T(h),entries:A},w)for(E in b)E in P||r(P,E,b[E]);else t(t.P+t.F*(d||k),n,b);return b}}()}),KWANKO_REQUIRE.register("core-js/modules/_iter-detect.js",function(e,i,n){i=t(i,{},"core-js"),function(){var e=i("./_wks")("iterator"),t=!1;try{var r=[7][e]();r["return"]=function(){t=!0},Array.from(r,function(){throw 2})}catch(o){}n.exports=function(i,n){if(!n&&!t)return!1;var r=!1;try{var o=[7],s=o[e]();s.next=function(){return{done:r=!0}},o[e]=function(){return s},i(o)}catch(a){}return r}}()}),KWANKO_REQUIRE.register("core-js/modules/_iter-step.js",function(e,i,n){i=t(i,{},"core-js"),function(){n.exports=function(e,t){return{value:t,done:!!e}}}()}),KWANKO_REQUIRE.register("core-js/modules/_iterators.js",function(e,i,n){i=t(i,{},"core-js"),function(){n.exports={}}()}),KWANKO_REQUIRE.register("core-js/modules/_library.js",function(e,i,n){i=t(i,{},"core-js"),function(){n.exports=!1}()}),KWANKO_REQUIRE.register("core-js/modules/_meta.js",function(e,i,n){i=t(i,{},"core-js"),function(){var e=i("./_uid")("meta"),t=i("./_is-object"),r=i("./_has"),o=i("./_object-dp").f,s=0,a=Object.isExtensible||function(){return!0},l=!i("./_fails")(function(){return a(Object.preventExtensions({}))}),u=function(t){o(t,e,{value:{i:"O"+ ++s,w:{}}})},c=function(i,n){if(!t(i))return"symbol"==typeof i?i:("string"==typeof i?"S":"P")+i;if(!r(i,e)){if(!a(i))return"F";if(!n)return"E";u(i)}return i[e].i},d=function(t,i){if(!r(t,e)){if(!a(t))return!0;if(!i)return!1;u(t)}return t[e].w},f=function(t){return l&&h.NEED&&a(t)&&!r(t,e)&&u(t),t},h=n.exports={KEY:e,NEED:!1,fastKey:c,getWeak:d,onFreeze:f}}()}),KWANKO_REQUIRE.register("core-js/modules/_microtask.js",function(e,i,n){i=t(i,{},"core-js"),function(){var e=i("./_global"),t=i("./_task").set,r=e.MutationObserver||e.WebKitMutationObserver,o=e.process,s=e.Promise,a="process"==i("./_cof")(o);n.exports=function(){var i,n,l,u=function(){var e,t;for(a&&(e=o.domain)&&e.exit();i;){t=i.fn,i=i.next;try{t()}catch(r){throw i?l():n=void 0,r}}n=void 0,e&&e.enter()};if(a)l=function(){o.nextTick(u)};else if(!r||e.navigator&&e.navigator.standalone)if(s&&s.resolve){var c=s.resolve(void 0);l=function(){c.then(u)}}else l=function(){t.call(e,u)};else{var d=!0,f=document.createTextNode("");new r(u).observe(f,{characterData:!0}),l=function(){f.data=d=!d}}return function(e){var t={fn:e,next:void 0};n&&(n.next=t),i||(i=t,l()),n=t}}}()}),KWANKO_REQUIRE.register("core-js/modules/_new-promise-capability.js",function(e,i,n){i=t(i,{},"core-js"),function(){"use strict";function e(e){var i,n;this.promise=new e(function(e,t){if(void 0!==i||void 0!==n)throw TypeError("Bad Promise constructor");i=e,n=t}),this.resolve=t(i),this.reject=t(n)}var t=i("./_a-function");n.exports.f=function(t){return new e(t)}}()}),KWANKO_REQUIRE.register("core-js/modules/_object-assign.js",function(e,i,n){i=t(i,{},"core-js"),function(){"use strict";var e=i("./_descriptors"),t=i("./_object-keys"),r=i("./_object-gops"),o=i("./_object-pie"),s=i("./_to-object"),a=i("./_iobject"),l=Object.assign;n.exports=!l||i("./_fails")(function(){var e={},t={},i=Symbol(),n="abcdefghijklmnopqrst";return e[i]=7,n.split("").forEach(function(e){t[e]=e}),7!=l({},e)[i]||Object.keys(l({},t)).join("")!=n})?function(i,n){for(var l=s(i),u=arguments.length,c=1,d=r.f,f=o.f;u>c;)for(var h,p=a(arguments[c++]),m=d?t(p).concat(d(p)):t(p),g=m.length,y=0;g>y;)h=m[y++],e&&!f.call(p,h)||(l[h]=p[h]);return l}:l}()}),KWANKO_REQUIRE.register("core-js/modules/_object-create.js",function(e,i,n){i=t(i,{},"core-js"),function(){var e=i("./_an-object"),t=i("./_object-dps"),r=i("./_enum-bug-keys"),o=i("./_shared-key")("IE_PROTO"),s=function(){},a="prototype",l=function(){var e,t=i("./_dom-create")("iframe"),n=r.length,o="<",s=">";for(t.style.display="none",i("./_html").appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write(o+"script"+s+"document.F=Object"+o+"/script"+s),e.close(),l=e.F;n--;)delete l[a][r[n]];return l()};n.exports=Object.create||function(i,n){var r;return null!==i?(s[a]=e(i),r=new s,s[a]=null,r[o]=i):r=l(),void 0===n?r:t(r,n)}}()}),KWANKO_REQUIRE.register("core-js/modules/_object-dp.js",function(e,i,n){i=t(i,{},"core-js"),function(){var t=i("./_an-object"),n=i("./_ie8-dom-define"),r=i("./_to-primitive"),o=Object.defineProperty;e.f=i("./_descriptors")?Object.defineProperty:function(e,i,s){if(t(e),i=r(i,!0),t(s),n)try{return o(e,i,s)}catch(a){}if("get"in s||"set"in s)throw TypeError("Accessors not supported!");return"value"in s&&(e[i]=s.value),e}}()}),KWANKO_REQUIRE.register("core-js/modules/_object-dps.js",function(e,i,n){i=t(i,{},"core-js"),function(){var e=i("./_object-dp"),t=i("./_an-object"),r=i("./_object-keys");n.exports=i("./_descriptors")?Object.defineProperties:function(i,n){t(i);for(var o,s=r(n),a=s.length,l=0;a>l;)e.f(i,o=s[l++],n[o]);return i}}()}),KWANKO_REQUIRE.register("core-js/modules/_object-gopd.js",function(e,i,n){i=t(i,{},"core-js"),function(){var t=i("./_object-pie"),n=i("./_property-desc"),r=i("./_to-iobject"),o=i("./_to-primitive"),s=i("./_has"),a=i("./_ie8-dom-define"),l=Object.getOwnPropertyDescriptor;e.f=i("./_descriptors")?l:function(e,i){if(e=r(e),i=o(i,!0),a)try{return l(e,i)}catch(u){}if(s(e,i))return n(!t.f.call(e,i),e[i])}}()}),KWANKO_REQUIRE.register("core-js/modules/_object-gopn-ext.js",function(e,i,n){i=t(i,{},"core-js"),function(){var e=i("./_to-iobject"),t=i("./_object-gopn").f,r={}.toString,o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return t(e)}catch(i){return o.slice()}};n.exports.f=function(i){return o&&"[object Window]"==r.call(i)?s(i):t(e(i))}}()}),KWANKO_REQUIRE.register("core-js/modules/_object-gopn.js",function(e,i,n){i=t(i,{},"core-js"),function(){var t=i("./_object-keys-internal"),n=i("./_enum-bug-keys").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(e){return t(e,n)}}()}),KWANKO_REQUIRE.register("core-js/modules/_object-gops.js",function(e,i,n){i=t(i,{},"core-js"),function(){e.f=Object.getOwnPropertySymbols}()}),KWANKO_REQUIRE.register("core-js/modules/_object-gpo.js",function(e,i,n){i=t(i,{},"core-js"),function(){var e=i("./_has"),t=i("./_to-object"),r=i("./_shared-key")("IE_PROTO"),o=Object.prototype;n.exports=Object.getPrototypeOf||function(i){return i=t(i),e(i,r)?i[r]:"function"==typeof i.constructor&&i instanceof i.constructor?i.constructor.prototype:i instanceof Object?o:null}}()}),KWANKO_REQUIRE.register("core-js/modules/_object-keys-internal.js",function(e,i,n){i=t(i,{},"core-js"),function(){var e=i("./_has"),t=i("./_to-iobject"),r=i("./_array-includes")(!1),o=i("./_shared-key")("IE_PROTO");n.exports=function(i,n){var s,a=t(i),l=0,u=[];for(s in a)s!=o&&e(a,s)&&u.push(s);for(;n.length>l;)e(a,s=n[l++])&&(~r(u,s)||u.push(s));return u}}()}),KWANKO_REQUIRE.register("core-js/modules/_object-keys.js",function(e,i,n){i=t(i,{},"core-js"),function(){var e=i("./_object-keys-internal"),t=i("./_enum-bug-keys");n.exports=Object.keys||function(i){return e(i,t)}}()}),KWANKO_REQUIRE.register("core-js/modules/_object-pie.js",function(e,i,n){i=t(i,{},"core-js"),function(){e.f={}.propertyIsEnumerable}()}),KWANKO_REQUIRE.register("core-js/modules/_perform.js",function(e,i,n){i=t(i,{},"core-js"),function(){n.exports=function(e){try{return{e:!1,v:e()}}catch(t){return{e:!0,v:t}}}}()}),KWANKO_REQUIRE.register("core-js/modules/_promise-resolve.js",function(e,i,n){i=t(i,{},"core-js"),function(){var e=i("./_an-object"),t=i("./_is-object"),r=i("./_new-promise-capability");n.exports=function(i,n){if(e(i),t(n)&&n.constructor===i)return n;var o=r.f(i),s=o.resolve;return s(n),o.promise}}()}),KWANKO_REQUIRE.register("core-js/modules/_property-desc.js",function(e,i,n){i=t(i,{},"core-js"),function(){n.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}}()}),KWANKO_REQUIRE.register("core-js/modules/_redefine-all.js",function(e,i,n){i=t(i,{},"core-js"),function(){var e=i("./_redefine");n.exports=function(t,i,n){for(var r in i)e(t,r,i[r],n);return t}}()}),KWANKO_REQUIRE.register("core-js/modules/_redefine.js",function(e,i,n){i=t(i,{},"core-js"),function(){var e=i("./_global"),t=i("./_hide"),r=i("./_has"),o=i("./_uid")("src"),s=i("./_function-to-string"),a="toString",l=(""+s).split(a);i("./_core").inspectSource=function(e){return s.call(e)},(n.exports=function(i,n,s,a){var u="function"==typeof s;u&&(r(s,"name")||t(s,"name",n)),i[n]!==s&&(u&&(r(s,o)||t(s,o,i[n]?""+i[n]:l.join(String(n)))),i===e?i[n]=s:a?i[n]?i[n]=s:t(i,n,s):(delete i[n],t(i,n,s)))})(Function.prototype,a,function(){return"function"==typeof this&&this[o]||s.call(this)})}()}),KWANKO_REQUIRE.register("core-js/modules/_set-species.js",function(e,i,n){i=t(i,{},"core-js"),function(){"use strict";var e=i("./_global"),t=i("./_object-dp"),r=i("./_descriptors"),o=i("./_wks")("species");n.exports=function(i){var n=e[i];r&&n&&!n[o]&&t.f(n,o,{configurable:!0,get:function(){return this}})}}()}),KWANKO_REQUIRE.register("core-js/modules/_set-to-string-tag.js",function(e,i,n){i=t(i,{},"core-js"),function(){var e=i("./_object-dp").f,t=i("./_has"),r=i("./_wks")("toStringTag");n.exports=function(i,n,o){i&&!t(i=o?i:i.prototype,r)&&e(i,r,{configurable:!0,value:n})}}()}),KWANKO_REQUIRE.register("core-js/modules/_shared-key.js",function(e,i,n){i=t(i,{},"core-js"),function(){var e=i("./_shared")("keys"),t=i("./_uid");n.exports=function(i){return e[i]||(e[i]=t(i))}}()}),KWANKO_REQUIRE.register("core-js/modules/_shared.js",function(e,i,n){i=t(i,{},"core-js"),function(){var e=i("./_core"),t=i("./_global"),r="__core-js_shared__",o=t[r]||(t[r]={});(n.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:e.version,mode:i("./_library")?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})}()}),KWANKO_REQUIRE.register("core-js/modules/_species-constructor.js",function(e,i,n){i=t(i,{},"core-js"),function(){var e=i("./_an-object"),t=i("./_a-function"),r=i("./_wks")("species");n.exports=function(i,n){var o,s=e(i).constructor;return void 0===s||void 0==(o=e(s)[r])?n:t(o)}}()}),KWANKO_REQUIRE.register("core-js/modules/_string-at.js",function(e,i,n){i=t(i,{},"core-js"),function(){var e=i("./_to-integer"),t=i("./_defined");n.exports=function(i){return function(n,r){var o,s,a=String(t(n)),l=e(r),u=a.length;return l<0||l>=u?i?"":void 0:(o=a.charCodeAt(l),o<55296||o>56319||l+1===u||(s=a.charCodeAt(l+1))<56320||s>57343?i?a.charAt(l):o:i?a.slice(l,l+2):(o-55296<<10)+(s-56320)+65536)}}}()}),KWANKO_REQUIRE.register("core-js/modules/_task.js",function(e,i,n){i=t(i,{},"core-js"),function(){var e,t,r,o=i("./_ctx"),s=i("./_invoke"),a=i("./_html"),l=i("./_dom-create"),u=i("./_global"),c=u.process,d=u.setImmediate,f=u.clearImmediate,h=u.MessageChannel,p=u.Dispatch,m=0,g={},y="onreadystatechange",v=function(){var e=+this;if(g.hasOwnProperty(e)){var t=g[e];delete g[e],t()}},_=function(e){v.call(e.data)};d&&f||(d=function(t){for(var i=[],n=1;arguments.length>n;)i.push(arguments[n++]);return g[++m]=function(){s("function"==typeof t?t:Function(t),i)},e(m),m},f=function(e){delete g[e]},"process"==i("./_cof")(c)?e=function(e){c.nextTick(o(v,e,1))}:p&&p.now?e=function(e){p.now(o(v,e,1))}:h?(t=new h,r=t.port2,t.port1.onmessage=_,e=o(r.postMessage,r,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts?(e=function(e){u.postMessage(e+"","*")},u.addEventListener("message",_,!1)):e=y in l("script")?function(e){a.appendChild(l("script"))[y]=function(){a.removeChild(this),v.call(e)}}:function(e){setTimeout(o(v,e,1),0)}),n.exports={set:d,clear:f}}()}),KWANKO_REQUIRE.register("core-js/modules/_to-absolute-index.js",function(e,i,n){i=t(i,{},"core-js"),function(){var e=i("./_to-integer"),t=Math.max,r=Math.min;n.exports=function(i,n){return i=e(i),i<0?t(i+n,0):r(i,n)}}()}),KWANKO_REQUIRE.register("core-js/modules/_to-integer.js",function(e,i,n){i=t(i,{},"core-js"),function(){var e=Math.ceil,t=Math.floor;n.exports=function(i){return isNaN(i=+i)?0:(i>0?t:e)(i)}}()}),KWANKO_REQUIRE.register("core-js/modules/_to-iobject.js",function(e,i,n){i=t(i,{},"core-js"),function(){var e=i("./_iobject"),t=i("./_defined");n.exports=function(i){return e(t(i))}}()}),KWANKO_REQUIRE.register("core-js/modules/_to-length.js",function(e,i,n){i=t(i,{},"core-js"),function(){var e=i("./_to-integer"),t=Math.min;n.exports=function(i){return i>0?t(e(i),9007199254740991):0}}()}),KWANKO_REQUIRE.register("core-js/modules/_to-object.js",function(e,i,n){i=t(i,{},"core-js"),function(){var e=i("./_defined");n.exports=function(t){return Object(e(t))}}()}),KWANKO_REQUIRE.register("core-js/modules/_to-primitive.js",function(e,i,n){i=t(i,{},"core-js"),function(){var e=i("./_is-object");n.exports=function(t,i){if(!e(t))return t;var n,r;if(i&&"function"==typeof(n=t.toString)&&!e(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!e(r=n.call(t)))return r;if(!i&&"function"==typeof(n=t.toString)&&!e(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")}}()}),KWANKO_REQUIRE.register("core-js/modules/_uid.js",function(e,i,n){i=t(i,{},"core-js"),function(){var e=0,t=Math.random();n.exports=function(i){return"Symbol(".concat(void 0===i?"":i,")_",(++e+t).toString(36))}}()}),KWANKO_REQUIRE.register("core-js/modules/_user-agent.js",function(e,i,n){i=t(i,{},"core-js"),function(){var e=i("./_global"),t=e.navigator;n.exports=t&&t.userAgent||""}()}),KWANKO_REQUIRE.register("core-js/modules/_wks-define.js",function(e,i,n){i=t(i,{},"core-js"),function(){var e=i("./_global"),t=i("./_core"),r=i("./_library"),o=i("./_wks-ext"),s=i("./_object-dp").f;n.exports=function(i){var n=t.Symbol||(t.Symbol=r?{}:e.Symbol||{});"_"==i.charAt(0)||i in n||s(n,i,{value:o.f(i)})}}()}),KWANKO_REQUIRE.register("core-js/modules/_wks-ext.js",function(e,i,n){i=t(i,{},"core-js"),function(){e.f=i("./_wks")}()}),KWANKO_REQUIRE.register("core-js/modules/_wks.js",function(e,i,n){i=t(i,{},"core-js"),function(){var e=i("./_shared")("wks"),t=i("./_uid"),r=i("./_global").Symbol,o="function"==typeof r,s=n.exports=function(i){return e[i]||(e[i]=o&&r[i]||(o?r:t)("Symbol."+i))};s.store=e}()}),KWANKO_REQUIRE.register("core-js/modules/core.get-iterator-method.js",function(e,i,n){i=t(i,{},"core-js"),function(){var e=i("./_classof"),t=i("./_wks")("iterator"),r=i("./_iterators");n.exports=i("./_core").getIteratorMethod=function(i){if(void 0!=i)return i[t]||i["@@iterator"]||r[e(i)]}}()}),KWANKO_REQUIRE.register("core-js/modules/es6.array.iterator.js",function(e,i,n){i=t(i,{},"core-js"),function(){"use strict";var e=i("./_add-to-unscopables"),t=i("./_iter-step"),r=i("./_iterators"),o=i("./_to-iobject");n.exports=i("./_iter-define")(Array,"Array",function(e,t){this._t=o(e),this._i=0,this._k=t},function(){var e=this._t,i=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,t(1)):"keys"==i?t(0,n):"values"==i?t(0,e[n]):t(0,[n,e[n]])},"values"),r.Arguments=r.Array,e("keys"),e("values"),e("entries")}()}),KWANKO_REQUIRE.register("core-js/modules/es6.object.assign.js",function(e,i,n){i=t(i,{},"core-js"),function(){var e=i("./_export");e(e.S+e.F,"Object",{assign:i("./_object-assign")})}()}),KWANKO_REQUIRE.register("core-js/modules/es6.object.to-string.js",function(e,i,n){i=t(i,{},"core-js"),function(){"use strict";var e=i("./_classof"),t={};t[i("./_wks")("toStringTag")]="z",t+""!="[object z]"&&i("./_redefine")(Object.prototype,"toString",function(){return"[object "+e(this)+"]"},!0)}()}),KWANKO_REQUIRE.register("core-js/modules/es6.promise.js",function(e,i,n){i=t(i,{},"core-js"),function(){"use strict";var e,t,n,r,o=i("./_library"),s=i("./_global"),a=i("./_ctx"),l=i("./_classof"),u=i("./_export"),c=i("./_is-object"),d=i("./_a-function"),f=i("./_an-instance"),h=i("./_for-of"),p=i("./_species-constructor"),m=i("./_task").set,g=i("./_microtask")(),y=i("./_new-promise-capability"),v=i("./_perform"),_=i("./_user-agent"),w=i("./_promise-resolve"),b="Promise",E=s.TypeError,S=s.process,T=S&&S.versions,C=T&&T.v8||"",j=s[b],k="process"==l(S),P=function(){},x=t=y.f,O=!!function(){try{var e=j.resolve(1),t=(e.constructor={})[i("./_wks")("species")]=function(e){e(P,P)};return(k||"function"==typeof PromiseRejectionEvent)&&e.then(P)instanceof t&&0!==C.indexOf("6.6")&&_.indexOf("Chrome/66")===-1}catch(n){}}(),A=function(e){var t;return!(!c(e)||"function"!=typeof(t=e.then))&&t},L=function(e,t){if(!e._n){e._n=!0;var i=e._c;g(function(){for(var n=e._v,r=1==e._s,o=0,s=function(t){var i,o,s,a=r?t.ok:t.fail,l=t.resolve,u=t.reject,c=t.domain;try{a?(r||(2==e._h&&M(e),e._h=1),a===!0?i=n:(c&&c.enter(),i=a(n),c&&(c.exit(),s=!0)),i===t.promise?u(E("Promise-chain cycle")):(o=A(i))?o.call(i,l,u):l(i)):u(n)}catch(d){c&&!s&&c.exit(),u(d)}};i.length>o;)s(i[o++]);e._c=[],e._n=!1,t&&!e._h&&I(e)})}},I=function(e){m.call(s,function(){var t,i,n,r=e._v,o=N(e);if(o&&(t=v(function(){k?S.emit("unhandledRejection",r,e):(i=s.onunhandledrejection)?i({promise:e,reason:r}):(n=s.console)&&n.error&&n.error("Unhandled promise rejection",r)}),e._h=k||N(e)?2:1),e._a=void 0,o&&t.e)throw t.v})},N=function(e){return 1!==e._h&&0===(e._a||e._c).length},M=function(e){m.call(s,function(){var t;k?S.emit("rejectionHandled",e):(t=s.onrejectionhandled)&&t({promise:e,reason:e._v})})},R=function(e){var t=this;t._d||(t._d=!0,t=t._w||t,t._v=e,t._s=2,t._a||(t._a=t._c.slice()),L(t,!0))},B=function(e){var t,i=this;if(!i._d){i._d=!0,i=i._w||i;try{if(i===e)throw E("Promise can't be resolved itself");(t=A(e))?g(function(){var n={_w:i,_d:!1};try{t.call(e,a(B,n,1),a(R,n,1))}catch(r){R.call(n,r)}}):(i._v=e,i._s=1,L(i,!1))}catch(n){R.call({_w:i,_d:!1},n)}}};O||(j=function(t){f(this,j,b,"_h"),d(t),e.call(this);try{t(a(B,this,1),a(R,this,1))}catch(i){R.call(this,i)}},e=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},e.prototype=i("./_redefine-all")(j.prototype,{then:function(e,t){var i=x(p(this,j));return i.ok="function"!=typeof e||e,i.fail="function"==typeof t&&t,i.domain=k?S.domain:void 0,this._c.push(i),this._a&&this._a.push(i),this._s&&L(this,!1),i.promise},"catch":function(e){return this.then(void 0,e)}}),n=function(){var t=new e;this.promise=t,this.resolve=a(B,t,1),this.reject=a(R,t,1)},y.f=x=function(e){return e===j||e===r?new n(e):t(e)}),u(u.G+u.W+u.F*!O,{Promise:j}),i("./_set-to-string-tag")(j,b),i("./_set-species")(b),r=i("./_core")[b],u(u.S+u.F*!O,b,{reject:function(e){var t=x(this),i=t.reject;return i(e),t.promise}}),u(u.S+u.F*(o||!O),b,{resolve:function(e){return w(o&&this===r?j:this,e)}}),u(u.S+u.F*!(O&&i("./_iter-detect")(function(e){j.all(e)["catch"](P)})),b,{all:function(e){var t=this,i=x(t),n=i.resolve,r=i.reject,o=v(function(){var i=[],o=0,s=1;h(e,!1,function(e){var a=o++,l=!1;i.push(void 0),s++,t.resolve(e).then(function(e){l||(l=!0,i[a]=e,--s||n(i))},r)}),--s||n(i)});return o.e&&r(o.v),i.promise},race:function(e){var t=this,i=x(t),n=i.reject,r=v(function(){h(e,!1,function(e){t.resolve(e).then(i.resolve,n)})});return r.e&&n(r.v),i.promise}})}()}),KWANKO_REQUIRE.register("core-js/modules/es6.string.iterator.js",function(e,i,n){i=t(i,{},"core-js"),function(){"use strict";var e=i("./_string-at")(!0);i("./_iter-define")(String,"String",function(e){this._t=String(e),this._i=0},function(){var t,i=this._t,n=this._i;return n>=i.length?{value:void 0,done:!0}:(t=e(i,n),this._i+=t.length,{value:t,done:!1})})}()}),KWANKO_REQUIRE.register("core-js/modules/es6.symbol.js",function(e,i,n){i=t(i,{},"core-js"),function(){"use strict";var e=i("./_global"),t=i("./_has"),n=i("./_descriptors"),r=i("./_export"),o=i("./_redefine"),s=i("./_meta").KEY,a=i("./_fails"),l=i("./_shared"),u=i("./_set-to-string-tag"),c=i("./_uid"),d=i("./_wks"),f=i("./_wks-ext"),h=i("./_wks-define"),p=i("./_enum-keys"),m=i("./_is-array"),g=i("./_an-object"),y=i("./_is-object"),v=i("./_to-object"),_=i("./_to-iobject"),w=i("./_to-primitive"),b=i("./_property-desc"),E=i("./_object-create"),S=i("./_object-gopn-ext"),T=i("./_object-gopd"),C=i("./_object-gops"),j=i("./_object-dp"),k=i("./_object-keys"),P=T.f,x=j.f,O=S.f,A=e.Symbol,L=e.JSON,I=L&&L.stringify,N="prototype",M=d("_hidden"),R=d("toPrimitive"),B={}.propertyIsEnumerable,D=l("symbol-registry"),z=l("symbols"),W=l("op-symbols"),K=Object[N],U="function"==typeof A&&!!C.f,H=e.QObject,q=!H||!H[N]||!H[N].findChild,F=n&&a(function(){return 7!=E(x({},"a",{get:function(){return x(this,"a",{value:7}).a}})).a})?function(e,t,i){var n=P(K,t);n&&delete K[t],x(e,t,i),n&&e!==K&&x(K,t,n)}:x,Y=function(e){var t=z[e]=E(A[N]);return t._k=e,t},V=U&&"symbol"==typeof A.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof A},G=function(e,i,n){return e===K&&G(W,i,n),g(e),i=w(i,!0),g(n),t(z,i)?(n.enumerable?(t(e,M)&&e[M][i]&&(e[M][i]=!1),n=E(n,{enumerable:b(0,!1)})):(t(e,M)||x(e,M,b(1,{})),e[M][i]=!0),F(e,i,n)):x(e,i,n)},X=function(e,t){g(e);for(var i,n=p(t=_(t)),r=0,o=n.length;o>r;)G(e,i=n[r++],t[i]);return e},J=function(e,t){return void 0===t?E(e):X(E(e),t)},Z=function(e){ var i=B.call(this,e=w(e,!0));return!(this===K&&t(z,e)&&!t(W,e))&&(!(i||!t(this,e)||!t(z,e)||t(this,M)&&this[M][e])||i)},$=function(e,i){if(e=_(e),i=w(i,!0),e!==K||!t(z,i)||t(W,i)){var n=P(e,i);return!n||!t(z,i)||t(e,M)&&e[M][i]||(n.enumerable=!0),n}},Q=function(e){for(var i,n=O(_(e)),r=[],o=0;n.length>o;)t(z,i=n[o++])||i==M||i==s||r.push(i);return r},ee=function(e){for(var i,n=e===K,r=O(n?W:_(e)),o=[],s=0;r.length>s;)!t(z,i=r[s++])||n&&!t(K,i)||o.push(z[i]);return o};U||(A=function(){if(this instanceof A)throw TypeError("Symbol is not a constructor!");var e=c(arguments.length>0?arguments[0]:void 0),i=function(n){this===K&&i.call(W,n),t(this,M)&&t(this[M],e)&&(this[M][e]=!1),F(this,e,b(1,n))};return n&&q&&F(K,e,{configurable:!0,set:i}),Y(e)},o(A[N],"toString",function(){return this._k}),T.f=$,j.f=G,i("./_object-gopn").f=S.f=Q,i("./_object-pie").f=Z,C.f=ee,n&&!i("./_library")&&o(K,"propertyIsEnumerable",Z,!0),f.f=function(e){return Y(d(e))}),r(r.G+r.W+r.F*!U,{Symbol:A});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ie=0;te.length>ie;)d(te[ie++]);for(var ne=k(d.store),re=0;ne.length>re;)h(ne[re++]);r(r.S+r.F*!U,"Symbol",{"for":function(e){return t(D,e+="")?D[e]:D[e]=A(e)},keyFor:function(e){if(!V(e))throw TypeError(e+" is not a symbol!");for(var t in D)if(D[t]===e)return t},useSetter:function(){q=!0},useSimple:function(){q=!1}}),r(r.S+r.F*!U,"Object",{create:J,defineProperty:G,defineProperties:X,getOwnPropertyDescriptor:$,getOwnPropertyNames:Q,getOwnPropertySymbols:ee});var oe=a(function(){C.f(1)});r(r.S+r.F*oe,"Object",{getOwnPropertySymbols:function(e){return C.f(v(e))}}),L&&r(r.S+r.F*(!U||a(function(){var e=A();return"[null]"!=I([e])||"{}"!=I({a:e})||"{}"!=I(Object(e))})),"JSON",{stringify:function(e){for(var t,i,n=[e],r=1;arguments.length>r;)n.push(arguments[r++]);if(i=t=n[1],(y(t)||void 0!==e)&&!V(e))return m(t)||(t=function(e,t){if("function"==typeof i&&(t=i.call(this,e,t)),!V(t))return t}),n[1]=t,I.apply(L,n)}}),A[N][R]||i("./_hide")(A[N],R,A[N].valueOf),u(A,"Symbol"),u(Math,"Math",!0),u(e.JSON,"JSON",!0)}()}),KWANKO_REQUIRE.register("core-js/modules/es7.promise.finally.js",function(e,i,n){i=t(i,{},"core-js"),function(){"use strict";var e=i("./_export"),t=i("./_core"),n=i("./_global"),r=i("./_species-constructor"),o=i("./_promise-resolve");e(e.P+e.R,"Promise",{"finally":function(e){var i=r(this,t.Promise||n.Promise),s="function"==typeof e;return this.then(s?function(t){return o(i,e()).then(function(){return t})}:e,s?function(t){return o(i,e()).then(function(){throw t})}:e)}})}()}),KWANKO_REQUIRE.register("core-js/modules/es7.promise.try.js",function(e,i,n){i=t(i,{},"core-js"),function(){"use strict";var e=i("./_export"),t=i("./_new-promise-capability"),n=i("./_perform");e(e.S,"Promise",{"try":function(e){var i=t.f(this),r=n(e);return(r.e?i.reject:i.resolve)(r.v),i.promise}})}()}),KWANKO_REQUIRE.register("core-js/modules/web.dom.iterable.js",function(e,i,n){i=t(i,{},"core-js"),function(){for(var e=i("./es6.array.iterator"),t=i("./_object-keys"),n=i("./_redefine"),r=i("./_global"),o=i("./_hide"),s=i("./_iterators"),a=i("./_wks"),l=a("iterator"),u=a("toStringTag"),c=s.Array,d={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},f=t(d),h=0;h<f.length;h++){var p,m=f[h],g=d[m],y=r[m],v=y&&y.prototype;if(v&&(v[l]||o(v,l,c),v[u]||o(v,u,m),s[m]=c,g))for(p in e)v[p]||n(v,p,e[p],!0)}}()}),KWANKO_REQUIRE.register("process/browser.js",function(e,i,n){i=t(i,{},"process"),function(){function e(){throw new Error("setTimeout has not been defined")}function t(){throw new Error("clearTimeout has not been defined")}function i(t){if(u===setTimeout)return setTimeout(t,0);if((u===e||!u)&&setTimeout)return u=setTimeout,setTimeout(t,0);try{return u(t,0)}catch(i){try{return u.call(null,t,0)}catch(i){return u.call(this,t,0)}}}function r(e){if(c===clearTimeout)return clearTimeout(e);if((c===t||!c)&&clearTimeout)return c=clearTimeout,clearTimeout(e);try{return c(e)}catch(i){try{return c.call(null,e)}catch(i){return c.call(this,e)}}}function o(){p&&f&&(p=!1,f.length?h=f.concat(h):m=-1,h.length&&s())}function s(){if(!p){var e=i(o);p=!0;for(var t=h.length;t;){for(f=h,h=[];++m<t;)f&&f[m].run();m=-1,t=h.length}f=null,p=!1,r(e)}}function a(e,t){this.fun=e,this.array=t}function l(){}var u,c,d=n.exports={};!function(){try{u="function"==typeof setTimeout?setTimeout:e}catch(i){u=e}try{c="function"==typeof clearTimeout?clearTimeout:t}catch(i){c=t}}();var f,h=[],p=!1,m=-1;d.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];h.push(new a(e,t)),1!==h.length||p||i(s)},a.prototype.run=function(){this.fun.apply(null,this.array)},d.title="browser",d.browser=!0,d.env={},d.argv=[],d.version="",d.versions={},d.on=l,d.addListener=l,d.once=l,d.off=l,d.removeListener=l,d.removeAllListeners=l,d.emit=l,d.prependListener=l,d.prependOnceListener=l,d.listeners=function(e){return[]},d.binding=function(e){throw new Error("process.binding is not supported")},d.cwd=function(){return"/"},d.chdir=function(e){throw new Error("process.chdir is not supported")},d.umask=function(){return 0}}()}),KWANKO_REQUIRE.register("whatwg-fetch/fetch.js",function(e,i,n){i=t(i,{},"whatwg-fetch"),function(){!function(e){"use strict";function t(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function i(e){return"string"!=typeof e&&(e=String(e)),e}function n(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return y.iterable&&(t[Symbol.iterator]=function(){return t}),t}function r(e){this.map={},e instanceof r?e.forEach(function(e,t){this.append(t,e)},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function o(e){return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function s(e){return new Promise(function(t,i){e.onload=function(){t(e.result)},e.onerror=function(){i(e.error)}})}function a(e){var t=new FileReader,i=s(t);return t.readAsArrayBuffer(e),i}function l(e){var t=new FileReader,i=s(t);return t.readAsText(e),i}function u(e){for(var t=new Uint8Array(e),i=new Array(t.length),n=0;n<t.length;n++)i[n]=String.fromCharCode(t[n]);return i.join("")}function c(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function d(){return this.bodyUsed=!1,this._initBody=function(e){if(this._bodyInit=e,e)if("string"==typeof e)this._bodyText=e;else if(y.blob&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e;else if(y.formData&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(y.searchParams&&URLSearchParams.prototype.isPrototypeOf(e))this._bodyText=e.toString();else if(y.arrayBuffer&&y.blob&&_(e))this._bodyArrayBuffer=c(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer]);else{if(!y.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(e)&&!w(e))throw new Error("unsupported BodyInit type");this._bodyArrayBuffer=c(e)}else this._bodyText="";this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):y.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},y.blob&&(this.blob=function(){var e=o(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?o(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(a)}),this.text=function(){var e=o(this);if(e)return e;if(this._bodyBlob)return l(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(u(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},y.formData&&(this.formData=function(){return this.text().then(p)}),this.json=function(){return this.text().then(JSON.parse)},this}function f(e){var t=e.toUpperCase();return b.indexOf(t)>-1?t:e}function h(e,t){t=t||{};var i=t.body;if("string"==typeof e)this.url=e;else{if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new r(e.headers)),this.method=e.method,this.mode=e.mode,i||null==e._bodyInit||(i=e._bodyInit,e.bodyUsed=!0)}if(this.credentials=t.credentials||this.credentials||"omit",!t.headers&&this.headers||(this.headers=new r(t.headers)),this.method=f(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(i)}function p(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var i=e.split("="),n=i.shift().replace(/\+/g," "),r=i.join("=").replace(/\+/g," ");t.append(decodeURIComponent(n),decodeURIComponent(r))}}),t}function m(e){var t=new r;return e.split("\r\n").forEach(function(e){var i=e.split(":"),n=i.shift().trim();if(n){var r=i.join(":").trim();t.append(n,r)}}),t}function g(e,t){t||(t={}),this.type="default",this.status="status"in t?t.status:200,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new r(t.headers),this.url=t.url||"",this._initBody(e)}if(!e.fetch){var y={searchParams:"URLSearchParams"in e,iterable:"Symbol"in e&&"iterator"in Symbol,blob:"FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:"FormData"in e,arrayBuffer:"ArrayBuffer"in e};if(y.arrayBuffer)var v=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],_=function(e){return e&&DataView.prototype.isPrototypeOf(e)},w=ArrayBuffer.isView||function(e){return e&&v.indexOf(Object.prototype.toString.call(e))>-1};r.prototype.append=function(e,n){e=t(e),n=i(n);var r=this.map[e];r||(r=[],this.map[e]=r),r.push(n)},r.prototype["delete"]=function(e){delete this.map[t(e)]},r.prototype.get=function(e){var i=this.map[t(e)];return i?i[0]:null},r.prototype.getAll=function(e){return this.map[t(e)]||[]},r.prototype.has=function(e){return this.map.hasOwnProperty(t(e))},r.prototype.set=function(e,n){this.map[t(e)]=[i(n)]},r.prototype.forEach=function(e,t){Object.getOwnPropertyNames(this.map).forEach(function(i){this.map[i].forEach(function(n){e.call(t,n,i,this)},this)},this)},r.prototype.keys=function(){var e=[];return this.forEach(function(t,i){e.push(i)}),n(e)},r.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),n(e)},r.prototype.entries=function(){var e=[];return this.forEach(function(t,i){e.push([i,t])}),n(e)},y.iterable&&(r.prototype[Symbol.iterator]=r.prototype.entries);var b=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];h.prototype.clone=function(){return new h(this,{body:this._bodyInit})},d.call(h.prototype),d.call(g.prototype),g.prototype.clone=function(){return new g(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new r(this.headers),url:this.url})},g.error=function(){var e=new g(null,{status:0,statusText:""});return e.type="error",e};var E=[301,302,303,307,308];g.redirect=function(e,t){if(E.indexOf(t)===-1)throw new RangeError("Invalid status code");return new g(null,{status:t,headers:{location:e}})},e.Headers=r,e.Request=h,e.Response=g,e.fetch=function(e,t){return new Promise(function(i,n){var r=new h(e,t),o=new XMLHttpRequest;o.onload=function(){var e={status:o.status,statusText:o.statusText,headers:m(o.getAllResponseHeaders()||"")};e.url="responseURL"in o?o.responseURL:e.headers.get("X-Request-URL");var t="response"in o?o.response:o.responseText;i(new g(t,e))},o.onerror=function(){n(new TypeError("Network request failed"))},o.ontimeout=function(){n(new TypeError("Network request failed"))},o.open(r.method,r.url,!0),"include"===r.credentials&&(o.withCredentials=!0),"responseType"in o&&y.blob&&(o.responseType="blob"),r.headers.forEach(function(e,t){o.setRequestHeader(t,e)}),o.send("undefined"==typeof r._bodyInit?null:r._bodyInit)})},e.fetch.polyfill=!0}}("undefined"!=typeof self?self:this)}()}),KWANKO_REQUIRE.register("kwanko/axeptioConsent.js",function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var o=n(t("./utils")),s=(n(t("./displayAds")),{isConcerned:function(){if("undefined"!==this.cmpApiReady&&this.cmpApiReady)return!0;try{if(o["default"].debug("looking for window.axeptioSDK object as DOM is "+document.readyState),"object"===r(window.axeptioSDK))return o["default"].debug("Axeptio CMP detected !"),this.cmpApiReady=!0,!0}catch(e){console.error(e)}return o["default"].debug("no Axeptio CMP detected so far."),!1},kwkCheckConsent:function(e,t){if(this.isConcerned()){KwankoSDKLoader.cmpDetected=!0,this.displayCallback=e,this.displayParams=t;var i=this.kwkConsentCallback.bind(this);o["default"].debug("Register Axeptio CMP consent callback through cookies:complete event."),window._axcb=window._axcb||[],window._axcb.push(function(e){e.on("cookies:complete",i,{replay:!0,once:!0})})}},kwkConsentCallback:function(e){var t={},i="1",n="2",s="";if("object"===r(e)){if(o["default"].debug("Axeptio event callback fired."),2==o["default"].debugLevel&&o["default"].debug("Axeptio consent object :",e),e.hasOwnProperty("kwanko")){n=e.kwanko===!0?"1":e.kwanko===!1?"0":"2";var a={id:window.axeptioSDK.settings.clientId,tsnow:Date.now(),publishedAt:window.axeptioSDK.config.publishedAt,vendors:e};s=encodeURIComponent("axeptio_"+btoa(JSON.stringify(a)))}t.gdpr=i,t.gdpr_kwk=n,t.gdpr_consent=s,o["default"].debug("Axeptio fetched consent args : ",t),this.displayCallback(t)}else o["default"].debug("Failed to fetch consent from Axeptio listener."),this.displayCallback(t)}}),a=s;e["default"]=a}),KWANKO_REQUIRE.register("kwanko/constants.js",function(e,t,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var n={TRK_URL:"https://rel.fr.activastore.com/",POOL_URL:"https://action.metaffiliation.com/pool.php",CDN_LIB_REGEX_URL:"//action.metaffiliation.com",COOKIE_NAME:"__nanacktk",COOKIE_DEBUG:"kwkdebug",GEOLOCATION_STORAGE:"LastKnownLocation",MILISECONDS:1e3,CMP_WAIT_MS:500,LS_IFRAME_ID:"trknanalsid",LS_IFRAME_URL:"//rel.fr.activastore.com/kwanko-sdk-iframe.html",LS_VALUE_NAME:"kwanko_netals",LS_TIME_NAME:"kwanko_netalst",LSNC_VALUE_NAME:"kwkncls",LSNC_TIME_NAME:"kwknclst",PARAM_MAFF_NAME:"a",PARAM_EMP_NAME:"emp",SDK:"web",SDKV:"1.16",MOBILE_REGEX:new RegExp("Mobi"),PLACEMENT_TYPES:{UNKNOWN:"unknown",INLINE:"inline",INTERSTITIAL:"interstitial",OVERLAY:"overlay",OVERLAY_TOP:"overlayTop",OVERLAY_BOTTOM:"overlayBottom",PARALLAX:"parallax",SWIPE:"swipe"},CLOSE_BUTTON_BACKGROUND_STYLE_50:'url("https://rel.fr.activastore.com/na/na/res/trk/sdkjs/images/close_grey_50.png") 1px 1px no-repeat',CLOSE_BUTTON_BACKGROUND_STYLE_32:'url("https://rel.fr.activastore.com/na/na/res/trk/sdkjs/images/close_grey_32.png") no-repeat',HIGHESTSAFENUMBER:2147483647},r=n;e["default"]=r}),KWANKO_REQUIRE.register("kwanko/createUrl.js",function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var r=n(t("./constants")),o={buildTrackerUrl:function(e){var t=r["default"].TRK_URL;return/^E/.test(e.slotUUID)&&(t=r["default"].POOL_URL),t},buildTrackerMaffParam:function(e){var t=e.slotUUID,i={},n=r["default"].PARAM_MAFF_NAME;return/^E/.test(e.slotUUID)?(t=e.slotUUID.substring(1),n=r["default"].PARAM_EMP_NAME):/^X/.test(e.slotUUID)&&(t=e.slotUUID.substring(1)),i[n]="".concat(t),i}},s=o;e["default"]=s}),KWANKO_REQUIRE.register("kwanko/default/controller.js",function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var r=n(t("../constants")),o=n(t("../utils")),s={slot:null,container:null,overlayCountdown:0,init:function(e){this.container=e.container,this.overlayCountdown=e.overlayCountdown,this.placement=e.placement,this.formatSize=e.formatSize,this.customSdkCloseButton=e.customSdkCloseButton,this.zIndex=e.zIndex,"inline"!==e.placement&&(this.createCloseRegion(this.container,this.zIndex),this.setupCloseTimer())},createCloseRegion:function(e,t){var i=this,n=document.createElement("a");n.id="close-ad-button",n.style.position="absolute",n.style.top="0",n.style.right="0",o["default"].isResponsive()?(n.style.width="32px",n.style.height="32px"):(n.style.width="15%",n.style.height="15%"),t&&(n.style.zIndex=t),n.style.cursor="pointer",n.style.display="block",void 0===this.customSdkCloseButton?n.style.background=r["default"].CLOSE_BUTTON_BACKGROUND_STYLE_32:n.style.background="url("+this.customSdkCloseButton+")",n.style.backgroundSize="contain",this.placement===r["default"].PLACEMENT_TYPES.OVERLAY_BOTTOM&&(n.style.top="-30px",n.style.right="-3px"),e.appendChild(n),n.addEventListener("click",function(){return i.close()})},setupCloseTimer:function(){var e=this;this.overlayCountdown&&this.overlayCountdown>0&&setTimeout(function(){e.close()},1e3*this.overlayCountdown)},close:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;window.removeEventListener("scroll",o["default"].wrapperAnnonymousFunction),null!==e&&e.preventDefault(),this.placement!==r["default"].PLACEMENT_TYPES.OVERLAY_TOP&&this.currentPlacementType!==r["default"].PLACEMENT_TYPES.OVERLAY_BOTTOM||(document.body.style.marginTop=0,document.body.style.marginBottom=0);var t=this.container.parentNode;this.container.parentNode.removeChild(this.container),t.parentNode.removeChild(t)}},a=s;e["default"]=a}),KWANKO_REQUIRE.register("kwanko/default/loader.js",function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var r=n(t("./controller")),o=n(t("../utils")),s=n(t("../constants")),a={options:{slotUUID:null,container:null,uuid:null,ad:null,formatSize:null,placement:null,customSdkCloseButton:null,overlayCountdown:null,zIndex:null},init:function(e){return this.options=Object.assign(this.options,e),this},inject:function(){var e=[s["default"].PLACEMENT_TYPES.OVERLAY,s["default"].PLACEMENT_TYPES.OVERLAY_TOP,s["default"].PLACEMENT_TYPES.OVERLAY_BOTTOM],t=this.options.formatSize.width,i=this.options.formatSize.height;if(!o["default"].isResponsive()&&~e.indexOf(this.options.placement)){var n=i/(0!=t?t:1);t<i?window.innerHeight>window.innerWidth?(this.options.formatSize.width=.95*window.innerWidth,this.options.formatSize.height=n*this.options.formatSize.width):(this.options.formatSize.height=.95*window.innerHeight,this.options.formatSize.width=1/n*this.options.formatSize.height):window.innerHeight>window.innerWidth?(this.options.formatSize.width=.95*window.innerWidth,this.options.formatSize.height=n*this.options.formatSize.width):(this.options.formatSize.width=.95*window.innerWidth,this.options.formatSize.height=n*this.options.formatSize.width)}var a=this.checkTypeOfAd(),l=this.options.parallax?o["default"].createWrapperParallax(this.options,a):o["default"].createWrapper(this.options,a);o["default"].checkReferrer(l.slot,this.options.placement);var u={};return Object.assign(u,r["default"]),u.init({container:document.getElementById("adResizeContainer-".concat(this.options.uuid)),customSdkCloseButton:this.options.customSdkCloseButton,overlayCountdown:this.options.overlayCountdown,placement:this.options.placement,formatSize:this.options.formatSize,zIndex:this.options.zIndex?this.options.zIndex:null}),this},checkTypeOfAd:function(){var e;return e=!!/^X/.test(this.options.slotUUID)}},l=a;e["default"]=l}),KWANKO_REQUIRE.register("kwanko/displayAds.js",function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function r(e,t,i){var n={width:"",height:""};return"ratio"===i?e===t?(n.width=window.innerWidth,n.height=window.innerHeight):(n.width=e>t?window.innerWidth:window.innerHeight/t*e,n.height=e>t?window.innerWidth/e*t:window.innerHeight):(n.width=e,n.height=t),n}function o(e){var t={width:"",height:""};if(e.slice(0,e.search("x"))<=16){var i={width:e.slice(0,e.search("x")),height:e.slice(e.search("x")+1)};i.width===i.height?(t.width=window.innerWidth,t.height=window.innerHeight):(t.width=i.width>i.height?window.innerWidth:window.innerHeight/i.height*i.width,t.height=i.width>i.height?window.innerWidth/i.width*i.height:window.innerHeight)}else t.width=parseInt(e.slice(0,e.search("x"))),t.height=parseInt(e.slice(e.search("x")+1));if(!t.width||!t.height)throw"You have to provide both width and height";return t}Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var s=n(t("./utils")),a=n(t("./constants")),l=n(t("./trackingIframeStrategy")),u=n(t("./trackingAdStrategy")),c=n(t("./default/loader")),d=n(t("./mraid/loader")),f=n(t("./supports/banner")),h=n(t("./supports/pop")),p=n(t("./geolocationStrategy")),m={init:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i={width:window.innerWidth,height:window.innerHeight};if(0==t.length&&"function"==typeof e.callback.passback&&e.callback.passback(),s["default"].isString(t.ck)&&s["default"].isNumber(t.ckt)){var n=t.ck,c=Math.round(t.ckt*a["default"].MILISECONDS),d=s["default"].isDefined(t.trknc)&&1==t.trknc;s["default"].lsTest()&&(window.localStorage.setItem(d?a["default"].LSNC_VALUE_NAME:a["default"].LS_VALUE_NAME,n),window.localStorage.setItem(d?a["default"].LSNC_TIME_NAME:a["default"].LS_TIME_NAME,c)),l["default"].markUser(n,c,d)}if(!s["default"].isString(t.t))return!1;if(e.paramSlot.overrideFormatSize&&(i=o(e.paramSlot.overrideFormatSize)),s["default"].isDefined(t.adWidth)&&s["default"].isNumber(t.adWidth)&&(i=r(t.adWidth,t.adHeight,t.adSizeStrategy)),s["default"].setPlacementType(e.paramSlot,t),s["default"].isDefined(t.forceGeoloc)&&t.forceGeoloc===!0){p["default"].getGeolocation(t)}this.handleAdByType(t,e,i),u["default"].injectTrackingPixels(t.pan,t.pdf)},handleAdByType:function(e,t,i){var n=this;e.timeBeforeOverlay=e.timeBeforeOverlay?e.timeBeforeOverlay:0,setTimeout(function(){switch(e.t){case"S":s["default"].isObject(e.ret)&&s["default"].isString(e.ret.html)&&n.displaySimpleAd(t,e,i),s["default"].isObject(e.ret)&&s["default"].isNumber(e.ret.type)&&s["default"].isObject(e.ret.infos_display)&&n.displayBanner(e.id,e.ret);break;case"E":n.displayEmpAd(e,t,i);break;case"U":n.displayPopupAd(e.ret);break;case"D":n.displayPopunderAd(e.ret);break;case"T":n.displayPopintoAd(e.ret)}},e.timeBeforeOverlay*a["default"].MILISECONDS)},displaySimpleAd:function(e,t,i){var n=e.paramSlot.uid?e.paramSlot.uid:void 0;s["default"].isMRAIDCreative(t.ret.html)?d["default"].init({uuid:t.id,container:n,ad:t.ret.html,formatSize:i,placement:e.paramSlot.placement,customSdkCloseButton:e.paramSlot.customSdkCloseButton,overlayCountdown:t.overlayCountdown,swipeMode:e.paramSlot.swipeMode,trackingMraidEvents:t.ret.mraidEvents,parallax:e.paramSlot.parallax,parallaxHeight:e.paramSlot.parallaxHeight}).inject():c["default"].init({slotUUID:e.slotUUID,uuid:t.id,container:n,ad:t.ret.html,formatSize:i,sizeless:t.sizeless,sizelessParams:t.sizelessParams?t.sizelessParams:void 0,placement:e.paramSlot.placement,customSdkCloseButton:e.paramSlot.customSdkCloseButton,overlayCountdown:t.overlayCountdown,swipeMode:e.paramSlot.swipeMode,parallax:e.paramSlot.parallax,parallaxHeight:e.paramSlot.parallaxHeight,zIndex:e.paramSlot.zIndex?e.paramSlot.zIndex:void 0}).inject()},displayEmpAd:function(e,t,i){var n=this,r=window.document.getElementById(e.id);s["default"].isObject(r)&&(r.innerHTML=""),s["default"].isObject(e.ret)&&s["default"].isString(e.ret.html)&&(this.displaySimpleAd(t,e,i),setTimeout(function(){if(s["default"].isDefined(e.urlemp)){var i="".concat(e.urlemp);i+=(e.urlemp.indexOf("?")!==-1?"&":"?")+"r="+(new Date).getTime(),s["default"].submitPostInfos(i,t).then(s["default"].myBind(n,function(e){if(e&&e.trkhost){var n=new URL(i).hostname,r=new URL(e.trkhost).hostname;n!=r&&(i=i.replace(n,r),s["default"].submitPostInfos(i,t).then(s["default"].myBind(this,function(e){this.init(t,e)})))}else this.init(t,e)}))}},e.timer*a["default"].MILISECONDS))},displayBanner:function(e,t){if(s["default"].isDefined(e)&&s["default"].isDefined(t.type)&&s["default"].isDefined(t.infos_display)){var i=window.document.getElementById(e);s["default"].isObject(i)&&f["default"].init(i,t.type,t.infos_display)}},displayPopupAd:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.src,i="menubar=no,location=no,resizable=no,scrollbars=no,status=no,";i+="height=".concat(e.height,",width=").concat(e.width);var n=window.open(t,null,i);n.focus(),n.onload=function(){return document.title="Ad"}},displayPopunderAd:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.src,i="menubar=no,location=no,resizable=no,scrollbars=no,status=no,";i+="height=".concat(e.height,",width=").concat(e.width);var n=window.open(t,"Ad",i);n.blur(),n.onload=function(){return document.title="Ad"},window.focus()},displayPopintoAd:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};h["default"].init(e)}},g=m;e["default"]=g}),KWANKO_REQUIRE.register("kwanko/geolocationStrategy.js",function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function r(){var e={enableHighAccuracy:!0,timeout:2e4,maximumAge:0};navigator.geolocation.getCurrentPosition(function(e){var t=[e.coords.latitude,e.coords.longitude];window.localStorage.setItem(s["default"].GEOLOCATION_STORAGE,JSON.stringify(t)),o["default"].setCookie(s["default"].GEOLOCATION_STORAGE,JSON.stringify(t))},function(e){},e)}Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var o=n(t("./utils")),s=n(t("./constants")),a=(n(t("./createUrl")),n(t("./displayAds")),{getGeolocation:function(e){var t=null,i=window.localStorage.getItem(s["default"].GEOLOCATION_STORAGE),n=o["default"].getCookie(s["default"].GEOLOCATION_STORAGE);if(o["default"].isString(i)?(o["default"].setCookie(s["default"].GEOLOCATION_STORAGE,i),t=i):o["default"].isString(n)&&(window.localStorage.setItem(s["default"].GEOLOCATION_STORAGE,n),t=n),o["default"].isDefined(e.forceGeoloc)&&e.forceGeoloc===!0?r():o["default"].isDefined(navigator.geolocation)&&o["default"].isDefined(navigator.permissions)&&navigator.permissions.query({name:"geolocation"}).then(function(e){"granted"===e.state&&r()}),null===t)return[null,null];var a=JSON.parse(t);return o["default"].isArrayGeo(a)?a:[null,null]}}),l=a;e["default"]=l}),KWANKO_REQUIRE.register("kwanko/iabtcfv2.js",function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var r=n(t("./utils")),o=(n(t("./displayAds")),{isConcerned:function(){if("undefined"!==this.cmpApiReady&&this.cmpApiReady)return!0;try{if(r["default"].debug("looking for available __tcfapi as DOM is "+document.readyState),"function"==typeof window.__tcfapi)return r["default"].debug("IAB CMP detected !"),this.cmpApiReady=!0,!0}catch(e){console.error(e)}return r["default"].debug("no IAB CMP detected so far."),!1},kwkCheckConsent:function(e,t){if(this.isConcerned()){KwankoSDKLoader.cmpDetected=!0,this.displayCallback=e,this.displayParams=t;var i=this.kwkConsentCallback.bind(this);r["default"].debug("Register IAB CMP consent callback through __tcfapi addEventListener event"),__tcfapi("addEventListener",2,i)}},kwkConsentCallback:function(e,t){var i={},n="1",o="2",s="",a=[];!t||"tcloaded"!==e.eventStatus&&"useractioncomplete"!==e.eventStatus?t?r["default"].debug('IAB CMP successfully triggered with ignored status "'+e.eventStatus+'", wait for "tcloaded" or "useractioncomplete" event.'):t||this.displayCallback(i):(r["default"].debug("IAB CMP successfully triggered with status "+e.eventStatus),2==r["default"].debugLevel&&r["default"].debug("IAB CMP tcData object :",e),a=e.vendor.consents,n="undefined"==typeof e.gdprApplies?"2":e.gdprApplies?"1":"0",o="undefined"==typeof a[702]?"2":a[702]?"1":"0",s="string"==typeof e.tcString&&e.tcString.length>0?"iabtcfv2_"+e.tcString:"",r["default"].debug("Kwanko explicit consent from IAB CMP : "+(a[702]?a[702]:"na")),i.gdpr=n,i.gdpr_kwk=o,i.gdpr_consent=s,r["default"].debug("IAB fetched consent args : ",i),this.displayCallback(i),__tcfapi("removeEventListener",2,function(e){},e.listenerId))}}),s=o;e["default"]=s}),KWANKO_REQUIRE.register("kwanko/loader.js",function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t,i){var n={_self:m,slotUUID:e,paramSlot:t,callback:i};if(l["default"].isDefined(t.customHTML)&&l["default"].isString(t.customHTML)){var o=t.customHTML,u={ret:{html:o.replace(new RegExp("//script","g"),"/script")},t:"S"};return void d["default"].init(n,u)}if(l["default"].isDefined(t.customUrl)&&l["default"].isString(t.customUrl))return void s(t,n);var g=l["default"].submitPostInfos,y=[c["default"].buildTrackerUrl(n),n],v=d["default"].init,_=function(e,t,i){return"object"===r(t)&&Object.keys(t).length>0&&e&&e.hasOwnProperty("ret")&&e.ret.hasOwnProperty("html")&&(e.ret.html=e.ret.html.replace(i,i+"&"+Object.keys(t).map(function(e){return e+"="+encodeURIComponent(t[e])}).join("&"))),e},w=function(t){g.apply(l["default"],y).then(l["default"].myBind(n,function(i){i&&i.trkhost&&new URL(y[0]).hostname!=new URL(i.trkhost).hostname?(y[0]=i.trkhost,g.apply(l["default"],y).then(l["default"].myBind(n,function(i){v.apply(d["default"],[this,_(i,t,e)])}))):v.apply(d["default"],[this,_(i,t,e)])}))};if(f["default"].isConcerned())f["default"].kwkCheckConsent(w,t);else if(h["default"].isConcerned())h["default"].kwkCheckConsent(w,t);else if(p["default"].isConcerned())p["default"].kwkCheckConsent(w,t);else{var b=window.hasOwnProperty("KWKcmpWait")&&window.KWKcmpWait>0?window.KWKcmpWait:a["default"].CMP_WAIT_MS;setTimeout(function(){l["default"].debug("Wait "+b+"ms before final CMP check."),f["default"].kwkCheckConsent(w,t),h["default"].kwkCheckConsent(w,t),p["default"].kwkCheckConsent(w,t)},b),setTimeout(function(){m.cmpDetected||(l["default"].debug("No CMP detected after "+b+"ms, default display decision."),w())},b+200)}}function s(e,t){var i={"Content-Type":"text/html","Access-Control-Allow-Origin":"*"};fetch(e.customUrl,{method:"GET",headers:i,credentials:"include"}).then(function(e){return e.text()})["catch"](function(e){console.error("KwankoSDKLoader","Could not load the ad",e)}).then(function(e){var i={ret:{html:e},t:"S"};d["default"].init(t,i)})}Object.defineProperty(e,"__esModule",{value:!0}),e.KwankoSDKLoader=void 0,t("whatwg-fetch");var a=n(t("./constants")),l=n(t("./utils")),u=n(t("./trackingIframeStrategy")),c=n(t("./createUrl")),d=n(t("./displayAds")),f=n(t("./iabtcfv2")),h=n(t("./axeptioConsent")),p=n(t("./onetrustConsent")); n(t("core-js/fn/object/assign"));t("core-js/fn/promise");var m=(n(t("core-js/es6/symbol")),{cmpDetected:!1,lsValue:null,lsTime:null,lsNcValue:null,lsNcTime:null,lsReady:!1,getSlot:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!l["default"].isDefined(t))return void console.error("KwankoLoader","You must at least provide the slotUUID params");for(var r in i)if(i.hasOwnProperty(r)){var s=i[r];if("mobileMode"===r&&s===!0&&!a["default"].MOBILE_REGEX.test(navigator.userAgent))return}l["default"].documentReady(function(){if(!document.body){var r=document.createElement("body");document.firstElementChild.appendChild(r)}if(u["default"].init(),e.lsReady!==!0||l["default"].isDefined(e.lsValue))o(t,i,n);else var s=0,a=window.setInterval(function(){(l["default"].isDefined(e.lsValue)||s>=30)&&(window.clearInterval(a),o(t,i,n)),s++},10)})}});e.KwankoSDKLoader=m}),KWANKO_REQUIRE.register("kwanko/mraid/constants.js",function(e,t,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var n={VERSION:"2.0",STATES:{LOADING:"loading",DEFAULT:"default",EXPANDED:"expanded",RESIZED:"resized",HIDDEN:"hidden"},ORIENTATIONS:{NONE:"none",PORTRAIT:"portrait",LANDSCAPE:"landscape"},CLOSE_POSITIONS:{TOP_RIGHT:"top-right",TOP_LEFT:"top-left",BOTTOM_RIGHT:"bottom-right",BOTTOM_LEFT:"bottom-left"}},r=n;e["default"]=r}),KWANKO_REQUIRE.register("kwanko/mraid/controller.js",function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,t("whatwg-fetch");var r=n(t("./constants")),o=n(t("../constants")),s=n(t("./events")),a=n(t("./utils")),l=n(t("../utils")),u=function(){return{currentState:r["default"].STATES.LOADING,currentPlacementType:o["default"].PLACEMENT_TYPES.UNKNOWN,defaultPosition:{x:0,y:0,width:0,height:0},currentPosition:{x:0,y:0,width:0,height:0},expandProperties:{width:document.documentElement.clientWidth||window.innerWidth,height:document.documentElement.clientHeight||window.innerHeight,useCustomClose:!1,isModal:!0},supportedNativeFeatures:{sms:!1,tel:!1,calendar:!0,storePicture:!0,inlineVideo:!0},orientationProperties:{allowOrientationChange:!0,forceOrientation:r["default"].ORIENTATIONS.NONE},resizeProperties:{width:void 0,height:void 0,customClosePosition:r["default"].CLOSE_POSITIONS.TOP_RIGHT,offsetX:void 0,offsetY:void 0,allowOffscreen:!0},eventListeners:{},container:null,containerDocument:null,adResizeContainer:null,expandedContainer:null,closeRegion:null,overlayCountdown:0,formatSize:null,init:function(e){var t=this;this.container=e.iframe,this.adResizeContainer=e.adResizeContainer,this.customSdkCloseButton=e.customSdkCloseButton,this.overlayCountdown=e.overlayCountdown,this.formatSize=e.formatSize,this.trackingMraidEvents=e.trackingMraidEvents,e.placement?this.currentPlacementType=e.placement:this.currentPlacementType=o["default"].PLACEMENT_TYPES.INLINE;var i=this.container.contentWindow||this.container;this.containerDocument=i.document,this.checkNativeFeatures(),this.createCloseRegion(),this.monitorEvents(),this.currentPosition.width=this.formatSize.width,this.currentPosition.height=this.formatSize.height,this.currentPosition.x=this.adResizeContainer.parentNode.offsetLeft,this.currentPosition.y=this.adResizeContainer.parentNode.offsetTop,this.container.onload=function(){t.stateChange(r["default"].STATES.DEFAULT),t.fireEvent(s["default"].READY),t.resizeContainerToFit(!0),t.setupCloseTimer()}},checkNativeFeatures:function(){a["default"].isMobilePhone()&&(this.supportedNativeFeatures.sms=!0,this.supportedNativeFeatures.tel=!0)},monitorEvents:function(){var e=this;window.addEventListener("orientationchange",function(t){var i={width:screen.width,height:screen.height};e.expandProperties.width=i.width,e.expandProperties.height=i.height,e.orientationProperties.allowOrientationChange&&(e.getState()===r["default"].STATES.EXPANDED&&(e.currentPosition.width=i.width,e.currentPosition.height=i.height,e.adResizeContainer.style.width=i.width+"px",e.adResizeContainer.style.height=i.height+"px"),e.fireEvent(s["default"].SIZE_CHANGE,i.width,i.height),e.resizeContainerToFit())});var t=this;this.onScrollViewable=l["default"].myBind(t,this.onScrollViewable),window.addEventListener("scroll",this.onScrollViewable)},onScrollViewable:function(){if(!l["default"].isResponsive())switch(this.currentPlacementType){case o["default"].PLACEMENT_TYPES.INTERSTITIAL:this.currentPosition.x=scrollX,this.currentPosition.y=scrollY;break;case o["default"].PLACEMENT_TYPES.OVERLAY:this.currentPosition.x=scrollX+(window.innerWidth-this.adResizeContainer.parentNode.offsetWidth)/2,this.currentPosition.y=scrollY+(window.innerHeight-this.adResizeContainer.parentNode.offsetHeight)/2;break;case o["default"].PLACEMENT_TYPES.OVERLAY_TOP:this.currentPosition.x=scrollX+(window.innerWidth-this.adResizeContainer.parentNode.offsetWidth)/2,this.currentPosition.y=scrollY-this.adResizeContainer.parentNode.offsetHeight;break;case o["default"].PLACEMENT_TYPES.OVERLAY_BOTTOM:this.currentPosition.x=scrollX+(window.innerWidth-this.adResizeContainer.parentNode.offsetWidth)/2,this.currentPosition.y=scrollY+(window.innerHeight-this.adResizeContainer.parentNode.offsetHeight)}this.isViewable()&&this.fireEvent(s["default"].VIEWABLE_CHANGE,!0)},resizeContainerToFit:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.containerDocument.body.style.margin="0",this.adResizeContainer.style.border="0",e&&(this.defaultPosition.width=this.adResizeContainer.parentNode.offsetWidth,this.defaultPosition.height=this.adResizeContainer.parentNode.offsetHeight,this.defaultPosition.x=this.adResizeContainer.parentNode.offsetLeft,this.defaultPosition.y=this.adResizeContainer.parentNode.offsetTop,this.currentPlacementType!==o["default"].PLACEMENT_TYPES.INLINE&&this.showCloseRegion())},createCloseRegion:function(){var e=this;if(!this.expandProperties.useCustomClose){var t=document.createElement("a");t.id="closeAdButton-".concat(this.container.id),t.style.position="absolute",t.style.top="0",t.style.right="0",t.style.width="50px",t.style.height="50px",t.style.zIndex=o["default"].HIGHESTSAFENUMBER-1,t.style.cursor="pointer",t.style.display="none",void 0===this.customSdkCloseButton?t.style.background=o["default"].CLOSE_BUTTON_BACKGROUND_STYLE_50:t.style.background="url("+this.customSdkCloseButton+")";var i=this.container.contentWindow||this.container;i.document.body;this.adResizeContainer.appendChild(t),t.addEventListener("click",function(){return e.close()}),this.closeRegion=t}},updateCloseRegion:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];e?this.closeRegion.style.background="none":this.closeRegion.style.background=o["default"].CLOSE_BUTTON_BACKGROUND_STYLE_50},addEventListener:function(e,t){this.eventListeners[e]=this.eventListeners[e]||[],~this.eventListeners[e].indexOf(t)||this.eventListeners[e].push(t)},removeEventListener:function(e,t){if(this.eventListeners.hasOwnProperty(e)){var i=this.eventListeners[e].indexOf(t);~i&&this.eventListeners[e].splice(i,1)}},fireEvent:function(e){for(var t=this.eventListeners[e]||[],i=arguments.length,n=new Array(i>1?i-1:0),r=1;r<i;r++)n[r-1]=arguments[r];var o=!0,s=!1,a=void 0;try{for(var l,u=t[Symbol.iterator]();!(o=(l=u.next()).done);o=!0){var c=l.value;c.apply(this,n)}}catch(d){s=!0,a=d}finally{try{o||null==u["return"]||u["return"]()}finally{if(s)throw a}}},getVersion:function(){return r["default"].VERSION},getState:function(){return this.currentState},stateChange:function(e){this.currentState=e,this.fireEvent(s["default"].STATE_CHANGE,this.currentState)},useCustomClose:function(e){this.expandProperties.useCustomClose=e,this.updateCloseRegion(e),this.resizeContainerToFit()},getExpandProperties:function(){return this.expandProperties},setExpandProperties:function(e){this.expandProperties=Object.assign(this.expandProperties,e),this.updateCloseRegion(this.expandProperties.customClose),e.isModal===!0&&(this.currentPlacementType=o["default"].PLACEMENT_TYPES.INTERSTITIAL)},getOrientationProperties:function(){return this.orientationProperties},setOrientationProperties:function(e){var t=this;this.orientationProperties=Object.assign(this.orientationProperties,e),this.orientationProperties.allowOrientationChange||this.orientationProperties.forceOrientation===r["default"].ORIENTATIONS.NONE?screen&&screen.orientation&&screen.orientation.unlock():screen&&screen.orientation&&screen.orientation.lock("landscape")["catch"](function(e){t.throwError("Could not lock the screen orientation",e)})},getResizeProperties:function(){return this.resizeProperties},setResizeProperties:function(e){return Object.keys(e).length<4?void this.throwError("You must set all resize properties","setResizeProperties"):e.width<=50||e.height<=50?void this.throwError("Resize width and height must be greater than 50","setResizeProperties"):e.width>screen.width||e.height>screen.height?void this.throwError("Resize width and height must be lower than screen size","setResizeProperties"):void(this.resizeProperties=Object.assign(this.resizeProperties,e))},getDefaultPosition:function(){return this.defaultPosition},getCurrentPosition:function(){return this.currentPosition},getScreenSize:function(){return{width:screen.width,height:screen.height}},getMaxSize:function(){var e=window.parent,t=document,i=t.documentElement,n=t.getElementsByTagName("body")[0],r=e.innerWidth||i.clientWidth||n.clientWidth,o=e.innerHeight||i.clientHeight||n.clientHeight;return{width:r,height:o}},getPlacementType:function(){return this.currentPlacementType},isViewable:function(){var e=this.container.getBoundingClientRect(),t=window.innerWidth||doc.documentElement.clientWidth,i=window.innerHeight||doc.documentElement.clientHeight,n=window.scrollX;window.scrollY;return!(e.right<0||e.bottom<0||n<e.left-t||e.top>i||null===this.container.offsetParent)},supports:function(e){return!!this.supportedNativeFeatures.hasOwnProperty(e)&&this.supportedNativeFeatures[e]},close:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;null!==e&&e.preventDefault(),a["default"].trackingEvents(this.trackingMraidEvents,"close"),this.currentPlacementType===o["default"].PLACEMENT_TYPES.INLINE&&(this.hideCloseRegion(),this.resizeContainerOnClose()),this.currentPlacementType!==o["default"].PLACEMENT_TYPES.OVERLAY&&this.currentPlacementType!==o["default"].PLACEMENT_TYPES.OVERLAY_TOP&&this.currentPlacementType!==o["default"].PLACEMENT_TYPES.OVERLAY_BOTTOM||this.resizeContainerOnClose(),this.currentPlacementType===o["default"].PLACEMENT_TYPES.INTERSTITIAL&&this.deleteContainer()},resizeContainerOnClose:function(){switch(null!==this.expandedContainer&&(this.expandedContainer.remove(),this.expandedContainer=null,this.container.style.display="block"),this.container.style.width=this.defaultPosition.width+"px",this.container.style.height=this.defaultPosition.height+"px",this.adResizeContainer.style.width=this.defaultPosition.width+"px",this.adResizeContainer.style.height=this.defaultPosition.height+"px",this.adResizeContainer.style.position="relative",this.adResizeContainer.style.top="0",this.adResizeContainer.style.left="0",this.currentPlacementType===o["default"].PLACEMENT_TYPES.INLINE&&(this.adResizeContainer.parentNode.style.position="relative"),l["default"].isResponsive()||(this.adResizeContainer.parentNode.style.top=this.currentPosition.y+"px",this.adResizeContainer.parentNode.style.left=this.currentPosition.x+"px"),this.currentPosition.width=this.defaultPosition.width,this.currentPosition.height=this.defaultPosition.height,this.currentState){case r["default"].STATES.DEFAULT:return document.body.style.marginTop=0,document.body.style.marginBottom=0,this.currentState=r["default"].STATES.HIDDEN,void this.deleteContainer();case r["default"].STATES.EXPANDED:this.currentPlacementType===o["default"].PLACEMENT_TYPES.OVERLAY_TOP?document.body.style.marginTop=this.formatSize.height+"px":this.currentPlacementType===o["default"].PLACEMENT_TYPES.OVERLAY_BOTTOM&&(document.body.style.marginBottom=this.formatSize.height+"px"),this.currentState=r["default"].STATES.DEFAULT;break;case r["default"].STATES.RESIZED:this.currentState=r["default"].STATES.DEFAULT}this.fireEvent(s["default"].STATE_CHANGE,this.currentState),this.fireEvent(s["default"].SIZE_CHANGE,this.defaultPosition.width,this.defaultPosition.height),this.resizeContainerToFit()},deleteContainer:function(){var e=this;this.closeRegion.removeEventListener("click",function(){return e.close()}),this.closeRegion.removeEventListener("touchend",function(){return e.close()}),window.removeEventListener("scroll",this.onScrollViewable),window.removeEventListener("scroll",l["default"].wrapperAnnonymousFunction);var t=this.container.parentNode,i=t.parentNode;this.container.parentNode.removeChild(this.container),t.parentNode.removeChild(t),i.parentNode.removeChild(i)},open:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;window.open(e)},expand:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this.currentState!==r["default"].STATES.EXPANDED&&(a["default"].trackingEvents(this.trackingMraidEvents,"expand"),null!==t&&a["default"].createExpandedIframe(this,t).then(function(t){e.expandedContainer=t})["catch"](function(t){e.expandedContainer=null}),this.defaultPosition.width=this.adResizeContainer.parentNode.offsetWidth,this.defaultPosition.height=this.adResizeContainer.parentNode.offsetHeight,this.defaultPosition.x=this.adResizeContainer.parentNode.offsetLeft,this.defaultPosition.y=this.adResizeContainer.parentNode.offsetTop,this.container.style.width=this.expandProperties.width+"px",this.container.style.height=this.expandProperties.height+"px",this.adResizeContainer.style.width=this.expandProperties.width+"px",this.adResizeContainer.style.height=this.expandProperties.height+"px",this.currentPosition.width=this.adResizeContainer.offsetWidth,this.currentPosition.height=this.adResizeContainer.offsetHeight,this.currentPosition.y=this.adResizeContainer.offsetTop,this.currentPosition.x=this.adResizeContainer.offsetLeft,!l["default"].isResponsive()&&o["default"].MOBILE_REGEX.test(navigator.userAgent)?(this.currentPlacementType===o["default"].PLACEMENT_TYPES.OVERLAY_TOP?document.body.style.marginTop=0:this.currentPlacementType===o["default"].PLACEMENT_TYPES.OVERLAY_BOTTOM&&(document.body.style.marginBottom=0),this.adResizeContainer.parentNode.style.position="absolute",this.adResizeContainer.parentNode.style.left=scrollX+"px",this.adResizeContainer.parentNode.style.top=scrollY+"px"):(this.adResizeContainer.style.position="fixed",this.adResizeContainer.style.top="0",this.adResizeContainer.style.left="0"),this.showCloseRegion(),this.stateChange(r["default"].STATES.EXPANDED),this.fireEvent(s["default"].SIZE_CHANGE,this.expandProperties.width,this.expandProperties.height),this.resizeContainerToFit())},resize:function(){a["default"].trackingEvents(this.trackingMraidEvents,"resize");var e=document.getElementById("closeAdButton-".concat(this.container.id));if(e.style.background="",e.style.display="block",void 0===this.resizeProperties.width||void 0===this.resizeProperties.height)return void this.throwError("You must set resizeProperties before calling resize()","resize");this.resizeProperties.customClosePosition!=r["default"].CLOSE_POSITIONS.TOP_RIGHT&&this.setCustomClosePosition(this.resizeProperties.customClosePosition);var t=0;this.resizeProperties.allowOffscreen||(this.adResizeContainer.offsetTop>0&&(t=this.currentPosition.y-(this.resizeProperties.height-this.defaultPosition.height)),this.resizeProperties.height>this.container.getBoundingClientRect().top&&(t=this.currentPosition.y)),this.container.style.width=this.resizeProperties.width+"px",this.container.style.height=this.resizeProperties.height+"px",this.adResizeContainer.style.width=this.resizeProperties.width+"px",this.adResizeContainer.style.height=this.resizeProperties.height+"px",this.adResizeContainer.style.position="absolute",this.adResizeContainer.style.top="relative"===this.adResizeContainer.parentNode.style.position?0:t+"px",this.adResizeContainer.style.left="relative"===this.adResizeContainer.parentNode.style.position?0:this.currentPosition.x+"px",this.adResizeContainer.style.marginTop=this.resizeProperties.offsetY+"px",this.adResizeContainer.style.marginRight=this.resizeProperties.offsetX+"px",this.stateChange(r["default"].STATES.RESIZED),this.fireEvent(s["default"].SIZE_CHANGE,this.resizeProperties.width,this.resizeProperties.height)},setCustomClosePosition:function(e){switch(e){case r["default"].CLOSE_POSITIONS.TOP_LEFT:this.closeRegion.style.left=0,this.closeRegion.style.right="";break;case r["default"].CLOSE_POSITIONS.BOTTOM_RIGHT:this.closeRegion.style.top="",this.closeRegion.style.bottom=0;break;case r["default"].CLOSE_POSITIONS.BOTTOM_LEFT:this.closeRegion.style.top="",this.closeRegion.style.bottom=0,this.closeRegion.style.left=0,this.closeRegion.style.right=""}},showCloseRegion:function(){document.getElementById("closeAdButton-".concat(this.container.id)).style.display="block"},hideCloseRegion:function(){document.getElementById("closeAdButton-".concat(this.container.id)).style.display="none"},throwError:function(e,t){this.fireEvent(s["default"].ERROR,e,t)},playVideo:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;e&&e.length?this.open(e):this.throwError("You must provide the URL of the video to play","playVideo")},createCalendarEvent:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(e&&Object.keys(e).length){var t=encodeURI("data:text/calendar;charset=utf8,"+["BEGIN:VCALENDAR","VERSION:2.0","PRODID:","UID:","BEGIN:VEVENT","URL:"+window.location,"DTSTAMP:"+(e.start||""),"DTSTART:"+(e.start||""),"DTEND:"+(e.end||""),"SUMMARY:"+(e.summary||""),"DESCRIPTION:"+(e.description||""),"LOCATION:"+(e.location||""),"END:VEVENT","END:VCALENDAR"].join("\r\n"));location.href=t}else throwError("You must provide event data in the W3C Calendar Interface format","createCalendarEvent")},storePicture:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(e&&e.length){var t=this.container.contentWindow||this.container,i=t.document.body,n=document.createElement("a");n.href=e,n.download=e,i.appendChild(n),n.click(),setTimeout(function(){n.parentNode.removeChild(n)},500)}else throwError("You must provide the url of the file to download","storePicture")},setupCloseTimer:function(){var e=this;this.currentPlacementType!==o["default"].PLACEMENT_TYPES.INLINE&&this.overlayCountdown&&this.overlayCountdown>0&&setTimeout(function(){e.close()},1e3*this.overlayCountdown)}}},c=u;e["default"]=c}),KWANKO_REQUIRE.register("kwanko/mraid/events.js",function(e,t,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var n={READY:"ready",ERROR:"error",STATE_CHANGE:"stateChange",VIEWABLE_CHANGE:"viewableChange",SIZE_CHANGE:"sizeChange"},r=n;e["default"]=r}),KWANKO_REQUIRE.register("kwanko/mraid/loader.js",function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var r=n(t("./controller")),o=n(t("../utils")),s={options:{container:null,uuid:null,ad:null,formatSize:null,placement:void 0,customSdkCloseButton:null,overlayCountdown:null,trackingMraidEvents:null},init:function(e){return this.options=Object.assign(this.options,e),this},inject:function(){var e=this.options.parallax?o["default"].createWrapperParallax(this.options,!0):o["default"].createWrapper(this.options,!0);o["default"].checkReferrer(e.slot,this.options.placement),e.iframeWindow.mraid=new r["default"];var t={adResizeContainer:document.getElementById("adResizeContainer-".concat(this.options.uuid)),iframe:e.iframe,placement:this.options.placement,customSdkCloseButton:this.options.customSdkCloseButton,overlayCountdown:this.options.overlayCountdown,formatSize:this.options.formatSize,trackingMraidEvents:this.options.trackingMraidEvents};return e.iframeWindow.mraid.init(t),this}},a=s;e["default"]=a}),KWANKO_REQUIRE.register("kwanko/mraid/utils.js",function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var r=n(t("../utils")),o={iphone:/iPhone/i,android:/(?=.*\bAndroid\b)(?=.*\bMobile\b)/i,windowsPhone:/IEMobile/i,isMobilePhone:function(){return this.isIphone()||this.isAndroid()||this.isWindowsPhone()},isIphone:function(){return this.iphone.test(navigator.userAgent)},isAndroid:function(){return this.android.test(navigator.userAgent)},isWindowsPhone:function(){return this.windowsPhone.test(navigator.userAgent)},createExpandedIframe:function(e,t){if(null!==t){var i=e.container.parentNode,n=r["default"].uuid(),o=document.createElement("iframe");o.id=n,o.frameborder="0",o.scrolling="no",i.appendChild(o);var s=document.getElementById(n),a=s.contentWindow||s;return fetch(t,{credentials:"include"}).then(function(e){return e.text()}).then(function(t){t=t.replace('<script src="mraid.js"></script>',""),a.mraid=e,e.container.style.display="none",a.document.open(),a.document.write('<div id="ad-content-'.concat(n,'" class="ad-content">').concat(t,"</div>")),a.document.close();var i=a.document.body;"#ad-content-".concat(n);return i.style.margin="0",s.style.position="absolute",s.style.top="0",s.style.left="0",s.style.border="0",s.style.minHeight="50px",s.width="100%",s.height="100%",s})["catch"](function(e){console.error("Download of the ad failed",e)})}return new Promise.reject(null)},trackingEvents:function(e,t){if(r["default"].isDefined(e)&&r["default"].isDefined(e[t])){var i={"Access-Control-Allow-Origin":"*","X-Kwanko-Content-Type":"application/json"};fetch(e[t],{method:"GET",headers:i,credentials:"include"})}}},s=o;e["default"]=s}),KWANKO_REQUIRE.register("kwanko/onetrustConsent.js",function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var o=n(t("./utils")),s=(n(t("./displayAds")),{isConcerned:function(){if("undefined"!==this.cmpApiReady&&this.cmpApiReady)return!0;try{if(o["default"].debug("looking for window.OneTrust object as DOM is "+document.readyState),"object"==r(window.OneTrust)&&"undefined"==typeof window.__tcfapi)return o["default"].debug("OneTrust (non IAB) CMP detected !"),this.cmpApiReady=!0,!0}catch(e){console.error(e)}return o["default"].debug("no OneTrust (non IAB) CMP detected so far."),!1},kwkCheckConsent:function(e,t){if(this.isConcerned()){KwankoSDKLoader.cmpDetected=!0,KwankoSDKLoader.onetrustConsentChangeTriggered=!0,this.displayCallback=e,this.displayParams=t;var i=this.kwkConsentCallback.bind(this);"function"!=typeof OneTrust.IsAlertBoxClosed||OneTrust.IsAlertBoxClosed()?(o["default"].debug("Onetrust cmp callback triggered with current consent."),i()):(o["default"].debug("Register Onetrust cmp callback through OneTrust.OnConsentChanged event."),OneTrust.OnConsentChanged(i))}},kwkConsentCallback:function(){2==o["default"].debugLevel&&o["default"].debug("current params: "+JSON.stringify(this.displayParams));var e={},t="string"==typeof OnetrustActiveGroups?OnetrustActiveGroups.split(",").map(function(e){return"string"==typeof e?e.trim():e}).filter(function(e){return e}):[],i=this.displayParams.hasOwnProperty("onetrustKwankoCategoryId")&&"string"==typeof this.displayParams.onetrustKwankoCategoryId?this.displayParams.onetrustKwankoCategoryId.split(",").filter(function(e){return e}):["C0003"],n=document.cookie.match("(^|;)\\s*OptanonConsent\\s*=\\s*([^;]+)");n="object"==r(n)?n.pop():"";var s=i.filter(function(e){return t.includes(e)}).length==i.length&&i.length>0?"1":"0";o["default"].debug("OneTrust (non IAB) event callback fired."),2==o["default"].debugLevel&&(o["default"].debug("OneTrust fetched consents: "+t),o["default"].debug("Expected consent: "+i)),e.gdpr="1",e.gdpr_kwk=s,e.gdpr_consent=encodeURIComponent(n.length>0?"onetrust_"+btoa(n):"onetrust_"+btoa(Date.now()+"_"+t.join("_"))),o["default"].debug("OneTrust (non IAB) CMP fetched consent args : "+JSON.stringify(e)),this.displayCallback(e)}}),a=s;e["default"]=a}),KWANKO_REQUIRE.register("kwanko/slotParams.js",function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var r=n(t("./utils")),o=n(t("./constants")),s={filterSlotParams:function(e){var t={},i={uid:"uid",argsite:"argsite",argsitex:"argsitex",pvsite:"pvsite",pcsite:"pcsite",refresh:"emprefresh",containerid:"containerid",xhtml:"xhtml",charset:"charset",__nadebug:"debug",setcookie:"setcookie",https:"https",_nap:"htmlparams",nativeAd:"nativeAd",categories:"categories",lat:"lat","long":"long",customParams:"customParams",adPosition:"adPosition",os:"os",adHeight:"adHeight",adWidth:"adWidth",adSizeStrategy:"adSizeStrategy",devicetype:"devicetype",model:"model",connectivity:"connectivity",cellTowers:"cellTowers",carriers:"carriers",make:"make",userId:"userId",osv:"osv",wifiAccessPoints:"wifiAccessPoints",homeMobileCountryCode:"homeMobileCountryCode",homeMobileNetworkCode:"homeMobileNetworkCode",radioType:"radioType",swipeMode:"swipeMode",parallax:"parallax",mobileMode:"mobileMode",forceGeoloc:"forceGeoloc",placement:"placement",zIndex:"zIndex",gdpr:"gdpr",gdprConsent:"gdprConsent",gdprCb:"gdprCb",tcstring:"tcstring"},n=!0;t.format=o["default"].PLACEMENT_TYPES.INLINE,t.adPosition="default",r["default"].isDefined(e.paramSlot.lat)&&r["default"].isDefined(e.paramSlot["long"])&&(r["default"].isFloat(e.paramSlot.lat)&&r["default"].isFloat(e.paramSlot["long"])?(t.lat=e.paramSlot.lat,t["long"]=e.paramSlot["long"]):console.error("KwankoSDKLoader","The lat & long params must be floats"));for(var s in e.paramSlot)if(e.paramSlot.hasOwnProperty(s)&&void 0!==i[s]){var a=e.paramSlot[s];n=this.validateParam(s,a),n&&("categories"===s&&r["default"].isString(a)&&(a=a.split(",")),t[i[s]]=a)}if(r["default"].isDefined(e.paramSlot.parallax))if(r["default"].isBoolean(e.paramSlot.parallax)){if(r["default"].isDefined(e.paramSlot.uid)||!r["default"].isDefined(e.paramSlot.parallax))return t.format=o["default"].PLACEMENT_TYPES.PARALLAX,t;console.error("KwankoSDKLoader","You have to provide a uid")}else console.error("KwankoSDKLoader","The parallax parameter must be boolean");return void 0===t.uid&&(t.uid=r["default"].uuid(),t.format=o["default"].PLACEMENT_TYPES.OVERLAY,r["default"].isDefined(e.paramSlot.swipeMode))?(t.format=o["default"].PLACEMENT_TYPES.SWIPE,t):t},validateParam:function(e,t){return"adHeight"!==e&&"adWidth"!==e&&"devicetype"!==e&&"homeMobileCountryCode"!==e&&"homeMobileNetworkCode"!==e&&"radioType"!==e||r["default"].isInt(t)?"adSizeStrategy"!==e&&"adPosition"!==e&&"categories"!==e&&"os"!==e&&"model"!==e&&"connectivity"!==e&&"make"!==e&&"carriers"!==e&&"osv"!==e||r["default"].isString(t)?"cellTowers"!==e&&"wifiAccessPoints"!==e||r["default"].isArray(t)?"customParams"!==e||r["default"].isObject(t)?"swipeMode"!==e&&"parallax"!==e||r["default"].isBoolean(t)?"lat"!==e&&"long"!==e&&"swipeMode"!==e&&"parallax"!==e&&(!("zIndex"===e&&!r["default"].isInt(t))||(console.error("KwankoSDKLoader","zIndex param must be an integer value"),!1)):(console.error("KwankoSDKLoader","The ".concat(e," must be boolean")),!1):(console.error("KwankoSDKLoader","The ".concat(e," must be an object")),!1):(console.error("KwankoSDKLoader","The ".concat(e," param must be array")),!1):(console.error("KwankoSDKLoader","The ".concat(e," param must be string")),!1):(console.error("KwankoSDKLoader","The ".concat(e," param must be an integer")),!1)}},a=s;e["default"]=a}),KWANKO_REQUIRE.register("kwanko/supports/banner.js",function(e,t,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var n={isDefined:function(e){return void 0!==e&&null!==e},init:function(e,t,i){""!==t&&"{}"!==i&&(this.baseTag=e,this.type_support=parseInt(t,10),this.infos=i,this.counter=1,this.posXrepli=null,this.div_displayBanner=null,this.div_timerBanner=null,this.div_contentBanner=null,this.div_closeBanner=null,this.div_msgAccroche=null,this.div_openBanner=null,this.loadDisplay())},loadDisplay:function(){if(window.document.createElement&&window.document.getElementById&&null===window.document.getElementById("displayBanner")&&this.setParametre()!==!1&&this.creationbaliseCss()!==!1)return this.creationHtml(),this.creationTimer(),this},setParametre:function(){return!!(this.isDefined(this.infos.url_css)&&this.isDefined(this.infos.url_px)&&this.isDefined(this.infos.url_px_kwanko)&&this.isDefined(this.infos.url_img_replie)&&this.isDefined(this.infos.url_img_close))&&(!!(this.isDefined(this.infos.visuel_url_clic)&&this.isDefined(this.infos.visuel_url)&&this.isDefined(this.infos.accroche_type))&&(!!(26===this.type_support||this.isDefined(this.infos.visuel_heigth)&&this.isDefined(this.infos.visuel_width))&&(this.isDefined(this.infos.duree_timer)||(this.infos.duree_timer=3),this.isDefined(this.infos.visuel_l_d)||(this.infos.visuel_l_d="d"),this.isDefined(this.infos.couleur_fond)||(this.infos.couleur_fond="#333333"),this.isDefined(this.infos.transparence)||(this.infos.transparence=95),this.isDefined(this.infos.type_ouverture)||(this.infos.type_ouverture="timer_survol"),void("txt"===this.infos.accroche_type?this.div_msgAccroche_valeurs={id:"msgAccroche",innerHTML:this.infos.accroche_texte,font:this.infos.accroche_font,color:this.infos.accroche_color}:"img"===this.infos.accroche_type&&(this.div_msgAccroche_valeurs={id:"msgAccroche"},this.div_imgAccroche_valeurs={id:"imgAccroche",src:this.infos.accroche_url,alt:""})))))},creationbaliseCss:function(){var e,t;return e=window.document.getElementsByTagName("head")[0],!!this.isDefined(e)&&(t=window.document.createElement("link"),t.href=this.infos.url_css,t.rel="stylesheet",t.type="text/css",e.appendChild(t),e=null,void(t=null))},creationTimer:function(){return"survol"===this.infos.type_ouverture?void(this.div_timerBanner.style.display="none"):("timer"===this.infos.type_ouverture&&(this.div_contentBanner.onmouseover=null,this.isDefined(this.div_openBanner)&&(this.div_openBanner.style.display="none")),setInterval(this._myBind(this,this.refreshTimer),1e3),void setTimeout(this._myBind(this,this.afficheDisplay),1e3*this.infos.duree_timer))},creationHtml:function(){var e,t,i,n,r,o,s,a,l,u,c,d,f,h,p;e=this.creationElement("div",{id:"displayBanner",backgroundColor:1}),t=this.creationElement("div",{id:"timerBanner",innerHTML:this.infos.duree_timer,backgroundColor:1},e),i=this.creationElement("div",{id:"contentBanner"},e),r=this.creationElement("div",this.div_msgAccroche_valeurs,i),"timer"!==this.infos.type_ouverture&&(r.onmouseover=this._myBind(this,this.afficheDisplay)),"img"===this.infos.accroche_type&&this.creationElement("img",this.div_imgAccroche_valeurs,r),o=this.creationElement("div",{id:"msgDetails"},i),s=this.creationElement("div",{id:"mapub"},o),24===this.type_support?(a=this.creationElement("a",{href:this.infos.visuel_url_clic,target:"_blank",title:""},s),this.creationElement("img",{id:"imgClic",src:this.infos.visuel_url,alt:""},a)):25===this.type_support?this.creationElement("a",{href:this.infos.visuel_url_clic,target:"_blank",title:"",innerHTML:'<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="'+this.infos.visuel_width+'" height="'+this.infos.visuel_heigth+'"><param name="movie" value="'+this.infos.visuel_url+'" /><embed src="'+this.infos.visuel_url+'" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+this.infos.visuel_width+'" height="'+this.infos.visuel_heigth+'"></embed></object>' },s):26===this.type_support?(n=this.creationElement("div",{id:"signature"},i),window.document.body&&window.document.body.offsetHeight&&(l=window.document.body.offsetHeight),"CSS1Compat"===window.document.compatMode&&window.document.documentElement&&window.document.documentElement.offsetHeight&&(l=window.document.documentElement.offsetHeight),window.innerHeight&&(l=window.innerHeight),u=.8*l-(n.offsetHeight+r.offsetHeight)-n.offsetHeight,this.creationElement("iframe",{src:this.infos.visuel_url,height:u+"px"},s),"d"===this.infos.visuel_l_d&&(a=this.creationElement("a",{href:this.infos.visuel_url_clic,target:"_blank",title:""},s),this.creationElement("img",{id:"imgClic",src:this.infos.url_px,alt:"",height:u+"px"},a))):27!==this.type_support&&28!==this.type_support||(27===this.type_support?(a=this.creationElement("a",{href:this.infos.visuel_url_clic,target:"_blank",title:""},s),this.creationElement("img",{id:"imgClic",src:this.infos.visuel_url,alt:""},a)):28===this.type_support&&this.creationElement("a",{href:this.infos.visuel_url_clic,target:"_blank",title:"",innerHTML:'<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="'+this.infos.visuel_width+'" height="'+this.infos.visuel_heigth+'"><param name="movie" value="'+this.infos.visuel_url+'" /><embed src="'+this.infos.visuel_url+'" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+this.infos.visuel_width+'" height="'+this.infos.visuel_heigth+'"></embed></object>'},s),c=this.creationElement("img",{id:"closeBanner",src:this.infos.url_img_replie,display:"none"},e),c.onclick=this._myBind(this,this.fermeFooter),d=this.creationElement("img",{id:"deleteBanner",src:this.infos.url_img_close},e),d.onclick=this._myBind(this,this.delFooter),f=parseInt(this.infos.visuel_width,10)+40,this.posXrepli=-1*f+20,e.style.width=f+"px",e.style.left=this.posXrepli+"px",h=parseInt(this.infos.visuel_heigth,10),r.style.width=h+"px",r.style.left=-(h-f)+"px",n=this.creationElement("div",{id:"signature"},i)),27!==this.type_support&&28!==this.type_support&&(c=this.creationElement("div",{id:"closeBanner",innerHTML:this.infos.txt_reduire,display:"none",backgroundColor:1},e),c.onclick=this._myBind(this,this.fermeFooter),d=this.creationElement("div",{id:"deleteBanner",innerHTML:"X",backgroundColor:1},e),d.onclick=this._myBind(this,this.delFooter),p=this.creationElement("div",{id:"openBanner",innerHTML:this.infos.txt_publicite,backgroundColor:1},e),p.onmouseover=this._myBind(this,this.afficheDisplay)),this.creationElement("a",{href:"https://www.kwanko.com",target:"_blank"},n),this.creationElement("img",{alt:"Kwanko",src:this.infos.url_px_kwanko,id:"kwankoLogo"},n),this.isDefined(this.infos.url_aff_tiers_ann)&&this.creationElement("img",{src:this.infos.url_aff_tiers_ann,img_width:1,img_height:1,border:0},e),"affichage"==this.infos.type_postview&&this.creationImgTrkAff(e),this.baseTag.appendChild(e),this.div_displayBanner=e,this.div_timerBanner=t,this.div_contentBanner=i,this.div_msgAccroche=r,this.div_closeBanner=c,this.isDefined(p)&&(this.div_openBanner=p),e=null,t=null,i=null,r=null,s=null,o=null,l=null,u=null,a=null,n=null,c=null,d=null,p=null},creationImgTrkAff:function(e){this.isDefined(document.getElementById("img_trkaff_"+this.baseTag.id))||this.creationElement("img",{id:"img_trkaff_"+this.baseTag.id,src:this.infos.visuel_url_aff,img_width:1,img_height:1,border:0},e)},creationElement:function(e,t,i){var n;n=window.document.createElement(e);for(var r=0,o=Object.keys(t);r<o.length;r++){var s=o[r];if(t.hasOwnProperty(s))switch(s){case"id":n.id=t[s];break;case"alt":n.alt=t[s];break;case"src":n.src=t[s];break;case"border":n.border=t[s];break;case"innerHTML":n.innerHTML=t[s];break;case"href":n.href=t[s];break;case"target":n.target=t[s];break;case"title":n.title=t[s];break;case"display":n.style.display=t[s];break;case"height":n.style.height=t[s];break;case"width":n.style.width=t[s];break;case"img_height":n.height=t[s];break;case"img_width":n.width=t[s];break;case"font":n.style.font=t[s];break;case"color":n.style.color=t[s];break;case"backgroundColor":n.style.backgroundColor=this.infos.couleur_fond,n.style.opacity=parseInt(this.infos.transparence,10)/100}}return this.isDefined(i)&&i.appendChild(n),n},afficheDisplay:function(){"ouverture"==this.infos.type_postview&&this.creationImgTrkAff(this.div_displayBanner),27===this.type_support||28===this.type_support?(this.div_displayBanner.style.left="0px","timer"===this.infos.type_ouverture&&(this.div_msgAccroche.onmouseover=this._myBind(this,this.afficheDisplay))):(this.div_displayBanner.style.height=this.div_contentBanner.offsetHeight+"px",this.isDefined(this.div_openBanner)&&(this.div_openBanner.style.display="none")),this.div_closeBanner.style.display="block",this.div_timerBanner.style.display="none"},refreshTimer:function(){this.div_timerBanner.innerHTML=this.infos.duree_timer-this.counter,this.counter=this.counter+1},fermeFooter:function(){this.div_closeBanner.style.display="none",27===this.type_support||28===this.type_support?this.div_displayBanner.style.left=this.posXrepli+"px":(this.div_displayBanner.style.height="0px",this.div_timerBanner.style.display="none",setTimeout(this._myBind(this,this.afficheOpenBanner),100))},afficheOpenBanner:function(){this.div_openBanner.style.display="block"},delFooter:function(){this.div_displayBanner.remove()},_myBind:function(e,t){return function(){return t.apply(e,arguments)}}},r=n;e["default"]=r}),KWANKO_REQUIRE.register("kwanko/supports/constants.js",function(e,t,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var n={LINK_KWANKO:"https://www.kwanko.com",LOGO_KWANKO:"https://rel.fr.activastore.com/na/na/res/popinto/logo_into.gif",PICTO_CROSS:"https://rel.fr.activastore.com/na/na/res/popinto/croix.gif"},r=n;e["default"]=r}),KWANKO_REQUIRE.register("kwanko/supports/pop.js",function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var r=n(t("./constants")),o={itemmetabanntrans:[],iemetabanntrans:"Microsoft Internet Explorer"==navigator.appName,ivlametabanntrans:null,ivlmetabanntrans:null,init:function(e){this.addMetaBannTrans(e.offsetTop,e.offsetLeft,e.width,e.height,e.urli,e.urlr,e.effet,e.timeout)},addMetaBannTrans:function(e,t,i,n,r,o,s,a){var l=this.itemmetabanntrans.length;this.itemmetabanntrans[l]=[null,e,t,i,n,s,a];var u=this.addMutualDiv(l,i,n),c=this.addMetaBann(l,o,r,i,n,s),d=this.addMutualTable(l,i,c);u.appendChild(d),document.body.appendChild(u),this.initMetaBannTrans(l)},addMutualDiv:function(e,t,i){var n=document.createElement("div");return n.id="idMetaBannTrans".concat(e),n.style.position="absolute",n.style.top="0px",n.style.left="0px",n.style.padding="0px",n.style.visibility="hidden",n.style.zIndex="500",n.setAttribute("width",t),n.setAttribute("height",i+14),n.setAttribute("align","right"),n},addMetaBann:function(e,t,i,n,r,o){var s=document.createElement("a");s.setAttribute("href",t),s.setAttribute("target","_blank");var a=document.createElement("img");return a.id="imgMetaBannTrans".concat(e),a.setAttribute("src",i),a.setAttribute("border",0),a.setAttribute("width",n),a.setAttribute("height",r),o>0&&(s.onmouseover=this._myBind(this,this.alphaOnMetaBannTrans,[e]),s.onmouseout=this._myBind(this,this.alphaOffMetaBannTrans,[e,o]),a.style.filter="alpha(opacity=74)"),s.appendChild(a),s},alphaOnMetaBannTrans:function(e){var t=this;this.ivlametabanntrans=setInterval(function(){var i=t._getObj("imgMetaBannTrans".concat(e));null!==i&&i.filters&&(i.filters.alpha.opacity<100?i.filters.alpha.opacity+=5:clearInterval(t.ivlametabanntrans))},10)},alphaOffMetaBannTrans:function(e,t){var i=this._getObj("imgMetaBannTrans".concat(e));null!==i&&i.filters&&(clearInterval(this.ivlametabanntrans),i.filters.alpha.opacity=t)},addMutualTable:function(e,t,i){var n=document.createElement("table");n.setAttribute("border",0),n.setAttribute("cellpadding",0),n.setAttribute("cellspacing",0);var o=document.createElement("tr");o.setAttribute("height",14),o.setAttribute("bgcolor","#FFFFFF");var s=document.createElement("td");s.setAttribute("width",t-13),s.setAttribute("align","left"),s.setAttribute("height",14);var a=document.createElement("a");a.setAttribute("href",r["default"].LINK_KWANKO),a.setAttribute("target","_blank"),a.style.textDecoration="none";var l=document.createElement("img");return l.setAttribute("src",r["default"].LOGO_KWANKO),l.style.border=0,l.style.width="123px",l.style.height="14px",a.appendChild(l),s.appendChild(a),o.appendChild(s),s=document.createElement("td"),s.setAttribute("width",13),s.setAttribute("align","right"),a=document.createElement("a"),a.setAttribute("href","#"),a.onclick=this._myBind(this,this.hideMetaBannTrans,[e]),l=document.createElement("img"),l.setAttribute("src",r["default"].PICTO_CROSS),l.style.border=0,l.style.width="13px",l.style.height="14px",a.appendChild(l),s.appendChild(a),o.appendChild(s),n.appendChild(o),o=document.createElement("tr"),s=document.createElement("td"),s.setAttribute("colspan",2),s.setAttribute("width","100%"),"string"==typeof i?s.innerHTML=i:s.appendChild(i),o.appendChild(s),n.appendChild(o),n},hideMetaBannTrans:function(e){var t=!0;this.itemmetabanntrans[e][0].style.visibility="hidden",this.itemmetabanntrans[e][0].style.zindex=-500;for(var i=0;i<this.itemmetabanntrans.length;i++)if("visible"==this.itemmetabanntrans[i][0].style.visibility){t=!1;break}return t&&clearInterval(this.ivlmetabanntrans),!1},initMetaBannTrans:function(e){var t,i=this,n=!1;if(null===this.itemmetabanntrans[e][0]){var r=this._getObj("imgMetaBannTrans".concat(e));this.itemmetabanntrans[e][0]=this._getObj("idMetaBannTrans".concat(e)),null!==this.itemmetabanntrans[e][0]&&(null===r||null!==r.naturalHeight&&r.height<10||null===r.naturalHeight&&(r.height<this.itemmetabanntrans[e][4]-30||r.height>this.itemmetabanntrans[e][4]+30)||(this.itemmetabanntrans[e][0].style.position="fixed",this.calcMetaBannTrans(this.itemmetabanntrans[e]),this.itemmetabanntrans[e][0].offsetTop!=parseInt(this.itemmetabanntrans[e][0].style.top)&&(this.itemmetabanntrans[e][0].style.position="absolute",n=!0),this.itemmetabanntrans[e][5]>0&&(t=this._getObj("imgMetaBannTrans".concat(e)),null!==t&&t.filters&&(t.filters.alpha.opacity=this.itemmetabanntrans[e][5])),this.itemmetabanntrans[e][0].style.visibility="visible",this.itemmetabanntrans[e][6]>0&&setTimeout(this._myBind(this,this.hideMetaBannTrans,[e]),1e3*this.itemmetabanntrans[e][6]),n&&(this.ivlmetabanntrans=setInterval(function(){i.moveMetaBannTrans()},100)),this.itemmetabanntrans[e][0].onresize=this._myBind(this,this.moveMetaBannTrans)))}},calcMetaBannTrans:function(e){var t=(!this.iemetabanntrans&&window.innerHeight?window.innerHeight-22:document.body.offsetHeight-22)-e[4]-14,i=(!this.iemetabanntrans&&window.innerWidth?window.innerWidth-22:document.body.offsetWidth-22)-e[3];e[0].style.top=Math.max(parseInt(e[1]/100*t),1)+(this.iemetabanntrans?document.body.scrollTop:0),e[0].style.left=Math.max(parseInt(e[2]/100*i),1)+(this.iemetabanntrans?document.body.scrollLeft:0)},moveMetaBannTrans:function(){for(var e=0;e<this.itemmetabanntrans.length;e++)this.calcMetaBannTrans(this.itemmetabanntrans[e])},_getObj:function(e){if(document.getElementById)return document.getElementById(e);if(document.all)return document.all[e];if(document.layers){var t=document.layers[e];return t.style=document.layers[e],t}return null},_myBind:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return function(){return t.apply(e,i)}}},s=o;e["default"]=s}),KWANKO_REQUIRE.register("kwanko/trackingAdStrategy.js",function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var r=n(t("./utils")),o={injectTrackingPixels:function(){for(var e=this,t=arguments.length,i=new Array(t),n=0;n<t;n++)i[n]=arguments[n];i.forEach(function(t){if(r["default"].isArray(t))t.forEach(function(t){e.injectTrackingPixels(t)});else if(t){var i=document.createElement("img");i.src=t}})}},s=o;e["default"]=s}),KWANKO_REQUIRE.register("kwanko/trackingIframeStrategy.js",function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function r(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var o=n(t("./utils")),s=n(t("./constants")),a={init:function(){KwankoSDKLoader.lsReady=this.initTrackingIframe(),this.initTrkStorage(s["default"].LS_VALUE_NAME,s["default"].LS_TIME_NAME),this.initTrkStorage(s["default"].LSNC_VALUE_NAME,s["default"].LSNC_TIME_NAME,!0)},initTrkStorage:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=window.localStorage.getItem(e),r=i?"lsNcValue":"lsValue",a=i?"lsNcTime":"lsTime";n?(KwankoSDKLoader[r]=n,KwankoSDKLoader[a]=window.localStorage.getItem(t),this.markUser(KwankoSDKLoader[r],KwankoSDKLoader[a],i)):i||(n=o["default"].getCookie(s["default"].COOKIE_NAME),n&&(KwankoSDKLoader[r]=n,KwankoSDKLoader[a]=Date.now(),window.localStorage.setItem(e,KwankoSDKLoader.lsValue),window.localStorage.setItem(t,KwankoSDKLoader.lsTime),this.markUser(KwankoSDKLoader[r],KwankoSDKLoader[a],i)))},initTrackingIframe:function(){var e=this,t=window.document.getElementById("trknanalsid");if(o["default"].isObject(t))return!0;t=document.createElement("iframe"),t.src=s["default"].LS_IFRAME_URL,t.frameborder=0,t.style.visibility="hidden",t.width=0,t.height=0,t.id=s["default"].LS_IFRAME_ID,t.scrolling="no",document.body.appendChild(t);var i="addEventListener",n="message",r=window[i];return!!o["default"].isFunction(r)&&(r(n,function(t){var i=new RegExp(s["default"].CDN_LIB_REGEX_URL+"$");return!(i.test(t.origin)===!1||!o["default"].isObject(t.data)||"null"===t.data||!(null!==t.data.netals&&null!==t.data.netalst||null!==t.data.netalsnc&&null!==t.data.netalstnc))&&void e.updateFromIframe(t.data)},!1),!0)},markUser:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=document.getElementById(s["default"].LS_IFRAME_ID);if(o["default"].isObject(a)){var l=n?"netalsnc":"netals",u=n?"netalstnc":"netalst";a.contentWindow.postMessage((e={},r(e,l,t),r(e,u,Math.round(i*s["default"].MILISECONDS)),e),"*")}},updateFromIframe:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.updateStorage(e,s["default"].LS_VALUE_NAME,s["default"].LS_TIME_NAME),this.updateStorage(e,s["default"].LSNC_VALUE_NAME,s["default"].LSNC_TIME_NAME,!0)},updateStorage:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=n?"lsNcValue":"lsValue",s=n?"lsNcTime":"lsTime",a=n?"netalsnc":"netals",l=n?"netalstnc":"netalst";o["default"].isDefined(e[a])&&o["default"].isDefined(e[l])&&(KwankoSDKLoader[r]=e[a],KwankoSDKLoader[s]=e[l],window.localStorage.setItem(t,KwankoSDKLoader[r]),window.localStorage.setItem(i,KwankoSDKLoader[s]))}},l=a;e["default"]=l}),KWANKO_REQUIRE.register("kwanko/utils.js",function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var o=n(t("./constants")),s=n(t("./createUrl")),a=n(t("./slotParams")),l=n(t("./geolocationStrategy")),u=(n(t("./iabtcfv2")),{debugStatus:null,debugLevel:0,setCookie:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:60;if(null!==e&&null!==t&&!isNaN(i)){var n=(new Date).getTime(),r=new Date(n+24*i*60*60*1e3);document.cookie="".concat(e,"=").concat(t,"; expires=").concat(r.toGMTString(),"; path=/")}},getCookie:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(null!==e){var t=document.cookie.split(";"),i=null,n=e+"=",r=-1;return t.forEach(function(e){r=e.indexOf(n),r!==-1&&(i=e.substring(r+n.length))}),i}},uuid:function(){var e=(new Date).getTime(),t="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){var i=(e+16*Math.random())%16|0;return e=Math.floor(e/16),("x"==t?i:3&i|8).toString(16)});return t},isDefined:function(e){return void 0!==e&&null!==e},isFunction:function(e){return"function"==typeof e},isString:function(e){return"string"==typeof e},isObject:function(e){return null!==e&&"object"===r(e)},isNumber:function(e){return"number"==typeof e&&!isNaN(e)},isArray:function(e){return this.isDefined(e)&&e.constructor===Array},isArrayGeo:function(e){return!(!this.isArray(e)||2!=e.length)},isInt:function(e){return"number"==typeof e&&!isNaN(e)&&e%1===0},isFloat:function(e){return"number"==typeof e&&!isNaN(e)&&e%1!==0},isBoolean:function(e){return"boolean"==typeof e},lsTest:function(){var e="test";try{return localStorage.setItem(e,e),localStorage.removeItem(e),!0}catch(t){return!1}},getOs:function(){var e=navigator.userAgent,t=[{s:"Windows 10",r:/(Windows 10.0|Windows NT 10.0)/},{s:"Windows 8.1",r:/(Windows 8.1|Windows NT 6.3)/},{s:"Windows 8",r:/(Windows 8|Windows NT 6.2)/},{s:"Windows 7",r:/(Windows 7|Windows NT 6.1)/},{s:"Windows Vista",r:/Windows NT 6.0/},{s:"Windows Server 2003",r:/Windows NT 5.2/},{s:"Windows XP",r:/(Windows NT 5.1|Windows XP)/},{s:"Windows 2000",r:/(Windows NT 5.0|Windows 2000)/},{s:"Windows ME",r:/(Win 9x 4.90|Windows ME)/},{s:"Windows 98",r:/(Windows 98|Win98)/},{s:"Windows 95",r:/(Windows 95|Win95|Windows_95)/},{s:"Windows CE",r:/Windows CE/},{s:"Windows 3.11",r:/Win16/},{s:"Android",r:/Android/},{s:"Open BSD",r:/OpenBSD/},{s:"Sun OS",r:/SunOS/},{s:"Linux",r:/(Linux|X11)/},{s:"iOS",r:/(iPhone|iPad|iPod)/},{s:"Mac OS X",r:/Mac OS X/},{s:"QNX",r:/QNX/},{s:"UNIX",r:/UNIX/},{s:"BeOS",r:/BeOS/},{s:"OS/2",r:/OS\/2/},{s:"Search Bot",r:/(nuhk|Googlebot|Yammybot|Openbot|Slurp|MSNBot|Ask Jeeves\/Teoma|ia_archiver)/}];for(var i in t)if(t[i].r.test(e))return t[i].s},getOsVersion:function(e){var t=null,i=null,n=navigator.userAgent,r=navigator.appVersion;switch(/Windows/.test(e)&&(i=/Windows (.*)/.exec(e),t=i?i[1]:t,e="Windows"),e){case"Mac OS X":i=/Mac OS X ([\.\_\d]+)/.exec(n),t=i?i[1]:t;break;case"Android":i=/Android ([\.\_\d]+)/.exec(n),t=i?i[1]:t;break;case"iOS":i=/OS (\d+)_(\d+)_?(\d+)?/.exec(r),t=i?i[1]+"."+i[2]+"."+(0|i[3]):t}return t},createWrapper:function(e,t){/<html/.test(e.ad)&&(t=!0);var i,n,r,s=document.createElement("div");if(s.id="adResizeContainer-".concat(e.uuid),s.style.margin="0 auto",s.style.padding="0",s.style.position="relative",s.style.left="0",s.style.top="0",s.style.height="100%",s.style.width="100%",s.style.textAlign="center",e.zIndex&&(s.style.zIndex=e.zIndex),i=e.container?document.getElementById(e.container):this.createSlot(e),e.zIndex&&(i.style.zIndex=e.zIndex),i.style.margin="0 auto",t)n=document.createElement("iframe"),n.id=e.uuid,n.frameBorder=0,n.scrolling="no",s.appendChild(n),i.appendChild(s),r=n.contentWindow||n,r.document.open(),r.document.write(e.ad),r.document.close();else{if(s.innerHTML=e.ad,s.innerHTML.search("<img")!==-1){var a=s.getElementsByTagName("img")[0];a.style.width="100%",a.style.height="100%"}i.appendChild(s)}return e.sizeless&&this.setSizelessObserver(r,e.sizelessParams||null),this.addStylingOnContainer(e,i),e.placement!==o["default"].PLACEMENT_TYPES.INLINE&&e.swipeMode&&(this.createWrapperForSwipe(i,s,e.formatSize),document.body.style.marginBottom=0,document.body.style.marginTop=0),{slot:i,iframe:n,iframeWindow:r}},createSlot:function(e){"undefined"==typeof window.kwkuuid&&(window.kwkuuid=[]);var t=document.createElement("div");t.id=e.uuid;for(var i=document.getElementsByTagName("script"),n=0;n<i.length;++n)if(!(""==i[n].innerHTML||i[n].innerHTML.length>1e3)){var r=new RegExp(e.slotUUID,"g");if(0!=r.test(i[n].innerHTML)){for(var o=!1,s=0;s<window.kwkuuid.length;++s){var a=new RegExp(window.kwkuuid[s],"g");if(1==a.test(i[n].parentNode.innerHTML)){o=!0;break}}if(!o){i[n].parentNode.appendChild(t),window.kwkuuid.push(e.uuid);break}}}return t},createWrapperParallax:function(e,t){/<html/.test(e.ad)&&(t=!0);var i=document.getElementById(e.container);i.style.margin="0 auto";var n,r,o=document.createElement("div");o.id="adResizeContainer-".concat(e.uuid),o.style.margin="0 auto",o.style.padding="0",o.style.position="relative",o.style.left="0",o.style.top="0",o.style.height=(e.parallaxHeight||e.formatSize.height)+"px",o.style.width=e.formatSize.width+"px",o.style.textAlign="center";var s=document.createElement("div");s.id="divAbsolute-".concat(e.uuid),s.style.position="absolute",s.style.left="0",s.style.top="0",s.style.height="100%",s.style.width="100%",s.style.clip="rect(auto,auto,auto,auto)",s.style.zIndex=1;var a=document.createElement("div");if(a.id="divFixed-".concat(e.uuid),a.style.position="fixed",a.style.top="0",a.style.height=e.formatSize.height+"px",a.style.width=e.formatSize.width+"px",a.style.transform="translateZ(0)",a.style.msTransform="translateZ(0)",t)s.appendChild(a),o.appendChild(s),n=document.createElement("iframe"),n.id=e.uuid,n.frameBorder=0,n.scrolling="no",n.width="100%",n.height="100%",a.appendChild(n),i.appendChild(o),r=n.contentWindow||n,r.document.open(),r.document.write(e.ad),r.document.close();else{if(s.appendChild(a),o.appendChild(s),a.innerHTML=e.ad,a.innerHTML.search("<img")!==-1){var l=a.getElementsByTagName("img")[0];l.style.width="100%",l.style.height="100%"}i.appendChild(o)}return{slot:i,iframe:n,iframeWindow:r}},addStylingOnContainer:function(e,t){if(e.sizeless?this.setSizelessDimensionOnContainer(e,t):this.setDimensionOnContainer(e,t),"inline"!==e.placement){switch(e.formatSize.width>window.innerWidth&&(t.style.width=window.innerWidth+"px",e.formatSize.width=document.documentElement.clientWidth),e.placement){case o["default"].PLACEMENT_TYPES.INTERSTITIAL:t.style.position="fixed",t.style.left="0",t.style.top="0",t.style.width=window.innerWidth+"px",t.style.height=window.innerHeight+"px",t.firstChild.firstChild.style.width=window.innerWidth+"px",t.firstChild.firstChild.style.height=window.innerHeight+"px";break;case o["default"].PLACEMENT_TYPES.OVERLAY:t.style.position="fixed",window.innerHeight<e.formatSize.height?t.style.top=0:t.style.top=(window.innerHeight-e.formatSize.height)/2+"px",window.innerWidth<e.formatSize.width?t.style.left=0:t.style.left=(window.innerWidth-e.formatSize.width)/2+"px";break;case o["default"].PLACEMENT_TYPES.OVERLAY_TOP:t.style.position="fixed",t.style.top="0px",t.style.left=(window.innerWidth-e.formatSize.width)/2+"px",document.body.style.marginTop=e.formatSize.height+"px";break;case o["default"].PLACEMENT_TYPES.OVERLAY_BOTTOM:t.style.position="fixed",t.style.top=window.innerHeight-e.formatSize.height+"px",t.style.left=(window.innerWidth-e.formatSize.width)/2+"px",document.body.style.marginBottom=e.formatSize.height+"px"}if(!this.isResponsive()){var i={};i=this,i.slot=t,i.options=e,this.wrapperAnnonymousFunction=this.myBind(i,this.wrapperAnnonymousFunction),window.addEventListener("scroll",this.wrapperAnnonymousFunction)}}},setDimensionOnContainer:function(e,t){t.style.width=e.formatSize.width+"px",t.style.height=e.formatSize.height+"px",t.firstChild.firstChild&&"IFRAME"===t.firstChild.firstChild.tagName&&(t.firstChild.firstChild.style.width=t.offsetWidth+"px",t.firstChild.firstChild.style.height=t.offsetHeight+"px",t.firstChild.firstChild.width=t.offsetWidth,t.firstChild.firstChild.height=t.offsetHeight)},setSizelessDimensionOnContainer:function(e,t){t.style.width="100%",t.style.height=e.formatSize.height+"px",t.firstChild.firstChild&&"IFRAME"===t.firstChild.firstChild.tagName&&(t.firstChild.firstChild.style.width="100%",t.firstChild.firstChild.style.height=t.offsetHeight+"px",t.firstChild.firstChild.width="100%",t.firstChild.firstChild.height=t.offsetHeight),this.listenToAdHeightChange(t)},listenToAdHeightChange:function(e){var t=window.addEventListener?"addEventListener":"attachEvent",i=window[t],n="attachEvent"==t?"onmessage":"message",r=function(e,t){t.origin!==window.location.origin||isNaN(t.data)||e.firstChild.firstChild&&"IFRAME"===e.firstChild.firstChild.tagName&&(e.style.height=t.data+"px",e.height=t.data,e.firstChild.firstChild.style.height=t.data+"px",e.firstChild.firstChild.height=t.data)};i(n,r.bind(null,e),!1)},setSizelessObserver:function(e,t){var i=e.document.body,n={attributes:!0,childList:!0,subtree:!0},r=function(e,t){var i=!0,n=!1,r=void 0;try{for(var o,s=t[Symbol.iterator]();!(i=(o=s.next()).done);i=!0){var a=o.value;null!==e&&("attributes"!==a.type||void 0!==e.id&&a.target.id!==e.id||void 0!==e.nodeName&&a.target.nodeName!==e.nodeName||void 0!==e.name&&a.target.name!==e.name)||window.parent.postMessage(a.target.offsetHeight,"*")}}catch(l){n=!0,r=l}finally{try{i||null==s["return"]||s["return"]()}finally{if(n)throw r}}},o=new MutationObserver(r.bind(null,t));o.observe(i,n)},wrapperAnnonymousFunction:function(){this.updatePositionOnScroll(this.slot,this.options.placement,this.options)},updatePositionOnScroll:function(e,t,i){if(!i.swipeMode){var n=(window.innerHeight-i.formatSize.height)/2,r=(window.innerWidth-i.formatSize.width)/2;if(e.style.position="absolute",e.style.transition="all 0.2s ",!this.isResponsive()){switch(t){case o["default"].PLACEMENT_TYPES.INTERSTITIAL:e.firstChild.firstChild.style.width=window.innerWidth+"px",e.firstChild.firstChild.style.height=window.innerHeight+"px";break;case o["default"].PLACEMENT_TYPES.OVERLAY:e.style.top=scrollY+n+"px";break;case o["default"].PLACEMENT_TYPES.OVERLAY_TOP:e.style.top=scrollY-i.formatSize.height+"px";break;case o["default"].PLACEMENT_TYPES.OVERLAY_BOTTOM:e.style.top=scrollY+window.innerHeight-i.formatSize.height+"px"}e.style.left=scrollX+r+"px",e.firstChild.clientHeight===window.innerHeight&&(e.style.top=scrollY+"px",e.style.left=scrollX+"px"),!/iPad|iPhone|iPod/.test(navigator.userAgent)||window.MSStream||this.isNumber(i.formatSize.width)||(e.style.top=scrollY+"px",e.style.left=scrollX+"px")}}},setPlacementType:function(e,t){e.uid?e.placement=o["default"].PLACEMENT_TYPES.INLINE:(e.placement=o["default"].PLACEMENT_TYPES.INLINE,"top"===e.adPosition?e.placement=o["default"].PLACEMENT_TYPES.OVERLAY_TOP:"bottom"===e.adPosition&&(e.placement=o["default"].PLACEMENT_TYPES.OVERLAY_BOTTOM),t.adWidth===screen.width&&t.adHeight===screen.height&&(e.placement=o["default"].PLACEMENT_TYPES.INTERSTITIAL))},createWrapperForSwipe:function(e,t,i){function n(e){l=e.touches[0].clientX,u=e.touches[0].clientY}function r(e){if(l&&u){var t=e.touches[0].clientX,i=e.touches[0].clientY,n=t-l,r=u-i;Math.abs(n)>Math.abs(r)&&(n>0?a["this"].simulateSwipe(a,event.target):a["this"].simulateSwipe(a,event.target)),l=null,u=null}}e.style.zIndex=1,e.style.top=(window.innerHeight-i.height)/2+"px",e.style.left=(window.innerWidth-i.width)/2+"px",e.style.right=0,e.style.left="",t.style.marginLeft=window.innerWidth+"px";var s=document.createElement("a");s.style.display="block",s.style.zIndex=o["default"].HIGHESTSAFENUMBER-1,s.id="arrowButton",s.style.width="30px",s.style.height="30px",s.style.position="absolute",s.style.top=(e.clientHeight-30)/2+"px",s.style.right="0px",s.style.borderTopLeftRadius="50%",s.style.borderBottomLeftRadius="50%",s.style.opacity="0.8",s.style.background='url("https://rel.fr.activastore.com/na/na/res/trk/sdkjs/images/leftArrow.png") 1px 1px no-repeat grey',s.style.cursor="pointer",e.appendChild(s);var a={"this":this,adResizeContainer:t,slot:e,formatSize:i};s.addEventListener("touchstart",n,!1),s.addEventListener("touchmove",r,!1);var l=null,u=null},simulateSwipe:function(e,t){e.adResizeContainer.style.transition="margin 1.5s",0!==t.offsetLeft?(e.slot.style.zIndex=o["default"].HIGHESTSAFENUMBER,e.adResizeContainer.style.marginLeft=0,t.style.display="none",setTimeout(function(){t.style.display="block",t.style.left=0,t.style.right="",t.style.background='url("https://rel.fr.activastore.com/na/na/res/trk/sdkjs/images/rightArrow.png") 1px 1px no-repeat grey',t.style.borderTopRightRadius="50%",t.style.borderBottomRightRadius="50%",t.style.borderTopLeftRadius=0,t.style.borderBottomLeftRadius=0},1500)):(e.adResizeContainer.style.marginLeft=window.innerWidth+"px",t.style.display="none",setTimeout(function(){e.slot.style.zIndex=1,t.style.display="block",t.style.left="",t.style.right=0,t.style.background='url("https://rel.fr.activastore.com/na/na/res/trk/sdkjs/images/leftArrow.png") 1px 1px no-repeat grey',t.style.borderTopLeftRadius="50%",t.style.borderBottomLeftRadius="50%",t.style.borderTopRightRadius=0,t.style.borderBottomRightRadius=0},1500))},checkReferrer:function(e,t){/www\.(google)/.test(document.referrer)&&t!==o["default"].PLACEMENT_TYPES.INLINE&&(e.style.display="none",document.body.style.marginTop=0,document.body.style.marginBottom=0)},myBind:function(e,t){return function(){return t.apply(e,arguments)}},isResponsive:function(){var e=Math.max(document.body.scrollWidth,document.body.offsetWidth,document.documentElement.clientWidth,document.documentElement.scrollWidth,document.documentElement.scrollWidth);return!(e>screen.width)},submitPostInfos:function(e,t){var i=o["default"].SDK+"-"+o["default"].SDKV,n=new Headers;n.append("X-Kwanko-Content-Type","application/json"),n.append("X-Kwanko-Sdk-Version",i);var r={},l=s["default"].buildTrackerMaffParam(t),u=a["default"].filterSlotParams(t);Object.assign(r,u);var c=this.collectUserInformation(t),d=new FormData;return l.emp?d.append("emp",l.emp):d.append("a",l.a),d.append("user_infos",JSON.stringify(r)),d.append("sdk_infos",JSON.stringify(c)),t.gdpr&&d.append("gdpr",t.gdpr),t.gdpr_kwk&&d.append("gdpr_kwk",t.gdpr_kwk),t.gdpr_consent&&d.append("gdpr_consent",t.gdpr_consent),u.gdprCb&&d.append("gdpr_cb",u.gdprCb),fetch(e,{credentials:"include",method:"POST",headers:n,body:d}).then(function(e){return e.json()})["catch"](function(e){console.error("KwankoSDKLoader","Could not load the ad",e)})},collectUserInformation:function(e){var t=l["default"].getGeolocation(e.paramSlot),i=window,n=document,r=n.documentElement,s=n.getElementsByTagName("body")[0],a=(i.innerWidth||r.clientWidth||s.clientWidth,i.innerHeight||r.clientHeight||s.clientHeight,this.getOs()),u=this.getOsVersion(a),c={ci:encodeURIComponent(this.getCookie(o["default"].COOKIE_NAME)),ls:null!==KwankoSDKLoader.lsValue?encodeURIComponent(KwankoSDKLoader.lsValue):null,lst:null!==KwankoSDKLoader.lsTime?encodeURIComponent(KwankoSDKLoader.lsTime):null,lsnc:null!==KwankoSDKLoader.lsNcValue?encodeURIComponent(KwankoSDKLoader.lsNcValue):null,lstnc:null!==KwankoSDKLoader.lsNcTime?encodeURIComponent(KwankoSDKLoader.lsNcTime):null,nc:null,language:window.navigator.language||window.navigator.userLanguage,ua:encodeURIComponent(navigator.userAgent),screenWidth:screen.width,screenHeight:screen.height,domain:encodeURIComponent(document.domain),origin:encodeURIComponent(location.origin)||encodeURIComponent(location.href),lp:encodeURIComponent(location.pathname),dt:encodeURIComponent(document.title),lat:t[0],"long":t[1],os:a,osv:u};return c},isMRAIDCreative:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return null!==e&&~e.indexOf("mraid.js")},documentReady:function(e){"loading"!=document.readyState?e():document.addEventListener?document.addEventListener("DOMContentLoaded",e):document.attachEvent("onreadystatechange",function(){"complete"==document.readyState&&e()})},isEnvDebug:function(){return null===this.debugStatus&&(this.debugLevel=this.getCookie(o["default"].COOKIE_DEBUG),this.debugStatus=this.debugLevel>=1),this.debugStatus},debug:function(e,t){var i=window.console&&window.console.debug?window.console:{debug:function(){}};this.isEnvDebug()&&(i.debug("KWK-SDKJS-DEBUG v"+o["default"].SDKV+" l"+this.debugLevel+" - "+(new Date).toLocaleString()+" : "+e),this.isDefined(t)&&i.debug(t))}}),c=u;e["default"]=c}),KWANKO_REQUIRE.alias("process/browser.js","process"), KWANKO_REQUIRE.alias("whatwg-fetch/fetch.js","whatwg-fetch"),e=KWANKO_REQUIRE("process"),KWANKO_REQUIRE.register("___globals___",function(e,t,i){})}(),KWANKO_REQUIRE("___globals___"),"undefined"==typeof console&&(console={log:function(){},debug:function(){},info:function(){},warn:function(){},error:function(){}});var KwankoSDKLoader=KWANKO_REQUIRE("kwanko/loader").KwankoSDKLoader;!function(e){"use strict";var t=e.console&&e.console.log?e.console:{log:function(){}};if(e.hasOwnProperty("__trknanapub"))return t.debug("__trknanapub already loaded. IGNORE."),!1;"function"!=typeof Array.prototype.push&&(Array.prototype.push=function(e){return this[this.length]=e,this.length});var i,n,i=function(){};i.prototype={encode:e.encodeURIComponent||e.escape,isDefined:function(e){return void 0!==e&&null!==e},isFunction:function(e){return"function"==typeof e},isString:function(e){return"string"==typeof e},isObject:function(e){return null!==e&&"object"==typeof e},isNumber:function(e){return"number"==typeof e&&!isNaN(e)},stringify:function(t){var i,n,r;if(!this.isObject(t)||null===t)return"";if(this.isObject(e.JSON)&&this.isFunction(e.JSON.stringify))return e.JSON.stringify(t);i=n=[],r="";for(i in t)n=t[i],this.isString(n)?n='"'+n+'"':this.isObject(n)&&null!==n&&(n=this.stringify(n)),r+='"'+i+'":'+n;return"{"+r+"}"}},n=function(e,t){this.tools.isDefined(t)||(t={}),this.a=e,this.params=t,this.init()},n.prototype={tools:new i,init:function(){var e=this._buildBase(this.params);e&&"function"==typeof KWANKO_REQUIRE&&this._addGetSlot()},_buildBase:function(t){var i,n,r;return n="div",r="",this.tools.isString(t.containerid)?(i=e.document.getElementById(t.containerid),!(!this.tools.isObject(i)||!this._tagControl(i.nodeName.toLowerCase()))&&(this.uid=t.containerid,this.params.uid=this.uid,!0)):(this.tools.isObject(t.base)&&this._tagControl(t.base.tag)&&(n=t.base.tag.toLowerCase(),r=this._attrFormat(t.base.attr)),this.uid="trknanaid"+this._getUid(),e.document.write("\n<"+n+' id="'+this.uid+'"'+r+"></"+n+">\n"),this.params.uid=this.uid,!0)},_addGetSlot:function(){var t={};if(t=e.document.getElementById(this.uid),this.tools.isObject(t))try{KwankoSDKLoader.getSlot(this.a,this.params)}catch(i){}},_getUid:function(){var e,t;return e=Math.random(),e=e.toString().substr(2,5),t=this.a.toLowerCase(),(new Date).getTime()+t+e},_tagControl:function(e){var t,i,n;for(i=["div","span","p"],n=i.length,t=0;t<n;t++)if(e===i[t])return!0;return!1},_attrFormat:function(e){var t,i=[];for(t in e)"id"!==t&&i.push(" "+t+'="'+e[t]+'"');return i.join("").toLowerCase()}},e.__trknanapub=n}(window);