var __assign = (this && this.__assign) || function () { __assign = Object.assign || function(t) { for (var s, i = 1, n = arguments.length; i < n; i++) { s = arguments[i]; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; } return t; }; return __assign.apply(this, arguments);};var InvestingChannel=__assign(function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=5)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(7);t.Utility=i.default;var r=n(9);t.Constant=r.default;var a=n(10);t.CallbackType=a.default;var o=n(11);t.DocumentType=o.default;var s=n(12);t.FrequencyCapUnit=s.default;var c=n(13);t.FrequencyType=c.default;var u=n(14);t.InsertionType=u.default;var l=n(15);t.LoadType=l.default;var d=n(16);t.PageType=d.default;var p=n(17);t.PlacementState=p.default;var f=n(18);t.PlacementType=f.default;var m=n(19);t.ReferrerType=m.default;var h=n(20);t.TagType=h.default;var g=n(21);t.DFPTemplateParams=g.default;var y=n(22);t.DFPPlacementParams=y.default;var b=n(23);t.DeviceType=b.default;var v=n(24);t.RefreshType=v.default;var T=n(25);t.TemplateConfig=T.default;var S=n(26);t.PlacementConfig=S.default;var I=n(2);t.GDPRStatus=I.default;var E=n(27);t.ErrorType=E.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(6);t.Callback=i.default;var r=n(28);t.CustomVariable=r.default;var a=n(29);t.Frequency=a.default;var o=n(30);t.Selector=o.default;var s=n(31);t.Tag=s.default;var c=n(32);t.Targeting=c.default;var u=n(3);t.Placement=u.default;var l=n(39);t.Template=l.default;var d=n(40);t.Site=d.default},function(e,t,n){"use strict";var i;Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.APPLICABLE="APPLICABLE",e.NOT_APPLICABLE="NOT_APPLICABLE",e.INPROGRESS="INPROGRESS"}(i=t.GDPRStatus||(t.GDPRStatus={})),t.default=i},function(e,t,n){"use strict";var i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n=1||"fluid"==i||"oop"==i))return!1}return!0},e.prototype.createDAT=function(e){var t=e.getTargetName(),n=e.getSiteDFPKeyName()+"/"+t;this.mSelector.getIdentifier();for(var i=[],r=function(e){if(e.indexOf("x")>=1){var t=e.split("x");if(t.length>2)return"continue";var n=!1;if(t.forEach(function(e){Number(e)||(n=!0)}),n)return"continue";i.push(t.map(function(e){return parseInt(e,10)}))}else"fluid"==e&&i.push(e)},a=0,o=e.getAdSize().replace(/\s/g,"").toLowerCase().split(",");a-1)switch(o.replace("%%SYSTEM:","").replace("%%","")){case"TARGET":e=e.replace(o,t.getTargetName());break;case"TARGET_KVAL":e=e.replace(o,t.getTargetKval());break;case"PAGE_ID":e=e.replace(o,""+this.mTemplate.getPageId());break;case"VIEW_COUNT":e=this.mTemplate.getGDPRStatus()==c.GDPRStatus.NOT_APPLICABLE?e.replace(o,i.getFromCookie(c.Constant.VIEWCOUNTER_COOKIE_NAME_PREFIX+i.getTopWindowDomain())):e.replace(o,"-1");break;case"REFERRER_TYPE":e=e.replace(o,this.mTemplate.getReferrerType());break;case"PAGE_TYPE":e=e.replace(o,this.mTemplate.getPageType());break;case"DOCUMENT_TYPE":e=e.replace(o,this.mTemplate.getDocumentType());break;case"EXELATE_ID":e=e.replace(o,this.mTemplate.getExelateId());break;case"PAGE_URL":e=e.replace(o,c.Utility.window.top.location.href);break;case"AUTO_KVAL":e=e.replace(o,JSON.stringify(this.mTemplate.getAutoKval()));break;case"PIXEL_SEGMENT":e=e.replace(o,JSON.stringify(this.mTemplate.getPixelSegment()));break;case"USER_ID":e=e.replace(o,this.mTemplate.getUserId())}else if(o.indexOf("CUSTOM")>-1){var s=o.replace("%%CUSTOM:","").replace("%%",""),u="";r[s]&&void 0!=r[s].getValue()?u=r[s].getValue():c.Utility.ICJQuery(document).trigger("IC_JSErrorEvent",["Placement with id "+this.mId+": Either the custom variable with the name "+s+" does not exist or can't find the value of variable in a given source."]),e=e.replace(o,u)}}return e},e.prototype.getTagToDrop=function(){Math.floor(Math.random()*this.mTagsTotalWeight);for(var e=0;e.ic_1x1_css_class{width: 1px;height: 1px;}")),t="3",e="
"):(t="4",e="
")}catch(e){c.Utility.getInstance().ic_ga_event("placement.prepareCustomDiv",c.Utility.getInstance().prepareGALabel(u.Template.getAPIKey(),this.mTemplate.getPageId(),t+") "+e.message+" PlacementId: "+this.mId))}return e},e.prototype.dropCustomDiv=function(e){var t="0";try{var n=this.mTemplate.getElementForThePlacement(this.mId),i=void 0;if(t="1",!n)return;switch(i=c.Utility.ICJQuery(n),t="2",this.mSelector.getInsertionType()){case c.InsertionType.AFTER:i.after(e);break;case c.InsertionType.BEFORE:i.before(e);break;case c.InsertionType.FIRST_CHILD:i.prepend(e);break;case c.InsertionType.LAST_CHILD:i.append(e);break;case c.InsertionType.REPEAT:i.prepend(e)}}catch(e){c.Utility.getInstance().ic_ga_event("placement.dropCustomDiv",c.Utility.getInstance().prepareGALabel(u.Template.getAPIKey(),this.mTemplate.getPageId(),t+") "+e.message+" $# "+this.mId+" $# "+this.mSelector.getInsertionType()))}},e.prototype.setTargetToDFPParams=function(e){if(this.mType!=c.PlacementType.PIXEL&&e.getType()==c.TagType.DISPLAY){this.mDFPParams.setTarget(e.getTargetName());var t=[];if(null==e.getTargetKval()){var n=this.mTemplate.getTargetData(e.getTargetName());null!=n&&(t=n.kval)}else t=e.getTargetKval();if("kval"in this.mPublisherKval){var i=this.mPublisherKval.kval;Array.isArray(i)||(i=[i]),t=t.concat(i)}if("kval"in this.mTemplate.getPublisherKval()){i=this.mTemplate.getPublisherKval().kval;Array.isArray(i)||(i=[i]),t=t.concat(i)}t=c.Utility.getInstance().removeDuplicateFromArray(t),this.mDFPParams.setTargetKval(t)}},e.prototype.setAdRefreshParameters=function(){void 0==this.mDFPParams.getAdRefreshCount()||isNaN(this.mDFPParams.getAdRefreshCount())?this.mDFPParams.setAdRefreshCount(0):this.mDFPParams.setAdRefreshCount(this.mDFPParams.getAdRefreshCount()+1),this.mDFPParams.setAdRefreshType(this.mDATRefreshType)},e.prototype.updateAdPositionParametersToDFPParams=function(e){if(this.mType!=c.PlacementType.PIXEL&&e.getType()==c.TagType.DISPLAY){var t=this.prepareAdPositionsParams();null!=t.browserSize&&this.mDFPParams.setBrowserSize(t.browserSize),null!=t.absolutePosition&&this.mDFPParams.setAbsolutePosition(t.absolutePosition),null!=t.relativePosition&&this.mDFPParams.setRelativePosition(t.relativePosition)}},e.prototype.updateViewabilityAttributesToDFPParams=function(e){if(this.mType!=c.PlacementType.PIXEL&&e.getType()==c.TagType.DISPLAY)if(this.mTemplate.getDocumentType()==c.DocumentType.PAGE){var t=this.calculateViewabilityAttributes();this.mDFPParams.setFoldPosition(""+t.foldPosition),this.mDFPParams.setVisiblePercentage(""+t.visiblePercentage)}else this.mDFPParams.setFoldPosition("-1"),this.mDFPParams.setVisiblePercentage("-1")},e.prototype.updateAdxParametersToDFPParams=function(){var e="e"+Math.floor(10*Math.random());this.mDFPParams.setAdxRandomNumber(e),this.mDFPParams.setAdxHour((new Date).getUTCHours().toString())},e.prototype.updateAdomikParametersToDFPParams=function(e){if(this.mType!=c.PlacementType.PIXEL&&e.getType()==c.TagType.DISPLAY&&this.mTemplate.isAdomikEnable()){this.mDFPParams.setAdomikRandomNumber(c.Utility.getInstance().adomikRandomAdGroup()),this.mDFPParams.setAdomikHour((new Date).getUTCHours().toString());var t=Math.random(),n=t<.1?t<.09?"e"+Math.floor(200*t):"b":"o";this.mDFPParams.setAdxRandomNumber(n),this.mDFPParams.setAdxHour((new Date).getUTCHours().toString())}},e.prototype.getLogParams=function(e,t){var n=e.getId(),r=this.mId;"ADVANCE"==this.mPublisherType&&(n=null,r=null);var a={publisherType:this.mPublisherType,pageId:""+this.mTemplate.getPageId(),rnd:""+this.mRandomNumber,apiKey:u.Template.getAPIKey(),placementId:""+r,placementType:this.mType,tagId:""+n,tagType:e.getType(),logType:t,documentType:this.mTemplate.getDocumentType(),device:this.mTemplate.getDeviceType(),sitename:"",adsize:"",dfpKval:encodeURIComponent("bs:"+c.Utility.getInstance().getBrowserSize()),atStatus:this.mTemplate.getAutoTargetStatus(),refererUrl:encodeURIComponent(this.mTemplate.getReferer()),pageUrl:encodeURIComponent(this.mTemplate.getUrl()),renderType:""};if(this.mType==c.PlacementType.HTML&&(a.renderType=this.mSelector.getInsertionType(),e.getType()==c.TagType.DISPLAY)){this.updateViewabilityAttributesToDFPParams(e),this.updateAdPositionParametersToDFPParams(e),a.sitename=e.getSiteDFPKeyName()+"/"+e.getTargetName(),a.adsize=e.getAdSize();var o={},s=this.getTickerValues(e),l=this.mTemplate.getParametersForDFP();o=s.length>0?i(i(i(i(i(i({},this.mPublisherKval),this.mDFPParams),this.mDFPDMPParams),this.mDFPSSPParams),l),{t:s}):i(i(i(i(i({},this.mPublisherKval),this.mDFPParams),this.mDFPDMPParams),this.mDFPSSPParams),l);var d="";for(var p in o)"tl"!=p&&"rnd"!=p&&"pageId"!=p&&"dt"!=p&&"d"!=p&&"referer"!=p&&(d+=p+":"+o[p]+";");a.dfpKval=d.length>0?encodeURIComponent(d.replace(/;\s*$/,"")):d}return a},e.prototype.sspCallback=function(e){if(e&&e.markit)for(var t in e.markit)this.mDFPSSPParams[t]=""+e.markit[t]},e.prototype.prepareUAT5Key=function(){"uat5"in this.mPublisherKval||(this.mPublisherKval.uat5=["true"]);var e=c.Constant.ENVIRONMENT;"prod"!=e&&-1==this.mPublisherKval.uat5.indexOf(e)&&this.mPublisherKval.uat5.push(e),-1==this.mPublisherKval.uat5.indexOf("srt_v2")&&-1==this.mPublisherKval.uat5.indexOf("srt_v1")&&(this.mIsSortableV2Enable?this.mPublisherKval.uat5.push("srt_v2"):this.mTemplate.isSortableV2Enable()&&this.mPublisherKval.uat5.push("srt_v1"))},e.prototype.prepareDFPParams=function(e){var t=this;if(this.mDFPSSPParams={},this.prepareUAT5Key(),"ADVANCE"!=this.mPublisherType&&this.mDFPParams.setTagId(e.getId()),!e.isOOPUnit()){if(this.updateViewabilityAttributesToDFPParams(e),this.updateAdPositionParametersToDFPParams(e),null!=l.SSP.getInstance()){var n=void 0;if(n=this.mIsSortableV2Enable?l.SSP.getInstance().getBids(this.mICDivId,this.sspCallback.bind(this)):l.SSP.getInstance().getBids(this.mICDivId)){if(n.a9)for(var i in n.a9)this.mDFPSSPParams[i]=""+n.a9[i];if(n.prebid){if(n.prebid.appnexus)for(var i in n.prebid.appnexus)this.mDFPSSPParams[i]=""+n.prebid.appnexus[i];if(n.prebid.sortable)for(var i in n.prebid.sortable)this.mDFPSSPParams[i]=""+n.prebid.sortable[i];if(n.prebid.rubicon)for(var i in n.prebid.rubicon)this.mDFPSSPParams[i]=""+n.prebid.rubicon[i];if(n.prebid.pubmatic)for(var i in n.prebid.pubmatic)this.mDFPSSPParams[i]=""+n.prebid.pubmatic[i];if(n.prebid.openx)for(var i in n.prebid.openx)this.mDFPSSPParams[i]=""+n.prebid.openx[i]}if(n.index)for(var i in n.index)this.mDFPSSPParams[i]=""+n.index[i];if(n.criteo)for(var i in n.criteo)this.mDFPSSPParams[i]=""+n.criteo[i];if(n.markit)for(var i in n.markit)this.mDFPSSPParams[i]=""+n.markit[i]}}if(this.mTemplate.isPredictiveEnabled()){var r=this.mTemplate.getPredictiveValue(this,this.mDATRefreshType,this.getSSPAdSizes());if(r)for(var i in r)if(r.hasOwnProperty(i)){var a="ml_"+s[i],o=10*Math.round(r[i]/10);this.mDFPSSPParams[a]=""+o}}}try{this.mTemplate.isKruxScriptDropped()&&c.Utility.window.Krux&&(c.Utility.window.Krux.user||c.Utility.window.ic_krux_getuserid(),this.mDFPDMPParams.kuid=c.Utility.window.Krux.user,!c.Utility.window.Krux.user&&this.mIsSortableV2Enable&&(this.mKruxTimeoutInstance=setTimeout(function(){return t.getKruxData()},this.mTemplate.getKruxTimeout())))}catch(e){}},e.prototype.getKruxData=function(){var e=this;c.Utility.window.ic_krux_getuserid(),c.Utility.window.Krux.user?(this.mDFPDMPParams.kuid=c.Utility.window.Krux.user,clearInterval(this.mKruxTimeoutInstance)):this.mKruxTimeoutInstance=setTimeout(function(){return e.getKruxData()},this.mTemplate.getKruxTimeout())},e.prototype.validateSSP=function(e,t){var n=this;if(this.mTemplate.getGDPRStatus()==c.GDPRStatus.NOT_APPLICABLE){var i=(new Date).valueOf()-this.mTemplate.getLastDFPCallTime();if(i0){var o=this.mTemplate.getPredictiveValue(this,this.mDATRefreshType,a);r=this.mTemplate.isSspHVPlacement(o)}}l.SSP.getInstance().refreshBids(this.mICDivId,this.mDATRefreshType,r),this.mSSPFetchBidsStartTime=(new Date).getTime()}var s=t?+this.mTemplate.getSSPConfig().totalDelayRefresh:+this.mTemplate.getSSPConfig().totalDelay;this.waitForSSP(e,s,t,!0)}}else t?this.refreshDisplayTag(e):this.renderDisplayTag(e)},e.prototype.waitForSSP=function(e,t,n,i){var r=this,a=t-((new Date).getTime()-this.mSSPFetchBidsStartTime);if((!l.SSP.getInstance()||"RECEIVED"!=l.SSP.getInstance().getStatus(this.mICDivId)&&"NOT_APPLICABLE"!=l.SSP.getInstance().getStatus(this.mICDivId))&&a>0){var o=+this.mTemplate.getSSPConfig().delayStep;o=i?Math.round(a/2.5):o>a?a:o,this.mWaitForSSPTimeout=setTimeout(function(){r.waitForSSP(e,t,n,!1)},o)}else clearInterval(this.mWaitForSSPTimeout),this.mSSPFetchBidsStartTime=0,n?this.refreshDisplayTag(e):this.renderDisplayTag(e)},e.prototype.getTickerValues=function(e){var t=[];try{"t"in this.mPublisherKval&&(t=t.concat(this.mPublisherKval.t.join().toUpperCase().split(","))),"t"in this.mDFPSSPParams&&(t=t.concat(this.mDFPSSPParams.t.toUpperCase().split(",")));var n=this.mTemplate.getParametersForDFP();"t"in n&&(t=t.concat(n.t.toUpperCase().split(",")))}catch(e){}return t=c.Utility.getInstance().removeDuplicateFromArray(t)},e.prototype.renderDisplayTag=function(e){var t=this;if(this.mDATRefreshType=c.RefreshType.ONLOAD,e.getTargetName().indexOf(".bottom")>0&&!this.mTemplate.eligibleForBottomZoning(this)){if(e.disableBottomZoning(),e.getDAT()){var n=e.getDAT(),r=n.getTargeting();n.destroy(),n=this.createDAT(e),e.setDAT(n),e.getSizeMapping()&&e.getDAT().defineSizeMapping(e.getSizeMapping()),n.setTargeting(r)}this.mDFPParams.setTarget(e.getTargetName())}e.getDAT()||(e.setDAT(this.createDAT(e)),e.getSizeMapping()&&e.getDAT().defineSizeMapping(e.getSizeMapping())),this.prepareDFPParams(e);var a=e.getDAT(),o=this.getTickerValues(e),s=this.mTemplate.getParametersForDFP(),u=i(i({},this.mTemplate.getPublisherKval()),this.mPublisherKval);if(o.length>0?a.setTargeting(i(i(i(i(i(i({},u),this.mDFPParams),this.mDFPDMPParams),this.mDFPSSPParams),s),{t:o})):a.setTargeting(i(i(i(i(i({},u),this.mDFPParams),this.mDFPDMPParams),this.mDFPSSPParams),s)),this.mTemplate.getDocumentType()==c.DocumentType.IFRAME){a.setTargetingByKey("rft",[""])}if(this.mIsSortableV2Enable){var d=l.SortableV2.getInstance(),p=l.DATManager.getInstance();d&&p&&(d.display(a),d.refresh([a],!0))}else this.mTemplate.isSingleRequestEnabled()?this.mLoadType==c.LoadType.ON_VIEW?this.mTemplate.readyToRender(this.mICDivId,this.mLoadType,e):this.mTemplate.readyToRender(this.mICDivId,this.mLoadType):a.render();e.isOOPUnit()||(this.mTargetRuleTimeoutInstance=setTimeout(function(){return t.executeTargetRules(e)},this.mTemplate.getTargetRulesTimeout()))},e.prototype.refreshDisplayTag=function(e){this.prepareDFPParams(e);var t=e.getDAT();t.clearTargeting();var n=this.getTickerValues(e),a=this.mTemplate.getParametersForDFP(),o=i(i({},this.mTemplate.getPublisherKval()),this.mPublisherKval);if(n.length>0?t.setTargeting(i(i(i(i(i(i({},o),this.mDFPParams),this.mDFPDMPParams),this.mDFPSSPParams),a),{t:n})):t.setTargeting(i(i(i(i(i({},o),this.mDFPParams),this.mDFPDMPParams),this.mDFPSSPParams),a)),this.mIsSortableV2Enable){var s=l.SortableV2.getInstance();s&&s.refresh([t],!1)}else this.mTemplate.isSingleRequestEnabled()?this.mTemplate.readyToRefresh(this.mICDivId):(this.mTemplate.setLastDFPCallTime((new Date).valueOf()),t.refresh());this.mDATAdRefreshTimerStartTime=0,this.mDATAdRefreshTimerStopTime=0,this.mDATNotInViewTime=0,this.mDATInViewTime=0,this.mDATSlotRendered=!1,this.mDATAdRefreshState=r.STOP,this.mIsDATAdIndirectAdvertiser=!1,this.mDATAdRefreshTimerInstance},e.prototype.dropTag=function(e,t){t&&c.Utility.ICJQuery(document).trigger("Callback_Preload_"+this.mRandomNumber);var n=this.replaceMacros(e.getScript(),e);if(this.mType==c.PlacementType.PIXEL)c.Utility.ICJQuery("head").prepend(n),c.Utility.getInstance().pushToReportLog(this.getLogParams(e,o.SERVED));else{if(void 0==this.mSelector)return;switch(e.getType()){case c.TagType.CUSTOM:c.Utility.ICJQuery("#"+this.mICDivId).append(n),c.Utility.getInstance().pushToReportLog(this.getLogParams(e,o.SERVED));break;case c.TagType.DISPLAY:t?this.mIsSortableV2Enable?this.renderDisplayTag(e):this.validateSSP(e,!1):this.mIsSortableV2Enable?this.refreshDisplayTag(e):this.validateSSP(e,!0);break;case c.TagType.NATIVE:case c.TagType.VIDEO:}}t&&(c.Utility.ICJQuery(document).trigger("Callback_Postload_"+this.mRandomNumber),c.Utility.ICJQuery(document).trigger("Callback_OnViewport_"+this.mRandomNumber,[this.mICDivId])),this.mState=c.PlacementState.LOADED},e.prototype.saveToStorage=function(e,t){var n=c.Utility.getInstance();n.isLocalStorageSupported()?n.saveToLocalStorage(e,t):n.saveToCookie(e,t)},e.prototype.getFromStorage=function(e){var t=c.Utility.getInstance();return t.isLocalStorageSupported()?t.getFromLocalStorage(e):t.getFromCookie(e)},e.prototype.deleteFromStorage=function(e){var t=c.Utility.getInstance();t.isLocalStorageSupported()?t.deleteFromLocalStorage(e):t.deleteFromCookie(e)},e.prototype.displayTag=function(e){var t=this;if(this.mState=c.PlacementState.INITIALIZED,this.mLastRenderedTagType=this.mTagToRender.getType(),this.mType==c.PlacementType.HTML){if(e&&!c.Utility.ICJQuery("#"+this.mICDivId).length){var n=this.prepareCustomDiv();this.dropCustomDiv(n)}this.mTagToRender.getType()!=c.TagType.DISPLAY||!this.mTemplate.isSingleRequestEnabled()||e||this.mIsSortableV2Enable||this.mTemplate.addTagToRefreshArray(this.mICDivId,this.mTagToRender)}switch(this.setTargetToDFPParams(this.mTagToRender),this.updateAdxParametersToDFPParams(),this.updateAdomikParametersToDFPParams(this.mTagToRender),this.setAdRefreshParameters(),e&&c.Utility.getInstance().pushToReportLog(this.getLogParams(this.mTagToRender,o.PROBABLE)),this.mLoadType){case c.LoadType.ON_LOAD:"complete"==document.readyState?this.dropTag(this.mTagToRender,e):c.Utility.ICJQuery(window).on("load",function(){t.dropTag(t.mTagToRender,e)});break;case c.LoadType.ON_VIEW:var i=c.Utility.getInstance(),r=this.mTemplate.getOnViewBufferPercentage();i.isInViewport("#"+this.mICDivId,0)?this.dropTag(this.mTagToRender,e):c.Utility.ICJQuery(document).on("scroll."+this.mRandomNumber,function(n){i.isInViewport("#"+t.mICDivId,r)&&(c.Utility.ICJQuery(document).off("scroll."+t.mRandomNumber),t.dropTag(t.mTagToRender,e))});break;case c.LoadType.ON_REALTIME:case c.LoadType.CUSTOM:this.dropTag(this.mTagToRender,e)}},e.prototype.getAbsolutePosition=function(e){var t=e.getBoundingClientRect();return null==t||void 0==t||0==t.top&&0==t.left&&0==t.right&&0==t.bottom?null:void 0!==pageXOffset?Math.round(t.left+pageXOffset)+"x"+Math.round(t.top+pageYOffset):Math.round(t.left+document.documentElement.scrollLeft)+"x"+Math.round(t.top+document.documentElement.scrollTop)},e.prototype.getRelativePosition=function(e){var t=e.getBoundingClientRect();return null==t||void 0==t||0==t.top&&0==t.left&&0==t.right&&0==t.bottom?null:Math.round(t.left)+"x"+Math.round(t.top)},e.prototype.prepareAdPositionsParams=function(){var e=null,t=null,n=null;if(this.mTemplate.getDocumentType()==c.DocumentType.PAGE){e=c.Utility.getInstance().getBrowserSize();var i=document.getElementById(this.mICDivId),r=this.getAbsolutePosition(i),a=this.getRelativePosition(i);r&&(t=r),a&&(n=a)}return{browserSize:e,absolutePosition:t,relativePosition:n}},e.prototype.getVisibleAreaPercentage=function(e,t,n){try{if(!c.Utility.ICJQuery(e).is(":visible"))return-2}catch(e){}var i=e.getBoundingClientRect(),r=c.Utility.getInstance().clientWindowHeight(),a=c.Utility.getInstance().clientWindowWidth(),o=i.top+Number(n),s=i.left+Number(t),u=i.top<0?0:i.top,l=i.left<0?0:i.left;u=u>r?r:u,l=l>a?a:l;var d=o<0?0:o,p=s<0?0:s;return((d=d>r?r:d)-u)*((p=p>a?a:p)-l)/(Number(n)*Number(t))*100},e.prototype.calculateViewabilityAttributes=function(){var e="300x250",t=this.getNonNullPrimaryAdSize(),n=document.getElementById(this.mICDivId);t.indexOf("x")>=0&&!isNaN(+t.split("x")[0])&&!isNaN(+t.split("x")[1])&&(e=t);var i=e.split("x")[0],r=e.split("x")[1];n.setAttribute("style","display: block; min-width: "+i+"px; min-height: "+r+"px;");var a=this.getVisibleAreaPercentage(n,+i,+r);a>=0&&(a=10*Math.ceil(a/10)),n.setAttribute("style","");var o=0;return a<=-1?o=a:a>=c.Constant.FOLDPOSITION_TOLERANCE&&(o=1),{foldPosition:o,visiblePercentage:a}},e.prototype.setWaitingForTarget=function(e){this.mWaitingForTarget=e},e.prototype.getWaitingForTarget=function(){return this.mWaitingForTarget},e.prototype.initialiseObject=function(e){var t="0";try{this.mICDivId="investingchannel_div_"+this.mRandomNumber,t="1",this.mStorageKey="IC_Placement_"+this.mId,t="2",this.mState=c.PlacementState.UNKNOWN,t="3",this.mDFPParams=new c.DFPPlacementParams,t="4",this.mDFPParams.setRandomNumber(this.mRandomNumber),t="5",this.mDFPParams.setTile(e),t="6",this.mDFPParams.setPosition(this.mTemplate.calculatePosition(this.getNonNullPrimaryAdSize(),this.mRandomNumber)),t="7";for(var n=0;n1&&i.getType()==c.TagType.DISPLAY&&i.enableBottomZoning(),t="9."+n,t="11."+n,i.getPublisherKVal()){var r=i.getPublisherKVal().split("&");t="12."+n;for(var a=0;a0?this.mDATAdRefreshTimerStartTime-this.mDATAdRefreshTimerStopTime:0;this.mDATNotInViewTime+=t;var n=this.mTemplate.getAutoRefreshConfig().RefreshTime,i=this.mTemplate.getAutoRefreshConfig().OutOfViewTime;this.mIsDATAdIndirectAdvertiser&&(n=this.mTemplate.getAutoRefreshConfig().RefreshTimeIndirect,i=this.mTemplate.getAutoRefreshConfig().OutOfViewTimeIndirect),t>i?(this.mDATRefreshType=c.RefreshType.ACTIVEWINDOW,this.displayTag(!1)):this.mDATAdRefreshTimerInstance=setTimeout(function(){e.mDATRefreshType=c.RefreshType.TIME,e.displayTag(!1)},n-this.mDATInViewTime),this.mDATAdRefreshState=r.START}},e.prototype.stopRefreshTimer=function(){this.mDATAdRefreshState==r.START&&(this.mDATAdRefreshTimerStopTime=(new Date).valueOf(),this.mDATInViewTime=this.mDATInViewTime+(this.mDATAdRefreshTimerStopTime-this.mDATAdRefreshTimerStartTime),clearInterval(this.mDATAdRefreshTimerInstance),this.mDATAdRefreshState=r.STOP)},e.prototype.evaluateAdRefresh=function(e){if(this.mIsAutoRefreshEnabled&&2==this.mDATRenderedAdSize.length){var t=this.mDATRenderedAdSize[0]+"x"+this.mDATRenderedAdSize[1];if(!(this.mDFPParams.getAdRefreshCount()>=this.mTemplate.getAutoRefreshConfig().MaxRefreshCount||0!=this.mTemplate.getAutoRefreshConfig().EnabledAdSizes.length&&-1===this.mTemplate.getAutoRefreshConfig().EnabledAdSizes.indexOf(t))){var n=this.mTemplate.getAutoRefreshConfig().ViewabilityThresholdPercentage;if(this.mIsDATAdIndirectAdvertiser&&(n=this.mTemplate.getAutoRefreshConfig().ViewabilityThresholdPercentageIndirect),"300x1050"==t){if(!this.mIsDATAdIndirectAdvertiser)return void(this.mIsAutoRefreshEnabled=!1);n*=.6}e>=n?this.startRefreshTimer():this.stopRefreshTimer()}}},e.prototype.windowEventHandler=function(e){if(this.mIsAutoRefreshEnabled){var t=document.getElementById(this.mICDivId);if(t)if(e==a.BLUR)this.mActiveBrowserWindow=!1,this.mDATSlotRendered&&this.evaluateAdRefresh(0);else if(e==a.FOCUS&&(this.mActiveBrowserWindow=!0),this.mDATSlotRendered&&this.mActiveBrowserWindow){var n=this.getVisibleAreaPercentage(t,this.mDATRenderedAdSize[0],this.mDATRenderedAdSize[1]);this.evaluateAdRefresh(n)}}},e.prototype.registerWindowEvent=function(){var e=this;this.mTemplate.getDocumentType()==c.DocumentType.PAGE&&(this.mScrollEvent=function(){e.windowEventHandler(a.SCROLL)},this.mResizeEvent=function(){e.windowEventHandler(a.RESIZE)},this.mFocusEvent=function(){e.windowEventHandler(a.FOCUS)},this.mBlurEvent=function(){e.windowEventHandler(a.BLUR)},c.Utility.window.attachEvent?(c.Utility.window.attachEvent("onscroll",this.mScrollEvent,!0),c.Utility.window.attachEvent("onresize",this.mResizeEvent,!1),c.Utility.window.attachEvent("onfocus",this.mFocusEvent,!1),c.Utility.window.attachEvent("onblur",this.mBlurEvent,!1)):(c.Utility.window.addEventListener("scroll",this.mScrollEvent,!0),c.Utility.window.addEventListener("resize",this.mResizeEvent,!1),c.Utility.window.addEventListener("focus",this.mFocusEvent,!1),c.Utility.window.addEventListener("blur",this.mBlurEvent,!1)))},e.prototype.unregisterWindowEvent=function(){this.mTemplate.getDocumentType()==c.DocumentType.PAGE&&(c.Utility.window.detachEvent?(c.Utility.window.detachEvent("onscroll",this.mScrollEvent,!0),c.Utility.window.detachEvent("onresize",this.mResizeEvent,!1),c.Utility.window.detachEvent("onfocus",this.mFocusEvent,!1),c.Utility.window.detachEvent("onblur",this.mBlurEvent,!1)):(c.Utility.window.removeEventListener("scroll",this.mScrollEvent,!0),c.Utility.window.removeEventListener("resize",this.mResizeEvent,!1),c.Utility.window.removeEventListener("focus",this.mFocusEvent,!1),c.Utility.window.removeEventListener("blur",this.mBlurEvent,!1)))},e.prototype.executeTargetRules=function(e){if(clearInterval(this.mTargetRuleTimeoutInstance),e.isForcedTargetEnabled()||null==this.mTemplate.getGlobalTarget())if(null!=e.getTargetRule())this.mTemplate.executeTargetRules(e.getTargetName(),e.getTargetRule());else{var t=this.mTemplate.getTargetData(e.getTargetName());null!=t&&this.mTemplate.executeTargetRules(e.getTargetName(),t.rules)}else this.mTemplate.dropGlobalTargetRules()},e.prototype.eventDATSlotRenderEnded=function(e){this.mDATSlotRendered=!e.isEmpty,this.mDATRenderedAdSize=e.size,this.mTemplate.getDocumentType()!=c.DocumentType.PAGE?this.mIsAutoRefreshEnabled=!1:(this.mIsDATAdIndirectAdvertiser=this.mTemplate.getAutoRefreshConfig().AdvertisersIndirect.indexOf(e.advertiserId)>=0,this.mTemplate.getAutoRefreshConfig().DisabledCampaigns.indexOf(e.campaignId)>=0&&(this.mIsAutoRefreshEnabled=!1)),this.mDATSlotRendered||c.Utility.ICJQuery(document).trigger("Callback_Blank_"+this.mRandomNumber)},e.prototype.eventDATImpressionViewable=function(e,t){var n=document.getElementById(this.mICDivId);if(n&&(c.Utility.getInstance().pushToReportLog(this.getLogParams(e,o.VIEWED)),!e.isOOPUnit()&&this.mDATSlotRendered&&this.mActiveBrowserWindow&&void 0!==this.mDATRenderedAdSize&&this.mDATRenderedAdSize.length>1)){var i=n.querySelectorAll("iframe[id^=google_ads_iframe_]");if(!i||i.length<1)return;var r=i[0];if(r){var a=this.getVisibleAreaPercentage(r,this.mDATRenderedAdSize[0],this.mDATRenderedAdSize[1]);this.evaluateAdRefresh(Math.round(a))}}},e.prototype.eventDATSlotVisibilityChanged=function(e){this.mDATSlotRendered&&this.mActiveBrowserWindow&&this.evaluateAdRefresh(e.inViewPercentage)},e.prototype.eventDATSlotRequested=function(e,t){c.Utility.getInstance().pushToReportLog(this.getLogParams(e,o.SERVED)),this.mKruxTimeoutInstance&&clearInterval(this.mKruxTimeoutInstance)},e.prototype.getId=function(){return this.mId},e.prototype.getState=function(){return this.mState},e.prototype.getSelector=function(){return this.mSelector},e.prototype.isParent=function(){return this.mIsParent},e.prototype.makeChild=function(){this.mIsParent=!1},e.prototype.getPriority=function(){return this.mPriority},e.prototype.getLoadType=function(){return this.mLoadType},e.prototype.getDivId=function(){return this.mICDivId},e.prototype.getPublisherType=function(){return this.mPublisherType},e.prototype.getTagToRender=function(){return this.mTagToRender},e.prototype.isEligibleForRendering=function(e){if(this.mState!=c.PlacementState.UNKNOWN&&this.mState!=c.PlacementState.SELECTOR_NOT_LOADED&&this.mState!=c.PlacementState.SELECTOR_LOADED)return!1;if(e&&this.mLoadType==c.LoadType.CUSTOM)return!1;if(void 0!=this.mTargeting&&!this.mTargeting.isIsPlacementEligibleForRendering())return!1;if(this.mFrequency){var t=this.getFromStorage(this.mStorageKey);if(t){t=JSON.parse(t);var n=new Date(t.dateTime);switch(this.mFrequency.getUnit()){case c.FrequencyCapUnit.MILLISECONDS:n.setMilliseconds(n.getMilliseconds()+this.mFrequency.getDuration());break;case c.FrequencyCapUnit.SECONDS:n.setSeconds(n.getSeconds()+this.mFrequency.getDuration());break;case c.FrequencyCapUnit.MINUTES:n.setMinutes(n.getMinutes()+this.mFrequency.getDuration());break;case c.FrequencyCapUnit.HOURS:n.setHours(n.getHours()+this.mFrequency.getDuration());break;case c.FrequencyCapUnit.DAYS:n.setDate(n.getDate()+this.mFrequency.getDuration());break;case c.FrequencyCapUnit.WEEKS:n.setDate(n.getDate()+7*this.mFrequency.getDuration());break;case c.FrequencyCapUnit.MONTHS:n.setMonth(n.getMonth()+this.mFrequency.getDuration());break;case c.FrequencyCapUnit.YEARS:n.setFullYear(n.getFullYear()+this.mFrequency.getDuration())}if(n>new Date){if(Number(t.count)>=this.mFrequency.getCap())return this.mState=c.PlacementState.CAPPING_EXPIRED,!1}else this.deleteFromStorage(this.mStorageKey)}}if(this.mType!=c.PlacementType.HTML)return!0;if("ADVANCE"==this.mPublisherType&&"COMPLETED"!=this.mTemplate.getTargetStatus(this.mTagToRender.getTargetName())&&!this.mTemplate.getGlobalTarget())return console.log("**** Not eligible because of Target"),!1;if(this.mTagToRender.getType()==c.TagType.DISPLAY&&""==this.mTagToRender.getAdSize())return this.mState=c.PlacementState.TAG_NOT_AVAILABLE,!1;if(!this.mIsParent)return!0;var i=c.Utility.getInstance();if(void 0!=this.mSelector&&i.isSelectorLoaded(this.mSelector.getIdentifier(),this.mTemplate.getPageId(),this.mId,this.mRandomNumber)){if(this.mState=c.PlacementState.SELECTOR_LOADED,!c.Utility.ICJQuery("#"+this.mICDivId).length){var r=this.prepareCustomDiv();this.dropCustomDiv(r)}return!0}return this.mState=c.PlacementState.SELECTOR_NOT_LOADED,this.mLoadType==c.LoadType.CUSTOM&&this.mTemplate.pushPlacementErrorLog(this.mId,this.mType,this.mRandomNumber,this.getPublisherType(),c.ErrorType.SELECTOR_NOT_FOUND),!1},e.prototype.isEligibleForRefreshing=function(){return(this.mState==c.PlacementState.LOADED||this.mState==c.PlacementState.VIEWED)&&this.mType==c.PlacementType.HTML},e.prototype.render=function(){var e=l.DATManager.getInstance();if(null!=e&&e.initialLoadDisabled()&&this.mTagToRender.getType()==c.TagType.DISPLAY&&(this.mTagToRender.setDAT(this.createDAT(this.mTagToRender)),this.mTagToRender.getSizeMapping()&&this.mTagToRender.getDAT().defineSizeMapping(this.mTagToRender.getSizeMapping())),this.mLoadType==c.LoadType.CUSTOM&&this.mTemplate.addTagToRenderArray(this.mICDivId,this.mTagToRender,this.mLoadType),this.mSSPFetchBidsStartTime=this.mTemplate.getSSPFetchBidsStartTime(),this.mFrequency){var t=this.getFromStorage(this.mStorageKey),n={};if(t){t=JSON.parse(decodeURIComponent(t));var i=new Date(t.dateTime),r=Number(t.count);++r,n.count=r,n.dateTime=i}else n.count=1,n.dateTime=new Date;this.saveToStorage(this.mStorageKey,JSON.stringify(n))}this.displayTag(!0)},e.prototype.getLastRenderedTagType=function(){return this.mLastRenderedTagType},e.prototype.refresh=function(){this.mDATRefreshType=c.RefreshType.MANUAL,this.displayTag(!1)},e.prototype.clear=function(){c.Utility.ICJQuery("#"+this.mICDivId).length&&c.Utility.ICJQuery("#"+this.mICDivId).remove()},e.prototype.destroy=function(){for(var e=0,t=this.mTags;e=0||(e=e.concat(n.split(",")))}return e},e.prototype.getPosition=function(){return this.mDFPParams?this.mDFPParams.getPosition():null},e.prototype.getTile=function(){return this.mDFPParams?this.mDFPParams.getTile():null},e.prototype.getType=function(){return this.mType},e.prototype.getRandomNumber=function(){return this.mRandomNumber},e.prototype.getRawData=function(){return this.mCorePlacement},e.prototype.isSortableV2Enable=function(){return this.mIsSortableV2Enable},e}();t.default=d,function(e){e.STOP="STOPPED",e.START="STARTED"}(r||(r={})),function(e){e.SCROLL="SCROLL",e.RESIZE="RESIZE",e.FOCUS="FOCUS",e.BLUR="BLUR"}(a||(a={})),function(e){e.SERVED="S",e.VIEWED="V",e.PROBABLE="P"}(o||(o={})),function(e){e["160x600"]="16",e["250x250"]="22",e["320x50"]="35",e["300x250"]="32",e["300x600"]="36",e["300x1050"]="31",e["468x60"]="46",e["728x90"]="79",e["970x90"]="99",e["970x250"]="92",e["320x100"]="30"}(s||(s={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(33);t.DAT=i.default;var r=n(34);t.SSP=r.default;var a=n(36);t.DMP=a.default;var o=n(37);t.DATManager=o.default;var s=n(38);t.SortableV2=s.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),r=n(0);function a(e,t,n){n?(ga("create",n,"auto","UAT5JS"),ga("UAT5JS.send",{hitType:"event",eventCategory:"UAT 5 v1.9",eventAction:e,eventLabel:t})):(ga("create","UA-136075674-1","auto","UAT5UATJS"),ga("UAT5UATJS.send",{hitType:"event",eventCategory:"UAT 5 v1.9",eventAction:e,eventLabel:t}))}function o(){return!!document.querySelector("[alt='ZeroHedge']")}t.gaNewElem={},t.gaElems={},function(){var e=new Date;!function(t,n,i,r,a,o,s){t.GoogleAnalyticsObject=a,t.ga=t.ga||function(){(t.ga.q=t.ga.q||[]).push(arguments)},t.ga.l=1*e,o=n.createElement(i),s=n.getElementsByTagName(i)[0],o.async=1,o.src="//www.google-analytics.com/analytics.js",s.parentNode.insertBefore(o,s)}(window,document,"script",0,"ga",t.gaNewElem,t.gaElems)}();var s,c,u=[];function l(){for(;InvestingChannelQueue.length>0;)InvestingChannelQueue.shift()();if(s){s.queueProcessed();!function(e,t){e.push=function(n){Array.prototype.push.call(e,n),t(e)}}(InvestingChannelQueue,function(e){if(s.isAPIReady())for(;InvestingChannelQueue.length>0;)InvestingChannelQueue.shift()();else d(!1)})}}function d(e){if(void 0===e&&(e=!0),window.InvestingChannelQueue=window.InvestingChannelQueue||[],InvestingChannelQueue.length>0){if(e||(InvestingChannelQueue.push=function(e){Array.prototype.push.call(InvestingChannelQueue,e)}),InvestingChannelQueue.shift()(),!s)return;s.isAPIReady()?l():s.apiReady(l)}else InvestingChannelQueue.push=function(e){Array.prototype.push.call(InvestingChannelQueue,e),d(!1)},a("uat.js - error","Not able to process queue "+(o()?"ZeroHedge":"Other"),"UA-136075674-2")}!function(e){var t=function(){function e(){this.mTemplates=[],this.mTemplateConfig={}}return e.newPage=function(t,n){return void 0==s&&(c=t,s=new e),s.loadPage(n)},e.prototype.loadPage=function(e){var t=s.getTemplateForUrl(window.location.href);if(null==t){s.mTemplate&&(this.mTemplateConfig=s.mTemplate.getConfig());var n=void 0;e&&(n=e),s.mTemplate=new i.Template(c,n),s.mTemplates.push(s.mTemplate),this.mTemplateConfig&&s.mTemplate.setConfig(this.mTemplateConfig)}else s.mTemplate=t,s.mTemplate.resetObject();return s},e.prototype.getTemplateForUrl=function(e){for(var t=0;t0)for(var s=0;s0)for(var o=0;o0&&this.mTemplate.renderAdvancePlacements(t)}catch(e){s=this.mTemplate?this.mTemplate.getPageId():"null";i.Template.pushAPILog(r.ErrorType.PAGE_RENDERTAG_FAILED,"("+e.message+")",s)}else i.Template.pushAPILog(r.ErrorType.PAGE_OBJECT_NOT_FOUND,"(page.renderTags())")},e.prototype.refreshTags=function(e){if(this.mTemplate)try{if(e&&Array.isArray(e))for(var t=0;t0?this.mPlacements[0].getRandomNumber():null},e.prototype.render=function(){try{this.mPlacements.length>0&&this.mTemplate&&this.mTemplate.renderAdvancePlacements(this.mPlacements)}catch(o){for(var e=0;e-1&&-1!==i.indexOf(".js",i.length-".js".length))return e[n]}catch(e){a("uat.js","Error while parcing the script src on "+(o()?"ZeroHedge":"Other"))}return null}();null!=p?p.addEventListener("load",function(){d()}):(console.warn("IC: Not able to add load event...."),a("uat.js","Not able to add load event "+(o()?"ZeroHedge":"Other")))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),r=function(){function e(e,t){this.mCallbackid=e.callbackid,this.mScript=e.script,this.mType=e.type,this.registerEvent(t)}return e.prototype.registerEvent=function(e){var t=this;switch(this.mType){case i.CallbackType.PRELOAD:i.Utility.ICJQuery(document).on("Callback_Preload_"+e,function(){return t.loadScript()});break;case i.CallbackType.POSTLOAD:i.Utility.ICJQuery(document).on("Callback_Postload_"+e,function(){return t.loadScript()});break;case i.CallbackType.ON_VIEWPORT:i.Utility.ICJQuery(document).on("Callback_OnViewport_"+e,function(n,r){var a=i.Utility.getInstance();a.isInViewport("#"+r,null)?t.loadScript():i.Utility.ICJQuery(document).on("resize scroll."+e,function(){a.isInViewport("#"+r,null)&&(i.Utility.ICJQuery(document).off("resize scroll."+e),t.loadScript())})});break;case i.CallbackType.ON_DOMLOAD:"complete"===document.readyState?this.loadScript():window.onload=function(){t.loadScript()};break;case i.CallbackType.ON_DOMREADY:i.Utility.ICJQuery(document).ready(function(){return t.loadScript()});break;case i.CallbackType.ON_DOMUNLOAD:i.Utility.ICJQuery(window).on("unload",function(){return t.loadScript()});break;case i.CallbackType.ON_BLANK:i.Utility.ICJQuery(document).on("Callback_Blank_"+e,function(){return t.loadScript()})}},e.prototype.loadScript=function(){i.Utility.getInstance().executeJS(this.mScript)},e.prototype.getType=function(){return this.mType},e.prototype.getScript=function(){return this.mScript},e}();t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(8),r=n(0),a=n(2);t.gaNewElem={},t.gaElems={};var o=function(){function e(){var e=this;this.mErrors=[],this.mReports=[],this.mAPIs=[],this.mGDPRStatus=a.GDPRStatus.NOT_APPLICABLE,r.Utility.ICJQuery(window).on("unload",function(){return e.postLogsToServer()}),setInterval(function(){e.postLogsToServer()},1e3)}return e.getInstance=function(){return this.mUtil||(this.mUtil=new e),this.mUtil},e.prototype.setGDPRStatus=function(e){this.mGDPRStatus=e},e.prototype.executeJS=function(t){e.ICJQuery.globalEval(t)},e.prototype.isSelectorLoaded=function(t,n,i,r){return!!e.ICJQuery("#investingchannel_div_"+r).length||this.getEmptyElementsForSelector(t,n,i).length>0},e.prototype.getEmptyElementsForSelector=function(e,t,n){var i="0";try{var a=[],o=document.querySelectorAll(e);i="1";for(var s=0;s-1){if(c[l].getAttribute("ic_pageId")!=t){u=!0;break}if(c[l].getAttribute("ic_placementid")==""+n){u=!0;break}}u||(i="2."+s,a.push(o[s]))}return a}catch(e){r.Utility.getInstance().ic_ga_event("Utility.getEmptyElementsForSelector",this.prepareGALabel("",t,i+") "+e.message+" $# "+n))}},e.prototype.executeOnLoad=function(e){try{var t=document.readyState;if("interactive"==t||"complete"==t)return void this.executeJS(e);window.addEventListener("DOMContentLoaded",this.executeJS(e),!1)}catch(t){this.executeJS(e)}},e.prototype.clientWindowHeight=function(){var e=0;return"number"==typeof window.innerHeight?e=window.innerHeight:document.documentElement&&document.documentElement.clientHeight?e=document.documentElement.clientHeight:document.body&&document.body.clientHeight&&(e=document.body.clientHeight),e},e.prototype.clientWindowWidth=function(){var e=0;return"number"==typeof window.innerWidth?e=window.innerWidth:document.documentElement&&document.documentElement.clientWidth?e=document.documentElement.clientWidth:document.body&&document.body.clientWidth&&(e=document.body.clientWidth),e},e.prototype.getBrowserSize=function(){return this.clientWindowWidth()+"x"+this.clientWindowHeight()},e.prototype.convertAdSize=function(e){var t="";if(e.constructor!==Array&&("fluid"==e.toString()||"oop"==e.toString()))return e.toString();if(2==e.length&&"number"==typeof e[0]&&"number"==typeof e[1])return e.join("x");for(var n=0;n0&&(c+=o*(n/100),u+=s*(n/100),l-=o*(n/100),d-=s*(n/100)),c>=0&&u>=0&&l<=o&&d<=s},e.prototype.isCookieEnabled=function(){try{document.cookie="ic_cookietest=1";var e=-1!=document.cookie.indexOf("ic_cookietest=");return document.cookie="ic_cookietest=1; expires=Thu, 01-Jan-1970 00:00:01 GMT",e}catch(e){}return!1},e.prototype.getFromLocalStorage=function(e){return navigator.cookieEnabled?localStorage.getItem(e):null},e.prototype.getFromSessionStorage=function(e){return navigator.cookieEnabled?sessionStorage.getItem(e):null},e.prototype.getFromCookie=function(e){if(navigator.cookieEnabled){var t=("; "+document.cookie).split("; "+e+"=");if(2==t.length)return t.pop().split(";").shift()}return""},e.prototype.isCookieExists=function(e){if(navigator.cookieEnabled&&2==("; "+document.cookie).split("; "+e+"=").length)return!0;return!1},e.prototype.deleteFromLocalStorage=function(e){navigator.cookieEnabled&&localStorage.removeItem(e)},e.prototype.deleteFromSessionStorage=function(e){navigator.cookieEnabled&&sessionStorage.removeItem(e)},e.prototype.deleteFromCookie=function(e){navigator.cookieEnabled&&(document.cookie=e+"=;expires=Fri, 02-Jan-1970 00:00:00 GMT;path=/")},e.prototype.saveToLocalStorage=function(e,t){navigator.cookieEnabled&&localStorage.setItem(e,t)},e.prototype.saveToSessionStorage=function(e,t){navigator.cookieEnabled&&sessionStorage.setItem(e,t)},e.prototype.saveToCookie=function(e,t,n){navigator.cookieEnabled&&(document.cookie=void 0==n?e+"="+t+";path=/":e+"="+t+"; max-age="+n+";path=/")},e.prototype.getFromQueryString=function(e,t){var n=window.location.href;e=e.replace(/[\[\]]/g,"\\$&");var i=new RegExp("[?&]"+e+"(=([^&]*)|&|$)").exec(n);return i?i[2]?decodeURIComponent(i[2].replace(/\+/g," ")):"":null},e.prototype.pushToErrorLog=function(e){this.mErrors.push(e)},e.prototype.pushToReportLog=function(e){this.mReports.push(e)},e.prototype.pushToAPILog=function(e){this.mAPIs.push(e)},e.prototype.isLocalStorageSupported=function(){try{if("undefined"==typeof Storage)return!1}catch(e){return!1}return!0},e.prototype.adomikRandomAdGroup=function(){var e=Math.random();switch(!1){case!(e<.09):return"ad_ex"+Math.floor(100*e);case!(e<.1):return"ad_bc";default:return"ad_opt"}},e.prototype.removeDuplicateFromArray=function(e){if(!e)return e;for(var t=[],n=[],i=0;i=0||(t.push(e[i].toLowerCase()),n.push(e[i]));return n},e.prototype.getTopWindowDomain=function(){try{return r.Utility.window.top.location.hostname}catch(e){}try{return document.referrer.match(/:\/\/(.[^/]+)/)[1]}catch(e){}return""},e.prototype.prepareGALabel=function(e,t,n){return(e||"")+" $# "+(t||"")+" $# "+n},e.prototype.initializeGA=function(){var e=new Date;!function(t,n,i,r,a,o,s){t.GoogleAnalyticsObject=a,t.ga=t.ga||function(){(t.ga.q=t.ga.q||[]).push(arguments)},t.ga.l=1*e,o=n.createElement(i),s=n.getElementsByTagName(i)[0],o.async=1,o.src="//www.google-analytics.com/analytics.js",s.parentNode.insertBefore(o,s)}(window,document,"script",0,"ga",t.gaNewElem,t.gaElems)},e.prototype.ic_ga_event=function(e,t,n){n?(ga("create",n,"auto","UAT5Data"),ga("UAT5Data.send",{hitType:"event",eventCategory:"UAT 5 v1.9",eventAction:e,eventLabel:t})):(ga("create","UA-44058249-9","auto","UAT5"),ga("UAT5.send",{hitType:"event",eventCategory:"UAT 5 v1.9",eventAction:e,eventLabel:t}))},e.prototype.postLogsToServer=function(){if(this.mReports.length>0){var t=this.mReports;this.mReports=[],e.ICJQuery.post({url:r.Constant.UAT_LOG_REPORT_URL+"?gdprstatus="+this.mGDPRStatus,async:!0,data:JSON.stringify(t),contentType:"application/json; charset=UTF-8",xhrFields:{withCredentials:!0}})}if(this.mErrors.length>0){var n=this.mErrors;this.mErrors=[],e.ICJQuery.post({url:r.Constant.UAT_LOG_ERROR_URL+"?gdprstatus="+this.mGDPRStatus,async:!0,data:JSON.stringify(n),contentType:"application/json; charset=UTF-8",xhrFields:{withCredentials:!0}})}if(this.mAPIs.length>0){var i=this.mAPIs;this.mAPIs=[],e.ICJQuery.post({url:r.Constant.UAT_LOG_API_URL+"?gdprstatus="+this.mGDPRStatus,async:!0,data:JSON.stringify(i),contentType:"application/json; charset=UTF-8",xhrFields:{withCredentials:!0}})}},e.prototype.pushAPILog=function(t,n,i,r,a,o){var s=r.toString();s+=a;var c=e.window.location.href,u=this.updateUrlIfTranslator(t,c);u&&(c=u),o||(o="null"),this.mAPIs.push({apiKey:n,placementId:"null",placementType:"null",publisherType:"ADVANCE",pageId:o,rnd:"null",documentType:t,errorCode:e.getInstance().getErrorTypeKeyFromValue(r),errorDetail:s,kval:encodeURIComponent("bs:"+this.getBrowserSize()),refererUrl:encodeURIComponent(i),pageUrl:encodeURIComponent(c)})},e.prototype.getErrorTypeKeyFromValue=function(e){switch(e){case r.ErrorType.ADSIZE_INVALID:return"ADSIZE_INVALID";case r.ErrorType.CUSTOM_TARGETING_FAILED:return"CUSTOM_TARGETING_FAILED";case r.ErrorType.DEVICE_TARGETING_FAILED:return"DEVICE_TARGETING_FAILED";case r.ErrorType.GDPR_TARGETING_FAILED:return"GDPR_TARGETING_FAILED";case r.ErrorType.GEO_TARGETING_FAILED:return"GEO_TARGETING_FAILED";case r.ErrorType.SELECTOR_INVALID:return"SELECTOR_INVALID";case r.ErrorType.SELECTOR_NOT_FOUND:return"SELECTOR_NOT_FOUND";case r.ErrorType.TAG_NOT_CONFIGURED:return"TAG_NOT_CONFIGURED";case r.ErrorType.TARGET_INVALID:return"TARGET_INVALID";case r.ErrorType.ADSIZEMAPPING_INVALID:return"ADSIZEMAPPING_INVALID";case r.ErrorType.ADSIZEMAPPING_TARGETING_FAILED:return"ADSIZEMAPPING_TARGETING_FAILED";case r.ErrorType.NO_ADS:return"NO_ADS";case r.ErrorType.UNKNOW_ERROR:return"UNKNOW_ERROR";case r.ErrorType.PAGE_OBJECT_NOT_FOUND:return"PAGE_OBJECT_NOT_FOUND";case r.ErrorType.PAGE_DESTROY_TEMPLATE_NOT_FOUND:return"PAGE_DESTROY_TEMPLATE_NOT_FOUND";case r.ErrorType.PAGE_DESTROY_FAILED:return"PAGE_DESTROY_FAILED";case r.ErrorType.PAGE_REFRESHTAG_TAG_NOT_FOUND:return"PAGE_REFRESHTAG_TAG_NOT_FOUND";case r.ErrorType.PAGE_REFRESHTAG_FAILED:return"PAGE_REFRESHTAG_FAILED";case r.ErrorType.ADD_SIZEMAPPING_FAILED:return"ADD_SIZEMAPPING_FAILED";case r.ErrorType.BUILD_SIZEMAPPING_FAILED:return"BUILD_SIZEMAPPING_FAILED";case r.ErrorType.PAGE_DEFINETAG_SITE_MISMATCH:return"PAGE_DEFINETAG_SITE_MISMATCH";case r.ErrorType.PAGE_DEFINETAG_TARGET_NOT_FOUND:return"PAGE_DEFINETAG_TARGET_NOT_FOUND";case r.ErrorType.PAGE_DEFINETAG_INVALID_SIZE:return"PAGE_DEFINETAG_INVALID_SIZE";case r.ErrorType.PAGE_DEFINETAG_FAILED:return"PAGE_DEFINETAG_FAILED";case r.ErrorType.PAGE_DEFINETAG_INVALID_DIVID:return"PAGE_DEFINETAG_INVALID_DIVID";case r.ErrorType.PAGE_DEFINEOOPTAG_SITE_MISMATCH:return"PAGE_DEFINEOOPTAG_SITE_MISMATCH";case r.ErrorType.PAGE_DEFINEOOPTAG_TARGET_NOT_FOUND:return"PAGE_DEFINEOOPTAG_TARGET_NOT_FOUND";case r.ErrorType.PAGE_DEFINEOOPTAG_FAILED:return"PAGE_DEFINEOOPTAG_FAILED";case r.ErrorType.PAGE_DEFINEOOPTAG_INVALID_DIVID:return"PAGE_DEFINEOOPTAG_INVALID_DIVID";case r.ErrorType.PAGE_GETPUBTAG_TAG_NOT_FOUND:return"PAGE_GETPUBTAG_TAG_NOT_FOUND";case r.ErrorType.PAGE_GETPUBTAG_FAILED:return"PAGE_GETPUBTAG_FAILED";case r.ErrorType.PAGE_SETKVAL_FAILED:return"PAGE_SETKVAL_FAILED";case r.ErrorType.PAGE_CLEARKVAL_FAILED:return"PAGE_CLEARKVAL_FAILED";case r.ErrorType.PAGE_RENDERTAG_TAG_NOT_FOUND:return"PAGE_RENDERTAG_TAG_NOT_FOUND";case r.ErrorType.PAGE_RENDERTAG_FAILED:return"PAGE_RENDERTAG_FAILED";case r.ErrorType.TAG_DEFINESIZEMAPPING_FAILED:return"TAG_DEFINESIZEMAPPING_FAILED";case r.ErrorType.TAG_SETKVAL_FAILED:return"TAG_SETKVAL_FAILED";case r.ErrorType.TAG_CLEARKVAL_FAILED:return"TAG_CLEARKVAL_FAILED";case r.ErrorType.TAG_RENDER_FAILED:return"TAG_RENDER_FAILED";case r.ErrorType.TAG_REFRESH_FAILED:return"TAG_REFRESH_FAILED";case r.ErrorType.TAG_CLEAR_FAILED:return"TAG_CLEAR_FAILED";case r.ErrorType.TAG_DESTROY_FAILED:return"TAG_DESTROY_FAILED"}},e.prototype.updateUrlIfTranslator=function(e,t){if(e==r.DocumentType.IFRAME){var n=r.Utility.ICJQuery("").prop("href",t).prop("hostname");if("translate.google.com"==n.toLowerCase()||"translate.googleusercontent.com"==n.toLowerCase()){var i=this.getQueryStringParam("u",t);if(i&&i.length>0)return i[1]}return null}},e.prototype.getQueryStringParam=function(e,t){return decodeURIComponent(t).match(new RegExp(e+"=(.*?)($|&)","i"))||[][1]},e.ICJQuery=i.noConflict(),e.window=window,e}();t.default=o},function(e,t,n){var i; /*! * jQuery JavaScript Library v3.4.1 * https://jquery.com/ * * Includes Sizzle.js * https://sizzlejs.com/ * * Copyright JS Foundation and other contributors * Released under the MIT license * https://jquery.org/license * * Date: 2019-05-01T21:04Z */ /*! * jQuery JavaScript Library v3.4.1 * https://jquery.com/ * * Includes Sizzle.js * https://sizzlejs.com/ * * Copyright JS Foundation and other contributors * Released under the MIT license * https://jquery.org/license * * Date: 2019-05-01T21:04Z */ !function(t,n){"use strict";"object"==typeof e&&"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,function(n,r){"use strict";var a=[],o=n.document,s=Object.getPrototypeOf,c=a.slice,u=a.concat,l=a.push,d=a.indexOf,p={},f=p.toString,m=p.hasOwnProperty,h=m.toString,g=h.call(Object),y={},b=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},v=function(e){return null!=e&&e===e.window},T={type:!0,src:!0,nonce:!0,noModule:!0};function S(e,t,n){var i,r,a=(n=n||o).createElement("script");if(a.text=e,t)for(i in T)(r=t[i]||t.getAttribute&&t.getAttribute(i))&&a.setAttribute(i,r);n.head.appendChild(a).parentNode.removeChild(a)}function I(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?p[f.call(e)]||"object":typeof e}var E=function(e,t){return new E.fn.init(e,t)},A=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function P(e){var t=!!e&&"length"in e&&e.length,n=I(e);return!b(e)&&!v(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}E.fn=E.prototype={jquery:"3.4.1",constructor:E,length:0,toArray:function(){return c.call(this)},get:function(e){return null==e?c.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=E.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return E.each(this,e)},map:function(e){return this.pushStack(E.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(c.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n+~]|"+F+")"+F+"*"),q=new RegExp(F+"|>"),K=new RegExp(G),H=new RegExp("^"+j+"$"),J={ID:new RegExp("^#("+j+")"),CLASS:new RegExp("^\\.("+j+")"),TAG:new RegExp("^("+j+"|[*])"),ATTR:new RegExp("^"+M),PSEUDO:new RegExp("^"+G),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+F+"*(even|odd|(([+-]|)(\\d*)n|)"+F+"*(?:([+-]|)"+F+"*(\\d+)|))"+F+"*\\)|)","i"),bool:new RegExp("^(?:"+U+")$","i"),needsContext:new RegExp("^"+F+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+F+"*((?:-\\d)?\\d*)"+F+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,Z=/^h\d$/i,X=/^[^{]+\{\s*\[native \w/,$=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\([\\da-f]{1,6}"+F+"?|("+F+")|.)","ig"),ne=function(e,t,n){var i="0x"+t-65536;return i!=i||n?t:i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320)},ie=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,re=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},ae=function(){p()},oe=Te(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{N.apply(R=k.call(S.childNodes),S.childNodes),R[S.childNodes.length].nodeType}catch(e){N={apply:R.length?function(e,t){O.apply(e,k.call(t))}:function(e,t){for(var n=e.length,i=0;e[n++]=t[i++];);e.length=n-1}}}function se(e,t,i,r){var a,s,u,l,d,m,y,b=t&&t.ownerDocument,I=t?t.nodeType:9;if(i=i||[],"string"!=typeof e||!e||1!==I&&9!==I&&11!==I)return i;if(!r&&((t?t.ownerDocument||t:S)!==f&&p(t),t=t||f,h)){if(11!==I&&(d=$.exec(e)))if(a=d[1]){if(9===I){if(!(u=t.getElementById(a)))return i;if(u.id===a)return i.push(u),i}else if(b&&(u=b.getElementById(a))&&v(t,u)&&u.id===a)return i.push(u),i}else{if(d[2])return N.apply(i,t.getElementsByTagName(e)),i;if((a=d[3])&&n.getElementsByClassName&&t.getElementsByClassName)return N.apply(i,t.getElementsByClassName(a)),i}if(n.qsa&&!D[e+" "]&&(!g||!g.test(e))&&(1!==I||"object"!==t.nodeName.toLowerCase())){if(y=e,b=t,1===I&&q.test(e)){for((l=t.getAttribute("id"))?l=l.replace(ie,re):t.setAttribute("id",l=T),s=(m=o(e)).length;s--;)m[s]="#"+l+" "+ve(m[s]);y=m.join(","),b=ee.test(e)&&ye(t.parentNode)||t}try{return N.apply(i,b.querySelectorAll(y)),i}catch(t){D(e,!0)}finally{l===T&&t.removeAttribute("id")}}}return c(e.replace(z,"$1"),t,i,r)}function ce(){var e=[];return function t(n,r){return e.push(n+" ")>i.cacheLength&&delete t[e.shift()],t[n+" "]=r}}function ue(e){return e[T]=!0,e}function le(e){var t=f.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function de(e,t){for(var n=e.split("|"),r=n.length;r--;)i.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,i=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(i)return i;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function fe(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function me(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function he(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&oe(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ge(e){return ue(function(t){return t=+t,ue(function(n,i){for(var r,a=e([],n.length,t),o=a.length;o--;)n[r=a[o]]&&(n[r]=!(i[r]=n[r]))})})}function ye(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=se.support={},a=se.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},p=se.setDocument=function(e){var t,r,o=e?e.ownerDocument||e:S;return o!==f&&9===o.nodeType&&o.documentElement?(m=(f=o).documentElement,h=!a(f),S!==f&&(r=f.defaultView)&&r.top!==r&&(r.addEventListener?r.addEventListener("unload",ae,!1):r.attachEvent&&r.attachEvent("onunload",ae)),n.attributes=le(function(e){return e.className="i",!e.getAttribute("className")}),n.getElementsByTagName=le(function(e){return e.appendChild(f.createComment("")),!e.getElementsByTagName("*").length}),n.getElementsByClassName=X.test(f.getElementsByClassName),n.getById=le(function(e){return m.appendChild(e).id=T,!f.getElementsByName||!f.getElementsByName(T).length}),n.getById?(i.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},i.find.ID=function(e,t){if(void 0!==t.getElementById&&h){var n=t.getElementById(e);return n?[n]:[]}}):(i.filter.ID=function(e){var t=e.replace(te,ne);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},i.find.ID=function(e,t){if(void 0!==t.getElementById&&h){var n,i,r,a=t.getElementById(e);if(a){if((n=a.getAttributeNode("id"))&&n.value===e)return[a];for(r=t.getElementsByName(e),i=0;a=r[i++];)if((n=a.getAttributeNode("id"))&&n.value===e)return[a]}return[]}}),i.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,i=[],r=0,a=t.getElementsByTagName(e);if("*"===e){for(;n=a[r++];)1===n.nodeType&&i.push(n);return i}return a},i.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&h)return t.getElementsByClassName(e)},y=[],g=[],(n.qsa=X.test(f.querySelectorAll))&&(le(function(e){m.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]="+F+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||g.push("\\["+F+"*(?:value|"+U+")"),e.querySelectorAll("[id~="+T+"-]").length||g.push("~="),e.querySelectorAll(":checked").length||g.push(":checked"),e.querySelectorAll("a#"+T+"+*").length||g.push(".#.+[+~]")}),le(function(e){e.innerHTML="";var t=f.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&g.push("name"+F+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&g.push(":enabled",":disabled"),m.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")})),(n.matchesSelector=X.test(b=m.matches||m.webkitMatchesSelector||m.mozMatchesSelector||m.oMatchesSelector||m.msMatchesSelector))&&le(function(e){n.disconnectedMatch=b.call(e,"*"),b.call(e,"[s!='']:x"),y.push("!=",G)}),g=g.length&&new RegExp(g.join("|")),y=y.length&&new RegExp(y.join("|")),t=X.test(m.compareDocumentPosition),v=t||X.test(m.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,i=t&&t.parentNode;return e===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):e.compareDocumentPosition&&16&e.compareDocumentPosition(i)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},C=t?function(e,t){if(e===t)return d=!0,0;var i=!e.compareDocumentPosition-!t.compareDocumentPosition;return i||(1&(i=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===i?e===f||e.ownerDocument===S&&v(S,e)?-1:t===f||t.ownerDocument===S&&v(S,t)?1:l?L(l,e)-L(l,t):0:4&i?-1:1)}:function(e,t){if(e===t)return d=!0,0;var n,i=0,r=e.parentNode,a=t.parentNode,o=[e],s=[t];if(!r||!a)return e===f?-1:t===f?1:r?-1:a?1:l?L(l,e)-L(l,t):0;if(r===a)return pe(e,t);for(n=e;n=n.parentNode;)o.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;o[i]===s[i];)i++;return i?pe(o[i],s[i]):o[i]===S?-1:s[i]===S?1:0},f):f},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if((e.ownerDocument||e)!==f&&p(e),n.matchesSelector&&h&&!D[t+" "]&&(!y||!y.test(t))&&(!g||!g.test(t)))try{var i=b.call(e,t);if(i||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return i}catch(e){D(t,!0)}return se(t,f,null,[e]).length>0},se.contains=function(e,t){return(e.ownerDocument||e)!==f&&p(e),v(e,t)},se.attr=function(e,t){(e.ownerDocument||e)!==f&&p(e);var r=i.attrHandle[t.toLowerCase()],a=r&&x.call(i.attrHandle,t.toLowerCase())?r(e,t,!h):void 0;return void 0!==a?a:n.attributes||!h?e.getAttribute(t):(a=e.getAttributeNode(t))&&a.specified?a.value:null},se.escape=function(e){return(e+"").replace(ie,re)},se.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},se.uniqueSort=function(e){var t,i=[],r=0,a=0;if(d=!n.detectDuplicates,l=!n.sortStable&&e.slice(0),e.sort(C),d){for(;t=e[a++];)t===e[a]&&(r=i.push(a));for(;r--;)e.splice(i[r],1)}return l=null,e},r=se.getText=function(e){var t,n="",i=0,a=e.nodeType;if(a){if(1===a||9===a||11===a){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=r(e)}else if(3===a||4===a)return e.nodeValue}else for(;t=e[i++];)n+=r(t);return n},(i=se.selectors={cacheLength:50,createPseudo:ue,match:J,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return J.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&K.test(n)&&(t=o(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=A[e+" "];return t||(t=new RegExp("(^|"+F+")"+e+"("+F+"|$)"))&&A(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(i){var r=se.attr(i,e);return null==r?"!="===t:!t||(r+="","="===t?r===n:"!="===t?r!==n:"^="===t?n&&0===r.indexOf(n):"*="===t?n&&r.indexOf(n)>-1:"$="===t?n&&r.slice(-n.length)===n:"~="===t?(" "+r.replace(B," ")+" ").indexOf(n)>-1:"|="===t&&(r===n||r.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,i,r){var a="nth"!==e.slice(0,3),o="last"!==e.slice(-4),s="of-type"===t;return 1===i&&0===r?function(e){return!!e.parentNode}:function(t,n,c){var u,l,d,p,f,m,h=a!==o?"nextSibling":"previousSibling",g=t.parentNode,y=s&&t.nodeName.toLowerCase(),b=!c&&!s,v=!1;if(g){if(a){for(;h;){for(p=t;p=p[h];)if(s?p.nodeName.toLowerCase()===y:1===p.nodeType)return!1;m=h="only"===e&&!m&&"nextSibling"}return!0}if(m=[o?g.firstChild:g.lastChild],o&&b){for(v=(f=(u=(l=(d=(p=g)[T]||(p[T]={}))[p.uniqueID]||(d[p.uniqueID]={}))[e]||[])[0]===I&&u[1])&&u[2],p=f&&g.childNodes[f];p=++f&&p&&p[h]||(v=f=0)||m.pop();)if(1===p.nodeType&&++v&&p===t){l[e]=[I,f,v];break}}else if(b&&(v=f=(u=(l=(d=(p=t)[T]||(p[T]={}))[p.uniqueID]||(d[p.uniqueID]={}))[e]||[])[0]===I&&u[1]),!1===v)for(;(p=++f&&p&&p[h]||(v=f=0)||m.pop())&&((s?p.nodeName.toLowerCase()!==y:1!==p.nodeType)||!++v||(b&&((l=(d=p[T]||(p[T]={}))[p.uniqueID]||(d[p.uniqueID]={}))[e]=[I,v]),p!==t)););return(v-=r)===i||v%i==0&&v/i>=0}}},PSEUDO:function(e,t){var n,r=i.pseudos[e]||i.setFilters[e.toLowerCase()]||se.error("unsupported pseudo: "+e);return r[T]?r(t):r.length>1?(n=[e,e,"",t],i.setFilters.hasOwnProperty(e.toLowerCase())?ue(function(e,n){for(var i,a=r(e,t),o=a.length;o--;)e[i=L(e,a[o])]=!(n[i]=a[o])}):function(e){return r(e,0,n)}):r}},pseudos:{not:ue(function(e){var t=[],n=[],i=s(e.replace(z,"$1"));return i[T]?ue(function(e,t,n,r){for(var a,o=i(e,null,r,[]),s=e.length;s--;)(a=o[s])&&(e[s]=!(t[s]=a))}):function(e,r,a){return t[0]=e,i(t,null,a,n),t[0]=null,!n.pop()}}),has:ue(function(e){return function(t){return se(e,t).length>0}}),contains:ue(function(e){return e=e.replace(te,ne),function(t){return(t.textContent||r(t)).indexOf(e)>-1}}),lang:ue(function(e){return H.test(e||"")||se.error("unsupported lang: "+e),e=e.replace(te,ne).toLowerCase(),function(t){var n;do{if(n=h?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===m},focus:function(e){return e===f.activeElement&&(!f.hasFocus||f.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:he(!1),disabled:he(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!i.pseudos.empty(e)},header:function(e){return Z.test(e.nodeName)},input:function(e){return Q.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:ge(function(){return[0]}),last:ge(function(e,t){return[t-1]}),eq:ge(function(e,t,n){return[n<0?n+t:n]}),even:ge(function(e,t){for(var n=0;nt?t:n;--i>=0;)e.push(i);return e}),gt:ge(function(e,t,n){for(var i=n<0?n+t:n;++i1?function(t,n,i){for(var r=e.length;r--;)if(!e[r](t,n,i))return!1;return!0}:e[0]}function Ie(e,t,n,i,r){for(var a,o=[],s=0,c=e.length,u=null!=t;s-1&&(a[u]=!(o[u]=d))}}else y=Ie(y===o?y.splice(m,y.length):y),r?r(null,o,y,c):N.apply(o,y)})}function Ae(e){for(var t,n,r,a=e.length,o=i.relative[e[0].type],s=o||i.relative[" "],c=o?1:0,l=Te(function(e){return e===t},s,!0),d=Te(function(e){return L(t,e)>-1},s,!0),p=[function(e,n,i){var r=!o&&(i||n!==u)||((t=n).nodeType?l(e,n,i):d(e,n,i));return t=null,r}];c1&&Se(p),c>1&&ve(e.slice(0,c-1).concat({value:" "===e[c-2].type?"*":""})).replace(z,"$1"),n,c0,r=e.length>0,a=function(a,o,s,c,l){var d,m,g,y=0,b="0",v=a&&[],T=[],S=u,E=a||r&&i.find.TAG("*",l),A=I+=null==S?1:Math.random()||.1,P=E.length;for(l&&(u=o===f||o||l);b!==P&&null!=(d=E[b]);b++){if(r&&d){for(m=0,o||d.ownerDocument===f||(p(d),s=!h);g=e[m++];)if(g(d,o||f,s)){c.push(d);break}l&&(I=A)}n&&((d=!g&&d)&&y--,a&&v.push(d))}if(y+=b,n&&b!==y){for(m=0;g=t[m++];)g(v,T,o,s);if(a){if(y>0)for(;b--;)v[b]||T[b]||(T[b]=w.call(c));T=Ie(T)}N.apply(c,T),l&&!a&&T.length>0&&y+t.length>1&&se.uniqueSort(c)}return l&&(I=A,u=S),v};return n?ue(a):a}(a,r))).selector=e}return s},c=se.select=function(e,t,n,r){var a,c,u,l,d,p="function"==typeof e&&e,f=!r&&o(e=p.selector||e);if(n=n||[],1===f.length){if((c=f[0]=f[0].slice(0)).length>2&&"ID"===(u=c[0]).type&&9===t.nodeType&&h&&i.relative[c[1].type]){if(!(t=(i.find.ID(u.matches[0].replace(te,ne),t)||[])[0]))return n;p&&(t=t.parentNode),e=e.slice(c.shift().value.length)}for(a=J.needsContext.test(e)?0:c.length;a--&&(u=c[a],!i.relative[l=u.type]);)if((d=i.find[l])&&(r=d(u.matches[0].replace(te,ne),ee.test(c[0].type)&&ye(t.parentNode)||t))){if(c.splice(a,1),!(e=r.length&&ve(c)))return N.apply(n,r),n;break}}return(p||s(e,f))(r,t,!h,n,!t||ee.test(e)&&ye(t.parentNode)||t),n},n.sortStable=T.split("").sort(C).join("")===T,n.detectDuplicates=!!d,p(),n.sortDetached=le(function(e){return 1&e.compareDocumentPosition(f.createElement("fieldset"))}),le(function(e){return e.innerHTML="","#"===e.firstChild.getAttribute("href")})||de("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),n.attributes&&le(function(e){return e.innerHTML="",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||de("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),le(function(e){return null==e.getAttribute("disabled")})||de(U,function(e,t,n){var i;if(!n)return!0===e[t]?t.toLowerCase():(i=e.getAttributeNode(t))&&i.specified?i.value:null}),se}(n);E.find=_,E.expr=_.selectors,E.expr[":"]=E.expr.pseudos,E.uniqueSort=E.unique=_.uniqueSort,E.text=_.getText,E.isXMLDoc=_.isXML,E.contains=_.contains,E.escapeSelector=_.escape;var D=function(e,t,n){for(var i=[],r=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(r&&E(e).is(n))break;i.push(e)}return i},C=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},x=E.expr.match.needsContext;function R(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var w=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function O(e,t,n){return b(t)?E.grep(e,function(e,i){return!!t.call(e,i,e)!==n}):t.nodeType?E.grep(e,function(e){return e===t!==n}):"string"!=typeof t?E.grep(e,function(e){return d.call(t,e)>-1!==n}):E.filter(t,e,n)}E.filter=function(e,t,n){var i=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===i.nodeType?E.find.matchesSelector(i,e)?[i]:[]:E.find.matches(e,E.grep(t,function(e){return 1===e.nodeType}))},E.fn.extend({find:function(e){var t,n,i=this.length,r=this;if("string"!=typeof e)return this.pushStack(E(e).filter(function(){for(t=0;t1?E.uniqueSort(n):n},filter:function(e){return this.pushStack(O(this,e||[],!1))},not:function(e){return this.pushStack(O(this,e||[],!0))},is:function(e){return!!O(this,"string"==typeof e&&x.test(e)?E(e):e||[],!1).length}});var N,k=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(E.fn.init=function(e,t,n){var i,r;if(!e)return this;if(n=n||N,"string"==typeof e){if(!(i="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:k.exec(e))||!i[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(i[1]){if(t=t instanceof E?t[0]:t,E.merge(this,E.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:o,!0)),w.test(i[1])&&E.isPlainObject(t))for(i in t)b(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}return(r=o.getElementById(i[2]))&&(this[0]=r,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):b(e)?void 0!==n.ready?n.ready(e):e(E):E.makeArray(e,this)}).prototype=E.fn,N=E(o);var L=/^(?:parents|prev(?:Until|All))/,U={children:!0,contents:!0,next:!0,prev:!0};function F(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}E.fn.extend({has:function(e){var t=E(e,this),n=t.length;return this.filter(function(){for(var e=0;e-1:1===n.nodeType&&E.find.matchesSelector(n,e))){a.push(n);break}return this.pushStack(a.length>1?E.uniqueSort(a):a)},index:function(e){return e?"string"==typeof e?d.call(E(e),this[0]):d.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(E.uniqueSort(E.merge(this.get(),E(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),E.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return D(e,"parentNode")},parentsUntil:function(e,t,n){return D(e,"parentNode",n)},next:function(e){return F(e,"nextSibling")},prev:function(e){return F(e,"previousSibling")},nextAll:function(e){return D(e,"nextSibling")},prevAll:function(e){return D(e,"previousSibling")},nextUntil:function(e,t,n){return D(e,"nextSibling",n)},prevUntil:function(e,t,n){return D(e,"previousSibling",n)},siblings:function(e){return C((e.parentNode||{}).firstChild,e)},children:function(e){return C(e.firstChild)},contents:function(e){return void 0!==e.contentDocument?e.contentDocument:(R(e,"template")&&(e=e.content||e),E.merge([],e.childNodes))}},function(e,t){E.fn[e]=function(n,i){var r=E.map(this,t,n);return"Until"!==e.slice(-5)&&(i=n),i&&"string"==typeof i&&(r=E.filter(i,r)),this.length>1&&(U[e]||E.uniqueSort(r),L.test(e)&&r.reverse()),this.pushStack(r)}});var j=/[^\x20\t\r\n\f]+/g;function M(e){return e}function G(e){throw e}function B(e,t,n,i){var r;try{e&&b(r=e.promise)?r.call(e).done(t).fail(n):e&&b(r=e.then)?r.call(e,t,n):t.apply(void 0,[e].slice(i))}catch(e){n.apply(void 0,[e])}}E.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return E.each(e.match(j)||[],function(e,n){t[n]=!0}),t}(e):E.extend({},e);var t,n,i,r,a=[],o=[],s=-1,c=function(){for(r=r||e.once,i=t=!0;o.length;s=-1)for(n=o.shift();++s-1;)a.splice(n,1),n<=s&&s--}),this},has:function(e){return e?E.inArray(e,a)>-1:a.length>0},empty:function(){return a&&(a=[]),this},disable:function(){return r=o=[],a=n="",this},disabled:function(){return!a},lock:function(){return r=o=[],n||t||(a=n=""),this},locked:function(){return!!r},fireWith:function(e,n){return r||(n=[e,(n=n||[]).slice?n.slice():n],o.push(n),t||c()),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!i}};return u},E.extend({Deferred:function(e){var t=[["notify","progress",E.Callbacks("memory"),E.Callbacks("memory"),2],["resolve","done",E.Callbacks("once memory"),E.Callbacks("once memory"),0,"resolved"],["reject","fail",E.Callbacks("once memory"),E.Callbacks("once memory"),1,"rejected"]],i="pending",r={state:function(){return i},always:function(){return a.done(arguments).fail(arguments),this},catch:function(e){return r.then(null,e)},pipe:function(){var e=arguments;return E.Deferred(function(n){E.each(t,function(t,i){var r=b(e[i[4]])&&e[i[4]];a[i[1]](function(){var e=r&&r.apply(this,arguments);e&&b(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[i[0]+"With"](this,r?[e]:arguments)})}),e=null}).promise()},then:function(e,i,r){var a=0;function o(e,t,i,r){return function(){var s=this,c=arguments,u=function(){var n,u;if(!(e=a&&(i!==G&&(s=void 0,c=[n]),t.rejectWith(s,c))}};e?l():(E.Deferred.getStackHook&&(l.stackTrace=E.Deferred.getStackHook()),n.setTimeout(l))}}return E.Deferred(function(n){t[0][3].add(o(0,n,b(r)?r:M,n.notifyWith)),t[1][3].add(o(0,n,b(e)?e:M)),t[2][3].add(o(0,n,b(i)?i:G))}).promise()},promise:function(e){return null!=e?E.extend(e,r):r}},a={};return E.each(t,function(e,n){var o=n[2],s=n[5];r[n[1]]=o.add,s&&o.add(function(){i=s},t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),o.add(n[3].fire),a[n[0]]=function(){return a[n[0]+"With"](this===a?void 0:this,arguments),this},a[n[0]+"With"]=o.fireWith}),r.promise(a),e&&e.call(a,a),a},when:function(e){var t=arguments.length,n=t,i=Array(n),r=c.call(arguments),a=E.Deferred(),o=function(e){return function(n){i[e]=this,r[e]=arguments.length>1?c.call(arguments):n,--t||a.resolveWith(i,r)}};if(t<=1&&(B(e,a.done(o(n)).resolve,a.reject,!t),"pending"===a.state()||b(r[n]&&r[n].then)))return a.then();for(;n--;)B(r[n],o(n),a.reject);return a.promise()}});var z=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;E.Deferred.exceptionHook=function(e,t){n.console&&n.console.warn&&e&&z.test(e.name)&&n.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},E.readyException=function(e){n.setTimeout(function(){throw e})};var V=E.Deferred();function W(){o.removeEventListener("DOMContentLoaded",W),n.removeEventListener("load",W),E.ready()}E.fn.ready=function(e){return V.then(e).catch(function(e){E.readyException(e)}),this},E.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--E.readyWait:E.isReady)||(E.isReady=!0,!0!==e&&--E.readyWait>0||V.resolveWith(o,[E]))}}),E.ready.then=V.then,"complete"===o.readyState||"loading"!==o.readyState&&!o.documentElement.doScroll?n.setTimeout(E.ready):(o.addEventListener("DOMContentLoaded",W),n.addEventListener("load",W));var q=function(e,t,n,i,r,a,o){var s=0,c=e.length,u=null==n;if("object"===I(n))for(s in r=!0,n)q(e,t,s,n[s],!0,a,o);else if(void 0!==i&&(r=!0,b(i)||(o=!0),u&&(o?(t.call(e,i),t=null):(u=t,t=function(e,t,n){return u.call(E(e),n)})),t))for(;s1,null,!0)},removeData:function(e){return this.each(function(){$.remove(this,e)})}}),E.extend({queue:function(e,t,n){var i;if(e)return t=(t||"fx")+"queue",i=X.get(e,t),n&&(!i||Array.isArray(n)?i=X.access(e,t,E.makeArray(n)):i.push(n)),i||[]},dequeue:function(e,t){t=t||"fx";var n=E.queue(e,t),i=n.length,r=n.shift(),a=E._queueHooks(e,t);"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===t&&n.unshift("inprogress"),delete a.stop,r.call(e,function(){E.dequeue(e,t)},a)),!i&&a&&a.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return X.get(e,n)||X.access(e,n,{empty:E.Callbacks("once memory").add(function(){X.remove(e,[t+"queue",n])})})}}),E.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length\x20\t\r\n\f]*)/i,ye=/^$|^module$|\/(?:java|ecma)script/i,be={option:[1,""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function ve(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&R(e,t)?E.merge([e],n):n}function Te(e,t){for(var n=0,i=e.length;n-1)r&&r.push(a);else if(u=se(a),o=ve(d.appendChild(a),"script"),u&&Te(o),n)for(l=0;a=o[l++];)ye.test(a.type||"")&&n.push(a);return d}!function(){var e=o.createDocumentFragment().appendChild(o.createElement("div")),t=o.createElement("input");t.setAttribute("type","radio"),t.setAttribute("checked","checked"),t.setAttribute("name","t"),e.appendChild(t),y.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML="",y.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue}();var Ee=/^key/,Ae=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Pe=/^([^.]*)(?:\.(.+)|)/;function _e(){return!0}function De(){return!1}function Ce(e,t){return e===function(){try{return o.activeElement}catch(e){}}()==("focus"===t)}function xe(e,t,n,i,r,a){var o,s;if("object"==typeof t){for(s in"string"!=typeof n&&(i=i||n,n=void 0),t)xe(e,s,n,i,t[s],a);return e}if(null==i&&null==r?(r=n,i=n=void 0):null==r&&("string"==typeof n?(r=i,i=void 0):(r=i,i=n,n=void 0)),!1===r)r=De;else if(!r)return e;return 1===a&&(o=r,(r=function(e){return E().off(e),o.apply(this,arguments)}).guid=o.guid||(o.guid=E.guid++)),e.each(function(){E.event.add(this,t,r,i,n)})}function Re(e,t,n){n?(X.set(e,t,!1),E.event.add(e,t,{namespace:!1,handler:function(e){var i,r,a=X.get(this,t);if(1&e.isTrigger&&this[t]){if(a.length)(E.event.special[t]||{}).delegateType&&e.stopPropagation();else if(a=c.call(arguments),X.set(this,t,a),i=n(this,t),this[t](),a!==(r=X.get(this,t))||i?X.set(this,t,!1):r={},a!==r)return e.stopImmediatePropagation(),e.preventDefault(),r.value}else a.length&&(X.set(this,t,{value:E.event.trigger(E.extend(a[0],E.Event.prototype),a.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===X.get(e,t)&&E.event.add(e,t,_e)}E.event={global:{},add:function(e,t,n,i,r){var a,o,s,c,u,l,d,p,f,m,h,g=X.get(e);if(g)for(n.handler&&(n=(a=n).handler,r=a.selector),r&&E.find.matchesSelector(oe,r),n.guid||(n.guid=E.guid++),(c=g.events)||(c=g.events={}),(o=g.handle)||(o=g.handle=function(t){return void 0!==E&&E.event.triggered!==t.type?E.event.dispatch.apply(e,arguments):void 0}),u=(t=(t||"").match(j)||[""]).length;u--;)f=h=(s=Pe.exec(t[u])||[])[1],m=(s[2]||"").split(".").sort(),f&&(d=E.event.special[f]||{},f=(r?d.delegateType:d.bindType)||f,d=E.event.special[f]||{},l=E.extend({type:f,origType:h,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&E.expr.match.needsContext.test(r),namespace:m.join(".")},a),(p=c[f])||((p=c[f]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,i,m,o)||e.addEventListener&&e.addEventListener(f,o)),d.add&&(d.add.call(e,l),l.handler.guid||(l.handler.guid=n.guid)),r?p.splice(p.delegateCount++,0,l):p.push(l),E.event.global[f]=!0)},remove:function(e,t,n,i,r){var a,o,s,c,u,l,d,p,f,m,h,g=X.hasData(e)&&X.get(e);if(g&&(c=g.events)){for(u=(t=(t||"").match(j)||[""]).length;u--;)if(f=h=(s=Pe.exec(t[u])||[])[1],m=(s[2]||"").split(".").sort(),f){for(d=E.event.special[f]||{},p=c[f=(i?d.delegateType:d.bindType)||f]||[],s=s[2]&&new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"),o=a=p.length;a--;)l=p[a],!r&&h!==l.origType||n&&n.guid!==l.guid||s&&!s.test(l.namespace)||i&&i!==l.selector&&("**"!==i||!l.selector)||(p.splice(a,1),l.selector&&p.delegateCount--,d.remove&&d.remove.call(e,l));o&&!p.length&&(d.teardown&&!1!==d.teardown.call(e,m,g.handle)||E.removeEvent(e,f,g.handle),delete c[f])}else for(f in c)E.event.remove(e,f+t[u],n,i,!0);E.isEmptyObject(c)&&X.remove(e,"handle events")}},dispatch:function(e){var t,n,i,r,a,o,s=E.event.fix(e),c=new Array(arguments.length),u=(X.get(this,"events")||{})[s.type]||[],l=E.event.special[s.type]||{};for(c[0]=s,t=1;t=1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==e.type||!0!==u.disabled)){for(a=[],o={},n=0;n-1:E.find(r,this,null,[u]).length),o[r]&&a.push(i);a.length&&s.push({elem:u,handlers:a})}return u=this,c\x20\t\r\n\f]*)[^>]*)\/>/gi,Oe=/\s*$/g;function Le(e,t){return R(e,"table")&&R(11!==t.nodeType?t:t.firstChild,"tr")&&E(e).children("tbody")[0]||e}function Ue(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Fe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function je(e,t){var n,i,r,a,o,s,c,u;if(1===t.nodeType){if(X.hasData(e)&&(a=X.access(e),o=X.set(t,a),u=a.events))for(r in delete o.handle,o.events={},u)for(n=0,i=u[r].length;n1&&"string"==typeof m&&!y.checkClone&&Ne.test(m))return e.each(function(r){var a=e.eq(r);h&&(t[0]=m.call(this,r,a.html())),Ge(a,t,n,i)});if(p&&(a=(r=Ie(t,e[0].ownerDocument,!1,e,i)).firstChild,1===r.childNodes.length&&(r=a),a||i)){for(s=(o=E.map(ve(r,"script"),Ue)).length;d")},clone:function(e,t,n){var i,r,a,o,s=e.cloneNode(!0),c=se(e);if(!(y.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||E.isXMLDoc(e)))for(o=ve(s),i=0,r=(a=ve(e)).length;i0&&Te(o,!c&&ve(e,"script")),s},cleanData:function(e){for(var t,n,i,r=E.event.special,a=0;void 0!==(n=e[a]);a++)if(Q(n)){if(t=n[X.expando]){if(t.events)for(i in t.events)r[i]?E.event.remove(n,i):E.removeEvent(n,i,t.handle);n[X.expando]=void 0}n[$.expando]&&(n[$.expando]=void 0)}}}),E.fn.extend({detach:function(e){return Be(this,e,!0)},remove:function(e){return Be(this,e)},text:function(e){return q(this,function(e){return void 0===e?E.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return Ge(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Le(this,e).appendChild(e)})},prepend:function(){return Ge(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Le(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return Ge(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return Ge(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(E.cleanData(ve(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return E.clone(this,e,t)})},html:function(e){return q(this,function(e){var t=this[0]||{},n=0,i=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Oe.test(e)&&!be[(ge.exec(e)||["",""])[1].toLowerCase()]){e=E.htmlPrefilter(e);try{for(;n=0&&(c+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-a-c-s-.5))||0),c}function it(e,t,n){var i=Ve(e),r=(!y.boxSizingReliable()||n)&&"border-box"===E.css(e,"boxSizing",!1,i),a=r,o=qe(e,t,i),s="offset"+t[0].toUpperCase()+t.slice(1);if(ze.test(o)){if(!n)return o;o="auto"}return(!y.boxSizingReliable()&&r||"auto"===o||!parseFloat(o)&&"inline"===E.css(e,"display",!1,i))&&e.getClientRects().length&&(r="border-box"===E.css(e,"boxSizing",!1,i),(a=s in e)&&(o=e[s])),(o=parseFloat(o)||0)+nt(e,t,n||(r?"border":"content"),a,i,o)+"px"}function rt(e,t,n,i,r){return new rt.prototype.init(e,t,n,i,r)}E.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=qe(e,"opacity");return""===n?"1":n}}}},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(e,t,n,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var r,a,o,s=Y(t),c=Xe.test(t),u=e.style;if(c||(t=Qe(s)),o=E.cssHooks[t]||E.cssHooks[s],void 0===n)return o&&"get"in o&&void 0!==(r=o.get(e,!1,i))?r:u[t];"string"===(a=typeof n)&&(r=re.exec(n))&&r[1]&&(n=de(e,t,r),a="number"),null!=n&&n==n&&("number"!==a||c||(n+=r&&r[3]||(E.cssNumber[s]?"":"px")),y.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),o&&"set"in o&&void 0===(n=o.set(e,n,i))||(c?u.setProperty(t,n):u[t]=n))}},css:function(e,t,n,i){var r,a,o,s=Y(t);return Xe.test(t)||(t=Qe(s)),(o=E.cssHooks[t]||E.cssHooks[s])&&"get"in o&&(r=o.get(e,!0,n)),void 0===r&&(r=qe(e,t,i)),"normal"===r&&t in et&&(r=et[t]),""===n||n?(a=parseFloat(r),!0===n||isFinite(a)?a||0:r):r}}),E.each(["height","width"],function(e,t){E.cssHooks[t]={get:function(e,n,i){if(n)return!Ze.test(E.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?it(e,t,i):le(e,$e,function(){return it(e,t,i)})},set:function(e,n,i){var r,a=Ve(e),o=!y.scrollboxSize()&&"absolute"===a.position,s=(o||i)&&"border-box"===E.css(e,"boxSizing",!1,a),c=i?nt(e,t,i,s,a):0;return s&&o&&(c-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(a[t])-nt(e,t,"border",!1,a)-.5)),c&&(r=re.exec(n))&&"px"!==(r[3]||"px")&&(e.style[t]=n,n=E.css(e,t)),tt(0,n,c)}}}),E.cssHooks.marginLeft=Ke(y.reliableMarginLeft,function(e,t){if(t)return(parseFloat(qe(e,"marginLeft"))||e.getBoundingClientRect().left-le(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),E.each({margin:"",padding:"",border:"Width"},function(e,t){E.cssHooks[e+t]={expand:function(n){for(var i=0,r={},a="string"==typeof n?n.split(" "):[n];i<4;i++)r[e+ae[i]+t]=a[i]||a[i-2]||a[0];return r}},"margin"!==e&&(E.cssHooks[e+t].set=tt)}),E.fn.extend({css:function(e,t){return q(this,function(e,t,n){var i,r,a={},o=0;if(Array.isArray(t)){for(i=Ve(e),r=t.length;o1)}}),E.Tween=rt,rt.prototype={constructor:rt,init:function(e,t,n,i,r,a){this.elem=e,this.prop=n,this.easing=r||E.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=a||(E.cssNumber[n]?"":"px")},cur:function(){var e=rt.propHooks[this.prop];return e&&e.get?e.get(this):rt.propHooks._default.get(this)},run:function(e){var t,n=rt.propHooks[this.prop];return this.options.duration?this.pos=t=E.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):rt.propHooks._default.set(this),this}},rt.prototype.init.prototype=rt.prototype,rt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=E.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){E.fx.step[e.prop]?E.fx.step[e.prop](e):1!==e.elem.nodeType||!E.cssHooks[e.prop]&&null==e.elem.style[Qe(e.prop)]?e.elem[e.prop]=e.now:E.style(e.elem,e.prop,e.now+e.unit)}}},rt.propHooks.scrollTop=rt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},E.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},E.fx=rt.prototype.init,E.fx.step={};var at,ot,st=/^(?:toggle|show|hide)$/,ct=/queueHooks$/;function ut(){ot&&(!1===o.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(ut):n.setTimeout(ut,E.fx.interval),E.fx.tick())}function lt(){return n.setTimeout(function(){at=void 0}),at=Date.now()}function dt(e,t){var n,i=0,r={height:e};for(t=t?1:0;i<4;i+=2-t)r["margin"+(n=ae[i])]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}function pt(e,t,n){for(var i,r=(ft.tweeners[t]||[]).concat(ft.tweeners["*"]),a=0,o=r.length;a1)},removeAttr:function(e){return this.each(function(){E.removeAttr(this,e)})}}),E.extend({attr:function(e,t,n){var i,r,a=e.nodeType;if(3!==a&&8!==a&&2!==a)return void 0===e.getAttribute?E.prop(e,t,n):(1===a&&E.isXMLDoc(e)||(r=E.attrHooks[t.toLowerCase()]||(E.expr.match.bool.test(t)?mt:void 0)),void 0!==n?null===n?void E.removeAttr(e,t):r&&"set"in r&&void 0!==(i=r.set(e,n,t))?i:(e.setAttribute(t,n+""),n):r&&"get"in r&&null!==(i=r.get(e,t))?i:null==(i=E.find.attr(e,t))?void 0:i)},attrHooks:{type:{set:function(e,t){if(!y.radioValue&&"radio"===t&&R(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,i=0,r=t&&t.match(j);if(r&&1===e.nodeType)for(;n=r[i++];)e.removeAttribute(n)}}),mt={set:function(e,t,n){return!1===t?E.removeAttr(e,n):e.setAttribute(n,n),n}},E.each(E.expr.match.bool.source.match(/\w+/g),function(e,t){var n=ht[t]||E.find.attr;ht[t]=function(e,t,i){var r,a,o=t.toLowerCase();return i||(a=ht[o],ht[o]=r,r=null!=n(e,t,i)?o:null,ht[o]=a),r}});var gt=/^(?:input|select|textarea|button)$/i,yt=/^(?:a|area)$/i;function bt(e){return(e.match(j)||[]).join(" ")}function vt(e){return e.getAttribute&&e.getAttribute("class")||""}function Tt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(j)||[]}E.fn.extend({prop:function(e,t){return q(this,E.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[E.propFix[e]||e]})}}),E.extend({prop:function(e,t,n){var i,r,a=e.nodeType;if(3!==a&&8!==a&&2!==a)return 1===a&&E.isXMLDoc(e)||(t=E.propFix[t]||t,r=E.propHooks[t]),void 0!==n?r&&"set"in r&&void 0!==(i=r.set(e,n,t))?i:e[t]=n:r&&"get"in r&&null!==(i=r.get(e,t))?i:e[t]},propHooks:{tabIndex:{get:function(e){var t=E.find.attr(e,"tabindex");return t?parseInt(t,10):gt.test(e.nodeName)||yt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),y.optSelected||(E.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),E.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){E.propFix[this.toLowerCase()]=this}),E.fn.extend({addClass:function(e){var t,n,i,r,a,o,s,c=0;if(b(e))return this.each(function(t){E(this).addClass(e.call(this,t,vt(this)))});if((t=Tt(e)).length)for(;n=this[c++];)if(r=vt(n),i=1===n.nodeType&&" "+bt(r)+" "){for(o=0;a=t[o++];)i.indexOf(" "+a+" ")<0&&(i+=a+" ");r!==(s=bt(i))&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,i,r,a,o,s,c=0;if(b(e))return this.each(function(t){E(this).removeClass(e.call(this,t,vt(this)))});if(!arguments.length)return this.attr("class","");if((t=Tt(e)).length)for(;n=this[c++];)if(r=vt(n),i=1===n.nodeType&&" "+bt(r)+" "){for(o=0;a=t[o++];)for(;i.indexOf(" "+a+" ")>-1;)i=i.replace(" "+a+" "," ");r!==(s=bt(i))&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=typeof e,i="string"===n||Array.isArray(e);return"boolean"==typeof t&&i?t?this.addClass(e):this.removeClass(e):b(e)?this.each(function(n){E(this).toggleClass(e.call(this,n,vt(this),t),t)}):this.each(function(){var t,r,a,o;if(i)for(r=0,a=E(this),o=Tt(e);t=o[r++];)a.hasClass(t)?a.removeClass(t):a.addClass(t);else void 0!==e&&"boolean"!==n||((t=vt(this))&&X.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":X.get(this,"__className__")||""))})},hasClass:function(e){var t,n,i=0;for(t=" "+e+" ";n=this[i++];)if(1===n.nodeType&&(" "+bt(vt(n))+" ").indexOf(t)>-1)return!0;return!1}});var St=/\r/g;E.fn.extend({val:function(e){var t,n,i,r=this[0];return arguments.length?(i=b(e),this.each(function(n){var r;1===this.nodeType&&(null==(r=i?e.call(this,n,E(this).val()):e)?r="":"number"==typeof r?r+="":Array.isArray(r)&&(r=E.map(r,function(e){return null==e?"":e+""})),(t=E.valHooks[this.type]||E.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,r,"value")||(this.value=r))})):r?(t=E.valHooks[r.type]||E.valHooks[r.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(r,"value"))?n:"string"==typeof(n=r.value)?n.replace(St,""):null==n?"":n:void 0}}),E.extend({valHooks:{option:{get:function(e){var t=E.find.attr(e,"value");return null!=t?t:bt(E.text(e))}},select:{get:function(e){var t,n,i,r=e.options,a=e.selectedIndex,o="select-one"===e.type,s=o?null:[],c=o?a+1:r.length;for(i=a<0?c:o?a:0;i-1)&&(n=!0);return n||(e.selectedIndex=-1),a}}}}),E.each(["radio","checkbox"],function(){E.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=E.inArray(E(e).val(),t)>-1}},y.checkOn||(E.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),y.focusin="onfocusin"in n;var It=/^(?:focusinfocus|focusoutblur)$/,Et=function(e){e.stopPropagation()};E.extend(E.event,{trigger:function(e,t,i,r){var a,s,c,u,l,d,p,f,h=[i||o],g=m.call(e,"type")?e.type:e,y=m.call(e,"namespace")?e.namespace.split("."):[];if(s=f=c=i=i||o,3!==i.nodeType&&8!==i.nodeType&&!It.test(g+E.event.triggered)&&(g.indexOf(".")>-1&&(g=(y=g.split(".")).shift(),y.sort()),l=g.indexOf(":")<0&&"on"+g,(e=e[E.expando]?e:new E.Event(g,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=y.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+y.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=i),t=null==t?[e]:E.makeArray(t,[e]),p=E.event.special[g]||{},r||!p.trigger||!1!==p.trigger.apply(i,t))){if(!r&&!p.noBubble&&!v(i)){for(u=p.delegateType||g,It.test(u+g)||(s=s.parentNode);s;s=s.parentNode)h.push(s),c=s;c===(i.ownerDocument||o)&&h.push(c.defaultView||c.parentWindow||n)}for(a=0;(s=h[a++])&&!e.isPropagationStopped();)f=s,e.type=a>1?u:p.bindType||g,(d=(X.get(s,"events")||{})[e.type]&&X.get(s,"handle"))&&d.apply(s,t),(d=l&&s[l])&&d.apply&&Q(s)&&(e.result=d.apply(s,t),!1===e.result&&e.preventDefault());return e.type=g,r||e.isDefaultPrevented()||p._default&&!1!==p._default.apply(h.pop(),t)||!Q(i)||l&&b(i[g])&&!v(i)&&((c=i[l])&&(i[l]=null),E.event.triggered=g,e.isPropagationStopped()&&f.addEventListener(g,Et),i[g](),e.isPropagationStopped()&&f.removeEventListener(g,Et),E.event.triggered=void 0,c&&(i[l]=c)),e.result}},simulate:function(e,t,n){var i=E.extend(new E.Event,n,{type:e,isSimulated:!0});E.event.trigger(i,null,t)}}),E.fn.extend({trigger:function(e,t){return this.each(function(){E.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return E.event.trigger(e,t,n,!0)}}),y.focusin||E.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){E.event.simulate(t,e.target,E.event.fix(e))};E.event.special[t]={setup:function(){var i=this.ownerDocument||this,r=X.access(i,t);r||i.addEventListener(e,n,!0),X.access(i,t,(r||0)+1)},teardown:function(){var i=this.ownerDocument||this,r=X.access(i,t)-1;r?X.access(i,t,r):(i.removeEventListener(e,n,!0),X.remove(i,t))}}});var At=n.location,Pt=Date.now(),_t=/\?/;E.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new n.DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||E.error("Invalid XML: "+e),t};var Dt=/\[\]$/,Ct=/\r?\n/g,xt=/^(?:submit|button|image|reset|file)$/i,Rt=/^(?:input|select|textarea|keygen)/i;function wt(e,t,n,i){var r;if(Array.isArray(t))E.each(t,function(t,r){n||Dt.test(e)?i(e,r):wt(e+"["+("object"==typeof r&&null!=r?t:"")+"]",r,n,i)});else if(n||"object"!==I(t))i(e,t);else for(r in t)wt(e+"["+r+"]",t[r],n,i)}E.param=function(e,t){var n,i=[],r=function(e,t){var n=b(t)?t():t;i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!E.isPlainObject(e))E.each(e,function(){r(this.name,this.value)});else for(n in e)wt(n,e[n],t,r);return i.join("&")},E.fn.extend({serialize:function(){return E.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=E.prop(this,"elements");return e?E.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!E(this).is(":disabled")&&Rt.test(this.nodeName)&&!xt.test(e)&&(this.checked||!he.test(e))}).map(function(e,t){var n=E(this).val();return null==n?null:Array.isArray(n)?E.map(n,function(e){return{name:t.name,value:e.replace(Ct,"\r\n")}}):{name:t.name,value:n.replace(Ct,"\r\n")}}).get()}});var Ot=/%20/g,Nt=/#.*$/,kt=/([?&])_=[^&]*/,Lt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ut=/^(?:GET|HEAD)$/,Ft=/^\/\//,jt={},Mt={},Gt="*/".concat("*"),Bt=o.createElement("a");function zt(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var i,r=0,a=t.toLowerCase().match(j)||[];if(b(n))for(;i=a[r++];)"+"===i[0]?(i=i.slice(1)||"*",(e[i]=e[i]||[]).unshift(n)):(e[i]=e[i]||[]).push(n)}}function Vt(e,t,n,i){var r={},a=e===Mt;function o(s){var c;return r[s]=!0,E.each(e[s]||[],function(e,s){var u=s(t,n,i);return"string"!=typeof u||a||r[u]?a?!(c=u):void 0:(t.dataTypes.unshift(u),o(u),!1)}),c}return o(t.dataTypes[0])||!r["*"]&&o("*")}function Wt(e,t){var n,i,r=E.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((r[n]?e:i||(i={}))[n]=t[n]);return i&&E.extend(!0,e,i),e}Bt.href=At.href,E.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:At.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(At.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Gt,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/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":E.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Wt(Wt(e,E.ajaxSettings),t):Wt(E.ajaxSettings,e)},ajaxPrefilter:zt(jt),ajaxTransport:zt(Mt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var i,r,a,s,c,u,l,d,p,f,m=E.ajaxSetup({},t),h=m.context||m,g=m.context&&(h.nodeType||h.jquery)?E(h):E.event,y=E.Deferred(),b=E.Callbacks("once memory"),v=m.statusCode||{},T={},S={},I="canceled",A={readyState:0,getResponseHeader:function(e){var t;if(l){if(!s)for(s={};t=Lt.exec(a);)s[t[1].toLowerCase()+" "]=(s[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=s[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return l?a:null},setRequestHeader:function(e,t){return null==l&&(e=S[e.toLowerCase()]=S[e.toLowerCase()]||e,T[e]=t),this},overrideMimeType:function(e){return null==l&&(m.mimeType=e),this},statusCode:function(e){var t;if(e)if(l)A.always(e[A.status]);else for(t in e)v[t]=[v[t],e[t]];return this},abort:function(e){var t=e||I;return i&&i.abort(t),P(0,t),this}};if(y.promise(A),m.url=((e||m.url||At.href)+"").replace(Ft,At.protocol+"//"),m.type=t.method||t.type||m.method||m.type,m.dataTypes=(m.dataType||"*").toLowerCase().match(j)||[""],null==m.crossDomain){u=o.createElement("a");try{u.href=m.url,u.href=u.href,m.crossDomain=Bt.protocol+"//"+Bt.host!=u.protocol+"//"+u.host}catch(e){m.crossDomain=!0}}if(m.data&&m.processData&&"string"!=typeof m.data&&(m.data=E.param(m.data,m.traditional)),Vt(jt,m,t,A),l)return A;for(p in(d=E.event&&m.global)&&0==E.active++&&E.event.trigger("ajaxStart"),m.type=m.type.toUpperCase(),m.hasContent=!Ut.test(m.type),r=m.url.replace(Nt,""),m.hasContent?m.data&&m.processData&&0===(m.contentType||"").indexOf("application/x-www-form-urlencoded")&&(m.data=m.data.replace(Ot,"+")):(f=m.url.slice(r.length),m.data&&(m.processData||"string"==typeof m.data)&&(r+=(_t.test(r)?"&":"?")+m.data,delete m.data),!1===m.cache&&(r=r.replace(kt,"$1"),f=(_t.test(r)?"&":"?")+"_="+Pt+++f),m.url=r+f),m.ifModified&&(E.lastModified[r]&&A.setRequestHeader("If-Modified-Since",E.lastModified[r]),E.etag[r]&&A.setRequestHeader("If-None-Match",E.etag[r])),(m.data&&m.hasContent&&!1!==m.contentType||t.contentType)&&A.setRequestHeader("Content-Type",m.contentType),A.setRequestHeader("Accept",m.dataTypes[0]&&m.accepts[m.dataTypes[0]]?m.accepts[m.dataTypes[0]]+("*"!==m.dataTypes[0]?", "+Gt+"; q=0.01":""):m.accepts["*"]),m.headers)A.setRequestHeader(p,m.headers[p]);if(m.beforeSend&&(!1===m.beforeSend.call(h,A,m)||l))return A.abort();if(I="abort",b.add(m.complete),A.done(m.success),A.fail(m.error),i=Vt(Mt,m,t,A)){if(A.readyState=1,d&&g.trigger("ajaxSend",[A,m]),l)return A;m.async&&m.timeout>0&&(c=n.setTimeout(function(){A.abort("timeout")},m.timeout));try{l=!1,i.send(T,P)}catch(e){if(l)throw e;P(-1,e)}}else P(-1,"No Transport");function P(e,t,o,s){var u,p,f,T,S,I=t;l||(l=!0,c&&n.clearTimeout(c),i=void 0,a=s||"",A.readyState=e>0?4:0,u=e>=200&&e<300||304===e,o&&(T=function(e,t,n){for(var i,r,a,o,s=e.contents,c=e.dataTypes;"*"===c[0];)c.shift(),void 0===i&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(r in s)if(s[r]&&s[r].test(i)){c.unshift(r);break}if(c[0]in n)a=c[0];else{for(r in n){if(!c[0]||e.converters[r+" "+c[0]]){a=r;break}o||(o=r)}a=a||o}if(a)return a!==c[0]&&c.unshift(a),n[a]}(m,A,o)),T=function(e,t,n,i){var r,a,o,s,c,u={},l=e.dataTypes.slice();if(l[1])for(o in e.converters)u[o.toLowerCase()]=e.converters[o];for(a=l.shift();a;)if(e.responseFields[a]&&(n[e.responseFields[a]]=t),!c&&i&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),c=a,a=l.shift())if("*"===a)a=c;else if("*"!==c&&c!==a){if(!(o=u[c+" "+a]||u["* "+a]))for(r in u)if((s=r.split(" "))[1]===a&&(o=u[c+" "+s[0]]||u["* "+s[0]])){!0===o?o=u[r]:!0!==u[r]&&(a=s[0],l.unshift(s[1]));break}if(!0!==o)if(o&&e.throws)t=o(t);else try{t=o(t)}catch(e){return{state:"parsererror",error:o?e:"No conversion from "+c+" to "+a}}}return{state:"success",data:t}}(m,T,A,u),u?(m.ifModified&&((S=A.getResponseHeader("Last-Modified"))&&(E.lastModified[r]=S),(S=A.getResponseHeader("etag"))&&(E.etag[r]=S)),204===e||"HEAD"===m.type?I="nocontent":304===e?I="notmodified":(I=T.state,p=T.data,u=!(f=T.error))):(f=I,!e&&I||(I="error",e<0&&(e=0))),A.status=e,A.statusText=(t||I)+"",u?y.resolveWith(h,[p,I,A]):y.rejectWith(h,[A,I,f]),A.statusCode(v),v=void 0,d&&g.trigger(u?"ajaxSuccess":"ajaxError",[A,m,u?p:f]),b.fireWith(h,[A,I]),d&&(g.trigger("ajaxComplete",[A,m]),--E.active||E.event.trigger("ajaxStop")))}return A},getJSON:function(e,t,n){return E.get(e,t,n,"json")},getScript:function(e,t){return E.get(e,void 0,t,"script")}}),E.each(["get","post"],function(e,t){E[t]=function(e,n,i,r){return b(n)&&(r=r||i,i=n,n=void 0),E.ajax(E.extend({url:e,type:t,dataType:r,data:n,success:i},E.isPlainObject(e)&&e))}}),E._evalUrl=function(e,t){return E.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){E.globalEval(e,t)}})},E.fn.extend({wrapAll:function(e){var t;return this[0]&&(b(e)&&(e=e.call(this[0])),t=E(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return b(e)?this.each(function(t){E(this).wrapInner(e.call(this,t))}):this.each(function(){var t=E(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=b(e);return this.each(function(n){E(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){E(this).replaceWith(this.childNodes)}),this}}),E.expr.pseudos.hidden=function(e){return!E.expr.pseudos.visible(e)},E.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},E.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(e){}};var qt={0:200,1223:204},Kt=E.ajaxSettings.xhr();y.cors=!!Kt&&"withCredentials"in Kt,y.ajax=Kt=!!Kt,E.ajaxTransport(function(e){var t,i;if(y.cors||Kt&&!e.crossDomain)return{send:function(r,a){var o,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(o in e.xhrFields)s[o]=e.xhrFields[o];for(o in e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest"),r)s.setRequestHeader(o,r[o]);t=function(e){return function(){t&&(t=i=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?a(0,"error"):a(s.status,s.statusText):a(qt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=t(),i=s.onerror=s.ontimeout=t("error"),void 0!==s.onabort?s.onabort=i:s.onreadystatechange=function(){4===s.readyState&&n.setTimeout(function(){t&&i()})},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}}),E.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),E.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return E.globalEval(e),e}}}),E.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),E.ajaxTransport("script",function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(i,r){t=E("