1/* 2 jQuery JavaScript Library v3.5.1 3 https://jquery.com/ 4 5 Includes Sizzle.js 6 https://sizzlejs.com/ 7 8 Copyright JS Foundation and other contributors 9 Released under the MIT license 10 https://jquery.org/license 11 12 Date: 2020-05-04T22:49Z 13 Sizzle CSS Selector Engine v2.3.5 14 https://sizzlejs.com/ 15 16 Copyright JS Foundation and other contributors 17 Released under the MIT license 18 https://js.foundation/ 19 20 Date: 2020-03-14 21*/ 22window.ContextHubKernelConfig={debug:!1,initializationTimeout:2E3,stores:{Location:{type:"contexthub.abglocationstore",required:!0},Address:{type:"contexthub.abgaddressstore",required:!0},Reservation:{type:"contexthub.abgreservationstore",required:!0},Profile:{type:"contexthub.abgprofilestore",required:!0},Partner:{type:"contexthub.abgpartnerstore",required:!0},P13n:{type:"contexthub.abgp13nstore",required:!0},GeocodeInfo:{type:"contexthub.abggeocodeinfostore",required:!0},RateShop:{type:"contexthub.abgrateshopstore", 23required:!0},VehicleSummary:{type:"contexthub.abgvehiclesummarystore",required:!0},DemoGraphics:{type:"contexthub.abgdemographicsstore",required:!0},GuidedReservation:{type:"contexthub.abgguidedreservationstore",required:!0},eventdata:{type:"aem.analyticsdata",required:!0},segmentation:{type:"aem.segmentation",required:!0},abandonedproducts:{type:"commerce.abandonedproducts",required:!0},recentlyviewed:{type:"commerce.recentlyviewed",required:!0},seeddata:{type:"campaign.seeddata",required:!1},metadata:{type:"campaign.metadata", 24required:!1},surferinfo:{type:"contexthub.surferinfo",required:!0},profile:{type:"granite.profile",required:!0},emulators:{type:"granite.emulators",required:!0}}}; 25(function(f,h){"object"===typeof module&&"object"===typeof module.exports?module.exports=f.document?h(f,!0):function(d){if(!d.document)throw Error("jQuery requires a window with a document");return h(d)}:h(f)})("undefined"!==typeof window?window:this,function(f,h){function d(b,g,a){a=a||x;var m,c=a.createElement("script");c.text=b;if(g)for(m in Fb)(b=g[m]||g.getAttribute&&g.getAttribute(m))&&c.setAttribute(m,b);a.head.appendChild(c).parentNode.removeChild(c)}function a(b){return null==b?b+"":"object"=== 26typeof b||"function"===typeof b?Ia[cb.call(b)]||"object":typeof b}function c(b){var g=!!b&&"length"in b&&b.length,m=a(b);return A(b)||ta(b)?!1:"array"===m||0===g||"number"===typeof g&&0<g&&g-1 in b}function e(b,g){return b.nodeName&&b.nodeName.toLowerCase()===g.toLowerCase()}function l(b,g,a){return A(g)?k.grep(b,function(b,c){return!!g.call(b,c,b)!==a}):g.nodeType?k.grep(b,function(b){return b===g!==a}):"string"!==typeof g?k.grep(b,function(b){return-1<Ja.call(g,b)!==a}):k.filter(g,b,a)}function p(b, 27g){for(;(b=b[g])&&1!==b.nodeType;);return b}function n(b){var g={};k.each(b.match(W)||[],function(b,a){g[a]=!0});return g}function r(b){return b}function q(b){throw b;}function v(b,g,a,c){var m;try{b&&A(m=b.promise)?m.call(b).done(g).fail(a):b&&A(m=b.then)?m.call(b,g,a):g.apply(void 0,[b].slice(c))}catch(ka){a.apply(void 0,[ka])}}function y(){x.removeEventListener("DOMContentLoaded",y);f.removeEventListener("load",y);k.ready()}function K(b,g){return g.toUpperCase()}function B(b){return b.replace(Gb, 28"ms-").replace(Hb,K)}function H(){this.expando=k.expando+H.uid++}function P(b,g,a){if(void 0===a&&1===b.nodeType)if(a="data-"+g.replace(Ib,"-$\x26").toLowerCase(),a=b.getAttribute(a),"string"===typeof a){try{var c=a;a="true"===c?!0:"false"===c?!1:"null"===c?null:c===+c+""?+c:Jb.test(c)?JSON.parse(c):c}catch(z){}Q.set(b,g,a)}else a=void 0;return a}function M(b,g,a,c){var m,u=20,d=c?function(){return c.cur()}:function(){return k.css(b,g,"")},e=d(),l=a&&a[3]||(k.cssNumber[g]?"":"px"),f=b.nodeType&&(k.cssNumber[g]|| 29"px"!==l&&+e)&&xa.exec(k.css(b,g));if(f&&f[3]!==l){e/=2;l=l||f[3];for(f=+e||1;u--;)k.style(b,g,f+l),0>=(1-m)*(1-(m=d()/e||.5))&&(u=0),f/=m;f*=2;k.style(b,g,f+l);a=a||[]}if(a){f=+f||+e||0;var h=a[1]?f+(a[1]+1)*a[2]:+a[2];c&&(c.unit=l,c.start=f,c.end=h)}return h}function O(b,g){for(var a,c,e=[],d=0,l=b.length;d<l;d++)if(c=b[d],c.style)if(a=c.style.display,g){if("none"===a&&(e[d]=t.get(c,"display")||null,e[d]||(c.style.display="")),""===c.style.display&&Ka(c)){a=d;var f=c.ownerDocument;c=c.nodeName; 30var h=db[c];h||(f=f.body.appendChild(f.createElement(c)),h=k.css(f,"display"),f.parentNode.removeChild(f),"none"===h&&(h="block"),db[c]=h);f=h;e[a]=f}}
30else"none"!==a&&(e[d]="none",t.set(c,"display",a));for(d=0;d<l;d++)null!=e[d]&&(b[d].style.display=e[d]);return b}function D(b,g){var a="undefined"!==typeof b.getElementsByTagName?b.getElementsByTagName(g||"*"):"undefined"!==typeof b.querySelectorAll?b.querySelectorAll(g||"*"):[];return void 0===g||g&&e(b,g)?k.merge([b],a):a}function T(b,g){for(var a= 310,c=b.length;a<c;a++)t.set(b[a],"globalEval",!g||t.get(g[a],"globalEval"))}function E(b,g,c,u,d){for(var m,e,l,f=g.createDocumentFragment(),z=[],h=0,n=b.length;h<n;h++)if((m=b[h])||0===m)if("object"===a(m))k.merge(z,m.nodeType?[m]:m);else if(Mb.test(m)){e=e||f.appendChild(g.createElement("div"));l=(eb.exec(m)||["",""])[1].toLowerCase();l=L[l]||L._default;e.innerHTML=l[1]+k.htmlPrefilter(m)+l[2];for(l=l[0];l--;)e=e.lastChild;k.merge(z,e.childNodes);e=f.firstChild;e.textContent=""}else z.push(g.createTextNode(m)); 32f.textContent="";for(h=0;m=z[h++];)if(u&&-1<k.inArray(m,u))d&&d.push(m);else if(b=ea(m),e=D(f.appendChild(m),"script"),b&&T(e),c)for(l=0;m=e[l++];)fb.test(m.type||"")&&c.push(m);return f}function w(){return!0}function I(){return!1}function Ra(b,g){a:{try{var a=x.activeElement;break a}catch(u){}a=void 0}return b===a===("focus"===g)}function X(b,g,a,c,e,d){var m;if("object"===typeof g){"string"!==typeof a&&(c=c||a,a=void 0);for(m in g)X(b,m,a,c,g[m],d);return b}null==c&&null==e?(e=a,c=a=void 0):null== 33e&&("string"===typeof a?(e=c,c=void 0):(e=c,c=a,a=void 0));if(!1===e)e=I;else if(!e)return b;if(1===d){var u=e;e=function(b){k().off(b);return u.apply(this,arguments)};e.guid=u.guid||(u.guid=k.guid++)}return b.each(function(){k.event.add(this,g,e,c,a)})}function N(b,g,a){a?(t.set(b,g,!1),k.event.add(b,g,{namespace:!1,handler:function(b){var c=t.get(this,g);if(b.isTrigger&1&&this[g])if(c.length)(k.event.special[g]||{}).delegateType&&b.stopPropagation();else{c=fa.call(arguments);t.set(this,g,c);var m= 34a(this,g);this[g]();var e=t.get(this,g);c!==e||m?t.set(this,g,!1):e={};if(c!==e)return b.stopImmediatePropagation(),b.preventDefault(),e.value}else c.length&&(t.set(this,g,{value:k.event.trigger(k.extend(c[0],k.Event.prototype),c.slice(1),this)}),b.stopImmediatePropagation())}})):void 0===t.get(b,g)&&k.event.add(b,g,w)}function ba(b,g){return e(b,"table")&&e(11!==g.nodeType?g:g.firstChild,"tr")?k(b).children("tbody")[0]||b:b}function La(b){b.type=(null!==b.getAttribute("type"))+"/"+b.type;return b} 35function U(b){"true/"===(b.type||"").slice(0,5)?b.type=b.type.slice(5):b.removeAttribute("type");return b}function ha(b,g){var a,c,e;if(1===g.nodeType){if(t.hasData(b)){var d=t.get(b);if(e=d.events)for(c in t.remove(g,"handle events"),e)for(d=0,a=e[c].length;d<a;d++)k.event.add(g,c,e[c][d])}Q.hasData(b)&&(b=Q.access(b),b=k.extend({},b),Q.set(g,b))}}function ua(b,g,a,c){g=gb(g);var m,e=0,u=b.length,l=u-1,f=g[0],h=A(f);if(h||1<u&&"string"===typeof f&&!C.checkClone&&Nb.test(f))return b.each(function(m){var e= 36b.eq(m);h&&(g[0]=f.call(this,m,e.html()));ua(e,g,a,c)});if(u){var n=E(g,b[0].ownerDocument,!1,b,c);var p=n.firstChild;1===n.childNodes.length&&(n=p);if(p||c){p=k.map(D(n,"script"),La);for(m=p.length;e<u;e++){var q=n;e!==l&&(q=k.clone(q,!0,!0),m&&k.merge(p,D(q,"script")));a.call(b[e],q,e)}if(m)for(n=p[p.length-1].ownerDocument,k.map(p,U),e=0;e<m;e++)q=p[e],fb.test(q.type||"")&&!t.access(q,"globalEval")&&k.contains(n,q)&&(q.src&&"module"!==(q.type||"").toLowerCase()?k._evalUrl&&!q.noModule&&k._evalUrl(q.src, 37{nonce:q.nonce||q.getAttribute("nonce")},n):d(q.textContent.replace(Pb,""),q,n))}}return b}function Ea(b,g,a){for(var c=g?k.filter(g,b):b,m=0;null!=(g=c[m]);m++)a||1!==g.nodeType||k.cleanData(D(g)),g.parentNode&&(a&&ea(g)&&T(D(g,"script")),g.parentNode.removeChild(g));return b}function ya(b,g,a){var c=b.style;if(a=a||Ma(b)){var m=a.getPropertyValue(g)||a[g];""!==m||ea(b)||(m=k.style(b,g));if(!C.pixelBoxStyles()&&Sa.test(m)&&Qb.test(g)){b=c.width;g=c.minWidth;var e=c.maxWidth;c.minWidth=c.maxWidth= 38c.width=m;m=a.width;c.width=b;c.minWidth=g;c.maxWidth=e}}return void 0!==m?m+"":m}function Fa(b,g){return{get:function(){if(b())delete this.get;else return(this.get=g).apply(this,arguments)}}}function za(b){var g=k.cssProps[b]||hb[b];if(g)return g;if(b in ib)return b;a:{g=b;for(var a=g[0].toUpperCase()+g.slice(1),c=jb.length;c--;)if(g=jb[c]+a,g in ib)break a;g=void 0}return hb[b]=g||b}function Y(b,g,a){return(b=xa.exec(g))?Math.max(0,b[2]-(a||0))+(b[3]||"px"):g}function Ga(b,g,a,c,e,d){var m="width"=== 39g?1:0,u=0,l=0;if(a===(c?"border":"content"))return 0;for(;4>m;m+=2)"margin"===a&&(l+=k.css(b,a+Z[m],!0,e)),c?("content"===a&&(l-=k.css(b,"padding"+Z[m],!0,e)),"margin"!==a&&(l-=k.css(b,"border"+Z[m]+"Width",!0,e))):(l+=k.css(b,"padding"+Z[m],!0,e),"padding"!==a?l+=k.css(b,"border"+Z[m]+"Width",!0,e):u+=k.css(b,"border"+Z[m]+"Width",!0,e));
39!c&&0<=d&&(l+=Math.max(0,Math.ceil(b["offset"+g[0].toUpperCase()+g.slice(1)]-d-l-u-.5))||0);return l}function ia(b,g,a){var c=Ma(b),m=(!C.boxSizingReliable()||a)&& 40"border-box"===k.css(b,"boxSizing",!1,c),d=m,l=ya(b,g,c),f="offset"+g[0].toUpperCase()+g.slice(1);if(Sa.test(l)){if(!a)return l;l="auto"}(!C.boxSizingReliable()&&m||!C.reliableTrDimensions()&&e(b,"tr")||"auto"===l||!parseFloat(l)&&"inline"===k.css(b,"display",!1,c))&&b.getClientRects().length&&(m="border-box"===k.css(b,"boxSizing",!1,c),(d=f in b)&&(l=b[f]));l=parseFloat(l)||0;return l+Ga(b,g,a||(m?"border":"content"),d,c,l)+"px"}function R(b,g,a,c,e){return new R.prototype.init(b,g,a,c,e)}function va(){Na&& 41(!1===x.hidden&&f.requestAnimationFrame?f.requestAnimationFrame(va):f.setTimeout(va,k.fx.interval),k.fx.tick())}function Oa(){f.setTimeout(function(){la=void 0});return la=Date.now()}function Aa(b,g){var a=0,c={height:b};for(g=g?1:0;4>a;a+=2-g){var e=Z[a];c["margin"+e]=c["padding"+e]=b}g&&(c.opacity=c.width=b);return c}function kb(b,g,a){for(var c,m=(S.tweeners[g]||[]).concat(S.tweeners["*"]),e=0,k=m.length;e<k;e++)if(c=m[e].call(a,g,b))return c}function Rb(b,g){var a,c;for(a in b){var e=B(a);var d= 42g[e];var l=b[a];Array.isArray(l)&&(d=l[1],l=b[a]=l[0]);a!==e&&(b[e]=l,delete b[a]);if((c=k.cssHooks[e])&&"expand"in c)for(a in l=c.expand(l),delete b[e],l)a in b||(b[a]=l[a],g[a]=d);else g[e]=d}}function S(b,g,a){var c,m=0,e=S.prefilters.length,d=k.Deferred().always(function(){delete l.elem}),l=function(){if(c)return!1;var a=la||Oa();a=Math.max(0,f.startTime+f.duration-a);for(var g=1-(a/f.duration||0),m=0,e=f.tweens.length;m<e;m++)f.tweens[m].run(g);d.notifyWith(b,[f,g,a]);if(1>g&&e)return a;e||d.notifyWith(b, 43[f,1,0]);d.resolveWith(b,[f]);return!1},f=d.promise({elem:b,props:k.extend({},g),opts:k.extend(!0,{specialEasing:{},easing:k.easing._default},a),originalProperties:g,originalOptions:a,startTime:la||Oa(),duration:a.duration,tweens:[],createTween:function(a,g){a=k.Tween(b,f.opts,a,g,f.opts.specialEasing[a]||f.opts.easing);f.tweens.push(a);return a},stop:function(a){var g=0,m=a?f.tweens.length:0;if(c)return this;for(c=!0;g<m;g++)f.tweens[g].run(1);a?(d.notifyWith(b,[f,1,0]),d.resolveWith(b,[f,a])):d.rejectWith(b, 44[f,a]);return this}});a=f.props;for(Rb(a,f.opts.specialEasing);m<e;m++)if(g=S.prefilters[m].call(f,b,a,f.opts))return A(g.stop)&&(k._queueHooks(f.elem,f.opts.queue).stop=g.stop.bind(g)),g;k.map(a,kb,f);A(f.opts.start)&&f.opts.start.call(b,f);f.progress(f.opts.progress).done(f.opts.done,f.opts.complete).fail(f.opts.fail).always(f.opts.always);k.fx.timer(k.extend(l,{elem:b,anim:f,queue:f.opts.queue}));return f}function ma(b){return(b.match(W)||[]).join(" ")}function na(b){return b.getAttribute&&b.getAttribute("class")|| 45""}function Ta(b){return Array.isArray(b)?b:"string"===typeof b?b.match(W)||[]:[]}function Ua(b,g,c,e){var m;if(Array.isArray(g))k.each(g,function(a,g){c||Sb.test(b)?e(b,g):Ua(b+"["+("object"===typeof g&&null!=g?a:"")+"]",g,c,e)});else if(c||"object"!==a(g))e(b,g);else for(m in g)Ua(b+"["+m+"]",g[m],c,e)}function lb(b){return function(a,c){"string"!==typeof a&&(c=a,a="*");var g=0,m=a.toLowerCase().match(W)||[];if(A(c))for(;a=m[g++];)"+"===a[0]?(a=a.slice(1)||"*",(b[a]=b[a]||[]).unshift(c)):(b[a]= 46b[a]||[]).push(c)}}function mb(b,a,c,e){function g(l){var f;m[l]=!0;k.each(b[l]||[],function(b,k){b=k(a,c,e);if("string"===typeof b&&!d&&!m[b])return a.dataTypes.unshift(b),g(b),!1;if(d)return!(f=b)});return f}var m={},d=b===Va;return g(a.dataTypes[0])||!m["*"]&&g("*")}function Wa(b,a){var g,c,e=k.ajaxSettings.flatOptions||{};for(g in a)void 0!==a[g]&&((e[g]?b:c||(c={}))[g]=a[g]);c&&k.extend(!0,b,c);return b}function Tb(b,a,c){for(var g,m,e,k,d=b.contents,l=b.dataTypes;"*"===l[0];)l.shift(),void 0=== 47g&&(g=b.mimeType||a.getResponseHeader("Content-Type"));if(g)for(m in d)if(d[m]&&d[m].test(g)){l.unshift(m);break}if(l[0]in c)e=l[0];else{for(m in c){if(!l[0]||b.converters[m+" "+l[0]]){e=m;break}k||(k=m)}e=e||k}if(e)return e!==l[0]&&l.unshift(e),c[e]}function Ub(b,a,c,e){var g,m,k={},d=b.dataTypes.slice();if(d[1])for(f in b.converters)k[f.toLowerCase()]=b.converters[f];for(m=d.shift();m;){b.responseFields[m]&&(c[b.responseFields[m]]=a);!l&&e&&b.dataFilter&&(a=b.dataFilter(a,b.dataType));var l=m;if(m= 48d.shift())if("*"===m)m=l;else if("*"!==l&&l!==m){var f=k[l+" "+m]||k["* "+m];if(!f)for(g in k){var u=g.split(" ");if(u[1]===m&&(f=k[l+" "+u[0]]||k["* "+u[0]])){!0===f?f=k[g]:!0!==k[g]&&(m=u[0],d.unshift(u[1]));break}}if(!0!==f)if(f&&b.throws)a=f(a);else try{a=f(a)}catch(Lb){return{state:"parsererror",error:f?Lb:"No conversion from "+l+" to "+m}}}}return{state:"success",data:a}}var ca=[],nb=Object.getPrototypeOf,fa=ca.slice,gb=ca.flat?function(b){return ca.flat.call(b)}:function(b){return ca.concat.apply([], 49b)},Xa=ca.push,Ja=ca.indexOf,Ia={},cb=Ia.toString,Pa=Ia.hasOwnProperty,ob=Pa.toString,Vb=ob.call(Object),C={},A=function(b){return"function"===typeof b&&"number"!==typeof b.nodeType},ta=function(b){return null!=b&&b===b.window},x=f.document,Fb={type:!0,src:!0,nonce:!0,noModule:!0},k=function(b,a){return new k.fn.init(b,a)};k.fn=k.prototype={jquery:"3.5.1",constructor:k,length:0,toArray:function(){return fa.call(this)},get:function(b){return null==b?fa.call(this):0>b?this[b+this.length]:this[b]},pushStack:function(b){b= 50k.merge(this.constructor(),b);
50b.prevObject=this;return b},each:function(b){return k.each(this,b)},map:function(b){return this.pushStack(k.map(this,function(a,c){return b.call(a,c,a)}))},slice:function(){return this.pushStack(fa.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(k.grep(this,function(b,a){return(a+1)%2}))},odd:function(){return this.pushStack(k.grep(this,function(b,a){return a%2}))},eq:function(b){var a= 51this.length;b=+b+(0>b?a:0);return this.pushStack(0<=b&&b<a?[this[b]]:[])},end:function(){return this.prevObject||this.constructor()},push:Xa,sort:ca.sort,splice:ca.splice};k.extend=k.fn.extend=function(){var b,a,c,e=arguments[0]||{},d=1,l=arguments.length,f=!1;"boolean"===typeof e&&(f=e,e=arguments[d]||{},d++);"object"===typeof e||A(e)||(e={});d===l&&(e=this,d--);for(;d<l;d++)if(null!=(b=arguments[d]))for(a in b){var h=b[a];if("__proto__"!==a&&e!==h)if(f&&h&&(k.isPlainObject(h)||(c=Array.isArray(h)))){var n= 52e[a];n=c&&!Array.isArray(n)?[]:c||k.isPlainObject(n)?n:{};c=!1;e[a]=k.extend(f,n,h)}else void 0!==h&&(e[a]=h)}return e};k.extend({expando:"jQuery"+("3.5.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(b){throw Error(b);},noop:function(){},isPlainObject:function(b){if(!b||"[object Object]"!==cb.call(b))return!1;b=nb(b);if(!b)return!0;b=Pa.call(b,"constructor")&&b.constructor;return"function"===typeof b&&ob.call(b)===Vb},isEmptyObject:function(b){for(var a in b)return!1;return!0},globalEval:function(b, 53a,c){d(b,{nonce:a&&a.nonce},c)},each:function(b,a){var g,e=0;
53if(c(b))for(g=b.length;e<g&&!1!==a.call(b[e],e,b[e]);e++);else for(e in b)if(!1===a.call(b[e],e,b[e]))break;return b},makeArray:function(b,a){a=a||[];null!=b&&(c(Object(b))?k.merge(a,"string"===typeof b?[b]:b):Xa.call(a,b));return a},inArray:function(b,a,c){return null==a?-1:Ja.call(a,b,c)},merge:function(b,a){for(var g=+a.length,c=0,e=b.length;c<g;c++)b[e++]=a[c];b.length=e;return b},grep:function(b,a,c){for(var g=[],e=0,m=b.length,d=!c;e< 54m;e++)c=!a(b[e],e),c!==d&&g.push(b[e]);return g},map:function(b,a,e){var g,m=0,d=[];if(c(b))for(g=b.length;m<g;m++){var k=a(b[m],m,e);null!=k&&d.push(k)}else for(m in b)k=a(b[m],m,e),null!=k&&d.push(k);return gb(d)},guid:1,support:C});"function"===typeof Symbol&&(k.fn[Symbol.iterator]=ca[Symbol.iterator]);k.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(b,a){Ia["[object "+a+"]"]=a.toLowerCase()});var qa=function(b){function a(b,a,g,c){var e,m,d,k,l= 55a&&a.ownerDocument;var f=a?a.nodeType:9;g=g||[];if("string"!==typeof b||!b||1!==f&&9!==f&&11!==f)return g;if(!c&&(Ba(a),a=a||G,U)){if(11!==f&&(k=ta.exec(b)))if(e=k[1])if(9===f)if(m=a.getElementById(e)){if(m.id===e)return g.push(m),g}else return g;else{if(l&&(m=l.getElementById(e))&&P(a,m)&&m.id===e)return g.push(m),g}else{if(k[2])return L.apply(g,a.getElementsByTagName(b)),g;if((e=k[3])&&J.getElementsByClassName&&a.getElementsByClassName)return L.apply(g,a.getElementsByClassName(e)),g}if(!(!J.qsa|| 56T[b+" "]||x&&x.test(b)||1===f&&"object"===a.nodeName.toLowerCase())){e=b;l=a;if(1===f&&(ca.test(b)||Z.test(b))){l=ea.test(b)&&q(a.parentNode)||a;l===a&&J.scope||((d=a.getAttribute("id"))?d=d.replace(la,Aa):a.setAttribute("id",d=w));e=ja(b);for(f=e.length;f--;)e[f]=(d?"#"+d:":scope")+" "+v(e[f]);e=e.join(",")}try{return L.apply(g,l.querySelectorAll(e)),g}catch(zc){T(b,!0)}finally{d===w&&a.removeAttribute("id")}}}return Ca(b.replace(S,"$1"),a,g,c)}function c(){function b(g,c){a.push(g+" ")>F.cacheLength&& 57delete b[a.shift()];return b[g+" "]=c}var a=[];return b}function e(b){b[w]=!0;return b}function d(b){var a=G.createElement("fieldset");try{return!!b(a)}catch(aa){return!1}finally{a.parentNode&&a.parentNode.removeChild(a)}}function k(b,a){b=b.split("|");for(var g=b.length;g--;)F.attrHandle[b[g]]=a}function l(b,a){var g=a&&b,c=g&&1===b.nodeType&&1===a.nodeType&&b.sourceIndex-a.sourceIndex;if(c)return c;if(g)for(;g=g.nextSibling;)if(g===a)return-1;return b?1:-1}function f(b){return function(a){return"input"=== 58a.nodeName.toLowerCase()&&a.type===b}}function h(b){return function(a){var g=a.nodeName.toLowerCase();return("input"===g||"button"===g)&&a.type===b}}function n(b){return function(a){return"form"in a?a.parentNode&&!1===a.disabled?"label"in a?"label"in a.parentNode?a.parentNode.disabled===b:a.disabled===b:a.isDisabled===b||a.isDisabled!==!b&&xa(a)===b:a.disabled===b:"label"in a?a.disabled===b:!1}}function p(b){return e(function(a){a=+a;return e(function(g,c){for(var e,m=b([],g.length,a),d=m.length;d--;)g[e= 59m[d]]&&(g[e]=!(c[e]=g[e]))})})}function q(b){return b&&"undefined"!==typeof b.getElementsByTagName&&b}function r(){}function v(b){for(var a=0,g=b.length,c="";a<g;a++)c+=b[a].value;return c}function y(b,a,g){var c=a.dir,e=a.next,m=e||c,d=g&&"parentNode"===m,k=ua++;return a.first?function(a,g,e){for(;a=a[c];)if(1===a.nodeType||d)return b(a,g,e);return!1}:function(a,g,l){var f,u=[E,k];if(l)for(;a=a[c];){if((1===a.nodeType||d)&&b(a,g,l))return!0}else for(;a=a[c];)if(1===a.nodeType||d){var h=a[w]||(a[w]= 60{});h=h[a.uniqueID]||(h[a.uniqueID]={});if(e&&e===a.nodeName.toLowerCase())a=a[c]||a;else{if((f=h[m])&&f[0]===E&&f[1]===k)return u[2]=f[2];h[m]=u;if(u[2]=b(a,g,l))return!0}}return!1}}function X(b){return 1<b.length?function(a,g,c){for(var e=b.length;e--;)if(!b[e](a,g,c))return!1;return!0}:b[0]}function B(b,a,g,c,e){for(var m,d=[],k=0,l=b.length,f=null!=a;k<l;k++)if(m=b[k])if(!g||g(m,c,e))d.push(m),f&&a.push(k);return d}function K(b,g,c,m,d,k){m&&!m[w]&&(m=K(m));d&&!d[w]&&(d=K(d,k));return e(function(e, 61k,l,f){var u,h=[],n=[],p=k.length,z;if(!(z=e)){z=g||"*";for(var q=l.nodeType?[l]:l,Da=[],ka=0,r=q.length;ka<r;ka++)a(z,q[ka],Da);z=Da}z=!b||!e&&g?z:B(z,h,b,l,f);q=c?d||(e?b:p||m)?[]:k:z;c&&c(z,q,l,f);if(m){var aa=B(q,n);m(aa,[],l,f);for(l=aa.length;l--;)if(u=aa[l])q[n[l]]=!(z[n[l]]=u)}if(e){if(d||b){if(d){aa=[];for(l=q.length;l--;)(u=q[l])&&aa.push(z[l]=u);d(null,q=[],aa,f)}for(l=q.length;l--;)(u=q[l])&&-1<(aa=d?Y(e,u):h[l])&&(e[aa]=!(k[aa]=u))}}else q=B(q===k?q.splice(p,q.length):q),d?d(null,k,q, 62f):L.apply(k,q)})}function H(b){var a,g,c=b.length,e=F.relative[b[0].type];var m=e||F.relative[" "];for(var d=e?1:0,k=y(function(b){return b===a},m,!0),l=y(function(b){return-1<Y(a,b)},m,!0),f=[function(b,g,c){b=!e&&(c||g!==A)||((a=g).nodeType?k(b,g,c):l(b,g,c));a=null;return b}];d<c;d++)if(m=F.relative[b[d].type])f=[y(X(f),m)];else{m=F.filter[b[d].type].apply(null,b[d].matches);if(m[w]){for(g=++d;g<c&&!F.relative[b[g].type];g++);return K(1<d&&X(f),1<d&&v(b.slice(0,d-1).concat({value:" "===b[d-2].type? 63"*":""})).replace(S,"$1"),m,d<g&&H(b.slice(d,g)),g<c&&H(b=b.slice(g)),g<c&&v(b))}f.push(m)}return X(f)}function N(b,g){var c=0<g.length,m=0<b.length,d=function(e,d,k,l,f){var u,h,n=0,p="0",q=e&&[],z=[],ka=A,Da=e||m&&F.find.TAG("*",f),r=E+=null==ka?1:Math.random()||.1,aa=Da.length;for(f&&(A=d==G||d||f);p!==aa&&null!=(u=Da[p]);p++){if(m&&u){var Qa=0;d||u.ownerDocument==G||(Ba(u),k=!U);for(;h=b[Qa++];)if(h(u,d||G,k)){l.push(u);break}f&&(E=r)}c&&((u=!h&&u)&&n--,e&&q.push(u))}n+=p;if(c&&p!==n){for(Qa= 640;h=g[Qa++];
64)h(q,z,d,k);if(e){if(0<n)for(;p--;)q[p]||z[p]||(z[p]=Q.call(l));z=B(z)}L.apply(l,z);f&&!e&&0<z.length&&1<n+g.length&&a.uniqueSort(l)}f&&(E=r,A=ka);return q};return c?e(d):d}var t,A,ba,O,G,D,U,x,ha,C,P,w="sizzle"+1*new Date,M=b.document,E=0,ua=0,La=c(),I=c(),Ea=c(),T=c(),za=function(b,a){b===a&&(O=!0);return 0},R={}.hasOwnProperty,ia=[],Q=ia.pop,ya=ia.push,L=ia.push,Fa=ia.slice,Y=function(b,a){for(var g=0,c=b.length;g<c;g++)if(b[g]===a)return g;return-1},Ga=/[\x20\t\r\n\f]+/g,S=/^[\x20\t\r\n\f]+|((?:^|[^\\])(?:\\.)*)[\x20\t\r\n\f]+$/g, 65W=/^[\x20\t\r\n\f]*,[\x20\t\r\n\f]*/,Z=/^[\x20\t\r\n\f]*([>+~]|[\x20\t\r\n\f])[\x20\t\r\n\f]*/,ca=/[\x20\t\r\n\f]|>/,da=/:((?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\x00-\x7f])+)(?:\((('((?:\\.|[^\\'])*)'|"((?:\\.|[^\\"])*)")|((?:\\.|[^\\()[\]]|\[[\x20\t\r\n\f]*((?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\x00-\x7f])+)(?:[\x20\t\r\n\f]*([*^$|!~]?=)[\x20\t\r\n\f]*(?:'((?:\\.|[^\\'])*)'|"((?:\\.|[^\\"])*)"|((?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\x00-\x7f])+))|)[\x20\t\r\n\f]*\])*)|.*)\)|)/, 66fa=/^(?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\x00-\x7f])+$/,va={ID:/^#((?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\x00-\x7f])+)/,CLASS:/^\.((?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\x00-\x7f])+)/,TAG:/^((?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\x00-\x7f])+|[*])/,ATTR:/^\[[\x20\t\r\n\f]*((?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\x00-\x7f])+)(?:[\x20\t\r\n\f]*([*^$|!~]?=)[\x20\t\r\n\f]*(?:'((?:\\.|[^\\'])*)'|"((?:\\.|[^\\"])*)"|((?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\x00-\x7f])+))|)[\x20\t\r\n\f]*\]/, 67PSEUDO:/^:((?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\x00-\x7f])+)(?:\((('((?:\\.|[^\\'])*)'|"((?:\\.|[^\\"])*)")|((?:\\.|[^\\()[\]]|\[[\x20\t\r\n\f]*((?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\x00-\x7f])+)(?:[\x20\t\r\n\f]*([*^$|!~]?=)[\x20\t\r\n\f]*(?:'((?:\\.|[^\\'])*)'|"((?:\\.|[^\\"])*)"|((?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\x00-\x7f])+))|)[\x20\t\r\n\f]*\])*)|.*)\)|)/,CHILD:/^:(only|first|last|nth|nth-last)-(child|of-type)(?:\([\x20\t\r\n\f]*(even|odd|(([+-]|)(\d*)n|)[\x20\t\r\n\f]*(?:([+-]|)[\x20\t\r\n\f]*(\d+)|))[\x20\t\r\n\f]*\)|)/i, 68bool:/^(?:checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped)$/i,needsContext:/^[\x20\t\r\n\f]*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\([\x20\t\r\n\f]*((?:-\d)?\d*)[\x20\t\r\n\f]*\)|)(?=[^-]|$)/i},ma=/HTML$/i,na=/^(?:input|select|textarea|button)$/i,qa=/^h\d$/i,V=/^[^{]+\{\s*\[native \w/,ta=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ea=/[+~]/,oa=/\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\([^\r\n\f])/g,pa=function(b,a){b="0x"+b.slice(1)- 6965536;return a?a:0>b?String.fromCharCode(b+65536):String.fromCharCode(b>>10|55296,b&1023|56320)},la=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,Aa=function(b,a){return a?"\x00"===b?"\ufffd":b.slice(0,-1)+"\\"+b.charCodeAt(b.length-1).toString(16)+" ":"\\"+b},ra=function(){Ba()},xa=y(function(b){return!0===b.disabled&&"fieldset"===b.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{L.apply(ia=Fa.call(M.childNodes),M.childNodes),ia[M.childNodes.length].nodeType}catch(Da){L={apply:ia.length? 70function(b,a){ya.apply(b,Fa.call(a))}:function(b,a){for(var g=b.length,c=0;b[g++]=a[c++];);b.length=g-1}}}var J=a.support={};var Oa=a.isXML=function(b){var a=(b.ownerDocument||b).documentElement;return!ma.test(b.namespaceURI||a&&a.nodeName||"HTML")};var Ba=a.setDocument=function(b){var a;b=b?b.ownerDocument||b:M;if(b==G||9!==b.nodeType||!b.documentElement)return G;G=b;D=G.documentElement;U=!Oa(G);
70M!=G&&(a=G.defaultView)&&a.top!==a&&(a.addEventListener?a.addEventListener("unload",ra,!1):a.attachEvent&& 71a.attachEvent("onunload",ra));J.scope=d(function(b){D.appendChild(b).appendChild(G.createElement("div"));return"undefined"!==typeof b.querySelectorAll&&!b.querySelectorAll(":scope fieldset div").length});J.attributes=d(function(b){b.className="i";return!b.getAttribute("className")});J.getElementsByTagName=d(function(b){b.appendChild(G.createComment(""));return!b.getElementsByTagName("*").length});J.getElementsByClassName=V.test(G.getElementsByClassName);J.getById=d(function(b){D.appendChild(b).id= 72w;return!G.getElementsByName||!G.getElementsByName(w).length});J.getById?(F.filter.ID=function(b){var a=b.replace(oa,pa);return function(b){return b.getAttribute("id")===a}},F.find.ID=function(b,a){if("undefined"!==typeof a.getElementById&&U)return(b=a.getElementById(b))?[b]:[]}):(F.filter.ID=function(b){var a=b.replace(oa,pa);return function(b){return(b="undefined"!==typeof b.getAttributeNode&&b.getAttributeNode("id"))&&b.value===a}},F.find.ID=function(b,a){if("undefined"!==typeof a.getElementById&& 73U){var g,c=a.getElementById(b);if(c){if((g=c.getAttributeNode("id"))&&g.value===b)return[c];var e=a.getElementsByName(b);for(a=0;c=e[a++];)if((g=c.getAttributeNode("id"))&&g.value===b)return[c]}return[]}});F.find.TAG=J.getElementsByTagName?function(b,a){if("undefined"!==typeof a.getElementsByTagName)return a.getElementsByTagName(b);if(J.qsa)return a.querySelectorAll(b)}:function(b,a){var g=[],c=0;a=a.getElementsByTagName(b);if("*"===b){for(;b=a[c++];)1===b.nodeType&&g.push(b);return g}return a};F.find.CLASS= 74J.getElementsByClassName&&function(b,a){if("undefined"!==typeof a.getElementsByClassName&&U)return a.getElementsByClassName(b)};ha=[];x=[];if(J.qsa=V.test(G.querySelectorAll))d(function(b){D.appendChild(b).innerHTML="\x3ca id\x3d'"+w+"'\x3e\x3c/a\x3e\x3cselect id\x3d'"+w+"-\r\\' msallowcapture\x3d''\x3e\x3coption selected\x3d''\x3e\x3c/option\x3e\x3c/select\x3e";b.querySelectorAll("[msallowcapture^\x3d'']").length&&x.push("[*^$]\x3d[\\x20\\t\\r\\n\\f]*(?:''|\"\")");b.querySelectorAll("[selected]").length|| 75x.push("\\[[\\x20\\t\\r\\n\\f]*(?:value|checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped)");b.querySelectorAll("[id~\x3d"+w+"-]").length||x.push("~\x3d");var a=G.createElement("input");a.setAttribute("name","");b.appendChild(a);b.querySelectorAll("[name\x3d'']").length||x.push("\\[[\\x20\\t\\r\\n\\f]*name[\\x20\\t\\r\\n\\f]*\x3d[\\x20\\t\\r\\n\\f]*(?:''|\"\")");b.querySelectorAll(":checked").length||x.push(":checked");b.querySelectorAll("a#"+ 76w+"+*").length||x.push(".#.+[+~]");b.querySelectorAll("\\\f");x.push("[\\r\\n\\f]")}),d(function(b){b.innerHTML="\x3ca href\x3d'' disabled\x3d'disabled'\x3e\x3c/a\x3e\x3cselect disabled\x3d'disabled'\x3e\x3coption/\x3e\x3c/select\x3e";var a=G.createElement("input");a.setAttribute("type","hidden");b.appendChild(a).setAttribute("name","D");b.querySelectorAll("[name\x3dd]").length&&x.push("name[\\x20\\t\\r\\n\\f]*[*^$|!~]?\x3d");2!==b.querySelectorAll(":enabled").length&&x.push(":enabled",":disabled"); 77D.appendChild(b).disabled=!0;2!==b.querySelectorAll(":disabled").length&&x.push(":enabled",":disabled");b.querySelectorAll("*,:x");x.push(",.*:")});(J.matchesSelector=V.test(C=D.matches||D.webkitMatchesSelector||D.mozMatchesSelector||D.oMatchesSelector||D.msMatchesSelector))&&d(function(b){J.disconnectedMatch=C.call(b,"*");C.call(b,"[s!\x3d'']:x");ha.push("!\x3d",":((?:\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\[^\\r\\n\\f]|[\\w-]|[^\x00-\\x7f])+)(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|\\[[\\x20\\t\\r\\n\\f]*((?:\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\[^\\r\\n\\f]|[\\w-]|[^\x00-\\x7f])+)(?:[\\x20\\t\\r\\n\\f]*([*^$|!~]?\x3d)[\\x20\\t\\r\\n\\f]*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|((?:\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\[^\\r\\n\\f]|[\\w-]|[^\x00-\\x7f])+))|)[\\x20\\t\\r\\n\\f]*\\])*)|.*)\\)|)")}); 78x=x.length&&new RegExp(x.join("|"));ha=ha.length&&new RegExp(ha.join("|"));P=(a=V.test(D.compareDocumentPosition))||V.test(D.contains)?function(b,a){var g=9===b.nodeType?b.documentElement:b;a=a&&a.parentNode;return b===a||!!(a&&1===a.nodeType&&(g.contains?g.contains(a):b.compareDocumentPosition&&b.compareDocumentPosition(a)&16))}:function(b,a){if(a)for(;a=a.parentNode;)if(a===b)return!0;return!1};za=a?function(b,a){if(b===a)return O=!0,0;var g=!b.compareDocumentPosition-!a.compareDocumentPosition; 79if(g)return g;g=(b.ownerDocument||b)==(a.ownerDocument||a)?b.compareDocumentPosition(a):1;return g&1||!J.sortDetached&&a.compareDocumentPosition(b)===g?b==G||b.ownerDocument==M&&P(M,b)?-1:a==G||a.ownerDocument==M&&P(M,a)?1:ba?Y(ba,b)-Y(ba,a):0:g&4?-1:1}:function(b,a){if(b===a)return O=!0,0;var g=0,c=b.parentNode,e=a.parentNode,m=[b],d=[a];if(!c||!e)return b==G?-1:a==G?1:c?-1:e?1:ba?Y(ba,b)-Y(ba,a):0;if(c===e)return l(b,a);for(;b=b.parentNode;)m.unshift(b);for(b=a;b=b.parentNode;)d.unshift(b);for(;m[g]=== 80d[g];)g++;return g?l(m[g],d[g]):m[g]==M?-1:d[g]==M?1:0};return G};a.matches=function(b,g){return a(b,null,null,g)};a.matchesSelector=function(b,g){Ba(b);
80if(!(!J.matchesSelector||!U||T[g+" "]||ha&&ha.test(g)||x&&x.test(g)))try{var c=C.call(b,g);if(c||J.disconnectedMatch||b.document&&11!==b.document.nodeType)return c}catch(yc){T(g,!0)}return 0<a(g,G,null,[b]).length};a.contains=function(b,a){(b.ownerDocument||b)!=G&&Ba(b);return P(b,a)};a.attr=function(b,a){(b.ownerDocument||b)!=G&&Ba(b);var g=F.attrHandle[a.toLowerCase()]; 81g=g&&R.call(F.attrHandle,a.toLowerCase())?g(b,a,!U):void 0;return void 0!==g?g:J.attributes||!U?b.getAttribute(a):(g=b.getAttributeNode(a))&&g.specified?g.value:null};a.escape=function(b){return(b+"").replace(la,Aa)};a.error=function(b){throw Error("Syntax error, unrecognized expression: "+b);};a.uniqueSort=function(b){var a,g=[],c=0,e=0;O=!J.detectDuplicates;ba=!J.sortStable&&b.slice(0);b.sort(za);if(O){for(;a=b[e++];)a===b[e]&&(c=g.push(e));for(;c--;)b.splice(g[c],1)}ba=null;return b};var sa=a.getText= 82function(b){var a="",g=0;var c=b.nodeType;if(!c)for(;c=b[g++];)a+=sa(c);else if(1===c||9===c||11===c){if("string"===typeof b.textContent)return b.textContent;for(b=b.firstChild;b;b=b.nextSibling)a+=sa(b)}else if(3===c||4===c)return b.nodeValue;return a};var F=a.selectors={cacheLength:50,createPseudo:e,match:va,attrHandle:{},find:{},relative:{"\x3e":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(b){b[1]= 83b[1].replace(oa,pa);b[3]=(b[3]||b[4]||b[5]||"").replace(oa,pa);"~\x3d"===b[2]&&(b[3]=" "+b[3]+" ");return b.slice(0,4)},CHILD:function(b){b[1]=b[1].toLowerCase();"nth"===b[1].slice(0,3)?(b[3]||a.error(b[0]),b[4]=+(b[4]?b[5]+(b[6]||1):2*("even"===b[3]||"odd"===b[3])),b[5]=+(b[7]+b[8]||"odd"===b[3])):b[3]&&a.error(b[0]);return b},PSEUDO:function(b){var a,g=!b[6]&&b[2];if(va.CHILD.test(b[0]))return null;b[3]?b[2]=b[4]||b[5]||"":g&&da.test(g)&&(a=ja(g,!0))&&(a=g.indexOf(")",g.length-a)-g.length)&&(b[0]= 84b[0].slice(0,a),b[2]=g.slice(0,a));return b.slice(0,3)}},filter:{TAG:function(b){var a=b.replace(oa,pa).toLowerCase();return"*"===b?function(){return!0}:function(b){return b.nodeName&&b.nodeName.toLowerCase()===a}},CLASS:function(b){var a=La[b+" "];return a||(a=new RegExp("(^|[\\x20\\t\\r\\n\\f])"+b+"([\\x20\\t\\r\\n\\f]|$)"),La(b,function(b){return a.test("string"===typeof b.className&&b.className||"undefined"!==typeof b.getAttribute&&b.getAttribute("class")||"")}))},ATTR:function(b,g,c){return function(e){e= 85a.attr(e,b);if(null==e)return"!\x3d"===g;if(!g)return!0;e+="";return"\x3d"===g?e===c:"!\x3d"===g?e!==c:"^\x3d"===g?c&&0===e.indexOf(c):"*\x3d"===g?c&&-1<e.indexOf(c):"$\x3d"===g?c&&e.slice(-c.length)===c:"~\x3d"===g?-1<(" "+e.replace(Ga," ")+" ").indexOf(c):"|\x3d"===g?e===c||e.slice(0,c.length+1)===c+"-":!1}},CHILD:function(b,a,g,c,e){var m="nth"!==b.slice(0,3),d="last"!==b.slice(-4),k="of-type"===a;return 1===c&&0===e?function(b){return!!b.parentNode}:function(a,g,l){var f,u;g=m!==d?"nextSibling": 86"previousSibling";var h=a.parentNode,n=k&&a.nodeName.toLowerCase();l=!l&&!k;var p=!1;if(h){if(m){for(;g;){for(f=a;f=f[g];)if(k?f.nodeName.toLowerCase()===n:1===f.nodeType)return!1;var q=g="only"===b&&!q&&"nextSibling"}return!0}q=[d?h.firstChild:h.lastChild];if(d&&l){f=h;var z=f[w]||(f[w]={});z=z[f.uniqueID]||(z[f.uniqueID]={});p=z[b]||[];p=(u=p[0]===E&&p[1])&&p[2];for(f=u&&h.childNodes[u];f=++u&&f&&f[g]||(p=u=0)||q.pop();)if(1===f.nodeType&&++p&&f===a){z[b]=[E,u,p];break}}else if(l&&(f=a,z=f[w]|| 87(f[w]={}),z=z[f.uniqueID]||(z[f.uniqueID]={}),p=z[b]||[],p=u=p[0]===E&&p[1]),!1===p)for(;(f=++u&&f&&f[g]||(p=u=0)||q.pop())&&((k?f.nodeName.toLowerCase()!==n:1!==f.nodeType)||!++p||(l&&(z=f[w]||(f[w]={}),z=z[f.uniqueID]||(z[f.uniqueID]={}),z[b]=[E,p]),f!==a)););p-=e;return p===c||0===p%c&&0<=p/c}}},PSEUDO:function(b,g){var c=F.pseudos[b]||F.setFilters[b.toLowerCase()]||a.error("unsupported pseudo: "+b);if(c[w])return c(g);if(1<c.length){var m=[b,b,"",g];return F.setFilters.hasOwnProperty(b.toLowerCase())? 88e(function(b,a){for(var e,m=c(b,g),d=m.length;d--;)e=Y(b,m[d]),b[e]=!(a[e]=m[d])}):function(b){return c(b,0,m)}}return c}},pseudos:{not:e(function(b){var a=[],g=[],c=wa(b.replace(S,"$1"));return c[w]?e(function(b,a,g,e){e=c(b,null,e,[]);for(var m=b.length;m--;)if(g=e[m])b[m]=!(a[m]=g)}):function(b,e,m){a[0]=b;c(a,null,m,g);a[0]=null;return!g.pop()}}),has:e(function(b){return function(g){return 0<a(b,g).length}}
88),contains:e(function(b){b=b.replace(oa,pa);return function(a){return-1<(a.textContent|| 89sa(a)).indexOf(b)}}),lang:e(function(b){fa.test(b||"")||a.error("unsupported lang: "+b);b=b.replace(oa,pa).toLowerCase();return function(a){var g;do if(g=U?a.lang:a.getAttribute("xml:lang")||a.getAttribute("lang"))return g=g.toLowerCase(),g===b||0===g.indexOf(b+"-");while((a=a.parentNode)&&1===a.nodeType);return!1}}),target:function(a){var g=b.location&&b.location.hash;return g&&g.slice(1)===a.id},root:function(b){return b===D},focus:function(b){return b===G.activeElement&&(!G.hasFocus||G.hasFocus())&& 90!!(b.type||b.href||~b.tabIndex)},enabled:n(!1),disabled:n(!0),checked:function(b){var a=b.nodeName.toLowerCase();return"input"===a&&!!b.checked||"option"===a&&!!b.selected},selected:function(b){b.parentNode&&b.parentNode.selectedIndex;return!0===b.selected},empty:function(b){for(b=b.firstChild;b;b=b.nextSibling)if(6>b.nodeType)return!1;return!0},parent:function(b){return!F.pseudos.empty(b)},header:function(b){return qa.test(b.nodeName)},input:function(b){return na.test(b.nodeName)},button:function(b){var a= 91b.nodeName.toLowerCase();return"input"===a&&"button"===b.type||"button"===a},text:function(b){var a;return"input"===b.nodeName.toLowerCase()&&"text"===b.type&&(null==(a=b.getAttribute("type"))||"text"===a.toLowerCase())},first:p(function(){return[0]}),last:p(function(b,a){return[a-1]}),eq:p(function(b,a,g){return[0>g?g+a:g]}),even:p(function(b,a){for(var g=0;g<a;g+=2)b.push(g);return b}),odd:p(function(b,a){for(var g=1;g<a;g+=2)b.push(g);return b}),lt:p(function(b,a,g){for(a=0>g?g+a:g>a?a:g;0<=--a;)b.push(a); 92return b}),gt:p(function(b,a,g){for(g=0>g?g+a:g;++g<a;)b.push(g);return b})}};F.pseudos.nth=F.pseudos.eq;for(t in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})F.pseudos[t]=f(t);for(t in{submit:!0,reset:!0})F.pseudos[t]=h(t);r.prototype=F.filters=F.pseudos;F.setFilters=new r;var ja=a.tokenize=function(b,g){var c,e,m,d,k;if(d=I[b+" "])return g?0:d.slice(0);d=b;var f=[];for(k=F.preFilter;d;){if(!l||(c=W.exec(d)))c&&(d=d.slice(c[0].length)||d),f.push(e=[]);var l=!1;if(c=Z.exec(d))l=c.shift(),e.push({value:l, 93type:c[0].replace(S," ")}),d=d.slice(l.length);for(m in F.filter)!(c=va[m].exec(d))||k[m]&&!(c=k[m](c))||(l=c.shift(),e.push({value:l,type:m,matches:c}),d=d.slice(l.length));if(!l)break}return g?d.length:d?a.error(b):I(b,f).slice(0)};var wa=a.compile=function(b,a){var g,c=[],e=[],m=Ea[b+" "];if(!m){a||(a=ja(b));for(g=a.length;g--;)m=H(a[g]),m[w]?c.push(m):e.push(m);m=Ea(b,N(e,c));m.selector=b}return m};var Ca=a.select=function(b,a,g,c){var e,m,d,k="function"===typeof b&&b,f=!c&&ja(b=k.selector||b); 94g=g||[];if(1===f.length){var l=f[0]=f[0].slice(0);if(2<l.length&&"ID"===(m=l[0]).type&&9===a.nodeType&&U&&F.relative[l[1].type]){a=(F.find.ID(m.matches[0].replace(oa,pa),a)||[])[0];if(!a)return g;k&&(a=a.parentNode);b=b.slice(l.shift().value.length)}for(e=va.needsContext.test(b)?0:l.length;e--;){m=l[e];if(F.relative[d=m.type])break;if(d=F.find[d])if(c=d(m.matches[0].replace(oa,pa),ea.test(l[0].type)&&q(a.parentNode)||a)){l.splice(e,1);b=c.length&&v(l);if(!b)return L.apply(g,c),g;break}}}(k||wa(b, 95f))(c,a,!U,g,!a||ea.test(b)&&q(a.parentNode)||a);return g};J.sortStable=w.split("").sort(za).join("")===w;J.detectDuplicates=!!O;Ba();J.sortDetached=d(function(b){return b.compareDocumentPosition(G.createElement("fieldset"))&1});d(function(b){b.innerHTML="\x3ca href\x3d'#'\x3e\x3c/a\x3e";return"#"===b.firstChild.getAttribute("href")})||k("type|href|height|width",function(b,a,g){if(!g)return b.getAttribute(a,"type"===a.toLowerCase()?1:2)});J.attributes&&d(function(b){b.innerHTML="\x3cinput/\x3e";b.firstChild.setAttribute("value", 96"");return""===b.firstChild.getAttribute("value")})||k("value",function(b,a,g){if(!g&&"input"===b.nodeName.toLowerCase())return b.defaultValue});d(function(b){return null==b.getAttribute("disabled")})||k("checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",function(b,a,g){var c;if(!g)return!0===b[a]?a.toLowerCase():(c=b.getAttributeNode(a))&&c.specified?c.value:null});return a}(f);k.find=qa;k.expr=qa.selectors;k.expr[":"]=k.expr.pseudos; 97k.uniqueSort=k.unique=qa.uniqueSort;k.text=qa.getText;k.isXMLDoc=qa.isXML;k.contains=qa.contains;k.escapeSelector=qa.escape;var ra=function(b,a,c){for(var g=[],e=void 0!==c;(b=b[a])&&9!==b.nodeType;)if(1===b.nodeType){if(e&&k(b).is(c))break;g.push(b)}return g},qb=function(b,a){for(var g=[];b;b=b.nextSibling)1===b.nodeType&&b!==a&&g.push(b);return g},rb=k.expr.match.needsContext,sb=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;k.filter=function(b,a,c){var g=a[0];c&&(b=":not("+b+ 98")");return 1===a.length&&1===g.nodeType?k.find.matchesSelector(g,b)?[g]:[]:k.find.matches(b,k.grep(a,function(b){return 1===b.nodeType}))};k.fn.extend({find:function(b){var a,c=this.length,e=this;if("string"!==typeof b)return this.pushStack(k(b).filter(function(){for(a=0;a<c;a++)if(k.contains(e[a],this))return!0}));var d=this.pushStack([]);for(a=0;a<c;a++)k.find(b,e[a],d);return 1<c?k.uniqueSort(d):d},filter:function(b){return this.pushStack(l(this,b||[],!1))},not:function(b){return this.pushStack(l(this, 99b||[],!0))},is:function(b){return!!l(this,"string"===typeof b&&rb.test(b)?k(b):b||[],!1).length}});var Wb=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(k.fn.init=function(b,a,c){if(!b)return this;c=c||Xb;if("string"===typeof b){var g="\x3c"===b[0]&&"\x3e"===b[b.length-1]&&3<=b.length?[null,b,null]:Wb.exec(b);if(!g||!g[1]&&a)return!a||a.jquery?(a||c).find(b):this.constructor(a).find(b);if(g[1]){if(a=a instanceof k?a[0]:a,k.merge(this,k.parseHTML(g[1],a&&a.nodeType?a.ownerDocument||a:x,!0)),sb.test(g[1])&& 100k.isPlainObject(a))for(g in a)if(A(this[g]))this[g](a[g]);else this.attr(g,a[g])}else if(b=x.getElementById(g[2]))this[0]=b,this.length=1;return this}return b.nodeType?(this[0]=b,this.length=1,this):A(b)?void 0!==c.ready?c.ready(b):b(k):k.makeArray(b,this)}).prototype=k.fn;var Xb=k(x);var Yb=/^(?:parents|prev(?:Until|All))/,Zb={children:!0,contents:!0,next:!0,prev:!0};k.fn.extend({has:function(b){var a=k(b,this),c=a.length;return this.filter(function(){for(var b=0;b<c;b++)if(k.contains(this,a[b]))return!0})}, 101closest:function(b,a){var g,c=0,e=this.length,d=[],f="string"!==typeof b&&k(b);if(!rb.test(b))for(;c<e;c++)for(g=this[c];g&&g!==a;g=g.parentNode)if(11>g.nodeType&&(f?-1<f.index(g):1===g.nodeType&&k.find.matchesSelector(g,b))){d.push(g);break}return this.pushStack(1<d.length?k.uniqueSort(d):d)},index:function(b){return b?"string"===typeof b?Ja.call(k(b),this[0]):Ja.call(this,b.jquery?b[0]:b):this[0]&&this[0].parentNode?this.first().prevAll().length:-1}
101,add:function(b,a){return this.pushStack(k.uniqueSort(k.merge(this.get(), 102k(b,a))))},addBack:function(b){return this.add(null==b?this.prevObject:this.prevObject.filter(b))}});k.each({parent:function(b){return(b=b.parentNode)&&11!==b.nodeType?b:null},parents:function(b){return ra(b,"parentNode")},parentsUntil:function(b,a,c){return ra(b,"parentNode",c)},next:function(b){return p(b,"nextSibling")},prev:function(b){return p(b,"previousSibling")},nextAll:function(b){return ra(b,"nextSibling")},prevAll:function(b){return ra(b,"previousSibling")},nextUntil:function(b,a,c){return ra(b, 103"nextSibling",c)},prevUntil:function(b,a,c){return ra(b,"previousSibling",c)},siblings:function(b){return qb((b.parentNode||{}).firstChild,b)},children:function(b){return qb(b.firstChild)},contents:function(b){if(null!=b.contentDocument&&nb(b.contentDocument))return b.contentDocument;e(b,"template")&&(b=b.content||b);return k.merge([],b.childNodes)}},function(b,a){k.fn[b]=function(g,c){var e=k.map(this,a,g);"Until"!==b.slice(-5)&&(c=g);c&&"string"===typeof c&&(e=k.filter(c,e));1<this.length&&(Zb[b]|| 104k.uniqueSort(e),Yb.test(b)&&e.reverse());return this.pushStack(e)}});var W=/[^\x20\t\r\n\f]+/g;k.Callbacks=function(b){b="string"===typeof b?n(b):k.extend({},b);var g,c,e,d,f=[],l=[],h=-1,p=function(){d=d||b.once;for(e=g=!0;l.length;h=-1)for(c=l.shift();++h<f.length;)!1===f[h].apply(c[0],c[1])&&b.stopOnFalse&&(h=f.length,c=!1);b.memory||(c=!1);g=!1;d&&(f=c?[]:"")},q={add:function(){f&&(c&&!g&&(h=f.length-1,l.push(c)),function Ob(g){k.each(g,function(g,c){A(c)?b.unique&&q.has(c)||f.push(c):c&&c.length&& 105"string"!==a(c)&&Ob(c)})}(arguments),c&&!g&&p());return this},remove:function(){k.each(arguments,function(b,a){for(var g;-1<(g=k.inArray(a,f,g));)f.splice(g,1),g<=h&&h--});return this},has:function(b){return b?-1<k.inArray(b,f):0<f.length},empty:function(){f&&(f=[]);return this},disable:function(){d=l=[];f=c="";return this},disabled:function(){return!f},lock:function(){d=l=[];c||g||(f=c="");return this},locked:function(){return!!d},fireWith:function(b,a){d||(a=a||[],a=[b,a.slice?a.slice():a],l.push(a), 106g||p());return this},fire:function(){q.fireWith(this,arguments);return this},fired:function(){return!!e}};return q};k.extend({Deferred:function(b){var a=[["notify","progress",k.Callbacks("memory"),k.Callbacks("memory"),2],["resolve","done",k.Callbacks("once memory"),k.Callbacks("once memory"),0,"resolved"],["reject","fail",k.Callbacks("once memory"),k.Callbacks("once memory"),1,"rejected"]],c="pending",e={state:function(){return c},always:function(){d.done(arguments).fail(arguments);return this}, 107"catch":function(b){return e.then(null,b)},pipe:function(){var b=arguments;return k.Deferred(function(g){k.each(a,function(a,c){var e=A(b[c[4]])&&b[c[4]];d[c[1]](function(){var b=e&&e.apply(this,arguments);if(b&&A(b.promise))b.promise().progress(g.notify).done(g.resolve).fail(g.reject);else g[c[0]+"With"](this,e?[b]:arguments)})});b=null}).promise()},then:function(b,g,c){function e(b,a,g,c){return function(){var m=this,l=arguments,h=function(){if(!(b<d)){var f=g.apply(m,l);if(f===a.promise())throw new TypeError("Thenable self-resolution"); 108var k=f&&("object"===typeof f||"function"===typeof f)&&f.then;A(k)?c?k.call(f,e(d,a,r,c),e(d,a,q,c)):(d++,k.call(f,e(d,a,r,c),e(d,a,q,c),e(d,a,r,a.notifyWith))):(g!==r&&(m=void 0,l=[f]),(c||a.resolveWith)(m,l))}},p=c?h:function(){try{h()}catch(pb){k.Deferred.exceptionHook&&k.Deferred.exceptionHook(pb,p.stackTrace),b+1>=d&&(g!==q&&(m=void 0,l=[pb]),a.rejectWith(m,l))}};b?p():(k.Deferred.getStackHook&&(p.stackTrace=k.Deferred.getStackHook()),f.setTimeout(p))}}var d=0;return k.Deferred(function(d){a[0][3].add(e(0, 109d,A(c)?c:r,d.notifyWith));a[1][3].add(e(0,d,A(b)?b:r));a[2][3].add(e(0,d,A(g)?g:q))}).promise()},promise:function(b){return null!=b?k.extend(b,e):e}},d={};k.each(a,function(b,g){var m=g[2],f=g[5];e[g[1]]=m.add;f&&m.add(function(){c=f},a[3-b][2].disable,a[3-b][3].disable,a[0][2].lock,a[0][3].lock);m.add(g[3].fire);d[g[0]]=function(){d[g[0]+"With"](this===d?void 0:this,arguments);return this};d[g[0]+"With"]=m.fireWith});e.promise(d);b&&b.call(d,d);return d},when:function(b){var a=arguments.length,c= 110a,e=Array(c),d=fa.call(arguments),f=k.Deferred(),l=function(b){return function(g){e[b]=this;d[b]=1<arguments.length?fa.call(arguments):g;--a||f.resolveWith(e,d)}};if(1>=a&&(v(b,f.done(l(c)).resolve,f.reject,!a),"pending"===f.state()||A(d[c]&&d[c].then)))return f.then();for(;c--;)v(d[c],l(c),f.reject);return f.promise()}});var $b=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;k.Deferred.exceptionHook=function(b,a){f.console&&f.console.warn&&b&&$b.test(b.name)&&f.console.warn("jQuery.Deferred exception: "+ 111b.message,b.stack,a)};k.readyException=function(b){f.setTimeout(function(){throw b;})};var Za=k.Deferred();k.fn.ready=function(b){Za.then(b).catch(function(b){k.readyException(b)});return this};k.extend({isReady:!1,readyWait:1,ready:function(b){(!0===b?--k.readyWait:k.isReady)||(k.isReady=!0,!0!==b&&0<--k.readyWait||Za.resolveWith(x,[k]))}});k.ready.then=Za.then;"complete"===x.readyState||"loading"!==x.readyState&&!x.documentElement.doScroll?f.setTimeout(k.ready):(x.addEventListener("DOMContentLoaded", 112y),f.addEventListener("load",y));var da=function(b,g,c,e,d,f,l){var m=0,h=b.length,p=null==c;if("object"===a(c))for(m in d=!0,c)da(b,g,m,c[m],!0,f,l);else if(void 0!==e&&(d=!0,A(e)||(l=!0),p&&(l?(g.call(b,e),g=null):(p=g,g=function(b,a,g){return p.call(k(b),g)})),g))for(;m<h;m++)g(b[m],c,l?e:e.call(b[m],m,g(b[m],c)));
112return d?b:p?g.call(b):h?g(b[0],c):f},Gb=/^-ms-/,Hb=/-([a-z])/g,sa=function(b){return 1===b.nodeType||9===b.nodeType||!+b.nodeType};H.uid=1;H.prototype={cache:function(b){var a=b[this.expando]; 113a||(a={},sa(b)&&(b.nodeType?b[this.expando]=a:Object.defineProperty(b,this.expando,{value:a,configurable:!0})));return a},set:function(b,a,c){var g;b=this.cache(b);if("string"===typeof a)b[B(a)]=c;else for(g in a)b[B(g)]=a[g];return b},get:function(b,a){return void 0===a?this.cache(b):b[this.expando]&&b[this.expando][B(a)]},access:function(b,a,c){if(void 0===a||a&&"string"===typeof a&&void 0===c)return this.get(b,a);this.set(b,a,c);return void 0!==c?c:a},remove:function(b,a){var c,g=b[this.expando]; 114if(void 0!==g){if(void 0!==a)for(Array.isArray(a)?a=a.map(B):(a=B(a),a=a in g?[a]:a.match(W)||[]),c=a.length;c--;)delete g[a[c]];if(void 0===a||k.isEmptyObject(g))b.nodeType?b[this.expando]=void 0:delete b[this.expando]}},hasData:function(b){b=b[this.expando];return void 0!==b&&!k.isEmptyObject(b)}};var t=new H,Q=new H,Jb=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Ib=/[A-Z]/g;k.extend({hasData:function(b){return Q.hasData(b)||t.hasData(b)},data:function(b,a,c){return Q.access(b,a,c)},removeData:function(b,a){Q.remove(b, 115a)},_data:function(b,a,c){return t.access(b,a,c)},_removeData:function(b,a){t.remove(b,a)}});k.fn.extend({data:function(b,a){var c,g=this[0],e=g&&g.attributes;if(void 0===b){if(this.length){var d=Q.get(g);if(1===g.nodeType&&!t.get(g,"hasDataAttrs")){for(c=e.length;c--;)if(e[c]){var f=e[c].name;0===f.indexOf("data-")&&(f=B(f.slice(5)),P(g,f,d[f]))}t.set(g,"hasDataAttrs",!0)}}return d}return"object"===typeof b?this.each(function(){Q.set(this,b)}):da(this,function(a){if(g&&void 0===a){var c=Q.get(g, 116b);if(void 0!==c)return c;c=P(g,b);if(void 0!==c)return c}else this.each(function(){Q.set(this,b,a)})},null,a,1<arguments.length,null,!0)},removeData:function(b){return this.each(function(){Q.remove(this,b)})}});k.extend({queue:function(b,a,c){if(b){a=(a||"fx")+"queue";var g=t.get(b,a);c&&(!g||Array.isArray(c)?g=t.access(b,a,k.makeArray(c)):g.push(c));return g||[]}},dequeue:function(b,a){a=a||"fx";var c=k.queue(b,a),g=c.length,e=c.shift(),d=k._queueHooks(b,a),f=function(){k.dequeue(b,a)};"inprogress"=== 117e&&(e=c.shift(),g--);e&&("fx"===a&&c.unshift("inprogress"),delete d.stop,e.call(b,f,d));!g&&d&&d.empty.fire()},_queueHooks:function(b,a){var c=a+"queueHooks";return t.get(b,c)||t.access(b,c,{empty:k.Callbacks("once memory").add(function(){t.remove(b,[a+"queue",c])})})}});k.fn.extend({queue:function(b,a){var c=2;"string"!==typeof b&&(a=b,b="fx",c--);return arguments.length<c?k.queue(this[0],b):void 0===a?this:this.each(function(){var c=k.queue(this,b,a);k._queueHooks(this,b);"fx"===b&&"inprogress"!== 118c[0]&&k.dequeue(this,b)})},dequeue:function(b){return this.each(function(){k.dequeue(this,b)})},clearQueue:function(b){return this.queue(b||"fx",[])},promise:function(b,a){var c,g=1,e=k.Deferred(),d=this,f=this.length,l=function(){--g||e.resolveWith(d,[d])};"string"!==typeof b&&(a=b,b=void 0);for(b=b||"fx";f--;)(c=t.get(d[f],b+"queueHooks"))&&c.empty&&(g++,c.empty.add(l));l();return e.promise(a)}});var tb=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,xa=new RegExp("^(?:([+-])\x3d|)("+tb+")([a-z%]*)$", 119"i"),Z=["Top","Right","Bottom","Left"],V=x.documentElement,ea=function(b){return k.contains(b.ownerDocument,b)},ac={composed:!0};V.getRootNode&&(ea=function(b){return k.contains(b.ownerDocument,b)||b.getRootNode(ac)===b.ownerDocument});var Ka=function(b,a){b=a||b;return"none"===b.style.display||""===b.style.display&&ea(b)&&"none"===k.css(b,"display")},db={};k.fn.extend({show:function(){return O(this,!0)},hide:function(){return O(this)},toggle:function(b){return"boolean"===typeof b?b?this.show():this.hide(): 120this.each(function(){Ka(this)?k(this).show():k(this).hide()})}});var ja=/^(?:checkbox|radio)$/i,eb=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,fb=/^$|^module$|\/(?:java|ecma)script/i;(function(){var b=x.createDocumentFragment().appendChild(x.createElement("div")),a=x.createElement("input");a.setAttribute("type","radio");a.setAttribute("checked","checked");a.setAttribute("name","t");b.appendChild(a);
120C.checkClone=b.cloneNode(!0).cloneNode(!0).lastChild.checked;b.innerHTML="\x3ctextarea\x3ex\x3c/textarea\x3e"; 121C.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue;b.innerHTML="\x3coption\x3e\x3c/option\x3e";C.option=!!b.lastChild})();var L={thead:[1,"\x3ctable\x3e","\x3c/table\x3e"],col:[2,"\x3ctable\x3e\x3ccolgroup\x3e","\x3c/colgroup\x3e\x3c/table\x3e"],tr:[2,"\x3ctable\x3e\x3ctbody\x3e","\x3c/tbody\x3e\x3c/table\x3e"],td:[3,"\x3ctable\x3e\x3ctbody\x3e\x3ctr\x3e","\x3c/tr\x3e\x3c/tbody\x3e\x3c/table\x3e"],_default:[0,"",""]};L.tbody=L.tfoot=L.colgroup=L.caption=L.thead;L.th=L.td;C.option||(L.optgroup= 122L.option=[1,"\x3cselect multiple\x3d'multiple'\x3e","\x3c/select\x3e"]);var Mb=/<|&#?\w+;/,bc=/^key/,cc=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,ub=/^([^.]*)(?:\.(.+)|)/;k.event={global:{},add:function(b,a,c,e,d){var g,f,l,m;var h=t.get(b);if(sa(b)){if(c.handler){var p=c;c=p.handler;d=p.selector}d&&k.find.matchesSelector(V,d);c.guid||(c.guid=k.guid++);(f=h.events)||(f=h.events=Object.create(null));(g=h.handle)||(g=h.handle=function(a){return"undefined"!==typeof k&&k.event.triggered!==a.type? 123k.event.dispatch.apply(b,arguments):void 0});a=(a||"").match(W)||[""];for(h=a.length;h--;){var n=ub.exec(a[h])||[];var u=l=n[1];var q=(n[2]||"").split(".").sort();u&&(n=k.event.special[u]||{},u=(d?n.delegateType:n.bindType)||u,n=k.event.special[u]||{},l=k.extend({type:u,origType:l,data:e,handler:c,guid:c.guid,selector:d,needsContext:d&&k.expr.match.needsContext.test(d),namespace:q.join(".")},p),(m=f[u])||(m=f[u]=[],m.delegateCount=0,n.setup&&!1!==n.setup.call(b,e,q,g)||b.addEventListener&&b.addEventListener(u, 124g)),n.add&&(n.add.call(b,l),l.handler.guid||(l.handler.guid=c.guid)),d?m.splice(m.delegateCount++,0,l):m.push(l),k.event.global[u]=!0)}}},remove:function(b,a,c,e,d){var g,f,l,m,h,p=t.hasData(b)&&t.get(b);if(p&&(l=p.events)){a=(a||"").match(W)||[""];for(m=a.length;m--;){var n=ub.exec(a[m])||[];var u=h=n[1];var q=(n[2]||"").split(".").sort();if(u){var z=k.event.special[u]||{};u=(e?z.delegateType:z.bindType)||u;var r=l[u]||[];n=n[2]&&new RegExp("(^|\\.)"+q.join("\\.(?:.*\\.|)")+"(\\.|$)");for(f=g=r.length;g--;){var v= 125r[g];!d&&h!==v.origType||c&&c.guid!==v.guid||n&&!n.test(v.namespace)||e&&e!==v.selector&&("**"!==e||!v.selector)||(r.splice(g,1),v.selector&&r.delegateCount--,z.remove&&z.remove.call(b,v))}f&&!r.length&&(z.teardown&&!1!==z.teardown.call(b,q,p.handle)||k.removeEvent(b,u,p.handle),delete l[u])}else for(u in l)k.event.remove(b,u+a[m],c,e,!0)}k.isEmptyObject(l)&&t.remove(b,"handle events")}},dispatch:function(b){var a,c,e,d=Array(arguments.length),f=k.event.fix(b);var l=(t.get(this,"events")||Object.create(null))[f.type]|| 126[];var h=k.event.special[f.type]||{};d[0]=f;for(a=1;a<arguments.length;a++)d[a]=arguments[a];f.delegateTarget=this;if(!h.preDispatch||!1!==h.preDispatch.call(this,f)){var p=k.event.handlers.call(this,f,l);for(a=0;(e=p[a++])&&!f.isPropagationStopped();)for(f.currentTarget=e.elem,l=0;(c=e.handlers[l++])&&!f.isImmediatePropagationStopped();)if(!f.rnamespace||!1===c.namespace||f.rnamespace.test(c.namespace))f.handleObj=c,f.data=c.data,c=((k.event.special[c.origType]||{}).handle||c.handler).apply(e.elem, 127d),void 0!==c&&!1===(f.result=c)&&(f.preventDefault(),f.stopPropagation());h.postDispatch&&h.postDispatch.call(this,f);return f.result}},handlers:function(b,a){var c,g=[],e=a.delegateCount,d=b.target;if(e&&d.nodeType&&!("click"===b.type&&1<=b.button))for(;d!==this;d=d.parentNode||this)if(1===d.nodeType&&("click"!==b.type||!0!==d.disabled)){var f=[];var l={};for(c=0;c<e;c++){var h=a[c];var p=h.selector+" ";void 0===l[p]&&(l[p]=h.needsContext?-1<k(p,this).index(d):k.find(p,this,null,[d]).length);l[p]&& 128f.push(h)}f.length&&g.push({elem:d,handlers:f})}e<a.length&&g.push({elem:this,handlers:a.slice(e)});return g},addProp:function(b,a){Object.defineProperty(k.Event.prototype,b,{enumerable:!0,configurable:!0,get:A(a)?function(){if(this.originalEvent)return a(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[b]},set:function(a){Object.defineProperty(this,b,{enumerable:!0,configurable:!0,writable:!0,value:a})}})},fix:function(b){return b[k.expando]?b:new k.Event(b)},special:{load:{noBubble:!0}, 129click:{setup:function(b){b=this||b;ja.test(b.type)&&b.click&&e(b,"input")&&N(b,"click",w);return!1},trigger:function(b){b=this||b;ja.test(b.type)&&b.click&&e(b,"input")&&N(b,"click");return!0},_default:function(b){b=b.target;return ja.test(b.type)&&b.click&&e(b,"input")&&t.get(b,"click")||e(b,"a")}},beforeunload:{postDispatch:function(b){void 0!==b.result&&b.originalEvent&&(b.originalEvent.returnValue=b.result)}}}};k.removeEvent=function(b,a,c){b.removeEventListener&&b.removeEventListener(a,c)};k.Event= 130function(b,a){if(!(this instanceof k.Event))return new k.Event(b,a);b&&b.type?(this.originalEvent=b,this.type=b.type,this.isDefaultPrevented=b.defaultPrevented||void 0===b.defaultPrevented&&!1===b.returnValue?w:I,this.target=b.target&&3===b.target.nodeType?b.target.parentNode:b.target,this.currentTarget=b.currentTarget,this.relatedTarget=b.relatedTarget):this.type=b;a&&k.extend(this,a);this.timeStamp=b&&b.timeStamp||Date.now();this[k.expando]=!0};k.Event.prototype={constructor:k.Event,isDefaultPrevented:I, 131isPropagationStopped:I,isImmediatePropagationStopped:I,isSimulated:!1,preventDefault:function(){var b=this.originalEvent;this.isDefaultPrevented=w;b&&!this.isSimulated&&b.preventDefault()},stopPropagation:function(){var b=this.originalEvent;this.isPropagationStopped=w;b&&!this.isSimulated&&b.stopPropagation()},stopImmediatePropagation:function(){var b=this.originalEvent;this.isImmediatePropagationStopped=w;b&&!this.isSimulated&&b.stopImmediatePropagation();this.stopPropagation()}};k.each({altKey:!0, 132bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,"char":!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(b){var a=b.button;return null==b.which&&bc.test(b.type)?null!=b.charCode?b.charCode:b.keyCode:!b.which&&void 0!==a&&cc.test(b.type)?a&1?1:a&2?3:a&4?2:0:b.which}}, 133k.event.addProp);k.each({focus:"focusin",blur:"focusout"},function(b,a){k.event.special[b]={setup:function(){N(this,b,Ra);return!1},trigger:function(){N(this,b);return!0},delegateType:a}});
133k.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(b,a){k.event.special[b]={delegateType:a,bindType:a,handle:function(b){var c=b.relatedTarget,g=b.handleObj;if(!c||c!==this&&!k.contains(this,c)){b.type=g.origType;var e=g.handler.apply(this,arguments); 134b.type=a}return e}}});k.fn.extend({on:function(b,a,c,e){return X(this,b,a,c,e)},one:function(b,a,c,e){return X(this,b,a,c,e,1)},off:function(b,a,c){if(b&&b.preventDefault&&b.handleObj){var g=b.handleObj;k(b.delegateTarget).off(g.namespace?g.origType+"."+g.namespace:g.origType,g.selector,g.handler);return this}if("object"===typeof b){for(g in b)this.off(g,a,b[g]);return this}if(!1===a||"function"===typeof a)c=a,a=void 0;!1===c&&(c=I);return this.each(function(){k.event.remove(this,b,c,a)})}});var dc= 135/<script|<style|<link/i,Nb=/checked\s*(?:[^=]|=\s*.checked.)/i,Pb=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;k.extend({htmlPrefilter:function(b){return b},clone:function(b,a,c){var g,e=b.cloneNode(!0),d=ea(b);if(!(C.noCloneChecked||1!==b.nodeType&&11!==b.nodeType||k.isXMLDoc(b))){var f=D(e);var l=D(b);var m=0;for(g=l.length;m<g;m++){var h=l[m],p=f[m],n=p.nodeName.toLowerCase();if("input"===n&&ja.test(h.type))p.checked=h.checked;else if("input"===n||"textarea"===n)p.defaultValue=h.defaultValue}}if(a)if(c)for(l= 136l||D(b),f=f||D(e),m=0,g=l.length;m<g;m++)ha(l[m],f[m]);else ha(b,e);f=D(e,"script");0<f.length&&T(f,!d&&D(b,"script"));return e},cleanData:function(b){for(var a,c,e,d=k.event.special,f=0;void 0!==(c=b[f]);f++)if(sa(c)){if(a=c[t.expando]){if(a.events)for(e in a.events)d[e]?k.event.remove(c,e):k.removeEvent(c,e,a.handle);c[t.expando]=void 0}c[Q.expando]&&(c[Q.expando]=void 0)}}});k.fn.extend({detach:function(b){return Ea(this,b,!0)},remove:function(b){return Ea(this,b)},text:function(b){return da(this, 137function(b){return void 0===b?k.text(this):this.empty().each(function(){if(1===this.nodeType||11===this.nodeType||9===this.nodeType)this.textContent=b})},null,b,arguments.length)},append:function(){return ua(this,arguments,function(b){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||ba(this,b).appendChild(b)})},prepend:function(){return ua(this,arguments,function(b){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var a=ba(this,b);a.insertBefore(b,a.firstChild)}})},before:function(){return ua(this, 138arguments,function(b){this.parentNode&&this.parentNode.insertBefore(b,this)})},after:function(){return ua(this,arguments,function(b){this.parentNode&&this.parentNode.insertBefore(b,this.nextSibling)})},empty:function(){for(var b,a=0;null!=(b=this[a]);a++)1===b.nodeType&&(k.cleanData(D(b,!1)),b.textContent="");return this},clone:function(b,a){b=null==b?!1:b;a=null==a?b:a;return this.map(function(){return k.clone(this,b,a)})},html:function(b){return da(this,function(b){var a=this[0]||{},c=0,g=this.length; 139if(void 0===b&&1===a.nodeType)return a.innerHTML;if("string"===typeof b&&!dc.test(b)&&!L[(eb.exec(b)||["",""])[1].toLowerCase()]){b=k.htmlPrefilter(b);try{for(;c<g;c++)a=this[c]||{},1===a.nodeType&&(k.cleanData(D(a,!1)),a.innerHTML=b);a=0}catch(ka){}}a&&this.empty().append(b)},null,b,arguments.length)},replaceWith:function(){var b=[];return ua(this,arguments,function(a){var c=this.parentNode;0>k.inArray(this,b)&&(k.cleanData(D(this)),c&&c.replaceChild(a,this))},b)}});k.each({appendTo:"append",prependTo:"prepend", 140insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(b,a){k.fn[b]=function(b){for(var c=[],g=k(b),e=g.length-1,d=0;d<=e;d++)b=d===e?this:this.clone(!0),k(g[d])[a](b),Xa.apply(c,b.get());return this.pushStack(c)}});var Sa=new RegExp("^("+tb+")(?!px)[a-z%]+$","i"),Ma=function(b){var a=b.ownerDocument.defaultView;a&&a.opener||(a=f);return a.getComputedStyle(b)},vb=function(b,a,c){var g,e={};for(g in a)e[g]=b.style[g],b.style[g]=a[g];c=c.call(b);for(g in a)b.style[g]=e[g];return c}, 141Qb=new RegExp(Z.join("|"),"i");(function(){function b(){if(n){p.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0";n.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%";V.appendChild(p).appendChild(n);var b=f.getComputedStyle(n);a="1%"!==b.top;h=12===Math.round(parseFloat(b.marginLeft));n.style.right="60%";d=36===Math.round(parseFloat(b.right));c=36===Math.round(parseFloat(b.width)); 142n.style.position="absolute";e=12===Math.round(parseFloat(n.offsetWidth/3));V.removeChild(p);n=null}}var a,c,e,d,l,h,p=x.createElement("div"),n=x.createElement("div");n.style&&(n.style.backgroundClip="content-box",n.cloneNode(!0).style.backgroundClip="",C.clearCloneStyle="content-box"===n.style.backgroundClip,k.extend(C,{boxSizingReliable:function(){b();return c},pixelBoxStyles:function(){b();return d},pixelPosition:function(){b();return a},reliableMarginLeft:function(){b();return h},scrollboxSize:function(){b(); 143return e},reliableTrDimensions:function(){if(null==l){var b=x.createElement("table");var a=x.createElement("tr");var c=x.createElement("div");b.style.cssText="position:absolute;
143left:-11111px";a.style.height="1px";c.style.height="9px";V.appendChild(b).appendChild(a).appendChild(c);a=f.getComputedStyle(a);l=3<parseInt(a.height);V.removeChild(b)}return l}}))})();var jb=["Webkit","Moz","ms"],ib=x.createElement("div").style,hb={},ec=/^(none|table(?!-c[ea]).+)/,wb=/^--/,fc={position:"absolute",visibility:"hidden", 144display:"block"},xb={letterSpacing:"0",fontWeight:"400"};k.extend({cssHooks:{opacity:{get:function(b,a){if(a)return b=ya(b,"opacity"),""===b?"1":b}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(b,a,c,e){if(b&&3!==b.nodeType&&8!==b.nodeType&& 145b.style){var g,d=B(a),f=wb.test(a),l=b.style;f||(a=za(d));var m=k.cssHooks[a]||k.cssHooks[d];if(void 0!==c){var h=typeof c;"string"===h&&(g=xa.exec(c))&&g[1]&&(c=M(b,a,g),h="number");null!=c&&c===c&&("number"!==h||f||(c+=g&&g[3]||(k.cssNumber[d]?"":"px")),C.clearCloneStyle||""!==c||0!==a.indexOf("background")||(l[a]="inherit"),m&&"set"in m&&void 0===(c=m.set(b,c,e))||(f?l.setProperty(a,c):l[a]=c))}else return m&&"get"in m&&void 0!==(g=m.get(b,!1,e))?g:l[a]}},css:function(b,a,c,e){var g;var d=B(a); 146wb.test(a)||(a=za(d));(d=k.cssHooks[a]||k.cssHooks[d])&&"get"in d&&(g=d.get(b,!0,c));void 0===g&&(g=ya(b,a,e));"normal"===g&&a in xb&&(g=xb[a]);return""===c||c?(b=parseFloat(g),!0===c||isFinite(b)?b||0:g):g}});k.each(["height","width"],function(b,a){k.cssHooks[a]={get:function(b,c,g){if(c)return!ec.test(k.css(b,"display"))||b.getClientRects().length&&b.getBoundingClientRect().width?ia(b,a,g):vb(b,fc,function(){return ia(b,a,g)})},set:function(b,c,g){var e,d=Ma(b),f=!C.scrollboxSize()&&"absolute"=== 147d.position,l=(f||g)&&"border-box"===k.css(b,"boxSizing",!1,d);g=g?Ga(b,a,g,l,d):0;l&&f&&(g-=Math.ceil(b["offset"+a[0].toUpperCase()+a.slice(1)]-parseFloat(d[a])-Ga(b,a,"border",!1,d)-.5));g&&(e=xa.exec(c))&&"px"!==(e[3]||"px")&&(b.style[a]=c,c=k.css(b,a));return Y(b,c,g)}}});k.cssHooks.marginLeft=Fa(C.reliableMarginLeft,function(b,a){if(a)return(parseFloat(ya(b,"marginLeft"))||b.getBoundingClientRect().left-vb(b,{marginLeft:0},function(){return b.getBoundingClientRect().left}))+"px"});k.each({margin:"", 148padding:"",border:"Width"},function(b,a){k.cssHooks[b+a]={expand:function(c){var g=0,e={};for(c="string"===typeof c?c.split(" "):[c];4>g;g++)e[b+Z[g]+a]=c[g]||c[g-2]||c[0];return e}};"margin"!==b&&(k.cssHooks[b+a].set=Y)});k.fn.extend({css:function(b,a){return da(this,function(b,a,c){var g,e={},d=0;if(Array.isArray(a)){c=Ma(b);for(g=a.length;d<g;d++)e[a[d]]=k.css(b,a[d],!1,c);return e}return void 0!==c?k.style(b,a,c):k.css(b,a)},b,a,1<arguments.length)}});k.Tween=R;R.prototype={constructor:R,init:function(b, 149a,c,e,d,f){this.elem=b;this.prop=c;this.easing=d||k.easing._default;this.options=a;this.start=this.now=this.cur();this.end=e;this.unit=f||(k.cssNumber[c]?"":"px")},cur:function(){var b=R.propHooks[this.prop];return b&&b.get?b.get(this):R.propHooks._default.get(this)},run:function(b){var a,c=R.propHooks[this.prop];this.pos=this.options.duration?a=k.easing[this.easing](b,this.options.duration*b,0,1,this.options.duration):a=b;this.now=(this.end-this.start)*a+this.start;this.options.step&&this.options.step.call(this.elem, 150this.now,this);c&&c.set?c.set(this):R.propHooks._default.set(this);return this}};R.prototype.init.prototype=R.prototype;R.propHooks={_default:{get:function(b){return 1!==b.elem.nodeType||null!=b.elem[b.prop]&&null==b.elem.style[b.prop]?b.elem[b.prop]:(b=k.css(b.elem,b.prop,""))&&"auto"!==b?b:0},set:function(b){if(k.fx.step[b.prop])k.fx.step[b.prop](b);else 1!==b.elem.nodeType||!k.cssHooks[b.prop]&&null==b.elem.style[za(b.prop)]?b.elem[b.prop]=b.now:k.style(b.elem,b.prop,b.now+b.unit)}}};R.propHooks.scrollTop= 151R.propHooks.scrollLeft={set:function(b){b.elem.nodeType&&b.elem.parentNode&&(b.elem[b.prop]=b.now)}};k.easing={linear:function(b){return b},swing:function(b){return.5-Math.cos(b*Math.PI)/2},_default:"swing"};k.fx=R.prototype.init;k.fx.step={};var la,Na,gc=/^(?:toggle|show|hide)$/,hc=/queueHooks$/;k.Animation=k.extend(S,{tweeners:{"*":[function(b,a){var c=this.createTween(b,a);M(c.elem,b,xa.exec(a),c);return c}]},tweener:function(b,a){A(b)?(a=b,b=["*"]):b=b.match(W);for(var c,g=0,e=b.length;g<e;g++)c= 152b[g],S.tweeners[c]=S.tweeners[c]||[],S.tweeners[c].unshift(a)},prefilters:[function(b,a,c){var g;var e="width"in a||"height"in a;var d=this,f={}
152,l=b.style,m=b.nodeType&&Ka(b),h=t.get(b,"fxshow");if(!c.queue){var p=k._queueHooks(b,"fx");if(null==p.unqueued){p.unqueued=0;var n=p.empty.fire;p.empty.fire=function(){p.unqueued||n()}}p.unqueued++;d.always(function(){d.always(function(){p.unqueued--;k.queue(b,"fx").length||p.empty.fire()})})}for(g in a){var q=a[g];if(gc.test(q)){delete a[g];var r=r||"toggle"=== 153q;if(q===(m?"hide":"show"))if("show"===q&&h&&void 0!==h[g])m=!0;else continue;f[g]=h&&h[g]||k.style(b,g)}}if((a=!k.isEmptyObject(a))||!k.isEmptyObject(f)){if(e&&1===b.nodeType){c.overflow=[l.overflow,l.overflowX,l.overflowY];var v=h&&h.display;null==v&&(v=t.get(b,"display"));e=k.css(b,"display");"none"===e&&(v?e=v:(O([b],!0),v=b.style.display||v,e=k.css(b,"display"),O([b])));("inline"===e||"inline-block"===e&&null!=v)&&"none"===k.css(b,"float")&&(a||(d.done(function(){l.display=v}),null==v&&(e=l.display, 154v="none"===e?"":e)),l.display="inline-block")}c.overflow&&(l.overflow="hidden",d.always(function(){l.overflow=c.overflow[0];l.overflowX=c.overflow[1];l.overflowY=c.overflow[2]}));a=!1;for(g in f)a||(h?"hidden"in h&&(m=h.hidden):h=t.access(b,"fxshow",{display:v}),r&&(h.hidden=!m),m&&O([b],!0),d.done(function(){m||O([b]);t.remove(b,"fxshow");for(g in f)k.style(b,g,f[g])})),a=kb(m?h[g]:0,g,d),g in h||(h[g]=a.start,m&&(a.end=a.start,a.start=0))}}],prefilter:function(b,a){a?S.prefilters.unshift(b):S.prefilters.push(b)}}); 155k.speed=function(b,a,c){var g=b&&"object"===typeof b?k.extend({},b):{complete:c||!c&&a||A(b)&&b,duration:b,easing:c&&a||a&&!A(a)&&a};k.fx.off?g.duration=0:"number"!==typeof g.duration&&(g.duration=g.duration in k.fx.speeds?k.fx.speeds[g.duration]:k.fx.speeds._default);if(null==g.queue||!0===g.queue)g.queue="fx";g.old=g.complete;g.complete=function(){A(g.old)&&g.old.call(this);g.queue&&k.dequeue(this,g.queue)};return g};k.fn.extend({fadeTo:function(b,a,c,e){return this.filter(Ka).css("opacity",0).show().end().animate({opacity:a}, 156b,c,e)},animate:function(b,a,c,e){var g=k.isEmptyObject(b),d=k.speed(a,c,e);a=function(){var a=S(this,k.extend({},b),d);(g||t.get(this,"finish"))&&a.stop(!0)};a.finish=a;return g||!1===d.queue?this.each(a):this.queue(d.queue,a)},stop:function(b,a,c){var g=function(b){var a=b.stop;delete b.stop;a(c)};"string"!==typeof b&&(c=a,a=b,b=void 0);a&&this.queue(b||"fx",[]);return this.each(function(){var a=!0,e=null!=b&&b+"queueHooks",d=k.timers,f=t.get(this);if(e)f[e]&&f[e].stop&&g(f[e]);else for(e in f)f[e]&& 157f[e].stop&&hc.test(e)&&g(f[e]);for(e=d.length;e--;)d[e].elem!==this||null!=b&&d[e].queue!==b||(d[e].anim.stop(c),a=!1,d.splice(e,1));!a&&c||k.dequeue(this,b)})},finish:function(b){!1!==b&&(b=b||"fx");return this.each(function(){var a=t.get(this),c=a[b+"queue"];var e=a[b+"queueHooks"];var d=k.timers,f=c?c.length:0;a.finish=!0;k.queue(this,b,[]);e&&e.stop&&e.stop.call(this,!0);for(e=d.length;e--;)d[e].elem===this&&d[e].queue===b&&(d[e].anim.stop(!0),d.splice(e,1));for(e=0;e<f;e++)c[e]&&c[e].finish&& 158c[e].finish.call(this);delete a.finish})}});k.each(["toggle","show","hide"],function(b,a){var c=k.fn[a];k.fn[a]=function(b,g,e){return null==b||"boolean"===typeof b?c.apply(this,arguments):this.animate(Aa(a,!0),b,g,e)}});k.each({slideDown:Aa("show"),slideUp:Aa("hide"),slideToggle:Aa("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(b,a){k.fn[b]=function(b,c,g){return this.animate(a,b,c,g)}});k.timers=[];k.fx.tick=function(){var b=0,a=k.timers;for(la= 159Date.now();b<a.length;b++){var c=a[b];c()||a[b]!==c||a.splice(b--,1)}a.length||k.fx.stop();la=void 0};k.fx.timer=function(b){k.timers.push(b);k.fx.start()};k.fx.interval=13;k.fx.start=function(){Na||(Na=!0,va())};k.fx.stop=function(){Na=null};k.fx.speeds={slow:600,fast:200,_default:400};k.fn.delay=function(b,a){b=k.fx?k.fx.speeds[b]||b:b;return this.queue(a||"fx",function(a,c){var g=f.setTimeout(a,b);c.stop=function(){f.clearTimeout(g)}})};(function(){var b=x.createElement("input"),a=x.createElement("select").appendChild(x.createElement("option")); 160b.type="checkbox";C.checkOn=""!==b.value;C.optSelected=a.selected;b=x.createElement("input");b.value="t";b.type="radio";C.radioValue="t"===b.value})();var wa=k.expr.attrHandle;k.fn.extend({attr:function(b,a){return da(this,k.attr,b,a,1<arguments.length)},removeAttr:function(b){return this.each(function(){k.removeAttr(this,b)})}});k.extend({attr:function(b,a,c){var g,e,d=b.nodeType;if(3!==d&&8!==d&&2!==d){if("undefined"===typeof b.getAttribute)return k.prop(b,a,c);1===d&&k.isXMLDoc(b)||(e=k.attrHooks[a.toLowerCase()]|| 161(k.expr.match.bool.test(a)?ic:void 0));if(void 0!==c){if(null===c){k.removeAttr(b,a);return}if(e&&"set"in e&&void 0!==(g=e.set(b,c,a)))return g;b.setAttribute(a,c+"");return c}if(e&&"get"in e&&null!==(g=e.get(b,a)))return g;g=k.find.attr(b,a);return null==g?void 0:g}},attrHooks:{type:{set:function(b,a){if(!C.radioValue&&"radio"===a&&e(b,"input")){var c=b.value;b.setAttribute("type",a);c&&(b.value=c);return a}}}},removeAttr:function(b,a){var c=0,g=a&&a.match(W);if(g&&1===b.nodeType)for(;a=g[c++];)b.removeAttribute(a)}}); 162var ic={set:function(b,a,c){!1===a?k.removeAttr(b,c):b.setAttribute(c,c);return c}};k.each(k.expr.match.bool.source.match(/\w+/g),function(b,a){var c=wa[a]||k.find.attr;wa[a]=function(b,a,g){var e=a.toLowerCase();if(!g){var d=wa[e];wa[e]=f;var f=null!=c(b,a,g)?e:null;wa[e]=d}return f}});var jc=/^(?:input|select|textarea|button)$/i,kc=/^(?:a|area)$/i;k.fn.extend({prop:function(b,a){return da(this,k.prop,b,a,1<arguments.length)},removeProp:function(b){return this.each(function(){delete this[k.propFix[b]|| 163b]})}});k.extend({prop:function(b,a,c){var e,g=b.nodeType;if(3!==g&&8!==g&&2!==g){if(1!==g||!k.isXMLDoc(b)){a=k.propFix[a]||a;var d=k.propHooks[a]}return void 0!==c?d&&"set"in d&&void 0!==(e=d.set(b,c,a))?e:b[a]=c:d&&"get"in d&&null!==(e=d.get(b,a))?e:b[a]}},propHooks:{tabIndex:{get:function(b){var a=k.find.attr(b,"tabindex");return a?parseInt(a,10):jc.test(b.nodeName)||kc.test(b.nodeName)&&b.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}});C.optSelected||(k.propHooks.selected={get:function(b){(b= 164b.parentNode)&&b.parentNode&&b.parentNode.selectedIndex;return null},set:function(b){if(b=b.parentNode)b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex}});k.each("tabIndex readOnly maxLength cellSpacing cellPadding rowSpan colSpan useMap frameBorder contentEditable".split(" "),function(){k.propFix[this.toLowerCase()]=this});k.fn.extend({addClass:function(b){var a,c,e,d,f=0;if(A(b))return this.each(function(a){k(this).addClass(b.call(this,a,na(this)))});var l=Ta(b);if(l.length)for(;a=this[f++];){var h= 165na(a);if(c=1===a.nodeType&&" "+ma(h)+" "){for(d=0;e=l[d++];)0>c.indexOf(" "+e+" ")&&(c+=e+" ");c=ma(c);h!==c&&a.setAttribute("class",c)}}return this},removeClass:function(b){var a,c,e,d,f=0;if(A(b))return this.each(function(a){k(this).removeClass(b.call(this,a,na(this)))});if(!arguments.length)return this.attr("class","");var l=Ta(b);if(l.length)for(;a=this[f++];){var h=na(a);if(c=1===a.nodeType&&" "+ma(h)+" "){for(d=0;e=l[d++];)for(;-1<c.indexOf(" "+e+" ");)c=c.replace(" "+e+" "," ");c=ma(c);h!== 166c&&a.setAttribute("class",c)}}return this},toggleClass:function(b,a){var c=typeof b,e="string"===c||Array.isArray(b);return"boolean"===typeof a&&e?a?this.addClass(b):this.removeClass(b):A(b)?this.each(function(c){k(this).toggleClass(b.call(this,c,na(this),a),a)}):this.each(function(){var a,g;if(e){var d=0;var f=k(this);for(g=Ta(b);a=g[d++];)f.hasClass(a)?f.removeClass(a):f.addClass(a)}else if(void 0===b||"boolean"===c)(a=na(this))&&t.set(this,"__className__",a),this.setAttribute&&this.setAttribute("class", 167a||!1===b?"":t.get(this,"__className__")||"")})},hasClass:function(b){var a,c=0;for(b=" "+b+" ";a=this[c++];)if(1===a.nodeType&&-1<(" "+ma(na(a))+" ").indexOf(b))return!0;return!1}});var lc=/\r/g;k.fn.extend({val:function(b){var a,c,e=this[0];if(arguments.length){var d=A(b);return this.each(function(c){1===this.nodeType&&(c=d?b.call(this,c,k(this).val()):b,null==c?c="":"number"===typeof c?c+="":Array.isArray(c)&&(c=k.map(c,function(b){return null==b?"":b+""})),a=k.valHooks[this.type]||k.valHooks[this.nodeName.toLowerCase()], 168a&&"set"in a&&void 0!==a.set(this,c,"value")||(this.value=c))})}if(e){if((a=k.valHooks[e.type]||k.valHooks[e.nodeName.toLowerCase()])&&"get"in a&&void 0!==(c=a.get(e,"value")))return c;c=e.value;return"string"===typeof c?c.replace(lc,""):null==c?"":c}}});k.extend({valHooks:{option:{get:function(b){var a=k.find.attr(b,"value");return null!=a?a:ma(k.text(b))}},select:{get:function(b){var a=b.options,c=b.selectedIndex,d="select-one"===b.type,f=d?null:[],l=d?c+1:a.length;for(b=0>c?l:d?c:0;b<l;b++){var h= 169a[b];if(!(!h.selected&&b!==c||h.disabled||h.parentNode.disabled&&e(h.parentNode,"optgroup"))){h=k(h).val();if(d)return h;f.push(h)}}return f},set:function(b,a){for(var c,e=b.options,g=k.makeArray(a),d=e.length;d--;)if(a=e[d],a.selected=-1<k.inArray(k.valHooks.option.get(a),g))c=!0;c||(b.selectedIndex=-1);return g}}}});k.each(["radio","checkbox"],function(){k.valHooks[this]={set:function(b,a){if(Array.isArray(a))return b.checked=-1<k.inArray(k(b).val(),a)}};C.checkOn||(k.valHooks[this].get=function(b){return null=== 170b.getAttribute("value")?"on":b.value})});C.focusin="onfocusin"in f;var yb=/^(?:focusinfocus|focusoutblur)$/,zb=function(b){b.stopPropagation()};k.extend(k.event,{trigger:function(b,a,c,e){var g,d,l,h=[c||x],p=Pa.call(b,"type")?b.type:b;var n=Pa.call(b,"namespace")?b.namespace.split("."):[];var m=l=g=c=c||x;if(3!==c.nodeType&&8!==c.nodeType&&!yb.test(p+k.event.triggered)){-1<p.indexOf(".")&&(n=p.split("."),p=n.shift(),n.sort());var q=0>p.indexOf(":")&&"on"+p;b=b[k.expando]?b:new k.Event(p,"object"=== 171typeof b&&b);b.isTrigger=e?2:3;b.namespace=n.join(".");
171b.rnamespace=b.namespace?new RegExp("(^|\\.)"+n.join("\\.(?:.*\\.|)")+"(\\.|$)"):null;b.result=void 0;b.target||(b.target=c);a=null==a?[b]:k.makeArray(a,[b]);n=k.event.special[p]||{};if(e||!n.trigger||!1!==n.trigger.apply(c,a)){if(!e&&!n.noBubble&&!ta(c)){var r=n.delegateType||p;yb.test(r+p)||(m=m.parentNode);for(;m;m=m.parentNode)h.push(m),g=m;g===(c.ownerDocument||x)&&h.push(g.defaultView||g.parentWindow||f)}for(g=0;(m=h[g++])&&!b.isPropagationStopped();)l= 172m,b.type=1<g?r:n.bindType||p,(d=(t.get(m,"events")||Object.create(null))[b.type]&&t.get(m,"handle"))&&d.apply(m,a),(d=q&&m[q])&&d.apply&&sa(m)&&(b.result=d.apply(m,a),!1===b.result&&b.preventDefault());b.type=p;e||b.isDefaultPrevented()||n._default&&!1!==n._default.apply(h.pop(),a)||!sa(c)||!q||!A(c[p])||ta(c)||((g=c[q])&&(c[q]=null),k.event.triggered=p,b.isPropagationStopped()&&l.addEventListener(p,zb),c[p](),b.isPropagationStopped()&&l.removeEventListener(p,zb),k.event.triggered=void 0,g&&(c[q]= 173g));return b.result}}},simulate:function(b,a,c){b=k.extend(new k.Event,c,{type:b,isSimulated:!0});k.event.trigger(b,null,a)}});k.fn.extend({trigger:function(b,a){return this.each(function(){k.event.trigger(b,a,this)})},triggerHandler:function(b,a){var c=this[0];if(c)return k.event.trigger(b,a,c,!0)}});C.focusin||k.each({focus:"focusin",blur:"focusout"},function(b,a){var c=function(b){k.event.simulate(a,b.target,k.event.fix(b))};k.event.special[a]={setup:function(){var e=this.ownerDocument||this.document|| 174this,g=t.access(e,a);g||e.addEventListener(b,c,!0);t.access(e,a,(g||0)+1)},teardown:function(){var e=this.ownerDocument||this.document||this,g=t.access(e,a)-1;g?t.access(e,a,g):(e.removeEventListener(b,c,!0),t.remove(e,a))}}});var Ca=f.location,Ab=Date.now(),$a=/\?/;k.parseXML=function(b){if(!b||"string"!==typeof b)return null;try{var a=(new f.DOMParser).parseFromString(b,"text/xml")}catch(m){a=void 0}a&&!a.getElementsByTagName("parsererror").length||k.error("Invalid XML: "+b);return a};var Sb=/\[\]$/, 175Bb=/\r?\n/g,mc=/^(?:submit|button|image|reset|file)$/i,nc=/^(?:input|select|textarea|keygen)/i;k.param=function(b,a){var c,e=[],g=function(b,a){a=A(a)?a():a;e[e.length]=encodeURIComponent(b)+"\x3d"+encodeURIComponent(null==a?"":a)};if(null==b)return"";if(Array.isArray(b)||b.jquery&&!k.isPlainObject(b))k.each(b,function(){g(this.name,this.value)});else for(c in b)Ua(c,b[c],a,g);return e.join("\x26")};k.fn.extend({serialize:function(){return k.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var b= 176k.prop(this,"elements");return b?k.makeArray(b):this}
176).filter(function(){var b=this.type;return this.name&&!k(this).is(":disabled")&&nc.test(this.nodeName)&&!mc.test(b)&&(this.checked||!ja.test(b))}).map(function(b,a){b=k(this).val();return null==b?null:Array.isArray(b)?k.map(b,function(b){return{name:a.name,value:b.replace(Bb,"\r\n")}}):{name:a.name,value:b.replace(Bb,"\r\n")}}).get()}});var oc=/%20/g,pc=/#.*$/,qc=/([?&])_=[^&]*/,rc=/^(.*?):[ \t]*([^\r\n]*)$/mg,sc=/^(?:GET|HEAD)$/,tc=/^\/\//,Cb= 177{},Va={},Db="*/".concat("*"),ab=x.createElement("a");ab.href=Ca.href;k.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ca.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Ca.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset\x3dUTF-8",accepts:{"*":Db,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/}, 178responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":k.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(b,a){return a?Wa(Wa(b,k.ajaxSettings),a):Wa(k.ajaxSettings,b)},ajaxPrefilter:lb(Cb),ajaxTransport:lb(Va),ajax:function(b,a){function c(b,a,c,d){var p,m=a;if(!w){w=!0;l&&f.clearTimeout(l);e=void 0;g=d||"";t.readyState=0<b?4:0;d=200<=b&&300>b||304===b;c&&(p=Tb(n,t,c));!d&&-1<k.inArray("script", 179n.dataTypes)&&(n.converters["text script"]=function(){});p=Ub(n,p,t,d);if(d)if(n.ifModified&&((c=t.getResponseHeader("Last-Modified"))&&(k.lastModified[N]=c),(c=t.getResponseHeader("etag"))&&(k.etag[N]=c)),204===b||"HEAD"===n.type)m="nocontent";else if(304===b)m="notmodified";else{m=p.state;var u=p.data;var B=p.error;d=!B}else if(B=m,b||!m)m="error",0>b&&(b=0);t.status=b;t.statusText=(a||m)+"";d?v.resolveWith(q,[u,m,t]):v.rejectWith(q,[t,m,B]);t.statusCode(X);X=void 0;h&&r.trigger(d?"ajaxSuccess": 180"ajaxError",[t,n,d?u:B]);y.fireWith(q,[t,m]);h&&(r.trigger("ajaxComplete",[t,n]),--k.active||k.event.trigger("ajaxStop"))}}"object"===typeof b&&(a=b,b=void 0);a=a||{};var e,g,d,l,h,p,n=k.ajaxSetup({},a),q=n.context||n,r=n.context&&(q.nodeType||q.jquery)?k(q):k.event,v=k.Deferred(),y=k.Callbacks("once memory"),X=n.statusCode||{},B={},K={},H="canceled",t={readyState:0,getResponseHeader:function(b){var a;if(w){if(!d)for(d={};a=rc.exec(g);)d[a[1].toLowerCase()+" "]=(d[a[1].toLowerCase()+" "]||[]).concat(a[2]); 181a=d[b.toLowerCase()+" "]}return null==a?null:a.join(", ")},getAllResponseHeaders:function(){return w?g:null},setRequestHeader:function(b,a){null==w&&(b=K[b.toLowerCase()]=K[b.toLowerCase()]||b,B[b]=a);return this},overrideMimeType:function(b){null==w&&(n.mimeType=b);return this},statusCode:function(b){var a;if(b)if(w)t.always(b[t.status]);else for(a in b)X[a]=[X[a],b[a]];return this},abort:function(b){b=b||H;e&&e.abort(b);c(0,b);return this}};v.promise(t);n.url=((b||n.url||Ca.href)+"").replace(tc, 182Ca.protocol+"//");n.type=a.method||a.type||n.method||n.type;n.dataTypes=(n.dataType||"*").toLowerCase().match(W)||[""];if(null==n.crossDomain){b=x.createElement("a");try{b.href=n.url,b.href=b.href,n.crossDomain=ab.protocol+"//"+ab.host!==b.protocol+"//"+b.host}catch(Ya){n.crossDomain=!0}}n.data&&n.processData&&"string"!==typeof n.data&&(n.data=k.param(n.data,n.traditional));mb(Cb,n,a,t);if(w)return t;(h=k.event&&n.global)&&0===k.active++&&k.event.trigger("ajaxStart");n.type=n.type.toUpperCase();n.hasContent= 183!sc.test(n.type);var N=n.url.replace(pc,"");n.hasContent?n.data&&n.processData&&0===(n.contentType||"").indexOf("application/x-www-form-urlencoded")&&(n.data=n.data.replace(oc,"+")):(b=n.url.slice(N.length),n.data&&(n.processData||"string"===typeof n.data)&&(N+=($a.test(N)?"\x26":"?")+n.data,delete n.data),!1===n.cache&&(N=N.replace(qc,"$1"),b=($a.test(N)?"\x26":"?")+"_\x3d"+Ab++ +b),n.url=N+b);n.ifModified&&(k.lastModified[N]&&t.setRequestHeader("If-Modified-Since",k.lastModified[N]),k.etag[N]&& 184t.setRequestHeader("If-None-Match",k.etag[N]));(n.data&&n.hasContent&&!1!==n.contentType||a.contentType)&&t.setRequestHeader("Content-Type",n.contentType);t.setRequestHeader("Accept",n.dataTypes[0]&&n.accepts[n.dataTypes[0]]?n.accepts[n.dataTypes[0]]+("*"!==n.dataTypes[0]?", "+Db+"; q\x3d0.01":""):n.accepts["*"]);for(p in n.headers)t.setRequestHeader(p,n.headers[p]);
184if(n.beforeSend&&(!1===n.beforeSend.call(q,t,n)||w))return t.abort();H="abort";y.add(n.complete);t.done(n.success);t.fail(n.error);if(e= 185mb(Va,n,a,t)){t.readyState=1;h&&r.trigger("ajaxSend",[t,n]);if(w)return t;n.async&&0<n.timeout&&(l=f.setTimeout(function(){t.abort("timeout")},n.timeout));try{var w=!1;e.send(B,c)}catch(Ya){if(w)throw Ya;c(-1,Ya)}}else c(-1,"No Transport");return t},getJSON:function(b,a,c){return k.get(b,a,c,"json")},getScript:function(b,a){return k.get(b,void 0,a,"script")}});k.each(["get","post"],function(b,a){k[a]=function(b,c,e,d){A(c)&&(d=d||e,e=c,c=void 0);return k.ajax(k.extend({url:b,type:a,dataType:d,data:c, 186success:e},k.isPlainObject(b)&&b))}});k.ajaxPrefilter(function(b){for(var a in b.headers)"content-type"===a.toLowerCase()&&(b.contentType=b.headers[a]||"")});k._evalUrl=function(b,a,c){return k.ajax({url:b,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(b){k.globalEval(b,a,c)}})};k.fn.extend({wrapAll:function(b){this[0]&&(A(b)&&(b=b.call(this[0])),b=k(b,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&b.insertBefore(this[0]), 187b.map(function(){for(var b=this;b.firstElementChild;)b=b.firstElementChild;return b}).append(this));return this},wrapInner:function(b){return A(b)?this.each(function(a){k(this).wrapInner(b.call(this,a))}):this.each(function(){var a=k(this),c=a.contents();c.length?c.wrapAll(b):a.append(b)})},wrap:function(b){var a=A(b);return this.each(function(c){k(this).wrapAll(a?b.call(this,c):b)})},unwrap:function(b){this.parent(b).not("body").each(function(){k(this).replaceWith(this.childNodes)});return this}}); 188k.expr.pseudos.hidden=function(b){return!k.expr.pseudos.visible(b)};k.expr.pseudos.visible=function(b){return!!(b.offsetWidth||b.offsetHeight||b.getClientRects().length)};k.ajaxSettings.xhr=function(){try{return new f.XMLHttpRequest}catch(b){}};var uc={0:200,1223:204},Ha=k.ajaxSettings.xhr();C.cors=!!Ha&&"withCredentials"in Ha;C.ajax=Ha=!!Ha;k.ajaxTransport(function(b){var a,c;if(C.cors||Ha&&!b.crossDomain)return{send:function(e,d){var g,l=b.xhr();l.open(b.type,b.url,b.async,b.username,b.password); 189if(b.xhrFields)for(g in b.xhrFields)l[g]=b.xhrFields[g];b.mimeType&&l.overrideMimeType&&l.overrideMimeType(b.mimeType);b.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest");for(g in e)l.setRequestHeader(g,e[g]);a=function(b){return function(){a&&(a=c=l.onload=l.onerror=l.onabort=l.ontimeout=l.onreadystatechange=null,"abort"===b?l.abort():"error"===b?"number"!==typeof l.status?d(0,"error"):d(l.status,l.statusText):d(uc[l.status]||l.status,l.statusText,"text"!==(l.responseType|| 190"text")||"string"!==typeof l.responseText?{binary:l.response}:{text:l.responseText},l.getAllResponseHeaders()))}};l.onload=a();c=l.onerror=l.ontimeout=a("error");void 0!==l.onabort?l.onabort=c:l.onreadystatechange=function(){4===l.readyState&&f.setTimeout(function(){a&&c()})};a=a("abort");try{l.send(b.hasContent&&b.data||null)}catch(Kb){if(a)throw Kb;}},abort:function(){a&&a()}}});k.ajaxPrefilter(function(b){b.crossDomain&&(b.contents.script=!1)});k.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"}, 191contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(b){k.globalEval(b);return b}}});k.ajaxPrefilter("script",function(b){void 0===b.cache&&(b.cache=!1);b.crossDomain&&(b.type="GET")});k.ajaxTransport("script",function(b){if(b.crossDomain||b.scriptAttrs){var a,c;return{send:function(e,d){a=k("\x3cscript\x3e").attr(b.scriptAttrs||{}).prop({charset:b.scriptCharset,src:b.url}).on("load error",c=function(b){a.remove();c=null;b&&d("error"===b.type?404:200,b.type)});x.head.appendChild(a[0])}, 192abort:function(){c&&c()}}}});var Eb=[],bb=/(=)\?(?=&|$)|\?\?/;k.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var b=Eb.pop()||k.expando+"_"+Ab++;this[b]=!0;return b}});k.ajaxPrefilter("json jsonp",function(b,a,c){var e,d=!1!==b.jsonp&&(bb.test(b.url)?"url":"string"===typeof b.data&&0===(b.contentType||"").indexOf("application/x-www-form-urlencoded")&&bb.test(b.data)&&"data");if(d||"jsonp"===b.dataTypes[0]){var g=b.jsonpCallback=A(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback;d?b[d]=b[d].replace(bb, 193"$1"+g):!1!==b.jsonp&&(b.url+=($a.test(b.url)?"\x26":"?")+b.jsonp+"\x3d"+g);b.converters["script json"]=function(){e||k.error(g+" was not called");return e[0]};b.dataTypes[0]="json";var l=f[g];f[g]=function(){e=arguments};
193c.always(function(){void 0===l?k(f).removeProp(g):f[g]=l;b[g]&&(b.jsonpCallback=a.jsonpCallback,Eb.push(g));e&&A(l)&&l(e[0]);e=l=void 0});return"script"}});C.createHTMLDocument=function(){var b=x.implementation.createHTMLDocument("").body;b.innerHTML="\x3cform\x3e\x3c/form\x3e\x3cform\x3e\x3c/form\x3e"; 194return 2===b.childNodes.length}();k.parseHTML=function(b,a,c){if("string"!==typeof b)return[];"boolean"===typeof a&&(c=a,a=!1);if(!a)if(C.createHTMLDocument){a=x.implementation.createHTMLDocument("");var e=a.createElement("base");e.href=x.location.href;a.head.appendChild(e)}else a=x;e=sb.exec(b);c=!c&&[];if(e)return[a.createElement(e[1])];e=E([b],a,c);c&&c.length&&k(c).remove();return k.merge([],e.childNodes)};k.fn.load=function(b,a,c){var e,d,g=this,f=b.indexOf(" ");if(-1<f){var l=ma(b.slice(f)); 195b=b.slice(0,f)}A(a)?(c=a,a=void 0):a&&"object"===typeof a&&(e="POST");0<g.length&&k.ajax({url:b,type:e||"GET",dataType:"html",data:a}).done(function(b){d=arguments;g.html(l?k("\x3cdiv\x3e").append(k.parseHTML(b)).find(l):b)}).always(c&&function(b,a){g.each(function(){c.apply(this,d||[b.responseText,a,b])})});return this};k.expr.pseudos.animated=function(b){return k.grep(k.timers,function(a){return b===a.elem}).length};k.offset={setOffset:function(b,a,c){var e=k.css(b,"position"),d=k(b),g={};"static"=== 196e&&(b.style.position="relative");var f=d.offset();var l=k.css(b,"top");var n=k.css(b,"left");("absolute"===e||"fixed"===e)&&-1<(l+n).indexOf("auto")?(n=d.position(),l=n.top,n=n.left):(l=parseFloat(l)||0,n=parseFloat(n)||0);A(a)&&(a=a.call(b,c,k.extend({},f)));
196null!=a.top&&(g.top=a.top-f.top+l);null!=a.left&&(g.left=a.left-f.left+n);"using"in a?a.using.call(b,g):("number"===typeof g.top&&(g.top+="px"),"number"===typeof g.left&&(g.left+="px"),d.css(g))}};k.fn.extend({offset:function(b){if(arguments.length)return void 0=== 197b?this:this.each(function(a){k.offset.setOffset(this,b,a)});var a;if(a=this[0]){if(!a.getClientRects().length)return{top:0,left:0};var c=a.getBoundingClientRect();a=a.ownerDocument.defaultView;return{top:c.top+a.pageYOffset,left:c.left+a.pageXOffset}}},position:function(){if(this[0]){var b,a=this[0],c={top:0,left:0};if("fixed"===k.css(a,"position"))var e=a.getBoundingClientRect();else{e=this.offset();var d=a.ownerDocument;for(b=a.offsetParent||d.documentElement;b&&(b===d.body||b===d.documentElement)&& 198"static"===k.css(b,"position");)b=b.parentNode;b&&b!==a&&1===b.nodeType&&(c=k(b).offset(),c.top+=k.css(b,"borderTopWidth",!0),c.left+=k.css(b,"borderLeftWidth",!0))}return{top:e.top-c.top-k.css(a,"marginTop",!0),left:e.left-c.left-k.css(a,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var b=this.offsetParent;b&&"static"===k.css(b,"position");)b=b.offsetParent;return b||V})}});k.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(b,a){var c="pageYOffset"=== 199a;k.fn[b]=function(e){return da(this,function(b,e,d){if(ta(b))var g=b;else 9===b.nodeType&&(g=b.defaultView);if(void 0===d)return g?g[a]:b[e];g?g.scrollTo(c?g.pageXOffset:d,c?d:g.pageYOffset):b[e]=d},b,e,arguments.length)}});k.each(["top","left"],function(b,a){k.cssHooks[a]=Fa(C.pixelPosition,function(b,c){if(c)return c=ya(b,a),Sa.test(c)?k(b).position()[a]+"px":c})});k.each({Height:"height",Width:"width"},function(b,a){k.each({padding:"inner"+b,content:a,"":"outer"+b},function(c,e){k.fn[e]=function(d, 200g){var f=arguments.length&&(c||"boolean"!==typeof d),l=c||(!0===d||!0===g?"margin":"border");return da(this,function(a,c,d){return ta(a)?0===e.indexOf("outer")?a["inner"+b]:a.document.documentElement["client"+b]:9===a.nodeType?(c=a.documentElement,Math.max(a.body["scroll"+b],c["scroll"+b],a.body["offset"+b],c["offset"+b],c["client"+b])):void 0===d?k.css(a,c,l):k.style(a,c,d,l)},a,f?d:void 0,f)}})});k.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(b,a){k.fn[a]= 201function(b){return this.on(a,b)}});k.fn.extend({bind:function(b,a,c){return this.on(b,null,a,c)},unbind:function(b,a){return this.off(b,null,a)},delegate:function(b,a,c,e){return this.on(a,b,c,e)},undelegate:function(b,a,c){return 1===arguments.length?this.off(b,"**"):this.off(a,b||"**",c)},hover:function(b,a){return this.mouseenter(b).mouseleave(a||b)}});k.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "), 202function(a,c){k.fn[c]=function(a,b){return 0<arguments.length?this.on(c,null,a,b):this.trigger(c)}});var vc=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;k.proxy=function(a,c){if("string"===typeof c){var b=a[c];c=a;a=b}if(A(a)){var e=fa.call(arguments,2);b=function(){return a.apply(c||this,e.concat(fa.call(arguments)))};b.guid=a.guid=a.guid||k.guid++;return b}};k.holdReady=function(a){a?k.readyWait++:k.ready(!0)};k.isArray=Array.isArray;k.parseJSON=JSON.parse;k.nodeName=e;k.isFunction=A;k.isWindow=ta;k.camelCase= 203B;k.type=a;k.now=Date.now;k.isNumeric=function(a){var b=k.type(a);return("number"===b||"string"===b)&&!isNaN(a-parseFloat(a))};k.trim=function(a){return null==a?"":(a+"").replace(vc,"")};"function"===typeof define&&define.amd&&define("jquery",[],function(){return k});var wc=f.jQuery,xc=f.$;k.noConflict=function(a){f.$===k&&(f.$=xc);a&&f.jQuery===k&&(f.jQuery=wc);return k};"undefined"===typeof h&&(f.jQuery=f.$=k);return k});window.ContextHubJQ=window.jQuery.noConflict(!0); 204(function(){Function.prototype.bind||(Function.prototype.bind=function(f){var h=this,d=[].slice.call(arguments,1),a=function(){if(this instanceof a){var c=function(){};c.prototype=h.prototype;c=new c;var e=h.apply(c,d.concat([].slice.call(arguments)));c=Object(e)===e?e:c}else c=h.apply(f,d.concat([].slice.call(arguments)));return c};return a})})(); 205(function(f){f.ContextHub=f.ContextHub||{};var h=function(a,c){return(f.ContextHubKernelConfig.debug||c)&&a?Function.prototype.bind.call(a,f.console):function(){}},d=function(a){var c=f.console||{},e=function(){};ContextHub.console={log:h(c.log),warn:h(c.warn),info:h(c.info),error:h(c.error,!0),debug:h(c.debug),time:h(c.time),timeEnd:h(c.timeEnd),timeStamp:h(c.timeStamp)};a=a||"info";"info"===a&&(ContextHub.console.info=e,ContextHub.console.debug=e);"debug"===a&&(ContextHub.console.log=e,ContextHub.console.warn= 206e)};d();ContextHub.debug=function(a,c){"undefined"!==typeof a&&(f.ContextHubKernelConfig.debug=!0===a,d(c));return!!f.ContextHubKernelConfig.debug}})(window); 207(function(f,h){h.ContextHub=h.ContextHub||{};h.ContextHub.Utils=h.ContextHub.Utils||{};h.ContextHub.Utils.JSON=h.ContextHub.Utils.JSON||{};
207var d=function(a){return"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)},a=function(a){var c={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};return'"'+a.replace(/["\\\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,function(a){var e=c[a];return e?e:d(a)})+'"'}, 208c=function(e){var d=f.type(e);"object"===d&&f.isArray(e)&&(d="array");switch(d){case "null":case "boolean":return String(e);case "undefined":break;case "array":var l=[];for(d=0;d<e.length;d++)l.push(c(e[d])||"null");return"["+l.join(",")+"]";case "number":return String(isFinite(e)?e:"null");case "string":return a(e);case "date":l=e.getUTCFullYear();d=ContextHub.Shared.pad(e.getUTCMonth()+1);var h=ContextHub.Shared.pad(e.getUTCDate()),p=ContextHub.Shared.pad(e.getUTCHours()),y=ContextHub.Shared.pad(e.getUTCMinutes()), 209K=ContextHub.Shared.pad(e.getUTCSeconds());e=ContextHub.Shared.pad(e.getUTCMilliseconds(),3);return'"'+l+"-"+d+"-"+h+"T"+p+":"+y+":"+K+"."+e+'Z"';case "regexp":return"{}";case "function":break;default:d=[];for(l in e)Object.prototype.hasOwnProperty.call(e,l)&&(h=typeof l,"number"===h||"string"===h)&&(p=e[l],h=typeof p,"function"!==h&&"undefined"!==h&&d.push(a(l)+":"+c(p)));return"{"+d.join(",")+"}"}},e=function(a){a=String(a).replace(/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g, 210d);var c=a.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"");return/^[\],:{}\s]*$/.test(c)?eval("("+a+")"):{}},l=h.JSON&&JSON.stringify&&JSON.parse;ContextHub.Utils.JSON.stringify=l?JSON.stringify:c;ContextHub.Utils.JSON.parse=function(a){try{var c=(l?JSON.parse:e)(a)}catch(r){c={}}return c}})(ContextHubJQ,window);ContextHub.console.log("[loading] contexthub.constants - ContextHub.constants.js"); 211(function(f){ContextHub.Constants=f.extend(!0,ContextHub.Constants,{EVENT_NAMESPACE:"ch",EVENT_ALL_STORES_READY:"all-stores-ready",EVENT_STORES_PARTIALLY_READY:"stores-partially-ready",EVENT_STORE_REGISTERED:"store-registered",EVENT_STORE_READY:"store-ready",EVENT_STORE_UPDATED:"store-updated",PERSISTENCE_CONTAINER_NAME:"ContextHubPersistence",SERVICE_RAW_RESPONSE_KEY:"/_/raw-response",SERVICE_RESPONSE_TIME_KEY:"/_/response-time",SERVICE_LAST_URL_KEY:"/_/url",IS_CONTAINER_EXPANDED:"/_/container-expanded"}); 212ContextHub.console.time("contexthub.js");ContextHub.console.timeStamp("contexthub.start")})(ContextHubJQ);ContextHub.console.log("[loading] contexthub.constants - ContextHub.constants.deprecated.js"); 213(function(f){window.ContextHub=window.ContextHub||{};ContextHub.Constants=f.extend(!0,ContextHub.Constants,{EVENT_INITIALIZED:ContextHub.Constants.EVENT_ALL_STORES_READY,EVENT_REGISTER:ContextHub.Constants.EVENT_STORE_REGISTERED,EVENT_DATA_UPDATE:ContextHub.Constants.EVENT_STORE_UPDATED,CONTAINER_VISIBLE:ContextHub.Constants.IS_CONTAINER_EXPANDED,EVENT_CONFIG_LOADED:""})})(ContextHubJQ); 214(function(f,h){h.ContextHub.Shared=h.ContextHub.Shared||{};ContextHub.Shared.pad=function(a,c){a=String(a);c=(c||2)-a.length;0<c&&(a=String(Math.pow(10,Math.min(c,20))).slice(1)+a);return a};var d={};ContextHub.Shared.timers={start:function(a){a=a||"id"+Math.random();d[a]=(new Date).getTime();return a},finish:function(a){return(a=d[a])?(new Date).getTime()-a:0}};ContextHub.Shared.timestamp=function(){var a=new Date,c=a.getYear()+1900,e=ContextHub.Shared.pad(a.getMonth()+1),d=ContextHub.Shared.pad(a.getDate()), 215f=ContextHub.Shared.pad(a.getHours()),n=ContextHub.Shared.pad(a.getMinutes()),h=ContextHub.Shared.pad(a.getSeconds());a=ContextHub.Shared.pad(a.getMilliseconds(),3);return c+"-"+e+"-"+d+" "+f+":"+n+":"+h+"."+a};ContextHub.Shared.uuid=function(){function a(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return a()+a()+"-"+a()+"-"+a()+"-"+a()+"-"+a()+a()+a()};ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.shared - ContextHub.Shared.js")})(ContextHubJQ, 216window);ContextHubJQ(function(){ContextHub.console.log(ContextHub.Shared.timestamp(),"[event] DOM ready")});ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.shared - ContextHub.Shared.CookieContainer.js"); 217(function(f,h){h.ContextHub.Shared=h.ContextHub.Shared||{};h.ContextHub.Shared.CookieContainer={};var d=h.ContextHub.Shared.CookieContainer,a=function(a){a=(ContextHub.Utils.Cookie.getItem(f.trim(a))||"").split(/\|/);var c={};f.each(a,function(a,e){(e=e.match(/(^.*?):=(.*)/))&&3===e.length&&(e.shift(),a=e.shift(),e=e.shift(),c[a]=decodeURIComponent(e))});return c};d.setItem=function(c,e,d){c=f.trim(c);var l=a(c),h=[];0>=c.length||(null===d||"undefined"===typeof d?delete l[e]:l[e]=d,f.each(l,function(a,
218c){h.push(a+":\x3d"+encodeURIComponent(c))}),ContextHub.Utils.Cookie.setItem(c,h.join("|")))};d.getItem=function(c,e){return a(c)[e]};d.removeItem=function(a,e){d.setItem(a,e,null)}})(ContextHubJQ,window);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.utils - ContextHub.Utils.cookie.js"); 219(function(f,h){h.ContextHub.Utils=h.ContextHub.Utils||{};var d={path:"/",expires:void 0,domain:void 0,secure:!1,trimUndefined:!0},a=function(c,e){var d=f.type(e);"object"===d&&f.isArray(e)&&(d="array");switch(d){case "regexp":return e.test(c);case "string":return c===e;case "function":return!0===e(c);case "array":var l=!1;f(e).each(function(e,d){l=a(c,d);return!l});return l;default:return!1}},c=function(c){var e="undefined"===typeof c,d=h.document.cookie?h.document.cookie.split(/;/):[],l=[];f(d).each(function(d, 220h){d=decodeURIComponent(f.trim(h.split(/=/)[0]));d.length&&-1===f.inArray(d,l)&&(e||a(d,c))&&l.push(d)});return l.sort()},e=function(a,c,e){if("undefined"===typeof a)return!1;var l=f.type(c);e=f.extend(!0,{},d,e);c=!e.trimUndefined||"undefined"!==l&&"null"!==l?c:"";switch(f.type(e.expires)){case "date":break;case "number":l=new Date;l.setDate(l.getDate()+e.expires);e.expires=l;break;default:e.expires=void 0}a=[encodeURIComponent(a),"\x3d",encodeURIComponent(c),e.expires?"; expires\x3d"+e.expires.toUTCString(): 221"",e.domain?"; domain\x3d"+e.domain:"",e.path?"; path\x3d"+e.path:"",e.secure?"; secure":""].join("");return h.document.cookie=a},l=function(a){var c=h.document.cookie?h.document.cookie.split(/;/):[],e=null;f(c).each(function(c,d){c=decodeURIComponent(f.trim(d.split(/=/).slice(1).join("\x3d")));decodeURIComponent(f.trim(d.split(/=/)[0]))===a&&(e=c);return null===e});return e},p=function(a,c){e(a,"",f.extend({},c,{expires:-1}))};ContextHub.Utils.Cookie={setItem:e,getItem:l,getAllItems:function(a){var e= 222{};f(c(a)).each(function(a,c){a=l(c);var d=f.type(a);"undefined"!==d&&"null"!==d&&(e[c]=a)});return e},getKeys:c,exists:function(a){return null!==l(a)},removeItem:p,vanish:function(a,e){f(c(a)).each(function(a,c){p(c,e)})}}})(ContextHubJQ,window);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.utils - ContextHub.Utils.json.js"); 223(function(f,h){h.ContextHub.Utils=h.ContextHub.Utils||{};var d=function(a){var c=null;"string"===typeof a&&(c=a.split(/(?:\s*\/+\s*)+/),""===c[0]&&c.shift(),c.length&&""===c[c.length-1]&&c.pop());return c},a=function(a,c){var e=null;if(c=d(c))for(e=a,a=0;a<c.length;a++)if(e=e[c[a]],null===e||"undefined"===typeof e){e=null;break}return e},c=function(a,c,e){c=d(c);e&&(a=f.extend(!0,{},a));if(c){var l={object:!0,array:!0},h=a,n=[a];f.each(c.slice(0,-1),function(a,c){h=h[c];n.push(h);return!0===l[f.type(h)]}); 224if(h)for(delete h[c.slice(-1)],c.pop(),n.pop();n&&c&&0<n.length&&0<c.length;){e=c.pop();h=n.pop();var p=h[e],q=f.type(p);if("object"!==q&&"array"!==q||!f.isEmptyObject(p))break;else delete h[e]}}return a},e=/^\[object (DIV|DOM|CSS|HTML|NamedNode|Node|Window)/,l=function(a){return a&&(a instanceof h.Node||a instanceof f||"function"===typeof a.css||"function"===typeof a.toString&&e.test(a.toString()))?!0:!1},p=function(a,c,e,d,h){c=c||"/";h=h||0;var n=[],q=f.type(a);"object"===q&&l(a)&&(q="invalid"); 225if("object"===q||"array"===q){d&&(a=ContextHub.Utils.JSON.tree.cleanup(a));for(var r in a)if(a.hasOwnProperty(r)){q=a[r];var v=c+r,y=f.type(q);n.push(v);"object"===y&&l(q)&&(y="invalid");"object"!==y&&"array"!==y||f.merge(n,p(q,v+"/",null,d,h+1))}}return 0===h?"function"===typeof e?n.sort(e):n.sort():n};f.extend(ContextHub.Utils.JSON,{tree:{sanitizeKey:d,setItem:function(a,c,e,l){c=d(c);l&&(a=f.extend(!0,{},a));if(c){var h=a,n={};f.each(c,function(a,c){n=h;a=f.type(h[c]);"object"!==a&&"array"!==a&& 226(h[c]={});h=h[c]});n[c.slice(-1)]=e}return a},getItem:a,removeItem:c,getKeys:p,cleanup:function(e,d){d&&(e=f.extend(!0,{},e));d=p(e,null,function(a,c){var e=a.split(/\//).length,d=c.split(/\//).length;return e!==d?e>d?-1:1:a===c?0:a>c?1:-1});f.each(d,function(d,l){d=a(e,l);var h=f.type(d);"object"!==h&&"array"!==h||!f.isEmptyObject(d)||(e=c(e,l))});return e},addAllItems:function(a,c){return f.extend(!0,{},a,c)}}})})(ContextHubJQ,window);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.utils - ContextHub.Utils.eventing.js"); 227(function(f,h){h.ContextHub.Utils=h.ContextHub.Utils||{};var d=function(){var a=f.grep([h.requestAnimationFrame,h.msRequestAnimationFrame,h.mozRequestAnimationFrame,h.webkitRequestAnimationFrame,h.oRequestAnimationFrame],f.isFunction).shift();if(!a){var c=0;a=function(a){var e=(new Date).getTime(),d=Math.max(0,16-(e-c)),l=h.setTimeout(function(){a(e+d)},d);c=e+d;return l}}return a}();(function(){var a=f.grep([h.cancelAnimationFrame,h.cancelRequestAnimationFrame,h.msCancelRequestAnimationFrame,h.mozCancelRequestAnimationFrame, 228h.webkitCancelRequestAnimationFrame,h.oCancelRequestAnimationFrame],f.isFunction).shift();a||(a=function(a){h.clearTimeout(a)});return a})();var a={},c={},e=function(a,c,e){a=(a||"").replace(/^ *| *$/g,"");if(a.length){e=e||{};e.hasOwnProperty("defer")||(e.defer=this.config.defer);var d=e.defer;e=e._||{};a="/"+this.config.namespace+"/"+a;var l=ContextHub.Utils.JSON.tree.getItem(this.queue,a)||{};l.hasOwnProperty("executeAt")||(l.executeAt=null);l.hasOwnProperty("data")||(l.data=[]);for(var h in e)e.hasOwnProperty(h)&& 229"undefined"===typeof l[h]&&(l[h]=e[h]);h=(new Date).getTime()+d;if(!l.executeAt||0===d||l.executeAt>h)l.executeAt=h;f.isEmptyObject(c)||l.data.push(c);this.queue=ContextHub.Utils.JSON.tree.setItem(this.queue,a,l);
229this.eventingCounter=d?this.eventingCounter:0;c=!0===this.queueIsEmpty;this.queueIsEmpty=!1;c&&this.eventingMonitor()}},l=function(){return this.queue},p=function(a,c){a.list.push(c.key);a.hash[c.key]=c},n=function(a){for(var c=f.extend(!0,{},a,{data:[]}),e={},d=function(a,c,d){var l=a.key|| 230"temp"+Math.random(),h=e[l],n=(h||{}).old||null;e[l]=f.extend(!0,{},a);e[l]._idx=parseFloat(c+"."+(d||0));h&&(e[l].old=n)},l=0;l<a.data.length;l++){var h=a.data[l],n=ContextHub.Utils.JSON.tree.getKeys(h.old),q=ContextHub.Utils.JSON.tree.getKeys(h.value);if(n.length||q.length){var v="/"===h.key?"":h.key,r=1,y;for(y=0;y<n.length;y++,r++){var B=n[y];d({key:v+B,value:null,old:ContextHub.Utils.JSON.tree.getItem(h.old,B),action:"remove"},l,r)}for(y=0;y<q.length;y++,r++)B=q[y],d({key:v+B,value:ContextHub.Utils.JSON.tree.getItem(h.value, 231B),old:ContextHub.Utils.JSON.tree.getItem(h.old||{},B),action:"set"},l,r)}else n=!(!h.key||!h.action)&&!/^\/_\//.test(h.key),q=e[h.key]||{},n&&q.old===h.value?delete e[h.key]:d(h,l)}e=f.map(e,function(a){return a}).sort(function(a,c){return a._idx-c._idx});a={set:{list:[],hash:{}},removed:{list:[],hash:{}},all:{list:[],hash:{}}};f.each(e,function(a,c){delete c._idx;c.key&&c.action&&(p(this.keys.all,c),"set"===c.action&&p(this.keys.set,c),"remove"===c.action&&p(this.keys.removed,c))}.bind({keys:a})); 232c.data=e;c.keys=a;return c},r=function(c){0!==c.indexOf(this.config.namespace+"-")&&(c=this.config.namespace+"-"+c);-1!==c.indexOf(".")&&(c=c.split(/\./).shift());return!0===a[c]},q=function(){this.running&&!this.queueIsEmpty&&(0===this.eventingCounter++%this.periodicity&&f.each(this.queue[this.config.namespace]||{},function(c,e){if(!e.paused&&(new Date).getTime()>e.executeAt){var d=this.config.namespace+"-"+c,l=e.duration?"("+e.duration+") ":"",p=ContextHub.debug(),q=f(this.config.broadcast);if(!this.windowBroadcast.initialized){var r= 233h;var v=h.parent;try{for(;r.location.origin===v.location.origin&&(r=v,v=v.parent,r!==h.top););}catch(Y){}try{this.windowBroadcast.top=this.config.broadcast===r?null:r}catch(Y){}this.windowBroadcast.initialized=!0}r=this.windowBroadcast.top;e=n(e);e.event=d;e.overlay&&(e=f.extend(!0,e,e.overlay));delete (this.queue[this.config.namespace]||{})[c];this.queueIsEmpty=f.isEmptyObject(this.queue[this.config.namespace]);if(!e.muteWhenNoData||e.muteWhenNoData&&0<e.data.length){v=d.split(/:/);c=c.split(/:/); 234for(var y=v.length;0<y;y--){e.channel=c.slice(0,y).join(":");var B=v.slice(0,y).join(":");q.trigger(B,e);if(r&&r.document){var H=r.document.createEvent("Event");H.initEvent(B,!0,!0);H.data=e;r.dispatchEvent(H)}p&&ContextHub.console.debug(ContextHub.Shared.timestamp(),B,"-",e);a[B]=!0}ContextHub.console.log(ContextHub.Shared.timestamp(),"[event]",d,l+"-",e)}}}.bind(this)),d(this.eventingMonitor))},v=function(){this.running=!0;this.eventingMonitor()},y=function(){this.running=!1},K=function(){return this.running}, 235B=function(){this.queue={}},H=function(a,c,e){this.queue=ContextHub.Utils.JSON.tree.setItem(this.queue,"/"+this.config.namespace+"/"+a+"/"+c,e)},P=function(a){H.call(this,a,"executeAt",0)},M=function(a){H.call(this,a,"paused",!0)},O=function(a){H.call(this,a,"paused",void 0)},D=function(a){return!0===ContextHub.Utils.JSON.tree.getItem(this.queue,"/"+this.config.namespace+"/"+a+"/paused")},T=function(a,c,e){e=e?"."+e:"";a="string"===typeof a?a.split(/ /):a;for(var d=0;d<a.length;d++){var l=a[d];0!== 236l.indexOf(c+"-")&&(a[d]=c+"-"+l+e)}return a.join(" ")},E=function(a,e,d,l){a=T(a,this.config.namespace,d);f(this.config.broadcast).on(a,e);c[a]=!0;if(l){var h=!1,n=this;f.each(a.split(/ /),function(a,c){h=r.call(n,c);return!0!==h});h&&e()}},w=function(a,e,d,l){var h=!1;a=T(a,this.config.namespace,d);if(l){var n=this;f.each(a.split(/ /),function(a,c){h=r.call(n,c);return!0!==h})}h?e():(f(this.config.broadcast).one(a,e),c[a]=!0)},I=function(a,e){a=T(a,this.config.namespace,e);f(this.config.broadcast).off(a); 237delete c[a]},Ra=function(){for(var a in c)c.hasOwnProperty(a)&&ContextHub.eventing.off(a);c={}};ContextHub.Utils.Eventing=function(a){this.config=f.extend(!0,{},ContextHub.Utils.Eventing.defaultConfig,a);
237this.eventingCounter=0;this.periodicity=Math.floor(Math.max(16,this.config.periodicity)/16);this.eventingMonitor=q.bind(this);this.windowBroadcast={top:null,initialized:!1};this.queue={};this.config.autoStart?v.call(this):this.running=!1;return{log:this.log,trigger:e.bind(this),getQueue:l.bind(this), 238isRunning:K.bind(this),enableEventing:v.bind(this),disableEventing:y.bind(this),alreadyTriggered:r.bind(this),clearQueue:B.bind(this),flush:P.bind(this),pause:M.bind(this),resume:O.bind(this),isPaused:D.bind(this),once:w.bind(this),on:E.bind(this),off:I.bind(this),unbindAllHandlers:Ra.bind(this),namespace:this.config.namespace,broadcast:this.config.broadcast,handledEvents:c}};ContextHub.Utils.Eventing.defaultConfig={autoStart:!0,defer:100,periodicity:192,namespace:ContextHub.Constants.EVENT_NAMESPACE, 239broadcast:h}})(ContextHubJQ,window);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.utils - ContextHub.Utils.persistence.js"); 240(function(f,h){function d(a,c,e){this.cachedTree=null;return f.extend(!0,{},{name:a,isSupported:e||function(){return!0},getInterface:function(e){e=c.call(this,e);return{name:a,getItem:e.getItem,setItem:e.setItem,removeItem:e.removeItem,getKeys:e.getKeys,getTree:e.getTree}},_self:this})}h.ContextHub.Utils=h.ContextHub.Utils||{};var a=/^\/*store($|\/)/,c=/^\/*store\/(emulators|surferinfo|segmentation)($|\/)/;d.prototype.setItem=function(e,d,l,f){if((l||"").match(a)&&!(l||"").match(c)&&ContextHub.isOptedOut())return!1; 241d=this.cachedTree||d();d=ContextHub.Utils.JSON.tree.setItem(d,l,f);e(d);this.cachedTree=d;return!0};d.prototype.getItem=function(a,c){this.cachedTree=a=this.cachedTree||a();return ContextHub.Utils.JSON.tree.getItem(a,c)};d.prototype.removeItem=function(e,d,l){if((l||"").match(a)&&!(l||"").match(c)&&ContextHub.isOptedOut())return!1;d=this.cachedTree||d();d=ContextHub.Utils.JSON.tree.removeItem(d,l);e(d);this.cachedTree=null;return!0};var e=new d("null",function(){return{setItem:function(){return!1}, 242getItem:function(){return{}},removeItem:function(){},getKeys:function(){return[]},getTree:function(){return{}}}}),l=function(){var a=!1;f(f.merge([this.config.mode],this.config.fallback||[])).each(function(c,e){e&&e.isSupported()&&(a=!0,this.config.mode=e);return!a}.bind(this));a||(this.config.mode=e);return a};ContextHub.Utils.Persistence=function(a){this.config=f.extend(!0,{},ContextHub.Utils.Persistence.defaultConfig,a);a=this.config.mode;a={initialized:l.call(this),usingFallback:this.config.mode!== 243a,window:this.config.window,container:this.config.container};f.extend(a,this.config.mode.getInterface.call(this.config.mode._self,this.config));return a};ContextHub.Utils.Persistence.prototype.PersistenceMode=d;ContextHub.Utils.Persistence.Modes={};var p=function(a,c){var e=d.prototype.setItem.bind(this,a,c),l=d.prototype.getItem.bind(this,c);a=d.prototype.removeItem.bind(this,a,c);return{setItem:e,getItem:l,removeItem:a,getKeys:function(){var a=c();return ContextHub.Utils.JSON.tree.getKeys(a)},getTree:c}}; 244ContextHub.Utils.Persistence.Modes.LOCAL=new d("local",function(a){var c=a.container,e=a.window.localStorage;return p.call(this,function(a){a=ContextHub.Utils.JSON.stringify(a);e.setItem(c,a)},function(){var a=null;try{a=e.getItem(c)}catch(y){a=null}a=ContextHub.Utils.JSON.parse(a);return"object"===f.type(a)?a:{}})},function(){var a="contexthub.test."+this.name;try{var c=h.localStorage;c.setItem(a,a);var e=c.getItem(a)===a;c.removeItem(a)}catch(v){e=!1}return e});ContextHub.Utils.Persistence.Modes.SESSION= 245new d("session",function(a){var c=a.container,e=a.window.sessionStorage;return p.call(this,function(a){a=ContextHub.Utils.JSON.stringify(a);e.setItem(c,a)},function(){var a=e.getItem(c);a=ContextHub.Utils.JSON.parse(a);return"object"===f.type(a)?a:{}})},function(){var a="contexthub.test."+this.name;try{var c=h.sessionStorage;c.setItem(a,a);var e=c.getItem(a)===a;c.removeItem(a)}catch(v){e=!1}return e});ContextHub.Utils.Persistence.Modes.COOKIE=new d("cookie",function(a){var c=a.container,e=ContextHub.Utils.Cookie; 246return p.call(this,function(a){a=ContextHub.Utils.JSON.stringify(a);e.setItem(c,a)},function(){var a=e.getItem(c);a=ContextHub.Utils.JSON.parse(a);return"object"===f.type(a)?a:{}})},function(){var a="contexthub.test."+this.name;h.document.cookie=a+"\x3d1";var c=-1!==h.document.cookie.indexOf(a);h.document.cookie=a+"\x3d; expires\x3dThu, 01-Jan-1970 00:00:01 GMT";return c});ContextHub.Utils.Persistence.Modes.WINDOW=new d("window",function(a){var c=a.container,e=a.window;return p.call(this,function(a){var d= 247ContextHub.Utils.JSON.parse(e.name);d[c]=a;e.name=ContextHub.Utils.JSON.stringify(d)},function(){var a=ContextHub.Utils.JSON.parse(e.name)[c];return"object"===f.type(a)?a:{}})});ContextHub.Utils.Persistence.defaultConfig={container:ContextHub.Constants.PERSISTENCE_CONTAINER_NAME,window:h,mode:ContextHub.Utils.Persistence.Modes.LOCAL,fallback:[ContextHub.Utils.Persistence.Modes.SESSION,ContextHub.Utils.Persistence.Modes.WINDOW]}})(ContextHubJQ,window); 248ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.utils - ContextHub.Utils.storeCandidates.js"); 249(function(f,h){h.ContextHub.Utils=h.ContextHub.Utils||{};var d={},a=function(){return!0};ContextHub.Utils.storeCandidates={registerStoreCandidate:function(c,e,l,f){c={store:c,priority:l,applies:f||a};d[e]=d[e]||[];e=d[e];e.push(c);e.sort(function(a,c){return c.priority-a.priority})},getStoreFromCandidates:function(a){var c=d[a.type]||[],l;for(l=0;l<c.length;l++){var f=c[l];if(f.applies(f.store,f.priority))return f.store}!0===a.required&&ContextHub.console.error('No suitable store implementation found for type: "'+ 250a.type+'".')},getRegisteredCandidates:function(a){var c=d;a&&(c=c[a]||[]);return c},getSupportedStoreTypes:function(){var a=[];f.each(d,function(c){a.push(c)});return a.sort()}}})(ContextHubJQ,window);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.utils - ContextHub.Utils.inheritance.js"); 251(function(f){f.ContextHub.Utils=f.ContextHub.Utils||{};ContextHub.Utils.inheritance={inherit:function(f,d){f.prototype=new d;f.prototype.constructor=d;var a={},c;f.prototype.uber=function(e){a[e]=a[e]||0;var l,f,h;if(l=a[e]){for(h=d.prototype;l;)h=h.constructor.prototype,l--;h&&h[e]===c&&(h=h.constructor.prototype||{});l=h[e]}else{for(h=this;h&&!h.hasOwnProperty(e);)h=h.__proto__||h.constructor.prototype;l=h[e];l===this[e]&&(l=(h.__proto__||h.constructor.prototype)[e])}a[e]++;c=l;"function"===typeof l&& 252(f=l.apply(this,Array.prototype.slice.apply(arguments,[1])));c=null;a[e]--;return f};return f},newInstance:function(f,d){return new (f.bind.apply(f,[null].concat([].slice.call(d))))}}})(window);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.kernel - ContextHub.js"); 253(function(f,h){"undefined"===typeof h.ContextHubKernelConfig&&ContextHub.console.error("[-] ContextHub configuration is not set!");h.ContextHub=f.extend({version:"0.4.24-20200819-1031"},h.ContextHub);var d={},a=[],c=[],e=new ContextHub.Utils.Persistence,l=new ContextHub.Utils.Eventing(h.ContextHubKernelConfig.eventing),p=null,n=function(a){var c=ContextHub.persistence,e=ContextHub.Utils.JSON.tree.sanitizeKey(a);if(e){var d=e.shift();"store"===d&&(d=e.shift());if(d=ContextHub.getStore(d))c=d,a="/"+ 254e.join("/")}return{storage:c,storeProperty:a}},r=function(a){var c={},e=0,d=[];f.each(a,function(a,l){l&&(a=ContextHub.Utils.JSON.tree.sanitizeKey(l),"store"===a[0]?l="/"+a.slice(1).join("/"):a.unshift("store"),a="/"+a.join("/"),a=ContextHub.getItem(a),null!==a&&(e++,c=ContextHub.Utils.JSON.tree.setItem(c,l,a),d.push(l)))});c._length=e;c._keys=d;return c};f.extend(ContextHub,{persistence:e,eventing:l,registerStore:function(a,c){if("object"===f.type(c)&&(d=d||{},!d[a])){d[a]=c;ContextHub.console.timeStamp('registering "'+ 255a+'"');var e=c.getKeys(),l={keys:{all:{hash:{},list:e}}};f.each(e,function(a,c){l.keys.all.hash[c]=!0});
255this.eventing.trigger(ContextHub.Constants.EVENT_STORE_REGISTERED+":"+a,{},{defer:0,_:{action:"store-registered",store:a,registeredAt:(new Date).getTime(),overlay:l}});c.queryService||c.announceReadiness()}},getAllStores:function(){return d},getStore:function(a){return"string"===f.type(a)&&a.length?ContextHub.Utils.JSON.tree.getItem(d,a):null},set:function(a,c){this.setItem("/store/"+a,c)},get:function(a){return this.getItem("/store/"+ 256a)},getItem:function(a){a=n(a);return a.storage.getItem(a.storeProperty)},setItem:function(a,c){a=n(a);a.storage.setItem(a.storeProperty,c)},removeItem:function(a){a=n(a);a.storage.removeItem(a.storeProperty)},cleanAllStores:function(){var a=l.isPaused();this.eventing.pause();f.each(d,function(a,c){c.clean()});a||this.eventing.resume()},resetAllStores:function(a){var c=l.isPaused();ContextHub.isOptedOut(!0);ContextHub.eventing.pause();f.each(d,function(c,e){e.reset(a)});c||ContextHub.eventing.resume()}, 257sync:function(c,e,d,l){"string"===f.type(c)&&(c=[c]);var p=[];f.each(c,function(a,c){a="/"+ContextHub.Utils.JSON.tree.sanitizeKey(c).join("/");p.push(a)});c=p;e=e||function(){};d=d||function(){};var n=r(c);if(n._length===c.length)e(n);else{var q=0,v=!1;n=function(a){if(v)return!0;var l=r(c),p=null;"undefined"===f.type(a)&&(p=d);l._length===c.length&&(p=e,h.clearTimeout(q));p&&(v=!0,p(l));return v};q=h.setTimeout(n,l);a.push(n)}},bind:function(a,e,d,l){"string"===f.type(a)&&(a=[a]);var p=[];f.each(a, 258function(a,c){a="/"+ContextHub.Utils.JSON.tree.sanitizeKey(c).join("/");p.push(a)});a=p;e=e||function(){};d=d||function(){};var n=r(a),q=!0;n._length===a.length&&(q=!1,e(n));var v=0;n=function(c,l){if(l){var p={};c=!0;f.each(l,function(a){p=ContextHub.Utils.JSON.tree.setItem(p,a,!0)});for(l=0;l<a.length;l++)if(ContextHub.Utils.JSON.tree.getItem(p,a[l])){c=!1;break}if(c)return}l=r(a);c=d;l._length===a.length&&(c=e,h.clearTimeout(v));c(l)};q&&(v=h.setTimeout(n,l));c.push(n)},isOptedOut:function(a){a&& 259(p=null);null===p&&(p=null!==ContextHub.Utils.Cookie.getItem("cq-opt-out"));return p}});ContextHub.eventing.on(ContextHub.Constants.EVENT_STORE_UPDATED,function(e,d){f.each(a||[],function(c,e){e&&e(c)&&(delete a[c],a=f.grep(a,f.isFunction))});if((c||[]).length){var l={};d.keys&&f.each(d.keys.all.list,function(a,c){l["/"+d.store+c]=!0});f.each(c||[],function(a,c){c&&c(a,l)})}},"sync-bind")})(ContextHubJQ,window);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.kernel - task.stores-initialization-watcher.js"); 260(function(f,h){var d={},a=h.setTimeout(function(){var a={};f.each(h.ContextHubKernelConfig.stores,function(c){d[c]||(a[c]=!0)});ContextHub.eventing.trigger(ContextHub.Constants.EVENT_STORES_PARTIALLY_READY,{},{defer:0,_:{wasReadyAt:(new Date).getTime(),storesReady:d,storesNotReady:a}});ContextHub.eventing.off(ContextHub.Constants.EVENT_STORE_READY,"initialization-watcher")},h.ContextHubKernelConfig.initializationTimeout);ContextHub.eventing.on(ContextHub.Constants.EVENT_STORE_READY,function(c,e){var l= 261d[e.store]=!0;f.each(h.ContextHubKernelConfig.stores,function(a,c){!d[a]&&c.required&&(l=!1)});l&&(h.clearTimeout(a),ContextHub.console.timeStamp("contexthub initialized"),ContextHub.eventing.off(c.type,"initialization-watcher"),ContextHub.eventing.trigger(ContextHub.Constants.EVENT_ALL_STORES_READY,{},{defer:0,_:{wasReadyAt:(new Date).getTime(),stores:d}}))},"initialization-watcher")})(ContextHubJQ,window);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.generic-stores - ContextHub.Store.Core.js"); 262(function(f,h){h.ContextHub.Store=h.ContextHub.Store||{};var d=new ContextHub.Utils.Persistence.prototype.PersistenceMode("memory",function(a){var c=a.container,e=a.storage,d=function(){var a=("object"===f.type(e)?e:{})[c];return"object"===f.type(a)?a:{}};a=function(a){e="object"===f.type(e)?e:{};e[c]=a};var h=ContextHub.Utils.Persistence.prototype.PersistenceMode.prototype;return{setItem:h.setItem.bind(this,a,d),getItem:h.getItem.bind(this,d),removeItem:h.removeItem.bind(this,a,d),getKeys:function(){return ContextHub.Utils.JSON.tree.getKeys(d())}, 263getTree:d}});ContextHub.Store.Core=function(){};ContextHub.Store.Core.prototype.init=function(a,c){this.config=f.extend(!0,{}
263,ContextHub.Store.Core.defaultConfig,c);this.name=a;this.eventChannel=ContextHub.Constants.EVENT_STORE_UPDATED+":"+this.name;this.storeDataKey="/store/"+this.name;this.data={};this.references={};this.config.persistence||(this.config.persistence=new ContextHub.Utils.Persistence({container:"data",mode:d,storage:this.data}));this.config.eventing||(a=function(){},this.config.eventing= 264{trigger:a,isPaused:a,pause:a,resume:a});this.persistence=this.config.persistence;this.eventing=this.config.eventing;a=this.isEventingPaused();this.pauseEventing();f.each(this.config.initialValues||{},function(a,c){this.getItem(a)||this.setItem(a,c)}.bind(this));a||this.resumeEventing()};ContextHub.Store.Core.defaultConfig={eventDeferring:32,eventing:ContextHub.eventing,persistence:ContextHub.persistence};ContextHub.Store.Core.prototype.clean=function(){this.removeItem("/")};ContextHub.Store.Core.prototype.reset= 265function(a){var c=this.isEventingPaused();this.pauseEventing();a||this.clean();this.addAllItems(this.config.initialValues||{});c||this.resumeEventing()};ContextHub.Store.Core.prototype.setItem=function(a,c,e){a=this.resolveReference(a);var d=this.getItem(a),h=!0,n=typeof c;typeof d===n&&("string"===n||"number"===n||"boolean"===n?h=d!==c:(h=ContextHub.Utils.JSON.stringify(d),n=ContextHub.Utils.JSON.stringify(c),h=h.length!==n.length||h!==n));h&&this.persistence.setItem(this.storeDataKey+"/"+a,c)&& 266!(e||{}).silent&&this.eventing.trigger(this.eventChannel,{key:a,value:c,old:d,action:"set"},f.extend(!0,{defer:this.config.eventDeferring,_:{store:this.name,muteWhenNoData:!0}},e));return h};ContextHub.Store.Core.prototype.getItem=function(a){a=this.resolveReference(a);return this.persistence.getItem(this.storeDataKey+"/"+a)};ContextHub.Store.Core.prototype.removeItem=function(a,c){a=this.resolveReference(a);var e=!1,d=this.getItem(a);null!==d&&(e=!0,this.persistence.removeItem(this.storeDataKey+ 267"/"+a)&&!(c||{}).silent&&this.eventing.trigger(this.eventChannel,{key:a,value:null,old:d,store:this.name,action:"remove"},f.extend(!0,{defer:this.config.eventDeferring,_:{store:this.name,muteWhenNoData:!0}},c)));return e};ContextHub.Store.Core.prototype.getKeys=function(a){var c=this.persistence.getTree();c=ContextHub.Utils.JSON.tree.getItem(c,this.storeDataKey)||{};a||delete c._;return ContextHub.Utils.JSON.tree.getKeys(c)};ContextHub.Store.Core.prototype.getTree=function(a){var c=this.persistence.getItem(this.storeDataKey)|| 268{};a||delete c._;return c};ContextHub.Store.Core.prototype.addAllItems=function(a,c){var e=f.type(a),d=this,h=!1;"object"!==e&&"array"!==e||f.each(a,function(a,e){a=d.setItem(a,e,c);h=h||a});return h};ContextHub.Store.Core.prototype.addReference=function(a,c){a=ContextHub.Utils.JSON.tree.sanitizeKey(a);var e=ContextHub.Utils.JSON.tree.sanitizeKey(c);c=!1;a&&e&&(a="/"+a.join("/"),e="/"+e.join("/"),a!==e&&(c=!0,this.references[a]=e));return c};ContextHub.Store.Core.prototype.removeReference=function(a){var c= 269ContextHub.Utils.JSON.tree.sanitizeKey(a);a=!1;c&&(a=!0,c="/"+c.join("/"),delete this.references[c]);return a};ContextHub.Store.Core.prototype.getReferences=function(){return this.references};ContextHub.Store.Core.prototype.resolveReference=function(a,c){var e="/"+ContextHub.Utils.JSON.tree.sanitizeKey(a).join("/");if(!f.isEmptyObject(this.references)&&a){a=c||5;for(var d=e;0<a&&d;){a--;d=ContextHub.Utils.JSON.tree.sanitizeKey(e);var h="";c=d.slice(0);for(var n=0;n<d.length&&!this.references[h];n++)h+= 270"/"+d[n],c.shift();if(d=this.references[h])d=d+"/"+c.join("/"),d="/"+ContextHub.Utils.JSON.tree.sanitizeKey(d).join("/");e=d||e}}return e};ContextHub.Store.Core.prototype.pauseEventing=function(){this.eventing&&this.eventing.pause(this.eventChannel)};ContextHub.Store.Core.prototype.resumeEventing=function(){this.eventing&&this.eventing.resume(this.eventChannel)};ContextHub.Store.Core.prototype.isEventingPaused=function(){return this.eventing&&this.eventing.isPaused(this.eventChannel)};ContextHub.Store.Core.prototype.announceReadiness= 271function(){var a=this.name,c=null;ContextHub.console.timeStamp('"'+a+'" ready');if(this instanceof ContextHub.Store.JSONPStore){var e=this.getKeys();c={keys:{all:{hash:{},list:e}}};f.each(e,function(a,e){c.keys.all.hash[e]=!0})}this.eventing.trigger(ContextHub.Constants.EVENT_STORE_READY+":"+a,{},{defer:0,_:{action:"ready",store:a,wasReadyAt:(new Date).getTime(),duration:this.duration||0,overlay:c}})};ContextHub.Store.Core.prototype.onUpdate=function(a,c){var e=this.eventChannel;if("function"===typeof c)ContextHub.eventing.on(e, 272c.bind(this),a);else ContextHub.eventing.off(e,a)}})(ContextHubJQ,window);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.generic-stores - ContextHub.Store.SessionStore.js"); 273(function(f,h){h.ContextHub.Store=h.ContextHub.Store||{};ContextHub.Store.SessionStore=function(){};ContextHub.Store.SessionStore.defaultConfig={eventDeferring:32,persistence:null,eventing:ContextHub.eventing};ContextHub.Utils.inheritance.inherit(ContextHub.Store.SessionStore,ContextHub.Store.Core);ContextHub.Store.SessionStore.prototype.init=function(d,a){this.config=f.extend(!0,{},this.config,ContextHub.Store.SessionStore.defaultConfig,a);this.uber("init",d,this.config)}})(ContextHubJQ,window); 274ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.generic-stores - ContextHub.Store.PersistedStore.js"); 275(function(f,h){h.ContextHub.Store=h.ContextHub.Store||{};ContextHub.Store.PersistedStore=function(){};ContextHub.Store.PersistedStore.defaultConfig={eventDeferring:32,persistence:ContextHub.persistence};ContextHub.Utils.inheritance.inherit(ContextHub.Store.PersistedStore,ContextHub.Store.Core);ContextHub.Store.PersistedStore.prototype.init=function(d,a){this.config=f.extend(!0,{},this.config,ContextHub.Store.PersistedStore.defaultConfig,a);this.uber("init",d,this.config)}})(ContextHubJQ,window); 276ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.generic-stores - ContextHub.Store.JSONPStore.js"); 277(function(f,h){h.ContextHub.Store=h.ContextHub.Store||{};ContextHub.Store.JSONPStore=function(){};ContextHub.Utils.inheritance.inherit(ContextHub.Store.JSONPStore,ContextHub.Store.Core);ContextHub.Store.JSONPStore.prototype.init=function(d,a){this.config=f.extend(!0,{},this.config,ContextHub.Store.JSONPStore.defaultConfig,a);a=(d||"").replace(/[^a-zA-Z0-9]/g,"");if(0===a.length||a!==d){a="x"+a;for(var c=0,e=0;e<d.length;
277e++)c=~~((c<<5)-c+d.charCodeAt(e));c=1E4*Math.sin(c);a+=(c-Math.floor(c)).toString(36).substr(2, 2785)}this.callbackName=a;this.uber("init",d,this.config)};ContextHub.Store.JSONPStore.defaultConfig={eventDeferring:32,persistence:null,eventing:ContextHub.eventing,service:null};ContextHub.Store.JSONPStore.prototype.getServiceDetails=function(){return this.config.service};ContextHub.Store.JSONPStore.prototype.configureService=function(d,a){this.config.service=a?d:f.extend(!0,{},this.config.service,d)};ContextHub.Store.JSONPStore.prototype.resolveParameter=function(d){var a="boolean"===f.type(d)?String(d): 279d,c=a||"";d=["ContextHub.Paths."];"string"===f.type(a)&&(a=c.match(/\$\{(contexthub|variable):[^}]+}/g))&&f.each(a,function(a,d){a=d.slice(2,-1).split(/:/);var e=a.shift(),l=a.shift(),r=null;"contexthub"===e&&(r=ContextHub.persistence.getItem(l));"variable"===e&&l&&f.each(this.allowedPrefix,function(a,c){(a=0===l.indexOf(c))&&(r=ContextHub.Utils.JSON.tree.getItem(h,l.replace(/\./g,"/")));return!a});c=c.replace(d,r||"")}.bind({allowedPrefix:d}));return c};ContextHub.Store.JSONPStore.prototype.getServiceURL= 280function(d){var a=this.getServiceDetails(),c=[],e=[];if("object"!==f.type(a))return null;if(a.jsonp){var l=!0===a.jsonp?"callback":(""+a.jsonp).replace(/[^a-zA-Z0-9_$]/g,"");a.params=a.params||{};a.params[l]="ContextHub.Callbacks."+this.callbackName}a.port=a.port&&80===a.port?"":a.port;a.host?("undefined"===typeof a.secure||"auto"===a.secure?c.push("//"):c.push(a.secure?"https://":"http://"),c.push(a.host),c.push(a.port?":"+a.port:"")):c.push(h.location.protocol+"//"+h.location.host);a.path=a.path|| 281"/";l=""+(d?this.resolveParameter(a.path):a.path);c.push(l);f.each(a.params||{},function(a,c){e.push(encodeURIComponent(a)+"\x3d"+encodeURIComponent(d?this.resolveParameter(c):c))}.bind(this));e.length&&(c.push(-1===l.indexOf("?")?"?":"\x26"),c.push(e.join("\x26")));return c.join("")};ContextHub.Store.JSONPStore.prototype.queryService=function(d){var a=this.getServiceURL(!0);if(a){var c=this.config.service.jsonp||this.config.service.script,e=this.isEventingPaused(),l=this;d&&this.removeItem("_",{silent:!0}); 282d=this.getItem(ContextHub.Constants.SERVICE_RESPONSE_TIME_KEY)||0;var p=this.getItem(ContextHub.Constants.SERVICE_LAST_URL_KEY);d+this.config.service.ttl>(new Date).getTime()&&p===a?(this.duration="cached",this.announceReadiness()):(this.setItem(ContextHub.Constants.SERVICE_LAST_URL_KEY,a),h.ContextHub.Callbacks=h.ContextHub.Callbacks||{}
282,ContextHub.Callbacks[this.callbackName]=this.callbackFunction.bind(this),d={url:a,timeout:this.config.service.timeout,async:this.config.service.synchronous?!1:!0, 283method:this.config.service.method||"GET"},c&&f.extend(d,{dataType:"script",cache:!0}),this.pauseEventing(),this.duration=0,ContextHub.Shared.timers.start(this.name),a=d.url.replace(h.location.origin,""),h.ContextHubData&&ContextHubData[a]?(ContextHub.Callbacks[l.callbackName](ContextHubData[a]),l.resumeEventing(),l.announceReadiness()):(a=f.ajax(d),c||a.done(function(a,c,e){a=ContextHub.Utils.JSON.parse(e.responseText);ContextHub.Callbacks[l.callbackName](a)}),a.fail(function(a){l.failureHandler(a)}), 284a.always(function(){e||l.resumeEventing();l.announceReadiness()})))}};ContextHub.Store.JSONPStore.prototype.successHandler=function(d){return d};ContextHub.Store.JSONPStore.prototype.failureHandler=function(d){ContextHub.console.log('There was an error while accessing JSONP service in the store "'+this.name+'", configuration: ',(this.config||{}).service,", error: ",d)};ContextHub.Store.JSONPStore.prototype.callbackFunction=function(d){this.duration=ContextHub.Shared.timers.finish(this.name)+"ms"; 285this.setItem(ContextHub.Constants.SERVICE_RESPONSE_TIME_KEY,(new Date).getTime());this.setItem(ContextHub.Constants.SERVICE_RAW_RESPONSE_KEY,this.successHandler(d))};ContextHub.Store.JSONPStore.prototype.getRawResponse=function(){return this.getItem(ContextHub.Constants.SERVICE_RAW_RESPONSE_KEY)||{}};ContextHub.Store.JSONPStore.prototype.reset=function(d){this.uber("reset",d);this.queryService(!1)}})(ContextHubJQ,window);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.generic-stores - ContextHub.Store.PersistedJSONPStore.js"); 286(function(f,h){h.ContextHub.Store=h.ContextHub.Store||{};ContextHub.Store.PersistedJSONPStore=function(){};ContextHub.Store.PersistedJSONPStore.defaultConfig={eventDeferring:32,persistence:ContextHub.persistence};ContextHub.Utils.inheritance.inherit(ContextHub.Store.PersistedJSONPStore,ContextHub.Store.JSONPStore);ContextHub.Store.PersistedJSONPStore.prototype.init=function(d,a){this.config=f.extend(!0,{},this.config,ContextHub.Store.PersistedJSONPStore.defaultConfig,a);this.uber("init",d,this.config)}})(ContextHubJQ, 287window);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.segment-engine - ContextHub.SegmentEngine.Constants.js"); 288(function(f){f.extend(!0,ContextHub.Constants,{EVENT_SEGMENT_REGISTERED:"segment-engine:segment-registered",EVENT_SEGMENT_UNREGISTERED:"segment-engine:segment-unregistered",EVENT_SEGMENT_UPDATED:"segment-engine:segment-updated",EVENT_SCRIPT_REGISTERED:"segment-engine:script-registered",EVENT_SCRIPT_UNREGISTERED:"segment-engine:script-unregistered",EVENT_SCRIPT_UPDATED:"segment-engine:script-updated",EVENT_TEASER_REGISTERED:"segment-engine:teaser-registered",EVENT_TEASER_UNREGISTERED:"segment-engine:teaser-unregistered", 289EVENT_TEASER_LOADED:"segment-engine:teaser-loaded"})})(ContextHubJQ);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.segment-engine - ContextHub.SegmentEngine.js"); 290(function(f,h){h.ContextHub.SegmentEngine={version:"1.1.14-20201029-1531"};ContextHub.SegmentEngine.getResolvedSegments=function(d){return ContextHub.SegmentEngine.SegmentManager.getResolvedSegments(d)};ContextHub.SegmentEngine.getSegment=function(d){return ContextHub.SegmentEngine.SegmentManager.getSegment(d)};ContextHub.SegmentEngine.getComparisonOperators=function(){return ContextHub.SegmentEngine.OperatorManager.getAllOperators()};ContextHub.SegmentEngine.getObjectValue=function(d){return null=== 291d||void 0===d?null:d instanceof ContextHub.SegmentEngine.Operator?d.isResolved():d instanceof ContextHub.SegmentEngine.Property?d.getValue():d instanceof ContextHub.SegmentEngine.ScriptReference?d.execute():d instanceof ContextHub.SegmentEngine.SegmentReference?d.isResolved():d}})(ContextHubJQ,window);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.segment-engine - ContextHub.SegmentEngine.Property.js"); 292(function(f,h){h.ContextHub.SegmentEngine=h.ContextHub.SegmentEngine||{};ContextHub.SegmentEngine.Property=function(d){var a=ContextHub.SegmentEngine.Property;if(!(this instanceof a))return ContextHub.Utils.inheritance.newInstance(a,arguments);d=ContextHub.Utils.JSON.tree.sanitizeKey(d);this.key="/"+d.join("/");this.storeName=d.shift();this.itemName=d.join("/")};ContextHub.SegmentEngine.Property.prototype.info={className:"Property",updateEvent:ContextHub.Constants.EVENT_STORE_UPDATED};ContextHub.SegmentEngine.Property.prototype.getKey= 293function(){return this.key};ContextHub.SegmentEngine.Property.prototype.getStoreName=function(){return this.storeName};ContextHub.SegmentEngine.Property.prototype.getItemName=function(){return this.itemName};ContextHub.SegmentEngine.Property.prototype.getValue=function(){return ContextHub.get(this.key)};ContextHub.SegmentEngine.Property.prototype.toString=function(){return this.info.className+'("'+this.getKey()+'") -\x3e '+this.getValue()}})(ContextHubJQ,window); 294ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.segment-engine - ContextHub.SegmentEngine.Operator.js"); 295(function(f,h){h.ContextHub.SegmentEngine=h.ContextHub.SegmentEngine||{};ContextHub.SegmentEngine.Operator=function(d,a){var c=ContextHub.SegmentEngine.Operator;if(!(this instanceof c))return ContextHub.Utils.inheritance.newInstance(c,arguments);
295a=[].slice.call(arguments,1);this.operatorName=d;this.operatorArguments=a};ContextHub.SegmentEngine.Operator.prototype.getOperatorName=function(){return this.operatorName};ContextHub.SegmentEngine.Operator.prototype.getOperatorArguments=function(){return this.operatorArguments}; 296ContextHub.SegmentEngine.Operator.prototype.isResolved=function(){var d=!1,a=!0,c=this.getOperatorName(),e=/^and(\.|$)/.test(c),l=/^or(\.|$)/.test(c),h=this.getOperatorArguments();if((e||l)&&2>h.length){var n=h.length;0===n&&(h.push(null),h.push(null));1===n&&h.push(e?!0:null)}n=ContextHub.SegmentEngine.getObjectValue(h[0]);var r=f.type(n);r=ContextHub.SegmentEngine.OperatorManager.getOperator(c,r);var q=function(c){e&&!1===c&&(a=d=!1);l&&!0===c&&(d=!0,a=!1)};q(n);var v=h.length?h.slice(1):[null]; 297if(r&&a){var y=e||l?h.length:2;c=r.operatorName;v=[];for(var K=1;K<y&&a;K++){var B=ContextHub.SegmentEngine.getObjectValue(h[K]);v.push(B);q(B)}a&&(h=[n].concat([].slice.call(v)),d=r.handler.apply(this,h))}ContextHub.console.debug(" comparing:",n,c,v.length?v.join(" "+c+" "):v+"","\x3d",d);this._resolution=[c,d,[].concat.call([n],v)];return d};ContextHub.SegmentEngine.Operator.prototype.traverse=function(d,a){var c=[],e=function(e){if(!e||"function"===typeof e.isResolved)if("undefined"===typeof a|| 298"function"===typeof a&&a(e))c.push(e),"function"===typeof d&&d(e)};e(this);ContextHub.SegmentEngine.OperatorManager.getOperator(this.operatorName)&&f.each(this.getOperatorArguments(),function(l,h){h instanceof ContextHub.SegmentEngine.Operator?f.merge(c,h.traverse(d,a)):e(h)});return c};ContextHub.SegmentEngine.Operator.prototype.toString=function(){var d='Operator("'+this.getOperatorName()+'"';f.each(this.getOperatorArguments(),function(a,c){d+=", "+c});return d+=") -\x3e "+this.isResolved()}})(ContextHubJQ, 299window);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.segment-engine - ContextHub.SegmentEngine.OperatorManager.js"); 300(function(f,h){h.ContextHub.SegmentEngine=h.ContextHub.SegmentEngine||{};var d={};ContextHub.SegmentEngine.OperatorManager={};ContextHub.SegmentEngine.OperatorManager.register=function(a,c){"string"===typeof a&&a.length&&!/\.$/.test(a)&&(d[a]={operatorName:a,handler:c})};ContextHub.SegmentEngine.OperatorManager.unregister=function(a){delete d[a]};ContextHub.SegmentEngine.OperatorManager.unregisterAllOperators=function(){d={}};ContextHub.SegmentEngine.OperatorManager.getAllOperators=function(){return d}; 301ContextHub.SegmentEngine.OperatorManager.getOperator=function(a,c){var e=(a||"").split(".",2);a=e.shift();e=e.shift()||"";return d[a+"."+e]||d[a+"."+c]||d[a]||null}})(ContextHubJQ,window);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.segment-engine - ContextHub.SegmentEngine.Segment.js"); 302(function(f,h){h.ContextHub.SegmentEngine=h.ContextHub.SegmentEngine||{};ContextHub.SegmentEngine.Segment=function(a,c){var e=ContextHub.SegmentEngine.Segment;if(!(this instanceof e))return ContextHub.Utils.inheritance.newInstance(e,arguments);e=a||{};"string"===typeof e?e={path:a}:e.length&&(e={name:e.shift(),path:e.shift(),boost:e.shift()});var d=f.trim(e.name),h=f.trim(e.path),n=parseInt(f.trim(e.boost),10)||0;0===d.length&&(d=h.split("/").pop());d=d.replace(/ /g,"-").replace(/[^a-z0-9\-]/ig,"").toLowerCase(); 303this.title=e.name;this.name=d;this.path=h;this.boost=n;this.register(c)};ContextHub.SegmentEngine.Segment.prototype.info={className:"Segment",updateEvent:ContextHub.Constants.EVENT_SEGMENT_UPDATED};ContextHub.SegmentEngine.Segment.prototype.register=function(a){0!==this.getPath().length&&!this.isRegistered()&&a instanceof ContextHub.SegmentEngine.Operator&&(this.cachedResult=null,this.condition=a,this.registered=this.enabled=!1,ContextHub.SegmentEngine.Dependency.findAllDependencies.call(this,this.getCondition()), 304ContextHub.SegmentEngine.SegmentManager.register(this))};ContextHub.SegmentEngine.Segment.prototype.unregister=function(){this.enabled=this.registered=!1;this.condition=null;this.isResolved();ContextHub.SegmentEngine.SegmentManager.unregister(this.getPath())};ContextHub.SegmentEngine.Segment.prototype.isResolved=function(){var a=!1;if(null!==this.cachedResult)return ContextHub.console.debug('[+] Segment "'+this.getPath()+'" resolution (cached):',this.cachedResult),this.cachedResult;ContextHub.console.debug('[+] Segment "'+ 305this.getPath()+'" resolution:');this.isEnabled()&&this.isRegistered()&&(a=this.condition.isResolved());a!==this.cachedResult&&(this.cachedResult=a,ContextHub.eventing.trigger(this.info.updateEvent,{resolved:a,key:this.getPath(),action:"set",value:a},{defer:0,_:{resolved:a,path:this.getPath()}}));return a};var d=function(a,c){var e=a._resolution;c=c||[];if(e){var l=e.shift(),h=e.shift();e=e.shift();var n=l+" ("+h+")";l={};l[n]=e;if(c instanceof Array)c.push(l);else return l}f.each(a.operatorArguments, 306function(a,e){if(e instanceof ContextHub.SegmentEngine.Operator){var l=(c instanceof Array?c[c.length-1]:c)[n];l[a]=d(e,"boolean"===typeof l[a]?{}:[])}});return c};ContextHub.SegmentEngine.Segment.prototype.debug=function(){var a=this.getCondition();if(a){var c=this.isResolved();a=d(a);ContextHub.console.debug("[todo] debug: ",c,a)}else ContextHub.console.debug('[-] [SegmentEngine] Segment "'+this.getPath()+'" is invali
306d.')};ContextHub.SegmentEngine.Segment.prototype.isRegistered=function(){return!0=== 307this.registered};ContextHub.SegmentEngine.Segment.prototype.isEnabled=function(){return!0===this.enabled};ContextHub.SegmentEngine.Segment.prototype.enable=function(){this.condition instanceof ContextHub.SegmentEngine.Operator&&(this.enabled=!0)};ContextHub.SegmentEngine.Segment.prototype.disable=function(){this.enabled=!1};ContextHub.SegmentEngine.Segment.prototype.getName=function(){return this.name};ContextHub.SegmentEngine.Segment.prototype.getTitle=function(){return this.title};ContextHub.SegmentEngine.Segment.prototype.getPath= 308function(){return this.path};ContextHub.SegmentEngine.Segment.prototype.getBoost=function(){return this.boost};ContextHub.SegmentEngine.Segment.prototype.getCondition=function(){return this.condition};ContextHub.SegmentEngine.Segment.prototype.getDependencies=function(){return this.dependencyList||ContextHub.SegmentEngine.Dependency.getEmptyDependencyList()};ContextHub.SegmentEngine.Segment.prototype.onUpdate=function(a,c){var e=this.info.updateEvent;if("function"===typeof c)ContextHub.eventing.on(e, 309function(a,c){c&&c.keys.all.hash[this.segment]&&this.handler()}.bind({segment:this.getPath(),handler:c}),a);else ContextHub.eventing.off(e,a)};ContextHub.SegmentEngine.Segment.prototype.toString=function(){var a='("'+this.getPath()+'", '+this.getBoost()+", "+this.getCondition()+")";return this.info.className+a+" -\x3e "+this.isResolved()}})(ContextHubJQ,window);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.segment-engine - ContextHub.SegmentEngine.SegmentReference.js"); 310(function(f,h){h.ContextHub.SegmentEngine=h.ContextHub.SegmentEngine||{};ContextHub.SegmentEngine.SegmentReference=function(d){var a=ContextHub.SegmentEngine.SegmentReference;if(!(this instanceof a))return ContextHub.Utils.inheritance.newInstance(a,arguments);this.segmentPath=f.trim(d)};ContextHub.SegmentEngine.SegmentReference.prototype.info={className:"SegmentReference",updateEvent:ContextHub.Constants.EVENT_SEGMENT_UPDATED};ContextHub.SegmentEngine.SegmentReference.prototype.getSegmentPath=function(){return this.segmentPath}; 311ContextHub.SegmentEngine.SegmentReference.prototype.isResolved=function(){var d=!1,a=ContextHub.SegmentEngine.SegmentManager.getSegment(this.getSegmentPath());a&&(d=a.isResolved());return d};ContextHub.SegmentEngine.SegmentReference.prototype.toString=function(){return this.info.className+'("'+this.getSegmentPath()+'") -\x3e '+this.isResolved()}})(ContextHubJQ,window);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.segment-engine - ContextHub.SegmentEngine.SegmentManager.js"); 312(function(f,h){h.ContextHub.SegmentEngine=h.ContextHub.SegmentEngine||{};var d={};ContextHub.SegmentEngine.SegmentManager={};ContextHub.SegmentEngine.SegmentManager.info={registerEvent:ContextHub.Constants.EVENT_SEGMENT_REGISTERED,unregisterEvent:ContextHub.Constants.EVENT_SEGMENT_UNREGISTERED};ContextHub.SegmentEngine.SegmentManager.register=function(a){if(!(a instanceof ContextHub.SegmentEngine.Segment&&a.getCondition()))return!1;d[a.getPath()]=a;a.enabled=!0;a.registered=!0;ContextHub.eventing.trigger(ContextHub.SegmentEngine.SegmentManager.info.registerEvent, 313{key:a.getPath(),action:"set",value:"registered"},{defer:0});ContextHub.SegmentEngine.Dependency.dependencyMonitor(a,!0);a.isResolved();return!0};ContextHub.SegmentEngine.SegmentManager.unregister=function(a){if(a=a instanceof ContextHub.SegmentEngine.Segment?a:this.getSegment(a))a.registered=!1,a.disable(),delete d[a.getPath()],ContextHub.SegmentEngine.Dependency.dependencyMonitor(a,!1),a.cachedResult=null,a.dependencyList=ContextHub.SegmentEngine.Dependency.getEmptyDependencyList(),a.isResolved(), 314ContextHub.eventing.trigger(ContextHub.SegmentEngine.SegmentManager.info.unregisterEvent,{segment:a,key:a.getPath(),action:"remove",value:"unregistered"},{defer:0})};ContextHub.SegmentEngine.SegmentManager.unregisterAllSegments=function(){f.each(d,function(a,c){c.unregister()})};ContextHub.SegmentEngine.SegmentManager.getAllSegments=function(){return d};ContextHub.SegmentEngine.SegmentManager.getSegment=function(a){return d[a]||null};ContextHub.SegmentEngine.SegmentManager.getResolvedSegments=function(a){var c= 315!0===(a||{}).returnLookup,e=c?{}:[];a=ContextHub.Shared.timers.start();f.each(d,function(a,d){d.isResolved()&&(c?e[d.getPath()]=d:e.push(d))});ContextHub.console.log(ContextHub.Shared.timestamp(),"[+] checking resolved segments ("+ContextHub.Shared.timers.finish(a)+"ms)");return e};ContextHub.SegmentEngine.SegmentManager.getUnresolvedSegments=function(a){var c=!0===(a||{}).returnLookup,e=c?{}:[];a=ContextHub.Shared.timers.start();f.each(d,function(a,d){d.isResolved()||(c?e[d.getPath()]=d:e.push(d))}); 316ContextHub.console.log(ContextHub.Shared.timestamp(),"[+] checking unresolved segments ("+ContextHub.Shared.timers.finish(a)+"ms)");return e};ContextHub.SegmentEngine.SegmentManager.invalidateCache=function(){for(var a in d)d.hasOwnProperty(a)&&(d[a].cachedResult=null);return ContextHub.SegmentEngine.SegmentManager.getResolvedSegments()}})(ContextHubJQ,window);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.segment-engine - ContextHub.SegmentEngine.ScriptReference.js"); 317(function(f,h){h.ContextHub.SegmentEngine=h.ContextHub.SegmentEngine||{};ContextHub.SegmentEngine.ScriptReference=function(d,a){var c=ContextHub.SegmentEngine.ScriptReference;if(!(this instanceof c))return ContextHub.Utils.inheritance.newInstance(c,arguments);
317a=[].slice.call(arguments,1);this.scriptName=f.trim(d);this.scriptArguments=a;this.cachedResult=null;this.dependencyList=ContextHub.SegmentEngine.Dependency.getEmptyDependencyList();for(c=0;c<this.scriptArguments.length;c++)this.dependOn(this.scriptArguments[c]); 318ContextHub.SegmentEngine.Dependency.dependencyMonitor(this,!0)};ContextHub.SegmentEngine.ScriptReference.prototype.info={className:"ScriptReference",updateEvent:ContextHub.Constants.EVENT_SCRIPT_UPDATED};ContextHub.SegmentEngine.ScriptReference.prototype.dependOn=function(d){ContextHub.SegmentEngine.Dependency.addDependency.call(this,d)};ContextHub.SegmentEngine.ScriptReference.prototype.getScriptName=function(){return this.scriptName};ContextHub.SegmentEngine.ScriptReference.prototype.getScriptHandler= 319function(){return ContextHub.SegmentEngine.ScriptManager.getScript(this.getScriptName())};ContextHub.SegmentEngine.ScriptReference.prototype.getScriptArguments=function(){return this.scriptArguments};ContextHub.SegmentEngine.ScriptReference.prototype.getDependencies=function(){return this.dependencyList||ContextHub.SegmentEngine.Dependency.getEmptyDependencyList()};ContextHub.SegmentEngine.ScriptReference.prototype.execute=function(){var d=null,a=this.getScriptHandler();if(null!==this.cachedResult)return this.cachedResult; 320if("function"===typeof a){var c=this.getScriptArguments(),e=[];f.each(c,function(a,c){a=ContextHub.SegmentEngine.getObjectValue(c);e.push(a)});try{d=a.apply(this,e)}catch(l){ContextHub.console.error('[-] [SegmentEngine] User script "'+this.getScriptName()+'" failed:',l),d=null}}this.cachedResult!==d&&(this.cachedResult=d,ContextHub.eventing.trigger(this.info.updateEvent+":"+this.getScriptName(),{script:this,key:this.getScriptName(),action:"set",resolved:d,value:d},{defer:0,_:{result:d,scriptName:this.getScriptName()}})); 321return d};ContextHub.SegmentEngine.ScriptReference.prototype.isResolved=function(){return this.execute()};ContextHub.SegmentEngine.ScriptReference.prototype.toString=function(){var d=this.info.className+'("'+this.getScriptName()+'"';f.each(this.getScriptArguments(),function(a,c){"string"===typeof c&&(c='"'+c+'"');d+=", "+c});return d+=") -\x3e "+this.execute()}})(ContextHubJQ,window);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.segment-engine - ContextHub.SegmentEngine.ScriptManager.js"); 322(function(f,h){h.ContextHub.SegmentEngine=h.ContextHub.SegmentEngine||{};var d={};ContextHub.SegmentEngine.ScriptManager={};ContextHub.SegmentEngine.ScriptManager.register=function(a,e){"string"===typeof a&&a.length&&"function"===typeof e&&(d[a]=e,ContextHub.eventing.trigger(ContextHub.Constants.EVENT_SCRIPT_REGISTERED,{key:a,action:"set",value:"registered"},{defer:0}))};ContextHub.SegmentEngine.ScriptManager.unregister=function(a){this.isRegistered(a)&&ContextHub.eventing.trigger(ContextHub.Constants.EVENT_SCRIPT_UNREGISTERED, 323{key:a,action:"remove",value:"unregistered"},{defer:0});delete d[a]};ContextHub.SegmentEngine.ScriptManager.unregisterAllScripts=function(){f.each(this.getAllScripts(),function(a){this.unregister(a)}.bind(this))};ContextHub.SegmentEngine.ScriptManager.getAllScripts=function(){return d};var a=function(a){ContextHub.console.error('[-] [SegmentEngine] User script "'+a+'" not found.');return function(){return null}};ContextHub.SegmentEngine.ScriptManager.getScript=function(c){return d[c]||a(c)};ContextHub.SegmentEngine.ScriptManager.isRegistered= 324function(a){return!!d[a]}})(ContextHubJQ,window);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.segment-engine - ContextHub.SegmentEngine.Dependency.js"); 325(function(f,h){h.ContextHub.SegmentEngine=h.ContextHub.SegmentEngine||{};ContextHub.SegmentEngine.Dependency={};ContextHub.SegmentEngine.Dependency.allowedDependencies=[ContextHub.SegmentEngine.SegmentReference,ContextHub.SegmentEngine.ScriptReference,ContextHub.SegmentEngine.Property];ContextHub.SegmentEngine.Dependency.getEmptyDependencyList=function(){var a={};f.each(ContextHub.SegmentEngine.Dependency.allowedDependencies,function(c,e){a[e.prototype.info.className]={keys:[],updateEvent:null}}); 326return a};ContextHub.SegmentEngine.Dependency.addDependency=function(a){if
326(a){this.dependencyList=this.dependencyList||ContextHub.SegmentEngine.Dependency.getEmptyDependencyList();var c=null;if(a instanceof ContextHub.SegmentEngine.Property){var e=a.getKey();c=e.replace(/(^\/|\/$)/g,"").split(/\//).shift()||null}else e=a instanceof ContextHub.SegmentEngine.ScriptReference?a.getScriptName():a instanceof ContextHub.SegmentEngine.SegmentReference?a.getSegmentPath():null;if(e){var d=this.dependencyList[a.info.className]; 327d[e]||(d[e]=!0,d.keys.push(e));d.variant=a.info.className;d.updateEvent=a.info.updateEvent;c&&(d.stores=d.stores||{},d.stores[c]=!0)}}};ContextHub.SegmentEngine.Dependency.findAllDependencies=function(a){var c=(a||{}).operatorArguments;if(c){a=Math.min(c.length,/^(and|or)(\.|$)/.test(a.operatorName)?Number.MAX_VALUE:2);var e;for(e=0;e<a;e++){var d=c[e];d instanceof ContextHub.SegmentEngine.Operator?ContextHub.SegmentEngine.Dependency.findAllDependencies.call(this,d):ContextHub.SegmentEngine.Dependency.addDependency.call(this, 328d)}}};var d=function(a,c){a=this.getDependencies();var e=null;c.channel===ContextHub.SegmentEngine.SegmentReference.prototype.info.updateEvent?e=a.SegmentReference:c.channel===ContextHub.SegmentEngine.ScriptReference.prototype.info.updateEvent?e=a.ScriptReference:c.channel===ContextHub.SegmentEngine.Property.prototype.info.updateEvent?e=a.Property:ContextHub.console.error("[-] [SegmentEngine] Unsupported event type:",c.channel);e&&ContextHub.SegmentEngine.Dependency.isMatching(c,e)&&(this.cachedResult= 329null,this.isResolved())};ContextHub.SegmentEngine.Dependency.dependencyMonitor=function(a,c){if(a instanceof ContextHub.SegmentEngine.Segment||a instanceof ContextHub.SegmentEngine.ScriptReference){var e=(a.getPath||a.getScriptName).call(a).replace(/[^a-z]/ig,""),l=a.getDependencies(),f=[],h;for(h in l)if(l.hasOwnProperty(h)){var r=l[h];r.keys.length&&f.push(r.updateEvent)}if(f.length)if(f=f.join(" "),c)ContextHub.eventing.on(f,d.bind(a),e);else ContextHub.eventing.off(f,e)}};ContextHub.SegmentEngine.Dependency.isMatching= 330function(a,c){var e=ContextHub.SegmentEngine.Dependency[(c||{}).variant+"Handler"];return"function"===typeof e?e.call(this,a,c):!1};ContextHub.SegmentEngine.Dependency.SegmentReferenceHandler=function(a,c){for(var e=0;e<c.keys.length;e++)if(a.keys.all.hash[c.keys[e]])return!0;return!1};ContextHub.SegmentEngine.Dependency.ScriptReferenceHandler=function(a,c){for(var e=0;e<c.keys.length;e++)if(a.keys.all.hash[c.keys[e]])return!0;return!1};ContextHub.SegmentEngine.Dependency.PropertyHandler=function(a, 331c){if(c.stores[a.store])for(var e=0;e<c.keys.length;e++){var d=c.keys[e];d=d.substr(d.indexOf("/",1));if(a.keys.all.hash[d])return!0}return!1}})(ContextHubJQ,window); 332(function(f){ContextHub.SegmentEngine.OperatorManager.register("includes",function(f,d){return d&&f?-1!==d.indexOf(f):!1});ContextHub.SegmentEngine.OperatorManager.register("excludes",function(f,d){return d&&f?-1==d.indexOf(f):!1});ContextHub.SegmentEngine.OperatorManager.register("contains",function(f,d){return f&&d?(d=""+d,-1!=(""+f).toLowerCase().indexOf(d.toLowerCase())):!1});ContextHub.SegmentEngine.OperatorManager.register("beginsWith",function(f,d){return f&&d?(d=""+d,0==(""+f).toLowerCase().indexOf(d.toLowerCase())): 333!1})})(ContextHubJQ);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.segment-engine.operators - Operator.and.js");(function(){ContextHub.SegmentEngine.OperatorManager.register("and",function(f,h){return!(!f||!h)})})();ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.segment-engine.operators - Operator.or.js");(function(){ContextHub.SegmentEngine.OperatorManager.register("or",function(f,h){return!(!f&&!h)})})(); 334ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.segment-engine.operators - Operator.equal.js"); 335(function(f){var h=function(d){"boolean"!==typeof d&&(d=/^true$/i.test(f.trim(String(d))));return d};ContextHub.SegmentEngine.OperatorManager.register("equal",function(d,a){return d===a});ContextHub.SegmentEngine.OperatorManager.register("equal.string",function(d,a){d=String(d);a=String(a);return d===a});ContextHub.SegmentEngine.OperatorManager.register("equal.number",function(d,a){d=Number(String(d)||void 0);a=Number(String(a)||void 0);return d===a});ContextHub.SegmentEngine.OperatorManager.register("equal.boolean", 336function(d,a){d=h(d);a=h(a);return d===a});ContextHub.SegmentEngine.OperatorManager.register("equal.date",function(d,a){d=new Date(d||void 0);a=new Date(a||void 0);return Number(d)===Number(a)});ContextHub.SegmentEngine.OperatorManager.register("equal.regexp",function(d,a){var c=!1;"string"===typeof d&&a&&(a instanceof RegExp||(a=new RegExp(a)),c=a.test(d));return c})})(ContextHubJQ);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.segment-engine.operators - Operator.not-equal.js"); 337(function(f){var h=function(d){return function(){return!d.apply(this,arguments)}};f.each(ContextHub.SegmentEngine.OperatorManager.getAllOperators(),function(d,a){/^equal(\.|$)/.test(d)&&ContextHub.SegmentEngine.OperatorManager.register("not-"+d,h(a.handler))})})(ContextHubJQ);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.segment-engine.operators - Operator.less-than.js"); 338(function(){ContextHub.SegmentEngine.OperatorManager.register("less-than",function(f,h){return f<h});ContextHub.SegmentEngine.OperatorManager.register("less-than.string",function(f,h){f=String(f);h=String(h);return f<h});ContextHub.SegmentEngine.OperatorManager.register("less-than.number",function(f,h){f=Number(String(f)||void 0);h=Number(String(h)||void 0);return f<h});ContextHub.SegmentEngine.OperatorManager.register("less-than.date",function(f,h){f=new Date(f||void 0);h=new Date(h||void 0);return Number(f)< 339Number(h)})})();ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.segment-engine.operators - Operator.less-than-or-equal.js"); 340(function(f){var h=function(a,e){ContextHub.console.error("[-] [SegmentEngine] Comparison operator not found:",a+(e?"."+e:""));return function(){return!1}},d=function(a,e){return(ContextHub.SegmentEngine.OperatorManager.getOperator(a,e)||{}).handler||h(a,e)},a=function(a){var c=d("less-than",a),f=d("equal",a);return function(){return c.apply(this,arguments)||f.apply(this,arguments)}};f.each(ContextHub.SegmentEngine.OperatorManager.getAllOperators(),function(c){if(/^less-than(\.|$)/.test(c)){var e= 341c.split(".",2);c=e.shift();e=e.shift();c=c.replace("less-than","less-than-or-equal");e&&(c+="."+e);ContextHub.SegmentEngine.OperatorManager.register(c,a(e))}})})(ContextHubJQ);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.segment-engine.operators - Operator.greater-than.js"); 342(function(){ContextHub.SegmentEngine.OperatorManager.register("greater-than",function(f,h){return f>h});ContextHub.SegmentEngine.OperatorManager.register("greater-than.string",function(f,h){f=String(f);h=String(h);return f>h});ContextHub.SegmentEngine.OperatorManager.register("greater-than.number",function(f,h){f=Number(String(f)||void 0);h=Number(String(h)||void 0);return f>h});ContextHub.SegmentEngine.OperatorManager.register("greater-than.date",function(f,h){f=new Date(f||void 0);h=new Date(h|| 343void 0);return Number(f)>Number(h)})})();ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.segment-engine.operators - Operator.greater-than-or-equal.js"); 344(function(f){var h=function(a,e){ContextHub.console.error("[-] [SegmentEngine] Comparison operator not found:",a+(e?"."+e:""));return function(){return!1}},d=function(a,e){return(ContextHub.SegmentEngine.OperatorManager.getOperator(a,e)||{}).handler||h(a,e)},a=function(a){var c=d("greater-than",a),f=d("equal",a);return function(){return c.apply(this,arguments)||f.apply(this,arguments)}};f.each(ContextHub.SegmentEngine.OperatorManager.getAllOperators(),function(c){if(/^greater-than(\.|$)/.test(c)){var e= 345c.split(".",2);c=e.shift();e=e.shift();c=c.replace("greater-than","greater-than-or-equal");e&&(c+="."+e);ContextHub.SegmentEngine.OperatorManager.register(c,a(e))}})})(ContextHubJQ);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.segment-engine.page-interaction - PageInteraction.js"); 346(function(f,h){h.ContextHub.SegmentEngine.PageInteraction=h.ContextHub.SegmentEngine.PageInteraction||{};ContextHub.SegmentEngine.PageInteraction={};ContextHub.SegmentEngine.PageInteraction.info={propertyHolder:"data-contexthub-property",processorHolder:"data-processor",defaultHolder:"data-default-value"};ContextHub.SegmentEngine.PageInteraction.getPropertyPlaceholders=function(d){var a="["+ContextHub.SegmentEngine.PageInteraction.info.propertyHolder+(d?'^\x3d"%1"]':"]");d=f([a.replace(/%1/,"/"+d), 347a.replace(/%1/,d)].join(", "));var c=[];f.each(d,function(a,d){a=ContextHub.SegmentEngine.PageInteraction.PropertyPlaceholder(d);a.isValid()&&c.push(a)});return c}})(ContextHubJQ,window);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.segment-engine.page-interaction - PageInteraction.PropertyPlaceholder.js"); 348(function(f,h){h.ContextHub.SegmentEngine.PageInteraction=h.ContextHub.SegmentEngine.PageInteraction||{};var d=function(){var a=this.element.attr(ContextHub.SegmentEngine.PageInteraction.info.propertyHolder);this.element&&a?(a=ContextHub.Utils.JSON.tree.sanitizeKey(a),this.storeName=a.shift(),this.propertyName="/"+a.join("/"),this.keyName="/"+this.storeName+this.propertyName,this.defaultValue=f.trim(this.element.attr(ContextHub.SegmentEngine.PageInteraction.info.defaultHolder)||""),this.processors= 349[],f.each((this.element.attr(ContextHub.SegmentEngine.PageInteraction.info.processorHolder)||"").split(/,/),function(a,e){a=f.trim(e);a.length&&this.processors.push(a)}.bind(this))):(this.defaultValue=this.propertyName=this.keyName=this.storeName=null,this.processors=[])};ContextHub.SegmentEngine.PageInteraction.PropertyPlaceholder=function(a){var c=ContextHub.SegmentEngine.PageInteraction.PropertyPlaceholder;if(!(this instanceof c))return ContextHub.Utils.inheritance.newInstance(c,arguments);this.element= 350f(a);d.call(this)};ContextHub.SegmentEngine.PageInteraction.PropertyPlaceholder.prototype.update=function(a){d.call(this);var c=this.getValueProcessors();a||(a=ContextHub.get(this.getKey()));a&&""!==a||(a=this.getDefaultValue());for(var e=0;e<c.length;e++){var l=ContextHub.SegmentEngine.PageInteraction.PropertyProcessor.getProcessor(c[e]);a=f.trim(l.handler.call(this,a))}this.element.val()!==a&&this.element.text(a)};ContextHub.SegmentEngine.PageInteraction.PropertyPlaceholder.prototype.getPropertyName= 351function(){d.call(this);return this.propertyName||""};ContextHub.SegmentEngine.PageInteraction.PropertyPlaceholder.prototype.getKey=function(){d.call(this);return this.keyName||""};ContextHub.SegmentEngine.PageInteraction.PropertyPlaceholder.prototype.getDefaultValue=function(){d.call(this);return this.defaultValue||""};ContextHub.SegmentEngine.PageInteraction.PropertyPlaceholder.prototype.getValueProcessors=function(){return this.processors||[]};ContextHub.SegmentEngine.PageInteraction.PropertyPlaceholder.prototype.isValid= 352function(){return!!this.propertyName}})(ContextHubJQ,window);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.segment-engine.page-interaction - PageInteraction.PropertyProcessor.js"); 353(function(f,h){h.ContextHub.SegmentEngine.PageInteraction=h.ContextHub.SegmentEngine.PageInteraction||{};var d={};ContextHub.SegmentEngine.PageInteraction.PropertyProcessor={};ContextHub.SegmentEngine.PageInteraction.PropertyProcessor.register=function(a,e){"string"===typeof a&&a.length&&(d[a]={processorName:a,handler:e})};ContextHub.SegmentEngine.PageInteraction.PropertyProcessor.unregister=function(a){delete d[a]};ContextHub.SegmentEngine.PageInteraction.PropertyProcessor.unregisterAllProcessors= 354function(){d={}};ContextHub.SegmentEngine.PageInteraction.PropertyProcessor.getAllProcessors=function(){return d};var a={processorName:"default",handler:function(a){return a}};ContextHub.SegmentEngine.PageInteraction.PropertyProcessor.getProcessor=function(c){return d[c]||a}})(ContextHubJQ,window);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.segment-engine.page-interaction - PageInteraction.Teaser.js"); 355(function(f,h){h.ContextHub.SegmentEngine.PageInteraction=h.ContextHub.SegmentEngine.PageInteraction||{};var d={analytics:1,design:1,disabled:1,preview:1,read_only:1},a=function(a){var c=a;if("ui"===ContextHub.Constants.MODE){var f=/[?&]wcmmode=([^&#]*)/.exec(h.location.href);f=f&&1<f.length?(f[1]||"").toLowerCase():ContextHub.Utils.Cookie.getItem("wcmmode");d[f]&&(c+=(-1===a.indexOf("?")?"?":"\x26")+"wcmmode\x3d"+f)}return c};ContextHub.SegmentEngine.PageInteraction.Teaser=function(a){var c=ContextHub.SegmentEngine.PageInteraction.Teaser; 356if(!(this instanceof c))return ContextHub.Utils.inheritance.newInstance(c,arguments);a=a||{};this.details={locationId:f.trim(a.locationId),variants:a.variants||[],strategy:f.trim(a.strategy),trackingURL:f.trim(a.trackingURL)};this.register()};ContextHub.SegmentEngine.PageInteraction.Teaser.prototype.info={className:"Teaser",loadEvent:ContextHub.Constants.EVENT_TEASER_LOADED};ContextHub.SegmentEngine.PageInteraction.Teaser.prototype.register=function(){this.details.locationId.length&&this.details.variants.length&& 357!this.isRegistered()&&(this.registered=ContextHub.SegmentEngine.PageInteraction.TeaserManager.register(this))};ContextHub.SegmentEngine.PageInteraction.Teaser.prototype.unregister=function(){this.registered=!1;ContextHub.SegmentEngine.PageInteraction.TeaserManager.unregister(this)};ContextHub.SegmentEngine.PageInteraction.Teaser.prototype.updatePlaceholder=function(){var c=this.getBestCandidate(),e=null;if(c){var d=this.currentlyLoaded||{};e=a(c.url);if(d.path===c.path&&d.url===e)return}c?(this.currentlyLoaded= 358f.extend(!0,{},c,{url:e}),this.getVariantContent(e,function(a){f("#"+this.details.locationId).html(a);ContextHub.eventing.trigger(ContextHub.SegmentEngine.PageInteraction.Teaser.prototype.info.loadEvent,{teaser:this,variant:c,key:this.details.locationId,action:"set",value:"loaded"},{defer:0})}.bind(this))):delete this.currentlyLoaded};ContextHub.SegmentEngine.PageInteraction.Teaser.prototype.getVariantContent=function(a,e,d){var c=ContextHub.SegmentEngine.PageInteraction.Cache.get(a);c?e.call(this, 359c.content,c.status,c.xhr):(c=f.ajax({url:a,async:!0}),c.done(function(c,d,f){ContextHub.SegmentEngine.PageInteraction.Cache.set(a,{content:c,status:d,xhr:f,url:a});e.call(this,c,d,f)}),"function"===typeof d&&c.fail(function(a){d.call(this,a)}))};ContextHub.SegmentEngine.PageInteraction.Teaser.prototype.getBestCandidate=function(){for(var a=null,e=[],d=[],f=ContextHub.SegmentEngine.SegmentManager.getResolvedSegments({returnLookup:!0}
359),h=this.details.variants,r=0;r<h.length;r++){var q=h[r],v=q.segments|| 360[],y=!1,K=!1;q.boost=0;if(0===v.length)K=y=!0;else for(var B=0;B<v.length;B++){var H=f[v[B]];"undefined"!==typeof H&&(y=!0,q.boost=Math.max(q.boost,H.boost||0))}y&&(K?d:e).push(q)}if(0===e.length||"random"===this.details.strategy)e=[].concat.call(e,d);e.length&&(e.sort(function(a,c){return c.boost-a.boost}),a=ContextHub.SegmentEngine.PageInteraction.StrategyManager.chooseCandidate(e,this.details.strategy));return a};ContextHub.SegmentEngine.PageInteraction.Teaser.prototype.getCurrentlyLoaded=function(){return this.currentlyLoaded|| 361null};ContextHub.SegmentEngine.PageInteraction.Teaser.prototype.isRegistered=function(){return!0===this.registered};ContextHub.SegmentEngine.PageInteraction.Teaser.prototype.getTeaserId=function(){return this.details.locationId};ContextHub.SegmentEngine.PageInteraction.Teaser.prototype.toString=function(){var a=[];f.each(a,function(c,d){a.push(c+': "'+d+'"')});return this.info.className+"("+a.join(", ")+")"}})(ContextHubJQ,window);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.segment-engine.page-interaction - PageInteraction.TeaserManager.js"); 362(function(f,h){h.ContextHub.SegmentEngine.PageInteraction=h.ContextHub.SegmentEngine.PageInteraction||{};var d={};ContextHub.SegmentEngine.PageInteraction.TeaserManager={};ContextHub.SegmentEngine.PageInteraction.TeaserManager.info={registerEvent:ContextHub.Constants.EVENT_TEASER_REGISTERED,unregisterEvent:ContextHub.Constants.EVENT_TEASER_UNREGISTERED};ContextHub.SegmentEngine.PageInteraction.TeaserManager.register=function(a){if(!(a instanceof ContextHub.SegmentEngine.PageInteraction.Teaser))return!1; 363d[a.getTeaserId()]=a;ContextHub.eventing.trigger(ContextHub.SegmentEngine.PageInteraction.TeaserManager.info.registerEvent,{teaser:a,key:a.getTeaserId(),action:"set",value:"registered"},{defer:0});return!0};ContextHub.SegmentEngine.PageInteraction.TeaserManager.unregister=function(a){if(a=a instanceof ContextHub.SegmentEngine.PageInteraction.Teaser?a:this.getTeaser(a))a.registered=!1,delete d[a.getTeaserId()],ContextHub.eventing.trigger(ContextHub.SegmentEngine.PageInteraction.TeaserManager.info.unregisterEvent, 364{teaser:a,key:a.getTeaserId(),action:"remove",value:"unregistered"},{defer:0})};ContextHub.SegmentEngine.PageInteraction.TeaserManager.unregisterAllTeasers=function(){f.each(d,function(a,c){c.unregister()})};ContextHub.SegmentEngine.PageInteraction.TeaserManager.getAllTeasers=function(){return d};ContextHub.SegmentEngine.PageInteraction.TeaserManager.getTeaser=function(a){return d[a]||null};ContextHub.SegmentEngine.PageInteraction.TeaserManager.refreshAllTeasers=function(a){a&&ContextHub.SegmentEngine.SegmentManager.invalidateCache(); 365for(var c in d)d.hasOwnProperty(c)&&d[c].updatePlaceholder()}})(ContextHubJQ,window);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.segment-engine.page-interaction - PageInteraction.StrategyManager.js"); 366(function(f,h){h.ContextHub.SegmentEngine.PageInteraction=h.ContextHub.SegmentEngine.PageInteraction||{};var d={};ContextHub.SegmentEngine.PageInteraction.StrategyManager={};ContextHub.SegmentEngine.PageInteraction.StrategyManager.register=function(a,e,f){"string"===typeof a&&a.length&&(d[a]={strategyName:a,displayName:e,handler:f})};ContextHub.SegmentEngine.PageInteraction.StrategyManager.unregister=function(a){delete d[a]};ContextHub.SegmentEngine.PageInteraction.StrategyManager.unregisterAllStrategies= 367function(){d={}};ContextHub.SegmentEngine.PageInteraction.StrategyManager.getAllStrategies=function(){return d};var a={strategyName:"default",displayName:"Default (first teaser candidate)",handler:function(a){return(a||[])[0]||null}};ContextHub.SegmentEngine.PageInteraction.StrategyManager.getStrategy=function(c){return d[c]||a};ContextHub.SegmentEngine.PageInteraction.StrategyManager.chooseCandidate=function(a,e){return ContextHub.SegmentEngine.PageInteraction.StrategyManager.getStrategy(e).handler.call(this, 368a)}})(ContextHubJQ,window);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.segment-engine.page-interaction - PageInteraction.Cache.js"); 369(function(f,h){h.ContextHub.SegmentEngine.PageInteraction=h.ContextHub.SegmentEngine.PageInteraction||{};var d={};ContextHub.SegmentEngine.PageInteraction.Cache={};ContextHub.SegmentEngine.PageInteraction.Cache.set=function(a,c){d[a]=c};ContextHub.SegmentEngine.PageInteraction.Cache.get=function(a){return d[a]||null};ContextHub.SegmentEngine.PageInteraction.Cache.getAllItems=function(){return d||{}};ContextHub.SegmentEngine.PageInteraction.Cache.clear=function(a){delete d[a]};ContextHub.SegmentEngine.PageInteraction.Cache.clearAllItems= 370function(){d={}}})(ContextHubJQ,window);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.segment-engine.page-interaction - util.case-manipulation.js"); 371(function(){ContextHub.SegmentEngine.PageInteraction.PropertyProcessor.register("lower-case",function(f){return String(f).toLowerCase()});ContextHub.SegmentEngine.PageInteraction.PropertyProcessor.register("upper-case",function(f){return String(f).toUpperCase()});ContextHub.SegmentEngine.PageInteraction.PropertyProcessor.register("title-case",function(f){return String(f).toLowerCase().replace(/(^| )+(.)/g,function(f){return f.toUpperCase()})})})(); 372ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.segment-engine.page-interaction - util.number-formatting.js");(function(){ContextHub.SegmentEngine.PageInteraction.PropertyProcessor.register("timestamp-to-date",function(f){var h=function(d){return(9>=d?"0":"")+d};f=new Date(1E3*f);f=isNaN(f.getMilliseconds())?new Date:f;return[[f.getFullYear(),h(f.getMonth()+1),h(f.getDay())].join("-"),[h(f.getHours()),h(f.getMinutes()),h(f.getSeconds())].join(":")].join(" ")})})(); 373ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.segment-engine.page-interaction - task.page-update-watcher.js"); 374(function(f,h){var d=h.MutationObserver||h.WebKitMutationObserver;if(d){var a={childList:!0,attributes:!0,characterData:!0,subtree:!0,attributeOldValue:!0,characterDataOldValue:!0,attributeFilter:[ContextHub.SegmentEngine.PageInteraction.info.propertyHolder,ContextHub.SegmentEngine.PageInteraction.info.defaultHolder,ContextHub.SegmentEngine.PageInteraction.info.processorHolder]};f(function(){(new d(function(a){for(var c="["+ContextHub.SegmentEngine.PageInteraction.info.propertyHolder+"]",d=[],h=0;h< 375a.length;h++){var n=a[h];f.merge(d,f(n.addedNodes).filter(c));n.attributeName&&n.target&&d.push(n.target)}f.each(f.unique(d),function(a,c){a=ContextHub.SegmentEngine.PageInteraction.PropertyPlaceholder(c);a.isValid()&&a.update()})})).observe(h.document.body,a)})}f(function(){var a=ContextHub.SegmentEngine.PageInteraction.getPropertyPlaceholders();f.each(a,function(a,c){c.isValid()&&c.update()})})})(ContextHubJQ,window);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.segment-engine.page-interaction - task.data-update-watcher.js"); 376(function(f){ContextHub.eventing.on(ContextHub.Constants.EVENT_STORE_UPDATED,function(h,d){h=ContextHub.SegmentEngine.PageInteraction.getPropertyPlaceholders((d||{}).store);f.each(h,function(a,c){var e=c.getPropertyName();a=this.eventData.keys.set.hash[e];e=this.eventData.keys.removed.hash[e];var d=a?a.value:void 0;(a||e)&&c.update(d)}.bind({eventData:d}))},"page-interaction",!0)})(ContextHubJQ);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.segment-engine.page-interaction - task.teaser-update.js"); 377(function(f){var h=0,d=function(){var a=ContextHub.SegmentEngine.PageInteraction.TeaserManager.getAllTeasers();f.each(a,function(a,c){c.isRegistered()&&c.updatePlaceholder()})},a=function(){80<=(new Date).getTime()-h?(d(),h=0):window.requestAnimationFrame(a)};ContextHub.eventing.once([ContextHub.Constants.EVENT_ALL_STORES_READY,ContextHub.Constants.EVENT_STORES_PARTIALLY_READY],function(){var c=[ContextHub.Constants.EVENT_SEGMENT_UPDATED,ContextHub.Constants.EVENT_STORE_UPDATED+":campaign",ContextHub.Constants.EVENT_TEASER_REGISTERED]; 378ContextHub.eventing.off(c,"teaser-updater");ContextHub.eventing.on(c,function(){var c=0===h;h=(new Date).getTime()+80;c&&a()},"teaser-updater",!0)},"teaser-initialization",!0)})(ContextHubJQ);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.segment-engine.page-interaction - strategy.first.
378js");(function(){ContextHub.SegmentEngine.PageInteraction.StrategyManager.register("first","First candidate",function(f){return(f||[])[0]||null})})(); 379ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.segment-engine.page-interaction - strategy.last.js");(function(){ContextHub.SegmentEngine.PageInteraction.StrategyManager.register("last","Last candidate",function(f){var h;f&&(h=f[f.length-1]);return h||null})})();ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.segment-engine.page-interaction - strategy.random.js"); 380(function(){ContextHub.SegmentEngine.PageInteraction.StrategyManager.register("random","Random",function(f){var h;f&&(h=f[Math.floor(Math.random()*f.length)]);return h||null})})();ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.store.abglocationstore - abglocationstore.js"); 381(function(f){var h={service:{jsonp:!1,timeout:2E3,ttl:18E5,path:"/etc/designs/platform/abgcontextstore/location.infinity.json"},initialValues:{}},d=function(a,c){this.config=f.extend(!0,{},h,c);this.init(a,this.config);this.queryService(!1)};ContextHub.Utils.inheritance.inherit(d,ContextHub.Store.JSONPStore);d.prototype.successHandler=function(a){this.updateStore(a)};d.prototype.failureHandler=function(a){console.log("error :"+a)};d.prototype.setP13NMap=function(a){this.p13nMap=a};d.prototype.updateStore= 382function(a){var c={};try{if(sessionStorage.setItem("avis","avis")||"undefined"==typeof sessionStorage.setItem("avis","avis")){sessionStorage.removeItem("avis");var e=JSON.parse(sessionStorage.customClientContext)}}catch(n){e={test:"test"}}if(a){for(var d in a){var f=a[d];f.title&&(this.setItem(f.title,e[a[d].code]?e[a[d].code]:"n/a"),c[a[d].code]=f.title)}this.setP13NMap(c)}else for(d in this.p13nMap)this.setItem(this.p13nMap[d],e[d]?e[d]:"n/a")};ContextHub.Utils.storeCandidates.registerStoreCandidate(d, 383"contexthub.abglocationstore",0)})(ContextHubJQ);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.store.abgp13nstore - abgp13nstore.js"); 384(function(f){var h={service:{jsonp:!1,timeout:2E3,ttl:18E5,path:"/etc/designs/platform/abgcontextstore/p13nsummary.infinity.json"},initialValues:{}},d=function(a,c){this.config=f.extend(!0,{},h,c);this.init(a,this.config);this.queryService(!1)};ContextHub.Utils.inheritance.inherit(d,ContextHub.Store.JSONPStore);d.prototype.successHandler=function(a){this.updateStore(a)};d.prototype.failureHandler=function(a){console.log("error :"+a)};d.prototype.setP13NMap=function(a){this.p13nMap=a};d.prototype.updateStore= 385function(a){var c={};try{if(sessionStorage.setItem("avis","avis")||"undefined"==typeof sessionStorage.setItem("avis","avis")){sessionStorage.removeItem("avis");var e=JSON.parse(sessionStorage.customClientContext)}}catch(n){e={test:"test"}}if(a){for(var d in a){var f=a[d];f.title&&(this.setItem(f.title,e[a[d].code]?e[a[d].code]:"n/a"),c[a[d].code]=f.title)}this.setP13NMap(c)}else for(d in this.p13nMap)this.setItem(this.p13nMap[d],e[d]?e[d]:"n/a")};ContextHub.Utils.storeCandidates.registerStoreCandidate(d, 386"contexthub.abgp13nstore",0)})(ContextHubJQ);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.store.abgaddressstore - abgaddressstore.js"); 387(function(f){var h={service:{jsonp:!1,timeout:2E3,ttl:18E5,path:"/etc/designs/platform/abgcontextstore/address.infinity.json"},initialValues:{}},d=function(a,c){this.config=f.extend(!0,{},h,c);this.init(a,this.config);this.queryService(!1)};ContextHub.Utils.inheritance.inherit(d,ContextHub.Store.JSONPStore);d.prototype.successHandler=function(a){this.updateStore(a)};d.prototype.failureHandler=function(a){console.log("error :"+a)};d.prototype.setP13NMap=function(a){this.p13nMap=a};d.prototype.updateStore= 388function(a){var c={};try{if(sessionStorage.setItem("avis","avis")||"undefined"==typeof sessionStorage.setItem("avis","avis")){sessionStorage.removeItem("avis");var e=JSON.parse(sessionStorage.customClientContext)}}catch(n){e={test:"test"}}if(a){for(var d in a){var f=a[d];f.title&&(this.setItem(f.title,e[a[d].code]?e[a[d].code]:"n/a"),c[a[d].code]=f.title)}this.setP13NMap(c)}else for(d in this.p13nMap)this.setItem(this.p13nMap[d],e[d]?e[d]:"n/a")};ContextHub.Utils.storeCandidates.registerStoreCandidate(d, 389"contexthub.abgaddressstore",0)})(ContextHubJQ);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.store.abgreservationstore - abgreservationstore.js"); 390(function(f){var h={service:{jsonp:!1,timeout:2E3,ttl:18E5,path:"/etc/designs/platform/abgcontextstore/reservation.infinity.json"},initialValues:{}},d=function(a,c){this.config=f.extend(!0,{},h,c);
390this.init(a,this.config);this.queryService(!1)};ContextHub.Utils.inheritance.inherit(d,ContextHub.Store.JSONPStore);d.prototype.successHandler=function(a){this.updateStore(a)};d.prototype.failureHandler=function(a){console.log("error :"+a)};d.prototype.setP13NMap=function(a){this.p13nMap=a};d.prototype.updateStore= 391function(a){var c={};try{if(sessionStorage.setItem("avis","avis")||"undefined"==typeof sessionStorage.setItem("avis","avis")){sessionStorage.removeItem("avis");var e=JSON.parse(sessionStorage.customClientContext)}}catch(n){e={test:"test"}}if(a){for(var d in a){var f=a[d];f.title&&(this.setItem(f.title,e[a[d].code]?e[a[d].code]:"n/a"),c[a[d].code]=f.title)}this.setItem("ALL Users","true");this.setP13NMap(c)}else for(d in this.p13nMap)this.setItem(this.p13nMap[d],e[d]?e[d]:"n/a")};ContextHub.Utils.storeCandidates.registerStoreCandidate(d, 392"contexthub.abgreservationstore",0)})(ContextHubJQ);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.store.abgprofilestore - abgprofilestore.js"); 393(function(f){var h={service:{jsonp:!1,timeout:2E3,ttl:18E5,path:"/etc/designs/platform/abgcontextstore/profile.infinity.json"},initialValues:{}},d=function(a,c){this.config=f.extend(!0,{},h,c);this.init(a,this.config);this.queryService(!1)};ContextHub.Utils.inheritance.inherit(d,ContextHub.Store.JSONPStore);d.prototype.successHandler=function(a){this.updateStore(a)};d.prototype.failureHandler=function(a){console.log("error :"+a)};d.prototype.setP13NMap=function(a){this.p13nMap=a};d.prototype.updateStore= 394function(a){var c={};try{if(sessionStorage.setItem("avis","avis")||"undefined"==typeof sessionStorage.setItem("avis","avis")){sessionStorage.removeItem("avis");var e=JSON.parse(sessionStorage.customClientContext)}}catch(n){e={test:"test"}}if(a){for(var d in a){var f=a[d];f.title&&(this.setItem(f.title,e[a[d].code]?e[a[d].code]:"n/a"),c[a[d].code]=f.title)}this.setP13NMap(c)}else for(d in this.p13nMap)this.setItem(this.p13nMap[d],e[d]?e[d]:"n/a")};ContextHub.Utils.storeCandidates.registerStoreCandidate(d, 395"contexthub.abgprofilestore",0)})(ContextHubJQ);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.store.abgpartnerstore - abgpartnerstore.js"); 396(function(f){var h={service:{jsonp:!1,timeout:2E3,ttl:18E5,path:"/etc/designs/platform/abgcontextstore/partner.infinity.json"},initialValues:{}},d=function(a,c){this.config=f.extend(!0,{},h,c);this.init(a,this.config);this.queryService(!1)};ContextHub.Utils.inheritance.inherit(d,ContextHub.Store.JSONPStore);d.prototype.successHandler=function(a){this.updateStore(a)};d.prototype.failureHandler=function(a){console.log("error :"+a)};d.prototype.setP13NMap=function(a){this.p13nMap=a};d.prototype.updateStore= 397function(a){var c={};try{if(sessionStorage.setItem("avis","avis")||"undefined"==typeof sessionStorage.setItem("avis","avis")){sessionStorage.removeItem("avis");var e=JSON.parse(sessionStorage.customClientContext)}}catch(n){e={test:"test"}}if(a){for(var d in a){var f=a[d];f.title&&(this.setItem(f.title,e[a[d].code]?e[a[d].code]:"n/a"),c[a[d].code]=f.title)}this.setP13NMap(c)}else for(d in this.p13nMap)this.setItem(this.p13nMap[d],e[d]?e[d]:"n/a")};ContextHub.Utils.storeCandidates.registerStoreCandidate(d, 398"contexthub.abgpartnerstore",0)})(ContextHubJQ);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.store.abggeocodeinfostore - abggeocodeinfostore.js"); 399(function(f){var h={service:{jsonp:!1,timeout:2E3,ttl:18E5,path:"/etc/designs/platform/abgcontextstore/geocodeInfo.infinity.json"},initialValues:{}},d=function(a,c){this.config=f.extend(!0,{},h,c);this.init(a,this.config);this.queryService(!1)};ContextHub.Utils.inheritance.inherit(d,ContextHub.Store.JSONPStore);d.prototype.successHandler=function(a){this.updateStore(a)};d.prototype.failureHandler=function(a){console.log("error :"+a)};d.prototype.setP13NMap=function(a){this.p13nMap=a};d.prototype.updateStore= 400function(a){var c={};try{if(sessionStorage.setItem("avis","avis")||"undefined"==typeof sessionStorage.setItem("avis","avis")){sessionStorage.removeItem("avis");var e=JSON.parse(sessionStorage.customClientContext)}}catch(n){e={test:"test"}}if(a){for(var d in a){var f=a[d];f.title&&(this.setItem(f.title,e[a[d].code]?e[a[d].code]:"n/a"),c[a[d].code]=f.title)}this.setP13NMap(c)}else for(d in this.p13nMap)this.setItem(this.p13nMap[d],e[d]?e[d]:"n/a")};ContextHub.Utils.storeCandidates.registerStoreCandidate(d, 401"contexthub.abggeocodeinfostore",0)})(ContextHubJQ);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.store.abgrateshopstore - abgrateshopstore.js"); 402(function(f){var h={service:{jsonp:!1,timeout:2E3,ttl:18E5,path:"/etc/designs/platform/abgcontextstore/rateshop.infinity.json"},initialValues:{}},d=function(a,c){this.config=f.extend(!0,{},h,c);
402this.init(a,this.config);this.queryService(!1)};ContextHub.Utils.inheritance.inherit(d,ContextHub.Store.JSONPStore);d.prototype.successHandler=function(a){this.updateStore(a)};d.prototype.failureHandler=function(a){console.log("error :"+a)};d.prototype.setP13NMap=function(a){this.p13nMap=a};d.prototype.updateStore= 403function(a){var c={};try{if(sessionStorage.setItem("avis","avis")||"undefined"==typeof sessionStorage.setItem("avis","avis")){sessionStorage.removeItem("avis");var e=JSON.parse(sessionStorage.customClientContext)}}catch(n){e={test:"test"}}if(a){for(var d in a){var f=a[d];f.title&&(this.setItem(f.title,e[a[d].code]?e[a[d].code]:"n/a"),c[a[d].code]=f.title)}this.setP13NMap(c)}else for(d in this.p13nMap)this.setItem(this.p13nMap[d],e[d]?e[d]:"n/a")};ContextHub.Utils.storeCandidates.registerStoreCandidate(d, 404"contexthub.abgrateshopstore",0)})(ContextHubJQ);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.store.abgvehiclesummarystore - abgvehiclesummarystore.js"); 405(function(f){var h={service:{jsonp:!1,timeout:2E3,ttl:18E5,path:"/etc/designs/platform/abgcontextstore/vehiclesummary.infinity.json"},initialValues:{}},d=function(a,c){this.config=f.extend(!0,{},h,c);this.init(a,this.config);this.queryService(!1)};ContextHub.Utils.inheritance.inherit(d,ContextHub.Store.JSONPStore);d.prototype.successHandler=function(a){this.updateStore(a)};d.prototype.failureHandler=function(a){console.log("error :"+a)};d.prototype.setP13NMap=function(a){this.p13nMap=a};d.prototype.updateStore= 406function(a){var c={};try{if(sessionStorage.setItem("avis","avis")||"undefined"==typeof sessionStorage.setItem("avis","avis")){sessionStorage.removeItem("avis");var e=JSON.parse(sessionStorage.customClientContext)}}catch(n){e={test:"test"}}if(a){for(var d in a){var f=a[d];f.title&&(this.setItem(f.title,e[a[d].code]?e[a[d].code]:"n/a"),c[a[d].code]=f.title)}this.setP13NMap(c)}else for(d in this.p13nMap)this.setItem(this.p13nMap[d],e[d]?e[d]:"n/a")};ContextHub.Utils.storeCandidates.registerStoreCandidate(d, 407"contexthub.abgvehiclesummarystore",0)})(ContextHubJQ);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.store.abgdemographicsstore - abgdemographicsstore.js"); 408(function(f){var h={service:{jsonp:!1,timeout:2E3,ttl:18E5,path:"/etc/designs/platform/abgcontextstore/demographics.infinity.json"},initialValues:{}},d=function(a,c){this.config=f.extend(!0,{},h,c);this.init(a,this.config);this.queryService(!1)};ContextHub.Utils.inheritance.inherit(d,ContextHub.Store.JSONPStore);d.prototype.successHandler=function(a){this.updateStore(a)};d.prototype.failureHandler=function(a){console.log("error :"+a)};d.prototype.setP13NMap=function(a){this.p13nMap=a};d.prototype.updateStore= 409function(a){var c={};try{if(sessionStorage.setItem("avis","avis")||"undefined"==typeof sessionStorage.setItem("avis","avis")){sessionStorage.removeItem("avis");var e=JSON.parse(sessionStorage.customClientContext)}}catch(n){e={test:"test"}}if(a){for(var d in a){var f=a[d];f.title&&(this.setItem(f.title,e[a[d].code]?e[a[d].code]:",n/a"),c[a[d].code]=f.title)}this.setP13NMap(c)}else for(d in this.p13nMap)this.setItem(this.p13nMap[d],e[d]?e[d]:"n/a")};ContextHub.Utils.storeCandidates.registerStoreCandidate(d, 410"contexthub.abgdemographicsstore",0)})(ContextHubJQ);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.store.abgguidedreservationstore - abgguidedreservationstore.js"); 411(function(f){var h={service:{jsonp:!1,timeout:2E3,ttl:18E5,path:"/etc/designs/platform/abgcontextstore/guidedreseravation.infinity.json"},initialValues:{}},d=function(a,c){this.config=f.extend(!0,{},h,c);this.init(a,this.config);this.queryService(!1)};ContextHub.Utils.inheritance.inherit(d,ContextHub.Store.JSONPStore);d.prototype.successHandler=function(a){this.updateStore(a)};d.prototype.failureHandler=function(a){console.log("error :"+a)};d.prototype.setP13NMap=function(a){this.p13nMap=a};d.prototype.updateStore= 412function(a){var c={};try{if(sessionStorage.setItem("avis","avis")||"undefined"==typeof sessionStorage.setItem("avis","avis")){sessionStorage.removeItem("avis");var e=JSON.parse(sessionStorage.customClientContext);var d=JSON.parse(sessionStorage["ngStorage-reservationModel"])}}catch(r){e={test:"test"}}if(a){for(var f in a){var h=a[f];h.title&&(e[f]?this.setItem(h.title,e[a[f].code]):d?this.setItem(h.title,d[a[f].code]?d[a[f].code]:"n/a"):this.setItem(h.title,"n/a"),c[a[f].code]=h.title)}this.setP13NMap(c)}else for(f in this.p13nMap)e[f]&& 413this.setItem(this.p13nMap[f],e[f])};ContextHub.Utils.storeCandidates.registerStoreCandidate(d,"contexthub.abgguidedreservationstore",0)})(ContextHubJQ);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.store.aem.analyticsdata - store.analyticsdata.js"); 414(function(f){var h={}
414,d=function(a,c){this.init(a,this.config);this.config=f.extend(!0,{},h,c)};ContextHub.Utils.inheritance.inherit(d,ContextHub.Store.SessionStore);ContextHub.Utils.storeCandidates.registerStoreCandidate(d,"aem.analyticsdata",0)})(ContextHubJQ);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.store.aem.segmentation - store.segmentation.js"); 415(function(f){var h={service:{script:!0,timeout:3E3,path:window.ContextHub.Paths.SEGMENTATION_PATH+".seg.js"}},d=function(a,e){this.config=f.extend(!0,{},h,e);this.init(a,this.config);this.refreshData();ContextHub.eventing.on(ContextHub.Constants.EVENT_SEGMENT_UPDATED,function(){requestAnimationFrame(this.refreshData.bind(this))}.bind(this));ContextHub.isOptedOut()?this.announceReadiness():this.reloadSegments()};ContextHub.Utils.inheritance.inherit(d,ContextHub.Store.PersistedJSONPStore);d.prototype.reset= 416function(a){ContextHub.SegmentEngine.SegmentManager.unregisterAllSegments();this.uber("reset",a)};d.prototype.queryService=function(a){ContextHub.isOptedOut()||this.uber("queryService",a)};d.prototype.reloadSegments=function(){this.reset()};var a=function(a){a=parseInt(a,10)||0;if(0>=a)a="No segment";else if(5>=a)a=a+" segment"+(1<a?"s":"");else{var c=5*Math.floor(a/5);a=(a===c?"":"More than ")+c+" segments"}return a};d.prototype.refreshData=function(){var c=[];f.each(ContextHub.SegmentEngine.getResolvedSegments(), 417function(a,e){if(a=e.getPath()){var d=a+".html";e={label:e.getTitle()||e.getName()||a,link:d,path:a};c.push(e)}});var e=c.length;this.setItem("segments",c);this.setItem("summary",a(e));return c};d.prototype.getResolvedSegments=function(){return ContextHub.SegmentEngine.SegmentManager.getResolvedSegments()};d.prototype.getUnresolvedSegments=function(){return ContextHub.SegmentEngine.SegmentManager.getUnresolvedSegments()};ContextHub.Utils.storeCandidates.registerStoreCandidate(d,"aem.segmentation", 4180,function(){return!!ContextHub.SegmentEngine})})(ContextHubJQ); 419(function(f,h){function d(c,e){this.config=f.extend({},a,e);this.init(c,this.config);var d=this,h=1;ContextHub.eventing.on(ContextHub.Constants.EVENT_STORE_UPDATED+":profile",function(a,c){d.setItem("tickle",h++)});ContextHub.eventing.on(ContextHub.Constants.EVENT_STORE_UPDATED+":cart",function(a,c){d.setItem("tickle",h++)})}var a={maxCount:20};ContextHub.Utils.inheritance.inherit(d,ContextHub.Store.PersistedStore);d.prototype.recent=function(a,e){var c=this.getItem("products")||[],d=[],f=ContextHub.getStore("cart"); 420f||(e=!1);for(var h=c.length-1;0<=h&&0<a;h--){var q=c[h];e&&f.containsProduct(q.path)||(d.push(q),a--)}return d};d.prototype.record=function(a,e,d,f){for(var c=JSON.parse(JSON.stringify(this.getItem("products")||[])),l=0;l<c.length;l++)if(c[l].path==a){c.splice(l,1);break}c.length==this.config.maxCount&&c.shift();c.push({path:a,title:e,image:d,price:f});this.setItem("products",c)};d.prototype.remove=function(a){for(var c=JSON.parse(JSON.stringify(this.getItem("products")||[])),d=0;d<c.length;d++)if(c[d].path== 421a){c.splice(d,1);break}this.setItem("products",c)};d.prototype.reset=function(a){this.uber("reset",a);this.setItem("products",[])};ContextHub.Utils.storeCandidates.registerStoreCandidate(d,"commerce.abandonedproducts",0)})(ContextHubJQ,this); 422(function(f){function h(a,c){this.config=f.extend(!0,{},d,c);this.init(a,this.config);var e=this,l=1;ContextHub.eventing.on(ContextHub.Constants.EVENT_STORE_UPDATED+":cart",function(a,c){e.setItem("tickle",l++)})}var d={maxCount:20};ContextHub.Utils.inheritance.inherit(h,ContextHub.Store.PersistedStore);h.prototype.recent=function(a,c){var e=this.getItem("products")||[],d=[],f=ContextHub.getStore("cart");f||(c=!1);for(var h=e.length-1;0<=h&&0<a;h--){var r=e[h];c&&f.containsProduct(r.path)||(d.push(r), 423a--)}return d};h.prototype.record=function(a,c,e,d){for(var f=JSON.parse(JSON.stringify(this.getItem("products")||[])),h=0;h<f.length;h++)if(f[h].path==a){f.splice(h,1);break}f.length==this.config.maxCount&&f.shift();f.push({path:a,title:c,image:e,price:d});this.setItem("products",f)};h.prototype.reset=function(a){this.uber("reset",a);this.setItem("products",[])};ContextHub.Utils.storeCandidates.registerStoreCandidate(h,"commerce.recentlyviewed",0)})(ContextHubJQ); 424ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.store.campaign.seeddata - store.campaign.seeddata.js"); 425(function(f,h){var d=!1;h=(new RegExp(/(^[a-zA-Z0-9\/_-]+)*(\.[a-zA-Z]+)?/)).exec(document.location.pathname);var a="";h&&(a=h[1]+"/_jcr_content.campaign.seeddata.json");var c={service:{jsonp:!1,ttl:0,secure:"auto",host:document.location.host,port:80,path:a+"/${contexthub:/store/profile/campaign/seedId}"},persistence:ContextHub.Utils.Persistence({mode:ContextHub.Utils.Persistence.Modes.WINDOW})};h=function(a,d){this.config=f.extend(!0,{},c,d);
425this.init(a,this.config)};ContextHub.Utils.inheritance.inherit(h, 426ContextHub.Store.JSONPStore);f.extend(h.prototype,{successHandler:function(a){a&&this.setItem("/",a);return a},failureHandler:function(a){ContextHub.console.log("Error while getting mcm campaign seeddata information:",a)},queryService:function(a){d&&this.uber("queryService",a)}});ContextHub.Utils.storeCandidates.registerStoreCandidate(h,"campaign.seeddata",0,function(){var a=f("#campaignContextHub").eq(0);if(a=0<a.length&&!!a.attr("data-register"))ContextHub.eventing.on(ContextHub.Constants.EVENT_STORE_UPDATED+ 427":profile",function(a,c){if(a=ContextHub.getStore("seeddata")){a.setItem("/",{});if(c=ContextHub.getStore("profile"))c=c.getItem("/"),d=!!(c&&c.campaign&&c.campaign.seedId);d&&a.queryService(!1)}});return a})})(ContextHubJQ,window);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.store.campaign.metadata - store.campaign.metadata.js"); 428(function(f,h){var d={service:{jsonp:!1,ttl:0,secure:"auto",host:document.location.host,port:80,path:Granite.HTTP.externalize(Granite.HTTP.getPath()+"/_jcr_content.campaign.metadata.json")},persistence:ContextHub.Utils.Persistence({mode:ContextHub.Utils.Persistence.Modes.WINDOW})},a=f("#campaignContextHub");a.length&&(d.service.method=a.data("metadata-method")||"GET",h=a.data("path"))&&(d.service.path=Granite.HTTP.externalize(h+"/_jcr_content.campaign.metadata.json"));h=function(a,e){this.config= 429f.extend(!0,{},d,e);this.dataAvailable=!1;this.init(a,this.config);this.setItem("/",{},{silent:!0});this.queryService(!0)};ContextHub.Utils.inheritance.inherit(h,ContextHub.Store.JSONPStore);f.extend(h.prototype,{isOldMetaDataFormat:function(){var a=this.getItem("/_/version");return!!a&&1===a},isDataAvailable:function(){return this.dataAvailable},getMetadataVariable:function(a){function c(a,d){var e=d.indexOf(".");-1==e&&(e=d.length);var f=d.substring(0,e);return a.hasOwnProperty(f)?e==d.length?a[f]: 430c(a[f].content,d.substring(e+1)):null}return c(this.getTree(),a)},getFilteredTree:function(a){function c(d){for(var e in d)if(d.hasOwnProperty(e))if(d[e].type&&!a(d[e]))delete d[e];else if(d[e].content){d[e].content=c(d[e].content);var f=!0,h;for(h in d[e].content)if(d[e].content.hasOwnProperty(h)){f=!1;break}f&&delete d[e]}return d}var d=f.extend(!0,{},this.getTree());return c(d)},convertToColumnViewFormat:function(a){function c(a,d){var e=[],f;for(f in a)a.hasOwnProperty(f)&&(e.push(a[f]),a[f].key= 431f);e.sort(function(a,c){return a.hasOwnProperty("order")&&c.hasOwnProperty("order")?a.order<c.order?-1:1:a.hasOwnProperty("order")?1:a.label.localeCompare(c.label)});a=[];for(f=0;f<e.length;f++){var h=e[f],l=d+(d?".":"")+h.key,p={_links:{self:{href:l,title:h.label}},properties:{}};h.tag&&(p.value=h.tag);h.type&&(p.type=h.type);if(h.content){p.icon="tags";p.hasChildren=!0;h=c(h.content,l);if(!h.length)continue;p._embedded={items:h}}else p.icon="tag";a.push(p)}return a}return{_links:{self:{href:"foo"}}, 432_embedded:{items:c(a,"")}}},successHandler:function(a){if(a){this.dataAvailable=!0;var c=a.hasOwnProperty("schema")?1:2;this.setItem("/_/version",c);this.setItem("/",a)}return a},failureHandler:function(a){ContextHub.console.log("Error while getting mcm campaign metadata information:",a)}});ContextHub.Utils.storeCandidates.registerStoreCandidate(h,"campaign.metadata",0,function(){return 0<a.length&&!!a.attr("data-register")})})(ContextHubJQ,window); 433ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.store.contexthub.surferinfo - store.surferinfo.js"); 434(function(f,h){function d(a,c){this.init(a,c);this.config=f.extend({},this.config,c);this.readData()}var a,c=function(c,d){var e={};e[c]=d;a=f.extend(!0,a,e);return e},e=function(){var a,c="Opera Chromium Chrome Safari Edge Trident MSIE Firefox AppleWebKit".split(" "),d=h.navigator.userAgent;(a=d.match(new RegExp("( |^)("+c.join("|")+")(/| )[0-9.]*","ig")))?(a=f.map(a,function(a){a=f.trim(a).split(/[\/ ]/);return{version:a.pop(),family:a.pop()}}),a=a.sort(function(a,d){return a.family===d.family? 435a.version<d.version?-1:1:f.inArray(a.family,c)<f.inArray(d.family,c)?-1:1}),a=a.shift(),"Trident"===a.family&&(a.family="MSIE",a.version={"7.0":"
43511","6.0":"10","5.0":"9","4.0":"8"}[a.version])):a={version:"Unresolved",family:"Unresolved"};return f.extend(a,{userAgent:d})};ContextHub.Utils.inheritance.inherit(d,ContextHub.Store.PersistedStore);d.prototype.readData=function(){a={};var d=this.getItem("display"),p=h.devicePixelRatio||1;if(!d){d=h.screen.colorDepth;var n={width:h.screen.width*p,height:h.screen.height* 436p},r=Math.pow(2,d),q=f("\x3cdiv\x3e").css({width:"1in",visibility:"hidden",position:"absolute",top:0,left:0});q.appendTo(f("body"));var v=q.innerWidth();q.detach();var y=h.orientation;"undefined"===typeof y?(q=h.screen.width>h.screen.height?"landscape":"portrait",y="normal"):-90===y||90===y?(q="landscape",y=90===y?"left":"right"):(q="portrait",y=0===y?"normal":"upside-down");d=c("display",{resolution:n,devicePixelRatio:p,colorDepth:d,nrOfColors:r,pixelsPerInch:v,orientation:{mode:q,direction:y}}).display.resolution}this.getItem("window")|| 437(p=c("window",{dimension:{width:f(h).innerWidth()*p,height:f(h).innerHeight()*p}}).window.dimension,c("window",{percentageUsage:Math.floor(p.width*p.height/(d.width*d.height)*100)/100}));this.getItem("browser")||c("browser",e());p=null;d=h.navigator.userAgent;v=d.match(/mobile|touch/i);q=d.match(/tablet/i);y=d.match(/iphone/i);var K=d.match(/ipod/i),B=d.match(/ipad/i),H=d.match(/htc/i),P=d.match(/(BlackBerry)([^/]*)\/([0-9.]*)/i),M=d.match(/GT-([^ ]*)/),O=d.match(/ipad|ipod|iphone/i);n=d.match(/android/i); 438var D=d.match(/windows/i),T=d.match(/(mobile|tablet);/i)&&d.match(/; rv:/i);r="Desktop";y||K||n&&v||D&&v||P&&v||T&&v?r="Mobile":(B||n&&q||D&&q||P&&q||T&&q)&&(r="Tablet");if(O){p="iOS";var E=O.shift();var w=(d.match("OS ([0-9_]*)")||[""]).pop().replace(/_/g,".")}!p&&D&&(p="windows");!p&&H&&(p="Android",E=H.shift(),w=(d.match("HTC[_ /]([^ _;-]*)")||[""]).pop());!p&&P&&4===P.length&&(p="Blackberry",E=P.slice(1,3).join(" "),w=P.pop());!p&&M&&(w=M.pop(),p="Android",E="Samsung "+({I90:"Galaxy S",I91:"Galaxy S II", 439I93:"Galaxy S III",I95:"Galaxy S IV",N70:"Note",N71:"Note II",P31:"Tab",P51:"Tab II"}[w.slice(0,3)]||"GT-"+w),w=(d.match("Android ([0-9.]*)")||[w]).pop());!p&&n&&(p="Android",E="Unresolved",w=(d.match("Android ([0-9.]*)")||[""]).pop());p||(p="Desktop",E="PC",w="");E={category:r,type:p,model:E,version:w};this.getItem("device")||c("device",E);this.getItem("isMobile")||c("isMobile","desktop"!==E.type);if(!this.getItem("os")){E=null;w=h.navigator.userAgent;if(w.match(/Mac OS X|Macintosh/)){E="Mac OS X"; 440var I=(w.match(/(Mac OS X|CPU OS) ([0-9_]*)/)||[""]).pop().replace(/_/g,".");I=(w.match(/iPod|iPad|iPhone/)?"iOS ":"")+I}E||-1===w.indexOf("Windows")||(E="Windows",I={"NT 10.0":"10","NT 6.3":"8.1","NT 6.2":"8","NT 6.1":"7","NT 6.0":"Vista","NT 5.2":"XP x64","NT 5.1":"XP","NT 5.01":"2000 SP1","NT 5.0":"2000","NT 4.0":"NT 4.0",98:"98","NT 95":"95","NT CE":"CE"}[w.match(/Windows (.+?);/).pop()],"98"===I&&-1!==w.indexOf("Win 9x 4.90")&&(I="ME"));!E&&w.match(/Linux/)&&(E="Linux",I=null);!E&&w.match(/Android/)&& 441(E="Android",I=(w.match("Android ([0-9.]*)")||[""]).pop());c("os",{name:E||"Unresolved",version:I||"Unresolved"})}I=new Date;a.year=I.getFullYear();a.month=I.getMonth()+1;a.day=I.getDate();a.hour=I.getHours();a.minutes=I.getMinutes();this.addAllItems(a,{defer:0})};d.prototype.reset=function(a){this.uber("reset",a);this.readData()};ContextHub.Utils.storeCandidates.registerStoreCandidate(d,"contexthub.surferinfo",0)})(ContextHubJQ,this);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.store.granite.profile - store.profile.js"); 442(function(f){var h={service:{jsonp:!1,timeout:1E3,path:"${contexthub:/store/profile/path}.infinity.json"},initialValues:{path:ContextHub.Constants.ANONYMOUS_HOME||"/home/users/a/anonymous"}},d=function(a){a=(new Date(a)).getTime();return~~((Date.now()-a)/315576E5)},a=function(a,e){this.config=f.extend(!0,{},h,e);this.init(a,this.config);this.onUpdate("age-update",function(a,c){var e=c.keys.set.hash["/birthday"];if(e){var f=this;window.setTimeout(function(){f.setItem("age",d(e.value))},50)}});this.queryService(!1)}; 443ContextHub.Utils.inheritance.inherit(a,ContextHub.Store.PersistedJSONPStore);a.prototype.successHandler=function(a){this.pauseEventing();var c=this.getItem("path");c&&(c=Granite.HTTP.externalize(c));var h=f.extend(!0,{},a.profile),p=!!ContextHub.Utils.JSON.tree.getItem(h,"/photos/primary/image"),n=/\/(jcr|sling|):/;f.each(ContextHub.Utils.JSON.tree.getKeys(h),function(a,c){c.match(n)&&(h=ContextHub.Utils.JSON.tree.removeItem(h,c
443))});h=ContextHub.Utils.JSON.tree.setItem(h,"path",c);p&&(h=ContextHub.Utils.JSON.tree.setItem(h, 444"avatar",c+"/profile/photos/primary/image"));h.birthday&&(h=ContextHub.Utils.JSON.tree.setItem(h,"age",d(h.birthday)));h.authorizableId=h.authorizableId||a["rep:authorizableId"];a="anonymous";h.givenName&&h.familyName?a=parent.Granite.I18n.get("{0} {1}",[h.givenName,h.familyName],"name display order: {0} is the given (first) name, {1} the family (last) name"):h.givenName?a=h.givenName:h.familyName?a=h.familyName:h.authorizableId&&(a=h.authorizableId);h=ContextHub.Utils.JSON.tree.setItem(h,"displayName", 445a);this.setItem("/",h);a="anonymous"===h.displayName?"anonymous":h.authorizableId;ContextHub.Shared.CookieContainer.setItem("SessionPersistence","PROFILEDATA",a?"authorizableId\x3d"+a:null);this.resumeEventing()};a.prototype.loadProfile=function(a){var c=ContextHub.getStore("profile");c.setItem("path",a?Granite.HTTP.externalize(a):a);c.queryService(!0)};ContextHub.Utils.storeCandidates.registerStoreCandidate(a,"granite.profile",0)})(ContextHubJQ); 446ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] cq.contexthub - store.clientcontext-backedstore.js (clientcontext connector)"); 447(function(f){window.ContextHub.Store=window.ContextHub.Store||{};ContextHub.Store.ClientContextBackedStore=function(){};ContextHub.Utils.inheritance.inherit(ContextHub.Store.ClientContextBackedStore,ContextHub.Store.PersistedJSONPStore);ContextHub.Store.ClientContextBackedStore.defaultConfig={mappingConfig:{propertyMapping:{}
447,mapOtherProperties:!0,replicateToClientContext:!0}};ContextHub.Store.ClientContextBackedStore.prototype.init=function(h,d){this.uber("init",h,d);this.config=f.extend(!0,{},this.config, 448ContextHub.Store.ClientContextBackedStore.defaultConfig,d)};ContextHub.Store.ClientContextBackedStore.prototype.successHandler=function(h){var d=this.isEventingPaused(),a=this.config.mappingConfig.clientContextStoreName,c={},e;if(!this.preventSelfUpdating){this.preventSelfUpdating=!0;h=h||function(a,c){return c};this.pauseEventing();this.setItem("/",{});f.each(this.config.mappingConfig.propertyMapping,function(d,f){c[f]=!0;e=ClientContext.get(a+"/"+f);e=h(f,e);this.setItem("/"+d,e)}.bind(this));if(this.config.mappingConfig.mapOtherProperties){var l= 449ClientContext.get(a).data||{};f.each(l,function(a,d){c[a]||(d=h(a,d),this.setItem("/"+a,d))}.bind(this))}d||this.resumeEventing();this.preventSelfUpdating=!1}};ContextHub.Store.ClientContextBackedStore.prototype.failureHandler=function(f){};ContextHub.Store.ClientContextBackedStore.prototype.queryService=function(f,d){var a=this.config.mappingConfig.clientContextStoreName,c=this,e=function(){var e=ClientContext.get(a),f=c.isEventingPaused();c.pauseEventing();e?(e.addListener("update",function(){!0!== 450c.preventSelfUpdating&&c.successHandler(d)}),c.successHandler(d)):c.failureHandler();f||c.resumeEventing();c.announceReadiness()};ClientContext.get(a)?e():CQ_Analytics.ClientContextMgr.addListener("storeregister",function(c,d){d.STORENAME===a&&e()})};ContextHub.Store.ClientContextBackedStore.prototype.setItem=function(f,d){this.uber("setItem",f,d);
450if(this.config.mappingConfig.replicateToClientContext&&!0!==this.preventSelfUpdating&&(f=f.replace(/^\//,""),f.length)){var a=this.config.mappingConfig.propertyMapping[f]; 451!a&&this.config.mappingConfig.mapOtherProperties&&(a=f);a&&ClientContext.set(this.config.mappingConfig.clientContextStoreName+"/"+a,d)}};ContextHub.Store.ClientContextBackedStore.prototype.removeItem=function(f){this.uber("removeItem",f);if(this.config.mappingConfig.replicateToClientContext&&!0!==this.preventSelfUpdating){var d=f.replace(/^\//,"");d.length&&(f=this.config.mappingConfig.propertyMapping[d],!f&&this.config.mappingConfig.mapOtherProperties&&(f=d),f&&(d=CQ_Analytics.StoreRegistry.getStore(this.config.mappingConfig.clientContextStoreName))&& 452d.removeProperty(f))}}})(ContextHubJQ);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.store.granite.profile - store.clientcontext-profile.js (clientcontext connector)"); 453(function(f){var h={mappingConfig:{clientContextStoreName:"profile",propertyMapping:{displayName:"formattedName",path:"path",avatar:"avatar"}
453,mapOtherProperties:!0,replicateToClientContext:!0}},d=function(a,d){"path"===a&&"string"===typeof d&&(d=d.replace(/\/profile$/,""));return d},a=function(a,e){this.config=f.extend({},!0,h,e);this.init(a,this.config);this.queryService(!0,d)};ContextHub.Utils.inheritance.inherit(a,ContextHub.Store.ClientContextBackedStore);a.prototype.loadProfile=function(a){a= 454(a||"").split("/").pop();a.length&&ClientContext.get(this.config.mappingConfig.clientContextStoreName).loadProfile(a)};a.prototype.reset=function(){var a=ClientContext.get(this.config.mappingConfig.clientContextStoreName);a&&a.reset()};ContextHub.Utils.storeCandidates.registerStoreCandidate(a,"granite.profile",10,function(){return!!window.ClientContext})})(ContextHubJQ); 455(function(f,h){f.Granite=f.Granite||{};f.Granite.author=f.Granite.author||{};var d=function(a){this.document=a;this._getRules()};d.getNativeDevice=function(){var a=f.innerWidth||document.documentElement.clientWidth,c=f.innerHeight||document.documentElement.clientHeight,d=f.screen.width,h=f.screen.height;var p=document.body;var n=document.createElement("div");p.appendChild(n);n.style.width="1in";var r=document.defaultView.getComputedStyle(n,null).getPropertyValue("width");p.removeChild(n);p=parseFloat(r); 456a={type:"screen",width:a,height:c,"device-width":d,"device-height":h,"device-pixel-ratio":1,resolution:p,scan:"progressive",grid:!1,color:f.screen.colorDepth,"color-index":f.screen.pixelDepth,monochrome:0};a["aspect-ratio"]=a.width/a.height;a.orientation=a.width>a.height?"landscape":"portrait";a["device-aspect-ratio"]=a["device-width"]/a["device-height"];return a};d.prototype={};Object.defineProperty(d.prototype,"appliedStyleSheet",{get:function(){for(var a=!0,c=this._appliedStyleSheet;c&&(c=c.parentNode);)if(c=== 457this.document){a=!1;break}if(!this._appliedStyleSheet||a)a=this.document,c=a.createElement("style"),c.appendChild(a.createTextNode("")),a.head.appendChild(c),this._appliedStyleSheet=c;return this._appliedStyleSheet}});d.prototype._getRules=function(){var a=[],c=d.parser.getMediaRules(this.document),e,f;for(e=0;e<c.length;e++){var h=[];var n=d.parser.parseMediaRule(c[e].media.mediaText);for(f=0;f<c[e].cssRules.length;f++)h.push(c[e].cssRules[f].cssText);a.push({mediaText:c[e].media.mediaText,cssRules:h, 458parsed:n,mediaRule:c[e]})}this.rules=a};d.prototype.removeMediaRules=function(){for(var a=0;a<this.rules.length;a++)for(;this.rules[a].mediaRule.cssRules[0];)this.rules[a].mediaRule.deleteRule(0)};d.prototype.clear=function(){document.head.removeChild(this.appliedStyleSheet);this.appliedStyleSheet=null};d.prototype.restore=function(){var a,c;document.head.removeChild(this.appliedStyleSheet);this.appliedStyleSheet=null;for(a=0;a<this.rules.length;a++)try{var d=this.rules[a];for(c=0;c<d.cssRules.length;c++)d.mediaRule.insertRule(d.cssRules[c], 459d.mediaRule.cssRules.length)}catch(l){}};d.prototype.applyDevice=function(a){var c,e;this.clear();this.removeMediaRules();this.appliedStyleSheet.sheet.insertRule("html, body { width: "+a.width+"px; }",0);for(c=0;c<this.rules.length;c++)try{var f=this.rules[c];if(d.parser.matchDevice(f.parsed,a))for(e=0;e<f.cssRules.length;e++)this.appliedStyleSheet.sheet.insertRule(f.cssRules[e],this.appliedStyleSheet.sheet.cssRules.length)}catch(p){}};d.prototype.prepareDevice=function(a){var c={type:a.type||"screen", 460"device-pixel-ratio":a["device-pixel-ratio"]||1,resolution:a.resolution||96,scan:a.scan||"progressive",grid:!!a.grid,color:a.color||8,"color-index":a["color-index"]||0,monochrome:a.monochrome||0};c.width=Math.floor(a.width/c["device-pixel-ratio"]);c.height=Math.floor(a.height/c["device-pixel-ratio"]);c["device-width"]=a["device-width"]||c.width;c["device-height"]=a["device-height"]||c.height;c["aspect-ratio"]=a["aspect-ratio"]||a.width/a.height;c.orientation=a.orientation||(a.width>a.height?"landscape": 461"portrait");c["device-aspect-ratio"]=a["device-aspect-ratio"]||a["device-width"]/a["device-height"];return c};f.Granite.author.MediaEmulator=d})(this); 462(function(f,h){function d(a){var c=Number(a);c||(a=a.match(/^(\d+)\s*\/\s*(\d+)$/),c=a[1]/a[2]);return c}function a(a){var c=parseFloat(a);switch(String(a).match(r)[1]){case "dpcm":return c/2.54;case "dppx":return 96*c;default:return c}}function c(a){var c=parseFloat(a);switch(String(a).match(n)[1]){case "em":return 16*c;case "rem":return 16*c;case "cm":return 96*c/2.54;case "mm":return 96*c/2.54/10;case "in":return 96*c;case "pt":return 72*c;case "pc":return 72*c/12;default:return c}}var e=/^(?:(only|not)?\s*([_a-z][_a-z0-9-]*)|(\([^\)]+\)))(?:\s*and\s*(.*))?$/i,
463l=/^\(\s*([_a-z-][_a-z0-9-]*)\s*(?::\s*([^\)]+))?\s*\)$/,p=/^(?:(min|max)-)?(.+)/,n=/(em|rem|px|cm|mm|in|pt|pc)?\s*$/,r=/(dpi|dpcm|dppx)?\s*$/;Granite.author.MediaEmulator.parser={getMediaRules:function(a){a=a.styleSheets;var c=[];for(var d=0;d<a.length;d++)try{var e=a[d];var f=e.cssRules;for(var h=0;h<(f?f.length:0);h++){var l=f[h];l.type===CSSRule.MEDIA_RULE&&c.push(l)}}catch(M){}return c},parseMediaRule:function(a){return a.split(",").map(function(a){a=a.trim().match(e);var c=((a[3]||"")+(a[4]|| 464"")).trim().match(/\([^\)]+\)/g),d={};d.not=!!a[1]&&"not"===a[1].toLowerCase();d.type=a[2]?a[2].toLowerCase():"all";d.expressions=c?c.map(function(a){a=a.match(l);var c=a[1].toLowerCase().match(p);return{modifier:c[1],feature:c[2],value:a[2]}}):[];return d})},matchDevice:function(e,f){for(var h,l,n=0;n<e.length;n++)if(h=e[n],l="all"===h.type||f.type===h.type,!(l&&h.not||!l&&!h.not)&&((l=h.expressions.every(function(e){var h=e.feature,l=e.modifier;e=e.value;var n=f[h];if(!n)return!1;switch(h){case "orientation":case "scan":return n.toLowerCase()=== 465e.toLowerCase();case "width":case "height":case "device-width":case "device-height":e=c(e);n=c(n);break;case "resolution":e=a(e);n=a(n);break;case "aspect-ratio":case "device-aspect-ratio":case "device-pixel-ratio":e=d(e);n=d(n);break;case "grid":case "color":case "color-index":case "monochrome":e=parseInt(e,10)||1,n=parseInt(n,10)||0}switch(l){case "min":return n>=e;case "max":return n<=e;default:return n===e}}))&&!h.not||!l&&h.not))return!0}}})(this); 466ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.store.granite.emulators - store.emulators.js"); 467(function(f){var h={defaultEmulators:[{id:"ipad",title:"iPad",type:"tablet",platform:"iOS",platformVersion:"5.1.1",width:768,height:1024,canRotate:!0,orientation:"Portrait","device-pixel-ratio":1},{id:"ipad-2",title:"iPad 2",type:"tablet",platform:"iOS",platformVersion:"8.1.3",width:768,height:1024,canRotate:!0,orientation:"Portrait","device-pixel-ratio":1},{id:"ipad-3",title:"iPad 3 / 4 / Air",type:"tablet",platform:"iOS",platformVersion:"8.1.3",width:1536,height:2048,canRotate:!0,orientation:"Portrait", 468"device-pixel-ratio":2},{id:"iphone-4",title:"iPhone 4",type:"mobile",platform:"iOS",platformVersion:"7.1.2",width:640,height:960,canRotate:!0,orientation:"Portrait","device-pixel-ratio":2},{id:"iphone-5",title:"iPhone 5",type:"mobile",platform:"iOS",platformVersion:"8.1.3",width:640,height:1136,canRotate:!0,orientation:"Portrait","device-pixel-ratio":2},{id:"iphone-6",title:"iPhone 6",type:"mobile",platform:"iOS",platformVersion:"8.1.3",width:750,height:1334,canRotate:!0,orientation:"Portrait","device-pixel-ratio":2}, 469{id:"iphone-6-plus",title:"iPhone 6 Plus",type:"mobile",platform:"iOS",platformVersion:"8.1.3",width:1080,height:1920,canRotate:!0,orientation:"Portrait","device-pixel-ratio":3},{id:"galaxy-s4",title:"Samsung Galaxy S4",type:"mobile",platform:"Android",platformVersion:"4.4.2 KitKat",width:1080,height:1920,canRotate:!0,orientation:"Portrait","device-pixel-ratio":3}]},d=function(a,c){this.config=f.extend(!0,{},h,c);c=this.getSupportedEmulators();f.extend(!0,this.config,{initialValues:{devices:c,currentDeviceId:c[0].id, 470orientations:[{id:"landscape",title:"Landscape"},{id:"portrait",title:"Portrait"}]}});this.init(a,this.config);this.mediaEmulator=null;window.Granite&&Granite.author&&Granite.author.MediaEmulator&&(this.mediaEmulator=new Granite.author.MediaEmulator(window.document));this.emulateDevice(this.getItem("currentDeviceId")||"native")};ContextHub.Utils.inheritance.inherit(d,ContextHub.Store.PersistedStore);d.prototype.detectNativeDevice=function(){var a=window.innerWidth||document.documentElement.clientWidth, 471c=window.innerHeight||document.documentElement.clientHeight,d=a>c?"Landscape":"Portrait",f=ContextHub.get("surferinfo/os/name")||"",h=ContextHub.get("surferinfo/os/version")||"";return{id:"native",title:"Native",type:"screen",width:a,height:c,orientation:d,platform:f,platformVersion:h,canRotate:!/mac os x|windows/i.test(f)}};d.prototype.getSupportedEmulators=function(){return f.merge([this.detectNativeDevice()],this.config.defaultEmulators)};d.prototype.emulateDevice=function(a){var c=a?this.getDeviceById(a): 472ContextHub.get("emulators/currentDevice");c&&this.mediaEmulator&&(this.setItem("currentDeviceId",c.id),this.setItem("currentDevice",c),"native"===a?this.mediaEmulator.restore(
472):this.mediaEmulator.applyDevice(c),this.eventing.trigger("emulating-device:"+c.id,{device:c}));return c};d.prototype.getDeviceById=function(a){var c=null,d=this.getItem("devices")||[];f.each(d,function(d,e){e.id===a&&(c=e);return null===c});return c};d.prototype.reset=function(){this.uber("reset");var a=this.getItem("currentDeviceId"); 473this.emulateDevice(a)};ContextHub.Utils.storeCandidates.registerStoreCandidate(d,"granite.emulators",0)})(ContextHubJQ);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.finalize - ContextHub.store-initialization.js"); 474(function(f,h){var d=ContextHub;h=h.ContextHubKernelConfig||{};var a=d.Shared.timers.start();d.console.log(d.Shared.timestamp(),"[+] starting registration and initialization of the stores");f.each(h.stores||{},function(a,e){var c=d.Utils.storeCandidates.getStoreFromCandidates(e);if(c)try{var f=d.Shared.timers.start(),h=d.Shared.timestamp();d.registerStore(a,new c(a,e.config));d.console.log(h,'[+] initializing "'+a+'" store ('+d.Shared.timers.finish(f)+"ms)")}catch(r){d.console.error('Store "'+e.type+ 475'" (',c,") could not be initialized:",r)}});d.console.log(d.Shared.timestamp(),"[+] all stores initialized ("+d.Shared.timers.finish(a)+"ms)")})(ContextHubJQ,window);ContextHub.console.log(ContextHub.Shared.timestamp(),"[loading] contexthub.finalize - ContextHub.finalization.js"); 476var unloadEverything=function(){if(window.ContextHub){ContextHub.eventing.disableEventing();ContextHub.eventing.unbindAllHandlers();ContextHub.SegmentEngine&&(ContextHub.SegmentEngine.SegmentManager.unregisterAllSegments(),ContextHub.SegmentEngine.ScriptManager.unregisterAllScripts());var f=ContextHub.UIFrame&&ContextHub.UIFrame[0].contentWindow;f&&f.ContextHubJQ&&(f.ContextHubJQ("*").off(),f.ContextHubJQ("html").remove());f&&(delete f.$,delete f.ContextHubJQ);delete window.ContextHubJQ;delete top.window.ContextHubJQ; 477delete top.window.ContextHub}};window.onbeforeunload=unloadEverything;window.top!==window&&(window.top.onbeforeunload=unloadEverything);ContextHub.eventing.on("ui-initialized",function(){var f=ContextHub.UIFrame&&ContextHub.UIFrame[0];f&&(f.contentWindow.onbeforeunload=unloadEverything)},"unload-handler",!0);ContextHub.console.timeStamp("contexthub.stop");ContextHub.console.timeEnd("contexthub.js");
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.