cdn.ayc0zsm69431gfebd.info Open in urlscan Pro
2606:2800:233:1cb7:261b:1f9c:2074:3c  Public Scan

URL: https://cdn.ayc0zsm69431gfebd.info/prod/mng/t8y9347t.min.js
Submission Tags: falconsandbox
Submission: On August 17 via api from US — Scanned from DE

Form analysis 0 forms found in the DOM

Text Content

var nxtBundle=function(s){function t(t){for(var e,n,o=t[0],r=t[1],i=0,a=[];i<o.length;i++)n=o[i],c[n]&&a.push(c[n][0]),c[n]=0;for(e in r)Object.prototype.hasOwnProperty.call(r,e)&&(s[e]=r[e]);for(l&&l(t);a.length;)a.shift()()}var n={},c={Connext:0};function u(t){return p.p+""+({"Activation~ActivationOnlyFlow~MG2AuthSystem":"Activation~ActivationOnlyFlow~MG2AuthSystem",Activation:"Activation",ActivationOnlyFlow:"ActivationOnlyFlow",MG2AuthSystem:"MG2AuthSystem",Auth0AuthSystem:"Auth0AuthSystem",CustomAuthSystem:"CustomAuthSystem",JanrainAuthSystem:"JanrainAuthSystem",LikeButtons4:"LikeButtons4",NewzwareAuthSystem:"NewzwareAuthSystem"}[t]||t)+".js"}function p(t){if(n[t])return n[t].exports;var e=n[t]={i:t,l:!1,exports:{}};return s[t].call(e.exports,e,e.exports,p),e.l=!0,e.exports}p.e=function(r){var i,t,a,e=[],n=c[r];0!==n&&(n?e.push(n[2]):(s=new Promise(function(t,e){n=c[r]=[t,e]}),e.push(n[2]=s),o=document.getElementsByTagName("head")[0],(i=document.createElement("script")).charset="utf-8",i.timeout=120,p.nc&&i.setAttribute("nonce",p.nc),i.src=u(r),t=function(t){i.onerror=i.onload=null,clearTimeout(a);var e,n,o=c[r];0!==o&&(o&&(e=t&&("load"===t.type?"missing":t.type),n=t&&t.target&&t.target.src,(t=new Error("Loading chunk "+r+" failed.\n("+e+": "+n+")")).type=e,t.request=n,o[1](t)),c[r]=void 0)},a=setTimeout(function(){t({type:"timeout",target:i})},12e4),i.onerror=i.onload=t,o.appendChild(i)));var o,s={Activation:["Activation~ActivationOnlyFlow~MG2AuthSystem","MG2AuthSystem","NewzwareAuthSystem","Auth0AuthSystem","CustomAuthSystem","JanrainAuthSystem","LikeButtons4"],ActivationOnlyFlow:["Activation~ActivationOnlyFlow~MG2AuthSystem","MG2AuthSystem","NewzwareAuthSystem","Auth0AuthSystem","CustomAuthSystem","JanrainAuthSystem","LikeButtons4"],MG2AuthSystem:["Activation~ActivationOnlyFlow~MG2AuthSystem","Activation","NewzwareAuthSystem","Auth0AuthSystem","CustomAuthSystem","JanrainAuthSystem","LikeButtons4"],Auth0AuthSystem:["Activation~ActivationOnlyFlow~MG2AuthSystem","MG2AuthSystem","Activation","NewzwareAuthSystem","CustomAuthSystem","JanrainAuthSystem","LikeButtons4"],CustomAuthSystem:["Activation~ActivationOnlyFlow~MG2AuthSystem","MG2AuthSystem","Activation","NewzwareAuthSystem","Auth0AuthSystem","JanrainAuthSystem","LikeButtons4"],JanrainAuthSystem:["Activation~ActivationOnlyFlow~MG2AuthSystem","MG2AuthSystem","Activation","NewzwareAuthSystem","Auth0AuthSystem","CustomAuthSystem","LikeButtons4"],NewzwareAuthSystem:["Activation~ActivationOnlyFlow~MG2AuthSystem","MG2AuthSystem","Activation","Auth0AuthSystem","CustomAuthSystem","JanrainAuthSystem","LikeButtons4"]}[r];return s&&(o=document.getElementsByTagName("head")[0],s.forEach(function(t){var e;void 0===c[t]&&(c[t]=null,(e=document.createElement("link")).charset="utf-8",p.nc&&e.setAttribute("nonce",p.nc),e.rel="preload",e.as="script",e.href=u(t),o.appendChild(e))})),Promise.all(e)},p.m=s,p.c=n,p.d=function(t,e,n){p.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},p.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},p.t=function(e,t){if(1&t&&(e=p(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(p.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)p.d(n,o,function(t){return e[t]}.bind(null,o));return n},p.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return p.d(e,"a",e),e},p.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},p.p="http://localhost:9000/",p.oe=function(t){throw console.error(t),t};var e=window.webpackJsonpnxtBundle=window.webpackJsonpnxtBundle||[],o=e.push.bind(e);e.push=t,e=e.slice();for(var r=0;r<e.length;r++)t(e[r]);var l=o;return p(p.s=67)}([function(t,K,e){(function(W,H){var q;!function(){function e(){}var t="object"==typeof self&&self.self===self&&self||"object"==typeof W&&W.global===W&&W||this||{},n=t._,o=Array.prototype,a=Object.prototype,p="undefined"!=typeof Symbol?Symbol.prototype:null,r=o.push,c=o.slice,l=a.toString,i=a.hasOwnProperty,s=Array.isArray,u=Object.keys,f=Object.create,h=function(t){return t instanceof h?t:this instanceof h?void(this._wrapped=t):new h(t)};void 0===K||K.nodeType?t._=h:(void 0!==H&&!H.nodeType&&H.exports&&(K=H.exports=h),K._=h),h.VERSION="1.9.2";function d(r,i,t){if(void 0===i)return r;switch(null==t?3:t){case 1:return function(t){return r.call(i,t)};case 3:return function(t,e,n){return r.call(i,t,e,n)};case 4:return function(t,e,n,o){return r.call(i,t,e,n,o)}}return function(){return r.apply(i,arguments)}}function y(t,e,n){return h.iteratee!==_?h.iteratee(t,e):null==t?h.identity:h.isFunction(t)?d(t,e,n):h.isObject(t)&&!h.isArray(t)?h.matcher(t):h.property(t)}var _;h.iteratee=_=function(t,e){return y(t,e,1/0)};function g(r,i){return i=null==i?r.length-1:+i,function(){for(var t=Math.max(arguments.length-i,0),e=Array(t),n=0;n<t;n++)e[n]=arguments[n+i];switch(i){case 0:return r.call(this,e);case 1:return r.call(this,arguments[0],e);case 2:return r.call(this,arguments[0],arguments[1],e)}for(var o=Array(i+1),n=0;n<i;n++)o[n]=arguments[n];return o[i]=e,r.apply(this,o)}}function v(t){return h.isObject(t)?f?f(t):(e.prototype=t,t=new e,e.prototype=null,t):{}}function m(e){return function(t){return null==t?void 0:t[e]}}function w(t,e){return null!=t&&i.call(t,e)}function C(t,e){for(var n=e.length,o=0;o<n;o++){if(null==t)return;t=t[e[o]]}return n?t:void 0}function O(t){return"number"==typeof(t=b(t))&&0<=t&&t<=A}var A=Math.pow(2,53)-1,b=m("length");h.each=h.forEach=function(t,e,n){if(e=d(e,n),O(t))for(r=0,i=t.length;r<i;r++)e(t[r],r,t);else for(var o=h.keys(t),r=0,i=o.length;r<i;r++)e(t[o[r]],o[r],t);return t},h.map=h.collect=function(t,e,n){e=y(e,n);for(var o=!O(t)&&h.keys(t),r=(o||t).length,i=Array(r),a=0;a<r;a++){var s=o?o[a]:a;i[a]=e(t[s],s,t)}return i};var E=function(c){return function(t,e,n,o){var r=3<=arguments.length;return function(t,e,n,o){var r=!O(t)&&h.keys(t),i=(r||t).length,a=0<c?0:i-1;for(o||(n=t[r?r[a]:a],a+=c);0<=a&&a<i;a+=c){var s=r?r[a]:a;n=e(n,t[s],s,t)}return n}(t,d(e,o,4),n,r)}};h.reduce=h.foldl=h.inject=E(1),h.reduceRight=h.foldr=E(-1),h.find=h.detect=function(t,e,n){n=(O(t)?h.findIndex:h.findKey)(t,e,n);if(void 0!==n&&-1!==n)return t[n]},h.filter=h.select=function(t,o,e){var r=[];return o=y(o,e),h.each(t,function(t,e,n){o(t,e,n)&&r.push(t)}),r},h.reject=function(t,e,n){return h.filter(t,h.negate(y(e)),n)},h.every=h.all=function(t,e,n){e=y(e,n);for(var o=!O(t)&&h.keys(t),r=(o||t).length,i=0;i<r;i++){var a=o?o[i]:i;if(!e(t[a],a,t))return!1}return!0},h.some=h.any=function(t,e,n){e=y(e,n);for(var o=!O(t)&&h.keys(t),r=(o||t).length,i=0;i<r;i++){var a=o?o[i]:i;if(e(t[a],a,t))return!0}return!1},h.contains=h.includes=h.include=function(t,e,n,o){return O(t)||(t=h.values(t)),"number"==typeof n&&!o||(n=0),0<=h.indexOf(t,e,n)},h.invoke=g(function(t,n,o){var r,i;return h.isFunction(n)?i=n:h.isArray(n)&&(r=n.slice(0,-1),n=n[n.length-1]),h.map(t,function(t){var e=i;if(!e){if(r&&r.length&&(t=C(t,r)),null==t)return;e=t[n]}return null==e?e:e.apply(t,o)})}),h.pluck=function(t,e){return h.map(t,h.property(e))},h.where=function(t,e){return h.filter(t,h.matcher(e))},h.findWhere=function(t,e){return h.find(t,h.matcher(e))},h.max=function(t,o,e){var n,r,i=-1/0,a=-1/0;if(null==o||"number"==typeof o&&"object"!=typeof t[0]&&null!=t)for(var s=0,c=(t=O(t)?t:h.values(t)).length;s<c;s++)null!=(n=t[s])&&i<n&&(i=n);else o=y(o,e),h.each(t,function(t,e,n){r=o(t,e,n),(a<r||r===-1/0&&i===-1/0)&&(i=t,a=r)});return i},h.min=function(t,o,e){var n,r,i=1/0,a=1/0;if(null==o||"number"==typeof o&&"object"!=typeof t[0]&&null!=t)for(var s=0,c=(t=O(t)?t:h.values(t)).length;s<c;s++)null!=(n=t[s])&&n<i&&(i=n);else o=y(o,e),h.each(t,function(t,e,n){((r=o(t,e,n))<a||r===1/0&&i===1/0)&&(i=t,a=r)});return i},h.shuffle=function(t){return h.sample(t,1/0)},h.sample=function(t,e,n){if(null==e||n)return O(t)||(t=h.values(t)),t[h.random(t.length-1)];var o=O(t)?h.clone(t):h.values(t),t=b(o);e=Math.max(Math.min(e,t),0);for(var r=t-1,i=0;i<e;i++){var a=h.random(i,r),s=o[i];o[i]=o[a],o[a]=s}return o.slice(0,e)},h.sortBy=function(t,o,e){var r=0;return o=y(o,e),h.pluck(h.map(t,function(t,e,n){return{value:t,index:r++,criteria:o(t,e,n)}}).sort(function(t,e){var n=t.criteria,o=e.criteria;if(n!==o){if(o<n||void 0===n)return 1;if(n<o||void 0===o)return-1}return t.index-e.index}),"value")};var P=function(i,e){return function(n,o,t){var r=e?[[],[]]:{};return o=y(o,t),h.each(n,function(t,e){e=o(t,e,n);i(r,t,e)}),r}};h.groupBy=P(function(t,e,n){w(t,n)?t[n].push(e):t[n]=[e]}),h.indexBy=P(function(t,e,n){t[n]=e}),h.countBy=P(function(t,e,n){w(t,n)?t[n]++:t[n]=1});var S=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;h.toArray=function(t){return t?h.isArray(t)?c.call(t):h.isString(t)?t.match(S):O(t)?h.map(t,h.identity):h.values(t):[]},h.size=function(t){return null==t?0:(O(t)?t:h.keys(t)).length},h.partition=P(function(t,e,n){t[n?0:1].push(e)},!0),h.first=h.head=h.take=function(t,e,n){return null==t||t.length<1?null==e?void 0:[]:null==e||n?t[0]:h.initial(t,t.length-e)},h.initial=function(t,e,n){return c.call(t,0,Math.max(0,t.length-(null==e||n?1:e)))},h.last=function(t,e,n){return null==t||t.length<1?null==e?void 0:[]:null==e||n?t[t.length-1]:h.rest(t,Math.max(0,t.length-e))},h.rest=h.tail=h.drop=function(t,e,n){return c.call(t,null==e||n?1:e)},h.compact=function(t){return h.filter(t,Boolean)};var D=function(t,e,n,o){for(var r=(o=o||[]).length,i=0,a=b(t);i<a;i++){var s=t[i];if(O(s)&&(h.isArray(s)||h.isArguments(s)))if(e)for(var c=0,u=s.length;c<u;)o[r++]=s[c++];else D(s,e,n,o),r=o.length;else n||(o[r++]=s)}return o};h.flatten=function(t,e){return D(t,e,!1)},h.without=g(function(t,e){return h.difference(t,e)}),h.uniq=h.unique=function(t,e,n,o){h.isBoolean(e)||(o=n,n=e,e=!1),null!=n&&(n=y(n,o));for(var r=[],i=[],a=0,s=b(t);a<s;a++){var c=t[a],u=n?n(c,a,t):c;e&&!n?(a&&i===u||r.push(c),i=u):n?h.contains(i,u)||(i.push(u),r.push(c)):h.contains(r,c)||r.push(c)}return r},h.union=g(function(t){return h.uniq(D(t,!0,!0))}),h.intersection=function(t){for(var e=[],n=arguments.length,o=0,r=b(t);o<r;o++){var i=t[o];if(!h.contains(e,i)){for(var a=1;a<n&&h.contains(arguments[a],i);a++);a===n&&e.push(i)}}return e},h.difference=g(function(t,e){return e=D(e,!0,!0),h.filter(t,function(t){return!h.contains(e,t)})}),h.unzip=function(t){for(var e=t&&h.max(t,b).length||0,n=Array(e),o=0;o<e;o++)n[o]=h.pluck(t,o);return n},h.zip=g(h.unzip),h.object=function(t,e){for(var n={},o=0,r=b(t);o<r;o++)e?n[t[o]]=e[o]:n[t[o][0]]=t[o][1];return n};E=function(i){return function(t,e,n){e=y(e,n);for(var o=b(t),r=0<i?0:o-1;0<=r&&r<o;r+=i)if(e(t[r],r,t))return r;return-1}};h.findIndex=E(1),h.findLastIndex=E(-1),h.sortedIndex=function(t,e,n,o){for(var r=(n=y(n,o,1))(e),i=0,a=b(t);i<a;){var s=Math.floor((i+a)/2);n(t[s])<r?i=s+1:a=s}return i};P=function(i,a,s){return function(t,e,n){var o=0,r=b(t);if("number"==typeof n)0<i?o=0<=n?n:Math.max(n+r,o):r=0<=n?Math.min(n+1,r):n+r+1;else if(s&&n&&r)return t[n=s(t,e)]===e?n:-1;if(e!=e)return 0<=(n=a(c.call(t,o,r),h.isNaN))?n+o:-1;for(n=0<i?o:r-1;0<=n&&n<r;n+=i)if(t[n]===e)return n;return-1}};h.indexOf=P(1,h.findIndex,h.sortedIndex),h.lastIndexOf=P(-1,h.findLastIndex),h.range=function(t,e,n){null==e&&(e=t||0,t=0),n=n||(e<t?-1:1);for(var o=Math.max(Math.ceil((e-t)/n),0),r=Array(o),i=0;i<o;i++,t+=n)r[i]=t;return r},h.chunk=function(t,e){if(null==e||e<1)return[];for(var n=[],o=0,r=t.length;o<r;)n.push(c.call(t,o,o+=e));return n};function I(t,e,n,o,r){return o instanceof e?(n=v(t.prototype),r=t.apply(n,r),h.isObject(r)?r:n):t.apply(n,r)}h.bind=g(function(e,n,o){if(!h.isFunction(e))throw new TypeError("Bind must be called on a function");var r=g(function(t){return I(e,r,n,this,o.concat(t))});return r}),h.partial=g(function(r,i){var a=h.partial.placeholder,s=function(){for(var t=0,e=i.length,n=Array(e),o=0;o<e;o++)n[o]=i[o]===a?arguments[t++]:i[o];for(;t<arguments.length;)n.push(arguments[t++]);return I(r,s,this,this,n)};return s}),(h.partial.placeholder=h).bindAll=g(function(t,e){var n=(e=D(e,!1,!1)).length;if(n<1)throw new Error("bindAll must be passed function names");for(;n--;){var o=e[n];t[o]=h.bind(t[o],t)}}),h.memoize=function(o,r){var i=function(t){var e=i.cache,n=""+(r?r.apply(this,arguments):t);return w(e,n)||(e[n]=o.apply(this,arguments)),e[n]};return i.cache={},i},h.delay=g(function(t,e,n){return setTimeout(function(){return t.apply(null,n)},e)}),h.defer=h.partial(h.delay,h,1),h.throttle=function(n,o,r){var i,a,s,c,u=0;r=r||{};function p(){u=!1===r.leading?0:h.now(),i=null,c=n.apply(a,s),i||(a=s=null)}function t(){var t=h.now();u||!1!==r.leading||(u=t);var e=o-(t-u);return a=this,s=arguments,e<=0||o<e?(i&&(clearTimeout(i),i=null),u=t,c=n.apply(a,s),i||(a=s=null)):i||!1===r.trailing||(i=setTimeout(p,e)),c}return t.cancel=function(){clearTimeout(i),u=0,i=a=s=null},t},h.debounce=function(n,o,r){function i(t,e){a=null,e&&(s=n.apply(t,e))}var a,s,t=g(function(t){var e;return a&&clearTimeout(a),r?(e=!a,a=setTimeout(i,o),e&&(s=n.apply(this,t))):a=h.delay(i,o,this,t),s});return t.cancel=function(){clearTimeout(a),a=null},t},h.wrap=function(t,e){return h.partial(e,t)},h.negate=function(t){return function(){return!t.apply(this,arguments)}},h.compose=function(){var n=arguments,o=n.length-1;return function(){for(var t=o,e=n[o].apply(this,arguments);t--;)e=n[t].call(this,e);return e}},h.after=function(t,e){return function(){if(--t<1)return e.apply(this,arguments)}},h.before=function(t,e){var n;return function(){return 0<--t&&(n=e.apply(this,arguments)),t<=1&&(e=null),n}},h.once=h.partial(h.before,2),h.restArguments=g;function M(t,e){var n=T.length,o=t.constructor,r=h.isFunction(o)&&o.prototype||a,i="constructor";for(w(t,i)&&!h.contains(e,i)&&e.push(i);n--;)(i=T[n])in t&&t[i]!==r[i]&&!h.contains(e,i)&&e.push(i)}var j=!{toString:null}.propertyIsEnumerable("toString"),T=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"];h.keys=function(t){if(!h.isObject(t))return[];if(u)return u(t);var e,n=[];for(e in t)w(t,e)&&n.push(e);return j&&M(t,n),n},h.allKeys=function(t){if(!h.isObject(t))return[];var e,n=[];for(e in t)n.push(e);return j&&M(t,n),n},h.values=function(t){for(var e=h.keys(t),n=e.length,o=Array(n),r=0;r<n;r++)o[r]=t[e[r]];return o},h.mapObject=function(t,e,n){e=y(e,n);for(var o=h.keys(t),r=o.length,i={},a=0;a<r;a++){var s=o[a];i[s]=e(t[s],s,t)}return i},h.pairs=function(t){for(var e=h.keys(t),n=e.length,o=Array(n),r=0;r<n;r++)o[r]=[e[r],t[e[r]]];return o},h.invert=function(t){for(var e={},n=h.keys(t),o=0,r=n.length;o<r;o++)e[t[n[o]]]=n[o];return e},h.functions=h.methods=function(t){var e,n=[];for(e in t)h.isFunction(t[e])&&n.push(e);return n.sort()};E=function(c,u){return function(t){var e=arguments.length;if(u&&(t=Object(t)),e<2||null==t)return t;for(var n=1;n<e;n++)for(var o=arguments[n],r=c(o),i=r.length,a=0;a<i;a++){var s=r[a];u&&void 0!==t[s]||(t[s]=o[s])}return t}};h.extend=E(h.allKeys),h.extendOwn=h.assign=E(h.keys),h.findKey=function(t,e,n){e=y(e,n);for(var o,r=h.keys(t),i=0,a=r.length;i<a;i++)if(e(t[o=r[i]],o,t))return o};function x(t,e,n){return e in n}var k,N;h.pick=g(function(t,e){var n={},o=e[0];if(null==t)return n;h.isFunction(o)?(1<e.length&&(o=d(o,e[1])),e=h.allKeys(t)):(o=x,e=D(e,!1,!1),t=Object(t));for(var r=0,i=e.length;r<i;r++){var a=e[r],s=t[a];o(s,a,t)&&(n[a]=s)}return n}),h.omit=g(function(t,n){var e,o=n[0];return h.isFunction(o)?(o=h.negate(o),1<n.length&&(e=n[1])):(n=h.map(D(n,!1,!1),String),o=function(t,e){return!h.contains(n,e)}),h.pick(t,o,e)}),h.defaults=E(h.allKeys,!0),h.create=function(t,e){t=v(t);return e&&h.extendOwn(t,e),t},h.clone=function(t){return h.isObject(t)?h.isArray(t)?t.slice():h.extend({},t):t},h.tap=function(t,e){return e(t),t},h.isMatch=function(t,e){var n=h.keys(e),o=n.length;if(null==t)return!o;for(var r=Object(t),i=0;i<o;i++){var a=n[i];if(e[a]!==r[a]||!(a in r))return!1}return!0},k=function(t,e,n,o){if(t===e)return 0!==t||1/t==1/e;if(null==t||null==e)return!1;if(t!=t)return e!=e;var r=typeof t;return("function"==r||"object"==r||"object"==typeof e)&&N(t,e,n,o)},N=function(t,e,n,o){t instanceof h&&(t=t._wrapped),e instanceof h&&(e=e._wrapped);var r=l.call(t);if(r!==l.call(e))return!1;switch(r){case"[object RegExp]":case"[object String]":return""+t==""+e;case"[object Number]":return+t!=+t?+e!=+e:0==+t?1/+t==1/e:+t==+e;case"[object Date]":case"[object Boolean]":return+t==+e;case"[object Symbol]":return p.valueOf.call(t)===p.valueOf.call(e)}var i="[object Array]"===r;if(!i){if("object"!=typeof t||"object"!=typeof e)return!1;var a=t.constructor,r=e.constructor;if(a!==r&&!(h.isFunction(a)&&a instanceof a&&h.isFunction(r)&&r instanceof r)&&"constructor"in t&&"constructor"in e)return!1}o=o||[];for(var s=(n=n||[]).length;s--;)if(n[s]===t)return o[s]===e;if(n.push(t),o.push(e),i){if((s=t.length)!==e.length)return!1;for(;s--;)if(!k(t[s],e[s],n,o))return!1}else{var c,u=h.keys(t),s=u.length;if(h.keys(e).length!==s)return!1;for(;s--;)if(c=u[s],!w(e,c)||!k(t[c],e[c],n,o))return!1}return n.pop(),o.pop(),!0},h.isEqual=function(t,e){return k(t,e)},h.isEmpty=function(t){return null==t||(O(t)&&(h.isArray(t)||h.isString(t)||h.isArguments(t))?0===t.length:0===h.keys(t).length)},h.isElement=function(t){return!(!t||1!==t.nodeType)},h.isArray=s||function(t){return"[object Array]"===l.call(t)},h.isObject=function(t){var e=typeof t;return"function"==e||"object"==e&&!!t},h.each(["Arguments","Function","String","Number","Date","RegExp","Error","Symbol","Map","WeakMap","Set","WeakSet"],function(e){h["is"+e]=function(t){return l.call(t)==="[object "+e+"]"}}),h.isArguments(arguments)||(h.isArguments=function(t){return w(t,"callee")});P=t.document&&t.document.childNodes;"function"!=typeof/./&&"object"!=typeof Int8Array&&"function"!=typeof P&&(h.isFunction=function(t){return"function"==typeof t||!1}),h.isFinite=function(t){return!h.isSymbol(t)&&isFinite(t)&&!isNaN(parseFloat(t))},h.isNaN=function(t){return h.isNumber(t)&&isNaN(t)},h.isBoolean=function(t){return!0===t||!1===t||"[object Boolean]"===l.call(t)},h.isNull=function(t){return null===t},h.isUndefined=function(t){return void 0===t},h.has=function(t,e){if(!h.isArray(e))return w(t,e);for(var n=e.length,o=0;o<n;o++){var r=e[o];if(null==t||!i.call(t,r))return!1;t=t[r]}return!!n},h.noConflict=function(){return t._=n,this},h.identity=function(t){return t},h.constant=function(t){return function(){return t}},h.noop=function(){},h.property=function(e){return h.isArray(e)?function(t){return C(t,e)}:m(e)},h.propertyOf=function(e){return null==e?function(){}:function(t){return h.isArray(t)?C(e,t):e[t]}},h.matcher=h.matches=function(e){return e=h.extendOwn({},e),function(t){return h.isMatch(t,e)}},h.times=function(t,e,n){var o=Array(Math.max(0,t));e=d(e,n,1);for(var r=0;r<t;r++)o[r]=e(r);return o},h.random=function(t,e){return null==e&&(e=t,t=0),t+Math.floor(Math.random()*(e-t+1))},h.now=Date.now||function(){return(new Date).getTime()};E={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},s=h.invert(E),P=function(e){function n(t){return e[t]}var t="(?:"+h.keys(e).join("|")+")",o=RegExp(t),r=RegExp(t,"g");return function(t){return t=null==t?"":""+t,o.test(t)?t.replace(r,n):t}};h.escape=P(E),h.unescape=P(s),h.result=function(t,e,n){h.isArray(e)||(e=[e]);var o=e.length;if(!o)return h.isFunction(n)?n.call(t):n;for(var r=0;r<o;r++){var i=null==t?void 0:t[e[r]];void 0===i&&(i=n,r=o),t=h.isFunction(i)?i.call(t):i}return t};var L=0;h.uniqueId=function(t){var e=++L+"";return t?t+e:e},h.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};function R(t){return"\\"+V[t]}var U=/(.)^/,V={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},B=/\\|'|\r|\n|\u2028|\u2029/g;h.template=function(i,t,e){!t&&e&&(t=e),t=h.defaults({},t,h.templateSettings);var n,o=RegExp([(t.escape||U).source,(t.interpolate||U).source,(t.evaluate||U).source].join("|")+"|$","g"),a=0,s="__p+='";i.replace(o,function(t,e,n,o,r){return s+=i.slice(a,r).replace(B,R),a=r+t.length,e?s+="'+\n((__t=("+e+"))==null?'':_.escape(__t))+\n'":n?s+="'+\n((__t=("+n+"))==null?'':__t)+\n'":o&&(s+="';\n"+o+"\n__p+='"),t}),s+="';\n",t.variable||(s="with(obj||{}){\n"+s+"}\n"),s="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+s+"return __p;\n";try{n=new Function(t.variable||"obj","_",s)}catch(t){throw t.source=s,t}e=function(t){return n.call(this,t,h)},o=t.variable||"obj";return e.source="function("+o+"){\n"+s+"}",e},h.chain=function(t){t=h(t);return t._chain=!0,t};function F(t,e){return t._chain?h(e).chain():e}h.mixin=function(n){return h.each(h.functions(n),function(t){var e=h[t]=n[t];h.prototype[t]=function(){var t=[this._wrapped];return r.apply(t,arguments),F(this,e.apply(h,t))}}),h},h.mixin(h),h.each(["pop","push","reverse","shift","sort","splice","unshift"],function(e){var n=o[e];h.prototype[e]=function(){var t=this._wrapped;return n.apply(t,arguments),"shift"!==e&&"splice"!==e||0!==t.length||delete t[0],F(this,t)}}),h.each(["concat","join","slice"],function(t){var e=o[t];h.prototype[t]=function(){return F(this,e.apply(this._wrapped,arguments))}}),h.prototype.value=function(){return this._wrapped},h.prototype.valueOf=h.prototype.toJSON=h.prototype.value,h.prototype.toString=function(){return String(this._wrapped)},void 0===(q=function(){return h}.apply(K,[]))||(H.exports=q)}()}).call(this,e(73),e(74)(t))},,function(t,e,n){"use strict";n.d(e,"d",function(){return o}),n.d(e,"b",function(){return r}),n.d(e,"c",function(){return i}),n.d(e,"e",function(){return a}),n.d(e,"a",function(){return s}),n.d(e,"f",function(){return c});var o="9999-01-01",r={IgmRegID:"igmRegID",IgmContent:"igmContent",IgmAuth:"igmAuth",NzwRegId:"nzwRegId",NzwToken:"nzwToken",NzwLid:"nzwLid",UserLastUpdateDate:"connext_userLastUpdateDate",UserDataExpiration:"Connext_AccountDataExpirationCookie"},i="Sorry, there's a server problem or a problem with the network. ",a={AccessToken:"Connext_AccessToken",ConnextAuthType:"connext_auth_type",ConnextCheckDomainWrite:"nxt_ckck_dmn_wrt",ConnextDomain:"nxt_dmn",ConnextMessagingData:"nxt_msg_dt",ConnextMessagingDataExpire:"nxt_msg_expr",ConnextPaywallFired:"connext_paywallFired",ConnextRootDomain:"nxt_rt_dmn",ConnextTimeRepeatableActions:"nxtact",ConnextUpdateArticleCount:"nxt_upd_ac",ConnextUserData:"connext_user_data",ConnextUserProfile:"connext_user_profile",ConnextUserId:"anonDeviceId",ConnextUserLastUpdateDate:"connext_userLastUpdateDate",ConnextViewStructure:"nxt",ViewsAutoResetLastDate:"nxt_vwsrld",Configuration:"Connext_Configuration",Conversations:{Current:"Connext_CurrentConversations",Previous:"Connext_PreviousConversations"},CurrentConversation:"CurrentConversation",CustomZip:"CustomZip",DevicePostfix:"_device",LastPublishDate:"Connext_LastPublishDate",RepeatablesInConv:"repeatablesInConv",ViewedArticles:"Connext_ViewedArticles",GlobalLocation:"GlobalLocation",WhitelistSet:"WhitelistSet",WhitelistInfobox:"WhitelistInfobox",NeedHidePinTemplate:"NeedHidePinTemplate",PinAttempts:"PinAttempts",ArticleCost:"ArticleCost",StartLoadPlugin:"StartLoadPlugin",UniqueArticles:"uniqueArticles",PublishSettings:"pS",ForceConfigDownload:"nxt_cfg_force",DebugPanel:{ZipCode:"dbZipCode",ConfigurationIsCustom:"Connext_Configuration_isCustom",ConfigCode:"Connext_Configuration_ConfigCode",SiteCode:"Connext_Configuration_SiteCode"},DebugMode:"nxt_debug",CookiePrefix:"sub_",AdblockLastDetect:"connext_adblock_last_detect",IsIncognitoBrowsing:"nxt_is_incognito",AnonDeviceIdRegenStats:"anonDeviceIdRegenStats",AutoQA:"nxt_autoQA"},s={ArticleCount:"ac",DeviceArticleCount:"ac_d",StartDate:"s"},c={RepeatAfter:"rpt",Count:"rtpc"}},function(t,e,n){"use strict";n.d(e,"a",function(){return a});var o=n(30),r=n(7),i=n(0),a=(s.prototype.prepareValueToCompare=function(t){if("number"==typeof t||"boolean"==typeof t)return t;if(Object(i.isString)(t)){if("''"===t)return"";var e=t.toLowerCase();if("true"===e)return!0;if("false"===e)return!1;if("null"===e)return null;if("undefined"===e)return;if(-1<e.indexOf(","))return e;e=parseFloat(t);return"number"==typeof e&&e!=+e?t.toLowerCase():e}return!Object(i.isArray)(t)&&(null===t||"object"!=typeof t&&"function"!=typeof t)?t:t.toString().toLowerCase()},s.prototype.setOptions=function(t){this.options=t},s.prototype.evaluateOperator=function(t,e,n){switch(o.a.getOperator(n)){case r.a.Equal:return this.equal(t,e);case r.a.NotEqual:return this.notEqual(t,e);case r.a.LessThan:return this.lessThan(t,e);case r.a.GreaterThan:return this.greaterThan(t,e);case r.a.LessThanEqual:return this.lessThanEqual(t,e);case r.a.GreaterThanEqual:return this.greaterThanEqual(t,e);case r.a.EndWith:return this.endWith(t,e);case r.a.StartWith:return this.startWith(t,e);case r.a.Contains:return this.contains(t,e);case r.a.DoesNotContain:return this.doesNotContain(t,e);case r.a.In:return this.in(t,e);case r.a.NotIn:return this.notIn(t,e);case r.a.Intersect:return this.intersect(t,e);case r.a.DoesNotIntersect:return this.doesNotIntersect(t,e);default:return this.equal(t,e)}},s.prototype.equal=function(t,e){return this.prepareValueToCompare(t)==this.prepareValueToCompare(e)},s.prototype.notEqual=function(t,e){return!this.equal(t,e)},s.prototype.lessThan=function(t,e){return t<e},s.prototype.greaterThan=function(t,e){return e<t},s.prototype.lessThanEqual=function(t,e){return t<=e},s.prototype.greaterThanEqual=function(t,e){return e<=t},s.prototype.endWith=function(t,e){if(Object(i.isArray)(t))return e.toLowerCase()==t[t.length-1];if("string"!=typeof t)return!1;var n=t.length-e.length,e=t.toLowerCase().indexOf(e,n);return-1!==e&&e===n},s.prototype.startWith=function(t,e){return Object(i.isArray)(t)?e.toLowerCase()==t[0]:!!Object(i.isString)(t)&&0===t.toLowerCase().indexOf(e.toLowerCase())},s.prototype.contains=function(t,e){return new RegExp(e,"i").test(t)},s.prototype.doesNotContain=function(t,e){return!this.contains(t,e)},s.prototype.in=function(t,e){return this.contains(t,e)},s.prototype.notIn=function(t,e){return!this.in(t,e)},s.prototype.intersect=function(e,t){var n=this;return t.split(",").some(function(t){return n.contains(e,t)})},s.prototype.doesNotIntersect=function(t,e){return!this.intersect(t,e)},s);function s(){this.NAME="Expression"}},,function(t,e,n){"use strict";var r=n(27),o=n(49),i=n(43),a=n(0),s=n(30),c=n(7),u=(p.prototype.getInformation=function(){var t=this.getMinViewType();return{ArticleLeft:this.replaceInfinity(this.getBeforeView()),Limit:this.replaceInfinity(this.getLimitview()),MinView:t}},p.prototype.getBeforeView=function(){return{Conversation:this.leftBeforePaywall(this.paywallsView.conversation,F.getCurrentConversationViewCount()),Meter:this.leftBeforePaywall(this.paywallsView.meter,F.getCurrentDynamicMeterViewCount())}},p.prototype.getLimitview=function(){return{Conversation:Object(a.min)(this.paywallsView.conversation),Meter:Object(a.min)(this.paywallsView.meter)}},p.prototype.getMinViewType=function(){var t=this.getBeforeView();return isFinite(t.Conversation)&&(!isFinite(t.Meter)||t.Conversation>t.Meter)?i.g.Conversation:i.g.Meter},p.prototype.replaceInfinity=function(n){var o=this;return Object(a.each)(n,function(t,e){isFinite(t)||(n[e]=o.UnlimitedArticlesString)}),n},p.prototype.leftBeforePaywall=function(t,e){t=Object(a.min)(t);return isFinite(t)?(e=t-e)<0?0:e:t},p.prototype.getConversationViews=function(t){t=Object(a.where)(t.Who,{TypeName:o.a.ConversationView});return this.getCriteriaViews(t)},p.prototype.getMeterViews=function(t){t=Object(a.where)(t.Who,{TypeName:o.a.MeterView});return this.getCriteriaViews(t)},p.prototype.getCriteriaViews=function(t){var r=[];return Object(a.each)(t,function(t,e){var n,o=parseInt(t.Value,10);switch(s.a.getOperator(t.Qualifier)){case c.a.Equal:case c.a.GreaterThanEqual:n=o;break;case c.a.GreaterThan:n=o+1}r.push(n)}),Object(a.min)(r)},p);function p(t){var n=this;this.UnlimitedArticlesString="unlimited",this.paywallsView={conversation:[],meter:[]},Object(a.each)(t,function(t,e){n.paywallsView.conversation.push(n.getConversationViews(t)),n.paywallsView.meter.push(n.getMeterViews(t))})}var l=n(145),f=n(146),h=n(128),d=n(42),y=n(2);function _(){}var g=new(_.prototype.sendViewsData=function(t,e){return e.contentType="application/json",l.a.log("sendViewsData calling...","views","data",t),f.a.post("views",t,e)},_.prototype.getViewStructure=function(){var t=h.a.get(y.e.ConnextViewStructure);return t?JSON.parse(t):{}},_.prototype.deleteConnextViewStructure=function(){h.a.delete(y.e.ConnextViewStructure)},_.prototype.setViewStructure=function(t,e){h.a.set(y.e.ConnextViewStructure,JSON.stringify(t),e)},_.prototype.getViewedArticles=function(){return d.a.get(y.e.ViewedArticles)},_.prototype.setViewedArticles=function(t){d.a.set(y.e.ViewedArticles,t)},_.prototype.deleteViewedArticles=function(){d.a.delete(y.e.ViewedArticles)},_.prototype.setUniqueArticles=function(t){d.a.set(y.e.UniqueArticles,t)},_.prototype.getUniqueArticles=function(){return d.a.get(y.e.UniqueArticles)},_.prototype.setUpdateArticleCount=function(t,e){h.a.set(y.e.ConnextUpdateArticleCount,t,e)},_.prototype.getUpdateArticleCount=function(){return h.a.get(y.e.ConnextUpdateArticleCount)},_.prototype.setLastResetDate=function(t,e){h.a.set(y.e.ViewsAutoResetLastDate,t,e)},_.prototype.getLastResetDate=function(){return h.a.get(y.e.ViewsAutoResetLastDate)},_.prototype.getApiViewData=function(t,e){return l.a.log("getApiViewData calling...","views",t),f.a.get("views",t,e)},_.prototype.serverStorageResetConversationViews=function(t,e){return f.a.get("views/user/delete",t,e)},_.prototype.serverStorageDeleteViewsByUserId=function(t,e){return f.a.get("views/user/delete",t,e)},_.prototype.setRegistrationType=function(t){d.a.set(y.e.ConnextAuthType,t)},_.prototype.getRegistrationType=function(){return d.a.get(y.e.ConnextAuthType)||{}},_.prototype.clear=function(){d.a.clear()},_.prototype.sendViewsDataFromNewDevice=function(t,e){return e.contentType="application/json",l.a.log("sendViewsData from new device calling...",t),f.a.post("views/regenerate",t,e)},_),v=n(143),m=n(105),w=n(13),C=n(126),O=n(125),A=n(135),b=n(119),E=n(82),P=n(25),S=n(85),D=n(45),I=n(46),M=n(88),j=n(14),T=n(58),x=n.n(T),k=(N.prototype.renderCookieObject=function(){var t={};return t[I.p.ArticleCount]=this.viewCount,t[I.p.DeviceArticleCount]=this.deviceViewCount,t[I.p.StartDate]=this.startDate,t},N.prototype.increment=function(){this.viewCount++,this.deviceViewCount++},N.prototype.setStartDate=function(t){this.startDate=t},N.prototype.getStartDate=function(){return this.startDate},N.prototype.getViewCount=function(){return this.viewCount},N.prototype.reset=function(){this.viewCount=0,this.deviceViewCount=0},N);function N(t,e,n){void 0===e&&(e={}),void 0===n&&(n=null),this.viewCount=t.ViewCount||e[I.p.ArticleCount]||0,this.deviceViewCount=t.DeviceViewCount||e[I.p.DeviceArticleCount]||0,this.startDate=t.StartDate||(e[I.p.StartDate]?new Date(e[I.p.StartDate]):void 0),this.actions=t.Actions,this.id=t.Id||n}var L=(R.prototype.generateConversationsView=function(){var e=[];return Object(a.each)(this.conversations,function(t){e.push(new k(t))}),e},R.prototype.renderCookieObject=function(){var t={};return t[I.p.DeviceMeterView]=this.deviceArticleCount,t[I.p.MeterView]=this.articleCount,t[I.p.ActiveConvoId]=this.activeConversationId,Object(a.extendOwn)(t,this.renderConversationsViewCookie()),t},R.prototype.renderConversationsViewCookie=function(){var e={};return this.actionData={},Object(a.each)(this.conversationsViews,function(t){e[t.id]=t.renderCookieObject()}),e},R.prototype.getActionRepeatableCookie=function(){return this.actionData},R.prototype.increment=function(){var t=this.getIncrementValue();this.articleCount+=t,this.deviceArticleCount+=t,this.activeConversationView.increment()},R.prototype.getIncrementValue=function(){return-1==this.activeConversationView.id?0:1},R.prototype.updateStartDate=function(t){this.activeConversationView.setStartDate(t)},R.prototype.getViewData=function(){var e=this,n=[];Object(a.each)(this.conversationsViews,function(t){n.push({StartDate:t.startDate,ViewCount:t.viewCount,DeviceViewCount:t.deviceViewCount,Actions:e.actionData,Id:t.id})});var t={};return t[I.h[this.meterLevel]]={ActiveConversationId:this.activeConversationId,ArticleCount:this.articleCount,Conversations:n,DeviceArticleCount:this.deviceArticleCount},t},R.prototype.linkDevicesView=function(n){var o=0;Object(a.each)(this.conversationsViews,function(t){var e;n[t.conversationId]&&(e=t.viewCount-t.deviceViewCount+n[t.conversationId][I.p.DeviceArticleCount],t.viewCount=0<e?e:t.viewCount,o+=t.viewCount)}),this.articleCount=o},R.prototype.resetConversationView=function(e){var t=Object(a.find)(this.conversationsViews,function(t){return t.id==e.Id});t&&(this.articleCount=this.articleCount-t.viewCount,this.articleCount=this.articleCount<0?0:this.articleCount,this.deviceArticleCount=this.deviceArticleCount-t.deviceViewCount,t.reset())},R.prototype.reset=function(){this.articleCount=0,this.deviceArticleCount=0,Object(a.each)(this.conversationsViews,function(t){t.reset()})},R.prototype.resetConversationsStartDate=function(){Object(a.each)(this.conversationsViews,function(t){t.setStartDate(null)})},R.prototype.getConversationStartDate=function(){return this.activeConversationView.getStartDate()},R.prototype.getCurrentConversationViewCount=function(){return this.activeConversationView?this.activeConversationView.getViewCount():0},R.prototype.setActiveConversation=function(e){this.activeConversationId=e.Id;var t=Object(a.find)(this.conversationsViews,function(t){return t.id==e.Id});t?(this.activeConversationView=t,this.activeConversationView.setStartDate(e.Properties&&e.Properties.getStartDate()||new Date)):(t={Actions:null,DeviceViewCount:0,Id:this.activeConversationId,StartDate:new Date,ViewCount:0,Conversation:e},this.activeConversationView=new k(t),this.conversationsViews.push(this.activeConversationView))},R);function R(t,e,n){void 0===n&&(n=null),this.conversations=[],this.conversationsViews=[],this.actionData={};var o=n&&n[t]?n[t]:{};if(this.meterLevel=t,this.conversations=e.Conversations||[],this.activeConversationId=e.ActiveConversationId||o[I.p.ActiveConvoId]||-1,this.articleCount=e.ArticleCount||o[I.p.MeterView]||0,this.deviceArticleCount=e.DeviceArticleCount||o[I.p.DeviceMeterView]||0,this.conversations.length)this.conversationsViews=this.generateConversationsView();else for(var r in o)r==I.p.ActiveConvoId||r==I.p.MeterView||r==I.p.DeviceMeterView||isNaN(+r)||this.conversationsViews.push(new k({},o[r],+r))}var U=(V.prototype.createViews=function(){try{var t=g.getViewStructure();return Object(a.isEmpty)(t)&&D.a.isDesktop()?this.getApiView(!1):Promise.resolve(this.createCookiesViews(t))}catch(t){l.a.log("ViewData","create",t)}},V.prototype.createViewsFromApi=function(n,t){var o={},r=[];try{var e=O.a.get(C.a.AllowedAccessInstance);return e&&this.setAllowedIpListCookie(e,n),Object(a.isEmpty)(n.DynamicMeterViews)||Object(a.each)(Object(a.keys)(n.DynamicMeterViews),function(t){var e;n.DynamicMeterViews[t]&&(e=I.h[t],t=new L(e,n.DynamicMeterViews[t]),r.push(t),Object(a.extendOwn)(o,t.getActionRepeatableCookie()))}),t&&this.updateDevicesViewData(r),this.setTimeRepeatableActions(o),this.setLastResetDate(n.LastResetDate),r}catch(t){return l.a.log("ViewData","createViewsFromApi",t),[]}},V.prototype.createCookiesViews=function(t){var n=this,o=t||g.getViewStructure(),r=[];return Object(a.isEmpty)(o)||Object(a.each)(Object(a.keys)(o),function(t){var e=o[t];e&&(e={ActiveConversationId:e[I.p.ActiveConvoId]||null,ArticleCount:e[I.p.MeterView],DeviceArticleCount:e[I.p.DeviceMeterView],Conversations:n.getConversationsFromCookie(e)},e=new L(t,e),r.push(e))}),r},V.prototype.getConversationsFromCookie=function(n){var o=[];return Object(a.each)(Object(a.keys)(n),function(t){var e=n[t];Object(a.isNumber)(-t)&&Object(a.isObject)(e)&&o.push({DeviceViewCount:e[I.p.DeviceArticleCount],ViewCount:e[I.p.ArticleCount],StartDate:e[I.p.StartDate],Id:t})}),o},V.prototype.getApiView=function(e){var n=this;return this.getApiViewData().then(function(t){return t?Promise.resolve(n.createViewsFromApi(t,e)):Promise.resolve([])}).catch(function(t){return l.a.error("getApiView",t),Promise.resolve([])})},V.prototype.getApiViewData=function(){var t=F.getCommonDataToSave();return g.getApiViewData(t,{location:S.a.System})},V.prototype.updateDevicesViewData=function(t){var e=g.getViewStructure();Object(a.each)(t,function(t){e[t.meterLevel]&&t.linkDevicesView(e[t.meterLevel])})},V.prototype.setTimeRepeatableActions=function(t){Object(a.keys)(t).length&&j.ActionModule.setTimeRepeatableActions(t)},V.prototype.setLastResetDate=function(t){t&&g.setLastResetDate(t,{expires:new Date(I.f)})},V.prototype.setAllowedIpListCookie=function(t,e){var n;e.AllowedIpSet&&(n={expires:new Date(e.AllowedIpSet.Expiration)},t.setWhitelistSetIdCookie({Id:e.AllowedIpSet.Id,Expiration:e.AllowedIpSet.Expiration},n))},V);function V(){}function B(){this.NAME="View",this.meterViews=[]}n.d(e,"a",function(){return F});var F=new(B.prototype.setViewData=function(){var e=this;return(new U).createViews().then(function(t){return e.meterViews=t,Promise.resolve(!0)}).catch(function(t){return l.a.error("Cannot create Views",t),Promise.reject(t)})},B.prototype.incrementConversationCount=function(t){this.setUpdateArticleCountCookie(),this.setCurrentConversation(t),this.updateViewedArticles(t)},B.prototype.saveViewInformation=function(){var t=this.getCurrentConversationViewCount(),e=this.getCurrentDynamicMeterViewCount(),n=this.generateViewCookie();this.saveViewStructure(n);var o=v.a.get(C.a.BatchCount),n=r.Campaign.checkFakeCurrentConversation(),o=1<t&&t%o==0||1<e&&e%o==0&&!n,n=O.a.get(C.a.AllowedAccessInstance);if(n){if(!n.getWhitelistSetIdCookie()&&o)return this.sendViewData()}else if(o)return this.sendViewData()},B.prototype.setActiveMeterView=function(e){this.resetMeterViewIfNeed(),this.activeMeterView=Object(a.find)(this.meterViews,function(t){return t.meterLevel==e}),this.activeMeterView||(this.activeMeterView=new L(e,{},g.getViewStructure()),this.meterViews.push(this.activeMeterView))},B.prototype.getViewPaywallInformation=function(t){return new u(t).getInformation()},B.prototype.getViewedArticles=function(t){var e=g.getViewedArticles();return e?e[t]:null},B.prototype.getCurrentConversationViewCount=function(){return this.activeMeterView?this.activeMeterView.getCurrentConversationViewCount():0},B.prototype.getConversationStartDate=function(t){return t?this.getConversationStartDateById(t):this.activeMeterView.getConversationStartDate()},B.prototype.getConversationStartDateById=function(e){var n;return Object(a.each)(this.meterViews,function(t){return t.conversationsViews.forEach(function(t){t.id==e&&(n=t.getStartDate())})}),n},B.prototype.getActiveConversationId=function(){return this.activeMeterView.activeConversationId},B.prototype.getUniqueArticles=function(){return g.getUniqueArticles()},B.prototype.setUniqueArticles=function(t){g.setUniqueArticles(t)},B.prototype.getCurrentDynamicMeterViewCount=function(){return this.activeMeterView?this.activeMeterView.articleCount:0},B.prototype.setCurrentDynamicMeterViewCount=function(t){this.activeMeterView.articleCount=t},B.prototype.resetViews=function(){this.meterViews=[],this.sendViewData()},B.prototype.resetStorage=function(){this.meterViews=[],g.deleteConnextViewStructure(),g.deleteViewedArticles(),j.ActionModule.resetConversationRepeatableActions()},B.prototype.resetCurrentCovrsations=function(){var t=g.getViewStructure();if(t){for(var e in t){var n,o=t[e];!o||o[n=o[I.p.ActiveConvoId]]&&(j.ActionModule.resetConversationRepeatableActions(new M.a({Id:n})),delete o[I.p.ActiveConvoId])}g.setViewStructure(t,{expires:new Date(I.f)})}},B.prototype.resetConversationView=function(t){this.activeMeterView.resetConversationView(t),this.setViewedArticles([],t.Id),j.ActionModule.resetConversationRepeatableActions(t),this.serverResetConversationViews({location:"System",payload:Object(a.extendOwn)(this.getCommonDataToSave(),{conversationId:t.Id})})},B.prototype.resetMeterLevel=function(){var n=this,o=r.Campaign.getCurrentConversations();Object(a.each)(this.activeMeterView.conversationsViews,function(e){var t=Object(a.find)(o,function(t){return t.Id==e.id});t&&n.resetConversationView(t)}),this.activeMeterView.reset()},B.prototype.processAutoResetSettings=function(t){if(!Object(a.isNumber)(t.ResetFrequency)||!Object(a.isNumber)(t.ResetOnDay))throw new Error("processAutoResetSettings: invalid arguments passed");for(var e=A.a.get(),n=g.getLastResetDate()?new Date(g.getLastResetDate()):new Date(t.ResetsStartDate),o=12-t.ResetFrequency;0<=o;o-=t.ResetFrequency){var r=new Date(e.getFullYear(),o+1,0).getDate(),r=t.ResetOnDay>r?r:t.ResetOnDay,r=new Date(e.getFullYear(),o,r);if(n<r&&r<e){this.resetStorage(),this.resetViews(),g.setLastResetDate(r.toString(),{expires:new Date(I.f)}),b.a.dispatch(E.a.ViewsAutoReset,t);break}}},B.prototype.resetMeterViewIfNeed=function(){var t=m.a.getConfigurationSettings(),t=t?t.ViewsAutoResetSettings:null;t&&F.processAutoResetSettings(t),m.a.getResetService().isResetCurrentConversation()&&this.resetViews()},B.prototype.getCommonDataToSave=function(){var t={UserId:O.a.get(C.a.DeviceId),ConfigCode:v.a.get(C.a.ConfigCode),SiteCode:v.a.get(C.a.SiteCode)};return v.a.get(C.a.SettingsKey)&&(t.SettingsKey=v.a.get(C.a.SettingsKey)),t},B.prototype.incrementView=function(t){this.activeMeterView.updateStartDate(t.Properties.getStartDate()),this.activeMeterView.increment()},B.prototype.getLocalViewData=function(){var e="getLocalViewData";l.a.log(this.NAME,e,"Get local view data");try{var t=O.a.get(C.a.AllowedAccessInstance),n={};this.meterViews.forEach(function(t){n=-1!==t.meterLevel?Object(a.extend)(n,t.getViewData()):n});t={AllowedIpSet:t?t.getWhitelistSetIdCookie():null,DynamicMeterViews:n,LastResetDate:g.getLastResetDate()};return l.a.log(this.NAME,e,"Local view data is found",JSON.stringify(t)),Promise.resolve(t)}catch(t){return l.a.log(this.NAME,e,t),Promise.resolve({})}},B.prototype.setViewedArticles=function(t,e){var n=g.getViewedArticles();null==n&&(n={}),n[e]=t,g.setViewedArticles(n)},B.prototype.updateViewedArticles=function(t){try{var e=this.getViewedArticles(t.Id),n=Object(P.n)(),o=void 0;null==e&&(e=[]);var r,i=v.a.get(C.a.ArticlesCounter);o=(o=i&&i.params&&i.params.length?(i=i.params,r=location.hostname+"_",Object(a.each)(i,function(t){var e=Object(P.k)(t);e&&(r+=t+"="+e)}),x()(r)):x()(n)).toString(),-1<e.indexOf(o)?!g.getUniqueArticles()&&v.a.getDebugMode()&&this.incrementView(t):(e.push(o),this.incrementView(t),this.setViewedArticles(e,t.Id))}catch(t){l.a.log(this.NAME,"UpdateViewedArticles",t)}},B.prototype.serverResetConversationViews=function(t){return t&&t.payload&&(t.payload.configCode&&(t.payload.configCode=t.payload.configCode),t.payload.siteCode&&(t.payload.siteCode=t.payload.siteCode),t.payload.settingsKey&&(t.payload.settingsKey=t.payload.settingsKey)),g.serverStorageResetConversationViews(t.payload,{location:S.a.System})},B.prototype.serverStorageDeleteViewsByUserId=function(){this.resetStorage(),this.sendViewData()},B.prototype.getSendViewData=function(){return D.a.isDesktop()?this.getLocalViewData().then(function(t){var e={UserId:O.a.get(C.a.DeviceId),ConfigCode:v.a.get(C.a.ConfigCode),SiteCode:v.a.get(C.a.SiteCode),SettingsKey:v.a.get(C.a.SettingsKey),ViewData:t,masterId:null},t=w.a.getUserId();return t&&(e.masterId=decodeURIComponent(t)),e}):Promise.resolve()},B.prototype.sendViewData=function(){var e=this;return D.a.isDesktop()?this.getSendViewData().then(function(t){return g.sendViewsData(t,{location:S.a.System}).then(function(t){l.a.log(e.NAME,"SendViewData","<< SUCCESS >>","data",t)})}):Promise.resolve()},B.prototype.sendNewDeviceInfoToServer=function(e){var n=this;return this.getSendViewData().then(function(t){return t.UserId=e.id,t.newDeviceId=e.newId,g.sendViewsDataFromNewDevice(t,{location:S.a.System}).then(function(t){l.a.log(n.NAME,"sendNewDeviceInfoToServer","<< SUCCESS >>","data",t)})})},B.prototype.generateViewCookie=function(){var e={};return Object(a.each)(this.meterViews,function(t){e[t.meterLevel]=t.renderCookieObject()}),e},B.prototype.setCurrentConversation=function(t){this.activeMeterView.setActiveConversation(t)},B.prototype.saveViewStructure=function(t){g.setViewStructure(t,{expires:new Date(I.f)})},B.prototype.setUpdateArticleCountCookie=function(){var t=new Date;t.setHours(t.getHours()+v.a.get(C.a.ViewsUpdateFromServerPeriod)),g.setUpdateArticleCount("1",{expires:t})},B)},,function(t,e,n){"use strict";var o;n.d(e,"a",function(){return o}),(e=o=o||{})[e.Equal=1]="Equal",e[e.NotEqual=2]="NotEqual",e[e.LessThan=3]="LessThan",e[e.LessThanEqual=4]="LessThanEqual",e[e.GreaterThan=5]="GreaterThan",e[e.GreaterThanEqual=6]="GreaterThanEqual",e[e.And=7]="And",e[e.Contains=8]="Contains",e[e.DoesNotContain=9]="DoesNotContain",e[e.In=10]="In",e[e.NotIn=11]="NotIn",e[e.StartWith=12]="StartWith",e[e.EndWith=13]="EndWith",e[e.Intersect=14]="Intersect",e[e.DoesNotIntersect=15]="DoesNotIntersect"},function(t,e,n){"use strict";n.d(e,"a",function(){return s});var o=n(128),r=n(146),i=n(2);function a(){}var s=new(a.prototype.getWhitelistSetIdCookie=function(){var t=o.a.get(i.e.WhitelistSet);return t?JSON.parse(t):void 0},a.prototype.setWhitelistSetIdCookie=function(t,e){o.a.set(i.e.WhitelistSet,JSON.stringify(t),e)},a.prototype.removeWhitelistSetIdCookie=function(){o.a.delete(i.e.WhitelistSet)},a.prototype.getAllowedlistInfoboxCookie=function(){return o.a.get(i.e.WhitelistInfobox)},a.prototype.setAllowedlistInfoboxCookie=function(t,e){o.a.set(i.e.WhitelistInfobox,t,e)},a.prototype.removeWhitelistInfoboxCookie=function(){o.a.delete(i.e.WhitelistInfobox)},a.prototype.getNeedHidePinTemplateCookie=function(){return o.a.get(i.e.NeedHidePinTemplate)},a.prototype.setNeedHidePinTemplateCookie=function(t,e){o.a.set(i.e.NeedHidePinTemplate,t,e)},a.prototype.removeNeedHidePinTemplateCookie=function(){o.a.delete(i.e.NeedHidePinTemplate)},a.prototype.getPinAttempts=function(){return o.a.get(i.e.PinAttempts)},a.prototype.setPinAttempts=function(t,e){o.a.set(i.e.PinAttempts,t,e)},a.prototype.resetPinAttemptsCookie=function(){o.a.delete(i.e.PinAttempts)},a.prototype.checkMg2Pin=function(t,e){return e.contentType="application/json",r.a.post("whitelist/check",t,e)},a.prototype.resetStorage=function(){this.removeWhitelistSetIdCookie(),this.removeWhitelistInfoboxCookie(),this.removeNeedHidePinTemplateCookie(),this.resetPinAttemptsCookie()},a)},,,function(t,e,n){"use strict";var c=n(0);function o(){this.registredListeners=[]}var r=new(o.prototype.registerListener=function(t){t.element.addEventListener(t.type,t.listener,t.options),this.registredListeners.push(t)},o.prototype.removeListener=function(t){t.element.removeEventListener(t.type,t.listener,t.options)},o.prototype.removeAllListeners=function(){var e=this;this.registredListeners.forEach(function(t){e.removeListener(t)})},o),u=n(79),i=n(45);function a(){this.connextScriptClass="nxt-script"}n.d(e,"a",function(){return s});var s=new(a.prototype.removeAllEventListeners=function(){r.removeAllListeners()},a.prototype.parseVariables=function(n,o){var t=this.getMatches(n,/{{([\w]+)}}/g,1);return Object(c.each)(t,function(t){var e;n=o.hasOwnProperty(t)?(e=o[t]||"",n.replace(new RegExp("{{"+t+"}}","g"),e)):n.replace(new RegExp("{{"+t+"}}","g"),"")}),n},a.prototype.getMatches=function(t,e,n){n=n||1;for(var o,r=[];o=e.exec(t);)r.push(o[n]);return r},a.prototype.queryElement=function(t,e){e=e||document;return"object"==typeof t?t:e.querySelector(t)},a.prototype.getElementsByClassName=function(t,e){return u.a.nodeListToArray(t.getElementsByClassName(e))},a.prototype.toogleClass=function(t,e){var n=this;t&&(Object(c.isArray)(t)?Object(c.each)(t,function(t){n.toogleClass(t,e)}):t.classList.toggle(e))},a.prototype.addClass=function(t,e){var n=this;t&&(Object(c.isArray)(t)?Object(c.each)(t,function(t){n.addClass(t,e)}):t.classList.add(e))},a.prototype.removeClass=function(t,e){var n=this;if(t){if(u.a._isIterable(t))return Object(c.each)(t,function(t){n.removeClass(t,e)}),a;if(!u.a.isNode(t))throw new Error("Dom.removeClass"+t+" is not a DOMNode object");t.classList.remove(e)}},a.prototype.hasClass=function(t,e){return t.classList.contains(e)},a.prototype.on=function(n,o,r,t){var i=this;if(n&&(!Object(c.isArray)(n)||0!=n.length)){var e=o.split(" ");if(1<e.length)for(var a=0,s=e.length;a<s;a++)this.on(n,e[a],r);if(Object(c.isString)(n))return u.a.addEventListener(document.body,o,function(t){for(var e=t.target;e&&e!==this;){if(e.matches(n))return void r.call(e,t);e=e.parentNode}}),this;return u.a._isIterable(n)?(Object(c.each)(n,function(t,e){i.on(t,o,r)}),this):(u.a.addEventListener(n,o,r),this)}},a.prototype.removeConnextListeners=function(){var r=this;u.a.nodeListToArray(document.querySelectorAll("*")).concat([window]).filter(function(t){return t._event}).forEach(function(o){Object.keys(o._event).forEach(function(t){for(var e=o._event[t].handlers,n=e.length-1;0<=n;n--)o&&r.off(o,t,e[n])})})},a.prototype.off=function(t,n,o){var r=this;if(t)return u.a._isIterable(t)?Object(c.each)(t,function(t,e){r.off(t,n,o)}):u.a.removeEventListener(t,n,o),this},a.prototype.one=function(n,o,r){var i=this;this.on(n,o,function t(e){r(e),i.off(n,o,t)})},a.prototype.setFocus=function(t){t.focus?t.focus():t.setActive()},a.prototype.createElement=function(t){return document.createElement(t)},a.prototype.find=function(t,e){var n=/:visible/g,o=n.test(t);return o&&(t=t.split(n).join("")),t=u.a.isNode(e)?u.a.nodeListToArray(e.querySelectorAll(t)):u.a.nodeListToArray(document.querySelectorAll(t)),o?s.isVisible(t):t},a.prototype.css=function(t,e){var n=this;if(u.a._isIterable(t)&&u.a._isLiteralObject(e))return Object(c.each)(t,function(t){n.css(t,e)}),a;if(!u.a.isNode(t))throw new Error(t+" is not a DOMNode object");if("string"==typeof e)return u.a._getComputedStyle(t,e);if(Object(c.isArray)(e)){var o={};for(r in e)o[e[r]]=u.a._getComputedStyle(t,e[r]);return o}if(u.a._isLiteralObject(e)){for(var r in e)t.style[r]=e[r];return e}return!1},a.prototype.height=function(t){return this.offset(t).height},a.prototype.width=function(t){return this.offset(t).width},a.prototype.top=function(t){return this.offset(t).top},a.prototype.bottom=function(t){return this.offset(t).bottom},a.prototype.offset=function(t){if(!u.a.isElement(t))return!1;var e=t.getBoundingClientRect(),n={top:Math.round(e.top),right:Math.round(e.right),bottom:Math.round(e.bottom),left:Math.round(e.left),width:e.width?Math.round(e.width):Math.round(t.offsetWidth),height:e.height?Math.round(e.height):Math.round(t.offsetHeight)},o=window.pageXOffset||document.documentElement.scrollLeft,t=window.pageYOffset||document.documentElement.scrollTop;return n.top=e.top+t,n.left=e.left+o,n.bottom=e.bottom+t,n},a.prototype.remove=function(t){var e=this;if(t){if(!u.a._isIterable(t)){if(!u.a.isNode(t))throw new Error("Dom.remove "+t+" is not a DOMNode object");var n=t.parentNode;return n?n.removeChild(t):void 0}Object(c.each)(t,function(t){e.remove(t)})}},a.prototype.children=function(t,e){if("boolean"==typeof e&&e)return t.childNodes;var n=[];if(Object(c.isString)(e)){for(var o=0,r=t.childNodes.length;o<r;o++)t.childNodes[o].nodeName.toLowerCase()===e.toLowerCase()&&n.push(t.childNodes[o]);return n}for(o in t.childNodes)1===t.childNodes[o].nodeType&&n.push(t.childNodes[o]);return n},a.prototype.getScripts=function(t){t=/<\s*script[^>]*>([\s\S]*?)(<\s*\/script[^>]*>|$)/gi.exec(t);return t?t[1]:""},a.prototype.append=function(t,e){if(!u.a.isNode(t))throw new Error("Dom.append "+t+" is not a DOMNode object");return Object(c.isString)(e)&&(e=this.create(e)),i.a.isIE()&&(e=document.importNode(e,!0)),e=t.appendChild(e),this.findExecuteScript(e),e},a.prototype.removeScripts=function(t){return t.replace(/<\s*script[^>]*>([\s\S]*?)(<\s*\/script[^>]*>|$)/gi," ")},a.prototype.DOMEval=function(t){var e=document.createElement("script");e.classList.add(this.connextScriptClass),e.text=t,s.queryElement("body").appendChild(e)},a.prototype.findExecuteScript=function(t){var e=this,t=this.find("script",t),n=[];t&&0<t.length&&(Object(c.each)(t,function(t){t=e.replaceScript(t);n.push(t)}),this.restoreScripts(n))},a.prototype.replaceScript=function(t){var e=document.createComment("Script placeholder");return t.parentNode.insertBefore(e,t),t.parentNode.removeChild(t),{placeholder:e,node:t}},a.prototype.restoreScripts=function(t){var n="";Object(c.each)(t,function(t){var e;t.node.src?((e=document.createElement("script")).type="text/javascript",e.src=t.node.src,t.placeholder.parentNode.insertBefore(e,t.placeholder)):t.node.innerHTML&&(n+=t.node.innerHTML+";")}),this.DOMEval(n)},a.prototype.create=function(t){this.getScripts(t);return(new DOMParser).parseFromString(t,"text/html").body.firstChild},a.prototype.html=function(t,e){if(t)return u.a._isIterable(t)?this.html(Object(c.first)(t),e):Object(c.isString)(e)||Object(c.isNumber)(e)?t.innerHTML=e:t.innerHTML},a.prototype.hide=function(t){var e=this;if(t)return u.a._isIterable(t)?(Object(c.each)(t,function(t){e.hide(t)}),this):void(t.style.display="none")},a.prototype.show=function(t){var e=this;if(t)return u.a._isIterable(t)?(Object(c.each)(t,function(t){e.show(t)}),this):void(t.style.display="")},a.prototype.attr=function(t,e){if(t){if(!u.a.isNode(t))throw new Error(t+" is not a DOMNode object");if("string"==typeof e){var n=void 0;return""===(n="class"===e&&void 0!==t.className?t.className:"for"===e&&void 0!==t.htmlFor?t.htmlFor:"value"===e&&void 0!==t.value?t.value:t.getAttribute(e))&&(n=null),n}if(Object(c.isArray)(e)){n={};for(o in e)n[e[o]]=this.attr(t,e[o]);return n}if(u.a._isLiteralObject(e)){for(var o in e)null===e[o]?t.removeAttribute(o):t.setAttribute(o,e[o]);return e}return!1}},a.prototype.before=function(t,e){if(t){if(!u.a.isNode(t))throw new Error("Dom.before "+t+" is not a DOMNode object");return Object(c.isString)(e)&&(e=this.create(e)),t.parentNode.insertBefore(e,t),this.findExecuteScript(e),e}},a.prototype.after=function(t,e){if(t){if(!u.a.isNode(t))throw new Error("Dom.after "+t+" is not a DOMNode object");return Object(c.isString)(e)&&(e=this.create(e)),t.parentNode.insertBefore(e,t.nextSibling),this.findExecuteScript(e),e}},a.prototype.val=function(t,e){var n=this,o=[];if(t)return u.a._isIterable(t)?(Object(c.each)(t,function(t){o.push(n.val(t,e))}),o[0]):e?void(t.value=e):t.value},a.prototype.text=function(t,e){var n=this;if(u.a._isIterable(t))return Object(c.each)(t,function(t){n.text(t,e)}),this;if(!u.a.isNode(t))throw new Error("Dom.text "+t+" is not a DOMNode object");return Object(c.isString)(e)?(t.innerText?t.innerText=e:t.textContent=e,e):t.innerText||t.textContent},a.prototype.isVisible=function(t){var e=this;return u.a._isIterable(t)?Object(c.filter)(t,function(t){return e.isVisible(t)}):t.offsetWidth&&t.offsetHeight},a.prototype.empty=function(t){t.innerHTML=""},a.prototype.parents=function(t,e){for(var n=[],o=e?t.parentElement.closest(e):t.parentElement;o;)n.push(o),o=e?o.parentElement.closest(e):o.parentElement;return n},a.prototype.prepend=function(t,e){if(!u.a.isNode(t))throw new Error("Dom.prepend "+t+" is not a DOMNode object");return Object(c.isString)(e)&&(e=this.create(e)),t.insertBefore(e,t.firstChild),this.findExecuteScript(e),e},a.prototype.hasAttribute=function(t,e){if(!u.a.isNode(t))throw new Error("Dom.prepend "+t+" is not a DOMNode object");return u.a._isIterable(t)?this.hasAttribute(Object(c.first)(t),e):t.hasAttribute(e)},a.prototype.updateStyleAttr=function(t,e){var n=this;if(!u.a.isNode(t))throw new Error("Dom.prepend "+t+" is not a DOMNode object");if(u.a._isIterable(t))Object(c.each)(t,function(t){n.updateStyleAttr(t,e)});else{var o=this.getStyles(t);if("object"==typeof e){for(var r in e)o[r]=e[r];t.setAttribute("style",this.parseToStyleStr(o))}}},a.prototype.getStyles=function(t){for(var e,n,t=s.attr(t,"style"),o=t?t.split(";"):"",r=o.length,i={};r--;)n=o[r].split(":"),e=new String(n[0]).trim(),n=new String(n[1]).trim(),0<e.length&&0<n.length&&(i[e]=n);return i},a.prototype.parseToStyleStr=function(e){var n="";return Object(c.each)(Object(c.keys)(e),function(t){n+=t+":"+e[t]+";"}),n},a.prototype.removeConnextScripts=function(){Object(c.each)(document.querySelectorAll("script."+this.connextScriptClass),function(t){null!==t.parentNode&&t.parentNode.removeChild(t)})},a.prototype.isExistElement=function(t){return!!s.queryElement(t)},a)},,function(t,e,n){"use strict";var o=n(11),r=n(146),i=n(42),a=n(128),s=n(2);function c(){}var u=new(c.prototype.createUser=function(t,e){return r.a.post("user/create",t,e)},c.prototype.syncUser=function(t,e){return r.a.post("user/sync",t,e)},c.prototype.saveUserData=function(t){i.a.set(s.e.ConnextUserData,t)},c.prototype.getCachedUserData=function(){return i.a.get(s.e.ConnextUserData)},c.prototype.setProfile=function(t){i.a.set(s.e.ConnextUserProfile,t)},c.prototype.getProfile=function(){return i.a.get(s.e.ConnextUserProfile)},c.prototype.deleteProfile=function(){return i.a.delete(s.e.ConnextUserProfile)},c.prototype.clearStorage=function(){this.deleteProfile()},c.prototype.deleteUserDataExpiration=function(){a.a.delete(s.b.UserDataExpiration)},c),p=n(46),l=n(41),f=n(144),h=n(25),d=n(82),y=n(119),_=n(0),g=n(35),v=n(23);function m(){o.a.on(document,p.g.ChangedUserData,function(t){console.log("<<event>>",t)})}n.d(e,"a",function(){return w});var w=new(m.prototype.createUser=function(t,e){return u.createUser(t,e)},m.prototype.syncUser=function(t,e){return u.syncUser(t,e)},m.prototype.setUserData=function(t){this.userData=t},m.prototype.getUserState=function(){return this.fixMg2BrokenData(),this.getUserStateOnly()},m.prototype.getUserStateOnly=function(){return Object(_.isEmpty)(this.userData)?p.o.NotLoggedIn:this.userData.UserState},m.prototype.fixMg2BrokenData=function(){this.getUserStateOnly()!==p.o.NotLoggedIn&&l.a.hasPartialMg2AuthCookies()&&l.a.setDefaultUserData()},m.prototype.getUserMode=function(){if(this.userData){var t=this.userData.CustomerRegistrationId||null;return t?0:this.userData.IgmRegID||null?1:this.userData.UserId?0:null}},m.prototype.getUserId=function(){return this.userData?this.userData.UserId:""},m.prototype.getCustomerRegistrationId=function(){return this.userData&&(this.userData.CustomerRegistrationId||this.userData.IgmRegID)||null},m.prototype.getUserZipCodes=function(){return this.zipCodes?new String(this.zipCodes).split(","):[f.a.getZipCode()]},m.prototype.getLoginUserZipCodes=function(){return this.isLogin()&&this.userData&&this.userData.ZipCodes?this.userData.ZipCodes:null},m.prototype.setUserZipCodes=function(t){this.zipCodes=t},m.prototype.notLoggedIn=function(){return this.getUserState()==p.o.NotLoggedIn},m.prototype.getOwnedSubscription=function(){return this.userData&&this.userData.Subscriptions?this.userData.Subscriptions[0]:null},m.prototype.getSubscriptions=function(){return this.userData&&this.userData.Subscriptions?this.userData.Subscriptions:null},m.prototype.getEmail=function(){return this.userData&&this.userData.Email||""},m.prototype.isActualCachedUserData=function(t){var e=this.getCachedUserData();return!(!e||e.UserId!=t)&&!this.needRefreshUserData(e)},m.prototype.getCachedUserData=function(){return u.getCachedUserData()},m.prototype.needRefreshUserData=function(t){return!!(Object(h.o)("clearUserState")||Object(h.o)("login_id")&&Object(h.o)("hash"))||!v.a.hasIsActualData()},m.prototype.expireUserData=function(){u.deleteUserDataExpiration()},m.prototype.updateCachedUserData=function(t){var e=new g.a(this.getCachedUserData());e.updateAuthProfileData(t),this.updateUserData(e)},m.prototype.updateUserData=function(t){t.UserState=t.UserState||this.defineUserState(t),t.ZipCodes=this.defineZipCodes(t.Subscriptions),this.setUserData(t),u.saveUserData(t),this.dispatchAccessEvent(t.UserState)},m.prototype.updateUserDataWithoutAccessEvent=function(t){t.UserState=t.UserState||this.defineUserState(t),t.ZipCodes=this.defineZipCodes(t.Subscriptions),this.setUserData(t),u.saveUserData(t)},m.prototype.dispatchAccessEvent=function(t){var e=d.a.NotAuthorized;switch(t){case p.o.LoggedIn:e=d.a.Authorized;break;case p.o.Subscribed:e=d.a.HasAccess;break;case p.o.SubscribedNotEntitled:e=d.a.HasAccessNotEntitled;break;case p.o.NoActiveSubscription:e=d.a.HasNoActiveSubscription}var n={AuthSystem:this.userData.AuthSystem,AuthProfile:this.getAuthProfile(),MG2AccountData:this.userData};t!=p.o.NotLoggedIn&&null!=t&&y.a.dispatch(d.a.LoggedIn,n),y.a.dispatch(e,n)},m.prototype.getAuthProfile=function(){var t=u.getCachedUserData();return t?t.AuthProfile:null},m.prototype.defineUserState=function(t){var e=p.o.NotLoggedIn,n=t.DigitalAccess,o=n?n.AccessLevel.toUpperCase():"";return n&&Object(_.isEmpty)(n.Errors)?o===p.d.Premium?e=p.o.Subscribed:o===p.d.Upgrade?e=p.o.SubscribedNotEntitled:o===p.d.Purchase?e=p.o.NoActiveSubscription:t.Subscriptions&&0!==t.Subscriptions.length||(e=p.o.LoggedIn):e=p.o.LoggedIn,e},m.prototype.defineZipCodes=function(t){return Object(_.isArray)(t)&&0<t.length?t.map(function(t){var e=t.BillingAddress;if(e&&e.ZipCode)return e.ZipCode;t=t.DeliveryAddress;return t&&t.ZipCode?t.ZipCode:null}).filter(function(t){return t}):f.a.getZipCode()?[f.a.getZipCode()]:[]},m.prototype.getUserData=function(){return this.userData},m.prototype.clearStorage=function(){u.clearStorage()},m.prototype.getFullName=function(){return this.userData&&this.isLogin()?this.userData.FullName:""},m.prototype.isSubscribed=function(){return this.getUserState()===p.o.Subscribed},m.prototype.isLogin=function(){return this.getUserState()!==p.o.NotLoggedIn},m.prototype.isSubscribedNotEntitled=function(){return this.getUserState()===p.o.SubscribedNotEntitled},m.prototype.setUserProfile=function(t){u.setProfile(t)},m.prototype.getUserProfile=function(){return u.getProfile()},m)},function(t,e,n){"use strict";n.r(e);var o,r,i=n(104),a=n(13),s=n(27),c=n(16),u=n(47),p=n(15),l=(o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),f=(r=p.a,l(h,r),h);function h(){return null!==r&&r.apply(this,arguments)||this}var d=n(131),y=function(t){t&&(this.Method=t.Effect,this.TrimMethod=t.TrimmingMethod,this.Selector=t.Selector,this.AllowedCharactersCount=t.AllowedCharactersCount||t.Characters||0,this.CurrentCharacterCount=0,this.Terminator=t.Terminator||"",this.ContainerHeight=t.ContainerHeight||0,this.TemplateType=t.TemplateType,this.ExcludeClasses=t.ExcludeClasses)},_=n(127),g=n(0),v=n(11),m=function(t,e,n,o){this.length=t,this.element=e||null,this.isStart=n,this.isStartNode=o},w=(C.prototype.setMaskElement=function(t){this.maskElement=t},C.prototype.getMaskHtml=function(){return v.a.queryElement(this.maskingOptions.Selector).innerHTML},C.prototype.removeHeightFromContent=function(){v.a.css(this.maskElement,{"text-overflow":"ellipsis",overflow:"hidden",height:"auto"})},C.prototype.unMask=function(){v.a.queryElement(this.maskingOptions.Selector).innerHTML=this.originalContent},C.prototype.findNextElement=function(t){return t.nextElementSibling},C.prototype.isExcludeElement=function(t){var e=this.maskingOptions.ExcludeClasses;if(e&&Object(g.isArray)(e))for(var n=e.length,o=0;o<n;o++)if(v.a.hasClass(t,e[o]))return!0;return!1},C.prototype.isElementHasExcludes=function(t){for(var e=this.maskingOptions.ExcludeClasses||[],n=e.length,o=0;o<n;o++){var r=v.a.find("."+e[o],t);if(r&&0<r.length)return!0}return!1},C.prototype.getExcludedElements=function(e){var n=[];return Object(g.each)(this.maskingOptions.ExcludeClasses,function(t){t=v.a.find("."+t,e);n=n.concat(t)}),n},C.prototype.calculateExcludesHeight=function(t){var t=this.getExcludedElements(t),e=0;return Object(g.each)(t,function(t){e+=e+v.a.height(t)}),e},C);function C(t){this.maskingOptions=t,this.maskElement=v.a.queryElement(this.maskingOptions.Selector),this.maskElement&&(this.originalContent=this.maskElement.innerHTML)}var O,A,l=((O=function(t,e){return(O=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}O(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(b,A=w),b.prototype.getElementOnTextLength=function(t,e,n){var o=this.getChildrenTextLengthWithoutExclude(t,e),r=this.textContent(e).trim().length+t;if(!this.isExcludeElement(e)||!n){if(r===this.maskingOptions.AllowedCharactersCount&&n)return this.markElement(e),new m(r,e,!1,!0);if(this.startElementHaveNeedLength(o,n))return new m(o,e,!0);var i=e.children;if(this.maskingOptions.AllowedCharactersCount===o&&!n)return new m(o,e);if(this.isAllowedLength(o))return this.markElement(e),this.markChildren(i),new m(o);if(this.markElement(e),!this.isAllowedLength(r))return new m(r,e);var a=i.length;if(!a)return new m(r);for(var s=0;s<a;s++)if(!this.isExcludeElement(i[s])){var c=this.getElementOnTextLength(r,i[s]);if(c.element)return c;r=c.length}}},b.prototype.getChildrenTextLengthWithoutExclude=function(t,e){var n=this.getExcludedElements(e),o=e;n&&0<n.length&&(n=e.cloneNode(!0),e=this.getExcludedElements(n),v.a.remove(e),o=n);o=o.innerText||o.textContent;return o?t+o.replace(/\s\s+/g," ").replace(/\r?\n/g,"").length:t},b.prototype.markExcluded=function(t){var e=this,t=this.getExcludedElements(t);Object(g.each)(t,function(t){e.markElement(t),e.markChildren(t.children)})},b.prototype.splitElement=function(t,e){var n,o,r=t.innerText;e>this.maskingOptions.AllowedCharactersCount&&(n=r.length,e=e-this.maskingOptions.AllowedCharactersCount,(o=document.createElement("span")).innerText=r.substr(n-e,n),r=r.substr(0,n-e)),this.addTerminator(t,r),t.appendChild(o)},b.prototype.addTerminator=function(t,e){t.innerText=e+this.maskingOptions.Terminator},b.prototype.getNotMarkedElements=function(t){return v.a.find(":not(."+this.markClass+")",t)},b.prototype.removeNotMarked=function(t){var e=this,n=this.getExcludedElements(t),o=t.children;n&&0===n.length?v.a.hasClass(t,this.markClass)||this.clearElement(t):t.style.margin="0px",o&&0<o.length?Object(g.each)(t.children,function(t){v.a.hasClass(t,e.markClass)||t.children&&0<t.children.length?e.removeNotMarked(t):e.clearElement(t)}):v.a.hasClass(t,this.markClass)||this.clearElement(t)},b.prototype.markElement=function(t){t.classList.add(this.markClass)},b.prototype.unMarkElement=function(t){v.a.removeClass(t,this.markClass)},b.prototype.textContent=function(t){return[].reduce.call(t.childNodes,function(t,e){return t+(3===e.nodeType?e.textContent.trim():"")},"")},b.prototype.startElementHaveNeedLength=function(t,e){return!!(t==this.maskingOptions.AllowedCharactersCount||this.isAllowedLength(t)&&e)},b.prototype.isAllowedLength=function(t){return t<this.maskingOptions.AllowedCharactersCount},b.prototype.markChildren=function(t){var e=this;Object(g.each)(t,function(t){t.children&&0<t.children.length&&e.markChildren(t.children),e.markElement(t)})},b.prototype.getMarkElements=function(t){return v.a.find("."+this.markClass,t)},b.prototype.removeMarkClass=function(t){var e=this,t=this.getMarkElements(t);Object(g.each)(t,function(t){v.a.removeClass(t,e.markClass)})},b.prototype.clearElement=function(t){t.innerText="",t.textContent="",this.clearStyle(t)},b.prototype.clearStyle=function(t){t&&(t.style.height="0px",t.style.margin="0px",t.style.padding="0px")},b.prototype.removeAllText=function(t){for(var e=t.childNodes,n=0;n<e.length;n++){var o=e[n];o.nodeType==Node.TEXT_NODE?(o.parentNode.removeChild(o),n--):o.nodeType==Node.ELEMENT_NODE&&(this.clearStyle(o),this.removeAllText(o))}},b);function b(){var t=null!==A&&A.apply(this,arguments)||this;return t.markClass="mark-text",t}var E,P,S=((E=function(t,e){return(E=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}E(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(D,P=l),D.prototype.blurContent=function(t){this.markExcluded(t);var e=this.getElementOnTextLength(0,t,!0);return!e.isStart&&(e.isStartNode?(this.splitNode(e.element,e.length),void this.blurNotMarked(t)):void(e.element&&(this.splitElement(e.element,e.length),this.blurNotMarked(t))))},D.prototype.splitNode=function(t,e){for(var n,o=t.childNodes,r=o.length,i=0,a=!1,s=this.maskingOptions.AllowedCharactersCount,c=0;c<r;c++)3===o[c].nodeType&&s<=(i+=o[c].textContent.length)&&(a?o[c].textContent="":(n=o[c].textContent.length-(i-s),o[c].textContent=o[c].textContent.substr(0,n)+this.maskingOptions.Terminator,a=!0))},D.prototype.blurNotMarked=function(t){var e=this,t=this.getNotMarkedElements(t);Object(g.each)(t,function(t){e.isElementHasExcludes(t)||e.blurElementOwnText(t)})},D.prototype.blurElementOwnText=function(t){0<this.textContent(t).length&&this.setOwnText(t)},D.prototype.encryptContent=function(e){var t,n=this;0===v.a.children(e).length?(t=v.a.text(e),v.a.addClass(e,this.blurClass),v.a.text(e,this.encryptText(t))):Object(g.each)(v.a.children(e),function(t){n.isElementHasExcludes(e)||(n.blurElementOwnText(t),n.encryptContent(t))})},D.prototype.setOwnText=function(t){var n=this,t=t.childNodes;Object(g.each)(t,function(t){var e;3===t.nodeType&&0<t.textContent.trim().length&&(e=n.encryptText(t.textContent),t.nodeValue=e,v.a.addClass(t.parentNode,n.blurClass))})},D.prototype.encryptText=function(t){if(t)for(var e=0;e<t.length;e++)t=t.replaceAt(e,this.getNextLetter(t[e]));return t},D.prototype.getNextLetter=function(t){return t.replace(/([a-zA-Z])[^a-zA-Z]*$/,function(t){var e=t.charCodeAt(0);switch(e){case 90:return"A";case 122:return"a";default:return String.fromCharCode(++e)}})},D);function D(t){t=P.call(this,t)||this;return t.blurClass="blurry-text",t.blurContent(t.maskElement),t}var I,M,j=n(51),T=n(46),x=n(25),k=((I=function(t,e){return(I=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}I(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(N,M=l),N.prototype.trim=function(t){if(this.removeMarkClass(t),Object(x.s)(this.maskingOptions.AllowedCharactersCount)&&0==this.maskingOptions.AllowedCharactersCount)return this.removeAllText(t),void this.addTerminator(t,"");var e=this.getElementOnTextLength(0,t,!0);this.markExcluded(t),e&&(e.isStart||e.element&&(this.splitElement(e.element,e.length),this.removeNotMarked(t)),this.lastTrimElement=e.element)},N.prototype.getLastTrimElement=function(){return this.lastTrimElement},N.prototype.unMask=function(){M.prototype.unMask.call(this),this.removeHeightFromContent()},N);function N(){return null!==M&&M.apply(this,arguments)||this}var L,R,U=((L=function(t,e){return(L=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}L(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(V,R=l),V.prototype.trim=function(t){this.removeMarkClass(t);var e=this.maskingOptions.ContainerHeight;this.element=t;var n=this.calculateExcludesHeight(t);this.markExcluded(t),v.a.css(t,{overflow:"hidden",whitespace:"no-wrap",height:e+n+"px"}),this.markElement(t),this.markVisibleElements(t,v.a.bottom(t)),this.lastTrimElement=Object(g.last)(this.getMarkElements(t)),this.lastTrimElement||(this.lastTrimElement=t);n=this.trimByHeightNode(this.lastTrimElement,v.a.bottom(t));this.removeNotMarked(t),this.addTerminator(n),this.removeHeightFromContent()},V.prototype.getLastTrimElement=function(){return this.lastTrimElement},V.prototype.markVisibleElements=function(t,e){var n=t.children,o=n.length;if(0<o)for(var r=0;r<o;r++)this.elementInView(n[r],e)&&!this.isExcludeElement(n[r])&&this.markElement(n[r]),this.markVisibleElements(n[r],e)},V.prototype.elementInView=function(t,e){var n=v.a.top(t),t=v.a.bottom(t);return n<e&&0<=t},V.prototype.markElementWithChildren=function(t,e){this.markElement(t),this.markChildren(e)},V.prototype.trimByHeightNode=function(t,e){return t&&"IMG"===t.nodeName?(this.trimByHeightImgNode(t,e),t):this.getAccurateHeight(t,e)},V.prototype.getAccurateHeight=function(t,e){for(var n=t.innerText.split(" "),o=t.cloneNode(!0);v.a.bottom(t)>=e;){if(void 0===n.pop())break;t.innerText=n.join(" ")}return n||this.elementNotResizeByText(o,e),t},V.prototype.elementNotResizeByText=function(t,e){v.a.css(t,{height:e+"px"})},V.prototype.addTerminator=function(t){t&&"IMG"===t.nodeName?v.a.after(t,"<p>"+this.maskingOptions.Terminator+"</p"):t&&(t.innerText=t.innerText+this.maskingOptions.Terminator)},V.prototype.trimByHeightImgNode=function(t,e){v.a.css(t,{overflow:"hidden",whitespace:"no-wrap",height:this.maskingOptions.ContainerHeight-e+"px"})},V.prototype.unMask=function(){R.prototype.unMask.call(this),this.removeHeightFromContent()},V);function V(){return null!==R&&R.apply(this,arguments)||this}var B,F,W=n(43),H=n(145),q=((B=function(t,e){return(B=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}B(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(K,F=w),K.prototype.trimContent=function(t){this.element=t;var e=this.maskingOptions.TrimMethod;if(e)switch(e){case W.c.AllowedCharacters:this.trimMask=new k(this.maskingOptions);break;case W.c.ContainerHeight:this.trimMask=new U(this.maskingOptions)}else{e=this.maskingOptions.AllowedCharactersCount;Object(x.s)(e)&&0<=e?this.trimMask=new k(this.maskingOptions):(e=this.maskingOptions.ContainerHeight,Object(x.s)(e)&&0<=e?this.trimMask=new U(this.maskingOptions):H.a.warn("Trim effect is not defined"))}return this.trimMask.trim(t),this.trimMask},K.prototype.unMask=function(){F.prototype.unMask.call(this),this.removeHeightFromContent()},K);function K(t){t=F.call(this,t)||this;return t.trimContent(t.maskElement)}var z,G,Z=((z=function(t,e){return(z=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}z(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(J,G=w),J.prototype.fadeContent=function(t){var e,n='<div class="'+this.fadeClass+'"></div>';this.maskingOptions.TemplateType===T.l.Inline?(e={classesExcludeElement:[this.fadeClass]},e=j.a.getLastVisibleElement(t,e),v.a.append(e,n)):v.a.append(t,n)},J);function J(t){t=G.call(this,t)||this;return t.fadeClass="Mg2-fade",t.trimMask=new q(t.maskingOptions),v.a.hasClass(t.maskElement.lastElementChild||t.maskElement,t.fadeClass)||t.fadeContent(t.maskElement),t.trimMask}var Q=($.prototype.unMask=function(){this.html.unMask()},$);function $(t){var e=this;try{switch(this.maskingOptions=new y(t),this.maskingOptions.Method){case W.d.Trim:this.html=new q(this.maskingOptions);break;case W.d.Blur:this.html=new S(this.maskingOptions);break;case W.d.FadeAndTrim:case W.d.Fade:this.html=new Z(this.maskingOptions)}this.originalContent=this.html.originalContent,this.maskContent=this.html.getMaskHtml();var n=v.a.queryElement(".flittz");v.a.removeClass(n,"blurry-text"),v.a.removeClass(n,"trimmed-text"),this.html.removeHeightFromContent(),v.a.on(window,"resize",function(){e.html.removeHeightFromContent()})}catch(t){throw _.a.HIDE_CONTENT}}var Y,w=(Y=function(t,e){return(Y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Y(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});String.prototype.replaceAt=function(t,e){return this.substr(0,t)+e+this.substr(t+e.length)};var X,tt=(X=p.a,w(et,X),et.prototype.maskContent=function(t){t.TemplateType=this.actionTemplate.getType(),t.ExcludeClasses=["Mg2-connext"],this.maskHtml=new Q(t)},et.prototype.getOriginalContent=function(){return this.maskHtml.originalContent},et.prototype.unmaskContent=function(){this.maskHtml&&this.maskHtml.unMask()},et);function et(){return null!==X&&X.apply(this,arguments)||this}var nt,ot,rt=n(119),it=n(82),at=((nt=function(t,e){return(nt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}nt(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(st,ot=tt),st.prototype.existTemplate=function(){return!!this.actionTemplate&&(this.actionTemplate.isCanShow()||this.action.What.ShowModalPaywallWithoutSelector)},st.prototype.hideContentPaywall=function(){H.a.log("hideContentPaywall","Action type is paywall. So we hide a content."),this.maskContent(this.action.What)},st.prototype.executeAction=function(){this.actionTemplate.isCanShow()&&this.hideContentPaywall(),ot.prototype.executeAction.call(this),rt.a.dispatch(it.a.PaywallShown,this.action),d.a.setConnextPaywallFired(!0)},st);function st(t,e){return ot.call(this,t)||this}var ct,ut,w=(ct=function(t,e){return(ct=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}ct(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),pt=(ut=p.a,w(lt,ut),lt);function lt(){return null!==ut&&ut.apply(this,arguments)||this}var ft,ht,w=(ft=function(t,e){return(ft=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}ft(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),dt=(ht=p.a,w(yt,ht),yt);function yt(){return null!==ht&&ht.apply(this,arguments)||this}var _t,gt,w=(_t=function(t,e){return(_t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}_t(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),vt=(gt=p.a,w(mt,gt),mt);function mt(){return null!==gt&&gt.apply(this,arguments)||this}var wt,Ct,Ot=n(87),At=n(106),w=(wt=function(t,e){return(wt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}wt(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),bt=(Ct=p.a,w(Et,Ct),Et.prototype.executeAction=function(){this.newsletterFragment=document.createDocumentFragment();var t=this.getActionTemplate();t&&(t=t.getElement(),this.newsletterFragment.appendChild(t),this.canShow()&&Ct.prototype.executeAction.call(this))},Et.prototype.getEmailPreferencesIds=function(){var t=this.newsletterFragment.querySelector("[data-tmpl-action-name='Newsletter']");if(!t)return null;t=v.a.text(t);if(t){t=JSON.parse(decodeURIComponent(t));return Array.isArray(t)?t.map(function(t){return t.id}):null}},Et.prototype.canShow=function(){var n=this.getEmailPreferencesIds();if(!n)return!0;var t=At.a.getCookiesEmailPreferences(),o=t?t.split(","):null;if(n&&o)for(var e=n.length,r=0;r<e;r++){var i=function(e){if(Object(g.find)(o,function(t){return t==n[e]}))return{value:!1}}(r);if("object"==typeof i)return i.value}return!0},Et);function Et(t,e){return Ct.call(this,t)||this}var Pt,St,Dt=((Pt=function(t,e){return(Pt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Pt(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(It,St=tt),It.prototype.executeAction=function(){var e=this;this.maskContent(this.action.What);var n=this.getActionTemplate().getElement();St.prototype.executeAction.call(this),this.addInlineTrimStyles(n),v.a.one(v.a.find(".Mg2-read-more-inline, .Mg2-read-more-btn",n),"click",function(t){t.preventDefault(),rt.a.dispatch(it.a.ActionClosed,Object(g.extend)(e.action,{CloseEvent:t})),v.a.hide(n),setTimeout(function(){e.unmaskContent()},0)})},It.prototype.addInlineTrimStyles=function(t){null===v.a.attr(t,"data-width")&&this.action.What.Effect===W.d.Trim&&v.a.css(t,{display:"inline-block","padding-left":"10px"})},It);function It(t,e){return St.call(this,t)||this}var Mt,jt,Tt=n(85),w=(Mt=function(t,e){return(Mt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Mt(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),xt=(jt=p.a,w(kt,jt),kt.prototype.executeAction=function(){var n,e,t,o,r;a.a.notLoggedIn()||(jt.prototype.executeAction.call(this),r=this.getActionTemplate(),n=v.a.find('[data-mg2-container="messages"]',r.getElement()),e=v.a.find('[data-mg2-messaging="default"]',n),t=v.a.text(v.a.find('[data-tmpl-action-name="Location code"]',r.getElement())[0]),o=a.a.getCustomerRegistrationId(),r=this.getSubscriptionsIds(a.a.getSubscriptions()),v.a.empty(n),this.getUserMessages(t,o,r).then(function(t){Object(g.each)(t,function(t){var e=v.a.create(v.a.html(n));v.a.html(v.a.find("span.user-message__message-text",e),t),v.a.append(n[0],e)}),v.a.remove(e)}))},kt.prototype.getUserMessages=function(r,i,a){return new Promise(function(n){var t,e,o=d.a.getMessagingData();o&&o[r]?n(o[r]):(t={location:Tt.a.Messaging},e={locationCode:r,registrationId:i},a&&a.length&&(e.subscriptionsIds=a),d.a.getUserMessages(e,t).then(function(t){var e=o||{};e[r]=t,d.a.setMessagingData(e),n(t)}).catch(function(t){H.a.error("getUserMessages",t),n([])}))})},kt.prototype.getSubscriptionsIds=function(t){return t&&0!=t.length?Object(g.compact)(Object(g.pluck)(t,"SubscriptionId")):[]},kt);function kt(t){return jt.call(this,t)||this}var Nt,Lt,w=(Nt=function(t,e){return(Nt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Nt(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),Rt=(Lt=c.a,w(Ut,Lt),Ut.prototype.createAction=function(){var t=this.action;return t.ActionType===u.a.Banner&&(this.actionType=new pt(t)),t.ActionType===u.a.Modal&&(this.actionType=new f(t)),t.ActionType===u.a.Paywall&&(this.actionType=new at(t)),t.ActionType===u.a.Inline&&(this.actionType=new dt(t)),t.ActionType===u.a.SmallInfoBox&&(this.actionType=new vt(t)),t.ActionType===u.a.JSCall&&(this.actionType=new Ot.a(t)),t.ActionType===u.a.Newsletter&&(this.actionType=new bt(t)),t.ActionType===u.a.Messaging&&(this.actionType=new xt(t)),t.ActionType===u.a.ReadMore&&(this.actionType=new Dt(t)),this.actionType},Ut);function Ut(t){var e=Lt.call(this)||this;return e.action=t,e}var Vt=n(125),Bt=n(126),Ft=n(135),Wt=n(19);function Ht(){this.NAME="ActionModule",this.originalActionContent=[],this.actions=[],this.FlittzButton="[data-fz-btn=smartAuth]",Vt.a.set(Bt.a.ActionModuleInstance,this)}n.d(e,"ActionModule",function(){return qt});var qt=new(Ht.prototype.createAction=function(t){return new Rt(t).createAction()},Ht.prototype.processActions=function(t){var n=this,o="processActions";H.a.log("processAction",o,t);try{Object(g.each)(t,function(t,e){H.a.log(n.NAME,o,"Actions.EACH",e,t);t=n.createAction(t);n.actions.push(t),t&&(t.registerTrigger(),t instanceof tt&&n.originalActionContent.push(t))})}catch(t){H.a.error(this.NAME,o,t)}},Ht.prototype.integrateProduct=function(){Object(g.each)(this.originalActionContent,function(t){t.unmaskContent()})},Ht.prototype.clearConnextState=function(){this.clearActionsSchedule(),this.integrateProduct(),i.a.getInstance().closeAllTemplates(),Wt.a.reset()},Ht.prototype.clearActionsSchedule=function(){Object(g.each)(this.actions,function(t){t=t.getRegisteredTrigger();t&&t.unRegister()}),this.breakPromises(Vt.a.get(Bt.a.Promises)),this.actions=[]},Ht.prototype.resetConversationRepeatableActions=function(t){if(!t)return d.a.deleteTimeRepeatableActions(),void d.a.removeRepeatablesInConv();var e=d.a.getTimeRepeatableActions();e&&e[t.Id]&&(delete e[t.Id],d.a.setTimeRepeatableActions(e));var n=d.a.getRepeatablesInConv();n&&t.Actions&&Object(g.each)(t.Actions,function(t){n[t.Id]&&delete n[t.Id]}),d.a.setRepeatablesInConv(n)},Ht.prototype.setTimeRepeatableActions=function(t){d.a.setTimeRepeatableActions(t)},Ht.prototype.resetStorage=function(){d.a.resetStorage()},Ht.prototype.breakPromises=function(t){Object(g.each)(t,function(t){"pending"===t.state()&&t.reject()}),t=[]},Ht.prototype.getConnextPaywallFired=function(){return d.a.getConnextPaywallFired()},Ht.prototype.getArticleCost=function(){var t=d.a.getArticleCost();return t||""},Ht.prototype.getDaysToExpire=function(t,e){var n=Ft.a.get(),t=new Date(t);return e?(t=e/864e5-(n.valueOf()-t.valueOf())/864e5)<=0?"less than 1":Math.round(t):""},Ht.prototype.getReplaceVariables=function(){var t=s.Campaign.getCurrentConversationType();return{FreeViewsLeft:t.properties.getFreeViewsLeft(),CurrentViewCount:t.properties.getViews(),ExpireTimeLeft:this.getDaysToExpire(t.properties.getStartDate(),t.getNearestExpirationTime()),ArticleCost:this.getArticleCost(),UserFullName:a.a.getFullName(),ArticleLeft:t.properties.getFreeViewsLeft()}},Ht)},function(t,e,n){"use strict";function o(t){this.Delay=t.Delay||0,this.RepeatAfter=t.RepeatAfter,this.RepeatableOnConversation=t.RepeatableOnConversation||0}var r,i,a="Time",s="Hover",c="ElementOnScreen",u="PublicEvent",p=n(145),l=((r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(f,i=o),f);function f(t){var e=i.call(this,t)||this;return e.TypeName=t.TypeName,e}var h=n(0),d=n(131),y=n(25),_=(g.prototype.getTriggerWhen=function(){return this.actionModel.When},g.prototype.unRegister=function(){},g.prototype.handlerAction=function(t){return!0},g.prototype.canNotTriggerAction=function(){p.a.log("ACTION FAILED - ActionInPendingExecutionTime or ActionLimitIsExceeded",this.actionType)},g.prototype.getActionInfo=function(){try{var t=d.a.getRepeatablesInConv();return Object(h.isEmpty)(t)?null:t[this.actionModel.Id]}catch(t){p.a.error("ActionTrigger","GetRepeatablesInConv",t)}},g.prototype.issetActionData=function(t){return t&&t[this.actionModel.ConversationId]&&t[this.actionModel.ConversationId][this.actionModel.Id]},g.prototype.setActionInfo=function(){try{var t=d.a.getRepeatablesInConv(),e=this.getActionInfo();Object(y.s)(e)?t[this.actionModel.Id]=e+1:t[this.actionModel.Id]=1,d.a.setRepeatablesInConv(t)}catch(t){p.a.error("ActionTrigger","UpdateRepeatablesInConv",t)}},g.prototype.resetRepeatableData=function(){var t;this.getActionInfo()&&(delete(t=d.a.getRepeatablesInConv())[this.actionModel.Id],d.a.setRepeatablesInConv(t))},g.prototype.canRepeatableOnConversation=function(t){if(0===t)return!0;var e=this.getActionInfo();return!e||e<t},g);function g(t){this.actionType=t,this.actionModel=this.actionType.action,this.actionElem=t.getActionElement?t.getActionElement():null}var v,m,w=n(14),C=n(2),O=((v=function(t,e){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}v(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(A,m=_),A.prototype.trigger=function(){var t=this;this.actionType.prepareToShow(w.ActionModule.getReplaceVariables()).then(function(){t.actionType.executeAction(),t.setActionInfo(),t.actionType.show()}).catch(function(){})},A.prototype.unRegister=function(){clearTimeout(this.timer)},A.prototype.canTrigger=function(){var t=this.getActionInfo();return!t||(0===this.options.RepeatableOnConversation||!!(this.isTimeRepeatUp(t)&&t.count<this.options.RepeatableOnConversation))},A.prototype.resetRepeatableData=function(){var t;this.getActionInfo()&&(delete(t=d.a.getTimeRepeatableActions())[this.actionData.ConversationId][this.actionData.Id],d.a.setTimeRepeatableActions(t))},A.prototype.getActionInfo=function(){var t=d.a.getTimeRepeatableActions()||{};if(this.issetActionData(t)){t=t[this.actionData.ConversationId][this.actionData.Id];return{date:t[C.f.RepeatAfter],count:t[C.f.Count]}}return null},A.prototype.setActionInfo=function(){try{var t=this.getActionInfo(),e={};e[C.f.RepeatAfter]=Object(y.d)(this.options.RepeatAfter);var n=d.a.getTimeRepeatableActions()||{};Object(h.isEmpty)(t)?(n[this.actionData.ConversationId]||(n[this.actionData.ConversationId]={}),e[C.f.Count]=1):e[C.f.Count]=t.count+1,n[this.actionData.ConversationId][this.actionData.Id]=e,d.a.setTimeRepeatableActions(n)}catch(t){p.a.error("SetTimeRepeatableActionData",t)}},A.prototype.isTimeRepeatUp=function(t){return new Date>new Date(t.date)},A);function A(t,e){return m.call(this,t)||this}var b,E,P=((b=function(t,e){return(b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}b(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(S,E=O),S);function S(t,e){var n=E.call(this,t)||this,o="setTimedAction",r="ActionEvent";n.actionData=t.action,n.options=new l(n.getTriggerWhen()),p.a.log(r,o,"Set action start by time",arguments);try{n.canTrigger()?(n.timer=setTimeout(function(){n.trigger()},n.options.Delay),p.a.log(r,o,"Action will be execute after: ",n.options.Delay+"ms")):n.canNotTriggerAction()}catch(t){p.a.error(r,o,t)}return n}var D,I,M=n(11),_=((D=function(t,e){return(D=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}D(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(j,I=_),j.prototype.canRepatableOnArticle=function(t){return 0===t||!Object(y.s)(t)||this.countShowOnArticle<t},j.prototype.isFirstShow=function(){return 0===this.countShowOnArticle},j.prototype.incrementCountShowOnArticle=function(){this.countShowOnArticle++},j.prototype.trigger=function(){var t=this;this.actionType.isClosed()&&this.actionType.prepareToShow(w.ActionModule.getReplaceVariables()).then(function(){t.actionType.executeAction(),t.setActionInfo(),t.incrementCountShowOnArticle(),t.actionType.show()}).catch(function(){})},j);function j(){var t=null!==I&&I.apply(this,arguments)||this;return t.countShowOnArticle=0,t}var T,x,k=function(t){this.Delay=0,t&&(this.TypeName=t.TypeName,this.Selector=t.Selector,this.IncludeChildren=t.IncludeChildren,this.Delay=t.Delay||0,this.RepeatableOnConversation=t.RepeatableOnConversation||0,this.RepeatableOnArticle=t.RepeatableOnArticle||0)},N=((T=function(t,e){return(T=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}T(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(L,x=_),L.prototype.unRegister=function(){clearTimeout(this.timer),M.a.off(this.element,"mouseover",this.hoverTriggerHandler)},L.prototype.canTrigger=function(){return!(!this.canRepatableOnArticle(this.options.RepeatableOnArticle)||!this.canRepeatableOnConversation(this.options.RepeatableOnConversation))},L.prototype.hoverTrigger=function(t){var e=this;if(this.canTrigger()){if(!this.options.IncludeChildren&&t.target!==this.element)return t.stopPropagation(),!1;this.timer||(this.timer=setTimeout(function(){clearTimeout(e.timer),delete e.timer,e.trigger()},this.options.Delay))}else this.hasActionTriggerLimit||(this.canNotTriggerAction(),this.hasActionTriggerLimit=!0)},L);function L(e,t){var n=x.call(this,e)||this;n.hasActionTriggerLimit=!1,n.hoverTriggerHandler=null;var o="setHoverEvent",e="ActionEvent";n.options=new k(n.getTriggerWhen()),p.a.log(e,o,"Set action start by hover",arguments);try{n.hoverTriggerHandler=function(t){return n.hoverTrigger(t)},n.element=M.a.queryElement(n.options.Selector),M.a.on(n.element,"mouseover",n.hoverTriggerHandler)}catch(t){p.a.error(e,o,t)}return n}var R,U,V=function(t){t&&(this.TypeName=t.TypeName,this.Selector=t.Selector,this.Delay=t.Delay,this.RepeatableOnConversation=t.RepeatableOnConversation||0,this.RepeatableOnArticle=t.RepeatableOnArticle||0)},B=((R=function(t,e){return(R=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}R(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(F,U=_),F.prototype.unRegister=function(){this.timer&&clearTimeout(this.timer),M.a.off(window,"resize",this.eosTriggerHandler),M.a.off(window,"scroll",this.eosTriggerHandler)},F.prototype.eosTrigger=function(){var t=this;this.canTrigger()?this.timer||(this.checkVisible(this.options.Selector)?this.hasChangedVisibility&&(this.timer=setTimeout(function(){clearTimeout(t.timer),delete t.timer,t.hasChangedVisibility=!1,t.trigger()},this.options.Delay)):this.hasChangedVisibility=!0):this.hasActionTriggerLimit||(this.canNotTriggerAction(),this.hasActionTriggerLimit=!0)},F.prototype.canTrigger=function(){return!(!this.canRepatableOnArticle(this.options.RepeatableOnArticle)||!this.canRepeatableOnConversation(this.options.RepeatableOnConversation))},F.prototype.checkVisible=function(t){var e=M.a.queryElement(t);if(e){var n=e.getBoundingClientRect(),e=Math.max(document.documentElement.clientHeight,window.innerHeight);return!(n.bottom<0||0<=n.top-e)}return p.a.log("Eos trigger",t," is not found"),!1},F);function F(e,t){var n=U.call(this,e)||this;n.hasActionTriggerLimit=!1,n.hasChangedVisibility=!0,n.eosTriggerHandler=null;var o="SetEosEvent",e="ActionTrigger";n.options=new V(n.getTriggerWhen()),p.a.log(e,o,"Set action start by EOS",arguments);try{n.eosTriggerHandler=function(){return n.eosTrigger()},n.eosTriggerHandler(),M.a.on(window,"resize",n.eosTriggerHandler),M.a.on(window,"scroll",n.eosTriggerHandler)}catch(t){p.a.error(e,o,t)}return n}var W,H,q=((W=function(t,e){return(W=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}W(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(K,H=o),K);function K(t){var e=H.call(this,t)||this;return e.TypeName=t.TypeName,e.Selector=t.Selector,e.EventName=t.EventName,e}var z,G,Z=((z=function(t,e){return(z=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}z(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(J,G=O),J.prototype.handlerAction=function(t){var e=this;return t.stopPropagation(),this.canTrigger()?this.timer=setTimeout(function(){e.trigger()},this.options.Delay):this.canNotTriggerAction(),!1},J);function J(t,e){var n=G.call(this,t)||this,o="PublicEventTrigger",r="ActionEvent";n.actionData=t.action,n.options=new q(n.getTriggerWhen()),p.a.log(r,o,"Set action start by public event",arguments);try{switch(n.options.Selector){case"window":n.currenSelector=window;break;case"document":n.currenSelector=document;break;default:n.currenSelector=n.options.Selector}M.a.on(n.currenSelector,n.options.EventName,function(t){n.handlerAction(t)})}catch(t){p.a.error(r,o,t)}return n}function Q(){this.NAME="ActionTriggerDispatcher"}var $=new(Q.prototype.registerActionTriggers=function(t){var e="registerActionTriggers";p.a.log(this.NAME,e,this.action),this.actionType=t,this.action=t.action;try{switch(this.action.When||(p.a.log(this.NAME,e,"Action has no When object. So we set default values"),this.action.When={Time:{Delay:0}}),p.a.log(this.NAME,e,"Action has When."+this.action.When.TypeName+" object."),this.action.When.TypeName){case a:return new P(this.actionType);case s:return new N(this.actionType);case c:return new B(this.actionType);case u:return new Z(this.actionType);default:return p.a.warn("No action to register"),null}}catch(t){p.a.error(this.NAME,e,t)}},Q),Y=n(119),X=n(82),tt=n(125),et=n(126),nt=n(104),ot=n(41),rt=n(143),it=n(130),at=n(5),st=n(86),ct=n(134),ut=n(46),pt=n(31);n.d(e,"a",function(){return lt});var lt=(ft.prototype.isFirstShow=function(){return this.firstShow},ft.prototype.incrementCountShow=function(){this.countShow++},ft.prototype.resetCountShow=function(){this.countShow=0},ft.prototype.getCountShow=function(){return this.countShow},ft.prototype.executeAction=function(){this.actionTemplate&&this.showTemplate(),this.incrementCountShow()},ft.prototype.prepareToShow=function(t){return p.a.log("Action","prepareToShow","Action type is"+this.action.ActionType),this.action.What&&!this.action.What.Html?(p.a.log("Action","setActionTemplate","===== ACTION NOT PASSED(No HTML) =====",this.action),Promise.reject()):(this.action.What.Html=M.a.parseVariables(this.action.What.Html.trim(),t),this.setActionTemplate(),this.existTemplate()?Promise.resolve():Promise.reject())},ft.prototype.existTemplate=function(){return!(!this.actionTemplate||!this.actionTemplate.isCanShow())},ft.prototype.getActionElement=function(){return this.element||M.a.queryElement("#ConneXt_Action_Id-"+this.action.Id)},ft.prototype.show=function(){this.firstShow||(this.firstShow=!0),this.closed=!1,Y.a.dispatch(X.a.ActionShow,this.action),tt.a.set(et.a.ActionStartTime,new Date)},ft.prototype.close=function(t){this.action.CloseEvent=t.detail.closeEvent,Y.a.dispatch(X.a.ActionClosed,this.action),this.closed=!0,tt.a.set(et.a.ActionEndTime,new Date)},ft.prototype.isClosed=function(){return this.closed},ft.prototype.setActionTemplate=function(){var t=new ct.a(this.action.What);this.actionTemplate=nt.a.getInstance().createTemplate(t)},ft.prototype.getActionTemplate=function(){return this.actionTemplate},ft.prototype.showTemplate=function(){var e=this,t=this.actionTemplate.getElement();this.actionTemplate.addCss(this.action.What.Css,this.action.Id),this.actionTemplate.setId(this.DEFAULT_ACTION_ID+this.action.Id),pt.LikeButtons.add(t),this.addFlittzButtonEvent(t),this.actionTemplate.show(),p.a.warn(this.actionTemplate.getElement(),"on"),M.a.on(this.actionTemplate.getElement(),ut.g.TemplateClosed,function(t){e.close(t)}),ot.a.processLinks(this.actionTemplate.getElement()),this.actionTemplate.afterShow()},ft.prototype.registerTrigger=function(){this.showTrigger=$.registerActionTriggers(this)},ft.prototype.getRegisteredTrigger=function(){return this.showTrigger},ft.prototype.addFlittzButtonEvent=function(t){var e=this,t=M.a.find(this.FlittzButton,t);0<t.length&&M.a.on(t,"click",function(t){e.flittzBtnHandler(t)})},ft.prototype.flittzBtnHandler=function(e){var n=this;e.preventDefault(),rt.a.get(et.a.IntegrateFlittz)&&it.a.loadCampaign().then(function(t){e.EventData.conversation=t?t.getCurrentConversation():null,e.EventData.viewCount=at.a.getCurrentConversationViewCount(),e.EventData.hasFlittz=!0,window.CommonFz.PushData("Connext-onFlittzButtonClick",e),Y.a.dispatch(X.a.FlittzButtonClick,n.action)})},ft.prototype.getActionId=function(){return""+this.DEFAULT_ACTION_ID+this.action.Id},ft);function ft(t){this.DEFAULT_ACTION_ID="ConneXt_Action_Id-",this.FlittzButton="[data-fz-btn=smartAuth]",this.countShow=0,this.closed=!0,this.firstShow=!1,t.closeEvent=null,this.action=new st.a(t)}},function(t,e,n){"use strict";n.d(e,"a",function(){return o});var o=function(){}},,,function(t,e,n){"use strict";var o=n(11),r=n(0),i=n(48),a=n(29);function s(){}var c=new(s.prototype.add=function(t){var e=t.options.backdrop;e||"static"===e?(this.backdrop=o.a.queryElement(".connext-modal-backdrop"),this.backdrop||this.create(),o.a.css(this.backdrop,{zIndex:t.zIndex-1,opacity:t.options.transparentBackdrop})):this.backdrop&&(o.a.remove(this.backdrop),this.backdrop=null)},s.prototype.delete=function(){this.backdrop&&o.a.remove(this.backdrop)},s.prototype.create=function(){var t=document.createElement("div");t.setAttribute("class",a.a.BACKDROP+" fade"),this.backdrop=document.body.appendChild(t)},s.prototype.reset=function(){this.delete(),this.backdrop=null,this.listener=null},s),u=n(46),p=n(145);function l(){this.stack=[],this.currentOpenModal=null}n.d(e,"a",function(){return f});var f=new(l.prototype.reset=function(){this.stack=[],this.currentOpenModal=null,this.keyDownListener=null,this.outsideClickListener=null,c.reset()},l.prototype.show=function(t){var e;t.isShown||(p.a.log("BsModalService",this.stack,t,t.isShown),this.isEmptyStack()?(this.resetPageScroll(),i.a.saveOriginalRightPadding()):(e=Object(r.last)(this.stack),this.removeBackDropListener(e),this.removeKeydownListeners()),this.stack.push(t),e=this.calculateZIndex(),t.setZindex(e),t.show(),setTimeout(function(){c.add(t),i.a.updateUnderElement(t.element)},100),this.addKeydownListeners(t),this.addBackDropListener(t),this.currentOpenModal=t)},l.prototype.addBackDropListener=function(t){this.outsideClickListener=t.close.bind(t,u.b.ClickOutside),o.a.on(t.containerElement,"click",this.outsideClickListener)},l.prototype.hide=function(t,e){this.isModalOpen(t)&&(this.removeBackDropListener(t),this.removeKeydownListeners(),this.removeModalFromStack(t),t.hide(e)),this.isEmptyStack()?(this.returnPageScroll(),c.delete(),i.a.resetHorizontalScrollbar()):this.focusNextModal()},l.prototype.resetPageScroll=function(){o.a.addClass(document.body,"modal-open")},l.prototype.returnPageScroll=function(){o.a.removeClass(document.body,"modal-open")},l.prototype.getStackLength=function(){return this.stack.length},l.prototype.calculateZIndex=function(){return 10040+10*this.getStackLength()},l.prototype.isModalOpen=function(e){return Object(r.find)(this.stack,function(t){return t.id===e.id})},l.prototype.removeModalFromStack=function(e){this.stack=Object(r.filter)(this.stack,function(t){return t.id!==e.id})},l.prototype.focusNextModal=function(){this.currentOpenModal=Object(r.last)(this.stack),this.currentOpenModal&&(this.currentOpenModal.setFocus(),this.currentOpenModal.isShown=!0,i.a.updateUnderElement(this.currentOpenModal.element),c.add(this.currentOpenModal),this.addKeydownListeners(this.currentOpenModal),this.addBackDropListener(this.currentOpenModal))},l.prototype.isEmptyStack=function(){return 0===this.getStackLength()},l.prototype.addKeydownListeners=function(t){this.keyDownListener=t.close.bind(t,u.b.EscButton),o.a.on(document,"keydown",this.keyDownListener)},l.prototype.removeKeydownListeners=function(){o.a.off(document,"keydown",this.keyDownListener),this.keyDownListener=null},l.prototype.removeBackDropListener=function(t){o.a.off(t.containerElement,"click",this.outsideClickListener)},l)},function(t,e,n){"use strict";var o={};n.r(o),n.d(o,"AdBlock",function(){return l}),n.d(o,"ArticleAge",function(){return m}),n.d(o,"ConversationView",function(){return b}),n.d(o,"DeviceType",function(){return I}),n.d(o,"ExpirationFlittzStatus",function(){return L}),n.d(o,"ExpirationUserState",function(){return F}),n.d(o,"SubscriptionExpireDate",function(){return K}),n.d(o,"EzPay",function(){return J}),n.d(o,"Geo",function(){return X}),n.d(o,"FlittzUserStatus",function(){return ot}),n.d(o,"HiddenField",function(){return st}),n.d(o,"IncognitoMode",function(){return yt}),n.d(o,"Javascript",function(){return mt.a}),n.d(o,"MetaKeyword",function(){return Ct}),n.d(o,"MeterView",function(){return Et}),n.d(o,"Register",function(){return It}),n.d(o,"PromiseEx",function(){return xt.a}),n.d(o,"Subdomain",function(){return kt}),n.d(o,"Time",function(){return Ut}),n.d(o,"UrlMask",function(){return Wt}),n.d(o,"UrlParam",function(){return Zt}),n.d(o,"UserState",function(){return Yt}),n.d(o,"IsNewVisitor",function(){return ne}),n.d(o,"NewsletterReader",function(){return se}),n.d(o,"NewsletterSession",function(){return le}),n.d(o,"DayTime",function(){return _e}),n.d(o,"IsEuMember",function(){return Ce}),n.d(o,"Country",function(){return Pe}),n.d(o,"UserAgentAccess",function(){return Me});var r,i,u=n(145),a=n(16),s=n(3),c=n(54),p=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),l=(i=s.a,p(f,i),f.prototype.check=function(e){var n=this,o="evalAdBlock";try{return u.a.log(this.NAME,o,"--- Testing ---",e),c.a.getInstance().init().then(function(t){t=t?"Detected":"Not Detected";return n.equal(e.Value,t)?Promise.resolve():Promise.reject("")})}catch(t){return u.a.error(this.NAME,o,t),Promise.reject("")}},f);function f(){var t=i.call(this)||this;return t.NAME="AdBlock",t}var h,d,y=n(11),_=n(135),g=n(0),v=n(46),p=(h=function(t,e){return(h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}h(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),m=(d=s.a,p(w,d),w.prototype.check=function(r){var i=this;return this.NAME="ArticleAge",new Promise(function(t,e){var n="evalArticleAge";try{u.a.log(i.NAME,n,"--- Testing ---",r);var o=i.getArticleAge(r);i.evaluateOperator(o,r.Value,r.Qualifier)?t(!0):e(!1)}catch(t){u.a.error(i.NAME,n,t),e(!1)}})},w.prototype.getArticleAge=function(t){var e="getArticleAge";try{if(u.a.log(this.NAME,e,t),Object(g.isNumber)(this.CACHED_RESULTS.articleAge)&&!isNaN(this.CACHED_RESULTS.articleAge))return u.a.log(this.NAME,e,"Article Age Already Deterimed...using Cached value"),this.CACHED_RESULTS.articleAge;var n=y.a.queryElement(t.EvaluatedObject);if(!n)return u.a.warn(t.EvaluatedObject+"is not find in DOM"),null;var o=y.a.text(n);u.a.log(this.NAME,e,"articleDateData",o);var r=this.isNothing(t.Format)?v.c:t.Delimiter,i=this.parseCustomDates(o),a=_.a.get();return u.a.log(this.NAME,e,"Using Format: ",r),n=this.diffDays(a,i),u.a.log(this.NAME,e,"Date Used for Compare: "+o,"Article Age In Days:: ("+n+")"),this.CACHED_RESULTS.articleAge=n,this.CACHED_RESULTS.articleAge}catch(t){return u.a.error(this.NAME,e,t),!1}},w.prototype.isNothing=function(t){return!(!Object(g.isEmpty)(t)&&!Object(g.isNull)(t)&&""!==t)},w.prototype.parseCustomDates=function(t){var e=t.replace(/(\d+)([a-zA-Z,()\\";?]+)/,"$1 ");return e=Date.parse(e),new Date(e)},w.prototype.diffDays=function(t,e){e=t.getTime()-e.getTime();return e=parseInt(e/864e5+"")},w);function w(){var t=null!==d&&d.apply(this,arguments)||this;return t.CACHED_RESULTS={},t}var C,O,A=n(5),p=(C=function(t,e){return(C=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}C(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),b=(O=s.a,p(E,O),E.prototype.check=function(i){var a=this;return this.NAME="ConversationView",new Promise(function(t,e){var n="evalConversationView";try{u.a.log(a.NAME,n,"Checking ConversationViewsCriteria",i);var o=A.a.getCurrentConversationViewCount(),r=a.evaluateOperator(o,i.Value,i.Qualifier);u.a.log(a.NAME,n,"Criteria was "+(r?"":"not")+" passed",i),(r?t:e)()}catch(t){u.a.error(a.NAME,n,t),e()}})},E);function E(){return null!==O&&O.apply(this,arguments)||this}var P,S,D=n(45),p=(P=function(t,e){return(P=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}P(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),I=(S=s.a,p(M,S),M.prototype.check=function(s){var c=this;return this.NAME="DeviceType",new Promise(function(t,e){var n="evalDeviceType",o=D.a.getDeviceType();u.a.log(c.NAME,n,"Checking ScreenSizeCriteria: ",s,o);try{var r=!0,i=s.Qualifier||s.Options.Qualifier,a=s.Value||s.Options.Value;((r=c.evaluateOperator(o,a,i))?t:e)(),u.a.log(c.NAME,n,"Criteria was "+(r?"":"not")+" passed",s)}catch(t){u.a.error(c.NAME,n,t),e()}})},M);function M(){return null!==S&&S.apply(this,arguments)||this}var j,T,x=n(143),k={FlittzLoggedIn:"Logged In",FlittzLoggedOut:"Logged Out"},N=n(126),p=(j=function(t,e){return(j=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}j(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),L=(T=s.a,p(R,T),R.prototype.check=function(o){var r=this;return this.NAME="ExpirationFlittzStatus",new Promise(function(t,e){try{var n=o.Value;x.a.get(N.a.IntegrateFlittz)&&window.Flittz&&n===k[window.Flittz.FlittzUserStatus]&&t(),e()}catch(t){u.a.error(r.NAME,"evalConvoFlittzStatus",t),e()}})},R);function R(){return null!==T&&T.apply(this,arguments)||this}var U,V,B=n(13),p=(U=function(t,e){return(U=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}U(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),F=(V=s.a,p(W,V),W.prototype.check=function(r){var i=this;return this.NAME="ExpirationUserState",new Promise(function(t,e){try{var n=r,o=B.a.getUserState();(i.evaluateOperator(n.Value,o,n.Qualifier)?t:e)()}catch(t){u.a.error(i.NAME,"evalConvoUserState",t),e()}})},W);function W(){return null!==V&&V.apply(this,arguments)||this}var H,q,p=(H=function(t,e){return(H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}H(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),K=(q=s.a,p(z,q),z.prototype.check=function(a){var s=this;return this.NAME="ExpireDate",new Promise(function(t,e){var n="evalExpireDate";u.a.log(s.NAME,n,"Checking ExpireDateCriteria",a);try{var o,r,i=!0;!B.a.notLoggedIn()&&(o=B.a.getOwnedSubscription())?o.ExpirationDate&&(r=_.a.get().valueOf(),i=s.evaluateOperator(o.ExpirationDate,r+a.Value,a.Qualifier)):i=!1,(i?t:e)(),u.a.log(s.NAME,n,"Criteria was "+(i?"":"not")+" passed",a)}catch(t){u.a.error(s.NAME,n,t),e()}})},z);function z(){return null!==q&&q.apply(this,arguments)||this}var G,Z,p=(G=function(t,e){return(G=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}G(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),J=(Z=s.a,p(Q,Z),Q.prototype.check=function(i){var a=this;return this.NAME="EZPay",new Promise(function(t,e){var n="evalEZPay";u.a.log(a.NAME,n,"Checking EZPayCriteria",i);try{var o,r=!0;!B.a.notLoggedIn()&&(o=B.a.getOwnedSubscription())&&o.IsEZPay.toString()===i.Value||(r=!1),(r?t:e)(),u.a.log(a.NAME,n,"Criteria was "+(r?"":"not")+" passed",i)}catch(t){u.a.error(a.NAME,n,t),e()}})},Q);function Q(){return null!==Z&&Z.apply(this,arguments)||this}var $,Y,p=($=function(t,e){return($=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}$(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),X=(Y=s.a,p(tt,Y),tt.prototype.check=function(a){var s=this;return this.NAME="Geo",new Promise(function(t,e){var n="evalGeo";try{u.a.log(s.NAME,n,"--- Testing ---",a);var o=B.a.getUserZipCodes(),r=a.Qualifier,i=a.Value;a.EvaluatedObject&&"yes"==a.EvaluatedObject.toLowerCase()&&(i=i.concat(",",v.n)),(s.evaluateOperator(o,i,r)?t:e)()}catch(t){u.a.error(s.NAME,n,t),e(!1)}})},tt.prototype.in=function(t,e){Object(g.isNumber)(e)&&(e+="");e=e.replace(" ","").split(",");return this.checkUserZipCodes(t,e)},tt.prototype.checkUserZipCodes=function(t,e){for(var n=0;n<e.length;n++)for(var o=(3===e[n].length?e[n]+"***":e[n]).toLowerCase(),r=0;r<t.length;r++){var i=(3===t[r].length?t[r]+"***":t[r]).toLowerCase();if(o.length===i.length){for(var a=!0,s=0;s<o.length;s++)if("*"!==o[s]&&o[s]!==i[s]){a=!1;break}if(a)return!0}}return!1},tt);function tt(){return null!==Y&&Y.apply(this,arguments)||this}var et,nt,p=(et=function(t,e){return(et=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}et(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),ot=(nt=s.a,p(rt,nt),rt.prototype.check=function(a){var s=this;return this.NAME="FlittzUserStatus",new Promise(function(t,e){var n="evalFlittzStatus";try{u.a.log(s.NAME,n,"--- Testing ---",a);var o,r=a.Qualifier||a.Options.Qualifier,i=a.Value||a.Options["Flittz Status"];(!(!x.a.get(N.a.IntegrateFlittz)||!window.Flittz)&&(o=window.Flittz.FlittzUserStatus,s.evaluateOperator(k[o],i.toLocaleLowerCase(),r))?t:e)()}catch(t){u.a.error(s.NAME,n,t),e()}})},rt);function rt(){var t=null!==nt&&nt.apply(this,arguments)||this;return t.NAME="FlittzUserStatus",t}var it,at,p=(it=function(t,e){return(it=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}it(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),st=(at=s.a,p(ct,at),ct.prototype.check=function(s){var c=this;return this.NAME="HiddenField",new Promise(function(t,e){var n="evalHiddenField";try{u.a.log(c.NAME,n,"--- Testing ---",s);var o=!0,r=s.Qualifier||s.Options.Qualifier,i=s.Value||s.Options.Value||"",a=s.EvaluatedObject,a=c.getHiddenFormFieldValue(a).toUpperCase();c.evaluateOperator(a,i.toUpperCase(),r)||(o=!1),(o?t:e)()}catch(t){u.a.error(c.NAME,n,t),e()}})},ct.prototype.getHiddenFormFieldValue=function(t){try{var e=y.a.queryElement("#"+t);if(!e)return"";e=y.a.val(e);return u.a.log(this.NAME,"GetHiddenFormFieldValue","hidValue",e),e}catch(t){return u.a.error(this.NAME,"GetHiddenFormFieldValue",t),""}},ct);function ct(){return null!==at&&at.apply(this,arguments)||this}var ut=(pt.prototype.detect=function(){var o=this;return new Promise(function(e,t){try{if(D.a.isChrome())e(o.detectChromeIncognito());else if(D.a.isFirefox()&&window.indexedDB)try{var n=window.indexedDB.open("test");n.onsuccess=function(){e(!1)},n.onerror=function(){e(!0)}}catch(t){e(!0)}else if(D.a.isIE()||D.a.isEdge())try{window.indexedDB?e(!1):e(!0)}catch(t){e(!0)}else if(D.a.isSafari()&&window.localStorage)if(13<=parseInt(D.a.getBrowserVersion()))o.detectSafariAfterVersion13().then(function(t){e(t)});else try{window.localStorage.setItem("test","1"),window.openDatabase(null,null,null,null),e(!1)}catch(t){e(!0)}else e(!1)}catch(t){u.a.error(pt.Name,"detectIncognito",t),e(!1)}})},pt.prototype.detectChromeIncognito=function(){var t=parseInt(D.a.getBrowserVersion());return 76<=t?this.detectChromeAfterVersion76():74<t?this.detectChromeAfterVersion74():this.detectChromeBeforeVersion74()},pt.prototype.detectChromeAfterVersion74=function(){return new Promise(function(e,t){"storage"in navigator&&"estimate"in navigator.storage?navigator.storage.estimate().then(function(t){t=t.quota;e(t<12e7)}):e(!1)})},pt.prototype.detectChromeAfterVersion76=function(){return new Promise(function(n){"storage"in navigator&&"estimate"in navigator.storage?navigator.storage.estimate().then(function(t){var e=t.quota;e&&e<(t=navigator,e=t.userAgent&&0<t.userAgent.indexOf("Mac OS")&&-1==t.userAgent.indexOf("iPhone"),t=t.userAgent&&0<t.userAgent.indexOf("CrOS"),e||t?3221225472:1073741824)?n(!0):n(!1)}):n(!1)})},pt.prototype.detectChromeBeforeVersion74=function(){return new Promise(function(t,e){var n=window.RequestFileSystem||window.webkitRequestFileSystem;n?n(window.TEMPORARY,1,function(){t(!1)},function(){t(!0)}):t(!1)})},pt.prototype.detectSafariAfterVersion13=function(){var e,n=function(t){return new RegExp([103,101,115,116,117,114,101].map(function(t){return String.fromCharCode(t)}).join("")).test(t)};return"safari"in window?new Promise(function(e){try{window.safari.pushNotification.requestPermission("https://example.com","private",{},function(){})}catch(t){n(t)?e(!1):e(!0)}}):(e=document.createElement("iframe"),Promise.race([new Promise(function(t){e.style.display="none",document.body.appendChild(e),e.contentWindow?e.contentWindow.applicationCache.addEventListener("error",function(){return t(!0)}):t(!1)}),new Promise(function(t){setTimeout(function(){return t(!1)},20)})]))},pt.Name="IncognitoModeClass",pt);function pt(){}new ut;var lt,ft,p=(lt=function(t,e){return(lt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}lt(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),ht=function(i,a,s,c){return new(s=s||Promise)(function(t,e){function n(t){try{r(c.next(t))}catch(t){e(t)}}function o(t){try{r(c.throw(t))}catch(t){e(t)}}function r(e){e.done?t(e.value):new s(function(t){t(e.value)}).then(n,o)}r((c=c.apply(i,a||[])).next())})},dt=function(n,o){var r,i,a,s={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]},t={next:e(0),throw:e(1),return:e(2)};return"function"==typeof Symbol&&(t[Symbol.iterator]=function(){return this}),t;function e(e){return function(t){return function(e){if(r)throw new TypeError("Generator is already executing.");for(;s;)try{if(r=1,i&&(a=2&e[0]?i.return:e[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,e[1])).done)return a;switch(i=0,a&&(e=[2&e[0],a.value]),e[0]){case 0:case 1:a=e;break;case 4:return s.label++,{value:e[1],done:!1};case 5:s.label++,i=e[1],e=[0];continue;case 7:e=s.ops.pop(),s.trys.pop();continue;default:if(!(a=0<(a=s.trys).length&&a[a.length-1])&&(6===e[0]||2===e[0])){s=0;continue}if(3===e[0]&&(!a||e[1]>a[0]&&e[1]<a[3])){s.label=e[1];break}if(6===e[0]&&s.label<a[1]){s.label=a[1],a=e;break}if(a&&s.label<a[2]){s.label=a[2],s.ops.push(e);break}a[2]&&s.ops.pop(),s.trys.pop();continue}e=o.call(n,s)}catch(t){e=[6,t],i=0}finally{r=a=0}if(5&e[0])throw e[1];return{value:e[0]?e[1]:void 0,done:!0}}([e,t])}}},yt=(ft=s.a,p(_t,ft),_t.prototype.check=function(i){var a=this,t=["detected","not detected"];return this.NAME="IncognitoMode",new Promise(function(e,n){var o="evalIncognitoMode";try{u.a.log(a.NAME,o,"Checking Incognito mode",i);var r=i.Value||i.Options.Value;r?r=new String(r).toLowerCase():(u.a.error("unknown option value "+r),n(!1)),r&&-1===t.indexOf(r)&&(u.a.error("unknown option value "+r),n(!1)),a.detectIncognito().then(function(t){t===("detected"===r)?(u.a.log(a.NAME,o,"Option passed",i),e(!0)):(u.a.log(a.NAME,o,"Option not passed",i),n(!1))}).catch(function(t){u.a.log(a.NAME,o,"Option not passed",i,t),n(!1)})}catch(t){u.a.error(a.NAME,o,t),n(!1)}})},_t.prototype.detectIncognito=function(){var e=this;return new Promise(function(r,t){return ht(e,void 0,void 0,function(){var e,n,o;return dt(this,function(t){switch(t.label){case 0:return(t.trys.push([0,7,,8]),D.a.isChrome())?(e=r,[4,this.detectChromeIncognito()]):[3,2];case 1:return e.apply(void 0,[t.sent()]),[3,6];case 2:if(!D.a.isFirefox()||!window.indexedDB)return[3,3];try{(n=window.indexedDB.open("test")).onsuccess=function(){r(!1)},n.onerror=function(){r(!0)}}catch(t){r(!0)}return[3,6];case 3:return D.a.isEdge()?(o=r,[4,this.detectChromeAfterVersion76()]):[3,5];case 4:return o.apply(void 0,[t.sent()]),[3,6];case 5:if(D.a.isIE())try{window.indexedDB?r(!1):r(!0)}catch(t){r(!0)}else if(D.a.isSafari()&&window.localStorage)if(13<=parseInt(D.a.getBrowserVersion()))this.detectSafariAfterVersion13().then(function(t){r(t)});else try{window.localStorage.setItem("test","1"),window.openDatabase(null,null,null,null),r(!1)}catch(t){r(!0)}else r(!1);t.label=6;case 6:return[3,8];case 7:return o=t.sent(),u.a.error(ut.Name,"detectIncognito",o),r(!1),[3,8];case 8:return[2]}})})})},_t.prototype.detectChromeIncognito=function(){var t=parseInt(D.a.getBrowserVersion());return 76<=t?this.detectChromeAfterVersion76():74<t?this.detectChromeAfterVersion74():this.detectChromeBeforeVersion74()},_t.prototype.detectChromeAfterVersion74=function(){return new Promise(function(e,t){"storage"in navigator&&"estimate"in navigator.storage?navigator.storage.estimate().then(function(t){t=t.quota;e(t<12e7)}):e(!1)})},_t.prototype.detectChromeAfterVersion76=function(){return new Promise(function(n){"storage"in navigator&&"estimate"in navigator.storage?navigator.storage.estimate().then(function(t){var e=t.quota;e&&e<(t=navigator,e=t.userAgent&&0<t.userAgent.indexOf("Mac OS")&&-1==t.userAgent.indexOf("iPhone"),t=t.userAgent&&0<t.userAgent.indexOf("CrOS"),e||t?3221225472:1073741824)?n(!0):n(!1)}):n(!1)})},_t.prototype.detectChromeBeforeVersion74=function(){return new Promise(function(t,e){var n=window.RequestFileSystem||window.webkitRequestFileSystem;n?n(window.TEMPORARY,1,function(){t(!1)},function(){t(!0)}):t(!1)})},_t.prototype.detectSafariAfterVersion13=function(){var e,n=function(t){return new RegExp([103,101,115,116,117,114,101].map(function(t){return String.fromCharCode(t)}).join("")).test(t)};return"safari"in window?new Promise(function(e){try{window.safari.pushNotification.requestPermission("https://example.com","private",{},function(){})}catch(t){n(t)?e(!1):e(!0)}}):(e=document.createElement("iframe"),Promise.race([new Promise(function(t){e.style.display="none",document.body.appendChild(e),e.contentWindow?e.contentWindow.applicationCache.addEventListener("error",function(){return t(!0)}):t(!1)}),new Promise(function(t){setTimeout(function(){return t(!1)},20)})]))},_t);function _t(){return null!==ft&&ft.apply(this,arguments)||this}var gt,vt,mt=n(59),wt=n(25),p=(gt=function(t,e){return(gt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}gt(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),Ct=(vt=s.a,p(Ot,vt),Ot.prototype.check=function(a){var s=this;return this.NAME="Meta",new Promise(function(t,e){var n="evalMeta";try{u.a.log(s.NAME,n,"--- Testing ---",a);var o=a.Value,r=a.Qualifier||a.Options.Qualifier,i=Object(wt.j)();(s.evaluateOperator(i,o,r)?t:e)()}catch(t){u.a.error(s.NAME,n,t),e()}})},Ot.prototype.equal=function(t,e){return!!(t&&0<t.length)&&this.isFindTagValue(t,e)},Ot.prototype.notEqual=function(t,e){return!!(t&&0<t.length)&&!this.isFindTagValue(t,e)},Ot.prototype.isFindTagValue=function(t,e){for(var n=new RegExp("\\b"+e+"\\b"),o=0;o<t.length;o++){var r=t[o].getAttribute("content");if(n.test(r))return u.a.log(this.NAME,"equal-Meta","Found keyword",r),!0}return!1},Ot);function Ot(){return null!==vt&&vt.apply(this,arguments)||this}var At,bt,p=(At=function(t,e){return(At=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}At(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),Et=(bt=s.a,p(Pt,bt),Pt.prototype.check=function(i){var a=this;return this.NAME="MeterView",new Promise(function(t,e){var n="evalMeterView";try{var o=A.a.getCurrentDynamicMeterViewCount(),r=a.evaluateOperator(o,i.Value,i.Qualifier);u.a.log(a.NAME,n,"Criteria was "+(r?"":"not")+" passed",i),(r?t:e)()}catch(t){u.a.error(a.NAME,n,t),e()}})},Pt);function Pt(){var t=null!==bt&&bt.apply(this,arguments)||this;return t.NAME="MeterView",t}var St,Dt,p=(St=function(t,e){return(St=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}St(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),It=(Dt=s.a,p(Mt,Dt),Mt.prototype.check=function(t){var n=this;return this.NAME="Register",new Promise(function(t,e){try{(x.a.get(N.a.IntegrateFlittz)&&window.Flittz&&"FlittzLoggedIn"===window.Flittz.FlittzUserStatus?t:e)()}catch(t){u.a.error(n.NAME,"evalRegister",t),e()}})},Mt);function Mt(){return null!==Dt&&Dt.apply(this,arguments)||this}var jt,Tt,xt=n(60),p=(jt=function(t,e){return(jt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}jt(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),kt=(Tt=s.a,p(Nt,Tt),Nt.prototype.check=function(s){var c=this;return this.NAME="Subdomain",new Promise(function(t,e){var n="evalSubdomain";try{u.a.log(c.NAME,n,"--- Testing ---",s);var o=s.Options||s,r=o.Value,i=window.location.hostname.toUpperCase(),a=o.Qualifier.toUpperCase(),o=i.split("."),i=Object(g.first)(o,o.length-2);(2<o.length&&c.evaluateOperator(i,r.toUpperCase(),a)?t:e)()}catch(t){u.a.error(c.NAME,n,t),e()}})},Nt.prototype.equal=function(t,e){return-1!=t.indexOf(e)},Nt.prototype.notEqual=function(t,e){return!this.equal(t,e)},Nt);function Nt(){return null!==Tt&&Tt.apply(this,arguments)||this}var Lt,Rt,p=(Lt=function(t,e){return(Lt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Lt(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),Ut=(Rt=s.a,p(Vt,Rt),Vt.prototype.check=function(r){var i=this;return this.NAME="Time",new Promise(function(t,e){var n="evalTime";try{var o=_.a.get().valueOf();Date.parse(r.conversation.Date.Started)+r.Value<=o?(u.a.log(i.NAME,n,"Current conversation has expired base on date..."),t()):e()}catch(t){u.a.error(i.NAME,n,t),e()}})},Vt);function Vt(){return null!==Rt&&Rt.apply(this,arguments)||this}var Bt,Ft,p=(Bt=function(t,e){return(Bt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Bt(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),Wt=(Ft=s.a,p(Ht,Ft),Ht.prototype.check=function(a){var s=this;return this.NAME="UrlMask",new Promise(function(t,e){var n="evalUrlMask";try{u.a.log(s.NAME,n,"--- Testing ---",a);var o=a.Qualifier||a.Options.Qualifier,r=a.Value,i=window.location.href.replace(/#$/,"");(s.evaluateOperator(i,r,o)?t:e)()}catch(t){u.a.error(s.NAME,n,t),e()}})},Ht.prototype.equal=function(t,e){return e="^"+(e=e.split("*").join(".*"))+"$",new RegExp(e).test(t)},Ht);function Ht(){return null!==Ft&&Ft.apply(this,arguments)||this}var qt,Kt,zt=n(30),Gt=n(7),p=(qt=function(t,e){return(qt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}qt(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),Zt=(Kt=s.a,p(Jt,Kt),Jt.prototype.check=function(a){var s=this;return this.NAME="UrlParam",new Promise(function(t,e){var n="evalUrlParam";try{u.a.log(s.NAME,n,"--- Testing ---",a);var o=a.Qualifier,r=a.Value,i=a.EvaluatedObject,i=Object(wt.o)(i);(i?s.evaluateOperator(i.toUpperCase(),r.toUpperCase(),o)?t:e:zt.a.getOperator(o)===Gt.a.Equal?e:t)()}catch(t){u.a.error(s.NAME,n,t),e()}})},Jt);function Jt(){return null!==Kt&&Kt.apply(this,arguments)||this}var Qt,$t,p=(Qt=function(t,e){return(Qt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Qt(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),Yt=($t=s.a,p(Xt,$t),Xt.prototype.check=function(a){var s=this;return this.NAME="UserState",new Promise(function(t,e){var n="evalUserState";try{u.a.log(s.NAME,n,"--- Testing ---",a);var o=B.a.getUserState(),r=a.Qualifier||a.Options.Qualifier,i=a.Value||a.Options["User State"];null==o&&(o=v.o.NotLoggedIn),(s.evaluateOperator(o,i,r)?t:e)()}catch(t){u.a.error(s.NAME,n,t),e()}})},Xt);function Xt(){return null!==$t&&$t.apply(this,arguments)||this}var te,ee,p=(te=function(t,e){return(te=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}te(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),ne=(ee=s.a,p(oe,ee),oe.prototype.check=function(i){var a=this;return new Promise(function(t,e){var n=!1,o=A.a.getCurrentDynamicMeterViewCount(),r=i.Value.toLowerCase();o<=1&&"yes"===r&&(n=!0),1<o&&"no"===r&&(n=!0),(n?t:e)(),u.a.log(a.NAME,"check","Criteria was "+(n?"":"not")+" passed",i)})},oe);function oe(){var t=null!==ee&&ee.apply(this,arguments)||this;return t.NAME="IsNewVisitor",t}var re,ie,ae=n(78),p=(re=function(t,e){return(re=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}re(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),se=(ie=s.a,p(ce,ie),ce.prototype.check=function(i){var a=this;return this.NAME="NewsletterReader",new Promise(function(t,e){var n="evalNewsletterReader";u.a.log(a.NAME,n,"Checking NewsletterReader: ",i);try{var o=ae.a.getNewsletterReader(!1),r="true"===i.Value.toLowerCase()&&null!=o||"false"===i.Value.toLowerCase()&&null==o;u.a.log(a.NAME,n,"Criteria "+(r?"":"did not ")+"passed",i),(r?t:e)()}catch(t){u.a.error(a.NAME,n,t),e()}})},ce);function ce(){return null!==ie&&ie.apply(this,arguments)||this}var ue,pe,p=(ue=function(t,e){return(ue=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}ue(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),le=(pe=s.a,p(fe,pe),fe.prototype.check=function(i){var a=this;return this.NAME="NewsletterSession",new Promise(function(t,e){var n="evalNewsletterSession";u.a.log(a.NAME,n,"Checking NewsletterSession: ",i);try{var o=ae.a.getNewsletterSource(),r="true"===i.Value.toLowerCase()&&null!=o||"false"===i.Value.toLowerCase()&&null==o;u.a.log(a.NAME,n,"Criteria "+(r?"":"did not")+" pass",i),(r?t:e)()}catch(t){u.a.error(a.NAME,n,t),e()}})},fe);function fe(){return null!==pe&&pe.apply(this,arguments)||this}var he,de,ye=n(123),p=(he=function(t,e){return(he=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}he(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),_e=(de=s.a,p(ge,de),ge.prototype.check=function(n){var o=this;return this.NAME="DayTime",new Promise(function(t,e){try{(o.evaluateOperator(o.getExpectedTimes(n),o.getLocalTime(),n.Qualifier)?t:e)()}catch(t){u.a.error(o.NAME,"evalDayTime",t),e()}})},ge.prototype.in=function(t,e){return t[0]<t[1]?e>=t[0]&&e<=t[1]:e>=t[0]||e<=t[1]},ge.prototype.createTime=function(t,e){var n=new Date,o=n.getFullYear(),r=n.getMonth(),n=n.getDate();return new Date(o,r,n,t,e)},ge.prototype.getExpectedTimes=function(t){var e=t.Delimiter||":";return[this.createTime.apply(null,t.EvaluatedObject.split(e)),this.createTime.apply(null,t.Value.split(e))]},ge.prototype.getLocalTime=function(){var t=ye.a.get(),e=t.getUTCHours(),t=t.getUTCMinutes();return this.createTime(e,t)},ge);function ge(){return de.call(this)||this}var ve,me,we=n(136),p=(ve=function(t,e){return(ve=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}ve(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),Ce=(me=s.a,p(Oe,me),Oe.prototype.check=function(r){var i=this;return new Promise(function(t,e){var n=!1,o=r.Value.toLowerCase();((n=we.a.getInformationFromStorage().isEuMember.toString()==o)?t:e)(),u.a.log(i.NAME,"check","Criteria was "+(n?"":"not")+" passed",r)})},Oe);function Oe(){var t=null!==me&&me.apply(this,arguments)||this;return t.NAME="IsEuMember",t}var Ae,be,Ee=n(144),p=(Ae=function(t,e){return(Ae=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Ae(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),Pe=(be=s.a,p(Se,be),Se.prototype.check=function(i){var a=this;return new Promise(function(t,e){try{var n=i.Value.toLowerCase().split(","),o=i.Qualifier,r=Ee.a.getCountryCode().toLowerCase();i.EvaluatedObject&&"yes"==i.EvaluatedObject.toLowerCase()&&(n=n.concat(v.n)),(a.evaluateOperator(n,r,o)?t:e)(),u.a.log(a.NAME,"check","Criteria was not passed",i)}catch(t){u.a.error(a.NAME,"check",t),e(!1)}})},Se.prototype.contains=function(t,e){return 0<=t.indexOf(e)},Se);function Se(){var t=null!==be&&be.apply(this,arguments)||this;return t.NAME="Country",t}var De,Ie,p=(De=function(t,e){return(De=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}De(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),Me=(Ie=s.a,p(je,Ie),je.prototype.check=function(o){var r=this,i="UserAgentAccess";return new Promise(function(t,e){try{u.a.log(r.NAME,i,"--- Testing ---",o);var n=r.getCurrentUserAgent();(r.evaluateOperator(n,o.Value,o.Qualifier)?t:e)()}catch(t){return u.a.error(r.NAME,i,t),Promise.reject("")}})},je.prototype.contains=function(t,e){return!(!t||!e)&&-1!==t.indexOf(e.toLowerCase())},je.prototype.getCurrentUserAgent=function(){return window.navigator.userAgent.toLowerCase()},je);function je(){var t=Ie.call(this)||this;return t.NAME="UserAgentAccess",t}var Te,xe,p=(Te=function(t,e){return(Te=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Te(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),ke=(xe=a.a,p(Ne,xe),Ne.prototype.create=function(t){return this.createInstance(this.getExtensionClass(t))},Ne.prototype.createInstance=function(e){try{return new o[e]}catch(t){u.a.error("No such criteria",e)}},Ne.prototype.getExtensionClass=function(t){if("Promise"===t)return"PromiseEx";var e=t.indexOf("Criteria");return 0<=e?t.substring(0,e):t},Ne);function Ne(){return null!==xe&&xe.apply(this,arguments)||this}n.d(e,"a",function(){return Le});var Le=(Re.getInstance=function(){return Re.instance||(Re.instance=new Re),Re.instance},Re.prototype.calculateExpression=function(t,e,n){u.a.log(this.NAME,"calculateExpression","Expression"+t,n);t=(new ke).create(t);return t?(t.setOptions(n),t.check(e)):Promise.reject()},Re.prototype.getCalculateExpressions=function(t,n){var o=this,r=[];return Object(g.each)(t,function(t,e){u.a.log("Expression",e,t),r.push(o.calculateExpression(t.TypeName,t,n))}),r},Re.prototype.executeCalculateExpressionsForCollection=function(e){return Promise.all(e.calculateExpressions).then(function(t){return u.a.log("Collection ["+e.Name+"] --- PASSED",e),Promise.resolve(e)}).catch(function(t){return u.a.log("Collection ["+e.Name+"] --- FAILED",e),e.passed=!1,Promise.resolve(e)})},Re.prototype.calculatePassedCollection=function(t,e){return this.calculatePassedCollections(t,e).then(function(t){return Object(g.first)(t)})},Re.prototype.calculatePassedCollections=function(t,e){return Promise.all(t).then(function(t){t=Object(g.filter)(t,function(t){return!0===t.passed});if(t&&0!==t.length){t=Object(g.sortBy)(t,e);return Promise.resolve(t)}return Promise.resolve([])}).catch(function(t){return Promise.reject(t)})},Re);function Re(){this.NAME="Criteria"}},,function(t,e,n){t.exports=(t=function(u){var n=Object.create||function(t){return e.prototype=t,t=new e,e.prototype=null,t};function e(){}var t={},o=t.lib={},r=o.Base={extend:function(t){var e=n(this);return t&&e.mixIn(t),e.hasOwnProperty("init")&&this.init!==e.init||(e.init=function(){e.$super.init.apply(this,arguments)}),(e.init.prototype=e).$super=this,e},create:function(){var t=this.extend();return t.init.apply(t,arguments),t},init:function(){},mixIn:function(t){for(var e in t)t.hasOwnProperty(e)&&(this[e]=t[e]);t.hasOwnProperty("toString")&&(this.toString=t.toString)},clone:function(){return this.init.prototype.extend(this)}},p=o.WordArray=r.extend({init:function(t,e){t=this.words=t||[],this.sigBytes=null!=e?e:4*t.length},toString:function(t){return(t||a).stringify(this)},concat:function(t){var e=this.words,n=t.words,o=this.sigBytes,r=t.sigBytes;if(this.clamp(),o%4)for(var i=0;i<r;i++){var a=n[i>>>2]>>>24-i%4*8&255;e[o+i>>>2]|=a<<24-(o+i)%4*8}else for(i=0;i<r;i+=4)e[o+i>>>2]=n[i>>>2];return this.sigBytes+=r,this},clamp:function(){var t=this.words,e=this.sigBytes;t[e>>>2]&=4294967295<<32-e%4*8,t.length=u.ceil(e/4)},clone:function(){var t=r.clone.call(this);return t.words=this.words.slice(0),t},random:function(t){for(var e=[],n=0;n<t;n+=4){var o=function(e){var e=e,n=987654321,o=4294967295;return function(){var t=((n=36969*(65535&n)+(n>>16)&o)<<16)+(e=18e3*(65535&e)+(e>>16)&o)&o;return t/=4294967296,(t+=.5)*(.5<u.random()?1:-1)}}(4294967296*(r||u.random())),r=987654071*o();e.push(4294967296*o()|0)}return new p.init(e,t)}}),i=t.enc={},a=i.Hex={stringify:function(t){for(var e=t.words,n=t.sigBytes,o=[],r=0;r<n;r++){var i=e[r>>>2]>>>24-r%4*8&255;o.push((i>>>4).toString(16)),o.push((15&i).toString(16))}return o.join("")},parse:function(t){for(var e=t.length,n=[],o=0;o<e;o+=2)n[o>>>3]|=parseInt(t.substr(o,2),16)<<24-o%8*4;return new p.init(n,e/2)}},s=i.Latin1={stringify:function(t){for(var e=t.words,n=t.sigBytes,o=[],r=0;r<n;r++){var i=e[r>>>2]>>>24-r%4*8&255;o.push(String.fromCharCode(i))}return o.join("")},parse:function(t){for(var e=t.length,n=[],o=0;o<e;o++)n[o>>>2]|=(255&t.charCodeAt(o))<<24-o%4*8;return new p.init(n,e)}},c=i.Utf8={stringify:function(t){try{return decodeURIComponent(escape(s.stringify(t)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(t){return s.parse(unescape(encodeURIComponent(t)))}},l=o.BufferedBlockAlgorithm=r.extend({reset:function(){this._data=new p.init,this._nDataBytes=0},_append:function(t){"string"==typeof t&&(t=c.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes},_process:function(t){var e=this._data,n=e.words,o=e.sigBytes,r=this.blockSize,i=o/(4*r),a=(i=t?u.ceil(i):u.max((0|i)-this._minBufferSize,0))*r,o=u.min(4*a,o);if(a){for(var s=0;s<a;s+=r)this._doProcessBlock(n,s);var c=n.splice(0,a);e.sigBytes-=o}return new p.init(c,o)},clone:function(){var t=r.clone.call(this);return t._data=this._data.clone(),t},_minBufferSize:0}),f=(o.Hasher=l.extend({cfg:r.extend(),init:function(t){this.cfg=this.cfg.extend(t),this.reset()},reset:function(){l.reset.call(this),this._doReset()},update:function(t){return this._append(t),this._process(),this},finalize:function(t){return t&&this._append(t),this._doFinalize()},blockSize:16,_createHelper:function(n){return function(t,e){return new n.init(e).finalize(t)}},_createHmacHelper:function(n){return function(t,e){return new f.HMAC.init(n,e).finalize(t)}}}),t.algo={});return t}(Math),t)},function(t,e,n){"use strict";var o=n(2),r=n(146),i=n(42),a=n(128),s=(c.prototype.getUserDataByEncryptedMasterId=function(t){return r.a.get("user/encryptedMasterId?encryptedMasterId="+encodeURIComponent(t))},c.prototype.getUserDataByMasterId=function(t){return r.a.get("user/masterId/"+t)},c.prototype.deleteCachedUserData=function(){i.a.delete(o.e.ConnextUserData)},c.prototype.getActualDataOnDay=function(){return a.a.get(o.b.UserDataExpiration)},c.prototype.setActualDataOnDay=function(){a.a.set(o.b.UserDataExpiration,"actual",{daysOfLife:1})},c.prototype.removeActualDataOnDay=function(){a.a.delete(o.b.UserDataExpiration)},c.prototype.clearStorage=function(){this.removeActualDataOnDay(),this.deleteCachedUserData()},c);function c(){}var u=n(43);function p(){this.repository=new s}n.d(e,"a",function(){return l});var l=new(p.prototype.getUserData=function(t,e){switch(e){case u.e.Usual:return this.getUserDataByMasterId(t);case u.e.Encrypted:return this.getUserDataByEncryptedMasterId(t)}},p.prototype.getUserDataByEncryptedMasterId=function(t){return this.repository.getUserDataByEncryptedMasterId(t)},p.prototype.getUserDataByMasterId=function(t){return this.repository.getUserDataByMasterId(t)},p.prototype.hasIsActualData=function(){return!!this.getActualDataOnDay()},p.prototype.getActualDataOnDay=function(){return this.repository.getActualDataOnDay()},p.prototype.setActualDataOnDay=function(){this.repository.setActualDataOnDay()},p.prototype.clearStorage=function(){this.repository.clearStorage()},p)},function(t,e,n){"use strict";var o={};n.r(o),n.d(o,"ClickMg2Action",function(){return h}),n.d(o,"ActivationMg2Action",function(){return C}),n.d(o,"ClickNewsdayMg2Action",function(){return P}),n.d(o,"ConnextRunMg2Action",function(){return M}),n.d(o,"LoginMg2Action",function(){return N}),n.d(o,"LogoutMg2Action",function(){return V}),n.d(o,"OpenNewsletterWidgetMg2Action",function(){return q}),n.d(o,"RegisterMg2Action",function(){return Z}),n.d(o,"SubmitMg2Action",function(){return X}),n.d(o,"ZipCodeMg2Action",function(){return ot}),n.d(o,"HideEntitledMg2Action",function(){return pt}),n.d(o,"HideLoggedInMg2Action",function(){return dt}),n.d(o,"HideLoggedOutMg2Action",function(){return vt});var r=n(46),i=n(119),a=n(82),s=n(0),c=n(11),u=(p.prototype.getActionElement=function(){return c.a.find(this.selector,document)},p.prototype.setSelector=function(){this.selector="["+this.selectAttr+"="+this.actionName+"]"},p.prototype.register=function(){var e=this;this.setSelector(),c.a.on(this.selector,"click",function(t){e.run(t)})},p.prototype.run=function(t){t&&t.preventDefault()},p.prototype.show=function(){c.a.show(this.getActionElement())},p.prototype.hide=function(){c.a.hide(this.getActionElement())},p.prototype.isShow=function(){return!0},p);function p(){this.selectAttr="data-mg2-action"}var l,f,h=((l=function(t,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(d,f=u),d.prototype.run=function(t){"click"!==this.actionName&&"click-Newsday"!==this.actionName&&f.prototype.run.call(this,t);var e,n=t.target,n=c.a.parents(n,".Mg2-connext");n.length&&(e=c.a.attr(Object(s.first)(n),"id"))&&(e=parseInt(e.split("-")[1]),Object(s.extend)(t,{actionId:e})),i.a.dispatch(a.a.ButtonClick,t)},d);function d(){var t=null!==f&&f.apply(this,arguments)||this;return t.actionName="click",t}var y,_,g=n(125),v=n(126),m=n(79),w=n(13),C=((y=function(t,e){return(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}y(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(O,_=h),O.prototype.run=function(t){_.prototype.run.call(this,t);t=g.a.get(v.a.ActivationInstance);t&&t.process()},O.prototype.show=function(){try{var t=this.getActionElement();t&&(t=(m.a._isIterable(t)?t:[t]).filter(function(t){return 0<c.a.parents(t,".Mg2-connext").length}),c.a.show(t))}catch(t){_.prototype.show.call(this)}},O.prototype.isShow=function(){return w.a.getUserState()!==r.o.Subscribed},O);function O(){var t=_.call(this)||this;return t.actionName="activation",t}var A,b,E=n(28),P=((A=function(t,e){return(A=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}A(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(S,b=h),S.prototype.run=function(t){b.prototype.run.call(this,t),i.a.dispatch(a.a.NewsdayButtonClick,t),window.setDestUrl&&Object(E.isFunction)(window.setDestUrl)&&window.setDestUrl()},S);function S(){var t=null!==b&&b.apply(this,arguments)||this;return t.actionName="click-Newsday",t}var D,I,M=((D=function(t,e){return(D=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}D(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(j,I=h),j);function j(){var t=null!==I&&I.apply(this,arguments)||this;return t.actionName="connextRun",t}var T,x,k=n(41),N=((T=function(t,e){return(T=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}T(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(L,x=h),L.prototype.run=function(t){x.prototype.run.call(this,t),k.a.showLoginForm()},L.prototype.isShow=function(){return w.a.getUserState()===r.o.NotLoggedIn},L);function L(){var t=null!==x&&x.apply(this,arguments)||this;return t.actionName="login",t}var R,U,V=((R=function(t,e){return(R=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}R(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(B,U=h),B.prototype.run=function(){U.prototype.run.call(this,event),k.a.logout()},B.prototype.isShow=function(){return w.a.getUserState()!==r.o.NotLoggedIn},B);function B(){var t=null!==U&&U.apply(this,arguments)||this;return t.actionName="logout",t}var F,W,H=n(145),q=((F=function(t,e){return(F=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}F(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(K,W=h),K.prototype.run=function(t){var e="NewsletterWidgetHandler";H.a.log(e,t);try{W.prototype.run.call(this,t);var n=t.target,o={email:"",categoryIdsList:this.getIdsList(n.dataset.categoryIdsList),newsletterIdsList:this.getIdsList(n.dataset.newsletterIdsList),viewMode:+n.dataset.viewMode||0},n=c.a.find('[data-mg2-input="Email"]',c.a.parents(n,".Mg2-connext")),n=c.a.val(n);void 0!==n&&""!==n&&(o.email=n),window.mg2WidgetAPI&&window.mg2WidgetAPI.openNewsletter(o)}catch(t){H.a.error(e,t)}},K.prototype.getIdsList=function(t){return void 0!==t?t.toString().split(",").map(function(t){return parseInt(t,10)}):[]},K);function K(){var t=null!==W&&W.apply(this,arguments)||this;return t.actionName="openNewsletterWidget",t}var z,G,Z=((z=function(t,e){return(z=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}z(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(J,G=u),J.prototype.run=function(t){G.prototype.run.call(this,t),k.a.showRegisterForm(t)},J.prototype.isShow=function(){return!0},J);function J(){var t=null!==G&&G.apply(this,arguments)||this;return t.actionName="register",t}var Q,$,Y=n(25),X=((Q=function(t,e){return(Q=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Q(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(tt,$=h),tt.prototype.run=function(t){var e="SubscribeClickHandler";H.a.log(e,t);try{$.prototype.run.call(this,t);var n=t.target,o=c.a.attr(n,"href"),n=c.a.find('[data-mg2-input="Email"]',c.a.parents(n,".Mg2-connext")),n=c.a.val(n);window.location.href=Object(Y.c)(o,"email",n)}catch(t){H.a.error(e,t)}},tt);function tt(){var t=null!==$&&$.apply(this,arguments)||this;return t.actionName="submit",t}var et,nt,ot=((et=function(t,e){return(et=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}et(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(rt,nt=h),rt.prototype.run=function(t){var e="SubmitZipCodeHandler";H.a.log(e,t);try{nt.prototype.run.call(this,t);var n=t.target,o=c.a.attr(n,"href"),r=c.a.find('[data-mg2-input="Zipcode"]',c.a.parents(n,".Mg2-zip-wrapper")),i="";r&&(i=c.a.val(r[0])),o=Object(Y.c)(o,"zipcode",i),c.a.attr(n,{href:o}),n.hasAttribute("target")?window.open(o,"_blank"):window.location.href=o}catch(t){H.a.error(e,t)}},rt);function rt(){var t=null!==nt&&nt.apply(this,arguments)||this;return t.actionName="Zipcode",t}var it,at,u=((it=function(t,e){return(it=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}it(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(st,at=u),st.prototype.register=function(){this.setSelector(),this.findedElements=c.a.find(this.selector,document),this.run()},st.prototype.run=function(t){at.prototype.run.call(this,t),this.isShow()?c.a.show(this.findedElements):c.a.hide(this.findedElements)},st);function st(){var t=null!==at&&at.apply(this,arguments)||this;return t.actionName="click",t.findedElements=[],t}var ct,ut,pt=((ct=function(t,e){return(ct=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}ct(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(lt,ut=u),lt.prototype.isShow=function(){return w.a.getUserState()!==r.o.Subscribed},lt);function lt(){var t=null!==ut&&ut.apply(this,arguments)||this;return t.actionName="hideentitled",t}var ft,ht,dt=((ft=function(t,e){return(ft=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}ft(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(yt,ht=u),yt.prototype.isShow=function(){return w.a.getUserState()===r.o.NotLoggedIn},yt);function yt(){var t=null!==ht&&ht.apply(this,arguments)||this;return t.actionName="hideloggedin",t}var _t,gt,vt=((_t=function(t,e){return(_t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}_t(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(mt,gt=u),mt.prototype.isShow=function(){return w.a.getUserState()!==r.o.NotLoggedIn},mt);function mt(){var t=null!==gt&&gt.apply(this,arguments)||this;return t.actionName="hideloggedout",t}function wt(){this.registeredActions=[],this.isRegistrationProcess=!1,this.isActivationProcess=!1,this.isLoginEndProcess=!1}n.d(e,"a",function(){return Ct});var Ct=new(wt.prototype.registerActions=function(){var e=this,t=Object.keys(o);Object(s.each)(t,function(t){t=new o[t];t.register(),e.registeredActions.push(t)}),this.setupUserVisibilityActions()},wt.prototype.setupUserVisibilityActions=function(){var t=this;i.a.subscribe([a.a.AnyAccountStatusEvent],function(){return t.setVisibility()}),i.a.subscribe([r.g.TemplateShown],function(){t.setVisibility()})},wt.prototype.setVisibility=function(){Object(s.each)(this.registeredActions,function(t){t.isShow()?t.show():t.hide()})},wt.prototype.startRegistrationProcess=function(){this.isRegistrationProcess=!0},wt.prototype.stopRegistrationProcess=function(){this.isRegistrationProcess=!1},wt.prototype.getRegistrationProcess=function(){return this.isRegistrationProcess},wt.prototype.startActivationFlow=function(){this.isActivationProcess=!0},wt.prototype.stopActivationFlow=function(){this.isActivationProcess=!1},wt.prototype.getActivationProcess=function(){return this.isActivationProcess},wt.prototype.setLoginEndFlowStatus=function(t){this.isLoginEndProcess=t},wt.prototype.getLoginEndFlowStatus=function(){return this.isLoginEndProcess},wt)},function(t,e,n){"use strict";n.d(e,"s",function(){return r}),n.d(e,"i",function(){return i}),n.d(e,"u",function(){return a}),n.d(e,"o",function(){return s}),n.d(e,"t",function(){return u}),n.d(e,"h",function(){return p}),n.d(e,"l",function(){return l}),n.d(e,"r",function(){return f}),n.d(e,"c",function(){return h}),n.d(e,"n",function(){return d}),n.d(e,"k",function(){return y}),n.d(e,"d",function(){return _}),n.d(e,"j",function(){return g}),n.d(e,"g",function(){return v}),n.d(e,"v",function(){return m}),n.d(e,"e",function(){return w}),n.d(e,"p",function(){return C}),n.d(e,"q",function(){return O}),n.d(e,"m",function(){return A}),n.d(e,"f",function(){return b}),n.d(e,"b",function(){return E}),n.d(e,"a",function(){return P});var o=n(11),c=n(0),r=function(t){return null!=t},i=function(){return window.location.href},a=function(t){if(t)return t.charAt(0).toUpperCase()+t.slice(1)},s=function(e){var t=window.location.search.substring(1).split("&"),n="";return Object(c.each)(t,function(t){t=t.split("=");if(t[0]===e)return n=decodeURIComponent(t[1]),!1}),n},u=function(t,e){var n=t.split("?");if(2<=n.length&&Object(c.isArray)(e)&&e.length){for(var o=n.shift(),r=n.join("?").split(/[&;]/g),i=0;i<e.length;i++)for(var a=encodeURIComponent(e[i])+"=",s=r.length-1;0<=s;s--)-1!==r[s].lastIndexOf(a,0)&&r.splice(s,1);t=o+(0<r.length?"?"+r.join("&"):"")}return t},p=function(){for(var t,e=window.location.search.substr(1).split("&"),n={},o=0;o<e.length;o++)(t=e[o].split("=")).length<2&&t.push(""),n[decodeURIComponent(t[0])]=decodeURIComponent(t[1]);return n},l=function(t){var e=window.location.search.slice(1).split("&"),n={},o={};t.forEach(function(t){o[t]=!0});for(var r=e.length-1;0<=r;r--){var i=[];if(e[r]&&(i=e[r].split("="),o[i[0]]))try{n[i[0]]=decodeURIComponent(i.slice(1).join("="))}catch(t){n[i[0]]=""}}return n},f=function(t){return!!s(t)},h=function(t,e,n){return t.replace(new RegExp("([?&]"+e+"(?=[=&#]|$)[^#&]*|(?=#|$))"),"&"+e+"="+encodeURIComponent(n)).replace(/^([^?&]+)&/,"$1?")},d=function(){return location.protocol+"//"+location.host+location.pathname},y=function(t,e){e=e||window.location.href,t=t.replace(/[\[\]]/g,"\\$&");e=new RegExp("[?&]"+t+"(=([^&#]*)|&|#|$)").exec(e);return e?e[2]?decodeURIComponent(e[2].replace(/\+/g," ")):"":null};var _=function(t){void 0===t&&(t=0);var e=new Date((new Date).valueOf());return e.setMilliseconds(e.getMilliseconds()+t)},g=function(){return document.querySelectorAll('meta[name="keywords"],meta[name="cmg:topics"]')},v=function(t){return o.a.find("[href]:not([data-dismiss])",t)},m="2.5.1.9",w=function(t){return t?encodeURIComponent(decodeURIComponent(t)):null},C=function(){return"Version: 2.5.1.9"},O=function(){return"Version: 2.5.1.9, Build: V.2.5.1.9-20201105.1"};function A(t){return void 0===t&&(t=new Date),new Date(t.getTime()+6e4*t.getTimezoneOffset())}function b(){function t(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return t()+t()+t()+t()+t()+t()+t()+t()}function E(t,e){return(e=e||new Date).setDate(e.getDate()+t),e}var P=function(e,n,o,t){void 0===t&&(t=!1);function r(t){t.type===n&&o.call(e,t)}return e.addEventListener(n,r,t),r}},,function(t,e,n){"use strict";n.r(e);var o=n(113),i=n(5),a=n(112),r=n(49),s=n(47),u=n(126),p=n(145),l=n(0),c=n(20),f=n(143),h=(d.getInstance=function(){return d.instance||(d.instance=new d),d.instance},d.prototype.calculateConversation=function(t){var e=this,n=[],o={timeout:f.a.get(u.a.ConversationPromiseTimeout),sortField:"Order",conversationId:0,meterId:0};return t&&t.length?(p.a.log("Calculating conversation...",t),Object(l.each)(t,function(t){t.passed=!0,o.conversationId=t.Id,o.meterId=t.MeterLevelId,t.calculateExpressions=e.criteria.getCalculateExpressions(t.Filters,o),n.push(e.criteria.executeCalculateExpressionsForCollection(t))}),this.criteria.calculatePassedCollection(n,o.sortField)):Promise.reject("")},d.prototype.getConversationPaywallsForView=function(t){var e={timeout:f.a.get(u.a.ActionPromiseTimeout),sortField:"Priority",conversationId:0,meterId:0,excludeExpressions:[r.a.MeterView,r.a.ConversationView]};try{var n=Object(l.where)(t.Actions,{ActionType:s.a.Paywall});return n.length?this.calculateActions(t,n,e):Promise.resolve([])}catch(t){return p.a.error(this.NAME,t),Promise.reject("")}},d.prototype.calculateConversationActions=function(t){var e={timeout:f.a.get(u.a.ActionPromiseTimeout),sortField:"Priority",conversationId:0,meterId:0};try{return this.calculateActions(t,t.Actions,e)}catch(t){return p.a.error(this.NAME,t),Promise.reject("")}},d.prototype.calculateActions=function(n,t,o){var r=this,i=[];return t&&t.length?(p.a.log("Calculating actions...",t),Object(l.each)(t,function(t){var e;t.passed=!0,o.conversationId=n.Id,o.meterId=n.MeterLevelId,e=o.excludeExpressions&&o.excludeExpressions.length?Object(l.filter)(t.Who,function(t){return-1===o.excludeExpressions.indexOf(t.TypeName)}):t.Who,t.calculateExpressions=r.criteria.getCalculateExpressions(e,o),i.push(r.criteria.executeCalculateExpressionsForCollection(t))}),this.criteria.calculatePassedCollections(i,o.sortField)):Promise.resolve([])},d.prototype.isConversationValid=function(s){var c=this;return new Promise(function(e,t){var o,n="isConversationValid",r=Object(l.sortBy)(s.ExpirationSettings,"Order"),i=[];p.a.log(c.NAME,n,"Check conversation expirations",r);var a={timeout:f.a.get(u.a.ConversationPromiseTimeout),sortField:"Order",conversationId:0,meterId:0};try{if(!s.Properties.getIsExpired())return Object(l.each)(r,function(n,t){var e=new Promise(function(t,e){n=Object(l.extend)(n,{conversation:s.Properties}),c.criteria.calculateExpression(n.TypeName,n,a).then(function(){o=o||n,e()}).catch(function(){t()})});i.push(function(){return e})}),i.length||e(),c.runExpirationsSequentially(i).then(function(){e()}).catch(function(){s.Properties.getIsExpired()||(s.Properties.setIsExpired(!0),s.Properties.setExpiredType(o),s.Properties.setDateEnded(new Date)),t()});p.a.log(c.NAME,n,"Current conversation was previously set to expired."),t()}catch(t){p.a.error(c.NAME,n,t),e()}})},d.prototype.runExpirationsSequentially=function(n){var o=this;return new Promise(function(t,e){0===n.length&&t(),n[0]().then(function(){n.shift(),o.runExpirationsSequentially(n).then(t).catch(e)}).catch(function(){e()})})},d);function d(){this.NAME="CriteriaProvider",this.criteria=c.a.getInstance()}var y=n(119),_=n(125),g=n(127),v=n(82),m="Recalc",w=n(14),C=n(88),O=n(46),A=n(105),b=n(130),E=n(135),P="Time",S=(D.prototype.start=function(t){var e=this;return this.conversation?(p.a.log(this.NAME,"start","Conversation To Process",this.conversation),this.processConversation().then(function(){e.proccessActivationFlow()})):(this.proccessActivationFlow(),this.processFakeConversation(t.Id),p.a.warn(g.a.NO_CONVO_FOUND.message),y.a.dispatch(v.a.ConversationNotFound,t),Promise.reject(g.a.NO_CONVO_FOUND))},D.prototype.expired=function(t,e){void 0===t&&(t=null),void 0===e&&(e=!0);try{var n=this.properties.getExpiredType(),o={Conversation:this.conversation,NextConversation:t?t.conversation:null,Reason:this.properties.getExpiredTypeName(),ArticleCountReset:n?n.ResetConversationViews:null};e&&this.resetViewExpirationConversation(n),y.a.dispatch(v.a.ConversationExpired,o)}catch(t){p.a.error(this.NAME,"expired",t)}},D.prototype.getActivationSettings=function(){return this.conversation&&this.conversation.ActivationForm},D.prototype.processConversation=function(){var e=this,n="processConversation";try{return p.a.log(this.NAME,n,"Starting process conversation...",this.conversation),this.campaign.setStoredCurrentConversation(this.conversation),i.a.incrementConversationCount(this.conversation),this.updatePropertyViews(i.a.getCurrentConversationViewCount()),this.getValidPaywalls().then(function(t){t=i.a.getViewPaywallInformation(t);return t&&(e.properties.setPaywallProperties(t),e.campaign.saveCurrentConversation(e.conversation)),p.a.log(e.NAME,n,"Conversation To start",e.conversation),y.a.dispatch(v.a.ConversationDetermined,e.conversation),e.getValidActions().then(function(t){return 0<t.length?(p.a.log(e.NAME,n,"ACTIONS DETERMINGED ---\x3e ",t),w.ActionModule.processActions(t)):(p.a.warn("No 'Actions' to execute."),y.a.dispatch(v.a.ActionNotFound,e.conversation.Id)),Promise.resolve()})})}catch(t){return p.a.error(this.NAME,n,t),Promise.reject("")}},D.prototype.getPaywallInformation=function(){return this.properties.getPaywallInfo()},D.prototype.getProperties=function(){return this.properties},D.prototype.setPrevExpirationSettings=function(t){var e;t&&(e=t.properties.getExpiredType(),this.prevExpirationSettings=Object(l.extend)(e,{StartDate:t.properties.getStartDate()}))},D.prototype.processFakeConversation=function(t){this.conversation=new C.a({Id:-1,Name:"...",CampaignId:-1,MeterLevelId:t}),this.campaign.setStoredCurrentConversation(this.conversation),i.a.incrementConversationCount(this.conversation)},D.prototype.proccessActivationFlow=function(){var e=this,n=this.getActivationSettings()||A.a.getActivationTemplate();n&&b.a.loadActivation().then(function(t){t&&(new t(n),p.a.log(e.NAME,"proccessActivationFlow","Proccess activation flow from conversation",e.conversation.Id,n))})},D.prototype.setDefaultConversationProperties=function(){try{var t=this.getConversationStartDate();this.properties.setStartDate(t),this.updateDateExpiration(),this.campaign.saveCurrentConversation(this.conversation)}catch(t){p.a.error(this.NAME,"setDefaultConversationProperties",t)}},D.prototype.updateDateExpiration=function(){var t=this.properties.getStartDate();t&&(t=this.getDateExpiration(t),this.properties.setDateExpiration(t))},D.prototype.getConversationStartDate=function(){var t=E.a.get(),e=i.a.getConversationStartDate(),n=this.campaign.getCurrentConversations();return this.prevExpirationSettings&&"Yes"===this.prevExpirationSettings.ShareStartDate?this.prevExpirationSettings.StartDate:!e||n&&!Object(l.isEmpty)(n)?t:e},D.prototype.getDateExpiration=function(t){var e=this.getNearestExpirationTime();if(e){this.properties.setIsExpired(!1);t=new Date(t);return t.setMilliseconds(t.getMilliseconds()+e),t}return p.a.log(this.NAME,"setDateExpiration","No expiration time set for this conversation."),null},D.prototype.getValidPaywalls=function(){var e=this,n="getValidPaywalls";try{return this.criteriaProvider.getConversationPaywallsForView(this.conversation).then(function(t){return e.processValidActions(Object(l.sortBy)(t,"Order"))}).catch(function(t){return p.a.error(e.NAME,n,t),Promise.resolve([])})}catch(t){return p.a.error(this.NAME,n,t),Promise.reject(t)}},D.prototype.getValidActions=function(){var e=this,n="getValidActions";try{return p.a.log(this.NAME,n,"Begin determine conversation actions",this.conversation.Actions),this.criteriaProvider.calculateConversationActions(this.conversation).then(function(t){return e.processValidActions(t)}).catch(function(t){return Promise.resolve([])})}catch(t){return p.a.error(this.NAME,n,t),Promise.reject(t)}},D.prototype.processValidActions=function(t){var n=this,o="processValidActions",r=[];return Object(l.each)(t,function(t,e){p.a.log(n.NAME,o,"===== ACTION PASSED =====",t),r.push(t)}),p.a.log(this.NAME,o,"End determine conversation actions",r),Promise.resolve(r)},D.prototype.updatePropertyViews=function(t){var e="updatePropertyViews";p.a.log(this.NAME,e);try{Object(l.isNumber)(t)||i.a.getCurrentConversationViewCount(),this.properties.setViews(t),this.campaign.saveCurrentConversation(this.conversation)}catch(t){p.a.error(this.NAME,e,t)}},D.prototype.getName=function(){return this.conversation.Name},D.prototype.getNearestExpirationTime=function(){if(this.conversation.ExpirationSettings){var t=Object(l.find)(Object(l.sortBy)(this.conversation.ExpirationSettings,"Value"),function(t){return t.TypeName===P});return t?t.Value:null}return null},D.prototype.resetViewExpirationConversation=function(t){t=t.ResetConversationViews;t===O.j.Current&&i.a.resetConversationView(this.conversation),t===O.j.All?i.a.resetMeterLevel():w.ActionModule.resetConversationRepeatableActions(this.conversation)},D);function D(t,e){this.NAME="Conversation",this.conversation=t?new C.a(t):null,this.properties=this.conversation?this.conversation.getProperties():new o.a(null),this.campaign=e,this.criteriaProvider=h.getInstance()}var I=n(133);function M(){this.NAME="Campaign",_.a.set(u.a.CampaignInstance,this)}n.d(e,"Campaign",function(){return j});var j=new(M.prototype.process=function(e,t){var n=this;this.meterLevel=e.Level,this.meterLevelId=e.Id,this.campaignModel=new a.a(t),this.conversations=this.campaignModel.Conversations[this.meterLevel],this.criteriaProvider=h.getInstance();var o="processCampaign";try{if(p.a.log(this.NAME,o,"Starting process campaign...",t,this.meterLevel),!this.meterLevel)throw g.a.NO_METER_LEVEL_SET;if(!t)throw g.a.NO_CAMPAIGN;return y.a.dispatch(v.a.CampaignFound,t),this.calculateCurrentConversation().then(function(t){return null===t&&(t=new S(null,n)),n.conversationType=t,_.a.set(u.a.CurrentConversation,n.conversationType),t.start(e).then(function(){return Promise.resolve(!0)}).catch(function(t){return Promise.reject(t)})})}catch(t){t.custom?p.a.warn(t.message):p.a.error(this.NAME,o,t);var r=t.message||t;return y.a.dispatch(v.a.CriticalError,r),Promise.reject(r)}},M.prototype.getName=function(){return this.campaignModel.Name},M.prototype.calculateCurrentConversation=function(){var o=this,r="calculateCurrentConversation";return new Promise(function(e,n){p.a.log(o.NAME,r,"Get conversation for a processing");try{var t=o.getStoredConversationByMeterLevel();return o.updateExpirationsSettings(t),o.convCalculation=0,t?o.criteriaProvider.isConversationValid(t.conversation).then(function(){p.a.log(o.NAME,r,"Found a stored valid conversation",t),e(t)}).catch(function(){return p.a.log(o.NAME,r,"Found a new valid conversation",t),o.getConversation(t).then(function(t){e(t)})}):o.getConversation().then(function(t){p.a.log(o.NAME,r,"Found a new conversation",t),e(t)})}catch(t){p.a.error(o.NAME,r,t),n()}})},M.prototype.getFilteredConversation=function(){var e=this,n="getFilteredConversation";return p.a.log(this.NAME,n,"Getting conversation"),this.criteriaProvider.calculateConversation(this.conversations).then(function(t){return Promise.resolve(new S(t,e))}).catch(function(t){return p.a.warn(e.NAME,n,t),Promise.resolve(null)})},M.prototype.getNextConversation=function(t){p.a.log(this.NAME,"getNextConversation","Go to conversation",t);var e=this.conversations,n=null;return e.length&&t&&(n=Object(l.find)(e,{Id:t})),new S(n,this)},M.prototype.getCurrentConversationFromStorage=function(){var t=I.a.getCurrentConversations();return t?t[this.meterLevel]:null},M.prototype.getConfigUpdateConversation=function(t,e){t=A.a.getConversation(this.meterLevel,t);return t?(t.Properties=e,t):null},M.prototype.updateExpirationsSettings=function(t){t&&t.conversation&&t.conversation.ExpirationSettings&&t.updateDateExpiration()},M.prototype.getRestoredConversationFromCookie=function(t){if(0<(t=t||i.a.getActiveConversationId())){var e=new o.a({Date:{Started:i.a.getConversationStartDate(t)}});return this.getConfigUpdateConversation(t,e)}return null},M.prototype.getStoredConversationByMeterLevel=function(){var e="getStoredConversationByMeterLevel",t=i.a.getActiveConversationId(),n=this.getCurrentConversationFromStorage();try{p.a.log(this.NAME,e,"meterLevel",this.meterLevel);var o=null;return n?o=n.Id==t?this.getConfigUpdateConversation(n.Id,n.Properties):this.getRestoredConversationFromCookie(t):0<t&&(o=this.getRestoredConversationFromCookie(t)),p.a.log(this.NAME,e,"Found stored conversations for meter level",this.meterLevel,o),o?new S(o,this):null}catch(t){return p.a.error(this.NAME,e,t),null}},M.prototype.saveCurrentConversation=function(t){var e="saveCurrentConversation";p.a.log(this.NAME,e,t.Name);try{I.a.setCurrentConversation(t);var n=I.a.getCurrentConversations()||{};n[this.meterLevel]=t,I.a.setCurrentConversations(n)}catch(t){p.a.error(this.NAME,e,t)}},M.prototype.getConversation=function(n,o){var r=this;return new Promise(function(e,t){r.getNewConversationByExpired(n).then(function(t){if(t){if(n&&n.expired(t,o),r.convCalculation++,t.conversation)return t.setPrevExpirationSettings(n),i.a.setCurrentConversation(t.conversation),t.setDefaultConversationProperties(),r.criteriaProvider.isConversationValid(t.conversation).then(function(){e(t)}).catch(function(){r.convCalculation>r.conversations.length?(p.a.warn("Exceeded the number of calculations of conversation! Please, check your conversations."),e(null)):r.getConversation(t,!1).then(function(t){e(t)})});e(t)}else e(null)})})},M.prototype.getNewConversationByExpired=function(t){if(t){var e=t.properties.getExpiredType();return e?e.NextConversationId?e.NextConversationId===m?this.getFilteredConversation():Promise.resolve(this.getNextConversation(e.NextConversationId)):void 0:Promise.resolve(null)}e=this.getRestoredConversationFromCookie();return e?Promise.resolve(new S(e,this)):this.getFilteredConversation()},M.prototype.getCurrentConversationType=function(){return this.conversationType},M.prototype.getCurrentConversation=function(){return I.a.getCurrentConversation()},M.prototype.getCurrentConversations=function(){return I.a.getCurrentConversations()},M.prototype.checkFakeCurrentConversation=function(){var t=this.getCurrentConversation();return t&&-1==t.Id},M.prototype.setStoredCurrentConversation=function(t){return I.a.setCurrentConversation(t)},M.prototype.setStoredCurrentConversations=function(t){return I.a.setCurrentConversations(t)},M.prototype.resetStorage=function(){I.a.resetStorage()},M)},function(t,D,I){(function(a){var e=Object.getOwnPropertyDescriptors||function(t){for(var e=Object.keys(t),n={},o=0;o<e.length;o++)n[e[o]]=Object.getOwnPropertyDescriptor(t,e[o]);return n},s=/%[sdj%]/g;D.format=function(t){if(!_(t)){for(var e=[],n=0;n<arguments.length;n++)e.push(c(arguments[n]));return e.join(" ")}for(var n=1,o=arguments,r=o.length,i=String(t).replace(s,function(t){if("%%"===t)return"%";if(r<=n)return t;switch(t){case"%s":return String(o[n++]);case"%d":return Number(o[n++]);case"%j":try{return JSON.stringify(o[n++])}catch(t){return"[Circular]"}default:return t}}),a=o[n];n<r;a=o[++n])d(a)||!m(a)?i+=" "+a:i+=" "+c(a);return i},D.deprecate=function(t,e){if(void 0!==a&&!0===a.noDeprecation)return t;if(void 0===a)return function(){return D.deprecate(t,e).apply(this,arguments)};var n=!1;return function(){if(!n){if(a.throwDeprecation)throw new Error(e);a.traceDeprecation?console.trace(e):console.error(e),n=!0}return t.apply(this,arguments)}};var t,o={};function c(t,e){var n={seen:[],stylize:i};return 3<=arguments.length&&(n.depth=arguments[2]),4<=arguments.length&&(n.colors=arguments[3]),h(e)?n.showHidden=e:e&&D._extend(n,e),g(n.showHidden)&&(n.showHidden=!1),g(n.depth)&&(n.depth=2),g(n.colors)&&(n.colors=!1),g(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=r),u(n,t,n.depth)}function r(t,e){e=c.styles[e];return e?"["+c.colors[e][0]+"m"+t+"["+c.colors[e][1]+"m":t}function i(t,e){return t}function u(e,n,o){if(e.customInspect&&n&&O(n.inspect)&&n.inspect!==D.inspect&&(!n.constructor||n.constructor.prototype!==n)){var t=n.inspect(o,e);return _(t)||(t=u(e,t,o)),t}var r=function(t,e){if(g(e))return t.stylize("undefined","undefined");if(_(e)){var n="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(n,"string")}if(y(e))return t.stylize(""+e,"number");if(h(e))return t.stylize(""+e,"boolean");if(d(e))return t.stylize("null","null")}(e,n);if(r)return r;var i,t=Object.keys(n),a=(i={},t.forEach(function(t,e){i[t]=!0}),i);if(e.showHidden&&(t=Object.getOwnPropertyNames(n)),C(n)&&(0<=t.indexOf("message")||0<=t.indexOf("description")))return p(n);if(0===t.length){if(O(n)){var s=n.name?": "+n.name:"";return e.stylize("[Function"+s+"]","special")}if(v(n))return e.stylize(RegExp.prototype.toString.call(n),"regexp");if(w(n))return e.stylize(Date.prototype.toString.call(n),"date");if(C(n))return p(n)}var r="",c=!1,s=["{","}"];return f(n)&&(c=!0,s=["[","]"]),O(n)&&(r=" [Function"+(n.name?": "+n.name:"")+"]"),v(n)&&(r=" "+RegExp.prototype.toString.call(n)),w(n)&&(r=" "+Date.prototype.toUTCString.call(n)),C(n)&&(r=" "+p(n)),0!==t.length||c&&0!=n.length?o<0?v(n)?e.stylize(RegExp.prototype.toString.call(n),"regexp"):e.stylize("[Object]","special"):(e.seen.push(n),t=c?function(e,n,o,r,t){for(var i=[],a=0,s=n.length;a<s;++a)E(n,String(a))?i.push(l(e,n,o,r,String(a),!0)):i.push("");return t.forEach(function(t){t.match(/^\d+$/)||i.push(l(e,n,o,r,t,!0))}),i}(e,n,o,a,t):t.map(function(t){return l(e,n,o,a,t,c)}),e.seen.pop(),function(t,e,n){if(60<t.reduce(function(t,e){return 0<=e.indexOf("\n")&&0,t+e.replace(/\u001b\[\d\d?m/g,"").length+1},0))return n[0]+(""===e?"":e+"\n ")+" "+t.join(",\n  ")+" "+n[1];return n[0]+e+" "+t.join(", ")+" "+n[1]}(t,r,s)):s[0]+r+s[1]}function p(t){return"["+Error.prototype.toString.call(t)+"]"}function l(t,e,n,o,r,i){var a,s,e=Object.getOwnPropertyDescriptor(e,r)||{value:e[r]};if(e.get?s=e.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):e.set&&(s=t.stylize("[Setter]","special")),E(o,r)||(a="["+r+"]"),s||(t.seen.indexOf(e.value)<0?-1<(s=d(n)?u(t,e.value,null):u(t,e.value,n-1)).indexOf("\n")&&(s=i?s.split("\n").map(function(t){return"  "+t}).join("\n").substr(2):"\n"+s.split("\n").map(function(t){return"   "+t}).join("\n")):s=t.stylize("[Circular]","special")),g(a)){if(i&&r.match(/^\d+$/))return s;a=(a=JSON.stringify(""+r)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),t.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),t.stylize(a,"string"))}return a+": "+s}function f(t){return Array.isArray(t)}function h(t){return"boolean"==typeof t}function d(t){return null===t}function y(t){return"number"==typeof t}function _(t){return"string"==typeof t}function g(t){return void 0===t}function v(t){return m(t)&&"[object RegExp]"===n(t)}function m(t){return"object"==typeof t&&null!==t}function w(t){return m(t)&&"[object Date]"===n(t)}function C(t){return m(t)&&("[object Error]"===n(t)||t instanceof Error)}function O(t){return"function"==typeof t}function n(t){return Object.prototype.toString.call(t)}function A(t){return t<10?"0"+t.toString(10):t.toString(10)}D.debuglog=function(e){var n;return g(t)&&(t=Object({NODE_ENV:"production"}).NODE_DEBUG||""),e=e.toUpperCase(),o[e]||(new RegExp("\\b"+e+"\\b","i").test(t)?(n=a.pid,o[e]=function(){var t=D.format.apply(D,arguments);console.error("%s %d: %s",e,n,t)}):o[e]=function(){}),o[e]},(D.inspect=c).colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},c.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},D.isArray=f,D.isBoolean=h,D.isNull=d,D.isNullOrUndefined=function(t){return null==t},D.isNumber=y,D.isString=_,D.isSymbol=function(t){return"symbol"==typeof t},D.isUndefined=g,D.isRegExp=v,D.isObject=m,D.isDate=w,D.isError=C,D.isFunction=O,D.isPrimitive=function(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t},D.isBuffer=I(95);var b=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function E(t,e){return Object.prototype.hasOwnProperty.call(t,e)}D.log=function(){var t,e;console.log("%s - %s",(t=new Date,e=[A(t.getHours()),A(t.getMinutes()),A(t.getSeconds())].join(":"),[t.getDate(),b[t.getMonth()],e].join(" ")),D.format.apply(D,arguments))},D.inherits=I(96),D._extend=function(t,e){if(!e||!m(e))return t;for(var n=Object.keys(e),o=n.length;o--;)t[n[o]]=e[n[o]];return t};var P="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function S(t,e){var n;return t||((n=new Error("Promise was rejected with a falsy value")).reason=t,t=n),e(t)}D.promisify=function(i){if("function"!=typeof i)throw new TypeError('The "original" argument must be of type Function');if(P&&i[P]){var t;if("function"!=typeof(t=i[P]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,P,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var n,o,t=new Promise(function(t,e){n=t,o=e}),e=[],r=0;r<arguments.length;r++)e.push(arguments[r]);e.push(function(t,e){t?o(t):n(e)});try{i.apply(this,e)}catch(t){o(t)}return t}return Object.setPrototypeOf(t,Object.getPrototypeOf(i)),P&&Object.defineProperty(t,P,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,e(i))},D.promisify.custom=P,D.callbackify=function(i){if("function"!=typeof i)throw new TypeError('The "original" argument must be of type Function');function t(){for(var t=[],e=0;e<arguments.length;e++)t.push(arguments[e]);var n=t.pop();if("function"!=typeof n)throw new TypeError("The last argument must be of type Function");function o(){return n.apply(r,arguments)}var r=this;i.apply(this,t).then(function(t){a.nextTick(o,null,t)},function(t){a.nextTick(S,t,o)})}return Object.setPrototypeOf(t,Object.getPrototypeOf(i)),Object.defineProperties(t,e(i)),t}}).call(this,I(94))},function(t,e,n){"use strict";n.d(e,"a",function(){return o});var o={SCROLLBAR_MEASURER:"modal-scrollbar-measure",BACKDROP:"connext-modal-backdrop",OPEN:"modal-open",FADE:"fade",IN:"in",SHOW:"show"}},function(t,e,n){"use strict";n.d(e,"a",function(){return o});var o,r=n(7);(o||(o={})).getOperator=function(t){switch(t){case"==":case"=":case"Equal":case"Equals":return r.a.Equal;case"!=":case"Not Equal":case"Not Equals":return r.a.NotEqual;case">":case"More Than":return r.a.GreaterThan;case"<":case"Less Than":return r.a.LessThan;case">=":case"More Or Equal Than":case"More Than Or Equals To":case"More Than Or Equals To":return r.a.GreaterThanEqual;case"<=":case"Less Or Equal Than":case"Less Than Or Equals To":return r.a.LessThanEqual;case"In":return r.a.In;case"Not In":case"Out":return r.a.NotIn;case"Yes":return!0;case"No":return!1;case"Contains":return r.a.Contains;case"Does Not Contain":return r.a.DoesNotContain;case"Start With":return r.a.StartWith;case"End With":return r.a.EndWith;case"Intersect":return r.a.Intersect;case"Does Not Intersect":return r.a.DoesNotIntersect}}},function(t,e,n){"use strict";n.r(e),n.d(e,"LikeButtons",function(){return i});var o=n(32);function r(){}var i=new(r.prototype.add=function(t,e){(new o.LikeButtonFactory).create(t,e)},r)},function(t,e,n){"use strict";n.r(e),n.d(e,"LikeButtonFactory",function(){return s});var o,r,i=n(36),e=n(16),a=n(46),n=(o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),s=(r=e.a,n(c,r),c.prototype.create=function(t,e){if(e=e||a.m.Facebook,e===a.m.Facebook)return new i.Facebook(t)},c);function c(){return r.call(this)||this}},function(t,e,n){"use strict";n.r(e),n.d(e,"LikeButton",function(){return o});var o=function(t){this.element=t}},,function(t,e,n){"use strict";n.d(e,"a",function(){return r});var o=n(0),r=(i.prototype.updateAuthProfileData=function(t){this.UserId=t.UserId,this.FullName=t.FullName||this.FullName,this.AuthProfile=t.AuthSystemData,this.Email=t.Email||this.Email},i.prototype.getFullName=function(){if(this.Subscriptions){var t=this.Subscriptions[0];return t.FirstName+" "+t.LastName||"User"}return"User"},i.prototype.setAuthSystemInfo=function(t,e){this.AuthSystemId=t,this.AuthSystem=e},i.prototype.getSubscriptions=function(t){var e=[];if(t.Subscriptions)for(var n in t.Subscriptions)t.Subscriptions[n]&&(e=Object(o.flatten)([e,t.Subscriptions[n]]));return e.length?e:null},i);function i(t){void 0===t&&(t={}),this.CustomerRegistrationId=t.CustomerRegistrationId||null,this.UserId=t.UserId||null,this.FullName=t.FullName||this.getFullName(),this.MasterId=t.MasterId||null,this.IgmRegID=t.IgmRegID||null,this.IgmContent=t.IgmContent||null,this.IgmAuth=t.IgmAuth||null,this.NzwRegId=t.NzwRegId||null,this.NzwToken=t.NzwToken||null,this.NzwLid=t.NzwLid||null,this.Subscriptions=this.getSubscriptions(t),this.DigitalAccess=t.DigitalAccess||null,this.DisplayName=t.DisplayName||t.name||t.nickname||"",this.AuthSystem=t.AuthSystem||"",this.AuthSystemId=t.AuthSystemId||"",this.UserState=t.UserState||"",this.ZipCodes=t.ZipCodes||null,this.Email=t.Email||"",this.AuthProfile=t.AuthSystemData||null}},function(t,e,n){"use strict";n.r(e),n.d(e,"Facebook",function(){return a});var o,r,e=n(33),i=n(11),n=(o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),a=(r=e.LikeButton,n(s,r),s.prototype.init=function(){var t,e,n;i.a.queryElement("#fb-root")||i.a.prepend(i.a.queryElement("body"),'<div id="fb-root"></div>'),this.updateFacebookMetaData(),t=document,e="facebook-jssdk",n=t.getElementsByTagName("script")[0],t.getElementById(e)||((t=t.createElement("script")).id=e,t.src="https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v3.0",n.parentNode.insertBefore(t,n))},s.prototype.updateFacebookMetaData=function(){[{Name:"og:url",DefaultValue:window.location.href},{Name:"og:type",DefaultValue:"article"},{Name:"og:title",DefaultValue:document.title||""},{Name:"og:description",DefaultValue:document.head.querySelector("[property=description]")?document.head.querySelector("[property=description]").content:""}].forEach(function(t){var e=i.a.find('[property="'+t.Name+'"]',document.documentElement)[0];e&&i.a.attr(e,"content")||(i.a.remove(e),(e=document.createElement("meta")).name=t.Name,e.content=t.DefaultValue,document.head.appendChild(e))})},s);function s(t){var e=r.call(this,t)||this,t=i.a.find(".fb-like",e.element);return t&&t.length&&(i.a.attr(t[0],{"data-href":window.location.href}),e.init()),e}},,,,,function(t,e,n){"use strict";var o,r,i=n(130),a=n(16),s=(o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),c=(r=a.a,s(u,r),u.create=function(t){return i.a.loadAuthModule(t).then(function(t){return new t})},u);function u(){return r.call(this)||this}var p=n(13),l=n(46),f=n(119),h=n(145),d=n(23);function y(){}n.d(e,"a",function(){return _});var _=new(y.prototype.createAuthSystem=function(t){var e=this;return c.create(t).then(function(t){return e.authSystem=t,e.setAuthListeners(),e.authSystem})},y.prototype.defineUserData=function(t){var e=this;return this.createAuthSystem(t).then(function(){return Promise.resolve(e.authSystem.HasActiveSession()).then(function(t){return t?e.authSystem.getAuthProfile().then(function(t){return e.setActualUserData(t)}).catch(function(t){return e.setUserDataOnError(t)}):void e.setDefaultUserData()}).catch(function(t){return e.setUserDataOnError(t)})})},y.prototype.login=function(t,e,n){var o=this;return this.authSystem.login(t,e,n).then(function(t){return p.a.updateUserDataWithoutAccessEvent(t),o.authSystem.successLogin(),Promise.resolve(t)}).catch(function(t){return o.authSystem.failLogin(t),Promise.reject(t)})},y.prototype.syncUser=function(t){return this.authSystem.syncUser(t)},y.prototype.createUser=function(t,e){return p.a.createUser(t,e)},y.prototype.showLoginForm=function(){this.authSystem&&"function"==typeof this.authSystem.showLoginForm&&!p.a.isLogin()&&this.authSystem.showLoginForm()},y.prototype.showRegisterForm=function(t){this.authSystem&&"function"==typeof this.authSystem.showRegisterForm&&this.authSystem.showRegisterForm(t)},y.prototype.logout=function(){this.authSystem&&"function"==typeof this.authSystem.logout&&(this.clearStorage(),this.authSystem.logout(),f.a.dispatch(l.g.ApplicationReload,l.k.Logout))},y.prototype.processLinks=function(t){this.authSystem&&"function"==typeof this.authSystem.processLinks&&this.authSystem.processLinks(t)},y.prototype.sendForgotPasswordRequest=function(t,e){return this.authSystem.sendForgotPasswordRequest(t,e)},y.prototype.useMg2LoginTemplate=function(){return this.authSystem.useMg2LoginTemplate()},y.prototype.hasPartialMg2AuthCookies=function(){return this.authSystem&&this.authSystem.hasPartialMg2AuthCookies()},y.prototype.updateCurrentUser=function(){var e=this;return this.authSystem.getAuthProfile().then(function(t){return e.updateUserData(t)}).catch(function(t){return e.setUserDataOnError(t)})},y.prototype.setAuthListeners=function(){this.authSystem.setAuthEventsListeners()},y.prototype.clearStorage=function(){this.authSystem.clearStorage(),p.a.clearStorage(),d.a.clearStorage()},y.prototype.setActualUserData=function(t){return p.a.isActualCachedUserData(t.UserId)?(p.a.updateCachedUserData(t),Promise.resolve(p.a.getCachedUserData())):this.updateUserData(t)},y.prototype.updateUserData=function(n){var o=this;return this.authSystem.getUserData(n).then(function(t){var e=o.authSystem.createUserDataFrom(n,t);return p.a.updateUserData(e),Promise.resolve(t)}).catch(function(t){return o.setUserDataOnError(t)})},y.prototype.setDefaultUserData=function(){this.clearStorage();var t=this.authSystem.getDefaultUserData();p.a.updateUserData(t),h.a.log(this.constructor.name,"setDefaultUserData",t)},y.prototype.setUserDataOnError=function(t){return h.a.log(this.constructor.name,"setUserDataOnError","error",t),this.setDefaultUserData(),Promise.resolve(p.a.getUserData())},y)},function(t,e,n){"use strict";n.d(e,"a",function(){return c});var o,r,i=n(81),a=n(145),e=n(50),n=(o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});function s(){var t=r.call(this)||this;return t.localStorage=new i.a,t}var c=new(r=e.a,n(s,r),s.prototype.get=function(t,e,n){void 0===e&&(e=!0),void 0===n&&(n=!0);var o=t;return e&&(o=this.expandKey(t)),this.localStorage.get(o,n)},s.prototype.set=function(t,e,n,o){void 0===n&&(n=!0),void 0===o&&(o=!0);var r=!1;try{var i=t;n&&(i=this.expandKey(t)),r=this.localStorage.set(i,e,o)}catch(t){r=!1,a.a.error("LocalStorageService","setKey",t)}finally{return r}},s.prototype.delete=function(t,e){void 0===e&&(e=!0);var n=t;e&&(n=this.expandKey(t)),this.localStorage.delete(n)},s.prototype.clear=function(){this.localStorage.clear()},s)},function(t,e,n){"use strict";n.d(e,"b",function(){return r}),n.d(e,"e",function(){return o}),n.d(e,"f",function(){return s}),n.d(e,"g",function(){return c}),n.d(e,"a",function(){return u}),n.d(e,"d",function(){return i}),n.d(e,"c",function(){return a});var o,e=n(82),r="Default";(n=o=o||{})[n.Usual=0]="Usual",n[n.Encrypted=1]="Encrypted";var i,a,s={Required:"required",Email:"email",Equals:"equals",password:"password",MaxLength:"maxLength",Pattern:"pattern",Password:"password",PhonePart:"phonepart"},c={Conversation:"Conversation",Meter:"Meter"},u=[e.a.Init,e.a.Run,e.a.Finish,e.a.MeterLevelSet,e.a.ConversationDetermined,e.a.ConversationExpired,e.a.AdblockFound,e.a.NotAuthorized,e.a.LoggedIn,e.a.ActionShow,e.a.ActionClosed,e.a.ButtonClick,e.a.NewsdayButtonClick,e.a.PaywallShown,e.a.FlittzPaywallShown,e.a.FlittzPaywallClosed,e.a.FlittzButtonClick,e.a.LoginShown,e.a.LoginClosed,e.a.LoginSuccess,e.a.LoginError,e.a.ActivationFormShown,e.a.ActivationLoginStepShown,e.a.ActivationLoginStepClosed,e.a.ActivationLinkStepShown,e.a.ActivationLinkStepClosed,e.a.ActivationLinkStepSubmitted,e.a.ActivationLinkSuccessStepShown,e.a.ActivationLinkSuccessStepClosed,e.a.ActivationLinkErrorStepShown,e.a.ActivationLinkErrorStepClosed,e.a.ActivationFormClosed,e.a.AccessTemplateShown,e.a.AccessTemplateClosed,e.a.AccessGranted,e.a.AccessDenied,e.a.LoadError,e.a.CriticalError,e.a.NewsletterArrival,e.a.ViewsAutoReset,e.a.ActionNotFound,e.a.ConversationNotFound,e.a.NewsletterArrival,e.a.NewsletterSignUp,e.a.NewsletterSignUpFails,e.a.ActivationAccountCreated,e.a.ChangedDeviceId,e.a.NxtError];(e=i=i||{}).Trim="trim",e.Blur="blur",e.Fade="fade",e.FadeAndTrim="fadeTrim",(e=a=a||{}).AllowedCharacters="allowedCharacters",e.ContainerHeight="containerHeight",(e={}).Step="data-nxt-template-step",e.SubStep="data-nxt-template-substep"},,function(t,e,n){"use strict";var o,i=n(25),r=n(145);function a(){window.DeviceDetector?this.deviceDetector=window.DeviceDetector:(r.a.warn("DeviceDetector lib is not init, use connext version"),this.deviceDetector={UA:window.navigator.userAgent,Device:{browser:{name:o.userAgent.getBrowser(),isFirefox:function(){return o.userAgent.getBrowser()==o.BrowserTypes.Firefox},isChrome:function(){return o.userAgent.getBrowser()==o.BrowserTypes.Chrome},isIE:function(){return o.userAgent.getBrowser()==o.BrowserTypes.IE},isEdge:function(){return o.userAgent.getBrowser()==o.BrowserTypes.Edge},isSafari:function(){return o.userAgent.getBrowser()==o.BrowserTypes.Safari}},platform:{type:o.userAgent.getDeviceType(),isDesktop:function(){return o.userAgent.desktop()},isMobile:function(){return o.userAgent.mobile()},isTablet:function(){return o.userAgent.tablet()}},os:{name:o.userAgent.getOS(),isIOS:function(){o.userAgent.isIOS()}}},Browsers:[],OsList:[],Platforms:[]})}!function(t){var e,n;t.DeviceTypes={Desktop:"Desktop",Mobile:"Mobile",Tablet:"Tablet",Default:"Default"},(o=e=t.OSTypes||(t.OSTypes={})).IOS="IOS",o.windows="windows",o.android="android",o.blackberry="blackberry",o.fxos="fxos",(o=n=t.BrowserTypes||(t.BrowserTypes={})).Opera="Opera",o.Edge="Edge",o.Chrome="Chrome",o.Safari="Safari",o.Firefox="Firefox",o.IE="IE",o.unknown="unknown";var o=(r.prototype.getDeviceType=function(){return this.mobile()?t.DeviceTypes.Mobile:this.tablet()?t.DeviceTypes.Tablet:this.desktop()?t.DeviceTypes.Desktop:void 0},r.prototype.getOS=function(){return this.ios()?e.IOS:this.windows()?e.windows:this.android()?e.android:this.blackberry()?e.blackberry:this.fxos()?e.fxos:void 0},r.prototype.getBrowser=function(){return-1!==(navigator.userAgent.indexOf("Opera")||navigator.userAgent.indexOf("OPR"))?n.Opera:-1!==navigator.userAgent.indexOf("Edge")?n.Edge:-1!==navigator.userAgent.indexOf("Chrome")?n.Chrome:-1!==navigator.userAgent.indexOf("Safari")?n.Safari:-1!==navigator.userAgent.indexOf("Firefox")?n.Firefox:-1!==navigator.userAgent.indexOf("MSIE")||!0==!!document.documentMode?n.IE:n.unknown},r.prototype.getUserMeta=function(){return{Browser:this.getBrowser(),OS:this.getOS(),deviceType:this.getDeviceType(),URL:Object(i.i)()}},r.prototype.find=function(t){return-1!==this.userAgent.indexOf(t)},r.prototype.ios=function(){return this.iphone()||this.ipod()||this.ipad()},r.prototype.iphone=function(){return!this.windows()&&this.find("iphone")},r.prototype.ipod=function(){return this.find("ipod")},r.prototype.ipad=function(){return this.find("ipad")},r.prototype.android=function(){return!this.windows()&&this.find("android")},r.prototype.androidPhone=function(){return this.android()&&this.find("mobile")},r.prototype.androidTablet=function(){return this.android()&&!this.find("mobile")},r.prototype.blackberry=function(){return this.find("blackberry")||this.find("bb10")||this.find("rim")},r.prototype.blackberryPhone=function(){return this.blackberry()&&!this.find("tablet")},r.prototype.blackberryTablet=function(){return this.blackberry()&&this.find("tablet")},r.prototype.windows=function(){return this.find("windows")},r.prototype.windowsPhone=function(){return this.windows()&&this.find("phone")},r.prototype.windowsTablet=function(){return this.windows()&&this.find("touch")&&!this.windowsPhone()},r.prototype.fxos=function(){return(this.find("(mobile;")||this.find("(tablet;"))&&this.find("; rv:")},r.prototype.fxosPhone=function(){return this.fxos()&&this.find("mobile")},r.prototype.fxosTablet=function(){return this.fxos()&&this.find("tablet")},r.prototype.meego=function(){return this.find("meego")},r.prototype.cordova=function(){return window.cordova&&"file:"===location.protocol},r.prototype.nodeWebkit=function(){return"object"==typeof window.process},r.prototype.mobile=function(){return this.androidPhone()||this.iphone()||this.ipod()||this.windowsPhone()||this.blackberryPhone()||this.fxosPhone()||this.meego()},r.prototype.tablet=function(){return this.ipad()||this.androidTablet()||this.blackberryTablet()||this.windowsTablet()||this.fxosTablet()},r.prototype.desktop=function(){return!this.tablet()&&!this.mobile()},r.prototype.isIOS=function(){return this.getOS()===e.IOS},r);function r(){this.userAgent=window.navigator.userAgent.toLowerCase()}t.userAgent=new o}(o=o||{}),n.d(e,"a",function(){return s});var s=new(a.prototype.getDeviceType=function(){return this.deviceDetector.Device.platform.type},a.prototype.getOS=function(){var t=this.deviceDetector.Device,e=t.os.version||"";return t.os.name+e},a.prototype.getBrowser=function(){return this.isDetectBrowser()?this.deviceDetector.Device.browser.name:""},a.prototype.isChrome=function(){return!!this.isDetectBrowser()&&this.deviceDetector.Device.browser.isChrome()},a.prototype.isFirefox=function(){return!!this.isDetectBrowser()&&this.deviceDetector.Device.browser.isFirefox()},a.prototype.isIE=function(){return!!this.isDetectBrowser()&&this.deviceDetector.Device.browser.isIE()},a.prototype.isEdge=function(){return!!this.isDetectBrowser()&&this.deviceDetector.Device.browser.isEdge()},a.prototype.isSafari=function(){return!!this.isDetectBrowser()&&this.deviceDetector.Device.browser.isSafari()},a.prototype.isIOS=function(){return!!this.isDetectOS()&&this.deviceDetector.Device.os.isIOS()},a.prototype.isDetectOS=function(){return!(!this.deviceDetector.Device.os||!this.deviceDetector.Device.os.name)},a.prototype.isDetectBrowser=function(){return!(!this.deviceDetector.Device.browser||!this.deviceDetector.Device.browser.name)},a.prototype.isDesktop=function(){return this.deviceDetector.Device.platform.isDesktop()},a.prototype.isMobile=function(){return this.deviceDetector.Device.platform.isMobile()},a.prototype.isTablet=function(){return this.deviceDetector.Device.platform.isTablet()},a.prototype.getBrowserVersion=function(){if(!this.isDetectBrowser())return null;var t,e=navigator.userAgent,n=e.match(/(opera|chrome|safari|firefox|version|msie|trident(?=\/))\/?\s*(\d+)/i)||[];return/trident/i.test(n[1])?(t=/\brv[ :]+(\d+)/g.exec(e)||[])[1]:"Chrome"===n[1]&&null!=(t=e.match(/\b(OPR|Edge)\/(\d+)/))?t.slice(1).join(" ").replace("OPR","Opera"):n[2]||null},a.prototype.getUserMeta=function(){return{Browser:this.getBrowser(),OS:this.getOS(),deviceType:this.getDeviceType(),URL:Object(i.i)()}},a)},function(t,e,n){"use strict";n.d(e,"c",function(){return i}),n.d(e,"i",function(){return a}),n.d(e,"e",function(){return o}),n.d(e,"h",function(){return r}),n.d(e,"d",function(){return c}),n.d(e,"o",function(){return u}),n.d(e,"a",function(){return s}),n.d(e,"b",function(){return f}),n.d(e,"k",function(){return h}),n.d(e,"g",function(){return d}),n.d(e,"l",function(){return p}),n.d(e,"m",function(){return l}),n.d(e,"p",function(){return _}),n.d(e,"j",function(){return y}),n.d(e,"f",function(){return g}),n.d(e,"n",function(){return v});var o,r,i="MMM Do, YYYY",a="notclosablepaywall";(e=o=o||{}).localhost="localhost",e.dev="dev",e.test="test",e.test20="test20",e.demo="demo",e.stage="stage",e.preprod="preprod",e.prod="prod",(e=r=r||{})[e.Free=1]="Free",e[e.Metered=2]="Metered",e[e.Premium=3]="Premium";var s,c={Premium:"PREMIUM",Upgrade:"UPGRADE",Purchase:"PURCHASE"},u={NotLoggedIn:"Logged Out",LoggedIn:"Logged In",NoActiveSubscription:"No Active Subscription",SubscribedNotEntitled:"Subscribed Not Entitled",Subscribed:"Subscribed"};(e=s=s||{})[e.MG2=1]="MG2",e[e.Janrain=2]="Janrain",e[e.Auth0=4]="Auth0",e[e.Custom=5]="Custom",e[e.Newzware=6]="Newzware",e[e.Janrain_custom=7]="Janrain_custom";var p,l,f={CloseButton:"closeButton",CloseSpan:"closeSpan",ClickOutside:"clickOutside",EscButton:"escButton",MoveToActivate:"moveToLinkStep",MoveToSuccess:"moveToSuccessStep",MoveToFail:"moveToErrorStep",AccessGranted:"accessGranted"},h={ActivationSuccess:"Activation success",ActivationFail:"Activation fail",RepeatedInit:"Repeated init",RunSettingsPromise:"Run settings promise",RunSettingsTimeout:"Run settings timeout",Login:"User login",Logout:"User logout",Init:"Default init flow"},d={ApplicationReload:"Connext::Application.reload",ApplicationReInit:"Connext::Application.reinit",ChangedUserProfile:"Connext::UserProfile.changed",ChangedUserData:"Connext::UserData.changed",TemplateShown:"Connext::Template.shown",TemplateClosed:"Connext::Template.closed",ActivationLogin:"Connext::Activation.login",ActivationRegister:"Connext::Activation.register",ActivationActivate:"Connext::Activation.activate",DeviceDetectorFail:"Connext::DeviceDetector.fail"};(e=p=p||{}).Banner="mg2bn",e.Modal="modal",e.InfoBox="info-box",e.Inline="inline",(e=l=l||{})[e.Facebook=0]="Facebook",(e={}).APICall="APICall",e.LoadConnext="LoadConnext";var y,_={ArticleCount:"ac",DeviceArticleCount:"ac_d",StartDate:"s",ActiveConvoId:"_acnv",MeterView:"_ac",DeviceMeterView:"_ac_d",ActionRepeatAfter:"rpt",ActionCount:"rtpc"};(e=y=y||{}).No="No",e.Current="Current",e.All="All";var g="9999-01-01",v="unknown";(e={}).HideLoggedIn="hideloggedin",e.HideLoggedOut="hideloggedout",e.HideEntitled="hideentitled"},function(t,e,n){"use strict";n.d(e,"a",function(){return o});var o={Banner:"Banner",Modal:"Modal",Paywall:"Paywall",Inline:"Inline",SmallInfoBox:"SmallInfoBox",JSCall:"JSCall",Newsletter:"Newsletter",Messaging:"Messaging",ReadMore:"ReadMore"}},function(t,e,n){"use strict";n.d(e,"a",function(){return a});var o=n(29),r=n(11);function i(){}var a=new(i.prototype.updateUnderElement=function(t){document.documentElement.clientHeight<t.clientHeight?(r.a.addClass(document.body,"page-overflow"),r.a.addClass(t,"modal-overflow"),this.isNeedHorizontalScrollbar()&&this.setHorizontalScroll()):(r.a.removeClass(document.body,"page-overflow"),r.a.removeClass(t,"modal-overflow"))},i.prototype.saveOriginalRightPadding=function(){var t=window.getComputedStyle(document.body).getPropertyValue("padding-right")||0;this.originalBodyPadding=parseInt(t+"",10)},i.prototype.resetHorizontalScrollbar=function(){document.body.style.paddingRight=this.originalBodyPadding+"px"},i.prototype.isNeedHorizontalScrollbar=function(){return document.body.clientWidth>window.innerWidth},i.prototype.setHorizontalScroll=function(){document&&(document.body.style.paddingRight=this.originalBodyPadding+this.getScrollbarWidth()+"px")},i.prototype.getScrollbarWidth=function(){var t=document.createElement("div");r.a.addClass(t,o.a.SCROLLBAR_MEASURER),document.body.appendChild(t);var e=t.offsetWidth-t.clientWidth;return document.body.removeChild(t),e},i)},function(t,e,n){"use strict";n.d(e,"a",function(){return o});var o={AdBlock:"AdBlock",ConversationView:"ConversationView",SubscriptionExpireDate:"SubscriptionExpireDate",EzPay:"EzPay",FlittzUserStatus:"FlittzUserStatus",Geo:"Geo",HiddenField:"HiddenField",IncognitoMode:"IncognitoMode",Javascript:"Javascript",MetaKeyword:"MetaKeyword",MeterView:"MeterView",Promise:"Promise",DeviceType:"DeviceType",Subdomain:"Subdomain",UrlParam:"UrlParam",UrlMask:"UrlMask",UserState:"UserState",ArticleAge:"ArticleAge",IsNewVisitor:"IsNewVisitor"}},function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n(125),i=n(126),o=(a.prototype.expandKey=function(t){var e=r.a.get(i.a.AppOptions),n=e.get(i.a.SiteCode),o=e.get(i.a.ConfigCode);return n&&o?[t,n.toUpperCase(),o.toUpperCase(),e.get(i.a.Environment).toUpperCase()].join("_"):""},a);function a(){}},function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n(11);function o(){}var i=new(o.prototype.getLastVisibleElement=function(t,e){if(this.hasChildrenElement(t)&&this.checkElement(t,e)){for(var n=t.children.length-1;0<=n;n--){var o=t.children[n];if(this.checkElement(o,e))return this.getLastVisibleElement(o,e)}return t}return t},o.prototype.checkElement=function(t,e){return!!r.a.isVisible(t)&&!(e&&e.classesExcludeElement&&this.hasExcludeClasses(t,e.classesExcludeElement))},o.prototype.hasChildrenElement=function(t){return t.children&&0<t.children.length},o.prototype.hasExcludeClasses=function(t,e){if(!e||e&&0===e.length)return!1;for(var n=e.length,o=0;o<n;o++)if(r.a.hasClass(t,e[o]))return!0;return!1},o.prototype.getPrevLastElement=function(t){var e=t.children.length;return 1===e?t:t.children[e-2]},o)},function(t,e,n){"use strict";n.d(e,"a",function(){return o});var o=function(t){t&&(this.TypeName=t.TypeName,this.NextConversationId=t.NextConversationId,this.ResetConversationViews=t.ResetConversationViews,this.EvaluatedObject=t.EvaluatedObject,this.Qualifier=t.Qualifier,this.Value=t.Value,this.Delimiter=t.Delimiter,this.ShareStartDate=t.ShareStartDate,this.Order=t.Order)}},function(t,e,n){"use strict";n.d(e,"a",function(){return o});var o=function(t){t&&(this.TypeName=t.TypeName,this.EvaluatedObject=t.EvaluatedObject,this.Qualifier=t.Qualifier,this.Value=t.Value,this.Delimiter=t.Delimiter,this.Options=t.Options,this.Format=t.Format)}},function(t,e,n){"use strict";n.d(e,"a",function(){return c});var o=n(81),r=n(119),i=n(82),a=n(145),s=n(2),c=(u.getInstance=function(){return u.instance||(u.instance=new u),u.instance},u.prototype.init=function(t){var e=this;return void 0===t&&(t=!0),this.load().then(function(){return Promise.resolve(e.detectAdBlock(t))}).catch(function(){return Promise.resolve(!0)})},u.prototype.load=function(){return this.firstLoad||(this.loadADElement(),this.firstLoad=Promise.all([this.loadADImg(),this.loadADScript()])),this.firstLoad},u.prototype.detectProcess=function(){var e=this;this.init(!1).always(function(t){t?(e.localStorage.set(s.e.AdblockLastDetect,!1),r.a.dispatch(i.a.AdblockFound,null)):setTimeout(function(){var t=e.detectAdBlock(!1);e.localStorage.set(s.e.AdblockLastDetect,t),t&&r.a.dispatch(i.a.AdblockFound,null)},2500)})},u.prototype.loadADElement=function(){a.a.log(this.NAME,"loadADElement","Load html element for checking AD Blocker");var t=document.createElement("div");t.innerHTML="&nbsp;",t.className="adsbox adBanner",t.id="TestAdBlock",t.style.position="absolute",t.style.bottom="0px",t.style.zIndex="-1",document.body.appendChild(t)},u.prototype.loadADImg=function(){var o=this;return new Promise(function(t,e){a.a.log(o.NAME,"loadADImg","Load IMG for checking AD Blocker");var n=document.createElement("IMG");n.id="06db9294",n.style.width="100px",n.style.height="100px",n.style.top="-1000px",n.style.left="-1000px",n.style.position="absolute",(n=document.body.appendChild(n)).src="//paywall-ad-bucket.s3.amazonaws.com/ad_300_250.jpg",n.onload=function(){t()},n.onerror=function(){e("")}})},u.prototype.loadADScript=function(){var o=this;return new Promise(function(t,e){a.a.log(o.NAME,"loadADScript","Load script for checking AD Blocker");var n=document.createElement("SCRIPT");n.id="295f89b1",n.type="text/javascript",n.onload=function(){n.className="adstestloaded",t()},n.onerror=function(){e("")},document.getElementsByTagName("head")[0].appendChild(n),n.src="//cdn.czx5eyk0exbhwp43ya.biz/index.js"})},u.prototype.detectAdBlock=function(t){var e=!1;return 0===document.getElementById("TestAdBlock").offsetHeight&&(e=!0),0===document.getElementById("06db9294").offsetHeight&&(e=!0),"adstestloaded"!==document.getElementById("295f89b1").className&&(e=!0),a.a.log(this.NAME,"detectAdBlock","detected: ",e),t&&(t=this.localStorage.get(s.e.AdblockLastDetect),a.a.log(this.NAME,"detectAdBlock","last detected: ",t),e=e||t),e},u);function u(){this.NAME="ADBlockDetector",this.localStorage=new o.a}},function(t,e,n){"use strict";var o=function(t){t&&(this.Conversation=t.Conversation,this.Meter=t.Meter)};n.d(e,"a",function(){return r});var r=function(t){t=t||{},this.ArticleLeft=new o(t.ArticleLeft),this.Limit=new o(t.Limit),this.MinView=t.MinView}},function(t,e,n){t.exports=n(22).enc.Utf8},function(t,e,n){"use strict";n.r(e);var u=n(0),o=function(t){this.TypeName="UserAgentAccess",t&&(this.Value=t.Value,this.Qualifier=t.Qualifier)},i=n(20),a=(r.prototype.apply=function(){return this.filterList()},r.prototype.filterList=function(){var e=this,n=[],t=i.a.getInstance();return this.allowedAccessList&&0<this.allowedAccessList.length?(Object(u.each)(this.allowedAccessList,function(t){t.passed=!0,n.push(e.calculateSet(t))}),t.calculatePassedCollections(n)):Promise.resolve([])},r.prototype.mapUserAgents=function(t){var e=[];return Object(u.each)(t,function(t){e.push(new o(t))}),e},r.prototype.calculateSet=function(t){return t.passed=!1,t.UserAgents&&0===t.UserAgents.length?Promise.resolve(t):this.calculateUserAgents(this.mapUserAgents(t.UserAgents)).then(function(){return t.passed=!0,Promise.resolve(t)}).catch(function(){return Promise.resolve(t)})},r.prototype.calculateUserAgents=function(o){var r=this;return new Promise(function(t,e){var n;0!=o.length?(n=Object(u.first)(o),i.a.getInstance().calculateExpression(n.TypeName,n).then(function(){t()}).catch(function(){o.shift(),r.calculateUserAgents(o).then(function(){t()}).catch(function(){e()})})):e()})},r);function r(t){this.allowedAccessList=[],t&&(Object(u.isArray)(t)?this.allowedAccessList=t:this.allowedAccessList.push(t))}var s=(c.prototype.apply=function(){return this.findAllowedlistSetsWithIP(this.ip)},c.prototype.findAllowedlistSetsWithIP=function(n){var o=this,r=[];return Object(u.each)(this.allowedAccessList,function(e){e&&Object(u.isArray)(e.Ips)&&Object(u.each)(e.Ips,function(t){o.compareIPs(n,t)&&r.push(e)})}),Promise.resolve(r)},c.prototype.compareIPs=function(t,e){try{if(!t||!e)return!1;var n=!1,o=!1;return/^([0-9]{1,3}\.){3}[0-9]{1,3}(\/([0-9]|[1-2][0-9]|3[0-2]))?$/.test(e)&&(~e.indexOf("/")?o=!0:n=!0),n?t===e:!!o&&this.IPWithinRangeCIDR(t,e)}catch(t){return!1}},c.prototype.IPWithinRangeCIDR=function(t,e){for(var n=this.getIPsRangeByCIDR(e),e=n[0],n=n[1],o=[t.split("."),e.split("."),n.split(".")],r=0;r<o.length;r++){for(var i=0;i<o[r].length;i++)o[r][i]=parseInt(o[r][i]);o[r]=(o[r][0]<<24)+(o[r][1]<<16)+(o[r][2]<<8)+o[r][3]}return o[0]>=o[1]&&o[0]<=o[2]},c.prototype.getIPsRangeByCIDR=function(t){var e,n=[];return"string"!=typeof t||(e=t.match(/^(\d+\.\d+\.\d+\.\d+)\/(\d+)$/))&&(t=this.ipToIp32(e[1]),e=parseInt(e[2]),"number"==typeof t&&0<=e&&e<=32&&(e=this.buildMask(e),t=this.applyMask(t,e),n=[this.ip32ToIp(t),this.ip32ToIp(t-e-1)])),n},c.prototype.ipToIp32=function(t){var e=!1;if("string"==typeof t){var n=t.match(/^(\d+)\.(\d+)\.(\d+)\.(\d+)$/);if(n){for(var o=[],r=1;r<n.length;r++){var i=parseInt(n[r]);0<=i&&i<=255&&o.push(i)}4===o.length&&(e=this.bytesToInt32(o))}}return e},c.prototype.ip32ToIp=function(t){var e;return"number"==typeof t&&isFinite(t)&&(e=this.int32ToBytes(4294967295&t).join(".")),e},c.prototype.int32ToBytes=function(t){return[t>>>24&255,t>>>16&255,t>>>8&255,t>>>0&255]},c.prototype.bytesToInt32=function(t){return 256*(256*(256*t[0]+t[1])+t[2])+t[3]},c.prototype.buildMask=function(t){return t?-1<<32-t:0},c.prototype.applyMask=function(t,e){for(var n=this.int32ToBytes(t),o=this.int32ToBytes(e),r=[],i=0;i<n.length;i++)r.push(n[i]&o[i]);return this.bytesToInt32(r)},c);function c(t,e){this.allowedAccessList=Object(u.isArray)(t)?t:[],this.ip=e}var p=n(144),l=n(104),f=n(119),h=n(82),d=n(121),y=n(125),_=n(126),g=n(145),v=n(8),m=n(11),w=n(46),C=n(5),O=n(85),A=(b.prototype.checkMg2Pin=function(t){v.a.checkMg2Pin(t,{location:O.a.System})},b.prototype.mg2PinSuccess=function(t,e){var n=this;m.a.text(t,e.message),m.a.addClass(t,"Mg2-pin__message_success"),m.a.show(t),setTimeout(function(){n.pinTemplate.hide(w.b.AccessGranted)},1e3),this.pinTemplate.fireCloseEvent(w.b.AccessGranted)},b.prototype.mg2PinFail=function(t,e,n){+e.status===this.WRONG_PIN&&this.pinTemplate.wrongPin(),m.a.text(t,e.message),m.a.show(t),m.a.addClass(t,"Mg2-pin__message_error"),n.value=""},b);function b(t,e,n,o){var r=this;this.NAME="Mg2Pin",this.WRONG_PIN=100,this.pinTemplate=o;var i=m.a.find('.Mg2-pin__input[type="password"]',t),a=m.a.find(".Mg2-pin__message",t);m.a.hide(a),m.a.removeClass(a,"Mg2-pin__message_error"),m.a.removeClass(a,"Mg2-pin__message_success"),m.a.removeClass(i,"Mg2-pin__input_error");t=m.a.val(i);if(t){for(var s=[],c=0;c<n.length;c++)s.push(n[c].Id);e={code:t,SetIds:s,Ip:e};v.a.checkMg2Pin(e,{location:O.a.Whitelisting}).then(function(e){g.a.log(r.NAME,"Check PIN","Success",e),v.a.setWhitelistSetIdCookie({Id:e.WhitelistSetId,Expiration:e.expires},{expires:new Date(e.expires)}),r.mg2PinSuccess(a,{message:"Success! Now you have full access",status:200});var t=Object(u.find)(n,function(t){return t.Id==e.WhitelistSetId});f.a.dispatch(h.a.AccessGranted,t),C.a.saveViewInformation()}).catch(function(t){g.a.log(r.NAME,"Check PIN","error",t.ErrorMessage),r.mg2PinFail(a,{message:t.ErrorMessage,status:t.ErrorCode},i);t={};t[d.a.AccessDeniedReason]="Invalid Pin Entered",f.a.dispatch(h.a.AccessDenied,null,t)})}else m.a.show(a),m.a.addClass(i,"Mg2-pin__input_error"),m.a.text(a,"Please enter a code"),m.a.addClass(a,"Mg2-pin__message_error")}var E=(P.prototype.checkAttemptsLeft=function(){return!!this.checkPinAttempts()||(this.noPinAttemptsLeft(this.pinElement),!1)},P.prototype.addEventListeners=function(){var e=this;m.a.on(this.pinElement,w.g.TemplateShown,function(t){e.fireShowEvent(),e.templateClosed=!1}),m.a.on(this.pinElement,w.g.TemplateClosed,function(t){e.setAllowedlistInfoboxCookie(!0),y.a.set(_.a.NeedHideWhitelistInfobox,!0);t=t&&t.detail?t.detail.closeEvent:"";e.fireCloseEvent(t),!e.isBlockFlow&&t!==w.b.AccessGranted||f.a.dispatch(w.g.ApplicationReload)}),m.a.on(m.a.queryElement(".proceed-without-pin",this.pinElement),"click",function(t){e.setNeedHidePinTemplateCookie(!0)}),m.a.on(m.a.queryElement(".Mg2-pin__button",this.pinElement),"click",function(t){e.checkAttemptsLeft()&&new A(e.pinElement,e.userIp,e.allowedListSets,e)})},P.prototype.show=function(){this.template.show(),this.pinElement=this.template.getElement(),this.addEventListeners(),this.template.afterShow()},P.prototype.hide=function(t){this.template.hide(t)},P.prototype.wrongPin=function(){var t=parseInt(v.a.getPinAttempts());t?t++:t=1;var e=new Date;e.setMinutes(e.getMinutes()+15),v.a.setPinAttempts(t,{expires:e})},P.prototype.fireCloseEvent=function(t){this.templateClosed||(f.a.dispatch(h.a.AccessTemplateClosed,t),this.templateClosed=!0)},P.prototype.fireShowEvent=function(){f.a.dispatch(h.a.AccessTemplateShown,null)},P.prototype.noPinAttemptsLeft=function(t){var e=m.a.find(".Mg2-pin__message",t);m.a.text(e,"You exceeded maximum amount of attempts. You will be allowed to try again in 15 minutes."),m.a.addClass(e,"Mg2-pin__message_error"),m.a.show(e),m.a.hide(m.a.find(".Mg2-pin__input",t)),m.a.hide(m.a.find(".Mg2-pin__button",t)),this.template.setElement(t)},P.prototype.checkPinAttempts=function(){var t=parseInt(v.a.getPinAttempts()),e=!0;return t&&t>=this.MAX_PIN_ATTAMPTS-1&&(e=!1),e},P.prototype.setNeedHidePinTemplateCookie=function(t){v.a.setNeedHidePinTemplateCookie(t,{daysOfLife:1})},P.prototype.setAllowedlistInfoboxCookie=function(t){v.a.setAllowedlistInfoboxCookie(t,{daysOfLife:30})},P);function P(t,e,n){var o;if(this.isBlockFlow=!1,this.MAX_PIN_ATTAMPTS=5,this.templateClosed=!1,this.allowedListSets=t,this.userIp=e,this.allowedListSet=t[0],v.a.getAllowedlistInfoboxCookie()?o=this.allowedListSet.InfoboxHtml:(o=this.allowedListSet.ModalHtml,this.isBlockFlow=!0),this.template=n.createTemplate({Html:o}),!this.template)return g.a.warn("No Html in Template"),null;this.pinElement=this.template.getElement(),this.checkAttemptsLeft()}var S=(D.prototype.apply=function(){var e=this,n=[];return Object(u.each)(this.inputList,function(t){(!t.CodesAreNotRequired||e.inAccessPeriod(t))&&n.push(t)}),Promise.resolve(n)},D.prototype.getCurrentDate=function(){return(new Date).valueOf()},D.prototype.inAccessPeriod=function(t){var e=this.getCurrentDate();t.AccessStartDate=t.AccessStartDate||null,t.AccessEndDate=t.AccessEndDate||null;var n=new Date(t.AccessStartDate).valueOf(),t=new Date(t.AccessEndDate).valueOf();return t<=0&&n<=0||(t<=0?n<=e:(n<=0||n<=e)&&e<=t)},D);function D(t){this.inputList=t}function I(){var t=this;this.skipOnNextRun=!1,this.accessGranted=!1,f.a.subscribe(h.a.AccessGranted,function(){t.accessGranted=!0})}n.d(e,"AllowedAccess",function(){return M});var M=new(I.prototype.canClientUseConnext=function(t){var o=this;if(this.getWhitelistSetIdCookie())return Promise.reject("");var r,i=p.a.getIP();return Promise.all([new s(t,i).apply(),new a(t).apply()]).then(function(t){var e=t[0],t=t[1];if(r=e.concat(t),o.haveSets(r))return new S(r).apply().then(function(t){if(o.allowedSets=t,o.haveSets(o.allowedSets))return o.getAccess(i);var e="Access date is out of range",n=Object(u.first)(r)||{},t={};return t[d.a.AccessDeniedReason]=e,t[d.a.AccessStartDate]=n.AccessStartDate,t[d.a.AccessEndDate]=n.AccessEndDate,o.accessDenied(e,n,t)});t={};return t[d.a.AccessDeniedReason]="Filters",o.accessDenied("Filters",null,t)})},I.prototype.getAccess=function(t){var e=Object(u.first)(this.allowedSets);if(e.CodesAreNotRequired)return f.a.dispatch(h.a.AccessGranted,e),Promise.reject("");var n=v.a.getNeedHidePinTemplateCookie(),e=y.a.get(_.a.NeedHideWhitelistInfobox);return n||e?Promise.resolve(!0):this.pinTemplateActions(t)},I.prototype.accessDenied=function(t,e,n){return f.a.dispatch(h.a.AccessDenied,e,n),g.a.log(this.constructor.name,t),Promise.resolve(!0)},I.prototype.haveSets=function(t){return t&&0<t.length},I.prototype.pinTemplateActions=function(t){t=new E(this.allowedSets,t,l.a.getInstance());return t?(t.show(),t.isBlockFlow?Promise.reject(""):Promise.resolve(!0)):(g.a.error("Pin temlate is not detected"),Promise.reject(""))},I.prototype.resetStorage=function(){v.a.resetStorage()},I.prototype.getWhitelistSetIdCookie=function(){return v.a.getWhitelistSetIdCookie()},I.prototype.setWhitelistSetIdCookie=function(t,e){return v.a.setWhitelistSetIdCookie(t,e)},I)},function(t,e,n){var r;t.exports=(r=n(22),function(c){var t=r,e=t.lib,n=e.WordArray,o=e.Hasher,e=t.algo,P=[];!function(){for(var t=0;t<64;t++)P[t]=4294967296*c.abs(c.sin(t+1))|0}();e=e.MD5=o.extend({_doReset:function(){this._hash=new n.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(t,e){for(var n=0;n<16;n++){var o=e+n,r=t[o];t[o]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8)}var i=this._hash.words,a=t[e+0],s=t[e+1],c=t[e+2],u=t[e+3],p=t[e+4],l=t[e+5],f=t[e+6],h=t[e+7],d=t[e+8],y=t[e+9],_=t[e+10],g=t[e+11],v=t[e+12],m=t[e+13],w=t[e+14],C=t[e+15],O=S(O=i[0],E=i[1],b=i[2],A=i[3],a,7,P[0]),A=S(A,O,E,b,s,12,P[1]),b=S(b,A,O,E,c,17,P[2]),E=S(E,b,A,O,u,22,P[3]);O=S(O,E,b,A,p,7,P[4]),A=S(A,O,E,b,l,12,P[5]),b=S(b,A,O,E,f,17,P[6]),E=S(E,b,A,O,h,22,P[7]),O=S(O,E,b,A,d,7,P[8]),A=S(A,O,E,b,y,12,P[9]),b=S(b,A,O,E,_,17,P[10]),E=S(E,b,A,O,g,22,P[11]),O=S(O,E,b,A,v,7,P[12]),A=S(A,O,E,b,m,12,P[13]),b=S(b,A,O,E,w,17,P[14]),O=D(O,E=S(E,b,A,O,C,22,P[15]),b,A,s,5,P[16]),A=D(A,O,E,b,f,9,P[17]),b=D(b,A,O,E,g,14,P[18]),E=D(E,b,A,O,a,20,P[19]),O=D(O,E,b,A,l,5,P[20]),A=D(A,O,E,b,_,9,P[21]),b=D(b,A,O,E,C,14,P[22]),E=D(E,b,A,O,p,20,P[23]),O=D(O,E,b,A,y,5,P[24]),A=D(A,O,E,b,w,9,P[25]),b=D(b,A,O,E,u,14,P[26]),E=D(E,b,A,O,d,20,P[27]),O=D(O,E,b,A,m,5,P[28]),A=D(A,O,E,b,c,9,P[29]),b=D(b,A,O,E,h,14,P[30]),O=I(O,E=D(E,b,A,O,v,20,P[31]),b,A,l,4,P[32]),A=I(A,O,E,b,d,11,P[33]),b=I(b,A,O,E,g,16,P[34]),E=I(E,b,A,O,w,23,P[35]),O=I(O,E,b,A,s,4,P[36]),A=I(A,O,E,b,p,11,P[37]),b=I(b,A,O,E,h,16,P[38]),E=I(E,b,A,O,_,23,P[39]),O=I(O,E,b,A,m,4,P[40]),A=I(A,O,E,b,a,11,P[41]),b=I(b,A,O,E,u,16,P[42]),E=I(E,b,A,O,f,23,P[43]),O=I(O,E,b,A,y,4,P[44]),A=I(A,O,E,b,v,11,P[45]),b=I(b,A,O,E,C,16,P[46]),O=M(O,E=I(E,b,A,O,c,23,P[47]),b,A,a,6,P[48]),A=M(A,O,E,b,h,10,P[49]),b=M(b,A,O,E,w,15,P[50]),E=M(E,b,A,O,l,21,P[51]),O=M(O,E,b,A,v,6,P[52]),A=M(A,O,E,b,u,10,P[53]),b=M(b,A,O,E,_,15,P[54]),E=M(E,b,A,O,s,21,P[55]),O=M(O,E,b,A,d,6,P[56]),A=M(A,O,E,b,C,10,P[57]),b=M(b,A,O,E,f,15,P[58]),E=M(E,b,A,O,m,21,P[59]),O=M(O,E,b,A,p,6,P[60]),A=M(A,O,E,b,g,10,P[61]),b=M(b,A,O,E,c,15,P[62]),E=M(E,b,A,O,y,21,P[63]),i[0]=i[0]+O|0,i[1]=i[1]+E|0,i[2]=i[2]+b|0,i[3]=i[3]+A|0},_doFinalize:function(){var t=this._data,e=t.words,n=8*this._nDataBytes,o=8*t.sigBytes;e[o>>>5]|=128<<24-o%32;var r=c.floor(n/4294967296),n=n;e[15+(64+o>>>9<<4)]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8),e[14+(64+o>>>9<<4)]=16711935&(n<<8|n>>>24)|4278255360&(n<<24|n>>>8),t.sigBytes=4*(e.length+1),this._process();for(var e=this._hash,i=e.words,a=0;a<4;a++){var s=i[a];i[a]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8)}return e},clone:function(){var t=o.clone.call(this);return t._hash=this._hash.clone(),t}});function S(t,e,n,o,r,i,a){a=t+(e&n|~e&o)+r+a;return(a<<i|a>>>32-i)+e}function D(t,e,n,o,r,i,a){a=t+(e&o|n&~o)+r+a;return(a<<i|a>>>32-i)+e}function I(t,e,n,o,r,i,a){a=t+(e^n^o)+r+a;return(a<<i|a>>>32-i)+e}function M(t,e,n,o,r,i,a){a=t+(n^(e|~o))+r+a;return(a<<i|a>>>32-i)+e}t.MD5=o._createHelper(e),t.HmacMD5=o._createHmacHelper(e)}(Math),r.MD5)},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",function(){return Javascript});var _Connext_Core__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(145),_Connext_Core__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(25),_Expression__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(3),underscore__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(0),underscore__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(underscore__WEBPACK_IMPORTED_MODULE_3__),__extends=(Dra=function(t,e){return(Dra=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Dra(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),Dra,Javascript=function(_super){function Javascript(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(Javascript,_super),Javascript.prototype.check=function(rule){var _this=this;return this.NAME="Javascript",new Promise(function(resolve,reject){var fnName="evalJSVar";try{_Connext_Core__WEBPACK_IMPORTED_MODULE_0__.a.log(_this.NAME,fnName,"--- Testing ---",rule);var segment=rule.Options||rule,jsVariable=segment.EvaluatedObject,qualifier=segment.Qualifier,segmentValue=Object(_Connext_Core__WEBPACK_IMPORTED_MODULE_1__.s)(segment.Value)?segment.Value.toLowerCase():"",isPassed=!0,jsValue=eval(jsVariable);_this.delimiter=segment.Delimiter||",",jsValue=Object(underscore__WEBPACK_IMPORTED_MODULE_3__.isArray)(jsValue)?jsValue.filter(function(t){return Object(_Connext_Core__WEBPACK_IMPORTED_MODULE_1__.s)(t)}).map(function(t){return t.toString().toLowerCase().trim()}):(Object(_Connext_Core__WEBPACK_IMPORTED_MODULE_1__.s)(jsValue)||reject(),jsValue.toString().toLowerCase()),isPassed=_this.evaluateOperator(jsValue,segmentValue,qualifier),(isPassed?resolve:reject)()}catch(ex){reject()}})},Javascript.prototype.contains=function(t,e){return Object(underscore__WEBPACK_IMPORTED_MODULE_3__.isArray)(t)||(t=t.split(this.delimiter.replace(/\[space\]/g," "))),0<=t.indexOf(e)},Javascript.prototype.in=function(t,e){return _super.prototype.in.call(this,e,t)},Javascript}(_Expression__WEBPACK_IMPORTED_MODULE_2__.a)},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",function(){return PromiseEx});var _Expression__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(3),_Connext_Core__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(145),_Connext_Core__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(25),_Connext_Core__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(125),_Connext_Core__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(126),underscore__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(0),underscore__WEBPACK_IMPORTED_MODULE_5___default=__webpack_require__.n(underscore__WEBPACK_IMPORTED_MODULE_5__),__extends=(Ura=function(t,e){return(Ura=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Ura(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),Ura,PromiseEx=function(_super){function PromiseEx(){return _super.call(this)||this}return __extends(PromiseEx,_super),PromiseEx.prototype.check=function(entity){var _this=this;this.NAME="Promise";var userPromise=new Promise(function(resolve,reject){var fnName="evalPromise",timerId=null;try{_Connext_Core__WEBPACK_IMPORTED_MODULE_1__.a.log(_this.NAME,fnName,"Setup promise",entity);var promise=eval(entity.EvaluatedObject||entity.Options.PromiseName);_this.options.timeout&&(timerId=setTimeout(function(){_Connext_Core__WEBPACK_IMPORTED_MODULE_1__.a.log(_this.NAME,fnName,"promise rejected on timeout"),reject()},_this.options.timeout));var doneCallback_1=function(t){_Connext_Core__WEBPACK_IMPORTED_MODULE_1__.a.log(_this.NAME,fnName,"Promise resolved with value: ",t);var e=entity.Qualifier||entity.Options.Qualifier,n=Object(_Connext_Core__WEBPACK_IMPORTED_MODULE_2__.s)(entity.Value)?entity.Value:entity.Options&&entity.Options.Val?entity.Options.Val:void 0,o=entity.EvaluatedObject||entity.Options.PromiseName;t=Object(underscore__WEBPACK_IMPORTED_MODULE_5__.isString)(t)?(""+t).toLowerCase():t,n=Object(underscore__WEBPACK_IMPORTED_MODULE_5__.isString)(n)?(""+n).toLowerCase():n,timerId&&clearTimeout(timerId),_this.evaluateOperator(t,n,e)?(_Connext_Core__WEBPACK_IMPORTED_MODULE_1__.a.log(_this.NAME,fnName,"promise "+o+" passed"),resolve()):(_Connext_Core__WEBPACK_IMPORTED_MODULE_1__.a.log(_this.NAME,fnName,"promise "+o+" not passed"),reject())};promise&&Object(underscore__WEBPACK_IMPORTED_MODULE_5__.isFunction)(promise.then)?promise.then(function(t){doneCallback_1(t)},function(t){timerId&&clearTimeout(timerId),_Connext_Core__WEBPACK_IMPORTED_MODULE_1__.a.log(_this.NAME,fnName,"Promise rejected",entity),reject(t)}):doneCallback_1(promise)}catch(ex){timerId&&clearTimeout(timerId),_Connext_Core__WEBPACK_IMPORTED_MODULE_1__.a.log(_this.NAME,fnName,"Promise is not defined"),reject()}});return this.savePromise(userPromise),userPromise},PromiseEx.prototype.savePromise=function(t){var e=_Connext_Core__WEBPACK_IMPORTED_MODULE_3__.a.get(_Connext_Core__WEBPACK_IMPORTED_MODULE_4__.a.Promises);Object(underscore__WEBPACK_IMPORTED_MODULE_5__.isEmpty)(e)&&(e=[]),_Connext_Core__WEBPACK_IMPORTED_MODULE_3__.a.set(_Connext_Core__WEBPACK_IMPORTED_MODULE_4__.a.Promises,e.push(t))},PromiseEx}(_Expression__WEBPACK_IMPORTED_MODULE_0__.a)},function(t,e,n){"use strict";n.d(e,"a",function(){return p});var o=n(124),r=n(145),i=n(119),a=n(82),s=n(45),c=n(41),u=n(144),p=(l.prototype.process=function(){},l.prototype.finishFlow=function(){},l.prototype.defineUser=function(t){t=t.Settings.Site.RegistrationTypeId;return c.a.defineUserData(t).catch(function(t){throw new o.a(t)})},l.prototype.stopProcessing=function(){this.updateFlowInfo(),r.a.log("Connext stop"),i.a.dispatch(a.a.Finish,{Location:u.a.getLocationInfo()})},l.prototype.updateFlowInfo=function(){s.a.isDesktop()&&u.a.runCheckDeviceId()},l);function l(){}},function(t,e,n){var o;t.exports=(o=n(22),function(){var c=o.lib.WordArray;o.enc.Base64={stringify:function(t){var e=t.words,n=t.sigBytes,o=this._map;t.clamp();for(var r=[],i=0;i<n;i+=3)for(var a=(e[i>>>2]>>>24-i%4*8&255)<<16|(e[i+1>>>2]>>>24-(i+1)%4*8&255)<<8|e[i+2>>>2]>>>24-(i+2)%4*8&255,s=0;s<4&&i+.75*s<n;s++)r.push(o.charAt(a>>>6*(3-s)&63));var c=o.charAt(64);if(c)for(;r.length%4;)r.push(c);return r.join("")},parse:function(t){var e=t.length,n=this._map,o=this._reverseMap;if(!o){o=this._reverseMap=[];for(var r=0;r<n.length;r++)o[n.charCodeAt(r)]=r}var i=n.charAt(64);return!i||-1!==(i=t.indexOf(i))&&(e=i),function(t,e,n){for(var o=[],r=0,i=0;i<e;i++){var a,s;i%4&&(a=n[t.charCodeAt(i-1)]<<i%4*2,s=n[t.charCodeAt(i)]>>>6-i%4*2,o[r>>>2]|=(a|s)<<24-r%4*8,r++)}return c.create(o,r)}(t,e,o)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),o.enc.Base64)},function(t,e,n){t.exports=(t=n(22),n(83),n(84),t.HmacSHA256)},,,,function(t,e,n){t.exports=n(101)},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e){var n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},,,,function(t,e,n){"use strict";var o=n(85),r=n(107),i=n(132),a=n(146),s=n(42),c=n(128),u="igm_eui",p="igm_epref",l="nxt_nl_source",f="nxt_nl_reader";function h(){this.cookies=r.a.getInstance(),this.sessionStorage=new i.a}n.d(e,"a",function(){return d});var d=new(h.prototype.getUserDataByEncryptedEmail=function(t){t="user/encrypted?encodedEncryptedEmail="+encodeURIComponent(t);return a.a.get(t)},h.prototype.getSubscribeNewsletters=function(t){return a.a.get("user/emailPreference",t,{location:o.a.Newsletter})},h.prototype.getEmailPreferences=function(t){t="user/emailPreference?email="+encodeURIComponent(t);return a.a.get(t)},h.prototype.setEncryptedEmail=function(t){this.sessionStorage.set(u,t)},h.prototype.getEncryptedEmail=function(){return this.sessionStorage.get(u)},h.prototype.setEmailPreference=function(t,e){this.cookies.set(p,t,e)},h.prototype.getEmailPreference=function(){return this.cookies.get(p)},h.prototype.getNewsletterSource=function(){return this.cookies.get(l)},h.prototype.getNewsletterReader=function(t){return s.a.get(f,t)},h.prototype.setNewsletterSource=function(t,e){c.a.set(l,t,e)},h.prototype.setNewsletterReader=function(t,e){s.a.set(f,t,e)},h)},function(t,e,n){"use strict";n.d(e,"a",function(){return a});var o=n(0),r=n(25);function i(){}var a=new(i.prototype._isIterable=function(t){return!this.isNode(t)&&!this.isElement(t)&&t!==window&&(this._isLiteralObject(t)||Object(o.isArray)(t)||"object"==typeof t&&null!==t&&void 0!==t.length&&t.length)},i.prototype.isNode=function(t){return"object"==typeof Node?t instanceof Node:t&&"object"==typeof t&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName},i.prototype.isElement=function(t){return"object"==typeof HTMLElement?t instanceof HTMLElement:t&&"object"==typeof t&&1===t.nodeType&&"string"==typeof t.nodeName},i.prototype._getComputedStyle=function(t,e){t="function"==typeof window.getComputedStyle?window.getComputedStyle(t):(document.currentStyle,t.currentStyle);return e?t[e]:t},i.prototype.nodeListToArray=function(t){var e=[];return Object(o.each)(t,function(t){e.push(t)}),e},i.prototype._isLiteralObject=function(t){return t&&"object"==typeof t&&Object.getPrototypeOf(t)===Object.getPrototypeOf({})},i.prototype._indexOf=function(t,e){if(Array.prototype.indexOf)return Array.prototype.indexOf.call(t,e);for(var n=0,o=t.length;n<o;n++)if(t[n]===e)return n;return-1},i.prototype._getHandlerIndex=function(t,e,n){return t===document.body||t===window?this._indexOf(t._event[e].handlers,n):this._indexOf(t._event[e].signatures,String(n))},i.prototype.addEventListener=function(t,e,n){if(!this.isNode(t)&&t!==window)throw new Error(t+" is not a DOMNode object");var o;t._event=t._event||{},t._event[e]=t._event[e]||{handlers:[],signatures:[]},-1==this._getHandlerIndex(t,e,n)&&(o=Object(r.a)(t,e,n,!1),t._event[e].handlers.push(o),t._event[e].signatures.push(n.toString()))},i.prototype.removeEventListener=function(n,o,t){var r=this;if(!this.isNode(n)&&n!==window)throw new Error(n+" is not a DOMNode object");n._event&&n._event[o]&&(t?[t]:n._event[o].handlers.slice().reverse()).forEach(function(t){var e=r._getHandlerIndex(n,o,t);-1!==e&&(n._event[o].handlers.splice(e,1),n._event[o].signatures.splice(e,1)),n.removeEventListener(o,t,!1)})},i)},function(t,e,n){"use strict";var o,r;n.d(e,"a",function(){return o}),n.d(e,"b",function(){return r}),(e=o=o||{})[e.Low=0]="Low",e[e.Medium=1]="Medium",e[e.High=2]="High",(e=r=r||{}).Log="log",e.Warn="warn",e.Error="error"},function(t,e,n){"use strict";n.d(e,"a",function(){return o});var o=(r.prototype.isSupported=function(){return void 0!==window.localStorage},r.prototype.get=function(t,e){void 0===e&&(e=!0);try{var n=window.localStorage.getItem(t);return e?JSON.parse(n):n}catch(t){return null}},r.prototype.set=function(t,e,n){void 0===n&&(n=!0);try{return localStorage.setItem(t,n?JSON.stringify(e):e),!0}catch(t){return!1}},r.prototype.delete=function(t){try{localStorage.removeItem(t)}catch(t){}},r.prototype.clear=function(){try{localStorage.clear()}catch(t){}},r);function r(){}},function(t,e,n){"use strict";var o;n.d(e,"a",function(){return o}),(e=o=o||{}).Init="onInit",e.Run="onRun",e.Finish="onFinish",e.DynamicMeterFound="onDynamicMeterFound",e.MeterLevelSet="onMeterLevelSet",e.CampaignFound="onCampaignFound",e.ConversationDetermined="onConversationDetermined",e.ConversationExpired="onConversationExpired",e.AdblockFound="onAdblockFound",e.NotAuthorized="onNotAuthorized",e.Authorized="onAuthorized",e.LoggedIn="onLoggedIn",e.HasAccess="onHasAccess",e.HasAccessNotEntitled="onHasAccessNotEntitled",e.HasNoActiveSubscription="onHasNoActiveSubscription",e.AnyAccountStatusEvent="onAnyAccountStatusEvent",e.ActionShow="onActionShown",e.ActionClosed="onActionClosed",e.ButtonClick="onButtonClick",e.NewsdayButtonClick="onNewsdayButtonClick",e.PaywallShown="onPaywallShown",e.FlittzPaywallShown="onFlittzPaywallShown",e.FlittzPaywallClosed="onFlittzPaywallClosed",e.FlittzButtonClick="onFlittzButtonClick",e.LoginShown="onLoginShown",e.LoginClosed="onLoginClosed",e.LoginSuccess="onLoginSuccess",e.LoginError="onLoginError",e.ActivationFormShown="onActivationFormShown",e.ActivationLoginStepShown="onActivationLoginStepShown",e.ActivationLoginStepClosed="onActivationLoginStepClosed",e.ActivationLinkStepShown="onActivationLinkStepShown",e.ActivationLinkStepClosed="onActivationLinkStepClosed",e.ActivationLinkStepSubmitted="onActivationLinkStepSubmitted",e.ActivationLinkSuccessStepShown="onActivationLinkSuccessStepShown",e.ActivationLinkSuccessStepClosed="onActivationLinkSuccessStepClosed",e.ActivationLinkErrorStepShown="onActivationLinkErrorStepShown",e.ActivationLinkErrorStepClosed="onActivationLinkErrorStepClosed",e.ActivationFormClosed="onActivationFormClosed",e.AccessTemplateShown="onAccessTemplateShown",e.AccessTemplateClosed="onAccessTemplateClosed",e.AccessGranted="onAccessGranted",e.AccessDenied="onAccessDenied",e.LoadError="onLoadError",e.CriticalError="onCriticalError",e.NewsletterArrival="onNewsletterArrival",e.ViewsAutoReset="onViewsAutoReset",e.ActionNotFound="onActionNotFound",e.ConversationNotFound="onConversationNotFound",e.NewsletterUpdateResolved="mg2nw_preferences_succeed_e",e.NewsletterSignUp="onNewsletterSignUp",e.NewsletterSignUpFails="onNewsletterSignUpFails",e.RegistrationShown="onRegistrationShown",e.RegistrationError="onRegistrationError",e.RegistrationSuccess="onRegistrationSuccess",e.RegistrationSuccessRegister="onRegistrationSuccessRegister",e.RegistrationSuccessLogin="onRegistrationSuccessLogin",e.RegistrationClosed="onRegistrationClosed",e.ABCookieSet="onABCookieSet",e.ABCookieFail="onABCookieFail",e.ActivationAccountCreated="onActivationAccountCreated",e.ChangedDeviceId="onChangedDeviceId",e.NxtError="onNxtError"},function(t,e,n){var a;t.exports=(a=n(22),function(r){var t=a,e=t.lib,n=e.WordArray,o=e.Hasher,e=t.algo,i=[],y=[];!function(){function t(t){return 4294967296*(t-(0|t))|0}for(var e=2,n=0;n<64;)!function(t){for(var e=r.sqrt(t),n=2;n<=e;n++)if(!(t%n))return;return 1}(e)||(n<8&&(i[n]=t(r.pow(e,.5))),y[n]=t(r.pow(e,1/3)),n++),e++}();var _=[],e=e.SHA256=o.extend({_doReset:function(){this._hash=new n.init(i.slice(0))},_doProcessBlock:function(t,e){for(var n=this._hash.words,o=n[0],r=n[1],i=n[2],a=n[3],s=n[4],c=n[5],u=n[6],p=n[7],l=0;l<64;l++){l<16?_[l]=0|t[e+l]:(h=((d=_[l-15])<<25|d>>>7)^(d<<14|d>>>18)^d>>>3,d=((f=_[l-2])<<15|f>>>17)^(f<<13|f>>>19)^f>>>10,_[l]=h+_[l-7]+d+_[l-16]);var f=o&r^o&i^r&i,h=(o<<30|o>>>2)^(o<<19|o>>>13)^(o<<10|o>>>22),d=p+((s<<26|s>>>6)^(s<<21|s>>>11)^(s<<7|s>>>25))+(s&c^~s&u)+y[l]+_[l],p=u,u=c,c=s,s=a+d|0,a=i,i=r,r=o,o=d+(h+f)|0}n[0]=n[0]+o|0,n[1]=n[1]+r|0,n[2]=n[2]+i|0,n[3]=n[3]+a|0,n[4]=n[4]+s|0,n[5]=n[5]+c|0,n[6]=n[6]+u|0,n[7]=n[7]+p|0},_doFinalize:function(){var t=this._data,e=t.words,n=8*this._nDataBytes,o=8*t.sigBytes;return e[o>>>5]|=128<<24-o%32,e[14+(64+o>>>9<<4)]=r.floor(n/4294967296),e[15+(64+o>>>9<<4)]=n,t.sigBytes=4*e.length,this._process(),this._hash},clone:function(){var t=o.clone.call(this);return t._hash=this._hash.clone(),t}});t.SHA256=o._createHelper(e),t.HmacSHA256=o._createHmacHelper(e)}(Math),a.SHA256)},function(t,e,n){var o;t.exports=(o=n(22),void function(){var t=o.lib.Base,s=o.enc.Utf8;o.algo.HMAC=t.extend({init:function(t,e){t=this._hasher=new t.init,"string"==typeof e&&(e=s.parse(e));var n=t.blockSize,o=4*n;e.sigBytes>o&&(e=t.finalize(e)),e.clamp();for(var t=this._oKey=e.clone(),e=this._iKey=e.clone(),r=t.words,i=e.words,a=0;a<n;a++)r[a]^=1549556828,i[a]^=909522486;t.sigBytes=e.sigBytes=o,this.reset()},reset:function(){var t=this._hasher;t.reset(),t.update(this._iKey)},update:function(t){return this._hasher.update(t),this},finalize:function(t){var e=this._hasher,t=e.finalize(t);return e.reset(),e.finalize(this._oKey.clone().concat(t))}})}())},function(t,e,n){"use strict";var o;n.d(e,"a",function(){return o}),(e=o=o||{}).Messaging="Messaging",e.System="System",e.Whitelisting="Whitelisting",e.Activation="Activation",e.Testing="Testing",e.User="User",e.Newsletter="Newsletter"},function(t,e,n){"use strict";n.d(e,"a",function(){return a});var o=n(0),r=n(45),i=n(43),a=(s.prototype.getDataByDevice=function(t){if(Object(o.isArray)(t)){var e=r.a.getDeviceType(),e=Object(o.findWhere)(t,{TemplateDeviceSettings:e});return e||Object(o.findWhere)(t,{TemplateDeviceSettings:i.b})}return t},s);function s(t){t&&(this.Id=t.Id,this.Active=t.Active,this.ActionType=t.ActionType,this.ActionTypeId=t.ActionTypeId,this.ConversationId=t.ConversationId,this.Name=t.Name,this.Order=t.Order,this.Description=t.Description,this.Order=t.Order,this.Who=t.Who,this.What=this.getDataByDevice(t.What),this.When=t.When)}},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",function(){return JavascriptCall});var _Connext_Core__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(145),_Action__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(15),__extends=(rxa=function(t,e){return(rxa=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}rxa(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),rxa,JavascriptCall=function(_super){function JavascriptCall(t,e){t=_super.call(this,t)||this;return t.NAME="JavascriptCall",t}return __extends(JavascriptCall,_super),JavascriptCall.prototype.prepareToShow=function(t){return _Connext_Core__WEBPACK_IMPORTED_MODULE_0__.a.log("Action","prepareToShow","Action type is"+this.action.ActionType),Promise.resolve()},JavascriptCall.prototype.executeAction=function(){var fnName="executeAction";try{if(void 0!==this.action.What.Javascript)try{eval(this.action.What.Javascript)}catch(ex){_Connext_Core__WEBPACK_IMPORTED_MODULE_0__.a.warn(this.NAME,fnName,ex)}}catch(ex){_Connext_Core__WEBPACK_IMPORTED_MODULE_0__.a.error(this.NAME,fnName,"Custom JS Call",ex)}},JavascriptCall.prototype.show=function(){},JavascriptCall}(_Action__WEBPACK_IMPORTED_MODULE_1__.a)},function(t,e,n){"use strict";n.d(e,"a",function(){return c});var o=n(0),r=n(53),i=n(86),a=n(52),s=n(113),c=(u.prototype.getProperties=function(){return this.Properties},u);function u(t){var e=this;this.Actions=[],this.ExpirationSettings=[],this.Filters=[],this.Properties=new s.a(null),t&&(Object(o.each)(t.Actions,function(t){e.Actions.push(new i.a(t))}),this.Id=t.Id,this.Name=t.Name,this.MeterLevelId=t.MeterLevelId,this.CampaignId=t.CampaignId,this.Order=t.Order,Object(o.each)(t.ExpirationSettings,function(t){e.ExpirationSettings.push(new a.a(t))}),Object(o.each)(t.Filters,function(t){e.Filters.push(new r.a(t))}),this.ActivationForm=t.ActivationForm,this.Properties=new s.a(t.Properties),this.Options=t.Options)}},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",function(){return QueryParams});var _Core_utils_Utils__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(25),_Core_dom_Dom__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(11),underscore__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(0),underscore__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(underscore__WEBPACK_IMPORTED_MODULE_2__),QueryParams=function(){function QueryParams(t,e,n){this.dataAttrName="data-mg2-urlparams",this.configSettings=n,this.url=e,this.link=t}return QueryParams.prototype.getUrl=function(){var t=_Core_dom_Dom__WEBPACK_IMPORTED_MODULE_1__.a.attr(this.link,this.dataAttrName)||"";return t&&(this.url=this.processDynamicQueryParams(JSON.parse(decodeURIComponent(t)))),this.configSettings.ActionUrlsParams&&(this.url=this.processDynamicQueryParams(this.configSettings.ActionUrlsParams)),this.url},QueryParams.prototype.processDynamicQueryParams=function(queryParams){var _this=this;return queryParams=queryParams.filter(function(t){return t&&t.Name}),Object(underscore__WEBPACK_IMPORTED_MODULE_2__.each)(queryParams,function(queryParam){var queryParamValue;try{queryParamValue=eval(queryParam.Value)}catch(e){queryParamValue=queryParam.Value}_this.url=Object(_Core_utils_Utils__WEBPACK_IMPORTED_MODULE_0__.c)(_this.url,queryParam.Name,queryParamValue)}),this.url},QueryParams}()},function(t,e){t.exports='<div id="ConnextPanelDebugger" class="debug_details opened" style="left: 0;">\r\n    <div class="debug_details_icon">&nbsp;</div>\r\n    <div class="debug_details_content"><h4>Debug Details</h4>\r\n        <ul>\r\n            <li class="debug_details_header hide_on_mobile">\r\n                <label>Meter Level: <strong id="ddMeterLevel">{{meterLevel}}</strong></label>\r\n            </li>\r\n            <li class="debug_details_header hide_on_mobile">\r\n                <label>Meter Set: <strong id="ddMeterSet">{{dynamicMeterName}}</strong></label>\r\n            </li>\r\n            <li>\r\n                <label>Campaign: <strong id="ddCampaign">{{campaignName}}</strong></label>\r\n            </li>\r\n            <li>    \r\n                <label>Conversation: <strong id="ddCurrentConversation">{{currentConversation}}</strong></label>\r\n            </li>\r\n            <li>  \r\n                <label>Conversation Views: <strong id="ddCurrentConversationArticleViews">{{conversationViewCount}}</strong></label>\r\n            </li>\r\n            <li>  \r\n                <label>Meter Views: <strong id="ddDynamicMeterArticleViews">{{dynamicMeterArticleViews}}</strong></label>\r\n            </li>\r\n            <li>    \r\n                <label>Paywall View Information:</label>\r\n                <table class="paywall-information">\r\n                    <tr class="border-bottom"><td></td><td class="name">Conversation</td><td class="name">Meter</td></tr>\r\n                    <tr class="border-bottom"><td class="name">ArticleLeft</td><td>{{paywallInformation.ArticleLeft.Conversation}}</td><td>{{paywallInformation.ArticleLeft.Meter}}</td></tr>\r\n                    <tr><td class="name">PaywallLimit</td><td>{{paywallInformation.Limit.Conversation}}</td><td>{{paywallInformation.Limit.Meter}}</td></tr>\r\n                </table>\r\n            </li>\r\n            <li class="debug_details_header hide_on_mobile">\r\n                <div>\r\n                    <label>Current Zip: </label>\r\n                    <strong>{{actualZipCodes}}</strong><br>\r\n                    <label class="overlay_label check" for="useCustomZip">Use custom zip: </label> \r\n                    <input type="checkbox" id="useCustomZip">\r\n                </div>\r\n                <div id="customZipBlock" style="display:none">\r\n                    <input type="text" id="actualZipCodesValue" style="width:100px">\r\n                    <div class="set-btn">\r\n                        <a href="#" class="more highlight margin_top_15" id="actualZipCodes">Set</a>\r\n                    </div>\r\n                </div>        \r\n\r\n            </li><li class="debug_details_header hide_on_mobile">\r\n                <label>Note: <strong id="ddNote"></strong></label>\r\n            </li>\r\n            <li class="debug_details_header hide_on_mobile">\r\n                <div id="ConnextCustomConfigurationDiv">\r\n                    <label for="ConnextSiteCode">Site code: </label>\r\n                    <input type="text" id="ConnextSiteCode">\r\n                    <label for="ConnextConfigCode">Config code: </label>\r\n                    <input type="text" id="ConnextConfigCode">\r\n                    <a href="#" class="more highlight margin_top_15" id="ConnextSetCustomConfiguration">Set configuration</a>\r\n                </div>\r\n                <label class="overlay_label check" for="ConnextCustomConfiguration">Use custom configuration: </label> \r\n                <input type="checkbox" id="ConnextCustomConfiguration">\r\n                <label class="overlay_label check" for="ConnextCustomConfiguration">Unique Articles Count: </label>\r\n                <input type="checkbox" id="uniqueArticles">\r\n            </li>\r\n            <li class="debug_details_header" > \r\n                <label class="overlay_label check">AnonymousId: </label>\r\n                <input type="text" id="connext_anonymousId" style="width: 47px; padding: 5px 1px;">\r\n                <div class = \'set-btn\'>\r\n                    <a href="#" class="more highlight margin_top_15" id="connext_anonymousIdApplyBtn">Set</a>\r\n                </div>\r\n            </li>\r\n            <li class="debug_details_header hide_on_mobile">\r\n                <label for="ConnextCustomTimeChk" class="overlay_label check">Custom Time: </label>\r\n                <input type="checkbox" id="ConnextCustomTimeChk">\r\n                <div id="ConnextCustomTimeDiv">\r\n                    <input type="text" id="ConnextCustomTimeTxt" placeholder="MM/DD/YYYY" value="" name="name" style=""class="text_input hint">\r\n                    <div class="set-btn">\r\n                        <a href="#" class="more highlight margin_top_15" id="ConnextSetCustomTimeBtn">Set</a>\r\n                    </div>\r\n                </div>\r\n            </li>\r\n            <li class="debug_details_header hide_on_mobile">\r\n                <a href="#" class="more highlight margin_top_15" id="connextClearAllData">Clear All Data</a>\r\n            </li>\r\n        </ul>\r\n    </div>\r\n</div>'},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",function(){return Application});var _Connext_Core__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(145),_Connext_Core__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(125),_Connext_Core__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(126),_Connext_Core__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(82),_Connext_Core__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(138),_Connext_Application_Constants__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(46),_Connext_Application_Modules__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(143),_Connext_Application_Modules__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(130),_Connext_Application_Modules__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(142),_Connext_Application_Modules__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(139),_Connext_Application_Modules__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(105),_Connext_Application_Modules__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(144),_Connext_Application_Modules__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(106),_Connext_Core__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(119),underscore__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(0),underscore__WEBPACK_IMPORTED_MODULE_14___default=__webpack_require__.n(underscore__WEBPACK_IMPORTED_MODULE_14__),_Application_Modules_adBlockDetector_AdBlockDetector__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(54),_flows_FlowManager__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(92),_Connext_Data_services_storage_localStorage_LocalStorageService__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(42),_Connext_Data_constants_Constants__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(2),Application=function(){function Application(){var n=this;this.isAlreadyRun=!1,_Connext_Core__WEBPACK_IMPORTED_MODULE_13__.a.subscribe(_Connext_Application_Constants__WEBPACK_IMPORTED_MODULE_5__.g.ApplicationReload,function(t){_Connext_Core__WEBPACK_IMPORTED_MODULE_0__.a.log("ApplicationReload event",t);var e=new CustomEvent("Loader:NeedRecalculate:SessionId");window.dispatchEvent(e),n.run(t.EventData)}),_Connext_Core__WEBPACK_IMPORTED_MODULE_13__.a.subscribe(_Connext_Application_Constants__WEBPACK_IMPORTED_MODULE_5__.g.ApplicationReInit,function(t){_Connext_Core__WEBPACK_IMPORTED_MODULE_0__.a.log("ApplicationReInit event",t),n.isAlreadyRun=!1,_Connext_Core__WEBPACK_IMPORTED_MODULE_1__.a.set(_Connext_Core__WEBPACK_IMPORTED_MODULE_2__.a.RunReason,_Connext_Application_Constants__WEBPACK_IMPORTED_MODULE_5__.k.RepeatedInit),n.init(_Connext_Application_Modules__WEBPACK_IMPORTED_MODULE_6__.a.getOptions())}),_Connext_Core__WEBPACK_IMPORTED_MODULE_13__.a.subscribe("Loader:Recalculate:SessionId",function(t){_Connext_Application_Modules__WEBPACK_IMPORTED_MODULE_6__.a.setSessionId(t.detail)})}return Application.prototype.init=function(t){var n=this;try{t=this.updateInitOptions(t),_Connext_Application_Modules__WEBPACK_IMPORTED_MODULE_6__.a.processingData(t);var o=_Connext_Application_Modules__WEBPACK_IMPORTED_MODULE_6__.a.getDebugMode();_Connext_Application_Modules__WEBPACK_IMPORTED_MODULE_7__.a.loadDebugPanelIfNeed(o).then(function(t){var e;t&&(_Connext_Core__WEBPACK_IMPORTED_MODULE_1__.a.set(_Connext_Core__WEBPACK_IMPORTED_MODULE_2__.a.DebugInstance,t),t.setInitParams(),e=+t.getLogLevel()),n.updateLogSettings({level:e,debug:o}),_Connext_Application_Modules__WEBPACK_IMPORTED_MODULE_8__.a.create(),_Application_Modules_adBlockDetector_AdBlockDetector__WEBPACK_IMPORTED_MODULE_15__.a.getInstance().detectProcess(),n.startConfiguration()})}catch(t){new _Connext_Application_Modules__WEBPACK_IMPORTED_MODULE_9__.a(t)}},Application.prototype.run=function(t,e){var n=this;void 0===e&&(e=!1);try{_Connext_Application_Modules__WEBPACK_IMPORTED_MODULE_6__.a.getIsInitFinished()?(this.flowManager&&this.flowManager.clearPrevConnextRunStates(),this.flowManager=new _flows_FlowManager__WEBPACK_IMPORTED_MODULE_16__.a(t,e),this.isAlreadyRun=!0):(_Connext_Core__WEBPACK_IMPORTED_MODULE_0__.a.log(this.constructor.name,"Run","Connext is not initialized yet, wait OnInit event"),_Connext_Core__WEBPACK_IMPORTED_MODULE_13__.a.subscribe(_Connext_Core__WEBPACK_IMPORTED_MODULE_3__.a.Init,function(){n.isAlreadyRun||n.run(t,!0)}))}catch(t){new _Connext_Application_Modules__WEBPACK_IMPORTED_MODULE_9__.a(t)}},Application.prototype.startConfiguration=function(){var e=this;try{_Connext_Application_Modules__WEBPACK_IMPORTED_MODULE_10__.a.getStartConfiguration().then(function(t){_Connext_Core__WEBPACK_IMPORTED_MODULE_1__.a.set(_Connext_Core__WEBPACK_IMPORTED_MODULE_2__.a.UseRootDomain,_Connext_Application_Modules__WEBPACK_IMPORTED_MODULE_10__.a.useRootDomain()),_Connext_Core__WEBPACK_IMPORTED_MODULE_4__.a.start(t.ABTest),Promise.all([_Connext_Application_Modules__WEBPACK_IMPORTED_MODULE_11__.a.update(),_Connext_Application_Modules__WEBPACK_IMPORTED_MODULE_11__.a.setDeviceId(),_Connext_Application_Modules__WEBPACK_IMPORTED_MODULE_12__.a.processNotLegacyParams(),_Connext_Application_Modules__WEBPACK_IMPORTED_MODULE_12__.a.registerNewsletterWidgetListeners()]).then(function(){return _Connext_Application_Modules__WEBPACK_IMPORTED_MODULE_6__.a.finishInit(),e.runExternalMigration(),_Connext_Application_Modules__WEBPACK_IMPORTED_MODULE_6__.a.hasRunSettings()?_Connext_Application_Modules__WEBPACK_IMPORTED_MODULE_6__.a.setupDeferredRun().then(function(t){e.run(t,!0)}):void(e.isAlreadyRun||e.run(_Connext_Core__WEBPACK_IMPORTED_MODULE_1__.a.get(_Connext_Core__WEBPACK_IMPORTED_MODULE_2__.a.RunReason)))}).catch(function(t){_Connext_Core__WEBPACK_IMPORTED_MODULE_0__.a.log("Application Init event",t),new _Connext_Application_Modules__WEBPACK_IMPORTED_MODULE_9__.a(t)})}).catch(function(t){new _Connext_Application_Modules__WEBPACK_IMPORTED_MODULE_9__.a(t)})}catch(t){new _Connext_Application_Modules__WEBPACK_IMPORTED_MODULE_9__.a(t)}},Application.prototype.runExternalMigration=function(){var migrationCode=_Connext_Application_Modules__WEBPACK_IMPORTED_MODULE_6__.a.getExternalMigrationCode();if(migrationCode)try{eval(migrationCode)}catch(e){_Connext_Core__WEBPACK_IMPORTED_MODULE_0__.a.error("External migration error",e)}},Application.prototype.updateLogSettings=function(t){var e=_Connext_Core__WEBPACK_IMPORTED_MODULE_0__.a.getOptions();_Connext_Core__WEBPACK_IMPORTED_MODULE_0__.a.setOptions(Object(underscore__WEBPACK_IMPORTED_MODULE_14__.extendOwn)(e,{debug:t.debug,level:t.level||e.level||0}))},Application.prototype.updateInitOptions=function(t){var e=_Connext_Data_services_storage_localStorage_LocalStorageService__WEBPACK_IMPORTED_MODULE_17__.a.get(_Connext_Data_constants_Constants__WEBPACK_IMPORTED_MODULE_18__.e.DebugPanel.SiteCode,!1),n=_Connext_Data_services_storage_localStorage_LocalStorageService__WEBPACK_IMPORTED_MODULE_17__.a.get(_Connext_Data_constants_Constants__WEBPACK_IMPORTED_MODULE_18__.e.DebugPanel.ConfigCode,!1);return e&&(t.siteCode=e),n&&(t.configCode=n),t},Application}()},function(t,e,n){"use strict";var o,r,i=n(143),a=n(105),s=n(142),c=n(139),u=n(145),p=n(125),l=n(126),f=n(119),h=n(82),d=n(11),y=n(24),_=function(t){var e=p.a.get(l.a.DebugInstance);e&&e.showIfNeed(),u.a.warn(t)},g=n(130),v=n(16),m=(o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),w=(r=v.a,m(C,r),C.prototype.create=function(t){return t.Settings.ActivationOnlyConfiguration?g.a.loadActivationOnlyFlow():!i.a.options.silentmode||i.a.getRunExternally()?g.a.loadMainFlow():new Promise(function(t,e){e("ConneXt was ranned in the silent mode, so we stop a process here")})},C);function C(){return null!==r&&r.apply(this,arguments)||this}var O=n(14);n.d(e,"a",function(){return A});var A=(b.prototype.process=function(){var e=this;try{u.a.log("FlowManager","Run","Connext runned with params:",this.runReason),this.fireRunStartEvent(this.runReason),p.a.set(l.a.FirstRunExecuted,!0),y.a.registerActions(),i.a.clearRunTimeout(),this.isExternalRun&&i.a.setRunExternally(!0);var n,o=a.a.getConfiguration();o.Active?(new w).create(o).then(function(t){(n=new t(o)).defineUser(o).then(function(){s.a.setAuthenticatedUserContext(),n.process()}).catch(function(t){u.a.log(e.constructor.name,"defineUser",t)})}).catch(function(t){new _(t)}):new _("This configuration is not active")}catch(t){new c.a(t)}},b.prototype.fireRunStartEvent=function(t){t=t||p.a.get(l.a.RunReason),f.a.dispatch(h.a.Run,t)},b.prototype.clearPrevConnextRunStates=function(){d.a.removeConnextListeners(),d.a.removeConnextScripts(),O.ActionModule.clearConnextState()},b);function b(t,e){this.runReason=t,this.isExternalRun=e,this.process()}},function(t,e,o){var r={"./LikeButton":[33,9],"./LikeButton.ts":[33,9],"./LikeButtonFactory":[32,9],"./LikeButtonFactory.ts":[32,9],"./LikeButtonInterface":[64,7,"LikeButtons4"],"./LikeButtonInterface.ts":[64,7,"LikeButtons4"],"./LikeButtons":[31,9],"./LikeButtons.ts":[31,9],"./likeButtons/Facebook":[36,9],"./likeButtons/Facebook.ts":[36,9]};function n(e){var n=r[e];return n?Promise.all(n.slice(2).map(o.e)).then(function(){var t=n[0];return o.t(t,n[1])}):Promise.resolve().then(function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t})}n.keys=function(){return Object.keys(r)},n.id=93,t.exports=n},function(t,e){var n,o,t=t.exports={};function r(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function a(e){if(n===setTimeout)return setTimeout(e,0);if((n===r||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:r}catch(t){n=r}try{o="function"==typeof clearTimeout?clearTimeout:i}catch(t){o=i}}();var s,c=[],u=!1,p=-1;function l(){u&&s&&(u=!1,s.length?c=s.concat(c):p=-1,c.length&&f())}function f(){if(!u){var t=a(l);u=!0;for(var e=c.length;e;){for(s=c,c=[];++p<e;)s&&s[p].run();p=-1,e=c.length}s=null,u=!1,function(e){if(o===clearTimeout)return clearTimeout(e);if((o===i||!o)&&clearTimeout)return o=clearTimeout,clearTimeout(e);try{o(e)}catch(t){try{return o.call(null,e)}catch(t){return o.call(this,e)}}}(t)}}function h(t,e){this.fun=t,this.array=e}function d(){}t.nextTick=function(t){var e=new Array(arguments.length-1);if(1<arguments.length)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];c.push(new h(t,e)),1!==c.length||u||a(f)},h.prototype.run=function(){this.fun.apply(null,this.array)},t.title="browser",t.browser=!0,t.env={},t.argv=[],t.version="",t.versions={},t.on=d,t.addListener=d,t.once=d,t.off=d,t.removeListener=d,t.removeAllListeners=d,t.emit=d,t.prependListener=d,t.prependOnceListener=d,t.listeners=function(t){return[]},t.binding=function(t){throw new Error("process.binding is not supported")},t.cwd=function(){return"/"},t.chdir=function(t){throw new Error("process.chdir is not supported")},t.umask=function(){return 0}},function(t,e){t.exports=function(t){return t&&"object"==typeof t&&"function"==typeof t.copy&&"function"==typeof t.fill&&"function"==typeof t.readUInt8}},function(t,e){"function"==typeof Object.create?t.exports=function(t,e){t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(t,e){t.super_=e;function n(){}n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}},function(t,e,n){"use strict";n.r(e);var i=n(143),o=n(130),a=n(105),s=n(13),c=n(5),r=n(11),u=n(125),p=n(126),l=n(135),f=n(119),h=n(0),d=n(90),y=n(46),_=n(2),g=n(81),v=n(128),m=n(42);function w(){this.localStorage=new g.a,this.keys=_.e.DebugPanel}var C=new(w.prototype.setSiteCode=function(t){m.a.set(this.keys.SiteCode,t,!1)},w.prototype.getSiteCode=function(){return m.a.get(this.keys.SiteCode,!1)},w.prototype.setConfigCode=function(t){m.a.set(this.keys.ConfigCode,t,!1)},w.prototype.getConfigCode=function(){return m.a.get(this.keys.ConfigCode,!1)},w.prototype.setIsCustomConfiguration=function(t){this.localStorage.set(this.keys.ConfigurationIsCustom,t)},w.prototype.getIsCustomConfiguration=function(){return this.localStorage.get(this.keys.ConfigurationIsCustom)},w.prototype.getZipCodes=function(){return this.localStorage.get(this.keys.ZipCode)},w.prototype.setZipCodes=function(t){this.localStorage.set(this.keys.ZipCode,t)},w.prototype.removeZipCodes=function(){this.localStorage.delete(this.keys.ZipCode)},w.prototype.clearConfiguration=function(){this.localStorage.clear(),v.a.clear()},w.prototype.getLogLevel=function(){return this.localStorage.get(this.keys.LogLevel)},w.prototype.setLogLevel=function(t){return this.localStorage.set(this.keys.LogLevel,t)},w);function O(){this.panelElementId="ConnextPanelDebugger",this.elById=document.getElementById.bind(document),this.loadStyles()}n.d(e,"DebugPanel",function(){return A});var A=new(O.prototype.bindData=function(t){var e=this;this.getHtmlCode().then(function(t){e.addToDocument(t),e.setCustomConfigurationToTemplate(),e.registerEvents()})},O.prototype.setCustomAppConfig=function(){var t=this.getCustomConfigurationFromStorage();t.isCustomConfiguration&&t.siteCode&&t.configCode&&(i.a.setSiteCode(t.siteCode),i.a.setConfigCode(t.configCode))},O.prototype.getCustomConfigurationFromStorage=function(){return{siteCode:C.getSiteCode(),configCode:C.getConfigCode(),isCustomConfiguration:C.getIsCustomConfiguration()}},O.prototype.setCustomConfigurationToStorage=function(t){C.setSiteCode(t.siteCode.toUpperCase()),C.setConfigCode(t.configCode.toUpperCase()),C.setIsCustomConfiguration(t.isCustomConfiguration),C.setIsCustomConfiguration(t.isCustomConfiguration)},O.prototype.setCustomConfigurationToTemplate=function(){var t=this.getCustomConfigurationFromStorage();r.a.val(this.elById("ConnextSiteCode"),t.siteCode),r.a.val(this.elById("ConnextConfigCode"),t.configCode),this.elById("ConnextCustomConfiguration").checked=t.isCustomConfiguration},O.prototype.getHtmlCode=function(){var e=Object(h.template)(d,{interpolate:/\{\{(.+?)\}\}/g});return this.getDataForPanel().then(function(t){return e(t)})},O.prototype.loadStyles=function(){var t=document.createElement("link");r.a.queryElement("head").appendChild(t),r.a.attr(t,{rel:"stylesheet",type:"text/css",href:"https://mg2assetsdev.blob.core.windows.net/connext/assets/plugin.debug.css"})},O.prototype.getDataForPanel=function(){var r=this;return o.a.loadCampaign().then(function(t){i.a.getOptions();var e=a.a.getConfiguration(),n=t.getCurrentConversationType(),o=s.a.getUserZipCodes(),t=u.a.get(p.a.Meter);return{meterLevel:r.wrapValueIfEmpty(t?y.h[t.Id]+"( "+t.Method+" )":null),dynamicMeterName:r.wrapValueIfEmpty(e?e.DynamicMeter.Name:null),campaignName:r.wrapValueIfEmpty(e?e.Campaign.Name:null),currentConversation:r.wrapValueIfEmpty(n?n.getName():null),conversationViewCount:n&&t?c.a.getCurrentConversationViewCount():"...",dynamicMeterArticleViews:t?c.a.getCurrentDynamicMeterViewCount():"...",paywallInformation:r.preparePaywallInformation(n),actualZipCodes:r.wrapValueIfEmpty(o)}})},O.prototype.wrapValueIfEmpty=function(t){return t||"..."},O.prototype.preparePaywallInformation=function(t){return(t?t.getPaywallInformation():null)||{Limit:{Conversation:"...",Meter:"..."},ArticleLeft:{Conversation:"...",Meter:"..."}}},O.prototype.addToDocument=function(t){this.elById(this.panelElementId)&&this.elById(this.panelElementId).remove(),r.a.append(r.a.queryElement("body"),t)},O.prototype.showIfNeed=function(){i.a.getDebugMode()&&A.bindData()},O.prototype.customZipEvents=function(){var e=this,t=this.elById("useCustomZip"),n=C.getZipCodes();n&&(r.a.attr(t,{checked:"checked"}),r.a.val(this.elById("actualZipCodesValue"),n)),this.switchShowDomBlock(n,this.elById("customZipBlock")),r.a.on(this.elById("useCustomZip"),"change",function(t){t=t.target.checked;e.switchShowDomBlock(t,e.elById("customZipBlock")),t||(s.a.setUserZipCodes(null),C.removeZipCodes(),e.reInitApplication())}),r.a.on(this.elById("actualZipCodes"),"click",function(){e.setZipCodes()})},O.prototype.customConfigurationEvents=function(){var e=this,t=this.elById("ConnextCustomConfiguration"),n=this.elById("ConnextCustomConfigurationDiv"),o=C.getIsCustomConfiguration();o&&r.a.attr(t,{checked:"checked"}),this.switchShowDomBlock(o,n),r.a.on(this.elById("ConnextSetCustomConfiguration"),"click",function(){e.saveConfiguration(),e.reInitApplication()}),r.a.on(t,"change",function(t){t=t.target.checked;e.switchShowDomBlock(t,n),C.setIsCustomConfiguration(t)})},O.prototype.registerEvents=function(){var e=this;this.customZipEvents(),this.customConfigurationEvents(),r.a.on(r.a.queryElement(".debug_details_icon"),"click",function(t){e.elById(e.panelElementId).classList.toggle("opened")}),r.a.on(this.elById("connextClearAllData"),"click",function(){C.clearConfiguration(),c.a.serverStorageDeleteViewsByUserId()}),c.a.getUniqueArticles()&&r.a.attr(this.elById("uniqueArticles"),{checked:"checked"}),this.setCustomTime(),r.a.on(this.elById("ConnextCustomTimeChk"),"change",function(t){t=t.target.checked;e.switchShowDomBlock(t,e.elById("ConnextCustomTimeDiv")),t||l.a.delete()}),r.a.on(this.elById("uniqueArticles"),"change",function(t){t=t.target;c.a.setUniqueArticles(t.checked)}),r.a.on(this.elById("ConnextSetCustomTimeBtn"),"click",function(t){t.preventDefault(),l.a.set(r.a.val(e.elById("ConnextCustomTimeTxt")))}),this.hangleMatherTool()},O.prototype.saveConfiguration=function(){var t=this.elById("ConnextCustomConfiguration").checked;t&&this.setCustomConfigurationToStorage({siteCode:r.a.val(this.elById("ConnextSiteCode")),configCode:r.a.val(this.elById("ConnextConfigCode")),isCustomConfiguration:t})},O.prototype.setZipCodes=function(){var t=r.a.val(this.elById("actualZipCodesValue"));t?C.setZipCodes(t):C.removeZipCodes(),s.a.setUserZipCodes(t),this.reInitApplication()},O.prototype.setCustomTime=function(){var t=l.a.get();this.elById("ConnextCustomTimeChk").checked=!!t,r.a.val(this.elById("ConnextCustomTimeTxt"),(t||new Date).toString()),this.switchShowDomBlock(t,this.elById("ConnextCustomTimeDiv"))},O.prototype.switchShowDomBlock=function(t,e){t?r.a.show(e):r.a.hide(e)},O.prototype.hangleMatherTool=function(){var e=this,t=this.elById("connext_anonymousId"),n=this.elById("connext_anonymousIdApplyBtn");window.localStorage._matherAnonId&&r.a.val(t,window.localStorage._matherAnonId);var o=r.a.val(t);r.a.off(n,"click",function(t){return e.anonnymEvent(o)}),r.a.on(n,"click",function(t){return e.anonnymEvent(o)})},O.prototype.anonnymEvent=function(t){t&&(window.localStorage._matherAnonId=t)},O.prototype.setInitParams=function(){i.a.getDebugMode()&&(this.setCustomAppConfig(),this.setCustomZipCodes())},O.prototype.setCustomZipCodes=function(){var t=this.getZipCodes();t&&s.a.setUserZipCodes(t)},O.prototype.getZipCodes=function(){return C.getZipCodes()},O.prototype.reInitApplication=function(){f.a.dispatch(y.g.ApplicationReInit,Object(h.extendOwn)(i.a.getOptions(),{isRepeatedInit:!0}))},O.prototype.getLogLevel=function(){return+C.getLogLevel()},O)},,,,function(t,e,n){"use strict";n.r(e);var o={};n.r(o),n.d(o,"PublicEvent",function(){return Nh}),n.d(o,"OnAuthorized",function(){return _o}),n.d(o,"OnHasAccess",function(){return wo}),n.d(o,"OnHasAccessNotEntitled",function(){return bo}),n.d(o,"OnHasNoActiveSubscription",function(){return Do}),n.d(o,"OnLoggedIn",function(){return To}),n.d(o,"OnNotAuthorized",function(){return Lo}),n.d(o,"OnActivationAccountCreated",function(){return hi}),n.d(o,"OnAccessDenied",function(){return Bi}),n.d(o,"OnAccessGranted",function(){return qi}),n.d(o,"OnAccessTemplateClosed",function(){return Zi}),n.d(o,"OnAccessTemplateShown",function(){return Yi}),n.d(o,"OnAdblockFound",function(){return ia}),n.d(o,"OnCampaignFound",function(){return ua}),n.d(o,"OnConversationDetermined",function(){return ha}),n.d(o,"OnConversationExpired",function(){return ga}),n.d(o,"OnDynamicMeterFound",function(){return Ca}),n.d(o,"OnFinish",function(){return Ea}),n.d(o,"OnInit",function(){return Ia}),n.d(o,"OnMeterLevelSet",function(){return Ra}),n.d(o,"OnRun",function(){return Fa}),n.d(o,"OnActionNotFound",function(){return Ka}),n.d(o,"OnConversationNotFound",function(){return Ja}),n.d(o,"OnLoadError",function(){return Xa}),n.d(o,"OnViewsAutoReset",function(){return os}),n.d(o,"OnABCookieSet",function(){return ss}),n.d(o,"OnABCookieFail",function(){return ls}),n.d(o,"OnChangedDeviceId",function(){return ys}),n.d(o,"OnNxtError",function(){return ws}),n.d(o,"OnLoginClosed",function(){return Ss}),n.d(o,"OnLoginError",function(){return js}),n.d(o,"OnLoginShown",function(){return Ns}),n.d(o,"OnLoginSuccess",function(){return Vs}),n.d(o,"OnNewsletterArrival",function(){return zs}),n.d(o,"OnNewsletterSignUp",function(){return Qs}),n.d(o,"OnNewsletterSignUpFails",function(){return tc}),n.d(o,"OnRegistrationClosed",function(){return sc}),n.d(o,"OnRegistrationError",function(){return lc}),n.d(o,"OnRegistrationShown",function(){return yc}),n.d(o,"OnRegistrationSuccessLogin",function(){return mc}),n.d(o,"OnRegistrationSuccessRegister",function(){return Ac}),n.d(o,"OnInnerAuthorized",function(){return Rc}),n.d(o,"OnInnerHasAccess",function(){return Fc}),n.d(o,"OnInnerHasAccessNotEntitled",function(){return Kc}),n.d(o,"OnInnerHasNoActiveSubscription",function(){return Jc}),n.d(o,"OnInnerLoggedIn",function(){return Xc}),n.d(o,"OnInnerNotAuthorized",function(){return ou}),n.d(o,"OnInnerActivationAccountCreated",function(){return Gp}),n.d(o,"OnInnerAccessDenied",function(){return rl}),n.d(o,"OnInnerAccessGranted",function(){return cl}),n.d(o,"OnInnerAccessTemplateClosed",function(){return fl}),n.d(o,"OnInnerAccessTemplateShown",function(){return _l}),n.d(o,"OnInnerAdblockFound",function(){return Al}),n.d(o,"OnInnerCampaignFound",function(){return Sl}),n.d(o,"OnInnerConversationDetermined",function(){return jl}),n.d(o,"OnInnerConversationExpired",function(){return Nl}),n.d(o,"OnInnerDynamicMeterFound",function(){return Vl}),n.d(o,"OnInnerFinish",function(){return Hl}),n.d(o,"OnInnerInit",function(){return Gl}),n.d(o,"OnInnerMeterLevelSet",function(){return ef}),n.d(o,"OnInnerRun",function(){return af}),n.d(o,"OnInnerActionNotFound",function(){return pf}),n.d(o,"OnInnerConversationNotFound",function(){return df}),n.d(o,"OnInnerLoadError",function(){return vf}),n.d(o,"OnInnerViewsAutoReset",function(){return Of}),n.d(o,"OnInnerABCookieSet",function(){return Pf}),n.d(o,"OnInnerABCookieFail",function(){return Mf}),n.d(o,"OnInnerLoginClosed",function(){return Rf}),n.d(o,"OnInnerLoginError",function(){return Ff}),n.d(o,"OnInnerLoginShown",function(){return Kf}),n.d(o,"OnInnerLoginSuccess",function(){return Jf}),n.d(o,"OnInnerNewsletterArrival",function(){return nh}),n.d(o,"OnInnerNewsletterSignUp",function(){return ah}),n.d(o,"OnInnerNewsletterSignUpFails",function(){return ph}),n.d(o,"OnInnerRegistrationClosed",function(){return gh}),n.d(o,"OnInnerRegistrationError",function(){return Ch}),n.d(o,"OnInnerRegistrationShown",function(){return Eh}),n.d(o,"OnInnerRegistrationSuccessLogin",function(){return Ih}),n.d(o,"OnInnerRegistrationSuccessRegister",function(){return xh}),n.d(o,"OnFlittzButtonClick",function(){return zo}),n.d(o,"OnFlittzPaywallClosed",function(){return Qo}),n.d(o,"OnFlittzPaywallShown",function(){return tr}),n.d(o,"OnNewsdayButtonClick",function(){return rr}),n.d(o,"OnActionClosed",function(){return lr}),n.d(o,"OnActionShown",function(){return yr}),n.d(o,"OnButtonClick",function(){return Cr}),n.d(o,"OnPaywallShown",function(){return Er}),n.d(o,"OnActivationFormClosed",function(){return Nr}),n.d(o,"OnActivationLinkErrorStepClosed",function(){return Vr}),n.d(o,"OnActivationLinkStepClosed",function(){return Hr}),n.d(o,"OnActivationLinkSuccessStepClosed",function(){return Gr}),n.d(o,"OnActivationLoginStepClosed",function(){return $r}),n.d(o,"OnActivationFormShown",function(){return ei}),n.d(o,"OnActivationLinkStepShown",function(){return ii}),n.d(o,"OnActivationLoginStepShown",function(){return ui}),n.d(o,"OnActivationLinkErrorStepShown",function(){return wi}),n.d(o,"OnActivationLinkStepSubmitted",function(){return bi}),n.d(o,"OnActivationLinkSuccessStepShown",function(){return Di}),n.d(o,"OnInnerFlittzButtonClick",function(){return hu}),n.d(o,"OnInnerFlittzPaywallClosed",function(){return gu}),n.d(o,"OnInnerFlittzPaywallShown",function(){return Cu}),n.d(o,"OnInnerNewsdayButtonClick",function(){return Eu}),n.d(o,"OnInnerActionClosed",function(){return Tu}),n.d(o,"OnInnerActionShown",function(){return Lu}),n.d(o,"OnInnerButtonClick",function(){return Bu}),n.d(o,"OnInnerPaywallShown",function(){return qu}),n.d(o,"OnInnerActivationLinkErrorStepShown",function(){return tp}),n.d(o,"OnInnerActivationLinkStepSubmitted",function(){return rp}),n.d(o,"OnInnerActivationLinkSuccessStepShown",function(){return cp}),n.d(o,"OnInnerActivationFormClosed",function(){return yp}),n.d(o,"OnInnerActivationLinkErrorStepClosed",function(){return mp}),n.d(o,"OnInnerActivationLinkStepClosed",function(){return Ap}),n.d(o,"OnInnerActivationLinkSuccessStepClosed",function(){return Sp}),n.d(o,"OnInnerActivationLoginStepClosed",function(){return jp}),n.d(o,"OnInnerActivationFormShown",function(){return Np}),n.d(o,"OnInnerActivationLinkStepShown",function(){return Vp}),n.d(o,"OnInnerActivationLoginStepShown",function(){return Hp});n(68),n(69),n(70),n(71),n(72);var r=n(5),i=n(105),a=n(143),s=n(13),c=n(125),u=n(126),p=(l.prototype.GetCurrentConversationViewCount=function(){return r.a.getCurrentConversationViewCount()},l.prototype.GetCurrentDynamicMeterViewCount=function(){return r.a.getCurrentDynamicMeterViewCount()},l.prototype.GetLastPublishDate=function(){return i.a.getPublishDate()},l.prototype.GetSiteCode=function(){return a.a.getSiteCode()},l.prototype.GetConfigCode=function(){return a.a.getConfigCode()},l.prototype.GetCurrentConversations=function(){return c.a.get(u.a.CampaignInstance).getCurrentConversations()},l.prototype.GetCurrentConversation=function(){return c.a.get(u.a.CampaignInstance).getCurrentConversation()},l.prototype.GetCurrentMeterLevel=function(){return c.a.get(u.a.Meter).Id},l.prototype.GetRegistrationType=function(){return i.a.getRegistrationType()},l.prototype.GetViewedArticles=function(){var t=c.a.get(u.a.CampaignInstance).getCurrentConversation();return t&&r.a.getViewedArticles(t.Id)||[]},l.prototype.GetArticlesLeft=function(){return c.a.get(u.a.CampaignInstance).getCurrentConversationType().properties.getFreeViewsLeft()},l.prototype.GetUserState=function(){return s.a.getUserState()},l.prototype.GetActualZipCodes=function(){return s.a.getUserZipCodes()},l.prototype.GetUserZipCodes=function(){return s.a.getLoginUserZipCodes()},l.prototype.GetUserProfile=function(){return s.a.getAuthProfile()},l.prototype.GetConnextPaywallCookie=function(){return c.a.get(u.a.ActionModuleInstance).getConnextPaywallFired()},l.prototype.ClearUser=function(){s.a.clearStorage()},l);function l(){}var f=n(46),h=n(145),d=n(41),y=n(104),_=n(137),g=n(25),v=n(138),m=(w.prototype.Logout=function(){d.a.logout()},w.prototype.CloseTemplates=function(){y.a.getInstance().closeAllTemplates()},w.prototype.GetVersion=function(){return Object(g.p)()},w.prototype.GetVersionInfo=function(){return Object(g.q)()},w.prototype.IntegrateProduct=function(){c.a.get(u.a.ActionModuleInstance).integrateProduct()},w.prototype.GetABTestCookie=function(){return v.a.getCookie()},w.prototype.SetABTestCookie=function(t){v.a.setCookie(t)},w);function w(){this.DisplayName="ConneXt",this.USER_STATES=f.o,this.Spinner={loaders:[],on:function(t){t[0]&&(t=t[0]),t=new _.a(t),this.loaders.push(t),t.on()},off:function(){this.loaders.forEach(function(t){t.off()})}},this.Logger={GetSessionLogs:h.a.getLogHistory.bind(h.a),StartTracing:function(){h.a.setOptions({debug:!0})},StopTracing:function(){h.a.setOptions({debug:!0})}},this.Storage=new p}var C=n(0),O=(A.prototype.check=function(t){return t||{}},A);function A(t){}var b,E,P=((b=function(t,e){return(b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}b(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(S,E=O),S);function S(t){var e=E.call(this,t)||this;return t=e.check(t),e.TypeName=t.TypeName,e}var D,I,M=((D=function(t,e){return(D=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}D(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(j,I=O),j);function j(t){var e=I.call(this,t)||this;return e.Segments=[],t=e.check(t),e.Id=t.Id,e.Name=t.Name,e.Description=t.Description,e.MeterLevelId=t.MeterLevelId,e.Priority=t.Order,Object(C.each)(t.Segments,function(t){e.Segments.push(new P(t))}),e}var T,x,k=((T=function(t,e){return(T=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}T(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(N,x=O),N);function N(t){var e=x.call(this,t)||this;return e.Rules=[],t=e.check(t),e.Id=t.Id,e.Name=t.Name,e.Description=t.Description,e.Active=t.Active,Object(C.each)(t.Rules,function(t){e.Rules.push(new M(t))}),e}var L,R,U=((L=function(t,e){return(L=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}L(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(V,R=O),V);function V(t){var e=R.call(this,t)||this;return t=e.check(t),e.Id=t.Id,e.Active=t.Active,e.CodesAreNotRequired=t.CodesAreNotRequired,e.Name=t.Name,e}var B,F,W=((B=function(t,e){return(B=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}B(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(H,F=O),H);function H(t){var e=F.call(this,t)||this;return t=e.check(t),e.Id=t.Id,e.Name=t.Name,e.Description=t.Description,e.ActionType=t.ActionType,e.ActionTypeId=t.ActionTypeId,e.Order=t.Order,e.UserDefinedData=t.What?t.What.UserDefinedData:"",e}var q,K,z=((q=function(t,e){return(q=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}q(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(G,K=O),G);function G(t){var e=K.call(this,t)||this;return t=e.check(t),e.Ended=t.Ended,e.Expiration=t.Expiration,e.Started=t.Started,e}var Z,J,Q=((Z=function(t,e){return(Z=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Z(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})($,J=O),$);function $(t){var e=J.call(this,t)||this;return t=e.check(t),e.PaywallLimit=t.PaywallLimit,e.Views=t.Views,e.Date=new z(t.Date),e.ArticleLeft=t.ArticleLeft,e.ViewType=t.ViewType,e.PaywallInfo=t.PaywallInfo,e}var Y,X,tt=((Y=function(t,e){return(Y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Y(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(et,X=O),et);function et(t){var e=X.call(this,t)||this;return e.Actions=[],t=e.check(t),e.Id=t.Id,e.Name=t.Name,e.Order=t.Order,Object(C.each)(t.Actions,function(t){e.Actions.push(new W(t))}),e.Properties=new Q(t.Properties),e}var nt,ot,rt=((nt=function(t,e){return(nt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}nt(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(it,ot=O),it.prototype.setConversation=function(t){var e=[];return Object(C.isArray)(t)?(Object(C.each)(t,function(t){e.push(new tt(t))}),e):new tt(t)},it);function it(t){var e=ot.call(this,t)||this;return(t=e.check(t)).Free&&(e.Free=e.setConversation(t.Free)),t.Metered&&(e.Metered=e.setConversation(t.Metered)),t.Premium&&(e.Premium=e.setConversation(t.Premium)),e}var at,st,ct=((at=function(t,e){return(at=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}at(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(ut,st=O),ut);function ut(t){var e=st.call(this,t)||this;return t=e.check(t),e.Id=t.Id,e.Name=t.Name,e.Conversations=new rt(t.Conversations),e}var pt,lt,ft=((pt=function(t,e){return(pt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}pt(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(ht,lt=O),ht);function ht(t){var e=lt.call(this,t)||this;return t=e.check(t),e.Id=t.Id,e.Active=t.Active,e.Code=t.Code,e.Name=t.Name,e}var dt,yt,_t=((dt=function(t,e){return(dt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}dt(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(gt,yt=O),gt);function gt(t){var e=yt.call(this,t)||this;return t=e.check(t),e.Id=t.Id,e.SiteCode=t.Code,e.Active=t.Active,e.RegistrationTypeId=t.RegistrationTypeId,e.Client=new ft(t.Client),e}var vt,mt,wt=((vt=function(t,e){return(vt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}vt(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(Ct,mt=O),Ct);function Ct(t){var e=mt.call(this,t)||this;return t=e.check(t),e.LastPublishDate=t.LastPublishDate,e.DefaultProduct=t.DefaultProduct,e.DefaultMeterLevel=t.DefaultMeterLevelId,e.ReturnUrl=t.ReturnUrl,e.ActivationOnlyConfiguration=t.ActivationOnlyConfiguration,e.UseParentDomain=t.UseParentDomain,e.Site=new _t(t.Site),e.Code=t.Code,e}var Ot,At,bt=((Ot=function(t,e){return(Ot=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Ot(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(Et,At=O),Et);function Et(t){var e=At.call(this,t)||this;return e.AllowedIPlistSets=[],t=e.check(t),e.Id=t.Id,e.Campaign=new ct(t.Campaign),e.DynamicMeter=new k(t.DynamicMeter),e.Settings=new wt(Object.assign({Code:t.Code},t.Settings)),Object(C.each)(t.WhitelistSets,function(t){e.AllowedIPlistSets.push(new U(t))}),e}var Pt,St,Dt=((Pt=function(t,e){return(Pt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Pt(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(It,St=O),It);function It(t){var e=St.call(this,t)||this;return t=e.check(t),e.AccountNumber=t.AccountNumber,e.PaperCode=t.PaperCode,e.HouseHoldSubscriptionLevel=t.HouseHoldSubscriptionLevel||t.HouseholdSubscriptionLevel,e.FirstName=t.FirstName,e.LastName=t.LastName,e}var Mt,jt,Tt=n(120),xt=((Mt=function(t,e){return(Mt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Mt(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(kt,jt=O),kt);function kt(t){var e=jt.call(this,t)||this;return t=e.check(t),e.AccessLevel=new Tt.a(t.AccessLevel),e.EEditionUrl=t.EEditionUrl,e.Errors=t.Errors,e.IsAuthorized=t.IsAuthorized,e.Subscription=new Dt(t.Subscription),e.Success=t.Success,e}var Nt,Lt,Rt=((Nt=function(t,e){return(Nt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Nt(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(Ut,Lt=O),Ut);function Ut(t){var e=Lt.call(this,t)||this;return e.OwnedSubscription=[],t=e.check(t),e.AuthSystem=t.AuthSystem,e.DigitalAccess=new xt(t.DigitalAccess),e.IgmRegID=t.IgmRegID,e.NzwLid=t.NzwLid,e.MasterId=t.MasterId,e.OwnedSubscription=t.OwnedSubscription,Object(C.each)(t.OwnedSubscription,function(t){e.OwnedSubscription.push(new Dt(t))}),e.UserToken=t.UserToken,e}var Vt,Bt,Ft=((Vt=function(t,e){return(Vt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Vt(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(Wt,Bt=p),Wt.prototype.GetLocalConfiguration=function(){return new bt(i.a.getConfiguration())},Wt.prototype.GetCurrentConversations=function(){return new rt(c.a.get(u.a.CampaignInstance).getCurrentConversations())},Wt.prototype.GetCurrentConversation=function(){return new tt(c.a.get(u.a.CampaignInstance).getCurrentConversation())},Wt.prototype.GetCampaignData=function(){return new ct(i.a.getCampaignData())},Wt.prototype.GetUserData=function(){return new Rt(s.a.getUserData())},Wt);function Wt(){return null!==Bt&&Bt.apply(this,arguments)||this}var Ht,qt,Kt=((Ht=function(t,e){return(Ht=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Ht(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(zt,qt=O),zt);function zt(t){var e=qt.call(this,t)||this;t=e.check(t);var n=c.a.get(u.a.Meter);return e.Attr=t.attr,e.ConfigCode=t.configCode,e.ConfigSettings=new wt(i.a.getConfigurationSettings()),e.CurrentMeterLevelId=n?n.Id:null,e.Debug=t.debug,e.Environment=t.environment,e.IntegrateFlittz=t.integrateFlittz,e.SettingsKey=t.settingsKey,e.Silentmode=t.silentmode,e.SiteCode=t.siteCode,e.PublicEventHandlers=t.publicEventHandlers,e}var Gt,Zt,Jt=((Gt=function(t,e){return(Gt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Gt(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(Qt,Zt=m),Qt.prototype.GetOptions=function(){return new Kt(a.a.getOptions())},Qt.prototype.DebugPanelOpen=function(){a.a.setDebugMode(!0)},Qt.prototype.DebugPanelClose=function(){a.a.setDebugMode(!1)},Qt.prototype.DebugPanelResetManualSet=function(){a.a.resetManualDebugMode()},Qt);function Qt(){var t=Zt.call(this)||this;return t.DisplayName="NxtInner",t.Storage=new Ft,t}var $t=(Yt.prototype.check=function(t){return t||{}},Yt);function Yt(t){}var Xt,te,ee=((Xt=function(t,e){return(Xt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Xt(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(ne,te=$t),ne);function ne(t){var e=te.call(this,t)||this;return t=e.check(t),e.TypeName=t.TypeName,e}var oe,re,ie=((oe=function(t,e){return(oe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}oe(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(ae,re=$t),ae);function ae(t){var e=re.call(this,t)||this;return e.Segments=[],t=e.check(t),e.Name=t.Name,e.Description=t.Description,e.MeterLevelId=t.MeterLevelId,e.Priority=t.Order,Object(C.each)(t.Segments,function(t){e.Segments.push(new ee(t))}),e}var se,ce,ue=((se=function(t,e){return(se=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}se(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(pe,ce=$t),pe);function pe(t){var e=ce.call(this,t)||this;return e.Rules=[],t=e.check(t),e.Name=t.Name,e.Description=t.Description,e.Active=t.Active,Object(C.each)(t.Rules,function(t){e.Rules.push(new ie(t))}),e}var le,fe,he=((le=function(t,e){return(le=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}le(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(de,fe=$t),de);function de(t){var e=fe.call(this,t)||this;return t=e.check(t),e.Active=t.Active,e.CodesAreNotRequired=t.CodesAreNotRequired,e.Name=t.Name,e}var ye,_e,ge=((ye=function(t,e){return(ye=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}ye(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(ve,_e=$t),ve);function ve(t){var e=_e.call(this,t)||this;return t=e.check(t),e.Name=t.Name,e.Description=t.Description,e.ActionType=t.ActionType,e.ActionTypeId=t.ActionTypeId,e.Order=t.Order,e.UserDefinedData=t.What?t.What.UserDefinedData:"",e}var me,we,Ce=((me=function(t,e){return(me=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}me(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(Oe,we=$t),Oe);function Oe(t){var e=we.call(this,t)||this;return t=e.check(t),e.Ended=t.Ended,e.Expiration=t.Expiration,e.Started=t.Started,e}var Ae,be,Ee=((Ae=function(t,e){return(Ae=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Ae(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(Pe,be=$t),Pe);function Pe(t){var e=be.call(this,t)||this;return e.Conversation="unlimited",e.Meter="unlimited",t=e.check(t),e.Conversation=(Object(g.s)(t.Conversation)?t:e).Conversation,e.Meter=(Object(g.s)(t.Meter)?t:e).Meter,e}var Se,De,Ie=((Se=function(t,e){return(Se=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Se(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(Me,De=$t),Me);function Me(t){var e=De.call(this,t)||this;return t=e.check(t),e.ArticleLeft=new Ee(t.ArticleLeft),e.Limit=new Ee(t.Limit),e.MinView=t.MinView,e}var je,Te,xe=((je=function(t,e){return(je=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}je(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(ke,Te=$t),ke);function ke(t){var e=Te.call(this,t)||this;return t=e.check(t),e.PaywallLimit=t.PaywallLimit,e.Views=t.Views,e.Date=new Ce(t.Date),e.ArticleLeft=t.ArticleLeft,e.ViewType=t.ViewType,e.PaywallInfo=new Ie(t.PaywallInfo),e}var Ne,Le,Re=((Ne=function(t,e){return(Ne=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Ne(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(Ue,Le=$t),Ue);function Ue(t){var e=Le.call(this,t)||this;return e.Actions=[],t=e.check(t),e.Name=t.Name,e.Order=t.Order,Object(C.each)(t.Actions,function(t){e.Actions.push(new ge(t))}),e.Properties=new xe(t.Properties),e}var Ve,Be,Fe=((Ve=function(t,e){return(Ve=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Ve(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(We,Be=$t),We.prototype.setConversation=function(t){var e=[];return Object(C.isArray)(t)?(Object(C.each)(t,function(t){e.push(new Re(t))}),e):new Re(t)},We);function We(t){var e=Be.call(this,t)||this;return e.Free=null,e.Metered=null,e.Premium=null,(t=e.check(t)).Free&&(e.Free=e.setConversation(t.Free)),t.Metered&&(e.Metered=e.setConversation(t.Metered)),t.Premium&&(e.Premium=e.setConversation(t.Premium)),e}var He,qe,Ke=((He=function(t,e){return(He=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}He(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(ze,qe=$t),ze);function ze(t){var e=qe.call(this,t)||this;return t=e.check(t),e.Conversations=new Fe(t.Conversations),e.Name=t.Name,e}var Ge,Ze,Je=((Ge=function(t,e){return(Ge=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Ge(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(Qe,Ze=$t),Qe);function Qe(t){var e=Ze.call(this,t)||this;return t=e.check(t),e.Active=t.Active,e.Code=t.Code,e.Name=t.Name,e}var $e,Ye,Xe=(($e=function(t,e){return($e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}$e(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(tn,Ye=$t),tn);function tn(t){var e=Ye.call(this,t)||this;return t=e.check(t),e.SiteCode=t.Code,e.Active=t.Active,e.RegistrationTypeId=t.RegistrationTypeId,e.Client=new Je(t.Client),e}var en,nn,on=((en=function(t,e){return(en=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}en(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(rn,nn=$t),rn);function rn(t){var e=nn.call(this,t)||this;return t=e.check(t),e.LastPublishDate=t.LastPublishDate,e.DefaultProduct=t.DefaultProduct,e.DefaultMeterLevel=t.DefaultMeterLevelId,e.ReturnUrl=t.ReturnUrl,e.ActivationOnlyConfiguration=t.ActivationOnlyConfiguration,e.UseParentDomain=t.UseParentDomain,e.Site=new Xe(t.Site),e.Code=t.Code,e}var an,sn,cn=((an=function(t,e){return(an=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}an(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(un,sn=$t),un);function un(t){var e=sn.call(this,t)||this;return e.AllowedIPlistSets=[],t=e.check(t),e.Campaign=new Ke(t.Campaign),e.DynamicMeter=new ue(t.DynamicMeter),e.Settings=new on(Object.assign({Code:t.Code},t.Settings)),Object(C.each)(t.WhitelistSets,function(t){e.AllowedIPlistSets.push(new he(t))}),e}var pn,ln,fn=((pn=function(t,e){return(pn=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}pn(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(hn,ln=$t),hn);function hn(t){var e=ln.call(this,t)||this;return t=e.check(t),e.AccountNumber=t.AccountNumber,e.PaperCode=t.PaperCode,e.HouseHoldSubscriptionLevel=t.HouseHoldSubscriptionLevel||t.HouseholdSubscriptionLevel,e.FirstName=t.FirstName,e.LastName=t.LastName,e}var dn,yn,_n=((dn=function(t,e){return(dn=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}dn(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(gn,yn=$t),gn);function gn(t){var e=yn.call(this,t)||this;return t=e.check(t),e.AccessLevel=new Tt.a(t.AccessLevel),e.EEditionUrl=t.EEditionUrl,e.Errors=t.Errors,e.IsAuthorized=t.IsAuthorized,e.Subscription=new fn(t.Subscription),e.Success=t.Success,e}var vn,mn,wn=((vn=function(t,e){return(vn=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}vn(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(Cn,mn=$t),Cn);function Cn(t){var e=mn.call(this,t)||this;return e.OwnedSubscriptions=[],t=e.check(t),e.AuthSystem=t.AuthSystem,t.DigitalAccess&&!t.DigitalAccess.Subscription&&(t.DigitalAccess.Subscription=t.Subscriptions?t.Subscriptions[0]:null),e.DigitalAccess=new _n(t.DigitalAccess),e.IgmRegID=t.IgmRegID,e.Email=t.Email,e.NzwLid=t.NzwLid,e.MasterId=t.MasterId,Object(C.each)(t.Subscriptions,function(t){e.OwnedSubscriptions.push(new fn(t))}),e.UserToken=t.UserToken,e}var On,An,bn=((On=function(t,e){return(On=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}On(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(En,An=p),En.prototype.GetLocalConfiguration=function(){return new cn(i.a.getConfiguration())},En.prototype.GetCurrentConversations=function(){return new Fe(c.a.get(u.a.CampaignInstance).getCurrentConversations())},En.prototype.GetCurrentConversation=function(){return new Re(c.a.get(u.a.CampaignInstance).getCurrentConversation())},En.prototype.GetCampaignData=function(){return new Ke(i.a.getCampaignData())},En.prototype.GetUserData=function(){return new wn(s.a.getUserData())},En);function En(){return null!==An&&An.apply(this,arguments)||this}var Pn,Sn,Dn=((Pn=function(t,e){return(Pn=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Pn(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(In,Sn=$t),In);function In(t){var e=Sn.call(this,t)||this;t=e.check(t);var n=c.a.get(u.a.Meter);return e.Attr=t.attr,e.ConfigCode=t.configCode,e.ConfigSettings=new on(i.a.getConfigurationSettings()),e.CurrentMeterLevelId=n?n.Id:null,e.Debug=t.debug,e.Environment=t.environment,e.IntegrateFlittz=t.integrateFlittz,e.SettingsKey=t.settingsKey,e.Silentmode=t.silentmode,e.SiteCode=t.siteCode,e.PublicEventHandlers=t.publicEventHandlers,e}var Mn,jn,Tn=n(91),xn=((Mn=function(t,e){return(Mn=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Mn(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(kn,jn=m),kn.prototype.Run=function(t){var e=c.a.get(u.a.Application);h.a.log("Connext Run from public layer",e),e.run(t,!0)},kn.prototype.init=function(t){c.a.get(u.a.Application).init(t)},kn.prototype.GetOptions=function(){return new Dn(a.a.getOptions())},kn);function kn(){var t=jn.call(this)||this;return t.DisplayName="ConneXt",c.a.set(u.a.Application,new Tn.a),t.Storage=new bn,t}var Nn=n(82),Ln=n(121),Rn=n(119),Un=n(112),Vn=n(53),Bn=function(t){var e=this;this.Segments=[],t&&(this.Id=parseInt(t.Id),this.Name=t.Name,this.Description=t.Description,this.MeterLevelId=parseInt(t.MeterLevelId),this.Order=parseInt(t.Order),Object(C.each)(t.Segments,function(t){e.Segments.push(new Vn.a(t))}))},Fn=function(t){var e=this;this.Rules=[],t&&(this.Id=t.Id,this.Name=t.Name,this.Description=t.Description,this.Active=t.Active,Object(C.each)(t.Rules,function(t){e.Rules.push(new Bn(t))}))},Wn=function(t){t&&(this.ResetOnDay=t.ResetOnDay,this.ResetFrequency=t.ResetFrequency,this.ResetsStartDate=t.ResetsStartDate)},Hn=function(t){t&&(this.Id=t.Id,this.Name=t.Name,this.Html=t.Html)},qn=function(t){t&&(this.Name=t.Name,this.Value=t.Value)},Kn=(zn.prototype.setQueryParams=function(t){var e=[];return Object(C.each)(t,function(t){e.push(new qn(t))}),e},zn);function zn(t){this.ActionUrlsParams=[],t&&(this.DefaultMeterLevelId=t.DefaultMeterLevelId,this.LastPublishDate=t.LastPublishDate,this.DefaultProduct=t.DefaultProduct,this.ReturnUrl=t.ReturnUrl,this.ActivationOnlyConfiguration=t.ActivationOnlyConfiguration,this.UseParentDomain=t.UseParentDomain,this.Site=t.Site,this.ActivationForm=new Hn(t.ActivationForm),this.LoginTemplate=new Hn(t.LoginTemplate),this.ViewsAutoResetSettings=new Wn(t.ViewsAutoResetSettings),this.RegistrationForm=new Hn(t.RegistrationForm),this.ActionUrlsParams=this.setQueryParams(t.ActionUrlsParams))}var Gn=function(t){t&&(this.Id=t.Id,this.Active=t.Active,this.CodesAreNotRequired=t.CodesAreNotRequired,this.Name=t.Name,this.ModalHtml=t.ModalHtml,this.InfoboxHtml=t.InfoboxHtml,this.Ips=t.Ips)},Zn=(Jn.prototype.getRegistrationTypeId=function(){return this.Settings&&this.Settings.Site?this.Settings.Site.RegistrationTypeId:null},Jn.prototype.getCampaignName=function(){return this.Campaign?this.Campaign.Name:null},Jn);function Jn(t){var e=this;this.WhitelistSets=[],t&&(this.Id=t.Id,this.ABTest=t.ABTest,this.Name=t.Name,this.Code=t.Code,this.Active=t.Active,this.Campaign=new Un.a(t.Campaign),this.DynamicMeter=new Fn(t.DynamicMeter),this.Settings=new Kn(t.Settings),Object(C.each)(t.WhitelistSets,function(t){e.WhitelistSets.push(new Gn(t))}))}var Qn=n(142),$n=n(43),Yn=function(){var t=new Date;this.Id=Object(g.f)(),this.Date=t.toISOString(),this.TimeStamp=t.getTime(),this.SessionId=a.a.getSessionId()},Xn=(to.prototype.getConversationModel=function(){var t=c.a.get(u.a.CurrentConversation);return t&&t.conversation?t.conversation:null},to);function to(t){this.EventData=null,this.Aui=c.a.get(u.a.DeviceId)||0,this.EventInfo=new Yn;var e=this.getConversationModel();e&&(this.CampaignId=e.CampaignId);var n=new Zn(i.a.getConfiguration());n&&(e=n.getRegistrationTypeId(),this.AuthSystem=e?f.a[e]:null,this.CampaignName=n.getCampaignName());n=c.a.get(u.a.Meter);n&&(this.MeterLevelId=n.Id,this.MeterLevelMethod=n.Method,this.MeterLevel=n.Level);n=s.a.getCachedUserData();n&&(this.AuthSystem=n.AuthSystem,this.AuthProfile=n.AuthProfile),this.EventData=t}var eo,no,oo=((eo=function(t,e){return(eo=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}eo(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(ro,no=Xn),ro.prototype.getAnaliticsData=function(t,e){return null},ro.prototype.trackEvent=function(e,t,n){-1!==$n.a.indexOf(e)&&((n=this.getAnaliticsData(t,n))&&n.then&&"function"==typeof n.then?n.then(function(t){Qn.a.trackEvent(e,t)}).catch(function(t){Qn.a.trackEvent(e,{ex:t})}):Qn.a.trackEvent(e,n))},ro.prototype.isNeedDispachInnerEvent=function(){return!0},ro.prototype.isInner=function(){return!1},ro.prototype.dispatchInnerEvent=function(t,e){this.isNeedDispachInnerEvent()&&(e="onInner"+(e||this.constructor.name).substr(2),Rn.a.dispatch(e,t))},ro);function ro(t){var e=no.call(this,t)||this,n=e.getConversationModel();n&&(e.Conversation=new Re(n),e.CampaignId=n.CampaignId);n=new Zn(i.a.getConfiguration());n&&(e.Config=new cn(n),e.CampaignName=n.getCampaignName());n=s.a.getCachedUserData();return n&&(e.MG2AccountData=new wn(n)),e.EventData=t,e}var io,ao,so=((io=function(t,e){return(io=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}io(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(co,ao=oo),co.prototype.getGroupData=function(){return null},co.prototype.dispatchGroupEvent=function(t){Rn.a.dispatch(t,this.getGroupData())},co);function co(){return null!==ao&&ao.apply(this,arguments)||this}var uo,po,lo=((uo=function(t,e){return(uo=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}uo(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(fo,po=so),fo.prototype.getGroupData=function(){return this.EventData},fo.prototype.getAnaliticsData=function(t){var e={};return e[Ln.a.UserId]=this.EventData.MG2AccountData.UserId,e[Ln.a.EncryptedCustomerRegistrationId]=this.EventData.MG2AccountData.IgmRegID,e[Ln.a.AuthSystem]=this.EventData.AuthSystem,e[Ln.a.UserState]=s.a.getUserState(),e[Ln.a.NewzwareLoginId]=this.EventData.MG2AccountData.NzwLid,e},fo);function fo(t){var e=po.call(this,t)||this;return e.EventData={AuthSystem:t.AuthSystem,MG2AccountData:new wn(t.MG2AccountData),AuthProfile:t.AuthProfile||null},e.dispatchGroupEvent(Nn.a.AnyAccountStatusEvent),e}var ho,yo,_o=((ho=function(t,e){return(ho=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}ho(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(go,yo=lo),go);function go(){return null!==yo&&yo.apply(this,arguments)||this}var vo,mo,wo=((vo=function(t,e){return(vo=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}vo(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(Co,mo=lo),Co);function Co(){return null!==mo&&mo.apply(this,arguments)||this}var Oo,Ao,bo=((Oo=function(t,e){return(Oo=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Oo(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(Eo,Ao=lo),Eo);function Eo(){return null!==Ao&&Ao.apply(this,arguments)||this}var Po,So,Do=((Po=function(t,e){return(Po=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Po(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(Io,So=lo),Io);function Io(){return null!==So&&So.apply(this,arguments)||this}var Mo,jo,To=((Mo=function(t,e){return(Mo=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Mo(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(xo,jo=lo),xo);function xo(){return null!==jo&&jo.apply(this,arguments)||this}var ko,No,Lo=((ko=function(t,e){return(ko=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}ko(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(Ro,No=lo),Ro);function Ro(){return null!==No&&No.apply(this,arguments)||this}var Uo,Vo,e=((Uo=function(t,e){return(Uo=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Uo(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(Bo,Vo=so),Bo);function Bo(t){t=Vo.call(this,t)||this;return t.dispatchGroupEvent("onAnyActionEvent"),t}var Fo,Wo,m=((Fo=function(t,e){return(Fo=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Fo(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(Ho,Wo=e),Ho);function Ho(t){var e=Wo.call(this,t)||this;return e.EventData=new ge(t),e}var qo,Ko,zo=((qo=function(t,e){return(qo=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}qo(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(Go,Ko=m),Go);function Go(){return null!==Ko&&Ko.apply(this,arguments)||this}var Zo,Jo,Qo=((Zo=function(t,e){return(Zo=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Zo(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})($o,Jo=m),$o);function $o(){return null!==Jo&&Jo.apply(this,arguments)||this}var Yo,Xo,tr=((Yo=function(t,e){return(Yo=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Yo(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(er,Xo=m),er);function er(){return null!==Xo&&Xo.apply(this,arguments)||this}var nr,or,rr=((nr=function(t,e){return(nr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}nr(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(ir,or=m),ir);function ir(t){t=or.call(this,t)||this;return t.EventData=null,t}var ar,sr,e=((ar=function(t,e){return(ar=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}ar(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(cr,sr=m),cr.prototype.getAnaliticsData=function(t){var e={};return e[Ln.a.ActionId]=t?t.Id:null,e[Ln.a.ActionName]=this.EventData.Name,e[Ln.a.ActionTypeId]=this.EventData.ActionTypeId,this.Conversation&&(t=this.Conversation.Properties,e[Ln.a.PropertiesViews]=t.Views,e[Ln.a.ArticleLeft]=t.ArticleLeft,e[Ln.a.TypeView]=t.ViewType,e[Ln.a.UserDefinedData]=t.ViewType),e},cr);function cr(t){var e=sr.call(this,t)||this,t=new xe(e.Conversation?e.Conversation.Properties:null);return e.EventData=Object(C.extend)(e.EventData,{ArticlesViewed:t.Views},{PaywallInfo:t.PaywallInfo},{ZipCodes:s.a.getUserZipCodes()}),e}var ur,pr,lr=((ur=function(t,e){return(ur=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}ur(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(fr,pr=e),fr.prototype.getAnaliticsData=function(t){var e=pr.prototype.getAnaliticsData.call(this,t),t={};return t[Ln.a.CloseEvent]=this.EventData.CloseEvent,Object(C.extend)(e,t)},fr);function fr(t){var e=pr.call(this,t)||this;return e.EventData=Object(C.extend)(e.EventData,{CloseEvent:t.CloseEvent}),e}var hr,dr,yr=((hr=function(t,e){return(hr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}hr(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(_r,dr=e),_r);function _r(){return null!==dr&&dr.apply(this,arguments)||this}var gr,vr,mr=n(11),wr=n(55),Cr=((gr=function(t,e){return(gr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}gr(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(Or,vr=e),Or.prototype.getAnaliticsData=function(t){var e=vr.prototype.getAnaliticsData.call(this,t),t={};return t[Ln.a.ButtonHtml]=this.EventData.ButtonHTML,t[Ln.a.UserDefinedDataAttr]=this.EventData.UserDefinedDataAttr,Object(C.extend)(e,t)},Or);function Or(t){var e=vr.call(this,t)||this,n=new xe(e.Conversation?e.Conversation.Properties:null);return e.EventData={ButtonHTML:mr.a.html(t.target),UserDefinedDataAttr:mr.a.attr(t.target,"data-connext-userdefined"),ZipCodes:s.a.getUserZipCodes(),PaywallInfo:new wr.a(n?n.PaywallInfo:{})},e}var Ar,br,Er=((Ar=function(t,e){return(Ar=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Ar(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(Pr,br=e),Pr);function Pr(){return null!==br&&br.apply(this,arguments)||this}var Sr,Dr,m=((Sr=function(t,e){return(Sr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Sr(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(Ir,Dr=so),Ir);function Ir(t){t=Dr.call(this,t)||this;return t.dispatchGroupEvent("onAnyActivationEvent"),t}var Mr,jr,e=((Mr=function(t,e){return(Mr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Mr(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(Tr,jr=m),Tr);function Tr(t){var e=jr.call(this,t)||this;return e.EventData={ActivateStatus:t.ActivateStatus,CloseEvent:t.CloseEvent},e}var xr,kr,Nr=((xr=function(t,e){return(xr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}xr(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(Lr,kr=e),Lr);function Lr(){return null!==kr&&kr.apply(this,arguments)||this}var Rr,Ur,Vr=((Rr=function(t,e){return(Rr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Rr(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(Br,Ur=e),Br);function Br(){return null!==Ur&&Ur.apply(this,arguments)||this}var Fr,Wr,Hr=((Fr=function(t,e){return(Fr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Fr(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(qr,Wr=e),qr);function qr(){return null!==Wr&&Wr.apply(this,arguments)||this}var Kr,zr,Gr=((Kr=function(t,e){return(Kr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Kr(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(Zr,zr=e),Zr);function Zr(){return null!==zr&&zr.apply(this,arguments)||this}var Jr,Qr,$r=((Jr=function(t,e){return(Jr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Jr(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(Yr,Qr=e),Yr);function Yr(){return null!==Qr&&Qr.apply(this,arguments)||this}var Xr,ti,ei=((Xr=function(t,e){return(Xr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Xr(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(ni,ti=m),ni);function ni(){return null!==ti&&ti.apply(this,arguments)||this}var oi,ri,ii=((oi=function(t,e){return(oi=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}oi(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(ai,ri=m),ai);function ai(){return null!==ri&&ri.apply(this,arguments)||this}var si,ci,ui=((si=function(t,e){return(si=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}si(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(pi,ci=m),pi);function pi(){return null!==ci&&ci.apply(this,arguments)||this}var li,fi,hi=((li=function(t,e){return(li=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}li(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(di,fi=m),di);function di(){return null!==fi&&fi.apply(this,arguments)||this}var yi,_i,m=((yi=function(t,e){return(yi=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}yi(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(gi,_i=m),gi);function gi(t){var e=_i.call(this,t)||this;return e.EventData={ActivateBy:t},e}var vi,mi,wi=((vi=function(t,e){return(vi=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}vi(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(Ci,mi=m),Ci);function Ci(){return null!==mi&&mi.apply(this,arguments)||this}var Oi,Ai,bi=((Oi=function(t,e){return(Oi=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Oi(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(Ei,Ai=m),Ei);function Ei(){return null!==Ai&&Ai.apply(this,arguments)||this}var Pi,Si,Di=((Pi=function(t,e){return(Pi=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Pi(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(Ii,Si=m),Ii);function Ii(){return null!==Si&&Si.apply(this,arguments)||this}var Mi,ji,m=((Mi=function(t,e){return(Mi=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Mi(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(Ti,ji=so),Ti);function Ti(t){t=ji.call(this,t)||this;return t.dispatchGroupEvent("onAnyIPAccessEvent"),t}var xi,ki,Ni=((xi=function(t,e){return(xi=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}xi(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(Li,ki=$t),Li);function Li(t){var e=ki.call(this,t)||this;return t=e.check(t),e.AccessEndDate=t.AccessEndDate,e.AccessStartDate=t.AccessStartDate,e.ClientId=t.ClientId,e.AllowedAccessListName=t.Name,e}var Ri,Ui,Vi=n(144),Bi=((Ri=function(t,e){return(Ri=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Ri(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(Fi,Ui=m),Fi.prototype.getAnaliticsData=function(t,e){var n={};return n[Ln.a.IpAddress]=Vi.a.getIP(),e&&(n=Object(C.extendOwn)(n,e)),n},Fi);function Fi(t){var e=Ui.call(this,t)||this;return e.EventData=t?new Ni(t):null,e.Conversation=null,e.MeterLevel=null,e.MeterLevelId=null,e.MeterLevelMethod=null,e}var Wi,Hi,qi=((Wi=function(t,e){return(Wi=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Wi(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(Ki,Hi=m),Ki);function Ki(t){var e=Hi.call(this,t)||this;return e.EventData=t?new Ni(t):null,e}var zi,Gi,Zi=((zi=function(t,e){return(zi=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}zi(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(Ji,Gi=m),Ji);function Ji(t){var e=Gi.call(this,t)||this;return e.EventData={CloseEvent:t},e}var Qi,$i,Yi=((Qi=function(t,e){return(Qi=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Qi(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(Xi,$i=m),Xi);function Xi(){return null!==$i&&$i.apply(this,arguments)||this}var ta,ea,m=((ta=function(t,e){return(ta=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}ta(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(na,ea=so),na.prototype.getAnaliticsData=function(t){return t},na);function na(t){t=ea.call(this,t)||this;return t.dispatchGroupEvent("onAnyLoadEvent"),t}var oa,ra,ia=((oa=function(t,e){return(oa=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}oa(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(aa,ra=m),aa.prototype.getAnaliticsData=function(t){var e={};return e[Ln.a.AdblockFound]=!0,e},aa);function aa(){return null!==ra&&ra.apply(this,arguments)||this}var sa,ca,ua=((sa=function(t,e){return(sa=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}sa(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(pa,ca=m),pa.prototype.getAnaliticsData=function(t){var e={};return e[Ln.a.CampaignId]=this.CampaignId,e[Ln.a.CampaignName]=this.EventData.Name,e},pa);function pa(t){var e=ca.call(this,t)||this;return e.EventData=new Ke(t),e}var la,fa,ha=((la=function(t,e){return(la=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}la(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(da,fa=m),da.prototype.getAnaliticsData=function(t){var e={};return t&&(e[Ln.a.ConversationId]=t.Id,e[Ln.a.ConversationName]=t.Name,e[Ln.a.ConversationView]=t.Properties.Views,e[Ln.a.ArticleLeft]=t.Properties.ArticleLeft,e[Ln.a.TypeView]=t.Properties.ViewType,e[Ln.a.DateStarted]=t.Properties.Date?t.Properties.Date.Started:null,e[Ln.a.ExpirationDate]=t.Properties.Date?""+t.Properties.Date.Expiration:null),e[Ln.a.MeterLevel]=this.MeterLevelId,e},da);function da(t){var e=fa.call(this,t)||this;return e.EventData=new Re(t),e}var ya,_a,ga=((ya=function(t,e){return(ya=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}ya(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(va,_a=m),va.prototype.getAnaliticsData=function(t){var e={};return e[Ln.a.ConversationName]=this.EventData.Conversation.Name,e[Ln.a.NextConversationName]=this.EventData.NextConversation.Name,e[Ln.a.ExpiredReason]=this.EventData.Reason,e[Ln.a.ArticleCountReset]=this.EventData.ArticleCountReset,e},va);function va(t){var e=_a.call(this,t)||this;return e.EventData={Conversation:new Re(t.Conversation),NextConversation:new Re(t.NextConversation),Reason:t.Reason,ArticleCountReset:t.ArticleCountReset},e}var ma,wa,Ca=((ma=function(t,e){return(ma=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}ma(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(Oa,wa=m),Oa.prototype.getAnaliticsData=function(t){var e={};return e[Ln.a.DynamicMeterName]=this.EventData,e},Oa);function Oa(t){var e=wa.call(this,t)||this;return e.EventData=t,e}var Aa,ba,Ea=((Aa=function(t,e){return(Aa=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Aa(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(Pa,ba=m),Pa.prototype.getPageData=function(){return{Title:this.getPageTitle(),Keywords:this.getPageKeywords(),Url:location.origin+location.pathname}},Pa.prototype.getAnaliticsData=function(){return Qn.a.getFinishData()},Pa.prototype.getDeviceInfo=function(){var t=Vi.a.getUserAgent();return{Type:Vi.a.getDeviceType(),OS:t?t.getOS():"",Browser:t?t.getBrowser():""}},Pa.prototype.getPageTitle=function(){var t=document.querySelector("h1");return t&&t.textContent?t.textContent.trim():document.title},Pa.prototype.getPageKeywords=function(){var t="",e=document.getElementsByTagName("meta");if(e)for(var n=0,o=e.length;n<o;n++)"keywords"==e[n].name.toLowerCase()&&(t+=e[n].content);return""!=t&&t},Pa);function Pa(t){t=ba.call(this,t)||this;return t.EventData={Location:Vi.a.getLocationInfo(),Device:t.getDeviceInfo(),Page:t.getPageData()},t}var Sa,Da,Ia=((Sa=function(t,e){return(Sa=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Sa(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(Ma,Da=m),Ma.prototype.getAnaliticsData=function(t){var e={};return e[Ln.a.GABlocked]=!window.ga,e[Ln.a.GTMBlocked]=!window.google_tag_manager,e[Ln.a.G2insights]=!window.G2Insights,e[Ln.a.Version]=Object(g.q)(),e[Ln.a.LocalDateTime]=(new Date).toString(),e},Ma);function Ma(){return null!==Da&&Da.apply(this,arguments)||this}var ja,Ta,xa=((ja=function(t,e){return(ja=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}ja(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(ka,Ta=$t),ka);function ka(t){var e=Ta.call(this,t)||this;return t=e.check(t),e.Method=t.Method,e.Level=t.Level,e.Rule=new ie(t.Rule),e}var Na,La,Ra=((Na=function(t,e){return(Na=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Na(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(Ua,La=m),Ua.prototype.getAnaliticsData=function(t){var e={};return e[Ln.a.MeterMethod]=this.EventData.Method,e[Ln.a.MeterLevel]=this.EventData.Level,t&&t.Rule&&(e[Ln.a.RuleId]=t.Rule.Id),e[Ln.a.RuleName]=this.EventData.Rule.Name,e},Ua);function Ua(t){var e=La.call(this,t)||this;return e.EventData=new xa(t),e}var Va,Ba,Fa=((Va=function(t,e){return(Va=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Va(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(Wa,Ba=m),Wa.prototype.getAnaliticsData=function(t){return{}[Ln.a.RunReason]=t},Wa);function Wa(t){var e=Ba.call(this,t)||this;return e.EventData=t,e}var Ha,qa,Ka=((Ha=function(t,e){return(Ha=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Ha(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(za,qa=m),za.prototype.getAnaliticsData=function(t){var e={};return e[Ln.a.ConversationId]=this.EventData,e},za);function za(t){var e=qa.call(this,t)||this;return e.EventData=t,e}var Ga,Za,Ja=((Ga=function(t,e){return(Ga=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Ga(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(Qa,Za=m),Qa.prototype.getAnaliticsData=function(t){var e={};return e[Ln.a.MeterLevel]=this.EventData,e},Qa);function Qa(t){var e=Za.call(this,t)||this;return e.EventData=t.Level,e}var $a,Ya,Xa=(($a=function(t,e){return($a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}$a(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(ts,Ya=m),ts.prototype.getAnaliticsData=function(t){var e={};return e[Ln.a.LoadError]=Object(C.isString)(this.EventData.ErrorMessage)?this.EventData.ErrorMessage:JSON.stringify(this.EventData.ErrorMessage),e},ts);function ts(t){var e=Ya.call(this,t)||this;return e.EventData={ErrorMessage:t},e}var es,ns,os=((es=function(t,e){return(es=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}es(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(rs,ns=m),rs.prototype.getAnaliticsData=function(t){var e={};return e[Ln.a.ResetOnDay]=this.EventData.ResetOnDay,e[Ln.a.ResetFrequency]=this.EventData.ResetFrequency,e},rs);function rs(t){var e=ns.call(this,t)||this;return e.EventData={ResetOnDay:t.ResetOnDay,ResetFrequency:t.ResetFrequency},e}var is,as,ss=((is=function(t,e){return(is=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}is(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(cs,as=m),cs);function cs(t){return as.call(this,t)||this}var us,ps,ls=((us=function(t,e){return(us=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}us(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(fs,ps=m),fs);function fs(t){var e=ps.call(this,t)||this;return e.EventData={error:t.error},e}var hs,ds,ys=((hs=function(t,e){return(hs=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}hs(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(_s,ds=m),_s.prototype.getAnaliticsData=function(t){var e={};return e[Ln.a.OldDeviceId]=t.id,e[Ln.a.RecalculatedDeviceId]=t.newId,e},_s);function _s(t){var e=ds.call(this,t)||this;return e.EventData=t,e}var gs,vs,ms=n(28),ws=((gs=function(t,e){return(gs=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}gs(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(Cs,vs=m),Cs.prototype.getAnaliticsData=function(t){var e={};if(t&&t.length)for(var n=0;n<t.length;n++)e[n]=Object(ms.isString)(t[n])?t[n]:JSON.stringify(t[n]);return document.dispatchEvent(new CustomEvent("nxtDebugError",{bubbles:!0,detail:e})),e},Cs);function Cs(t){var e=vs.call(this,t)||this;return e.EventData=t,e}var Os,As,m=((Os=function(t,e){return(Os=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Os(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(bs,As=so),bs);function bs(t){t=As.call(this,t)||this;return t.dispatchGroupEvent("onAnyLoginTemplateEvent"),t}var Es,Ps,Ss=((Es=function(t,e){return(Es=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Es(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(Ds,Ps=m),Ds.prototype.getAnaliticsData=function(t){var e={};return e[Ln.a.LoginModalId]=null,e[Ln.a.CloseEvent]=this.EventData.CloseEvent,e},Ds);function Ds(t){var e=Ps.call(this,t)||this;return e.EventData={CloseEvent:t},e}var Is,Ms,js=((Is=function(t,e){return(Is=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Is(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(Ts,Ms=m),Ts.prototype.getAnaliticsData=function(t){var e={};return e[Ln.a.ErrorMessage]=this.EventData.ErrorMessage,e},Ts);function Ts(t){var e=Ms.call(this,t)||this;return e.EventData={ErrorMessage:t},e}var xs,ks,Ns=((xs=function(t,e){return(xs=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}xs(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(Ls,ks=m),Ls.prototype.getAnaliticsData=function(t){var e={};return e[Ln.a.LoginModalId]=this.EventData.LoginModalName,e},Ls);function Ls(t){var e=ks.call(this,t)||this;return e.EventData={LoginModalName:t},e}var Rs,Us,Vs=((Rs=function(t,e){return(Rs=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Rs(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(Bs,Us=lo),Bs);function Bs(){return null!==Us&&Us.apply(this,arguments)||this}var Fs,Ws,m=((Fs=function(t,e){return(Fs=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Fs(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(Hs,Ws=so),Hs);function Hs(t){t=Ws.call(this,t)||this;return t.dispatchGroupEvent("onAnyNewsletterEvent"),t}var qs,Ks,zs=((qs=function(t,e){return(qs=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}qs(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(Gs,Ks=m),Gs);function Gs(){return null!==Ks&&Ks.apply(this,arguments)||this}var Zs,Js,Qs=((Zs=function(t,e){return(Zs=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Zs(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})($s,Js=m),$s);function $s(){return null!==Js&&Js.apply(this,arguments)||this}var Ys,Xs,tc=((Ys=function(t,e){return(Ys=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Ys(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(ec,Xs=m),ec);function ec(){return null!==Xs&&Xs.apply(this,arguments)||this}var nc,oc,lo=((nc=function(t,e){return(nc=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}nc(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(rc,oc=so),rc);function rc(t){t=oc.call(this,t)||this;return t.dispatchGroupEvent("onAnyRegistrationEvent"),t}var ic,ac,sc=((ic=function(t,e){return(ic=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}ic(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(cc,ac=lo),cc);function cc(){return null!==ac&&ac.apply(this,arguments)||this}var uc,pc,lc=((uc=function(t,e){return(uc=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}uc(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(fc,pc=lo),fc);function fc(){return null!==pc&&pc.apply(this,arguments)||this}var hc,dc,yc=((hc=function(t,e){return(hc=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}hc(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(_c,dc=lo),_c);function _c(){return null!==dc&&dc.apply(this,arguments)||this}var gc,vc,mc=((gc=function(t,e){return(gc=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}gc(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(wc,vc=lo),wc);function wc(){return null!==vc&&vc.apply(this,arguments)||this}var Cc,Oc,Ac=((Cc=function(t,e){return(Cc=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Cc(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(bc,Oc=lo),bc);function bc(){return null!==Oc&&Oc.apply(this,arguments)||this}var Ec,Pc,Sc=((Ec=function(t,e){return(Ec=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Ec(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(Dc,Pc=Xn),Dc.prototype.trackEvent=function(t,e){},Dc.prototype.isInner=function(){return!0},Dc.prototype.dispatchGroupEvent=function(t){},Dc);function Dc(t){var e=Pc.call(this,t)||this,n=new tt(e.getConversationModel());n&&(e.Conversation=n);n=new bt(i.a.getConfiguration());n&&(e.Config=n);n=new Rt(s.a.getCachedUserData());return n&&(e.MG2AccountData=n),e.EventData=t,e}var Ic,Mc,m=((Ic=function(t,e){return(Ic=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Ic(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(jc,Mc=Sc),jc.prototype.getGroupData=function(){return null},jc.prototype.dispatchGroupEvent=function(t){Rn.a.dispatch(t,this.getGroupData())},jc);function jc(){return null!==Mc&&Mc.apply(this,arguments)||this}var Tc,xc,so=((Tc=function(t,e){return(Tc=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Tc(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(kc,xc=m),kc.prototype.getGroupData=function(){return this.EventData},kc);function kc(t){var e=xc.call(this,t)||this;return e.EventData={AuthSystem:t.AuthSystem,MG2AccountData:new Rt(t.MG2AccountData),AuthProfile:t.AuthProfile},e.dispatchGroupEvent("onInnerAnyAccountStatusEvent"),e}var Nc,Lc,Rc=((Nc=function(t,e){return(Nc=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Nc(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(Uc,Lc=so),Uc);function Uc(){return null!==Lc&&Lc.apply(this,arguments)||this}var Vc,Bc,Fc=((Vc=function(t,e){return(Vc=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Vc(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(Wc,Bc=so),Wc);function Wc(){return null!==Bc&&Bc.apply(this,arguments)||this}var Hc,qc,Kc=((Hc=function(t,e){return(Hc=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Hc(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(zc,qc=so),zc);function zc(){return null!==qc&&qc.apply(this,arguments)||this}var Gc,Zc,Jc=((Gc=function(t,e){return(Gc=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Gc(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(Qc,Zc=so),Qc);function Qc(){return null!==Zc&&Zc.apply(this,arguments)||this}var $c,Yc,Xc=(($c=function(t,e){return($c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}$c(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(tu,Yc=so),tu);function tu(){return null!==Yc&&Yc.apply(this,arguments)||this}var eu,nu,ou=((eu=function(t,e){return(eu=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}eu(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(ru,nu=so),ru);function ru(){return null!==nu&&nu.apply(this,arguments)||this}var iu,au,lo=((iu=function(t,e){return(iu=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}iu(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(su,au=m),su);function su(t){t=au.call(this,t)||this;return t.dispatchGroupEvent("onInnerAnyActionEvent"),t}var cu,uu,Xn=((cu=function(t,e){return(cu=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}cu(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(pu,uu=lo),pu);function pu(t){var e=uu.call(this,t)||this;return e.EventData=new W(t),e}var lu,fu,hu=((lu=function(t,e){return(lu=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}lu(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(du,fu=Xn),du);function du(){return null!==fu&&fu.apply(this,arguments)||this}var yu,_u,gu=((yu=function(t,e){return(yu=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}yu(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(vu,_u=Xn),vu);function vu(){return null!==_u&&_u.apply(this,arguments)||this}var mu,wu,Cu=((mu=function(t,e){return(mu=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}mu(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(Ou,wu=Xn),Ou);function Ou(){return null!==wu&&wu.apply(this,arguments)||this}var Au,bu,Eu=((Au=function(t,e){return(Au=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Au(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(Pu,bu=Xn),Pu);function Pu(t){t=bu.call(this,t)||this;return t.EventData=null,t}var Su,Du,lo=((Su=function(t,e){return(Su=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Su(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(Iu,Du=Xn),Iu);function Iu(t){t=Du.call(this,t)||this;return t.EventData=Object(C.extend)(t.EventData,new Q(t.Conversation?t.Conversation.Properties:null),{ZipCodes:s.a.getUserZipCodes()}),t}var Mu,ju,Tu=((Mu=function(t,e){return(Mu=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Mu(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(xu,ju=lo),xu);function xu(t){var e=ju.call(this,t)||this;return e.EventData=Object(C.extend)(e.EventData,{CloseEvent:t.CloseEvent}),e}var ku,Nu,Lu=((ku=function(t,e){return(ku=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}ku(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(Ru,Nu=lo),Ru);function Ru(){return null!==Nu&&Nu.apply(this,arguments)||this}var Uu,Vu,Bu=((Uu=function(t,e){return(Uu=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Uu(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(Fu,Vu=lo),Fu);function Fu(t){var e=Vu.call(this,t)||this;return e.EventData=Object(C.extend)(e.EventData,{ButtonHTML:mr.a.html(t.target),UserDefinedDataAttr:mr.a.attr(t.target,"data-connext-userdefined")}),e}var Wu,Hu,qu=((Wu=function(t,e){return(Wu=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Wu(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(Ku,Hu=lo),Ku);function Ku(){return null!==Hu&&Hu.apply(this,arguments)||this}var zu,Gu,Xn=((zu=function(t,e){return(zu=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}zu(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(Zu,Gu=m),Zu);function Zu(t){t=Gu.call(this,t)||this;return t.dispatchGroupEvent("onInnerAnyActivationEvent"),t}var Ju,Qu,lo=((Ju=function(t,e){return(Ju=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Ju(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})($u,Qu=Xn),$u);function $u(t){var e=Qu.call(this,t)||this;return e.EventData={ActivateBy:t},e}var Yu,Xu,tp=((Yu=function(t,e){return(Yu=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Yu(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(ep,Xu=lo),ep);function ep(){return null!==Xu&&Xu.apply(this,arguments)||this}var np,op,rp=((np=function(t,e){return(np=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}np(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(ip,op=lo),ip);function ip(){return null!==op&&op.apply(this,arguments)||this}var ap,sp,cp=((ap=function(t,e){return(ap=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}ap(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(up,sp=lo),up);function up(){return null!==sp&&sp.apply(this,arguments)||this}var pp,lp,lo=((pp=function(t,e){return(pp=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}pp(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(fp,lp=Xn),fp);function fp(t){var e=lp.call(this,t)||this;return e.EventData={ActivateStatus:t.ActivateStatus,CloseEvent:t.CloseEvent},e}var hp,dp,yp=((hp=function(t,e){return(hp=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}hp(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(_p,dp=lo),_p);function _p(){return null!==dp&&dp.apply(this,arguments)||this}var gp,vp,mp=((gp=function(t,e){return(gp=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}gp(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(wp,vp=lo),wp);function wp(){return null!==vp&&vp.apply(this,arguments)||this}var Cp,Op,Ap=((Cp=function(t,e){return(Cp=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Cp(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(bp,Op=lo),bp);function bp(){return null!==Op&&Op.apply(this,arguments)||this}var Ep,Pp,Sp=((Ep=function(t,e){return(Ep=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Ep(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(Dp,Pp=lo),Dp);function Dp(){return null!==Pp&&Pp.apply(this,arguments)||this}var Ip,Mp,jp=((Ip=function(t,e){return(Ip=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Ip(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(Tp,Mp=lo),Tp);function Tp(){return null!==Mp&&Mp.apply(this,arguments)||this}var xp,kp,Np=((xp=function(t,e){return(xp=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}xp(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(Lp,kp=Xn),Lp);function Lp(){return null!==kp&&kp.apply(this,arguments)||this}var Rp,Up,Vp=((Rp=function(t,e){return(Rp=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Rp(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(Bp,Up=Xn),Bp);function Bp(){return null!==Up&&Up.apply(this,arguments)||this}var Fp,Wp,Hp=((Fp=function(t,e){return(Fp=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Fp(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(qp,Wp=Xn),qp);function qp(){return null!==Wp&&Wp.apply(this,arguments)||this}var Kp,zp,Gp=((Kp=function(t,e){return(Kp=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Kp(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(Zp,zp=Xn),Zp);function Zp(){return null!==zp&&zp.apply(this,arguments)||this}var Jp,Qp,Xn=((Jp=function(t,e){return(Jp=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Jp(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})($p,Qp=m),$p);function $p(t){t=Qp.call(this,t)||this;return t.dispatchGroupEvent("onInnerAnyIPAccessEvent"),t}var Yp,Xp,tl=((Yp=function(t,e){return(Yp=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Yp(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(el,Xp=O),el);function el(t){var e=Xp.call(this,t)||this;return t=e.check(t),e.AccessEndDate=t.AccessEndDate,e.AccessStartDate=t.AccessStartDate,e.ClientId=t.ClientId,e}var nl,ol,rl=((nl=function(t,e){return(nl=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}nl(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(il,ol=Xn),il);function il(t){var e=ol.call(this,t)||this;return e.EventData=t?new tl(t):null,e}var al,sl,cl=((al=function(t,e){return(al=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}al(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(ul,sl=Xn),ul);function ul(t){var e=sl.call(this,t)||this;return e.EventData=t?new tl(t):null,e}var pl,ll,fl=((pl=function(t,e){return(pl=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}pl(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(hl,ll=Xn),hl);function hl(t){var e=ll.call(this,t)||this;return e.EventData={CloseEvent:t},e}var dl,yl,_l=((dl=function(t,e){return(dl=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}dl(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(gl,yl=Xn),gl);function gl(){return null!==yl&&yl.apply(this,arguments)||this}var vl,ml,Xn=((vl=function(t,e){return(vl=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}vl(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(wl,ml=m),wl);function wl(t){t=ml.call(this,t)||this;return t.dispatchGroupEvent("onInnerAnyLoadEvent"),t}var Cl,Ol,Al=((Cl=function(t,e){return(Cl=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Cl(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(bl,Ol=Xn),bl);function bl(){return null!==Ol&&Ol.apply(this,arguments)||this}var El,Pl,Sl=((El=function(t,e){return(El=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}El(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(Dl,Pl=Xn),Dl);function Dl(t){var e=Pl.call(this,t)||this;return e.EventData=new ct(t),e}var Il,Ml,jl=((Il=function(t,e){return(Il=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Il(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(Tl,Ml=Xn),Tl);function Tl(t){var e=Ml.call(this,t)||this;return e.EventData=new tt(t),e}var xl,kl,Nl=((xl=function(t,e){return(xl=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}xl(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(Ll,kl=Xn),Ll);function Ll(t){var e=kl.call(this,t)||this;return e.EventData={Conversation:new tt(t.Conversation),NextConversation:new tt(t.NextConversation),Reason:t.Reason,ArticleCountReset:t.ArticleCountReset},e}var Rl,Ul,Vl=((Rl=function(t,e){return(Rl=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Rl(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(Bl,Ul=Xn),Bl);function Bl(t){var e=Ul.call(this,t)||this;return e.EventData=t,e}var Fl,Wl,Hl=((Fl=function(t,e){return(Fl=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Fl(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(ql,Wl=Xn),ql);function ql(){return null!==Wl&&Wl.apply(this,arguments)||this}var Kl,zl,Gl=((Kl=function(t,e){return(Kl=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Kl(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(Zl,zl=Xn),Zl);function Zl(){return null!==zl&&zl.apply(this,arguments)||this}var Jl,Ql,$l=((Jl=function(t,e){return(Jl=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Jl(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(Yl,Ql=O),Yl);function Yl(t){var e=Ql.call(this,t)||this;return t=e.check(t),e.Id=t.Id,e.Method=t.Method,e.Level=t.Level,e.Rule=new M(t.Rule),e}var Xl,tf,ef=((Xl=function(t,e){return(Xl=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Xl(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(nf,tf=Xn),nf);function nf(t){var e=tf.call(this,t)||this;return e.EventData=new $l(t),e}var of,rf,af=((of=function(t,e){return(of=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}of(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(sf,rf=Xn),sf);function sf(){return null!==rf&&rf.apply(this,arguments)||this}var cf,uf,pf=((cf=function(t,e){return(cf=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}cf(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(lf,uf=Xn),lf);function lf(t){var e=uf.call(this,t)||this;return e.EventData=t,e}var ff,hf,df=((ff=function(t,e){return(ff=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}ff(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(yf,hf=Xn),yf);function yf(t){var e=hf.call(this,t)||this;return e.EventData=t.MeterId,e}var _f,gf,vf=((_f=function(t,e){return(_f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}_f(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(mf,gf=Xn),mf);function mf(t){var e=gf.call(this,t)||this;return e.EventData={ErrorMessage:t},e}var wf,Cf,Of=((wf=function(t,e){return(wf=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}wf(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(Af,Cf=Xn),Af);function Af(t){var e=Cf.call(this,t)||this;return e.EventData={ResetOnDay:t.ResetOnDay,ResetFrequency:t.ResetFrequency},e}var bf,Ef,Pf=((bf=function(t,e){return(bf=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}bf(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(Sf,Ef=Xn),Sf);function Sf(){return null!==Ef&&Ef.apply(this,arguments)||this}var Df,If,Mf=((Df=function(t,e){return(Df=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Df(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(jf,If=Xn),jf);function jf(t){var e=If.call(this,t)||this;return e.EventData={error:t.error},e}var Tf,xf,Xn=((Tf=function(t,e){return(Tf=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Tf(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(kf,xf=m),kf);function kf(t){t=xf.call(this,t)||this;return t.dispatchGroupEvent("onInnerAnyLoginTemplateEvent"),t}var Nf,Lf,Rf=((Nf=function(t,e){return(Nf=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Nf(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(Uf,Lf=Xn),Uf);function Uf(t){var e=Lf.call(this,t)||this;return e.EventData={CloseEvent:t},e}var Vf,Bf,Ff=((Vf=function(t,e){return(Vf=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Vf(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(Wf,Bf=Xn),Wf);function Wf(t){var e=Bf.call(this,t)||this;return e.EventData={ErrorMessage:t},e}var Hf,qf,Kf=((Hf=function(t,e){return(Hf=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Hf(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(zf,qf=Xn),zf);function zf(t){var e=qf.call(this,t)||this;return e.EventData={LoginModalName:t},e}var Gf,Zf,Jf=((Gf=function(t,e){return(Gf=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Gf(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(Qf,Zf=so),Qf);function Qf(){return null!==Zf&&Zf.apply(this,arguments)||this}var $f,Yf,so=(($f=function(t,e){return($f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}$f(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(Xf,Yf=m),Xf);function Xf(t){t=Yf.call(this,t)||this;return t.dispatchGroupEvent("onInnerAnyNewsletterEvent"),t}var th,eh,nh=((th=function(t,e){return(th=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}th(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(oh,eh=so),oh);function oh(){return null!==eh&&eh.apply(this,arguments)||this}var rh,ih,ah=((rh=function(t,e){return(rh=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}rh(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(sh,ih=so),sh);function sh(){return null!==ih&&ih.apply(this,arguments)||this}var ch,uh,ph=((ch=function(t,e){return(ch=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}ch(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(lh,uh=so),lh);function lh(){return null!==uh&&uh.apply(this,arguments)||this}var fh,hh,m=((fh=function(t,e){return(fh=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}fh(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(dh,hh=m),dh);function dh(t){t=hh.call(this,t)||this;return t.dispatchGroupEvent("onInnerAnyRegistrationEvent"),t}var yh,_h,gh=((yh=function(t,e){return(yh=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}yh(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(vh,_h=m),vh);function vh(){return null!==_h&&_h.apply(this,arguments)||this}var mh,wh,Ch=((mh=function(t,e){return(mh=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}mh(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(Oh,wh=m),Oh);function Oh(){return null!==wh&&wh.apply(this,arguments)||this}var Ah,bh,Eh=((Ah=function(t,e){return(Ah=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Ah(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(Ph,bh=m),Ph);function Ph(){return null!==bh&&bh.apply(this,arguments)||this}var Sh,Dh,Ih=((Sh=function(t,e){return(Sh=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}Sh(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(Mh,Dh=m),Mh);function Mh(){return null!==Dh&&Dh.apply(this,arguments)||this}var jh,Th,xh=((jh=function(t,e){return(jh=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}jh(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(kh,Th=m),kh);function kh(){return null!==Th&&Th.apply(this,arguments)||this}var Nh=function(t,e){return new(-1!==t.indexOf("Inner")?Sc:oo)(e)},Lh=n(106);function Rh(){}var Uh=new(Rh.prototype.getMethods=function(){return{API:{NewsletterSubscribe:function(e){var t,n,o;e&&e.id&&(n=[],Object(ms.isArray)(e.id)||Object(ms.isObject)(e.id)?Object(C.each)(e.id,function(t){n.push({Id:t.id,Name:t.name,Description:t.description})}):n.push({Id:e.id,Name:void 0,Description:void 0}),t={Email:e.email,EmailPreferences:n},o={email:e.email,emailPreferences:n.map(Object(C.property)("Id"))},Lh.a.getSubscribeNewsletters(o).then(function(){Object(C.isFunction)(e.onSuccess)&&(e.onSuccess.call(window),Rn.a.dispatch(Nn.a.NewsletterSignUp,t),Lh.a.getEmailPreferences(o.email).then(function(t){Lh.a.setEmailPreferencesIds(t)}))}).catch(function(t){Object(C.isFunction)(e.onError)&&(e.onError.call(window,t),Rn.a.dispatch(Nn.a.NewsletterSignUpFails,{PostModel:o,Error:t}))}))}}}},Rh),n=function(){Rn.a.init(o),window.NxtInner=new Jt,window.Connext=new xn,window.CnnXt=Uh.getMethods()};Promise.prototype.always=function(e){return this.then(e,function(t){throw e(t),t})},String.prototype.replaceAt=function(t,e){return this.substr(0,t)+e+this.substr(t+e.length)},new n},function(t,e,n){"use strict";n.r(e);var u=n(145),o=n(125),s=n(126),r=n(119),i=n(82),a=n(27),c=n(20),p=n(5),l=n(143),f=n(46),h=function(t){t&&(this.Method=t.Method,this.Level=t.Level,this.Rule=t.Rule,this.Id=t.Id)},d=n(0),y=(_.prototype.process=function(e){var t=e.DynamicMeter.Rules;return this.calculateMeter(t,e).then(function(t){return o.a.set(s.a.Meter,t),r.a.dispatch(i.a.MeterLevelSet,t),p.a.setActiveMeterView(t.Id),a.Campaign.process(t,e.Campaign)})},_.prototype.calculateRule=function(t){var n=this,o="calculateMeterLevel",r={timeout:l.a.get(s.a.DynamicMeterPromiseTimeout),sortField:"Priority"},i=c.a.getInstance();u.a.log(this.NAME,o,"Calculating meter level....",t);var a=[];return t&&t.length?(Object(d.each)(t,function(t,e){u.a.log(n.NAME,o,"rules.each",e,t),t.passed=!0,t.calculateExpressions=i.getCalculateExpressions(t.Segments,r),a.push(i.executeCalculateExpressionsForCollection(t))}),i.calculatePassedCollection(a,r.sortField)):Promise.resolve(null)},_.prototype.calculateMeter=function(t,e){var n=this;return this.calculateRule(t).then(function(t){return n.getMeter(t,e)})},_.prototype.getMeter=function(t,e){var n=t?t.MeterLevelId:e.Settings.DefaultMeterLevelId,o=Object(d.isEmpty)(t)?"Default":"Dynamic",e=t?"Determined meter level":"Failed to determined Meter Level... using default";return u.a.log(e,f.h[n]),new h({Method:o,Level:f.h[n],Rule:t,Id:n})},_);function _(){this.NAME="Meter"}var g=n(130),v=n(144),m=n(105),w=n(61),C=n(128),O=n(14),A=function(){try{var t=C.a.get("nxtact")||null,t=Object(d.isObject)(t)?t:JSON.parse(t);t&&(O.ActionModule.setTimeRepeatableActions(t),C.a.delete("nxtact"))}catch(t){u.a.error("MigrateFromNxtActCookieToStorage",t)}},b=n(2),E=n(80),P=(S.prototype.apply=function(){var a=this;this.clearOldCookies();try{var t=C.a.get(b.e.ConnextViewStructure),s=JSON.parse(C.a.get(this.oldCookieKey)||null);if(t||!s||Object(d.isEmpty)(s))return!1;C.a.set(this.oldCookieKey,s,{expires:((t=new Date).setMonth(t.getMonth()+1),t)});var c={};Object(d.each)(Object(d.keys)(s),function(t){var e,n,o=0<t.indexOf("_device"),r=o?t.split("_")[0]:t,i=a.findMeterLevelByConversationId(r);i&&(n="_"+(e=o?b.a.DeviceArticleCount:b.a.ArticleCount),(o={})[i]=((i={})[r]=((r={})[e]=s[t],r),i),o[n]=parseInt(s[t]),c=o)}),C.a.set(b.e.ConnextViewStructure,c,{expires:new Date(b.d)})}catch(t){return u.a.log(t.toString(),E.b.Error),!1}return!0},S.prototype.findMeterLevelByConversationId=function(n){var o=m.a.getCampaignData().Conversations;return o?Object.keys(o).reduce(function(t,e){return o[e]&&t.push(o[e]),t},[]).reduce(function(t,e){return e.Id===n&&e.MeterLevelId||t},0):0},S.prototype.clearOldCookies=function(){try{Object(d.each)(C.a.keys(),function(e){[b.e.ViewedArticles,"sub_Connext_ViewedArticles"].some(function(t){return e.startsWith(t)})&&(C.a.delete(e),C.a.delete(e,{domain:(window.location.host.match(/\..+\..+$/g)||[])[0]}))})}catch(t){u.a.log(t.toString(),E.b.Error)}},S);function S(){this.oldCookieKey="connext_viewstructure"}function D(){}var I=new(D.prototype.migrate=function(){(new P).apply(),new A},D);n.d(e,"MainFlow",function(){return T});var M,j,e=(M=function(t,e){return(M=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}M(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),T=(j=w.a,e(x,j),x.prototype.process=function(){var e=this;I.migrate(),u.a.log("MainFlow","processUsualConfiguration","Processing usual configuration",arguments),o.a.set(s.a.IsProcessed,!0),o.a.set(s.a.StartProcessingTime,new Date),this.canClientUsePlugin().then(function(t){t?e.continueProcessing():(e.proccessDefaultActivationFlow(),e.stopProcessing())})},x.prototype.finishFlow=function(){p.a.saveViewInformation();var t=o.a.get(s.a.DebugInstance);t&&t.showIfNeed(),this.updateFlowInfo()},x.prototype.canClientUsePlugin=function(){var e=this.configuration.WhitelistSets;return g.a.loadAllowedAccessIfNeed(e).then(function(t){return o.a.set(s.a.AllowedAccessInstance,t),p.a.setViewData().then(function(){return t?t.canClientUseConnext(e).then(function(){return Promise.resolve(!0)}).catch(function(){return Promise.resolve(!1)}):Promise.resolve(!0)})})},x.prototype.continueProcessing=function(){var e=this,n="continueProcessing";return u.a.log("MainFlow",n,"Continue processing ConneXt...",this.configuration),r.a.dispatch(i.a.DynamicMeterFound,this.configuration.DynamicMeter.Name),(new y).process(this.configuration).then(function(){return e.finishProcessing(),Promise.resolve(!0)}).catch(function(t){return u.a.log("MainFlow",n,"Meter not found",t),e.finishProcessing(),Promise.reject(!1)})},x.prototype.finishProcessing=function(){r.a.dispatch(i.a.Finish,{Location:v.a.getLocationInfo()}),this.finishFlow()},x.prototype.proccessDefaultActivationFlow=function(){var e=m.a.getActivationTemplate();e&&g.a.loadActivation().then(function(t){t&&(new t(e),u.a.log("MainFlow","proccessDefaultActivationFlow","Proccess activation flow from configuration",e))})},x);function x(t){var e=j.call(this)||this;return e.configuration=t,e}},,function(t,e,n){"use strict";var o=n(143),r=n(16),i=n(11),a=n(46),s=n(119),c=n(145),u=n(45),p=n(82),l=(f.prototype.getType=function(){return this.displayType},f.prototype.setType=function(t){this.displayType=t},f.prototype.getElement=function(){return this.domElement},f.prototype.setElement=function(t){this.domElement=t},f.prototype.beforeShow=function(){},f.prototype.dispatchTemplateShownEvent=function(){var t=new CustomEvent(a.g.TemplateShown,{bubbles:!0});this.getElement().dispatchEvent(t),s.a.dispatch(a.g.TemplateShown)},f.prototype.dispatchTemplateCloseEvent=function(t){t=t||a.b.CloseButton;t=new CustomEvent(a.g.TemplateClosed,{bubbles:!0,detail:{closeEvent:t}});this.getElement().dispatchEvent(t),c.a.warn(this.getElement(),"dispatchEvent")},f.prototype.afterShow=function(){this.dispatchTemplateShownEvent(),this.addCloseBtnListener(),this.fixDisplayBugs()},f.prototype.fixDisplayBugs=function(){this.fixBackgroundImage()},f.prototype.fixBackgroundImage=function(){var t,e;u.a.isIE()&&(t=this.getElement(),(e=[].slice.call(i.a.find("*",t),0)).push(t),e.forEach(function(t){t.style.backgroundImage&&(t.style.backgroundImage=t.style.backgroundImage)}))},f.prototype.show=function(){},f.prototype.hide=function(t){this.dispatchTemplateCloseEvent(t),i.a.addClass(this.getElement(),"hide"),i.a.remove(this.getElement())},f.prototype.switchStep=function(){},f.prototype.destroy=function(){i.a.isVisible(this.getElement())?this.hide():i.a.remove(this.getElement())},f.prototype.setWidth=function(t){var e;this.width=t,"function"==typeof Event?e=new Event("resize"):(e=document.createEvent("Event")).initEvent("resize",!0,!0),window.dispatchEvent(e)},f.prototype.getWidth=function(){return this.width||+this.getElement().dataset.width},f.prototype.addCloseBtnListener=function(){var n=this;i.a.on(i.a.find("[data-dismiss]",this.getElement()),"click",function(t){t.preventDefault();var e=t.target,t=i.a.attr(e,"href");if(i.a.attr(e,"data-dismiss")===a.i&&("#"===t||!t))return!1;"#"!==t&&t?n.fireTargetValue(e,t):(c.a.log(n.NAME,"addCloseBtnListener","Click by link without href",t),n.hide())})},f.prototype.fireTargetValue=function(t,e){var n;t.hasAttribute("target")?(n="Open in a new window",window.open(e,"_blank")):(n="Open in the current window",window.location.href=e),c.a.log(this.NAME,"fireTargetValue",n,e),s.a.dispatch(p.a.ButtonClick,this.options)},f.prototype.addCss=function(t,e){t&&i.a.append(this.getElement(),'<style id="'+e+'-mg2style">'+t+"</style>")},f.prototype.setId=function(t){i.a.attr(this.getElement(),{id:t})},f.prototype.isCanShow=function(){if(this.options&&this.options.Selector){var t=i.a.isExistElement(this.options.Selector);return t||c.a.error(this.options.Selector," not found"),t}return!0},f);function f(t){this.NAME="Template",this.displayType="",this.options=t,this.setElement(i.a.create(this.options.Html))}var h=n(19),d=n(0),y=n(25),_=function(t){this.backdrop=t.backdrop||!0,this.keyboard=t.keyboard||!0,this.focus=t.focus||!0,this.show=t.show||!1,this.ignoreBackdropClick=t.ignoreBackdropClick||!1,this.class=t.class||"",this.notClosable=t.notClosable||!1,this.height=t.height||null,this.maxHeight=t.maxHeight||null,this.width=t.width||null,this.transparentBackdrop=Object(y.s)(t.transparentBackdrop)?t.transparentBackdrop:.7},g=n(29),v=(m.prototype.show=function(){this.isShown||(this.isShown=!0,i.a.attr(this.element,{"aria-hidden":!1}),this.layout(),i.a.updateStyleAttr(this.element,{display:"block"}),i.a.addClass(this.element,"in"),this.setFocus())},m.prototype.setZindex=function(t){this.zIndex=t,i.a.css(this.element,{zIndex:t})},m.prototype.setFocus=function(){i.a.setFocus(this.element)},m.prototype.close=function(t,e){if(!this.options.notClosable){switch(t){case a.b.EscButton:return void this.onEsc(e,t);case a.b.ClickOutside:return void this.onClickOutside(e,t)}this.element&&i.a.updateStyleAttr(this.element,{display:""}),h.a.hide(this,t)}},m.prototype.onClickOutside=function(t,e){this.isCanCloseOnBackdropClick()&&!this.isClickOnCurrentModal(t)&&h.a.hide(this,e)},m.prototype.isClickOnCurrentModal=function(t){return t.target.closest(".modal")},m.prototype.isCanCloseOnBackdropClick=function(){return!(this.options.ignoreBackdropClick||"static"===this.options.backdrop)},m.prototype.onEsc=function(t,e){this.isShown&&(t=t.which||t.keyCode,this.options.keyboard&&27===t&&h.a.hide(this,e))},m.prototype.hide=function(t){this.isShown&&(this.dispatchCloseModalEvent(t),i.a.removeClass(this.element,g.a.IN),this.isShown=!1,this.removeContainer(),this.elementInMemory=null)},m.prototype.layout=function(){var t=this.options.height?"height":"max-height",e=this.options.height||this.options.maxHeight,n={};this.options.width?(i.a.css(this.element,{width:this.options.width}),i.a.css(this.element,{"margin-left":this.getMarginLeft()})):(i.a.css(this.element,{width:""}),i.a.css(this.element,{"margin-left":""}));var o=i.a.find(".modal-body",this.element);e?(n[t]=e,i.a.css(o,{overflow:"auto"})):(i.a.css(o,{overflow:""}),n[t]=""),i.a.css(o,n)},m.prototype.getMarginLeft=function(){return/%/gi.test(this.options.width)?-parseInt(this.options.width)/2+"%":-i.a.width(this.element)/2+"px"},m.prototype.dispatchCloseModalEvent=function(t){t=new CustomEvent("modal:hidden",{detail:{closeEvent:t}});this.element.dispatchEvent(t)},m.prototype.createContainer=function(){var t=document.createElement("div");return t.className="modal-scrollable",t.id=(new Date).valueOf()+"",document.body.appendChild(t)},m.prototype.removeContainer=function(){this.containerElement&&i.a.remove(this.containerElement)},m);function m(t,e){this.isShown=!1,this.options=new _(e),this.elementInMemory=Object(d.isString)(t)?i.a.create(t):t,this.id=(new Date).valueOf(),this.containerElement=this.createContainer(),this.element=i.a.append(this.containerElement,this.elementInMemory)}var w,C,O=n(48),A=((w=function(t,e){return(w=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}w(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(b,C=l),b.prototype.show=function(){var t={backdrop:this.options.NotClosable?"static":null,keyboard:!this.options.NotClosable,notClosable:this.options.NotClosable,transparentBackdrop:this.options.TransparentBackdrop};this.modal=new v(this.getElement(),t),this.setElement(this.modal.element),this.setModalStyle(),h.a.show(this.modal),i.a.removeClass(this.getElement(),"hide")},b.prototype.afterShow=function(){var t,e=this,n=this.getElement();!this.options.NotClosable||(t=i.a.find(".closebtn",n)[0])&&i.a.attr(t,{"data-dismiss":"notclosablepaywall"}),C.prototype.afterShow.call(this),i.a.on(n,"modal:hidden",function(t){e.dispatchTemplateCloseEvent(t.detail.closeEvent)}),this.setModalStyle(),this.resizeHandler=function(){setTimeout(function(){e.setModalStyle(),O.a.updateUnderElement(n)},100)},i.a.on(window,"resize",this.resizeHandler)},b.prototype.setModalStyle=function(){var t=this.getWidth(),e=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth;+e<+t?e-=40:e=t,i.a.updateStyleAttr(this.getElement(),{width:e+"px"})},b.prototype.hide=function(t){i.a.off(window,"resize",this.resizeHandler),h.a.hide(this.modal,t)},b);function b(t){t=C.call(this,t)||this;return t.setType(a.l.Modal),t}var E,P,S=((E=function(t,e){return(E=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}E(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(D,P=l),D.prototype.show=function(){var t=i.a.append(document.body,this.getElement());this.setElement(t);var e=this.options.Location||"bottom";i.a.removeClass(t,"bottom"),i.a.removeClass(t,"hide"),i.a.addClass(t,e)},D);function D(t){t=P.call(this,t)||this;return t.setType(a.l.Banner),t}var I,M,j=n(79),T=n(51),x=((I=function(t,e){return(I=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}I(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(k,M=l),k.prototype.show=function(){var t=this.options.Selector,e=this.options.Position,n=i.a.queryElement(t);if(n)if(e)this.appendToDOM(this.getElement(),n,e);else{e=T.a.getLastVisibleElement(n);if(i.a.hasClass(e,"Mg2-fade")){n=e.parentElement;if(n)return void this.insertAfterElement(n)}if(e&&"IMG"===e.nodeName)return void this.insertAfterElement(e);e=i.a.append(e,this.getElement());this.setElement(e),this.incrementSelectorHeight()}else c.a.error(t+"is not found");i.a.removeClass(this.getElement(),"hide")},k.prototype.insertAfterElement=function(t){t=i.a.after(t,this.getElement());this.setElement(t)},k.prototype.appendToDOM=function(t,e,n){j.a.isElement(e)&&(n&&"before"===n?i.a.before(e,t):i.a.after(e,t))},k.prototype.incrementSelectorHeight=function(){var t=i.a.height(this.getElement()),e=i.a.queryElement(this.options.Selector);i.a.css(e,{height:i.a.height(e)+t+"px"})},k);function k(t){t=M.call(this,t)||this;return t.setType(a.l.Inline),t}var N,L,R=((N=function(t,e){return(N=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}N(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(U,L=l),U.prototype.show=function(){var t,e,n=this.appendToDOM(this.getElement(),"body");this.setElement(n),this.options.HorizontalOffset&&this.options.VerticalOffset&&(i.a.removeClass(n,"bottom"),i.a.removeClass(n,"hide"),e={left:(t=this.options.HorizontalOffset)+"%",top:(e=100-this.options.VerticalOffset)+"%",transform:"translate(-"+t+"%, -"+e+"%)"},i.a.css(n,e))},U.prototype.appendToDOM=function(t,e){e=i.a.queryElement(e);return i.a.append(e,t)},U);function U(t){t=L.call(this,t)||this;return t.setType(a.l.InfoBox),t}var V,B,l=(V=function(t,e){return(V=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}V(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),F=(B=r.a,l(W,B),W.prototype.createTemplate=function(t){if(!t.Html)return null;var e;switch(t.DisplayType||this.checkDisplayType(t.Html)){case a.l.Modal:e=new A(t);break;case a.l.Banner:e=new S(t);break;case a.l.Inline:e=new x(t);break;case a.l.InfoBox:e=new R(t)}return e},W.prototype.checkDisplayType=function(t){return i.a.create(t).dataset.displayType},W);function W(){return B.call(this)||this}var H=n(126);n.d(e,"a",function(){return q});var q=(K.getInstance=function(){return K.instance||(K.instance=new K),K.instance},K.prototype.closeAllTemplates=function(){var t="closeAllTemplates";c.a.log(this.NAME,t,"Close all ConneXt Templates");var e=i.a.find(".Mg2-connext.paywall.flittz:visible",i.a.queryElement("body")),n=o.a.get(H.a.IntegrateFlittz);e&&n&&s.a.dispatch(p.a.FlittzPaywallClosed,null),this.destroyAllTemplates(),c.a.log(this.NAME,t,"All ConneXt Templates have been closed.")},K.prototype.createTemplate=function(t){t=(new F).createTemplate(t);return t&&this.registerTemplate(t),t},K.prototype.destroyAllTemplates=function(){this.registredTemplates.forEach(function(t){t.destroy()}),this.registredTemplates=[]},K.prototype.registerTemplate=function(t){this.registredTemplates.push(t)},K);function K(){this.NAME="TemplateModule",this.registredTemplates=[]}},function(t,e,n){"use strict";var o=n(88),r=n(125),i=n(126),a=n(145),s=n(143),c=n(46),u=n(128),p=n(146),l=n(42),f=n(2),h=n(122);function d(){this.http=new h.a}var y=new(d.prototype.getConfigurationFromApi=function(t,e,n){e="configuration/mapped/siteCode/"+t+"/configCode/"+e;return n&&(e=e+"?publishDate="+encodeURIComponent(n)),p.a.get(e)},d.prototype.getPublishSettingsFromApi=function(t,e,n){n=t+"data/last_publish/"+e+"__"+n+".json?_="+(new Date).getTime();return this.http.get(n)},d.prototype.clear=function(){l.a.delete(f.e.Configuration)},d.prototype.getPublishSettings=function(){var t=u.a.get(f.e.PublishSettings);return t?JSON.parse(t):null},d.prototype.setPublishSettings=function(t,e){return u.a.set(f.e.PublishSettings,JSON.stringify(t),e)},d.prototype.getLocalConfiguration=function(){return l.a.get(f.e.Configuration)||r.a.get(f.e.Configuration)},d.prototype.setLocalConfiguration=function(t){l.a.set(f.e.Configuration,t)||(r.a.set(f.e.Configuration,t),l.a.delete(f.e.Configuration))},d.prototype.getCampaignData=function(){return this.getLocalConfiguration().Campaign},d),_=function(t,e){this.publishSettings=t,this.needUpdate=e},g=n(0),v=n(5),m=n(8),w=n(131),C=n(133),O=(A.prototype.resetAll=function(){w.a.resetStorage(),C.a.resetStorage(),m.a.resetStorage(),v.a.resetStorage()},A.prototype.setResetData=function(t){this.resetData=t,this.publishSettings=t?t.publishSettings:null},A.prototype.startFlowResetIfNeed=function(t,e){t?(this.setResetData(t),this.resetData&&this.publishSettings&&this.resetData.needUpdate&&(this.isNeedUpdateRepeatActions()&&w.a.resetStorage(),this.isResetCurrentConversation()&&(v.a.resetCurrentCovrsations(),C.a.resetStorage()),this.isResetAllowIpList()&&m.a.resetStorage(),!e&&this.isResetArticleViews()&&v.a.resetStorage(),e&&(this.resetData.needUpdate=!1))):this.resetAll()},A.prototype.isResetCurrentConversation=function(){return!(!this.resetData||!this.publishSettings)&&(!!this.resetData.needUpdate&&!(!this.publishSettings.ResetCurrentConversation&&!this.publishSettings.Reset))},A.prototype.isResetArticleViews=function(){return!!this.resetData&&!(!this.publishSettings.ResetArticleViews&&!this.publishSettings.Reset)},A.prototype.isResetAllowIpList=function(){return!!this.resetData&&!(!this.publishSettings.ResetAllowIpList&&!this.publishSettings.Reset)},A.prototype.isNeedUpdateRepeatActions=function(){return!!this.resetData&&!(!this.publishSettings||!this.publishSettings.Reset&&!this.publishSettings.ResetRepeatable)},A);function A(){}var b=n(25),E=(P.prototype.getUrl=function(){var t;return this.url&&!~this.url.indexOf("returnUrl=")&&"#"!==this.url&&(t=this.getReturnUrl(this.configSettings),t=Object(b.c)(t,"clearUserState","true"),this.url=Object(b.c)(this.url,"returnUrl",t)),this.url},P.prototype.getReturnUrl=function(t){var e=(e="")||Object(b.l)(["returnUrl"]).returnUrl;return t?e=(e=e||t.ReturnUrl)||window.location.href.split("?")[0]:""},P);function P(t,e){this.configSettings=e,this.url=t}var S=n(89);function D(){}n.d(e,"a",function(){return I});var I=new(D.prototype.getStartConfiguration=function(){var n=this;this.resetService=new O;var t=y.getLocalConfiguration();if(Object(g.isEmpty)(t))return this.saveConfiguration();this.setConfiguration(t);t=y.getPublishSettings();return s.a.setPublishSettings(t),new Promise(function(e){n.updateConfiguration().then(function(){var t=y.getPublishSettings();s.a.setPublishSettings(t),n.resetService.startFlowResetIfNeed(t),e(y.getLocalConfiguration())}).catch(function(){n.saveConfiguration().then(function(t){e(t)})})})},D.prototype.isHaveNewPublish=function(t,e){return new Date(this.getPublishDate(e)).valueOf()<new Date(t.publishSettings.Date).valueOf()},D.prototype.getResetService=function(){return this.resetService},D.prototype.getPublishDate=function(t){t=t||this.getConfiguration();return t&&t.Settings&&t.Settings.LastPublishDate?new Date(t.Settings.LastPublishDate):null},D.prototype.getConfiguration=function(){return y.getLocalConfiguration()},D.prototype.setConfiguration=function(t){y.setLocalConfiguration(t),r.a.set(i.a.UseRootDomain,this.useRootDomain())},D.prototype.saveConfiguration=function(t){var e=this,t=t&&t.publishSettings?t.publishSettings.Date:null;return y.getConfigurationFromApi(s.a.getSiteCode(),s.a.getConfigCode(),t).then(function(t){return t?(e.setConfiguration(t),t.Settings&&s.a.updateProductCodeFromConfig(t.Settings),Promise.resolve(t)):Promise.reject()})},D.prototype.updateConfiguration=function(){var e=this;return this.getResetInformation().then(function(t){return e.updatePublishSettings(t),e.resetService.setResetData(t),t.needUpdate?e.saveConfiguration(t):Promise.resolve(null)}).catch(function(t){return a.a.error(t),Promise.reject(t)})},D.prototype.getResetInformation=function(){var r=this,i="getResetInformation";return y.getPublishSettingsFromApi(s.a.getResourceUrl(),s.a.getSiteCode(),s.a.getConfigCode()).then(function(t){if(Object(g.isEmpty)(t)||!t.Date)return a.a.error("Configuration",i,"Publish settings file is empty","Resource URL: "+s.a.getResourceUrl(),t?JSON.stringify(t):null),Promise.reject(null);var e=new Date(t.Date),n=r.getPublishDate(),o=!1,o=!n||e.getTime()>n.getTime(),o=new _(t,o);return Promise.resolve(o)}).catch(function(t){return a.a.error("Configuration",i,"Failed to get Publish settings","Resource URL: "+s.a.getResourceUrl()+", SiteCode: "+s.a.getSiteCode()+", ConfigCode: "+s.a.getConfigCode()),Promise.reject(null)})},D.prototype.updatePublishSettings=function(t){s.a.setPublishSettings(t),y.setPublishSettings(t,{expires:new Date(c.f)})},D.prototype.getPublishSettings=function(){return y.getPublishSettings()},D.prototype.getCampaignData=function(){return this.getConfiguration().Campaign},D.prototype.getConfigurationSettings=function(){var t=this.getConfiguration();return t?t.Settings:null},D.prototype.useRootDomain=function(){var t=this.getConfigurationSettings();return!!t&&t.UseParentDomain},D.prototype.getRegistrationType=function(){return this.getConfigurationSettings().Site.RegistrationTypeId},D.prototype.getWhitelistSets=function(){return this.getConfiguration().WhitelistSets},D.prototype.getRegistrationTemplate=function(){return this.getConfigurationSettings().RegistrationForm},D.prototype.getLoginTemplate=function(){return this.getConfigurationSettings().LoginTemplate},D.prototype.getActivationTemplate=function(t){return t||this.getConfigurationSettings().ActivationForm},D.prototype.getUrlWithReturnParam=function(t){return new E(t,this.getConfigurationSettings()).getUrl()},D.prototype.getUrlWithQueryParams=function(t,e){return new S.a(t,e,this.getConfigurationSettings()).getUrl()},D.prototype.getConversation=function(t,e){var n=this.getCampaignData();if(!n||!n.Conversations||n.Conversations[t])return null;t=n.Conversations[t],e=Object(g.findWhere)(t,{Id:e});return e?new o.a(e):null},D)},function(t,e,n){"use strict";var o=n(0),r=n(78),i=n(145),a=n(119),s=n(82),c=n(25),u=(p.prototype.getNewsletterSource=function(){return this.newsLetterName||null},p);function p(t,e){t&&(this.source=t.g2i_source||null,this.newsLetterName=t.g2i_campaign||null,this.encryptedEmail=t.g2i_eui||null)}var l={Source:"g2i_source",EncryptedUserEmail:"g2i_eui",NewsletterName:"g2i_campaign"},f=(h.prototype.isCameFromNewsletter=function(){return null!=this.newsletterUrlData&&null!=this.newsletterUrlData.source&&this.newsletterUrlData.source.toLowerCase()===this.type},h.prototype.isHaveEncryptedEmail=function(){return!!this.newsletterUrlData.encryptedEmail},h.prototype.processParams=function(){return this.isCameFromNewsletter()?(this.setNewsletterSource(),this.setNewsletterReader(),this.isHaveEncryptedEmail()?this.setEmailPreferences():(this.fireNewsletterArrival(),Promise.resolve())):Promise.resolve()},h.prototype.setEmailPreferences=function(){var e=this;return r.a.setEncryptedEmail(this.newsletterUrlData.encryptedEmail),this.getUserInfoByEncryptedEmail().then(function(t){return t?(e.email=t.User?t.User.Email:null,e.email?_.getEmailPreferences(e.email).then(function(t){return _.setEmailPreferencesIds(t),e.fireNewsletterArrival(t),Promise.resolve()}):Promise.resolve()):Promise.resolve()}).catch(function(t){return i.a.error("setEmailPreferences",t),Promise.resolve()})},h.prototype.getUserInfoByEncryptedEmail=function(){return r.a.getUserDataByEncryptedEmail(this.newsletterUrlData.encryptedEmail)},h.prototype.setNewsletterSource=function(){var t={};t[l.EncryptedUserEmail]=this.newsletterUrlData.encryptedEmail||null,t[l.NewsletterName]=this.newsletterUrlData.newsLetterName||null,r.a.setNewsletterSource(t,{useRootDomain:!0,expandKey:!1})},h.prototype.setNewsletterReader=function(){r.a.setNewsletterReader(new Date,!1)},h.prototype.fireNewsletterArrival=function(t){var e={Source:this.newsletterUrlData.source};this.email&&(e.Email=this.email,t&&(e.EmailPreferences=t)),a.a.dispatch(s.a.NewsletterArrival,e)},h);function h(){this.emailPreferenceIds=[];var t=Object(c.h)();this.newsletterUrlData=new u(t),this.type="newsletter"}var d=n(11);function y(){}n.d(e,"a",function(){return _});var _=new(y.prototype.processNotLegacyParams=function(){return(new f).processParams()},y.prototype.getSubscribeNewsletters=function(t){return r.a.getSubscribeNewsletters(t)},y.prototype.setEmailPreferencesIds=function(t){t=Object(o.map)(t,function(t){return t.Id}).join(",");r.a.setEmailPreference(t,{useRootDomain:!0,expandKey:!1,expires:Object(c.b)(45)})},y.prototype.getCookiesEmailPreferences=function(){return r.a.getEmailPreference()},y.prototype.getEmailPreferences=function(t){return r.a.getEmailPreferences(t).then(function(t){var e=[];return Object(o.each)(t,function(t){t=t.Preference;e.push({Id:t.EmailPreferenceId,Name:t.Title,Description:t.Description})}),Promise.resolve(e)})},y.prototype.getNewsletterReader=function(t){return r.a.getNewsletterReader(t)},y.prototype.getNewsletterSource=function(){return r.a.getNewsletterSource()},y.prototype.registerNewsletterWidgetListeners=function(){return d.a.on(document,s.a.NewsletterUpdateResolved,function(t){var e=t.detail.alreadySignedUpPreferences.map(function(t){return{Id:t.EmailPreferenceId,Name:t.Title}}),e={Email:t.detail.email,EmailPreferences:e||""};a.a.dispatch(s.a.NewsletterSignUp,e)}),Promise.resolve()},y)},function(t,e,n){"use strict";var o=n(45),r=n(0),i=n.n(r);function a(){this.safariCookieMaxAge=6048e5,this.prefix="Cookie_"}var p=new(a.prototype.dublicateCookieToLocalStorageIfItNeed=function(t,e,n){if(!this.isDublicateToLocalStorage(t,e,n)||""==e)return localStorage.removeItem(this.prefix+t),!1;n=i.a.extend({},n);n.key=t,n.value=e,localStorage.setItem(this.prefix+t,JSON.stringify(n))},a.prototype.dublicateLocalStorageToCookieIfItNeed=function(e){if(!this.isDublicateToCookie(e))return!1;var t,n;try{t=JSON.parse(localStorage.getItem(this.prefix+e)),n=new Date(t.expires)}catch(t){return localStorage.removeItem(this.prefix+e),!1}if(this.isOutDatedLocalStorage(n))return localStorage.removeItem(this.prefix+e),!1;document.cookie=this.stringifyAttributes(t)},a.prototype.removeLocalStorageDublicate=function(t){localStorage.removeItem(this.prefix+t)},a.prototype.isDublicateToCookie=function(t){return o.a.isSafari()},a.prototype.isDublicateToLocalStorage=function(t,e,n){return!!o.a.isSafari()&&this.isDublicateSafari(new Date(n.expires))},a.prototype.isDublicateSafari=function(t){return t.getTime()>(new Date).getTime()+this.safariCookieMaxAge},a.prototype.stringifyAttributes=function(t){var e,n=t.key+"="+t.value;for(e in delete t.key,delete t.value,t)t[e]&&(n+="; "+e,!0!==t[e]&&(n+="="+t[e]));return n},a.prototype.isOutDatedLocalStorage=function(t){return(new Date).getTime()>=t.getTime()},a),s=(c.getInstance=function(){return c.instance||(c.instance=new c),c.instance},c.prototype.extend=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var n=0,o={};n<t.length;n++){var r,i=t[n];for(r in i)o[r]=i[r]}return o},c.prototype.set=function(t,e,n,o){var r,i;if(void 0===o&&(o={}),"undefined"!=typeof document){"number"==typeof(n=this.extend({path:"/"},this.defaults,n)).expires&&((i=new Date).setMilliseconds(i.getMilliseconds()+864e5*n.expires),n.expires=i),n.expires=n.expires?n.expires.toUTCString():"";try{r=JSON.stringify(e),/^[\{\[]/.test(r)&&(e=r)}catch(t){}e=o.write?o.write(e,t):encodeURIComponent(String(e)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=(t=(t=encodeURIComponent(String(t))).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent)).replace(/[\(\)]/g,escape);var a,s="";for(a in n)n[a]&&(s+="; "+a,!0!==n[a]&&(s+="="+n[a]));return p.dublicateCookieToLocalStorageIfItNeed(t,e,n),document.cookie=t+"="+e+s}},c.prototype.get=function(t,e,n){var o;if(void 0===e&&(e={}),void 0===n&&(n=!1),"undefined"!=typeof document){t||(o={}),p.dublicateLocalStorageToCookieIfItNeed(t);for(var r=document.cookie?document.cookie.split("; "):[],i=/(%[0-9A-Z]{2})+/g,a=0;a<r.length;a++){var s=r[a].split("="),c=s.slice(1).join("=");n||'"'!==c.charAt(0)||(c=c.slice(1,-1));try{var u=s[0].replace(i,decodeURIComponent),c=e.read?e.read(c,u):c.replace(i,decodeURIComponent);if(n)try{c=JSON.parse(c)}catch(t){}if(t===u){o=c;break}t||(o[u]=c)}catch(t){}}return o}},c.prototype.getJson=function(t,e){return void 0===e&&(e={}),this.get(t,e,!0)},c.prototype.remove=function(t,e){this.set(t,"",this.extend(e,{expires:-1}))},c);function c(){this.defaults={}}n.d(e,"a",function(){return u});var u=(l.getInstance=function(){return l.instance||(l.instance=new l),l.instance},l.prototype.isSupported=function(){return!0},l.prototype.get=function(t,e){return void 0===e&&(e={}),this.cookies.get(t,e)},l.prototype.set=function(t,e,n,o){void 0===o&&(o={}),this.cookies.set(t,e,n,o)},l.prototype.delete=function(t,e){this.cookies.remove(t,e)},l.prototype.clear=function(){var a=this;document.cookie.split(";").forEach(function(t){for(var e=t.split("=").map(function(t){return t.trim()})[0],n=window.location.hostname.split("."),o=0;o<=n.length;o++)for(var r=window.location.pathname.split("/"),i=0;i<r.length;i++)a.delete(e,{domain:n.slice(o,n.length).join("."),path:r.slice(0,i+1).join("/")||"/"})})},l);function l(){this.cookies=s.getInstance()}},,,,,function(t,e,n){"use strict";var o=n(0),r=n(88),i=(a.prototype.setConversation=function(t){var e=[];return Object(o.isArray)(t)?(Object(o.each)(t,function(t){e.push(new r.a(t))}),e):new r.a(t)},a);function a(t){t&&(t.Free&&(this.Free=this.setConversation(t.Free)),t.Metered&&(this.Metered=this.setConversation(t.Metered)),t.Premium&&(this.Premium=this.setConversation(t.Premium)))}n.d(e,"a",function(){return s});var s=function(t){t&&(this.Id=t.Id,this.Name=t.Name,this.Conversations=new i(t.Conversations))}},function(t,e,n){"use strict";var o=n(52),r=n(25),i=n(55),a=function(t){this.Ended=null,this.Expiration=null,this.Started=null,t&&(this.Ended=t.Ended,this.Expiration=t.Expiration,this.Started=t.Started)};n.d(e,"a",function(){return s});var s=(c.prototype.getExpiredTypeName=function(){return this.ExpiredType?this.ExpiredType.TypeName:null},c.prototype.getPaywallInfo=function(){return this.PaywallInfo||null},c.prototype.setPaywallInfo=function(t){this.PaywallInfo=t},c.prototype.setPaywallProperties=function(t){(this.PaywallInfo=t).MinView&&(t.ArticleLeft&&Object(r.s)(t.ArticleLeft[t.MinView])&&(this.ArticleLeft=t.ArticleLeft[t.MinView],this.ViewType=t.MinView),t.Limit&&t.Limit[t.MinView]&&(this.PaywallLimit=t.Limit[t.MinView],this.ViewType=t.MinView))},c.prototype.setViews=function(t){this.Views=t},c.prototype.getViews=function(){return this.Views},c.prototype.setStartDate=function(t){this.Date.Started=t},c.prototype.getStartDate=function(){return this.Date.Started},c.prototype.getExpiredType=function(){return this.ExpiredType||null},c.prototype.setExpiredType=function(t){this.ExpiredType=t},c.prototype.getFreeViewsLeft=function(){return this.ArticleLeft},c.prototype.getIsExpired=function(){return this.IsExpired},c.prototype.setIsExpired=function(t){this.IsExpired=t},c.prototype.getDateExpiration=function(){return this.Date.Expiration},c.prototype.setDateExpiration=function(t){this.Date.Expiration=t},c.prototype.getDateEnded=function(){return this.Date.Ended},c.prototype.setDateEnded=function(t){this.Date.Ended=t},c);function c(t){this.Date={},t&&(this.IsExpired=t.IsExpired,this.PaywallLimit=t.PaywallLimit,this.Views=t.Views,this.Date=new a(t.Date),this.ArticleLeft=t.ArticleLeft,this.ViewType=t.ViewType,this.PaywallInfo=new i.a(t.PaywallInfo),this.ExpiredType=new o.a(t.ExpiredType),this.Expired=t.Expired)}},,,,,,function(t,e,n){"use strict";var i=n(0),a=n(25),s=n(145);function o(t){void 0===t&&(t=document),this.eventsRoot=t,this.subscribers=[]}n=new(o.prototype.init=function(t){this.availableEvents=t},o.prototype.dispatch=function(e,t,n){var o,r=Object(a.u)(e);this.availableEvents?(Object(i.has)(this.availableEvents,r)?(o=new this.availableEvents[r](t)).isInner()||o.dispatchInnerEvent(t,e):o=new this.availableEvents.PublicEvent(e,t),o.trackEvent(e,t,n)):o=t,s.a.log("Fire Default "+e+" event. EventData:",o),this.subscribers.filter(function(t){return t.eventName===e||null===t.eventName}).map(function(t){return t.handler}).forEach(function(t){try{t(o,e)}catch(t){s.a.error(t)}}),this.eventsRoot.dispatchEvent(new CustomEvent(e,{detail:o}))},o.prototype.subscribe=function(t,e){var n=this,t=Object(i.isArray)(t)?t:[t];return this.subscribers=this.subscribers.concat(t.map(function(t){return{eventName:t,handler:e}})),function(){n.subscribers=n.subscribers.filter(function(t){return t.handler!==e})}},o);e.a=n},function(t,e,n){"use strict";n.d(e,"a",function(){return i});var o=n(46),r=n(0),i=function(t){t&&(Object(r.isString)(t)?(this.IsPremium=t.toUpperCase()===o.d.Premium,this.IsPurchase=t.toUpperCase()===o.d.Purchase,this.IsUpgrade=t.toUpperCase()===o.d.Upgrade):(this.IsPremium=t.IsPremium,this.IsPurchase=t.IsPurchase,this.IsUpgrade=t.IsUpgrade))}},function(t,e,n){"use strict";var o;n.d(e,"a",function(){return o}),(e=o=o||{}).SessionId="ssid",e.ConversationId="cnvid",e.ConversationName="cnvn",e.MeterMethod="mlm",e.MeterLevel="ml",e.ArticleLeft="artlft",e.ConversationView="cv",e.CampaignId="cmid",e.CampaignName="cmn",e.DynamicMeterId="dmid",e.DynamicMeterName="dmn",e.ConfigCode="cnfc",e.ConfigName="cnfn",e.SiteCode="sc",e.RegistrationTypeId="rtid",e.UserId="crid",e.EncryptedUser="igmrid",e.UserState="us",e.UserEmail="em",e.IpAddress="ip",e.UserZipCodes="zc",e.UserDeviceId="did",e.DeviceType="dt",e.UserOS="os",e.Browser="brw",e.CurrentUrl="url",e.Attr="attr",e.SettingsKey="stk",e.RunReason="rrsn",e.RuleId="rid",e.RuleName="rn",e.PropertiesViews="vws",e.NextConversationName="nxtcnvn",e.ExpiredReason="rsn",e.LoginModalId="lgmdid",e.CloseEvent="clev",e.ErrorMessage="errmsg",e.EncryptedCustomerRegistrationId="igmRegId",e.NewzwareLoginId="NzwLid",e.AuthSystem="as",e.ActionId="actid",e.ActionName="actn",e.ActionTypeId="actt",e.UserDefinedData="usdfdt",e.UserDefinedDataAttr="udfat",e.ButtonHtml="btnhtml",e.AdblockFound="dtctd",e.loadTimePlugin="lpt",e.TypeView="tvw",e.LoadError="lerrm",e.ResetOnDay="rstd",e.ResetFrequency="rstf",e.GABlocked="ga",e.GTMBlocked="gtm",e.G2insights="g2i",e.ArticleCountReset="acr",e.FprintRegenStats="fprs",e.Incognito="incg",e.Version="ver",e.LocalDateTime="ldt",e.ConfigSettingsPublishDate="cfgsetspd",e.PublishSettings="pubsets",e.DateStarted="ds",e.ExpirationDate="expd",e.OldDeviceId="aui",e.RecalculatedDeviceId="auiRecalc",e.AccessDeniedReason="adrsn",e.AccessStartDate="acssd",e.AccessEndDate="acsed",e.FlowStopped="flwstp"},function(t,e,n){"use strict";n.d(e,"a",function(){return o});var a=n(123),s=n(124),o=(r.prototype.get=function(t,e,n){return this.call("GET",t,e,n)},r.prototype.post=function(t,e,n){return this.call("POST",t,e,n)},r.prototype.call=function(t,e,n,o){o=o||{};var r=new URL(e),i={};return o.headers&&((e=new Headers(o.headers)).append("Content-Type",o.contentType||"application/json"),e.append("Accept","application/json"),i.headers=e),"GET"===(i.method=t)?n&&Object.keys(n).forEach(function(t){r.searchParams.append(t,n[t])}):i.body=JSON.stringify(n),!1===o.cache&&!1===r.searchParams.has("_")&&r.searchParams.append("_",(+new Date).toString()),fetch(r.href,i).then(function(t){if(a.a.setOffset(t.headers.get(a.a.header)),t.ok)return Promise.resolve(t);if(404==t.status||500==t.status)throw new s.a({ErrorMessage:t.status+" - "+t.url+". "+t.statusText});return t.text().then(function(t){return Promise.reject(t?JSON.parse(t):{})})}).then(function(t){return t.text().then(function(t){return t?JSON.parse(t):{}})}).catch(function(t){return Promise.reject(t)})},r);function r(){}},function(t,e,n){"use strict";n.d(e,"a",function(){return a});var o=n(81),r=n(25);function i(){this.localStorage=new o.a,this.storageKey="ServerTimeOffset",this.header="x-server-time"}var a=new(i.prototype.setOffset=function(t){t&&(t=this.calculateOffset(t),this.localStorage.set(this.storageKey,t))},i.prototype.getOffset=function(){return this.localStorage.get(this.storageKey)},i.prototype.get=function(){var t=this.getOffset();return this.addOffset(t)},i.prototype.delete=function(){this.localStorage.delete(this.storageKey)},i.prototype.calculateOffset=function(t){return Object(r.m)().valueOf()-new Date(t).valueOf()},i.prototype.addOffset=function(t){void 0===t&&(t=0);var e=(new Date).valueOf();return new Date(e+t)},i)},function(t,e,n){"use strict";n.d(e,"a",function(){return i});var o,r,e=(o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),i=(r=Error,e(a,r),a);function a(t){var e=this.constructor,n=r.call(this,t.ErrorMessage)||this;return n.name="CrashApplicationError",Object.setPrototypeOf&&Object.setPrototypeOf(n,e.prototype),n.message="Application has stopped working. "+t,n}},function(t,e,n){"use strict";function o(){this._keys=[],this._memory={}}n.d(e,"a",function(){return r});var r=new(o.prototype.isSupported=function(){return!0},o.prototype.get=function(t){return this._memory.hasOwnProperty(t)?this._memory[t]:null},o.prototype.set=function(t,e){this._memory[t]=e,this._keys.indexOf(t)<0&&this._keys.push(t)},o.prototype.delete=function(t){delete this._memory[t];t=this._keys.indexOf(t);t<0||this._keys.splice(t,1)},o.prototype.clear=function(){this._memory={},this._keys=[]},o)},function(t,e,n){"use strict";var o;n.d(e,"a",function(){return o}),(e=o=o||{}).Meter="meter",e.Promises="promises",e.IntegrateFlittz="integrateFlittz",e.ConversationPromiseTimeout="conversationPromiseTimeout",e.ActionPromiseTimeout="actionPromiseTimeout",e.DynamicMeterPromiseTimeout="dnamicMeterPromiseTimeout",e.Debug="debug",e.IsInitFinished="isInitFinished",e.SiteCode="siteCode",e.ConfigCode="configCode",e.PluginStartTime="pluginStartTime",e.ActionStartTime="actionStartTime",e.ActionEndTime="actionEndTime",e.RunTimeout="runTimeout",e.ApiUrl="apiUrl",e.DeviceId="deviceId",e.FirstRunExecuted="FIRST_RUN_EXECUTED",e.ProductCode="productCode",e.Silentmode="silentmode",e.BatchCount="batchCount",e.SettingsKey="settingsKey",e.ClientCode="clientCode",e.AuthSettings="authSettings",e.UseRootDomain="useRootDomain",e.IsProcessed="isProcessed",e.StartProcessingTime="startProcessingTime",e.AppInsightsKey="appInsightsKey",e.ViewsUpdateFromServerPeriod="ViewsUpdateFromServerPeriod",e.ArticlesCounter="articlesCounter",e.AppOptions="AppOptions",e.Attr="attr",e.PaperCode="paperCode",e.Environment="environment",e.UserAuthenticationTime="userAuthenticationTime",e.UserIgmAuthTime="userIgmAuthTime",e.CurrentConversation="currentConversation",e.NeedHideWhitelistInfobox="needHideWhitelistInfobox",e.ActivationInstance="activationInstance",e.CampaignInstance="campaignInstance",e.ActionModuleInstance="actionModuleInstance",e.AllowedAccessInstance="allowedAccessInstance",e.Application="application",e.RunReason="runReason",e.DebugInstance="debugInstance",e.RecalculateDeviceId="recalculateDeviceId",e.LastIpDeniedReason="lastIpDeniedReason",e.UseStorageSecurity="useStorageSecurity"},function(t,e,n){"use strict";n.d(e,"a",function(){return o});var o={NO_CONFIG:{code:600,message:"No Configuration Found. ",custom:!0},NO_CONVO_FOUND:{code:601,message:"No Conversation found to process. ",custom:!0},NO_SITE_CODE:{code:602,message:"No Site Code. ",custom:!0},NO_CONFIG_CODE:{code:603,message:"No Config Code. ",custom:!0},NO_JQUERY:{code:604,message:"Jquery not loaded. ",custom:!0},NO_METER_LEVEL_SET:{code:605,message:"No meter level set. ",custom:!0},NO_CAMPAIGN:{code:606,message:"No campaign data. ",custom:!0},NO_AUTH0_LOCK:{code:607,message:"No auth0Lock object in the authSettings! ",custom:!0},UNKNOWN_REG_TYPE:{code:608,message:"Unknown registration type. ",custom:!0},UNKNOWN_USER_STATE:{code:609,message:"Unknown user state. ",custom:!0},NO_USER_DATA:{code:610,message:"No user data result. ",custom:!0},NO_JANRAIN_DATA:{code:611,message:"No user data UUID. ",custom:!0},CONFIG_HAS_NOT_PUBLISHED:{code:612,message:"Configuration has not published. ",custom:!0},S3DATA_IS_INVALID:{code:613,message:"s3Data is not an object. ",custom:!0},HIDE_CONTENT:{code:614,message:"Cannot hide content! ",custom:!0},LOAD_ERRORS:{cookie:{ErrorMessage:"Data can not be written to the cookie storage."},configCode:{ErrorMessage:"Incorrect or not specified configCode."},siteCode:{ErrorMessage:"Incorrect or not specified siteCode."},auth0Lock:{ErrorMessage:"Auth0Lock is not defined."},configuration:{ErrorMessage:"No configuration found to process."},networkError:{ErrorMessage:"No network."}}}},function(t,e,n){"use strict";n.d(e,"a",function(){return y});var o,r,i=n(2),e=n(50),a=n(107),s=n(25),c=n(124),u=n(127),p=n(145),l=n(125),f=n(126),h=n(129),n=(o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});function d(){var t=r.call(this)||this;return t.cookies=a.a.getInstance(),t}var y=new(r=e.a,n(d,r),d.prototype.get=function(t,e){void 0===e&&(e=new h.a);var n=t;return e.expandKey&&(n=this.expandKey(t)),this.shouldUseRootDomain(e)||(n=i.e.CookiePrefix+n),this.cookies.get(n)},d.prototype.set=function(t,e,n){void 0===n&&(n=new h.a);var o=t;!1!==n.expandKey&&(o=this.expandKey(t)),n.daysOfLife&&(n.expires=Object(s.b)(n.daysOfLife)),this.shouldUseRootDomain(n)?n.domain=this.getRootDomain():(o=i.e.CookiePrefix+o,n.domain=window.location.hostname);try{this.cookies.set(o,e,n,n.converter)}catch(t){throw new c.a(u.a.LOAD_ERRORS.cookie)}},d.prototype.delete=function(t,e){void 0===e&&(e=new h.a);var n=t;!1!==e.expandKey&&(n=this.expandKey(t)),this.shouldUseRootDomain(e)?e.domain=this.getRootDomain():(n=i.e.CookiePrefix+n,e.domain=window.location.hostname),this.cookies.delete(n,e)},d.prototype.clear=function(){this.cookies.clear()},d.prototype.keys=function(){return document.cookie.replace(/((?:^|\s*;)[^\=]+)(?=;|$)|^\s*|\s*(?:\=[^;]*)?(?:\1|$)/g,"").split(/\s*(?:\=[^;]*)?;\s*/).map(decodeURIComponent)},d.prototype.getRootDomain=function(){var t="",e=window.location.hostname.split("."),n=2;if(p.a.log("rootDomain getRootDomain hostSegments: "+e+" cachedRootDomain: "+this.cachedRootDomain),e.length<n)return window.location.hostname;if(this.cachedRootDomain)return this.cachedRootDomain;for(;t="."+e.slice(-n).join("."),p.a.log("rootDomain getRootDomain rootDomain: "+t),!this.checkWriteDomainCookie(t)&&n++<e.length;);return this.cachedRootDomain=t},d.prototype.checkWriteDomainCookie=function(t){var e,n=i.e.ConnextCheckDomainWrite;return this.cookies.set(n,"Done!",{domain:t}),e=!!this.cookies.get(n),this.cookies.delete(n,{domain:t}),p.a.log("rootDomain checkWriteDomainCookie domain: "+t+" result: "+e),e},d.prototype.shouldUseRootDomain=function(t){return!0===t.useRootDomain||!1!==t.useRootDomain&&!0===l.a.get(f.a.UseRootDomain)},d)},function(t,e,n){"use strict";n.d(e,"a",function(){return o});var o=function(){this.expandKey=!0}},function(t,e,o){"use strict";o.d(e,"a",function(){return s});var n=o(46),r=o(0),i=o(145);function a(){this.classes=[]}var s=new(a.prototype.loadActivationOnlyFlow=function(){var e=this,n="ActivationOnlyFlow";return Promise.all([o.e("Activation~ActivationOnlyFlow~MG2AuthSystem"),o.e("Activation"),o.e("ActivationOnlyFlow")]).then(o.bind(null,98)).then(function(t){return e.logLoadedModule(n),Promise.resolve(t[n])})},a.prototype.loadMainFlow=function(){var e=this;return Promise.resolve().then(o.bind(null,102)).then(function(t){return e.logLoadedModule("MainFlow"),Promise.resolve(t.MainFlow)})},a.prototype.loadCampaign=function(){var e=this;return Promise.resolve().then(o.bind(null,27)).then(function(t){return e.logLoadedModule("Campaign"),Promise.resolve(t.Campaign)}).catch(function(t){return console.log(t),Promise.resolve(null)})},a.prototype.loadActionProvider=function(){var e=this,n="ActionModule";return Promise.resolve().then(o.bind(null,14)).then(function(t){return e.logLoadedModule(n),Promise.resolve(t[n])}).catch(function(t){return console.log(t),Promise.resolve(null)})},a.prototype.getLoadedClass=function(e){return Object(r.filter)(this.classes,function(t){return t.className===e})},a.prototype.loadDebugPanelIfNeed=function(t){var e=this,n="DebugPanel";return t?Promise.resolve().then(o.bind(null,97)).then(function(t){return e.logLoadedModule(n),Promise.resolve(t[n])}).catch(function(t){return console.log(t),Promise.resolve(null)}):Promise.resolve(null)},a.prototype.loadAllowedAccessIfNeed=function(t){var e=this,n="AllowedAccess";return Object(r.isEmpty)(t)?Promise.resolve(null):Promise.resolve().then(o.bind(null,57)).then(function(t){return e.logLoadedModule(n),Promise.resolve(t[n])}).catch(function(){return Promise.resolve(null)})},a.prototype.loadAuthModule=function(t){switch(t){case n.a.MG2:return this.loadMg2();case n.a.Newzware:return this.loadNewzware();case n.a.Auth0:return this.loadAuth0();case n.a.Janrain:return this.loadJanrain();default:return this.loadCustom()}},a.prototype.loadAuth0=function(){var e=this,n="Auth0AuthSystem";return o.e("Auth0AuthSystem").then(o.bind(null,109)).then(function(t){return e.logLoadedModule(n),Promise.resolve(t[n])}).catch(function(){return Promise.resolve(null)})},a.prototype.loadCustom=function(){var e=this,n="CustomAuthSystem";return o.e("CustomAuthSystem").then(o.bind(null,103)).then(function(t){return e.logLoadedModule(n),Promise.resolve(t[n])}).catch(function(){return Promise.resolve(null)})},a.prototype.loadJanrain=function(){var e=this,n="JanrainAuthSystem";return o.e("JanrainAuthSystem").then(o.bind(null,110)).then(function(t){return e.logLoadedModule(n),Promise.resolve(t[n])}).catch(function(){return Promise.resolve(null)})},a.prototype.loadMg2=function(){var e=this,n="MG2AuthSystem";return Promise.all([o.e("Activation~ActivationOnlyFlow~MG2AuthSystem"),o.e("MG2AuthSystem")]).then(o.bind(null,111)).then(function(t){return e.logLoadedModule(n),Promise.resolve(t[n])}).catch(function(){return Promise.resolve(null)})},a.prototype.loadNewzware=function(){var e=this,n="NewzwareAuthSystem";return o.e("NewzwareAuthSystem").then(o.bind(null,108)).then(function(t){return e.logLoadedModule(n),Promise.resolve(t[n])}).catch(function(){return Promise.resolve(null)})},a.prototype.loadActivation=function(){var e=this,n="Activation";return Promise.all([o.e("Activation~ActivationOnlyFlow~MG2AuthSystem"),o.e("Activation")]).then(o.bind(null,75)).then(function(t){return e.logLoadedModule(n),Promise.resolve(t[n])}).catch(function(){return Promise.resolve(null)})},a.prototype.loadLikeButtons=function(){var e=this,n="LikeButtons";return o(93)("./"+n).then(function(t){return e.logLoadedModule(n),Promise.resolve(t[n])}).catch(function(){return Promise.resolve(null)})},a.prototype.logLoadedModule=function(t){i.a.log("Dynamic load",t)},a)},function(t,e,n){"use strict";n.d(e,"a",function(){return u});var o=n(2),r=n(132),i=n(42),a=n(128),s=n(146);function c(){this.sessionStorage=new r.a}var u=new(c.prototype.getTimeRepeatableActions=function(){return i.a.get(o.e.ConnextTimeRepeatableActions)},c.prototype.setTimeRepeatableActions=function(t){i.a.set(o.e.ConnextTimeRepeatableActions,t)},c.prototype.deleteTimeRepeatableActions=function(){i.a.delete(o.e.ConnextTimeRepeatableActions)},c.prototype.getMessagingData=function(){return!a.a.get(o.e.ConnextMessagingDataExpire)?null:i.a.get(o.e.ConnextMessagingData)||{}},c.prototype.setMessagingData=function(t){i.a.set(o.e.ConnextMessagingData,t)},c.prototype.getUserMessages=function(t,e){return s.a.get("user/messages",t,e)},c.prototype.setCookiesMessagingDataExpire=function(t,e){a.a.set(o.e.ConnextMessagingDataExpire,t,e)},c.prototype.getArticleCost=function(){return this.sessionStorage.get(o.e.ArticleCost)},c.prototype.getRepeatablesInConv=function(){return i.a.get(o.e.RepeatablesInConv)||{}},c.prototype.setRepeatablesInConv=function(t){i.a.set(o.e.RepeatablesInConv,t)},c.prototype.removeRepeatablesInConv=function(){i.a.delete(o.e.RepeatablesInConv)},c.prototype.setConnextPaywallFired=function(t){a.a.set(o.e.ConnextPaywallFired,t)},c.prototype.getConnextPaywallFired=function(){return a.a.get(o.e.ConnextPaywallFired)},c.prototype.resetStorage=function(){this.deleteTimeRepeatableActions(),this.removeRepeatablesInConv()},c)},function(t,e,n){"use strict";n.d(e,"a",function(){return o});var o=(r.prototype.isSupported=function(){return void 0!==window.sessionStorage},r.prototype.get=function(t){try{return sessionStorage.getItem(t)}catch(t){return null}},r.prototype.set=function(t,e){try{"object"==typeof e?sessionStorage.setItem(t,JSON.stringify(e)):sessionStorage.setItem(t,e)}catch(t){}},r.prototype.delete=function(t){try{sessionStorage.removeItem(t)}catch(t){}},r.prototype.clear=function(){try{sessionStorage.clear()}catch(t){}},r);function r(){}},function(t,e,n){"use strict";n.d(e,"a",function(){return a});var o=n(42),r=n(2);function i(){}var a=new(i.prototype.getCurrentConversations=function(){return o.a.get(r.e.Conversations.Current)},i.prototype.setCurrentConversations=function(t){o.a.set(r.e.Conversations.Current,t)},i.prototype.getCurrentConversation=function(){return o.a.get(r.e.CurrentConversation)},i.prototype.setCurrentConversation=function(t){o.a.set(r.e.CurrentConversation,t)},i.prototype.resetStorage=function(){this.setCurrentConversations(null),this.setCurrentConversation(null)},i)},function(t,e,n){"use strict";n.d(e,"a",function(){return r});var o=n(25),r=function(t){this.DisplayType=null,this.NotClosable=null,this.Css=null,this.Selector=null,this.Position=null,this.Location=null,this.HorizontalOffset=null,this.VerticalOffset=null,t&&(this.Html=t.Html,this.DisplayType=t.DisplayType,this.NotClosable=t.NotClosable,this.Css=t.Css,this.Selector=t.Selector||null,this.Position=t.Position||null,this.Location=t.Location||null,this.HorizontalOffset=t.HorizontalOffset||null,this.VerticalOffset=t.VerticalOffset||null,this.TransparentBackdrop=Object(o.s)(t.TransparentBackdrop)?t.TransparentBackdrop:null)}},function(t,e,n){"use strict";n.d(e,"a",function(){return i});var o=n(81);function r(){this.localStorage=new o.a,this.storageKey="CustomTime"}var i=new(r.prototype.set=function(t){this.localStorage.set(this.storageKey,t)},r.prototype.get=function(){var t=this.localStorage.get(this.storageKey);return t?new Date(Date.parse(t)):new Date},r.prototype.delete=function(){this.localStorage.delete(this.storageKey)},r)},function(t,e,n){"use strict";n.d(e,"a",function(){return o});var o,r,i,a,s=n(2),c=n(122),u=n(107),e=n(132),p=n(42);n=o=o||{},r=new c.a,i=u.a.getInstance(),a=new e.a,n.getInformationFromService=function(t,e){return r.get(t,null,e)},n.getInformationFromStorage=function(){return p.a.get(s.e.GlobalLocation)},n.setInformationToStorage=function(t){p.a.set(s.e.GlobalLocation,t)},n.getGuid=function(){return i.get(s.e.ConnextUserId)},n.getIncognitoMode=function(){return a.get(s.e.IsIncognitoBrowsing)},n.setIncognitoMode=function(t){a.set(s.e.IsIncognitoBrowsing,t)}},function(t,e,n){"use strict";n.d(e,"a",function(){return i});var o=n(0),r=n(11),i=(a.prototype.on=function(){try{var t=r.a.children(this.element,"span");t.length?this.currentElement=t:this.currentElement=this.element,this.text=r.a.html(this.currentElement),r.a.addClass(this.element,"disabled"),"in"==this.settings.location&&r.a.append(this.currentElement,this.imgFragment)}catch(t){}},a.prototype.off=function(){try{r.a.removeClass(this.element,"disabled"),r.a.html(this.currentElement,this.text)}catch(t){}},a);function a(t,e){Object(o.isArray)(t)?this.element=Object(o.first)(t):this.element=t;this.settings=Object(o.extend)({location:"in",img:'<img src="https://cdn.mg2connext.com/prod/template_images/ajax-loader.gif" style="margin: 7px 7px; width: 16px; height:11px" />',loaderId:"loader"},e),this.imgFragment=r.a.create(this.settings.img),r.a.attr(this.imgFragment,{id:this.settings.loaderId})}},function(t,e,n){"use strict";n.d(e,"a",function(){return c});var o=n(82),r=n(119),i=n(107),a=n(25);function s(){this.сookieLife=30,this.cookieService=i.a.getInstance(),this.cookieName="ABTestCookie"}var c=new(s.prototype.start=function(t){if(t){t=this.getCookie();if(t)r.a.dispatch(o.a.ABCookieSet,{Value:t});else try{var e=0===Math.round(Math.random())?"A":"B";this.setCookie(e),r.a.dispatch(o.a.ABCookieSet,{Value:e})}catch(t){r.a.dispatch(o.a.ABCookieFail,{error:t})}}},s.prototype.getCookie=function(){return this.cookieService.get(this.cookieName)},s.prototype.setCookie=function(t){this.cookieService.set(this.cookieName,t,{expires:Object(a.b)(this.сookieLife)})},s)},function(t,e,n){"use strict";n.d(e,"a",function(){return c});var o=n(119),r=n(82),i=n(125),a=n(126),s=n(124),c=function(t){o.a.dispatch(r.a.LoadError,t);var e=i.a.get(a.a.DebugInstance);throw e&&e.showIfNeed(),new s.a(t)}},,,function(t,e,n){"use strict";var i=n(0),o=(r.prototype.trackEvent=function(t,e){},r.prototype.setAuthenticatedUserContext=function(){},r.prototype.create=function(){},r.prototype.getFinishData=function(){},r);function r(){}var a=n(143),s=n(105),c=n(130),u=n(144),p=n(132),l=n(125),f=n(126),h=n(145),d=n(121),y=n(45),_=n(25),g=n(13),v=n(2),m=(w.prototype.serializeForAnalytics=function(){return JSON.stringify({s:this.execStatus,fpId:this.generatedId,err:this.errorDetail,dnt:this.doNotTrack,ce:this.cookieEnabled,te:this.timeElapsed})},w);function w(t){t=JSON.parse(t);t&&(this.execStatus=t.execStatus,this.generatedId=t.generatedId,this.errorDetail=t.errorDetail,this.doNotTrack=t.doNotTrack,this.cookieEnabled=t.cookieEnabled,this.timeElapsed=t.timeElapsed)}var C,O,A=n(57),b=((C=function(t,e){return(C=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}C(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)})(E,O=o),E.prototype.setUserContext=function(){var t=l.a.get(f.a.DeviceId),e=g.a.getUserId();this.appInsightsService.config=Object(i.extend)(this.appInsightsService.config,{appUserId:t,accountId:e}),this.appInsightsService.setAuthenticatedUserContext(t,e)},E.prototype.trackEvent=function(t,e){if(this.appInsightsService)try{var n=Object(i.extend)(this.baseData(),e);h.a.log("App Insights Event: "+t,n),this.appInsightsService.trackEvent(t,n)}catch(t){h.a.error("Error in AppInsights.trackEvent: "+t.message)}else h.a.error("AppInsights is not initialized!")},E.prototype.baseData=function(){var t=s.a.getConfigurationSettings(),e=s.a.getConfiguration(),n={};return n[d.a.SessionId]=a.a.getSessionId(),n[d.a.ConfigCode]=e?e.Code:null,n[d.a.SiteCode]=t?t.Site.Code:"",n[d.a.SettingsKey]=a.a.getSettingsKey(),n},E.prototype.getFinishData=function(){var o=this,r=s.a.getConfiguration();return c.a.loadCampaign().then(function(t){var n={};t&&(e=t.getCurrentConversation())&&(n[d.a.ConversationId]=e.Id,n[d.a.ConversationName]=e.Name,Object(i.has)(e,"Properties")&&(n[d.a.ArticleLeft]=e.Properties.ArticleLeft,n[d.a.PropertiesViews]=e.Properties.Views));Date.now(),a.a.getStartLoadPlugin();a.a.deleteStartLoadPlugin(),r&&(n[d.a.ConfigCode]=r.Code,n[d.a.ConfigName]=r.Name,Object(i.has)(r,"Campaign")&&(n[d.a.CampaignId]=r.Campaign.Id,n[d.a.CampaignName]=r.Campaign.Name),Object(i.has)(r,"DynamicMeter")&&(n[d.a.DynamicMeterId]=r.DynamicMeter.Id,n[d.a.DynamicMeterName]=r.DynamicMeter.Name),Object(i.has)(r,"Settings")&&Object(i.has)(r,"Site")&&(n[d.a.SiteCode]=r.Settings.Site.Code));var e=l.a.get(f.a.Meter);return e&&(n[d.a.MeterMethod]=e.Method,n[d.a.MeterLevel]=e.Level),n[d.a.UserId]=g.a.getUserId(),n[d.a.EncryptedUser]=g.a.getUserId(),n[d.a.UserState]=g.a.getUserState(),n[d.a.UserEmail]=g.a.getEmail(),n[d.a.IpAddress]=u.a.getIP(),n[d.a.UserZipCodes]=g.a.getUserZipCodes(),n[d.a.UserDeviceId]=l.a.get(f.a.DeviceId),n[d.a.DeviceType]=y.a.getDeviceType(),n[d.a.UserOS]=y.a.getOS(),n[d.a.Browser]=y.a.getBrowser(),n[d.a.CurrentUrl]=Object(_.i)(),n[d.a.Attr]=a.a.get(f.a.Attr),n[d.a.SettingsKey]=a.a.getSettingsKey(),n[d.a.ConfigSettingsPublishDate]=s.a.getPublishDate(),n[d.a.PublishSettings]=JSON.stringify(s.a.getPublishSettings()),n[d.a.FlowStopped]=A.AllowedAccess.accessGranted,u.a.isIncognitoBrowsing().then(function(t){n[d.a.Incognito]=t;t=o.sessionStorage.get(v.e.AnonDeviceIdRegenStats);return t||y.a.isMobile()?(n[d.a.FprintRegenStats]=t?new m(t).serializeForAnalytics():null,n):new Promise(function(e,t){Object(_.a)(document,o.fprintRegeneratedEventName,function(t){t.detail&&(n[d.a.FprintRegenStats]=new m(JSON.stringify(t.detail)).serializeForAnalytics()),e(n)})})})})},E);function E(){var t=O.call(this)||this;t.fprintRegeneratedEventName="onAnonDeviceIdRegenerated",t.sessionStorage=new p.a;var e=l.a.get(f.a.DeviceId),n=g.a.getUserId();try{h.a.log("Initializing AppInsights Module..."),t.appInsightsService=function(t){function e(e){c[e]=function(){var t=arguments;c.queue=c.queue||[],c.queue.push(function(){c[e].apply(c,t),c.context})}}var a,s,c={config:t,cookie:"",queue:[],version:"",context:{},trackPageView:function(){},setAuthenticatedUserContext:function(t,e){}},n=document,o=window,r="AuthenticatedUserContext",i="TrackEvent",u=n.createElement("script");u.src=t.url||"https://az416426.vo.msecnd.net/scripts/a/ai.0.js",n.getElementsByTagName("script")[0].parentNode.appendChild(u);try{c.cookie=n.cookie}catch(t){}for(c.queue=[],c.version="1.0",a=["Event","Exception","Metric","PageView","Trace","Dependency"];a.length;)e("track"+a.pop());return e("set"+r),e("clear"+r),e("start"+i),e("stop"+i),e("startTrackPage"),e("stopTrackPage"),e("flush"),t.disableExceptionTracking||(e("_"+(a="onerror")),s=o[a],o[a]=function(t,e,n,o,r){var i=s&&s(t,e,n,o,r);return!0!==i&&c["_"+a](t,e,n,o,r),i}),c}({instrumentationKey:a.a.get(f.a.AppInsightsKey),disableExceptionTracking:!0,appUserId:e,accountId:n,url:""}),window.appInsights=t.appInsightsService,t.appInsightsService.queue||(t.appInsightsService.queue=[]),t.appInsightsService.queue.push(function(){t.appInsightsService.context.addTelemetryInitializer(function(t){var e=t.data.baseData;if("RemoteDependencyData"===t.data.baseType)return-1!==e.data.indexOf("connext")||-1!==e.target.indexOf("auth0")})}),t.appInsightsService.setAuthenticatedUserContext(e,n),t.appInsightsService.trackPageView()}catch(t){h.a.error("Error of app insights initialization")}return t}function P(){}n.d(e,"a",function(){return S});var S=new(P.prototype.create=function(){this.currentAnalytic=new b},P.prototype.trackEvent=function(t,e){this.currentAnalytic.trackEvent(t,e)},P.prototype.setAuthenticatedUserContext=function(){this.currentAnalytic.setUserContext()},P.prototype.getFinishData=function(){return this.currentAnalytic.getFinishData()},P)},function(t,e,n){"use strict";var o=n(25),i=n(125),a=n(126),r=n(119),s=n(11),c=n(82),u=n(145),p=n(124),l=n(127),f=n(45),h=n(46),d=n(0),y=(_.prototype.getSilentmode=function(t){return!!this.integrateFlittz||t.silentmode},_.prototype.getSessionId=function(){return this.sessionId},_.prototype.buildApiUrl=function(t){return t.apiUrl=t.apiUrl||this.apiUrl,null!=t.apiUrl&&""!==t.apiUrl&&null!=t.clientCode&&""!==t.clientCode&&(t.apiUrl=t.apiUrl.replace(/\[clientCode\]/gi,t.clientCode.toLowerCase())),t.apiUrl},_);function _(t){this.environment="prod",this.resourceUrl="https://prodmg2.blob.core.windows.net/connext/prod/",this.clientCode="mng",this.apiUrl="https://prod-mng-proxy-connext.azurewebsites.net/",this.appInsightsKey="1819964f-57a2-45c2-b878-c270d7e5d1d9",this.batchCount=3,this.ViewsUpdateFromServerPeriod=24,this.ConversationPromiseTimeout=5e3,this.ActionPromiseTimeout=5e3,this.DynamicMeterPromiseTimeout=5e3,this.userAuthenticationTime=45,this.userIgmAuthTime=1,this.runExternally=!1,this.configCode=new String(t.configCode).toUpperCase(),this.siteCode=new String(t.siteCode).toUpperCase(),this.debug=t.debug,this.pluginStartTime=new Date,this.productCode=Object(o.o)("productCode"),this.integrateFlittz=t.integrateFlittz||!1,this.silentmode=this.getSilentmode(t),this.clientCode=t.clientCode||this.clientCode,this.apiUrl=this.buildApiUrl(t),this.loadType=t.loadType||"ajax",this.runSettings=t.runSettings,this.settingsKey=t.settingsKey||null,this.environment=t.environment||"prod",this.configSettings=t.configSettings||this.configSettings,this.resourceUrl=t.resourceUrl||this.resourceUrl,this.appInsightsKey=t.appInsightsKey||(-1===this.appInsightsKey.indexOf("__appInsightsKey__")?this.appInsightsKey:"a57959cf-5e4d-4ab3-8a3e-d17f7e2a8bf8"),this.authSettings=t.authSettings,this.batchCount=t.batchCount||this.batchCount,this.ViewsUpdateFromServerPeriod=t.ViewsUpdateFromServerPeriod||this.ViewsUpdateFromServerPeriod,this.ConversationPromiseTimeout=t.ConversationPromiseTimeout||this.ConversationPromiseTimeout,this.ActionPromiseTimeout=t.ActionPromiseTimeout||this.ActionPromiseTimeout,this.DynamicMeterPromiseTimeout=t.DynamicMeterPromiseTimeout||this.DynamicMeterPromiseTimeout,this.attr=t.attr,this.userAuthenticationTime=t.userAuthenticationTime||this.userAuthenticationTime,this.userIgmAuthTime=t.userIgmAuthTime||this.userIgmAuthTime,this.publicEventHandlers=t.publicEventHandlers,this.sessionId=t.sessionId,this.externalMigrationCode=t.externalMigrationCode||null}var g=n(42),v=n(2),m=(w.prototype.setStartLoadPlugin=function(){g.a.set(v.e.StartLoadPlugin,Date.now())},w.prototype.getStartLoadPlugin=function(){return g.a.get(v.e.StartLoadPlugin)},w.prototype.deleteStartLoadPlugin=function(){g.a.delete(v.e.StartLoadPlugin)},w.prototype.getToogleDebugMode=function(){return g.a.get(v.e.DebugMode)},w.prototype.setToogleDebugMode=function(t){g.a.set(v.e.DebugMode,t)},w.prototype.deleteToogleDebugMode=function(){g.a.delete(v.e.DebugMode)},w);function w(){}n.d(e,"a",function(){return A});var C="AppOptions";function O(){this.defaultRunOffsetTime=5e3,this.optionsRepository=new m}var A=new(O.prototype.processingData=function(t){this.set(t),"localhost"!==window.location.hostname&&(n.p=this.options.resourceUrl+(this.options.clientCode||o.v)+"/"),this.checkRequirements(),this.subscribePublicEvents()},O.prototype.set=function(t){this.options=new y(t),i.a.set(a.a.FirstRunExecuted,!1),i.a.set(a.a.IsInitFinished,!1),i.a.set(a.a.AppOptions,this),i.a.set(a.a.RunReason,t.isRepeatedInit?h.k.RepeatedInit:h.k.Init)},O.prototype.getOptions=function(){return this.options},O.prototype.get=function(t){return this.options[t]},O.prototype.getEnvironment=function(t){return(h.e[t]?t:h.e.prod).toLowerCase()},O.prototype.getDebugMode=function(){var t=this.optionsRepository.getToogleDebugMode();return Object(o.s)(t)?t:this.options[a.a.Debug]},O.prototype.getSettingsKey=function(){return this.options.settingsKey},O.prototype.subscribePublicEvents=function(){Object(d.each)(this.options.publicEventHandlers,function(t,e){r.a.subscribe(e,t)})},O.prototype.checkRequirements=function(){var e="checkRequirements";u.a.log(C,e,"Checking requirements...",this.options);try{if(!this.options.siteCode)throw new p.a(l.a.LOAD_ERRORS.siteCode);if(!this.options.configCode)throw new p.a(l.a.LOAD_ERRORS.configCode);this.checkRunSettings(this.options.runSettings),this.defineDomPropertyForDevice()}catch(t){t.custom?u.a.warn(t.message):u.a.error(C,e,"The settings error",t)}},O.prototype.checkRunSettings=function(t){var e="checkRunSettings";t&&(u.a.log(C,e,"Run settings have been found",t),this.options.silentmode=!0,u.a.log(C,e,"If we have run settings - we set up silent mode in true",this.options),t.runPromise&&Object(d.isFunction)(t.runPromise.then)?(t.hasValidPromise=!0,Object(d.isFunction)(t.onRunPromiseResolved)||(t.onRunPromiseResolved=Object(d.noop)()),Object(d.isFunction)(t.onRunPromiseRejected)||(t.onRunPromiseRejected=Object(d.noop)())):(t.hasValidPromise=!1,u.a.log(C,e,"No or invalid promise object in the 'runSettings'")),Object(d.isNumber)(t.runOffset)||(u.a.log(C,e,"We have not run offset, so we set the 'runSettings.runOffset' by default",this.defaultRunOffsetTime),t.runOffset=this.defaultRunOffsetTime))},O.prototype.setPublishSettings=function(t){this.options.publishData=t},O.prototype.getPublishSettings=function(){return this.options.publishData},O.prototype.getPublishDate=function(){var t=this.getPublishSettings();return t&&t.publishSettings?t.publishSettings.Date:null},O.prototype.getIsInitFinished=function(){return i.a.get(a.a.IsInitFinished)},O.prototype.hasRunSettings=function(){return this.options.runSettings},O.prototype.clearRunTimeout=function(){clearTimeout(i.a.get(a.a.RunTimeout))},O.prototype.setupDeferredRun=function(){var r=this;return new Promise(function(e,t){var n="setupDeferredRun";u.a.log(C,n,"Setup run settings",r.options.runSettings);try{r.options.runSettings.hasValidPromise&&(u.a.log(C,n,"Setup run settings promise"),r.options.runSettings.runPromise.then(function(t){i.a.get(a.a.FirstRunExecuted)||(r.options.runSettings.onRunPromiseResolved(t),e(h.k.RunSettingsPromise)),r.clearRunTimeout(),u.a.log(C,n,"Promise has been resolved",t)},function(t){i.a.get(a.a.FirstRunExecuted)||(r.options.runSettings.onRunPromiseRejected(t),e(h.k.RunSettingsPromise)),r.clearRunTimeout(),u.a.log(C,n,"Promise has been rejected",t)}),u.a.log(C,n,"Promise has been setup",r.options.runSettings)),u.a.log(C,n,"Setup run settings timeout");var o=setTimeout(function(){i.a.get(a.a.FirstRunExecuted)||e(h.k.RunSettingsTimeout),u.a.log(C,n,"Timeout has been expired")},r.options.runSettings.runOffset);i.a.set(a.a.RunTimeout,o)}catch(t){u.a.error(C,n,"Setup run settings",t),i.a.get(a.a.FirstRunExecuted)||e()}})},O.prototype.defineDomPropertyForDevice=function(){var t=f.a.getDeviceType(),e=s.a.queryElement("body");u.a.log("Device type is "+t),s.a.addClass(e,t.toLowerCase()),f.a.isIOS()&&s.a.addClass(e,"ios-fix-body-styles")},O.prototype.isNeedUpdateConfiguration=function(){return!(!this.options.publishData||!this.options.publishData.needUpdate)},O.prototype.isNeedUpdateRepeatActions=function(){if(!this.options.publishData)return!1;var t=this.options.publishData.publishSettings;return!(!this.options.publishData.needUpdate||!t.Reset&&!t.ResetRepeatable)},O.prototype.isResetCurrentConversation=function(){if(!this.options.publishData)return!1;var t=this.options.publishData.publishSettings;return!(!this.isNeedUpdateConfiguration()||!t.ResetCurrentConversation&&!t.Reset)},O.prototype.isResetArticleViews=function(){if(!this.options.publishData)return!1;var t=this.options.publishData.publishSettings;return!(!this.isNeedUpdateConfiguration()||!t.ResetArticleViews&&!t.Reset)},O.prototype.isResetAllowIpList=function(){if(!this.options.publishData)return!1;var t=this.options.publishData.publishSettings;return!(!this.isNeedUpdateConfiguration()||!t.ResetAllowIpList&&!t.Reset)},O.prototype.updateProductCodeFromConfig=function(t){t&&t.DefaultProduct&&(this.options.productCode||(this.options.productCode=t.DefaultProduct))},O.prototype.finishInit=function(){i.a.set(a.a.IsInitFinished,!0),r.a.dispatch(c.a.Init,null)},O.prototype.getProductCode=function(){return this.options.productCode},O.prototype.getStartLoadPlugin=function(){return this.optionsRepository.getStartLoadPlugin()},O.prototype.deleteStartLoadPlugin=function(){return this.optionsRepository.deleteStartLoadPlugin()},O.prototype.getConfigCode=function(){return this.options.configCode},O.prototype.setConfigCode=function(t){this.options.configCode=t},O.prototype.getSiteCode=function(){return this.options.siteCode},O.prototype.setSiteCode=function(t){this.options.siteCode=t},O.prototype.getResourceUrl=function(){return this.options.resourceUrl},O.prototype.getSessionId=function(){return this.options?this.options.sessionId:null},O.prototype.setSessionId=function(t){this.options.sessionId=t},O.prototype.setDebugMode=function(t){this.optionsRepository.setToogleDebugMode(t),location.reload()},O.prototype.resetManualDebugMode=function(){this.optionsRepository.deleteToogleDebugMode(),location.reload()},O.prototype.getRunExternally=function(){return this.options.runExternally},O.prototype.setRunExternally=function(t){this.options.runExternally=t},O.prototype.getExternalMigrationCode=function(){return this.options.externalMigrationCode},O)},function(t,e,n){"use strict";var o=n(125),r=n(126),i=n(145),a=n(119),s=n(82),c=n(45),u=n(136),p=n(5),l=n(142);function f(){}var h=new(f.prototype.setDeviceId=function(){return this.getDeviceId().then(function(t){o.a.set(r.a.DeviceId,t)})},f.prototype.getDeviceId=function(){var o=this;try{return void 0!==window.Fingerprint?"function"==typeof window.Fingerprint.getDeviceID?window.Fingerprint.getDeviceID():(i.a.warn("Need update Fingerprint plugin"),"function"==typeof window.Fingerprint.getDeviceId?(i.a.warn("Use deviceId from old FP"),this.getDeviceIdFromVersionBottom()):Promise.resolve(this.generateGuid())):new Promise(function(t,e){var n=u.a.getGuid();t(n||o.generateGuid())})}catch(t){return i.a.error("Device","getDeviceId",t),Promise.resolve(this.generateGuid())}},f.prototype.getDeviceIdFromVersionBottom=function(){return new Promise(function(e,t){var n=setInterval(function(){var t=window.Fingerprint;!t||(t=t.getDeviceId())&&(clearInterval(n),e(t))},400)})},f.prototype.runCheckDeviceId=function(){void 0!==window.Fingerprint?window.Fingerprint.onChangedDeviceId?window.Fingerprint.onChangedDeviceId().then(function(t){a.a.dispatch(s.a.ChangedDeviceId,t),o.a.set(r.a.DeviceId,t.newId),p.a.sendNewDeviceInfoToServer(t)}).catch(function(){i.a.log("DeviceId is not changed")}):i.a.warn("Regenerate process is not working with this version of Fingerprint"):l.a.trackEvent("FpUndefined",{execStatus:"failed",errorDetail:"window.Fingerprint is undefined"})},f.prototype.generateGuidSection=function(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)},f.prototype.isIncognitoBrowsing=function(){var e=u.a.getIncognitoMode();return e?new Promise(function(t){t("true"==e)}):this.detectIncognito().then(function(t){return u.a.setIncognitoMode(t),t})},f.prototype.detectIncognito=function(){var o=this;return new Promise(function(e,t){try{if(c.a.isChrome())e(o.detectChromeIncognito());else if(c.a.isFirefox()&&window.indexedDB)try{var n=window.indexedDB.open("test");n.onsuccess=function(){e(!1)},n.onerror=function(){e(!0)}}catch(t){e(!0)}else if(c.a.isIE()||c.a.isEdge())try{window.indexedDB?e(!1):e(!0)}catch(t){e(!0)}else if(c.a.isSafari()&&window.localStorage)if(13<=parseInt(c.a.getBrowserVersion()))o.detectSafariAfterVersion13().then(function(t){e(t)});else try{window.localStorage.setItem("test","1"),window.openDatabase(null,null,null,null),e(!1)}catch(t){e(!0)}else e(!1)}catch(t){i.a.error(f.Name,"detectIncognito",t),e(!1)}})},f.prototype.generateGuid=function(){var t=this.generateGuidSection;return t()+t()+t()+t()+t()+t()+t()+t()},f.prototype.getDeviceType=function(){return c.a.getDeviceType()},f.prototype.getUserAgent=function(){return c.a},f.prototype.detectChromeIncognito=function(){return 74<parseInt(c.a.getBrowserVersion()||"74")?this.detectChromeAfterVersion74():this.detectChromeBeforeVersion74()},f.prototype.detectChromeAfterVersion74=function(){return new Promise(function(e,t){"storage"in navigator&&"estimate"in navigator.storage?navigator.storage.estimate().then(function(t){t.usage;t=t.quota;e(!!(t&&t<12e7))}):e(!1)})},f.prototype.detectChromeBeforeVersion74=function(){return new Promise(function(t,e){var n=window.RequestFileSystem||window.webkitRequestFileSystem;n?n(window.TEMPORARY,1,function(){t(!1)},function(){t(!0)}):t(!1)})},f.prototype.detectSafariAfterVersion13=function(){function u(t){for(var e="",n=0;n<t;n++)e+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".charAt(Math.floor(62*Math.random()));return e}return new Promise(function(t,e){for(var n=u(100),o=[],r=0;r<1e3;r++)o.push(n);var i=o.join(),a=[];try{for(var s=0;s<30;s++){var c=u(10);localStorage.setItem(c,i),a.push(c)}return t(!0)}catch(e){return t(!1)}finally{a.forEach(function(t){localStorage.removeItem(t)})}})},f.Name="Device Detect",f),d=function(t){this.IpAddress=t.ipAddress,this.ContinentCode=t.continentCode,this.CountryCode=t.countryCode,this.State=t.stateProv,this.City=t.city,this.Zip=t.zipCode,this.Lat=t.latitude,this.Long=t.longitude,this.IsEuMember=t.isEuMember},y=n(46);function _(){this.serviceUrl=window.location.protocol+"//api-mg2.db-ip.com/v2/p14891b727f063924f0d86d8a8e5063678abd2ac/self"}n.d(e,"a",function(){return g});var g=new(_.prototype.update=function(){var e=this;return u.a.getInformationFromService(this.serviceUrl,{cache:!1}).then(function(t){t=new d(t);return u.a.setInformationToStorage(t),Promise.resolve(t)}).catch(function(t){i.a.error("GlobalLocation",e.serviceUrl,t);t=u.a.getInformationFromStorage();if(t&&t.Zip&&t.Zip!=y.n)return Promise.resolve(t);t=new d({});return u.a.setInformationToStorage(t),Promise.resolve(t)})},_.prototype.getZipCode=function(){var t=this.getLocationInfo();return t&&t.Zip?t.Zip:"unknown"},_.prototype.getIP=function(){var t=this.getLocationInfo();return t?t.IpAddress:null},_.prototype.getCountryCode=function(){var t=this.getLocationInfo();return t&&t.CountryCode?t.CountryCode:"unknown"},_.prototype.getLocationInfo=function(){return u.a.getInformationFromStorage()},_.prototype.setDeviceId=function(){return h.setDeviceId()},_.prototype.getDeviceType=function(){return h.getDeviceType()},_.prototype.getUserAgent=function(){return h.getUserAgent()},_.prototype.runCheckDeviceId=function(){h.runCheckDeviceId()},_.prototype.isIncognitoBrowsing=function(){return h.isIncognitoBrowsing()},_)},function(t,e,n){"use strict";var r=n(80),o=Object.freeze({debug:!1,level:r.a.Low,type:r.b.Log}),i=n(0),a=n(81),s=n(119),c=n(82);n.d(e,"a",function(){return l});var u=function(){return(u=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};function p(){this.logHistory=[],this.logOptionsKey="__appLogsOptions__",this.logOptions=u({},o),this.storage=new a.a;var t=this.storage.get(this.logOptionsKey);t&&(this.logOptions=u({},this.logOptions,t)),this.storage.set(this.logOptionsKey,this.logOptions)}var l=new(p.prototype.setOptions=function(t){this.logOptions=Object(i.extendOwn)(this.logOptions,t),this.storage.set(this.logOptionsKey,this.logOptions)},p.prototype.getOptions=function(){return u({},this.logOptions)},p.prototype.getLogHistory=function(){return this.logHistory.slice()},p.prototype.message=function(t,e,n){void 0===e&&(e=r.b.Log),void 0===n&&(n=r.a.Low),t=Object(i.isArray)(t)?t:[t];var o=">>>> "+e.toUpperCase()+" <<<< |";this.logHistory.push(o+" "+t),this.logOptions.debug&&n>=this.logOptions.level&&(n=window.console)[e].apply(n,[o].concat(t))},p.prototype.log=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this.message(t,r.b.Log,r.a.Low)},p.prototype.warn=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this.message(t,r.b.Warn,r.a.Medium)},p.prototype.error=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];s.a.dispatch(c.a.NxtError,t),this.message(t,r.b.Error,r.a.High)},p)},function(t,e,n){"use strict";var a=n(125),s=n(126),c=n(82),o=n(122),u=n(119),r=n(25),i=n(123),p=n(2),l=function(){},f=n(62),h=n.n(f),f=n(56),d=n.n(f),f=n(63),y=n.n(f),_=n(0),g=n(42),v=n(143);n.d(e,"a",function(){return C});function m(t){return t=(t=(t=(t=h.a.stringify(t)).replace(/=+$/,"")).replace(/\+/g,"-")).replace(/\//g,"_")}function w(){console.log(d.a,"Utf8"),this.http=new o.a,this.JWT_TOKEN=this.generateJWTToken()}var C=new(w.prototype.get=function(t,e,n){return this.call("get",t,e,n)},w.prototype.post=function(t,e,n){return this.call("post",t,e,n)},w.prototype.call=function(e,n,o,r){var i=this;void 0===r&&(r={});var t=r.externalCall?{}:this.shapeHeaders(r);r.headers=Object(_.extend)(t,r.headers);t=a.a.get(s.a.AppOptions);return this.API_PATH=t.get(s.a.ApiUrl)+"api/",this.http[e](this.API_PATH+n,o,r).catch(function(t){u.a.dispatch(c.a.LoadError,JSON.stringify(t));t=i.mapErrorResponse(t);return"The token is expired"===t.ErrorMessage?(i.JWT_TOKEN=i.generateJWTToken(),r.headers.Authorization=i.JWT_TOKEN,i.http[e](i.API_PATH+n,o,r).catch(function(t){t=i.mapErrorResponse(t);return Promise.reject(t)})):Promise.reject(t)})},w.prototype.shapeHeaders=function(t){var e=a.a.get(s.a.AppOptions),n=!1;try{n=!!JSON.parse(g.a.get(p.e.AutoQA,!1))}catch(t){}var o={"Site-Code":e.get(s.a.SiteCode),"Config-Code":e.get(s.a.ConfigCode),"Access-Control-Allow-Origin":"*",Environment:e.get(s.a.Environment),settingsKey:e.get(s.a.SettingsKey),Version:Object(r.p)(),"Source-System":"Plugin",Authorization:this.JWT_TOKEN,Location:t.location,AutoQA:n,SSID:v.a.getSessionId()},t=e.get(s.a.Attr);t&&(o.attr=t);t=e.get(s.a.ProductCode);t&&(o["Product-Code"]=t);e=e.get(s.a.PaperCode);return e&&(o["Paper-Code"]=e),o},w.prototype.generateJWTToken=function(){var t={unique_name:"ConneXt",exp:Math.round(i.a.get().valueOf()/1e3)+14400},e=d.a.parse(JSON.stringify({alg:"HS256",typ:"JWT"})),n=d.a.parse(JSON.stringify(t)),o=m(e),t=m(n),e=o+"."+t,n=y()(e,"db3OIsj+BXE9NZDy0t8W3TcNekrF+2d/1sFnWG4HnV8TZY30iTOdtVWJG8abWvB1GlOgJuQZdcF2Luqm/hccMw==");return"Bearer "+o+"."+t+"."+(e=m(n))},w.prototype.mapErrorResponse=function(t){var e,n=new l,o=Object(_.isString)(t)?t:t.Message;n.ErrorMessage=p.c,n.ErrorCode="";try{e=JSON.parse(o)}catch(t){return n}return e&&e.Errors?(Object(_.isArray)(e.Errors)&&(n.ErrorMessage="",e.Errors.forEach(function(t){Object(_.isString)(t)?n.ErrorMessage+=t+" ":n.ErrorMessage+=t.Message+" "})),n.ErrorCode=e.ErrorCode||t.ErrorCode||""):n.ErrorMessage=e.Message||n.ErrorMessage,n},w)}]);