(function(){n.props.updateOptions(ha()({},t,r))})),Uc.tracks.recordEvent(\"jetpack_wpa_settings_toggle\",{module:\"stats\",setting:t,role:e,toggled:i?\"on\":\"off\"})})),ha()(Os()(n),\"activateStats\",(function(){n.props.updateOptions({stats:!0})})),ha()(Os()(n),\"trackOpenCard\",(function(){Uc.tracks.recordJetpackClick({target:\"foldable-settings-open\",feature:\"stats\"})})),ha()(Os()(n),\"handleRoleToggleChange\",(function(e,t){return function(){return n.updateOptions(e,t)}}));var r=e.getOptionValue(\"count_roles\",\"stats\"),i=e.getOptionValue(\"roles\",\"stats\");return n.state={count_roles:r,roles:i,count_roles_administrator:Object(Dt.includes)(r,\"administrator\",!1),count_roles_editor:Object(Dt.includes)(r,\"editor\",!1),count_roles_author:Object(Dt.includes)(r,\"author\",!1),count_roles_contributor:Object(Dt.includes)(r,\"contributor\",!1),count_roles_subscriber:Object(Dt.includes)(r,\"subscriber\",!1),roles_administrator:!0,roles_editor:Object(Dt.includes)(i,\"editor\",!1),roles_author:Object(Dt.includes)(i,\"author\",!1),roles_contributor:Object(Dt.includes)(i,\"contributor\",!1),roles_subscriber:Object(Dt.includes)(i,\"subscriber\",!1)},n}return Ma()(t,e),As()(t,[{key:\"handleStatsOptionToggle\",value:function(e){var t=this;return function(){return t.props.updateFormStateModuleOption(\"stats\",e)}}},{key:\"render\",value:function(){var e=this,t=this.props.getModule(\"stats\"),n=this.props.getOptionValue(\"stats\"),r=this.props.isUnavailableInDevMode(\"stats\"),i=this.props.getSiteRoles();return\"inactive\"===this.props.getModuleOverride(\"stats\")?o.a.createElement(Wu,{moduleName:t.name}):n?o.a.createElement(Yu,Bc()({},this.props,{header:Us(\"Site stats\",{context:\"Settings header\"}),hideButton:!0,module:\"site-stats\"}),o.a.createElement(Dp,{onOpen:this.trackOpenCard,header:Us(\"Expand to update settings for how visits are counted and manage who can view this information.\"),clickableHeader:!0,className:Mc()(\"jp-foldable-settings-standalone\",{\"jp-foldable-settings-disable\":r})},o.a.createElement(ep,{disableInDevMode:!0,module:t,support:{text:Us(\"Displays information on your site activity, including visitors and popular posts or pages.\"),link:Vl(\"jetpack-support-wordpress-com-stats\")}},o.a.createElement(Hl,null,o.a.createElement(_u,{checked:!!this.props.getOptionValue(\"admin_bar\"),disabled:!n||r,toggling:this.props.isSavingAnyOption([\"stats\",\"admin_bar\"]),onChange:this.handleStatsOptionToggle(\"admin_bar\")},o.a.createElement(\"span\",{className:\"jp-form-toggle-explanation\"},Us(\"Include a small chart in your admin bar with a 48-hour traffic snapshot\"))),o.a.createElement(_u,{checked:!!this.props.getOptionValue(\"hide_smile\"),disabled:!n||r,toggling:this.props.isSavingAnyOption([\"stats\",\"hide_smile\"]),onChange:this.handleStatsOptionToggle(\"hide_smile\")},o.a.createElement(\"span\",{className:\"jp-form-toggle-explanation\"},Us(\"Hide the stats smiley face image\")),o.a.createElement(\"span\",{className:\"jp-form-setting-explanation\"},Us(\"The image helps collect stats, but should work when hidden.\")))),o.a.createElement(Hl,null,o.a.createElement(Kl,null,Us(\"Count logged in page views from\")),Object.keys(i).map((function(t){return o.a.createElement(_u,{checked:e.state[\"count_roles_\".concat(t)],disabled:!n||r||e.props.isSavingAnyOption([\"stats\",\"count_roles\"]),onChange:e.handleRoleToggleChange(t,\"count_roles\"),key:\"count_roles-\".concat(t)},o.a.createElement(\"span\",{className:\"jp-form-toggle-explanation\"},i[t].name))}))),o.a.createElement(Hl,null,o.a.createElement(Kl,null,Us(\"Allow stats reports to be viewed by\")),o.a.createElement(_u,{checked:!0,disabled:!0},o.a.createElement(\"span\",{className:\"jp-form-toggle-explanation\"},i.administrator.name)),Object.keys(i).map((function(t){return\"administrator\"!==t&&o.a.createElement(_u,{checked:e.state[\"roles_\".concat(t)],disabled:!n||r||e.props.isSavingAnyOption([\"stats\",\"roles\"]),onChange:e.handleRoleToggleChange(t,\"roles\"),key:\"roles-\".concat(t)},o.a.createElement(\"span\",{className:\"jp-form-toggle-explanation\"},i[t].name))})))))):o.a.createElement(Dl,{className:\"jp-at-a-glance__stats-card \"+(this.props.isDevMode?\"is-inactive\":\"\")},o.a.createElement(\"div\",{className:\"jp-at-a-glance__stats-inactive\"},o.a.createElement(\"div\",{className:\"jp-at-a-glance__stats-inactive-icon\"},o.a.createElement(\"img\",{src:rd+\"stats.svg\",width:\"60\",height:\"60\",alt:Us(\"Jetpack Stats Icon\"),className:\"jp-at-a-glance__stats-icon\"})),o.a.createElement(\"div\",{className:\"jp-at-a-glance__stats-inactive-text\"},this.props.isDevMode?Us(\"Unavailable in Dev Mode\"):Us(\"{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}\",{components:{a:o.a.createElement(\"a\",{href:\"javascript:void(0)\",onClick:this.activateStats}),a1:o.a.createElement(\"a\",{href:Vl(\"jetpack-support-wordpress-com-stats\"),target:\"_blank\",rel:\"noopener noreferrer\"})}})),!this.props.isDevMode&&o.a.createElement(\"div\",{className:\"jp-at-a-glance__stats-inactive-button\"},o.a.createElement(xc,{onClick:this.activateStats,primary:!0},Us(\"Activate Site Stats\")))))}}]),t}(o.a.Component)),od=function(e){function t(){return _a()(this,t),ka()(this,Ca()(t).apply(this,arguments))}return Ma()(t,e),As()(t,[{key:\"render\",value:function(){var e=this.props.isSiteConnected;return o.a.createElement(Yu,Bc()({},this.props,{header:Us(\"WP.me Shortlinks\",{context:\"Settings header\"}),module:\"shortlinks\",hideButton:!0}),o.a.createElement(ep,{module:{module:\"shortlinks\"},support:{text:this.props.shortlinksModule.description,link:Vl(\"jetpack-support-shortlinks\")},disableInDevMode:!0},o.a.createElement(ku,{slug:\"shortlinks\",disabled:!e,activated:this.props.shortlinksActive,toggling:this.props.isSavingAnyOption(\"shortlinks\"),toggleModule:this.props.toggleModuleNow},Us(\"Generate shortened URLs for simpler sharing.\"))))}}]),t}(s.Component),cd=Cu(le((function(e,t){return{shortlinksActive:t.getOptionValue(\"shortlinks\"),shortlinksModule:qa(e,\"shortlinks\")}}))(od)),ld=Cu(function(e){function t(){var e,n;_a()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=ka()(this,(e=Ca()(t)).call.apply(e,[this].concat(i))),ha()(Os()(n),\"state\",{show_headline:n.props.getOptionValue(\"show_headline\",\"related-posts\"),show_thumbnails:n.props.getOptionValue(\"show_thumbnails\",\"related-posts\")}),ha()(Os()(n),\"updateOptions\",(function(e){n.setState(ha()({},e,!n.state[e]),n.props.updateFormStateModuleOption(\"related-posts\",e))})),ha()(Os()(n),\"handleShowHeadlineToggleChange\",(function(){n.updateOptions(\"show_headline\")})),ha()(Os()(n),\"handleShowThumbnailsToggleChange\",(function(){n.updateOptions(\"show_thumbnails\")})),ha()(Os()(n),\"trackConfigureClick\",(function(){Uc.tracks.recordJetpackClick(\"configure-related-posts\")})),n}return Ma()(t,e),As()(t,[{key:\"render\",value:function(){var e=this,t=this.props.getOptionValue(\"related-posts\"),n=this.props.isUnavailableInDevMode(\"related-posts\");return o.a.createElement(Yu,Bc()({},this.props,{hideButton:!0,module:\"related-posts\"}),o.a.createElement(ep,{hasChild:!0,disableInDevMode:!0,module:this.props.getModule(\"related-posts\"),support:{text:Us(\"The feature helps visitors find more of your content by displaying related posts at the bottom of each post.\"),link:Vl(\"jetpack-support-related-posts\")}},o.a.createElement(\"p\",null,Us(\"Keep your visitors engaged with related content at the bottom of each post. These settings won\'t apply to {{a}}related posts added using the block editor{{/a}}.\",{components:{a:o.a.createElement(\"a\",{href:Vl(\"jetpack-support-jetpack-blocks-related-posts-block\"),target:\"_blank\",rel:\"noopener noreferrer\"})}})),o.a.createElement(ku,{slug:\"related-posts\",disabled:n,activated:t,toggling:this.props.isSavingAnyOption(\"related-posts\"),toggleModule:this.props.toggleModuleNow},o.a.createElement(\"span\",{className:\"jp-form-toggle-explanation\"},Us(\"Show related content after posts\"))),o.a.createElement(Hl,null,o.a.createElement(_u,{checked:this.state.show_headline,disabled:!t||n||this.props.isSavingAnyOption([\"related-posts\",\"show_headline\"]),onChange:this.handleShowHeadlineToggleChange},o.a.createElement(\"span\",{className:\"jp-form-toggle-explanation\"},Us(\"Highlight related content with a heading\"))),o.a.createElement(_u,{checked:this.state.show_thumbnails,disabled:!t||n||this.props.isSavingAnyOption([\"related-posts\",\"show_thumbnails\"]),onChange:this.handleShowThumbnailsToggleChange},o.a.createElement(\"span\",{className:\"jp-form-toggle-explanation\"},Us(\"Show a thumbnail image where available\"))),t&&o.a.createElement(\"div\",null,o.a.createElement(ql,{className:\"jp-form-label-wide\"},Us(\"Preview\",{context:\"A header for a preview area in the configuration screen.\"})),o.a.createElement(Dl,{className:\"jp-related-posts-preview\"},this.state.show_headline&&o.a.createElement(\"div\",{className:\"jp-related-posts-preview__title\"},Us(\"Related\")),[{url:\"cat-blog.png\",text:Us(\"Big iPhone/iPad Update Now Available\"),context:Us(\'In \"Mobile\"\',{comment:\"It refers to the category where a post was found. Used in an example preview.\"})},{url:\"devices.jpg\",text:Us(\"The WordPress for Android App Gets a Big Facelift\"),context:Us(\'In \"Mobile\"\',{comment:\"It refers to the category where a post was found. Used in an example preview.\"})},{url:\"mobile-wedding.jpg\",text:Us(\"Upgrade Focus: VideoPress For Weddings\"),context:Us(\'In \"Upgrade\"\',{comment:\"It refers to the category where a post was found. Used in an example preview.\"})}].map((function(t,n){return o.a.createElement(\"div\",{key:\"preview_\".concat(n),className:\"jp-related-posts-preview__item\"},e.state.show_thumbnails&&o.a.createElement(\"img\",{src:\"https://jetpackme.files.wordpress.com/2019/03/\".concat(t.url),alt:t.text}),o.a.createElement(\"h4\",{className:\"jp-related-posts-preview__post-title\"},o.a.createElement(\"a\",{href:\"#/traffic\"},t.text)),o.a.createElement(\"p\",{className:\"jp-related-posts-preview__post-context\"},t.context))})))))),!this.props.isUnavailableInDevMode(\"related-posts\")&&t&&o.a.createElement(Dl,{compact:!0,className:\"jp-settings-card__configure-link\",onClick:this.trackConfigureClick,href:this.props.configureUrl},Us(\"Configure related posts in the Customizer\")))}}]),t}(o.a.Component));function ud(){var e=this;this.intervals={},this.monitorInterval=null,this.windowInstance=null,this.onMessage=function(t){t.source===e.windowInstance&&e.emit(\"message\",t.data)}}Jp=ud.prototype,Object(Dt.assign)(Jp,ps.EventEmitter.prototype),Jp.emitChange=function(){this.emit(\"change\")},Jp.off=Jp.removeListener,ud.prototype.open=function(e,t,n){return t=t||Date.now(),this.windowInstance=window.open(e,t,n),this.startMonitoring(t,this.windowInstance),window.addEventListener(\"message\",this.onMessage,!1),this},ud.prototype.getScreenCenterSpecs=function(e,t){var n=void 0!==window.screenTop?window.screenTop:window.screenY,r=void 0!==window.screenLeft?window.screenLeft:window.screenX;return[\"width=\"+e,\"height=\"+t,\"top=\"+(n+window.innerHeight/2-t/2),\"left=\"+(r+window.innerWidth/2-e/2)].join()},ud.prototype.isOpen=function(e){var t=!1;try{t=this.intervals[e]&&this.intervals[e].closed}catch(n){}return!t},ud.prototype.checkStatus=function(){for(var e in this.intervals)this.intervals.hasOwnProperty(e)&&!this.isOpen(e)&&(this.emit(\"close\",e),delete this.intervals[e]);0===Object.keys(this.intervals).length&&(clearInterval(this.monitorInterval),delete this.monitorInterval,window.removeEventListener(\"message\",this.onMessage))},ud.prototype.startMonitoring=function(e,t){this.monitorInterval||(this.monitorInterval=setInterval(this.checkStatus.bind(this),100)),this.intervals[e]=t};var pd=ud,dd=function(e,t){var n,r=new pd;r.open(e,null,\"toolbar=0,location=0,status=0,menubar=0,\"+r.getScreenCenterSpecs(780,700)),r.once(\"close\",(function(){var e=null;n&&n.keyring_id&&(e=Number(n.keyring_id)),t(e)})),r.on(\"message\",(function(e){return n=e}))},hd=function(e){function t(){var e,n;_a()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=ka()(this,(e=Ca()(t)).call.apply(e,[this].concat(i))),ha()(Os()(n),\"state\",{inputVisible:!1}),ha()(Os()(n),\"handleClickAutoVerify\",(function(){n.props.fetchingSiteData||n.props.fetchingGoogleSiteVerify||(Uc.tracks.recordEvent(\"jetpack_site_verification_google_auto_verify_click\"),dd(n.props.googleSiteVerificationConnectUrl,(function(e){e&&n.checkAndVerifySite(e)})))})),ha()(Os()(n),\"handleClickSetManually\",(function(e){Uc.tracks.recordEvent(\"jetpack_site_verification_google_manual_verify_click\",{is_owner:n.props.isOwner}),n.toggleVerifyMethod(e)})),ha()(Os()(n),\"handleClickEdit\",(function(e){Uc.tracks.recordEvent(\"jetpack_site_verification_google_edit_click\",{is_owner:n.props.isOwner}),n.toggleVerifyMethod(e)})),ha()(Os()(n),\"handleClickCancel\",(function(e){Uc.tracks.recordEvent(\"jetpack_site_verification_google_cancel_click\",{is_owner:n.props.isOwner}),n.props.resetFormStateOption(\"google\"),n.toggleVerifyMethod(e)})),ha()(Os()(n),\"quickSave\",(function(e){Uc.tracks.recordEvent(\"jetpack_site_verification_google_manual_verify_save\",{is_owner:n.props.isOwner,is_empty:!n.props.value}),n.props.onSubmit(e)})),ha()(Os()(n),\"toggleVerifyMethod\",(function(){n.setState({inputVisible:!n.state.inputVisible})})),ha()(Os()(n),\"handleOnTextInputKeyPress\",(function(e){\"Enter\"===e.key&&n.quickSave()})),n}return Ma()(t,e),As()(t,[{key:\"componentDidMount\",value:function(){var e=this;this.props.isCurrentUserLinked&&this.props.checkVerifyStatusGoogle().then((function(t){if(e.props.googleSiteVerificationError&&\"unverify-site-error\"===e.props.googleSiteVerificationError.code&&e.props.updateOptions({google:\"\"}).then((function(){return e.props.checkVerifyStatusGoogle()})),t)return!e.props.getOptionValue(\"google\")&&t.token?e.props.updateOptions({google:t.token}):void(!e.props.getOptionValue(\"google\")||t.token||t.verified||e.setState({inputVisible:!0}))}))}},{key:\"checkAndVerifySite\",value:function(e){var t=this;this.props.createNotice(\"is-info\",Us(\"Verifying…\"),{id:\"verifying-site-google\"}),this.props.checkVerifyStatusGoogle(e).then((function(e){if(e)return e.token!==t.props.value?t.props.updateOptions({google:e.token}):void 0})).then((function(){t.props.removeNotice(\"verifying-site-google\"),t.props.isSiteVerifiedWithGoogle||t.props.verifySiteGoogle(e).then((function(){if(t.props.googleSiteVerificationError){var e=t.props.googleSiteVerificationError.message;Uc.tracks.recordEvent(\"jetpack_site_verification_google_verify_error\",{error_message:e}),t.props.createNotice(\"is-error\",Us(\"Site failed to verify: %(error)s\",{args:{error:e}}),{id:\"verify-site-google-error\",duration:5e3})}else t.props.isSiteVerifiedWithGoogle&&Uc.tracks.recordEvent(\"jetpack_site_verification_google_verify_success\")}))}))}},{key:\"render\",value:function(){var e=this.props.googleSiteVerificationError&&\"forbidden\"===this.props.googleSiteVerificationError.code;if(this.state.inputVisible||e||!this.props.isCurrentUserLinked)return o.a.createElement(\"div\",null,o.a.createElement(ql,{className:\"jp-form-input-with-prefix\",key:\"verification_service_google\"},o.a.createElement(\"span\",null,Us(\"Google\")),o.a.createElement(Bl,{name:\"google\",value:this.props.value,placeholder:this.props.placeholder,className:\"code\",disabled:this.props.disabled,onChange:this.props.onOptionChange,onKeyPress:this.handleOnTextInputKeyPress}),this.state.inputVisible&&o.a.createElement(\"div\",{className:\"jp-form-site-verification-buttons\"},o.a.createElement(xc,{primary:!0,type:\"button\",className:\"jp-form-site-verification-edit-button\",disabled:this.props.disabled,onClick:this.quickSave},Us(\"Save\")),o.a.createElement(xc,{type:\"button\",className:\"jp-form-site-verification-edit-button\",disabled:this.props.disabled,onClick:this.handleClickCancel},Us(\"Cancel\")))));if(this.props.isSiteVerifiedWithGoogle)return o.a.createElement(\"div\",null,o.a.createElement(\"div\",{className:\"jp-form-input-with-prefix\",key:\"verification_service_google\"},o.a.createElement(\"span\",null,Us(\"Google\")),o.a.createElement(\"div\",{className:\"jp-form-site-verification-verified\"},o.a.createElement(ml,{icon:\"checkmark-circle\",size:20}),\" \",o.a.createElement(\"span\",null,Us(\"Your site is verified with Google\"))),o.a.createElement(xc,{type:\"button\",className:\"jp-form-site-verification-edit-button\",onClick:this.handleClickEdit},Us(\"Edit\"))),this.props.isOwner&&o.a.createElement(\"div\",{className:\"jp-form-input-with-prefix-bottom-message\"},o.a.createElement(\"div\",{className:\"jp-form-setting-explanation\"},o.a.createElement(\"p\",null,Us(\"Monitor your site\'s traffic and performance from the {{a}}Google Search Console{{/a}}.\",{components:{a:o.a.createElement(Xu,{icon:!0,iconSize:16,target:\"_blank\",rel:\"noopener noreferrer\",href:this.props.googleSearchConsoleUrl})}}),\" \",Us(\"Google will email about certain events that occur with your site, including indications that your website has been {{a1}}hacked{{/a1}}, or problems {{a2}}crawling or indexing{{/a2}} your site.\",{components:{a1:o.a.createElement(Xu,{icon:!0,iconSize:16,target:\"_blank\",rel:\"noopener noreferrer\",href:\"https://developers.google.com/web/fundamentals/security/hacked/\"}),a2:o.a.createElement(Xu,{icon:!0,iconSize:16,target:\"_blank\",rel:\"noopener noreferrer\",href:\"https://www.google.com/insidesearch/howsearchworks/crawling-indexing.html\"})}})))));var t=this.props.fetchingSiteData||this.props.fetchingGoogleSiteVerify||this.props.isVerifyingGoogleSite||this.props.disabled;return o.a.createElement(\"div\",{className:\"jp-form-input-with-prefix jp-form-google-label-unverified\",key:\"verification_service_google\"},o.a.createElement(\"span\",null,Us(\"Google\")),o.a.createElement(\"div\",{className:\"jp-form-google-label-unverified-actions\"},o.a.createElement(xc,{primary:!0,type:\"button\",disabled:t,onClick:this.handleClickAutoVerify},Us(\"Verify with Google\")),o.a.createElement(\"span\",{className:\"jp-form-google-separator\"},Us(\"or\")),o.a.createElement(xc,{type:\"button\",disabled:t,onClick:this.handleClickSetManually},Us(\"Manually Verify \"))))}}]),t}(o.a.Component);ha()(hd,\"propTypes\",{disabled:u.a.bool}),ha()(hd,\"defaultProps\",{disabled:!1});var fd=le((function(e){return{fetchingSiteData:Bo(e),googleSiteVerificationConnectUrl:mo(e,\"google_site_verification\"),googleSearchConsoleUrl:uc(e),fetchingGoogleSiteVerify:ac(e),isConnectedToGoogle:oc(e),isSiteVerifiedWithGoogle:cc(e),isVerifyingGoogleSite:sc(e),userCanManageOptions:Ci(e),googleSiteVerificationError:lc(e),isOwner:pc(e)}}),{checkVerifyStatusGoogle:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return function(t){return t({type:Xr}),Da.fetchVerifySiteGoogleStatus(e).then((function(e){if(e.errors&&e.errors.length>0){var n=Object.keys(e.errors)[0],r=e.errors[n];return t({type:Qr,error:{code:n,message:r}}),e}return t({type:Zr,verified:e.verified,token:e.token,isOwner:e.is_owner,searchConsoleUrl:e.google_search_console_url,verificationConsoleUrl:e.google_verification_console_url}),e})).catch((function(e){t({type:Qr,error:e.response})}))}},createNotice:Qa,removeNotice:Xa,verifySiteGoogle:function(e){return function(t){return t({type:ri}),Da.verifySiteGoogle(e).then((function(e){if(e.errors&&e.errors.length>0){var n=Object.keys(e.errors)[0],r=e.errors[n];return t({type:ai,error:{code:n,message:r}}),e}return t({verified:e.verified,isOwner:e.is_owner,searchConsoleUrl:e.google_search_console_url,verificationConsoleUrl:e.google_verification_console_url,type:ii}),e.verified&&t(Qa(\"is-success\",Us(\"Site is verified\"),{id:\"verify-site-google-verified\",duration:2e3})),e})).catch((function(e){t({type:ai,error:e.response})}))}}})(hd),md=function(e){function t(){return _a()(this,t),ka()(this,Ca()(t).apply(this,arguments))}return Ma()(t,e),As()(t,[{key:\"getMetaTag\",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:\"\",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:\"\";return n?/^[a-z0-9_-]+$/i.test(n)?Object(Dt.includes)(n,\"<meta\")?n:\'<meta name=\"\'.concat(Object(Dt.get)(t.serviceIds,e,\"\"),\'\" content=\"\').concat(n,\'\" />\'):n:\"\"}},{key:\"getSiteVerificationValue\",value:function(e){var t=this.props.getOptionValue(e);return t===this.props.getSettingCurrentValue(e)?this.getMetaTag(e,t):t}},{key:\"render\",value:function(){var e=this.props.getModule(\"verification-tools\");if(\"inactive\"===this.props.getModuleOverride(\"verification-tools\"))return o.a.createElement(Ku,{title:e.name,icon:\"cog\",description:Us(\"%(moduleName)s has been disabled by a site administrator.\",{args:{moduleName:e.name}})});var t=!!this.props.getOptionValue(e.module);return o.a.createElement(Yu,Bc()({},this.props,{module:e.module,saveDisabled:this.props.isSavingAnyOption([\"google\",\"bing\",\"pinterest\",\"yandex\"])}),o.a.createElement(ep,{module:e,support:{text:Us(\"Provides the necessary hidden tags needed to verify your WordPress site with various services.\"),link:Vl(\"jetpack-support-site-verification-tools\")}},o.a.createElement(ku,{slug:e.module,activated:t,toggling:this.props.isSavingAnyOption([e.module]),disabled:this.props.isSavingAnyOption([e.module]),toggleModule:this.props.toggleModuleNow},o.a.createElement(\"span\",{className:\"jp-form-toggle-explanation\"},Us(\"Verify site ownership with third party services\"))),o.a.createElement(\"p\",null,Us(\"Note that {{b}}verifying your site with these services is not necessary{{/b}} in order for your site to be indexed by search engines. To use these advanced search engine tools and verify your site with a service, paste the HTML Tag code below. Read the {{support}}full instructions{{/support}} if you are having trouble. Supported verification services: {{google}}Google Search Console{{/google}}, {{bing}}Bing Webmaster Center{{/bing}}, {{pinterest}}Pinterest Site Verification{{/pinterest}}, and {{yandex}}Yandex.Webmaster{{/yandex}}.\",{components:{b:o.a.createElement(\"strong\",null),support:o.a.createElement(\"a\",{href:Vl(\"jetpack-support-site-verification-tools\")}),google:o.a.createElement(Xu,{icon:!0,target:\"_blank\",rel:\"noopener noreferrer\",href:\"https://www.google.com/webmasters/tools/\"}),bing:o.a.createElement(Xu,{icon:!0,target:\"_blank\",rel:\"noopener noreferrer\",href:\"https://www.bing.com/webmaster/\"}),pinterest:o.a.createElement(Xu,{icon:!0,target:\"_blank\",rel:\"noopener noreferrer\",href:\"https://pinterest.com/website/verify/\"}),yandex:o.a.createElement(Xu,{icon:!0,target:\"_blank\",rel:\"noopener noreferrer\",href:\"https://webmaster.yandex.com/sites/\"})}})),o.a.createElement(Hl,null,o.a.createElement(fd,Bc()({value:this.getSiteVerificationValue(\"google\"),placeholder:this.getMetaTag(\"google\",\"1234\")},this.props,{disabled:this.props.isUpdating(\"google\")||!t})),o.a.createElement(ql,{className:\"jp-form-input-with-prefix\",key:\"verification_service_bing\"},o.a.createElement(\"span\",null,Us(\"Bing\")),o.a.createElement(Bl,{name:\"bing\",value:this.getSiteVerificationValue(\"bing\"),placeholder:this.getMetaTag(\"bing\",\"1234\"),className:\"code\",disabled:this.props.isUpdating(\"bing\")||!t,onChange:this.props.onOptionChange})),o.a.createElement(ql,{className:\"jp-form-input-with-prefix\",key:\"verification_service_pinterest\"},o.a.createElement(\"span\",null,Us(\"Pinterest\")),o.a.createElement(Bl,{name:\"pinterest\",value:this.getSiteVerificationValue(\"pinterest\"),placeholder:this.getMetaTag(\"pinterest\",\"1234\"),className:\"code\",disabled:this.props.isUpdating(\"pinterest\")||!t,onChange:this.props.onOptionChange})),o.a.createElement(ql,{className:\"jp-form-input-with-prefix\",key:\"verification_service_yandex\"},o.a.createElement(\"span\",null,Us(\"Yandex\")),o.a.createElement(Bl,{name:\"yandex\",value:this.getSiteVerificationValue(\"yandex\"),placeholder:this.getMetaTag(\"yandex\",\"1234\"),className:\"code\",disabled:this.props.isUpdating(\"yandex\")||!t,onChange:this.props.onOptionChange})))))}}]),t}(o.a.Component);ha()(md,\"serviceIds\",{google:\"google-site-verification\",bing:\"msvalidate.01\",pinterest:\"p:domain_verify\",yandex:\"yandex-verification\"});var gd=Cu(md),vd=function(e){function t(){var e,n;_a()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=ka()(this,(e=Ca()(t)).call.apply(e,[this].concat(i))),ha()(Os()(n),\"trackSitemapUrl\",(function(){Uc.tracks.recordJetpackClick(\"sitemap-url-link\")})),ha()(Os()(n),\"trackSitemapNewsUrl\",(function(){Uc.tracks.recordJetpackClick(\"sitemap-news-url-link\")})),n}return Ma()(t,e),As()(t,[{key:\"render\",value:function(){var e=this.props.getModule(\"sitemaps\"),t=Object(Dt.get)(e,[\"extra\",\"sitemap_url\"],\"\"),n=Object(Dt.get)(e,[\"extra\",\"news_sitemap_url\"],\"\"),r=Mc()({\"jp-form-setting-explanation\":!0,\"is-warning\":!this.props.isSiteVisibleToSearchEngines&&this.props.getOptionValue(\"sitemaps\")});return o.a.createElement(Yu,Bc()({},this.props,{module:\"sitemaps\",hideButton:!0}),o.a.createElement(ep,{hasChild:!0,module:{module:\"sitemaps\"},support:{link:Vl(\"jetpack-support-sitemaps\")}},o.a.createElement(\"p\",null,Us(\"Sitemaps are files that search engines like Google or Bing use to index your website. They can help improve your ranking in search results. When you enable this feature, Jetpack will create sitemaps for you and update them automatically when the content on your site changes.\")),o.a.createElement(ku,{slug:\"sitemaps\",compact:!0,activated:this.props.getOptionValue(\"sitemaps\"),toggling:this.props.isSavingAnyOption(\"sitemaps\"),toggleModule:this.props.toggleModuleNow},Us(\"Generate XML sitemaps\")),this.props.isSiteVisibleToSearchEngines?this.props.getOptionValue(\"sitemaps\")&&o.a.createElement(Hl,null,o.a.createElement(\"p\",{className:\"jp-form-setting-explanation\"},Us(\"Good news: Jetpack is sending your sitemap automatically to all major search engines for indexing.\"),o.a.createElement(\"br\",null),o.a.createElement(Xu,{onClick:this.trackSitemapUrl,icon:!0,target:\"_blank\",rel:\"noopener noreferrer\",href:t},t),o.a.createElement(\"br\",null),o.a.createElement(Xu,{onClick:this.trackSitemapNewsUrl,icon:!0,target:\"_blank\",rel:\"noopener noreferrer\",href:n},n))):o.a.createElement(Hl,null,o.a.createElement(\"p\",{className:r},Us(\"Search engines can\'t access your site at the moment. If you\'d like to make your site accessible, check your {{a}}Reading settings{{/a}} and switch \\\"Search Engine Visibility\\\" on.\",{components:{a:o.a.createElement(\"a\",{href:this.props.siteAdminUrl+\"options-reading.php\"})}})))))}}]),t}(o.a.Component),bd=le((function(e){return{isSiteVisibleToSearchEngines:Di(e),siteAdminUrl:bi(e)}}))(Cu(vd)),yd=function(e){function t(){return _a()(this,t),ka()(this,Ca()(t).apply(this,arguments))}return Ma()(t,e),As()(t,[{key:\"render\",value:function(){var e={settings:this.props.settings,siteRawUrl:this.props.siteRawUrl,getModule:this.props.module,isSiteConnected:this.props.isSiteConnected,isDevMode:this.props.isDevMode,isUnavailableInDevMode:this.props.isUnavailableInDevMode,getModuleOverride:this.props.getModuleOverride},t=this.props.isModuleFound(\"seo-tools\"),n=this.props.isModuleFound(\"wordads\"),r=this.props.isModuleFound(\"stats\"),i=this.props.isModuleFound(\"shortlinks\"),a=this.props.isModuleFound(\"related-posts\"),s=this.props.isModuleFound(\"verification-tools\"),c=this.props.isModuleFound(\"sitemaps\"),l=this.props.isModuleFound(\"google-analytics\");return(this.props.searchTerm||this.props.active)&&(t||n||r||i||a||s||c||l)?o.a.createElement(\"div\",null,o.a.createElement(zl,null),o.a.createElement(Dl,{title:this.props.searchTerm?Us(\"Traffic\"):Us(\"Maximize your site’s visibility in search engines and view traffic stats in real time.\"),className:\"jp-settings-description\"}),n&&o.a.createElement(nd,Bc()({},e,{configureUrl:Vl(\"calypso-stats-ads-day\",{site:this.props.siteRawUrl})})),a&&o.a.createElement(ld,Bc()({},e,{configureUrl:this.props.siteAdminUrl+\"customize.php?autofocus[section]=jetpack_relatedposts&return=\"+encodeURIComponent(this.props.siteAdminUrl+\"admin.php?page=jetpack#/traffic\")+\"&url=\"+encodeURIComponent(this.props.lastPostUrl)})),t&&o.a.createElement(ed,Bc()({},e,{configureUrl:Vl(\"calypso-marketing-traffic\",{site:this.props.siteRawUrl,anchor:\"seo\"})})),l&&o.a.createElement(td,Bc()({},e,{configureUrl:Vl(\"calypso-marketing-traffic\",{site:this.props.siteRawUrl,anchor:\"analytics\"})})),r&&o.a.createElement(sd,e),i&&o.a.createElement(cd,e),c&&o.a.createElement(bd,e),s&&o.a.createElement(gd,e)):null}}]),t}(o.a.Component);ha()(yd,\"displayName\",\"TrafficSettings\");var _d=le((function(e){return{module:function(t){return qa(e,t)},settings:So(e),isDevMode:Qs(e),isUnavailableInDevMode:function(t){return no(e,t)},isModuleFound:function(t){return ko(e,t)},isSiteConnected:qs(e),lastPostUrl:zi(e),getModuleOverride:function(t){return $a(e,t)}}}))(yd),wd=function(e){function t(){var e,n;_a()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=ka()(this,(e=Ca()(t)).call.apply(e,[this].concat(i))),ha()(Os()(n),\"updateFormStateByMarkdown\",(function(e){return n.props.getSettingCurrentValue(\"wpcom_publish_comments_with_markdown\",e)?n.props.updateFormStateModuleOption(e,\"wpcom_publish_posts_with_markdown\"):n.props.updateFormStateModuleOption(e,\"wpcom_publish_posts_with_markdown\",!0)})),n}return Ma()(t,e),As()(t,[{key:\"render\",value:function(){var e=this.props.isModuleFound(\"copy-post\"),t=this.props.isModuleFound(\"latex\"),n=this.props.isModuleFound(\"markdown\"),r=this.props.isModuleFound(\"shortcodes\");if(!(e||t||n||r))return null;var i=this.props.module(\"markdown\"),a=this.props.module(\"latex\"),s=this.props.module(\"copy-post\"),c=this.props.module(\"shortcodes\"),l=o.a.createElement(ep,{module:s,support:{text:Us(\"Duplicate existing posts, pages, Testimonials, and Portfolios. All the content will be copied including text, featured images, sharing settings, and more.\"),link:Vl(\"jetpack-support-copy-post-2\")}},o.a.createElement(Hl,null,o.a.createElement(ku,{slug:\"copy-post\",activated:!!this.props.getOptionValue(\"copy-post\"),toggling:this.props.isSavingAnyOption(\"copy-post\"),disabled:this.props.isSavingAnyOption(\"copy-post\"),toggleModule:this.props.toggleModuleNow},o.a.createElement(\"span\",{className:\"jp-form-toggle-explanation\"},s.description)))),u=o.a.createElement(ep,{module:i,support:{text:Us(\"Use Markdown syntax to compose content with links, lists, and other styles. This setting enables Markdown in the Classic Editor as well as within a Classic Editor block.\"),link:Vl(\"jetpack-support-markdown\")}},o.a.createElement(Hl,null,o.a.createElement(ku,{slug:\"markdown\",activated:!!this.props.getOptionValue(\"wpcom_publish_posts_with_markdown\",\"markdown\"),toggling:this.props.isSavingAnyOption([\"markdown\",\"wpcom_publish_posts_with_markdown\"]),disabled:this.props.isSavingAnyOption([\"markdown\",\"wpcom_publish_posts_with_markdown\"]),toggleModule:this.updateFormStateByMarkdown},o.a.createElement(\"span\",{className:\"jp-form-toggle-explanation\"},i.description)))),p=o.a.createElement(ep,{module:a,support:{text:Us(\"LaTeX is a powerful markup language for writing complex mathematical equations and formulas.\"),link:Vl(\"jetpack-support-beautiful-math-with-latex\")}},o.a.createElement(Hl,null,o.a.createElement(ku,{slug:\"latex\",activated:!!this.props.getOptionValue(\"latex\"),toggling:this.props.isSavingAnyOption([\"latex\"]),disabled:this.props.isSavingAnyOption([\"latex\"]),toggleModule:this.props.toggleModuleNow},o.a.createElement(\"span\",{className:\"jp-form-toggle-explanation\"},a.description)))),d=o.a.createElement(ep,{module:c,support:{text:c.description,link:Vl(\"jetpack-support-shortcode-embeds\")}},o.a.createElement(Hl,null,o.a.createElement(ku,{slug:\"shortcodes\",activated:!!this.props.getOptionValue(\"shortcodes\"),toggling:this.props.isSavingAnyOption([\"shortcodes\"]),disabled:this.props.isSavingAnyOption([\"shortcodes\"]),toggleModule:this.props.toggleModuleNow},o.a.createElement(\"span\",{className:\"jp-form-toggle-explanation\"},Us(\"Compose using shortcodes to embed media from popular sites\")))));return o.a.createElement(Yu,Bc()({},this.props,{header:Us(\"Composing\",{context:\"Settings header\"}),module:\"composing\",saveDisabled:this.props.isSavingAnyOption(\"ignored_phrases\")}),e&&l,n&&u,t&&p,r&&d)}}]),t}(o.a.Component),kd=le((function(e){return{module:function(t){return qa(e,t)},isModuleFound:function(t){return ko(e,t)}}}))(Cu(wd)),Ed=function(e){function t(){var e,n;_a()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=ka()(this,(e=Ca()(t)).call.apply(e,[this].concat(i))),ha()(Os()(n),\"state\",{testimonial:n.props.getOptionValue(\"jetpack_testimonial\",\"custom-content-types\"),portfolio:n.props.getOptionValue(\"jetpack_portfolio\",\"custom-content-types\")}),ha()(Os()(n),\"updateCPTs\",(function(e){var t=\"testimonial\"===e?!(!n.state.testimonial||n.state.portfolio):!(!n.state.portfolio||n.state.testimonial);n.props.updateFormStateModuleOption(\"custom-content-types\",\"jetpack_\"+e,t),n.setState(ha()({},e,!n.state[e]))})),ha()(Os()(n),\"linkIfActiveCPT\",(function(e){return n.props.getSettingCurrentValue(\"jetpack_\".concat(e),\"custom-content-types\")?o.a.createElement(\"a\",{href:\"\".concat(n.props.siteAdminUrl,\"edit.php?post_type=jetpack-\").concat(e)}):o.a.createElement(\"span\",null)})),ha()(Os()(n),\"handleTestimonialToggleChange\",(function(){n.updateCPTs(\"testimonial\")})),ha()(Os()(n),\"handlePortfolioToggleChange\",(function(){n.updateCPTs(\"portfolio\")})),n}return Ma()(t,e),As()(t,[{key:\"render\",value:function(){if(!this.props.isModuleFound(\"custom-content-types\"))return null;var e=this.props.module(\"custom-content-types\"),t=\"inactive\"===this.props.getModuleOverride(\"custom-content-types\"),n=t&&Us(\"This feature has been disabled by a site administrator.\");return o.a.createElement(Yu,Bc()({},this.props,{module:\"custom-content-types\",hideButton:!0}),o.a.createElement(ep,{hasChild:!0,module:e,support:{link:Vl(\"jetpack-support-custom-content-types\")}},o.a.createElement(\"p\",null,Us(\"Add {{testimonialLink}}testimonials{{/testimonialLink}} to your website to attract new customers. If your theme doesn’t support Jetpack Testimonials, you can still use a simple shortcode to display them on your site.\",{components:{testimonialLink:this.linkIfActiveCPT(\"testimonial\")}})),o.a.createElement(_u,{checked:this.state.testimonial,disabled:this.props.isSavingAnyOption(\"jetpack_testimonial\")||t,onChange:this.handleTestimonialToggleChange,disabledReason:n},o.a.createElement(\"span\",{className:\"jp-form-toggle-explanation\"},Us(\"Testimonials\"))),o.a.createElement(Hl,null,o.a.createElement(\"p\",{className:\"jp-form-setting-explanation\"},Us(\"Testimonials shortcode: [testimonials]\")))),this.props.testimonialActive&&o.a.createElement(Pp,{className:\"jp-settings-card__configure-link\",href:\"\".concat(this.props.siteAdminUrl,\"post-new.php?post_type=jetpack-testimonial\")},Us(\"Add a testimonial\")),o.a.createElement(ep,{hasChild:!0,module:e,support:{link:Vl(\"jetpack-support-custom-content-types\")}},o.a.createElement(\"p\",null,Us(\"Use {{portfolioLink}}portfolios{{/portfolioLink}} on your site to showcase your best work. If your theme doesn’t support Jetpack Portfolios, you can still use a simple shortcode to display them on your site.\",{components:{portfolioLink:this.linkIfActiveCPT(\"portfolio\")}})),o.a.createElement(_u,{checked:this.state.portfolio,disabled:this.props.isSavingAnyOption(\"jetpack_portfolio\")||t,onChange:this.handlePortfolioToggleChange,disabledReason:n},o.a.createElement(\"span\",{className:\"jp-form-toggle-explanation\"},Us(\"Portfolios\"))),o.a.createElement(Hl,null,o.a.createElement(\"p\",{className:\"jp-form-setting-explanation\"},Us(\"Portfolios shortcode: [portfolio]\")))),this.props.portfolioActive&&o.a.createElement(Pp,{className:\"jp-settings-card__configure-link\",href:\"\".concat(this.props.siteAdminUrl,\"post-new.php?post_type=jetpack-portfolio\")},Us(\"Add a portfolio item\")))}}]),t}(o.a.Component),Cd=Cu(le((function(e,t){return{module:function(t){return qa(e,t)},isModuleFound:function(t){return ko(e,t)},getModuleOverride:function(t){return $a(e,t)},portfolioActive:t.getSettingCurrentValue(\"jetpack_portfolio\",\"custom-content-types\"),testimonialActive:t.getSettingCurrentValue(\"jetpack_testimonial\",\"custom-content-types\")}}))(Ed)),Sd=function(e){function t(){var e,n;_a()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=ka()(this,(e=Ca()(t)).call.apply(e,[this].concat(i))),ha()(Os()(n),\"getInfiniteMode\",(function(){return n.props.getOptionValue(\"infinite-scroll\")?n.props.getOptionValue(\"infinite_scroll\",\"infinite-scroll\")?\"infinite_scroll\":\"infinite_button\":\"infinite_default\"})),ha()(Os()(n),\"updateInfiniteMode\",(function(e){n.setState({infinite_mode:e},n.prepareOptionsToUpdate)})),ha()(Os()(n),\"prepareOptionsToUpdate\",(function(){\"infinite_default\"===n.state.infinite_mode?n.props.updateFormStateOptionValue(\"infinite-scroll\",!1):\"infinite_scroll\"!==n.state.infinite_mode&&\"infinite_button\"!==n.state.infinite_mode||n.props.updateFormStateOptionValue({\"infinite-scroll\":!0,infinite_scroll:\"infinite_scroll\"===n.state.infinite_mode})})),ha()(Os()(n),\"updateOptions\",(function(e,t){n.setState(ha()({},e,!n.state[e]),n.props.updateFormStateModuleOption(t,e))})),ha()(Os()(n),\"trackLearnMoreIS\",(function(){Uc.tracks.recordJetpackClick({target:\"learn-more\",feature:\"infinite-scroll\",extra:\"not-supported-link\"})})),ha()(Os()(n),\"state\",{infinite_mode:n.getInfiniteMode()}),ha()(Os()(n),\"handleInfiniteScrollModeChange\",(function(e){return function(){return n.updateInfiniteMode(e)}})),n}return Ma()(t,e),As()(t,[{key:\"render\",value:function(){var e=this,t=this.props.isModuleFound(\"infinite-scroll\"),n=this.props.isModuleFound(\"custom-css\");if(!t&&!n)return null;var r=this.props.getModule(\"infinite-scroll\"),i=this.props.getModule(\"custom-css\"),a=\"inactive\"===this.props.getModuleOverride(\"infinite-scroll\");return o.a.createElement(Yu,Bc()({},this.props,{header:Us(\"Theme enhancements\"),hideButton:!t||!this.props.isInfiniteScrollSupported,module:\"theme-enhancements\"}),a&&o.a.createElement(Wu,{moduleName:r.name,compact:!0}),t&&!a&&o.a.createElement(ep,{hasChild:!0,module:{module:r.module},key:\"theme_enhancement_\".concat(r.module),support:{text:Us(\"Loads the next posts automatically when the reader approaches the bottom of the page.\"),link:Vl(\"jetpack-support-infinite-scroll\")}},o.a.createElement(Kl,{className:\"jp-form-label-wide\"},r.name),o.a.createElement(\"p\",null,Us(\"Create a smooth, uninterrupted reading experience by loading more content as visitors scroll to the bottom of your archive pages.\")),this.props.isInfiniteScrollSupported?[{key:\"infinite_default\",label:Us(\"Load more posts using the default theme behavior\")},{key:\"infinite_button\",label:Us(\"Load more posts in page with a button\")},{key:\"infinite_scroll\",label:Us(\"Load more posts as the reader scrolls down\")}].map((function(t){return o.a.createElement(ql,{key:\"\".concat(r.module,\"_\").concat(t.key)},o.a.createElement(\"input\",{type:\"radio\",name:\"infinite_mode\",value:t.key,checked:t.key===e.state.infinite_mode,disabled:e.props.isSavingAnyOption([r.module,t.key]),onChange:e.handleInfiniteScrollModeChange(t.key)}),o.a.createElement(\"span\",{className:\"jp-form-toggle-explanation\"},t.label))})):o.a.createElement(\"span\",null,Us(\"Theme support required.\")+\" \",o.a.createElement(\"a\",{onClick:this.trackLearnMoreIS,href:r.learn_more_button+\"#theme\",title:Us(\"Learn more about adding support for Infinite Scroll to your theme.\")},Us(\"Learn more\")))),n&&o.a.createElement(ep,{module:{module:i.module},support:{text:i.description,link:Vl(\"jetpack-support-custom-css\")}},o.a.createElement(ku,{slug:\"custom-css\",activated:!!this.props.getOptionValue(\"custom-css\"),toggling:this.props.isSavingAnyOption([\"custom-css\"]),disabled:this.props.isSavingAnyOption([\"custom-css\"]),toggleModule:this.props.toggleModuleNow},o.a.createElement(\"span\",{className:\"jp-form-toggle-explanation\"},Us(\"Enhance CSS customization panel\")))))}}]),t}(o.a.Component),Md=le((function(e){return{module:function(t){return qa(e,t)},isInfiniteScrollSupported:Hi(e,\"infinite-scroll\"),isModuleFound:function(t){return ko(e,t)}}}))(Cu(Sd)),xd=n(182),Ad=n.n(xd),jd=function(e){function t(){var e,n;_a()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=ka()(this,(e=Ca()(t)).call.apply(e,[this].concat(i))),ha()(Os()(n),\"displayPrompt\",(function(){window.prompt(n.props.prompt,n.props.text)})),n}return Ma()(t,e),As()(t,[{key:\"componentDidMount\",value:function(){var e=this,t=a.a.findDOMNode(this.refs.button);this.clipboard=new Ad.a(t,{text:function(){return e.props.text}}),this.clipboard.on(\"success\",this.props.onCopy),this.clipboard.on(\"error\",this.displayPrompt)}},{key:\"componentWillUnmount\",value:function(){this.clipboard.destroy(),delete this.clipboard}},{key:\"render\",value:function(){var e=Mc()(\"dops-clipboard-button\",this.props.className);return o.a.createElement(xc,Bc()({ref:\"button\"},Object(Dt.omit)(this.props,Object.keys(this.constructor.propTypes)),{className:e}))}}]),t}(o.a.Component);ha()(jd,\"displayName\",\"ClipboardButton\"),ha()(jd,\"propTypes\",{className:u.a.string,text:u.a.string,prompt:u.a.string,onCopy:u.a.func}),ha()(jd,\"defaultProps\",{onCopy:Dt.noop});n(370);var Od=function(e){function t(){var e,n;_a()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=ka()(this,(e=Ca()(t)).call.apply(e,[this].concat(i))),ha()(Os()(n),\"state\",{isCopied:!1,disabled:!1}),ha()(Os()(n),\"showConfirmation\",(function(){n.setState({isCopied:!0}),n.confirmationTimeout=setTimeout((function(){n.setState({isCopied:!1})}),4e3)})),n}return Ma()(t,e),As()(t,[{key:\"componentWillUnmount\",value:function(){clearTimeout(this.confirmationTimeout),delete this.confirmationTimeout}},{key:\"render\",value:function(){var e=Object(Dt.omit)(this.props,\"className\",\"copied\",\"copy\",\"isError\",\"isValid\",\"prompt\",\"selectOnFocus\");return o.a.createElement(\"span\",{className:Mc()(\"dops-clipboard-button-input\",this.props.className)},o.a.createElement(Bl,Bc()({},e,{type:\"text\",selectOnFocus:!0,readOnly:!0})),o.a.createElement(jd,{text:this.props.value,onCopy:this.showConfirmation,disabled:this.props.disabled,prompt:this.props.prompt,compact:!0},this.state.isCopied?this.props.copied:this.props.copy))}}]),t}(o.a.Component);ha()(Od,\"displayName\",\"ClipboardButtonInput\"),ha()(Od,\"propTypes\",{value:u.a.string,disabled:u.a.bool,className:u.a.string,copied:u.a.string,copy:u.a.string,prompt:u.a.string}),ha()(Od,\"defaultProps\",{value:\"\"});var Nd=function(e){function t(){var e,n;_a()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=ka()(this,(e=Ca()(t)).call.apply(e,[this].concat(i))),ha()(Os()(n),\"regeneratePostByEmailAddress\",(function(e){Uc.tracks.recordJetpackClick(\"pbe-regenerage-email\"),e.preventDefault(),n.props.regeneratePostByEmailAddress()})),ha()(Os()(n),\"address\",(function(){var e=n.props.getOptionValue(\"post_by_email_address\");return!1===e||\"1\"===e||null===e?\"\":e})),n}return Ma()(t,e),As()(t,[{key:\"render\",value:function(){if(!this.props.isModuleFound(\"post-by-email\"))return null;var e=this.props.getModule(\"post-by-email\"),t=this.props.getOptionValue(\"post-by-email\"),n=this.props.isUnavailableInDevMode(\"post-by-email\")||!this.props.isLinked,r=this.address();return o.a.createElement(Yu,Bc()({},this.props,{module:\"post-by-email\",hideButton:!0}),o.a.createElement(ep,{hasChild:!0,disableInDevMode:!0,module:e,support:{text:Us(\"Allows you to publish new posts by sending an email to a special address.\"),link:Vl(\"jetpack-support-post-by-email\")}},o.a.createElement(\"p\",null,Us(\"Post by email is a quick way to publish new posts without visiting your site. We’ll generate a unique email address for you to send your content to, which will then appear on your site just like any other post.\")),this.props.userCanManageModules?o.a.createElement(ku,{slug:\"post-by-email\",compact:!0,disabled:n,activated:t,toggling:this.props.isSavingAnyOption(\"post-by-email\"),toggleModule:this.props.toggleModuleNow},o.a.createElement(\"span\",{className:\"jp-form-toggle-explanation\"},this.props.module(\"post-by-email\").description)):o.a.createElement(\"span\",{className:\"jp-form-toggle-explanation\"},this.props.module(\"post-by-email\").description),o.a.createElement(Hl,null,o.a.createElement(ql,null,o.a.createElement(Kl,null,Us(\"Send your new posts to this email address:\")),o.a.createElement(Od,{value:r,disabled:!t||n,copy:Us(\"Copy\",{context:\"verb\"}),copied:Us(\"Copied!\"),prompt:Us(\"Highlight and copy the following text to your clipboard:\")})),o.a.createElement(xc,{disabled:!t||n,onClick:this.regeneratePostByEmailAddress},Us(r?\"Regenerate address\":\"Create address\")))),!this.props.isUnavailableInDevMode(\"post-by-email\")&&!this.props.isLinked&&o.a.createElement(Dl,{compact:!0,className:\"jp-settings-card__configure-link\",href:\"\".concat(this.props.connectUrl,\"&from=unlinked-user-pbe\")},Us(\"Create a Jetpack account to use this feature\")))}}]),t}(o.a.Component),Td=le((function(e){return{module:function(t){return qa(e,t)},isModuleFound:function(t){return ko(e,t)}}}))(Cu(Nd)),Pd=function(e){function t(){return _a()(this,t),ka()(this,Ca()(t).apply(this,arguments))}return Ma()(t,e),As()(t,[{key:\"render\",value:function(){var e=this.props.isModuleFound(\"widgets\"),t=this.props.isModuleFound(\"widget-visibility\");return e||t?o.a.createElement(Yu,Bc()({},this.props,{header:Us(\"Widgets\",{context:\"Settings header\"}),module:\"widgets\",hideButton:!0}),e&&o.a.createElement(ep,{module:{module:\"widgets\"},support:{text:this.props.widgetsModule.description,link:Vl(\"jetpack-support-extra-sidebar-widgets\")}},o.a.createElement(ku,{slug:\"widgets\",activated:this.props.widgetsActive,toggling:this.props.isSavingAnyOption(\"widgets\"),toggleModule:this.props.toggleModuleNow},Us(\"Make extra widgets available for use on your site including subscription forms and Twitter streams\"))),t&&o.a.createElement(ep,{module:{module:\"widget-visibility\"},support:{text:Us(\"Widget visibility lets you decide which widgets appear on which pages, so you can finely tailor widget content.\"),link:Vl(\"jetpack-support-widget-visibility\")}},o.a.createElement(ku,{slug:\"widget-visibility\",activated:this.props.widgetVisibilityActive,toggling:this.props.isSavingAnyOption(\"widget-visibility\"),toggleModule:this.props.toggleModuleNow},Us(\"Enable widget visibility controls to display widgets only on particular posts or pages\")))):null}}]),t}(s.Component),Id=Cu(le((function(e,t){return{widgetVisibilityActive:t.getOptionValue(\"widget-visibility\"),widgetsActive:t.getOptionValue(\"widgets\"),widgetsModule:qa(e,\"widgets\"),isModuleFound:function(t){return ko(e,t)}}}))(Pd)),Dd=Cu(function(e){function t(){return _a()(this,t),ka()(this,Ca()(t).apply(this,arguments))}return Ma()(t,e),As()(t,[{key:\"render\",value:function(){var e=this.props.getOptionValue(\"masterbar\"),t=this.props.isUnavailableInDevMode(\"masterbar\"),n=this.props.isLinked;return o.a.createElement(Yu,Bc()({},this.props,{header:Us(\"WordPress.com toolbar\",{context:\"Settings header\"}),module:\"masterbar\",hideButton:!0}),o.a.createElement(ep,{disableInDevMode:!0,module:{module:\"masterbar\"},support:{text:Us(\"Adds a toolbar with links to all your sites, notifications, your WordPress.com profile, and the Reader.\"),link:Vl(\"jetpack-support-masterbar\")}},o.a.createElement(\"p\",null,Us(\"The WordPress.com toolbar replaces the default WordPress admin toolbar. It offers one-click access to notifications, your WordPress.com profile and your other Jetpack and WordPress.com websites. You can also catch up on the sites you follow in the Reader.\")),o.a.createElement(ku,{slug:\"masterbar\",disabled:t||!n,activated:e,toggling:this.props.isSavingAnyOption(\"masterbar\"),toggleModule:this.props.toggleModuleNow},Us(\"Enable the WordPress.com toolbar\"))),!this.props.isUnavailableInDevMode(\"masterbar\")&&!this.props.isLinked&&o.a.createElement(Dl,{compact:!0,className:\"jp-settings-card__configure-link\",href:\"\".concat(this.props.connectUrl,\"&from=unlinked-user-masterbar\")},Us(\"Create a Jetpack account to use this feature\")))}}]),t}(s.Component)),Rd=function(e){function t(){var e,n;_a()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=ka()(this,(e=Ca()(t)).call.apply(e,[this].concat(i))),ha()(Os()(n),\"state\",{carousel_display_exif:n.props.getOptionValue(\"carousel_display_exif\",\"carousel\")}),ha()(Os()(n),\"updateOptions\",(function(e){n.setState(ha()({},e,!n.state[e]),n.props.updateFormStateModuleOption(\"carousel\",e))})),ha()(Os()(n),\"handleCarouselDisplayExifChange\",(function(){n.updateOptions(\"carousel_display_exif\")})),n}return Ma()(t,e),As()(t,[{key:\"render\",value:function(){var e=this.props.isModuleFound(\"carousel\");if(!e)return null;var t=this.props.getOptionValue(\"carousel\");return o.a.createElement(Yu,Bc()({},this.props,{module:\"media\",header:Us(\"Media\"),hideButton:!e,saveDisabled:this.props.isSavingAnyOption(\"carousel_background_color\")}),o.a.createElement(ep,{hasChild:!0,module:{module:\"carousel\"},support:{link:Vl(\"jetpack-support-carousel\")}},o.a.createElement(\"p\",null,Us(\"Create full-screen carousel slideshows for the images in your posts and pages. Carousel galleries are mobile-friendly and encourage site visitors to interact with your photos.\")),o.a.createElement(ku,{slug:\"carousel\",activated:t,toggling:this.props.isSavingAnyOption(\"carousel\"),toggleModule:this.props.toggleModuleNow},o.a.createElement(\"span\",{className:\"jp-form-toggle-explanation\"},Us(\"Display images in a full-screen carousel gallery\"))),o.a.createElement(Hl,null,o.a.createElement(_u,{checked:this.state.carousel_display_exif,disabled:!t||this.props.isSavingAnyOption([\"carousel\",\"carousel_display_exif\"]),onChange:this.handleCarouselDisplayExifChange},o.a.createElement(\"span\",{className:\"jp-form-toggle-explanation\"},Us(\"Show photo Exif metadata in carousel (when available)\"))),o.a.createElement(Hl,null,o.a.createElement(\"p\",{className:\"jp-form-setting-explanation\"},Us(\"Exif data shows viewers additional technical details of a photo, like its focal length, aperture, and ISO.\"))),o.a.createElement(ql,null,o.a.createElement(Kl,{className:\"jp-form-label-wide\"},Us(\"Carousel color scheme\")),o.a.createElement(Xl,Bc()({name:\"carousel_background_color\",value:this.props.getOptionValue(\"carousel_background_color\"),disabled:!t||this.props.isSavingAnyOption([\"carousel\",\"carousel_background_color\"])},this.props,{validValues:this.props.validValues(\"carousel_background_color\",\"carousel\")}))))))}}]),t}(s.Component),Ud=le((function(e){return{module:function(t){return qa(e,t)},isModuleFound:function(t){return ko(e,t)}}}))(Cu(Rd)),Ld=function(e){function t(){return _a()(this,t),ka()(this,Ca()(t).apply(this,arguments))}return Ma()(t,e),As()(t,[{key:\"render\",value:function(){var e={settings:this.props.settings,getModule:this.props.module,isDevMode:this.props.isDevMode,isUnavailableInDevMode:this.props.isUnavailableInDevMode,isLinked:this.props.isLinked,getModuleOverride:this.props.getModuleOverride},t=[\"carousel\",\"copy-post\",\"custom-css\",\"latex\",\"masterbar\",\"markdown\",\"shortcodes\",\"custom-content-types\",\"post-by-email\",\"infinite-scroll\",\"widgets\",\"widget-visibility\"].some(this.props.isModuleFound);if(!this.props.searchTerm&&!this.props.active)return null;if(!t)return null;var n=this.props.userCanManageModules||this.props.userCanEditPosts,r=this.props.userCanManageModules||this.props.userCanEditPosts&&this.props.isModuleActivated(\"post-by-email\");return o.a.createElement(\"div\",null,o.a.createElement(zl,null),o.a.createElement(Dl,{title:this.props.searchTerm?Us(\"Writing\"):Us(\"Compose content the way you want to and streamline your publishing experience.\"),className:\"jp-settings-description\"}),this.props.isModuleFound(\"carousel\")&&o.a.createElement(Ud,e),n&&o.a.createElement(kd,Bc()({},e,{userCanManageModules:this.props.userCanManageModules})),this.props.isModuleFound(\"custom-content-types\")&&o.a.createElement(Cd,e),o.a.createElement(Md,e),o.a.createElement(Id,e),this.props.isModuleFound(\"post-by-email\")&&r&&o.a.createElement(Td,Bc()({},e,{connectUrl:this.props.connectUrl,isLinked:this.props.isLinked,userCanManageModules:this.props.userCanManageModules})),this.props.isModuleFound(\"masterbar\")&&!this.props.masterbarIsAlwaysActive&&o.a.createElement(Dd,Bc()({connectUrl:this.props.connectUrl},e)),!n&&!r&&o.a.createElement(Dl,null,Us(\"Writing tools available to you will be shown here when an administrator enables them.\")))}}]),t}(o.a.Component);ha()(Ld,\"displayName\",\"WritingSettings\");var Fd=le((function(e){return{module:function(t){return qa(e,t)},settings:So(e),masterbarIsAlwaysActive:Vi(e),isDevMode:Qs(e),isUnavailableInDevMode:function(t){return no(e,t)},userCanEditPosts:Si(e),isModuleActivated:function(t){return Ga(e,t)},isLinked:Xs(e),userCanManageModules:Ei(e),isModuleFound:function(t){return ko(e,t)},connectUrl:Js(e),getModuleOverride:function(t){return $a(e,t)}}}))(Ld),zd=function(e){function t(){return _a()(this,t),ka()(this,Ca()(t).apply(this,arguments))}return Ma()(t,e),As()(t,[{key:\"render\",value:function(){var e={route:this.props.route,searchTerm:this.props.searchTerm,rewindStatus:this.props.rewindStatus,userCanManageModules:this.props.userCanManageModules};return o.a.createElement(\"div\",{className:\"jp-settings-container\"},o.a.createElement(\"div\",{className:\"jp-no-results\"},e.searchTerm?Us(\"No search results found for %(term)s\",{args:{term:e.searchTerm}}):Us(\"Enter a search term to find settings or close search.\")),o.a.createElement(Wp,Bc()({siteAdminUrl:this.props.siteAdminUrl,siteRawUrl:this.props.siteRawUrl,active:\"/security\"===this.props.route.path||\"/settings\"===this.props.route.path&&e.userCanManageModules},e)),o.a.createElement(ip,Bc()({siteRawUrl:this.props.siteRawUrl,active:\"/discussion\"===this.props.route.path},e)),o.a.createElement(_p,Bc()({active:\"/performance\"===this.props.route.path},e)),o.a.createElement(_d,Bc()({siteRawUrl:this.props.siteRawUrl,siteAdminUrl:this.props.siteAdminUrl,active:\"/traffic\"===this.props.route.path},e)),o.a.createElement(Fd,Bc()({siteAdminUrl:this.props.siteAdminUrl,active:\"/writing\"===this.props.route.path||\"/settings\"===this.props.route.path&&!e.userCanManageModules},e)),o.a.createElement(Qp,Bc()({siteAdminUrl:this.props.siteAdminUrl,active:\"/sharing\"===this.props.route.path},e)),o.a.createElement(Sp,Bc()({active:\"/privacy\"===this.props.route.path},e)),o.a.createElement(Ap,{searchTerm:this.props.searchTerm}))}}]),t}(o.a.Component);ha()(zd,\"displayName\",\"SearchableSettings\");n(371);var Bd=function(e){return o.a.createElement(\"div\",{className:\"jp-setup-wizard-intro\"},o.a.createElement(\"img\",{width:\"200px\",height:\"200px\",src:rd+\"/jetpack-powering-up.svg\",alt:Us(\"A jetpack site powering up\")}),o.a.createElement(\"h1\",{className:\"jp-setup-wizard-header\"},Us(\"Set up Jetpack for better site security, performance, and more\")),o.a.createElement(\"p\",{className:\"jp-setup-wizard-paragraph\"},Us(\"Jetpack is a cloud-powered tool built by Automattic.\")),o.a.createElement(\"p\",{className:\"jp-setup-wizard-paragraph\"},Us(\"Answer a few questions and we’ll help you secure, speed up, customize, and grow your WordPress website.\")),o.a.createElement(\"div\",{className:\"jp-setup-wizard-intro-question\"},o.a.createElement(\"h2\",null,Us(\"What will %(siteTitle)s be used for?\",{args:{siteTitle:e.siteTitle}})),o.a.createElement(\"div\",{className:\"jp-setup-wizard-answer-buttons\"},o.a.createElement(xc,{primary:!0,className:\"jp-setup-wizard-button\"},Us(\"Personal Use\")),o.a.createElement(xc,{className:\"jp-setup-wizard-button\",primary:!0},Us(\"Business Use\"))),o.a.createElement(\"a\",{className:\"jp-setup-wizard-skip-link\",href:\"\"},Us(\"Skip to recommended features\"))))};Bd.propTypes={siteTitle:u.a.string.isRequired};var Vd=le((function(e){return{siteTitle:yi(e)}}))((function(e){return o.a.createElement(o.a.Fragment,null,o.a.createElement(zl,null),o.a.createElement(Bd,{siteTitle:e.siteTitle}))})),Hd=function(e){function t(){var e,n;_a()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=ka()(this,(e=Ca()(t)).call.apply(e,[this].concat(i))),ha()(Os()(n),\"trackCogClick\",(function(){Uc.tracks.recordJetpackClick({target:\"settings-cog\",group:\"security\",page:\"aag\"})})),n}return Ma()(t,e),As()(t,[{key:\"render\",value:function(){var e,t,n=Mc()(this.props.className,\"jp-dash-section-header\");return this.props.externalLink&&(e=o.a.createElement(\"a\",{className:\"jp-dash-section-header__external-link\",href:this.props.externalLinkPath,onClick:this.props.externalLinkClick},this.props.externalLink)),this.props.children&&(t=o.a.createElement(\"div\",{className:\"jp-dash-section-header__children\"},this.props.children)),o.a.createElement(\"div\",{className:n},o.a.createElement(\"div\",{className:\"jp-dash-section-header__label\"},o.a.createElement(\"h2\",{className:\"jp-dash-section-header__name\"},this.props.label)),e,t)}}]),t}(o.a.Component);ha()(Hd,\"displayName\",\"DashSectionHeader\"),ha()(Hd,\"propTypes\",{label:u.a.string.isRequired,settingsPath:u.a.string,externalLinkPath:u.a.string,externalLink:u.a.string,externalLinkClick:u.a.func}),ha()(Hd,\"defaultProps\",{label:\"\",settingsPath:\"\",externalLinkPath:\"\",externalLink:\"\"});var qd=Hd,Kd=function(e){function t(){var e,n;_a()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=ka()(this,(e=Ca()(t)).call.apply(e,[this].concat(i))),ha()(Os()(n),\"toggleModule\",(function(){var e=n.props,t=e.updateOptions,r=e.module,i=e.getOptionValue;t(ha()({},r,!i(r)))})),ha()(Os()(n),\"trackPaidBtnClick\",(function(){Uc.tracks.recordJetpackClick({target:\"paid-button\",feature:n.props.module,page:\"aag\"})})),n}return Ma()(t,e),As()(t,[{key:\"render\",value:function(){var e,t,n=\"\",r=Mc()(this.props.className,\"jp-dash-item\",this.props.disabled?\"jp-dash-item__disabled\":\"\");return\"\"!==this.props.module&&(t=Object(Dt.includes)([\"monitor\",\"protect\",\"photon\",\"vaultpress\",\"scan\",\"backups\",\"akismet\",\"search\"],this.props.module)&&this.props.isDevMode||\"manage\"===this.props.module?\"\":o.a.createElement(ku,{slug:this.props.module,activated:this.props.getOptionValue(this.props.module),toggling:this.props.isUpdating(this.props.module),toggleModule:this.toggleModule,compact:!0}),\"manage\"===this.props.module&&(\"is-warning\"===this.props.status&&(t=o.a.createElement(\"a\",{href:this.props.isDevMode?this.props.siteAdminUrl+\"update-core.php\":Vl(\"calypso-plugins-manage\",{site:this.props.siteRawUrl})},o.a.createElement(Pu,{showDismiss:!1,status:this.props.status,isCompact:!0},Us(\"Updates needed\",{context:\"Short warning message\"})))),\"is-working\"===this.props.status&&(t=o.a.createElement(\"span\",{className:\"jp-dash-item__active-label\"},Us(\"Active\")))),\"rewind\"===this.props.module&&(t=null)),this.props.pro&&!this.props.isDevMode&&(n=o.a.createElement(xc,{onClick:this.trackPaidBtnClick,compact:!0,href:\"#/plans\"},Us(\"Paid\",{context:\"Short label appearing near a paid feature configuration block.\"})),this.props.isModule&&(t=o.a.createElement(zu,{proFeature:this.props.module,siteAdminUrl:this.props.siteAdminUrl}))),this.props.module&&this.props.getModule&&(e=this.props.getModule(this.props.module)),o.a.createElement(\"div\",{className:r},o.a.createElement(Nu,{label:this.props.label,cardBadge:n},this.props.userCanToggle?t:\"\"),this.props.overrideContent?this.props.overrideContent:o.a.createElement(Dl,{className:\"jp-dash-item__card\",href:this.props.href},o.a.createElement(\"div\",{className:\"jp-dash-item__content\"},this.props.support.link&&o.a.createElement(Qu,Bc()({module:e},this.props.support)),this.props.children)))}}]),t}(s.Component);ha()(Kd,\"propTypes\",{label:u.a.string,status:u.a.string,statusText:u.a.string,disabled:u.a.bool,module:u.a.string,pro:u.a.bool,isModule:u.a.bool,support:u.a.object,overrideContent:u.a.element}),ha()(Kd,\"defaultProps\",{label:\"\",module:\"\",pro:!1,isModule:!0,support:{text:\"\",link:\"\"}});var Jd=le((function(e){return{getModule:function(t){return qa(e,t)},isDevMode:Qs(e),userCanToggle:Ei(e),siteRawUrl:vi(e),siteAdminUrl:bi(e)}}))(Cu(Kd)),Wd=function(e){function t(){return _a()(this,t),ka()(this,Ca()(t).apply(this,arguments))}return Ma()(t,e),As()(t,[{key:\"render\",value:function(){var e=this.props.inDevMode,t=Us(\"Jetpack keeps a complete record of everything that happens on your site, taking the guesswork out of site management, debugging, and repair.\");return o.a.createElement(\"div\",{className:\"jp-dash-item__interior\"},o.a.createElement(Jd,{label:Us(\"Activity\"),isModule:!1,className:Mc()({\"jp-dash-item__is-inactive\":e}),pro:!1},o.a.createElement(\"p\",{className:\"jp-dash-item__description\"},e?Us(\"Unavailable in Dev Mode.\"):t)),o.a.createElement(Dl,{key:\"view-activity\",className:\"jp-dash-item__manage-in-wpcom\",compact:!0,href:Vl(\"calypso-activity-log\",{site:this.props.siteRawUrl})},Us(\"View site activity\")))}}]),t}(s.Component);ha()(Wd,\"propTypes\",{inDevMode:u.a.bool.isRequired,siteRawUrl:u.a.string.isRequired,sitePlan:u.a.object.isRequired}),ha()(Wd,\"defaultProps\",{inDevMode:!1,siteRawUrl:\"\",sitePlan:\"\"});var Gd=le((function(e){return{sitePlan:qo(e),inDevMode:Qs(e)}}))(Wd),Yd=(n(372),function(){}),$d=function(e){function t(){return _a()(this,t),ka()(this,Ca()(t).apply(this,arguments))}return Ma()(t,e),As()(t,[{key:\"render\",value:function(){if(!this.props.showOnMobile&&Xc())return null;var e=Mc()(\"dops-popover\",\"dops-tooltip\",\"is-\".concat(this.props.position),this.props.className);return o.a.createElement(bu,{autoPosition:this.props.autoPosition,className:e,rootClassName:this.props.rootClassName,context:this.props.context,id:this.props.id,isVisible:this.props.isVisible,onClose:Yd,position:this.props.position,showDelay:this.props.showDelay},this.props.children)}}]),t}(s.Component);ha()($d,\"propTypes\",{autoPosition:u.a.bool,className:u.a.string,id:u.a.string,isVisible:u.a.bool,position:u.a.string,rootClassName:u.a.string,status:u.a.string,showDelay:u.a.number,showOnMobile:u.a.bool}),ha()($d,\"defaultProps\",{showDelay:100,position:\"top\",showOnMobile:!1});var Xd=$d,Qd=function(e){function t(){var e,n;_a()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=ka()(this,(e=Ca()(t)).call.apply(e,[this].concat(i))),ha()(Os()(n),\"state\",{showPopover:!1}),ha()(Os()(n),\"buildSections\",(function(){var e,t,r=n.props.data.value,i=n.props.max,a=100-(i?Math.ceil(r/i*1e4)/100:0),s=Math.max(1,Math.floor(a)),c=[],l=n.props.data.nestedValue,u={\"dops-chart__bar-section\":!0,\"is-spacer\":!0,\"is-ghost\":100===a&&!n.props.active},p={height:s+\"%\"};c.push(o.a.createElement(\"div\",{key:\"spacer\",className:Mc()(u),style:p}));var d={top:s+\"%\"};return l&&(t={height:(r?Math.ceil(l/r*1e4)/100:0)+\"%\"},e=o.a.createElement(\"div\",{key:\"nestedValue\",className:\"dops-chart__bar-section-inner\",style:t})),c.push(o.a.createElement(\"div\",{ref:\"valueBar\",key:\"value\",className:\"dops-chart__bar-section is-bar\",style:d},e)),c.push(o.a.createElement(\"div\",{key:\"label\",className:\"dops-chart__bar-label\"},n.props.label)),c})),ha()(Os()(n),\"clickHandler\",(function(){\"function\"==typeof n.props.clickHandler&&n.props.clickHandler(n.props.data)})),ha()(Os()(n),\"mouseEnter\",(function(){n.setState({showPopover:!0})})),ha()(Os()(n),\"mouseLeave\",(function(){n.setState({showPopover:!1})})),ha()(Os()(n),\"renderTooltip\",(function(){if(!n.props.data.tooltipData||!n.props.data.tooltipData.length||n.props.isTouch)return null;var e=n.props.data.tooltipData.map((function(e,t){var n,r=[\"module-content-list-item\"];return e.icon&&(n=o.a.createElement(ml,{icon:e.icon,size:18})),r.push(e.className),o.a.createElement(\"li\",{key:t,className:r.join(\" \")},o.a.createElement(\"span\",{className:\"dops-wrapper\"},o.a.createElement(\"span\",{className:\"value\"},e.value),o.a.createElement(\"span\",{className:\"label\"},n,e.label)))}));return o.a.createElement(Xd,{className:\"dops-chart__tooltip\",id:\"popover__chart-bar\",showDelay:200,context:n.refs&&n.refs.valueBar,isVisible:n.state.showPopover,position:n.props.tooltipPosition},o.a.createElement(\"ul\",null,e))})),n}return Ma()(t,e),As()(t,[{key:\"render\",value:function(){var e=this.props.count||1,t={\"dops-chart__bar\":!0};this.props.className&&(t[this.props.className]=!0);var n={width:1/e*100+\"%\"};return o.a.createElement(\"div\",{role:\"button\",tabIndex:0,onClick:this.clickHandler,onMouseEnter:this.mouseEnter,onMouseLeave:this.mouseLeave,className:Mc()(t),style:n},this.buildSections(),o.a.createElement(\"div\",{className:\"dops-chart__bar-marker is-hundred\"}),o.a.createElement(\"div\",{className:\"dops-chart__bar-marker is-fifty\"}),o.a.createElement(\"div\",{className:\"dops-chart__bar-marker is-zero\"}),this.renderTooltip())}}]),t}(o.a.Component);ha()(Qd,\"displayName\",\"ModuleChartBar\"),ha()(Qd,\"propTypes\",{isTouch:u.a.bool,tooltipPosition:u.a.string,className:u.a.string,clickHandler:u.a.func,data:u.a.object.isRequired,max:u.a.number,count:u.a.number});var Zd=function(e){function t(){return _a()(this,t),ka()(this,Ca()(t).apply(this,arguments))}return Ma()(t,e),As()(t,[{key:\"render\",value:function(){var e={width:this.props.width+\"px\"};return e.left=this.props.x+\"px\",o.a.createElement(\"div\",{className:\"dops-chart__x-axis-label\",style:e},this.props.label)}}]),t}(o.a.Component);ha()(Zd,\"displayName\",\"ModuleChartLabel\"),ha()(Zd,\"propTypes\",{width:u.a.number.isRequired,x:u.a.number.isRequired,label:u.a.string.isRequired});var eh=function(e){function t(){var e,n;_a()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=ka()(this,(e=Ca()(t)).call.apply(e,[this].concat(i))),ha()(Os()(n),\"state\",{divisor:1,spacing:n.props.labelWidth}),ha()(Os()(n),\"resize\",(function(e){var t=n.props,r=n.refs.axis;!e||e instanceof Event||(t=e),r.style.overflow=\"hidden\";var i=r.clientWidth;r.style.overflow=\"visible\";var a=i/(t.data.length||1),s=t.labelWidth,o=Math.ceil(s/a);n.setState({divisor:o,spacing:a})})),n}return Ma()(t,e),As()(t,[{key:\"componentDidMount\",value:function(){this.resizeThrottled=Object(Dt.throttle)(this.resize,400),window.addEventListener(\"resize\",this.resizeThrottled),this.resize()}},{key:\"componentWillUnmount\",value:function(){this.resizeThrottled.cancel&&this.resizeThrottled.cancel(),window.removeEventListener(\"resize\",this.resizeThrottled)}},{key:\"UNSAFE_componentWillReceiveProps\",value:function(e){this.resize(e)}},{key:\"render\",value:function(){var e=this.props.data,t=e.map((function(t,n){var r,i=n*this.state.spacing+(this.state.spacing-this.props.labelWidth)/2;return(e.length-n-1)%this.state.divisor==0&&(r=o.a.createElement(Zd,{key:n,label:t.label,width:this.props.labelWidth,x:i})),r}),this);return o.a.createElement(\"div\",{ref:\"axis\",className:\"dops-chart__x-axis\"},t)}}]),t}(o.a.Component);ha()(eh,\"displayName\",\"ModuleChartXAxis\"),ha()(eh,\"propTypes\",{labelWidth:u.a.number.isRequired,data:u.a.array.isRequired});var th=function(e){function t(){var e,n;_a()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=ka()(this,(e=Ca()(t)).call.apply(e,[this].concat(i))),ha()(Os()(n),\"buildBars\",(function(e){var t=n.props.data.length,r=n.props.chartWidth,i=r/t,a=\"bottom right\";return n.props.data.map((function(n,s){var c=i*(s+1);return c+230>r&&c+i-230>0&&(a=\"bottom left\"),o.a.createElement(Qd,{index:s,key:s,isTouch:this.props.isTouch,tooltipPosition:a,className:n.className,clickHandler:this.props.barClick,data:n,max:e,count:t})}),Os()(n))})),n}return Ma()(t,e),As()(t,[{key:\"render\",value:function(){return o.a.createElement(\"div\",null,o.a.createElement(\"div\",{className:\"dops-chart__bars\"},this.buildBars(this.props.yAxisMax)),o.a.createElement(eh,{data:this.props.data,labelWidth:42}))}}]),t}(o.a.Component);\n\";i:60;s:4:\"/**\n\";i:69;s:4:\" */\n\";i:70;s:194332:\"function nh(){return\"ontouchstart\"in window||window.DocumentTouch&&document instanceof DocumentTouch}ha()(th,\"displayName\",\"ModuleChartBarContainer\"),ha()(th,\"propTypes\",{isTouch:u.a.bool,data:u.a.array,yAxisMax:u.a.number,width:u.a.number,barClick:u.a.func});n(373);var rh=function(e){function t(){var e,n;_a()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=ka()(this,(e=Ca()(t)).call.apply(e,[this].concat(i))),ha()(Os()(n),\"state\",{maxBars:100,width:650}),ha()(Os()(n),\"resize\",(function(){var e,t=n.refs.chart.clientWidth-82;nh()?(t=t<=0?350:t,e=Math.floor(t/n.props.minTouchBarWidth)):e=Math.floor(t/n.props.minBarWidth),n.setState({maxBars:e,width:t})})),ha()(Os()(n),\"getYAxisMax\",(function(e){var t=Math.max.apply(null,e),n=Math.pow(10,t.toString().length-1),r=Math.ceil((t+1)/n)*n;return r<10&&(r=10),r})),ha()(Os()(n),\"getData\",(function(){var e=n.props.data;return e=e.slice(0-n.state.maxBars)})),ha()(Os()(n),\"getValues\",(function(){var e=n.getData();return e=e.map((function(e){return e.value}),Os()(n))})),ha()(Os()(n),\"isEmptyChart\",(function(e){return 0===(e=e.filter((function(e){return e>0}),Os()(n))).length})),n}return Ma()(t,e),As()(t,[{key:\"componentDidMount\",value:function(){this.resize=Object(Dt.throttle)(this.resize,400),window.addEventListener(\"resize\",this.resize),this.resize()}},{key:\"componentWillUnmount\",value:function(){window.removeEventListener(\"resize\",this.resize)}},{key:\"UNSAFE_componentWillReceiveProps\",value:function(e){this.props.loading&&!e.loading&&this.resize()}},{key:\"render\",value:function(){var e,t=this.getValues(),n=this.getYAxisMax(t),r=this.getData();return t.length&&this.isEmptyChart(t)&&(e=o.a.createElement(\"div\",{className:\"dops-chart__empty\"},o.a.createElement(\"span\",{className:\"dops-chart__empty_notice\"},Us(\"No activity this period\",{context:\"Notice in the empty statistics chart\"})))),o.a.createElement(\"div\",{ref:\"chart\",className:\"dops-chart\"},o.a.createElement(\"div\",{className:\"dops-chart__y-axis-markers\"},o.a.createElement(\"div\",{className:\"dops-chart__y-axis-marker is-hundred\"}),o.a.createElement(\"div\",{className:\"dops-chart__y-axis-marker is-fifty\"}),o.a.createElement(\"div\",{className:\"dops-chart__y-axis-marker is-zero\"})),o.a.createElement(\"div\",{className:\"dops-chart__y-axis\"},o.a.createElement(\"div\",{className:\"dops-chart__y-axis-width-fix\"},new Number(1e5).toLocaleString()),o.a.createElement(\"div\",{className:\"dops-chart__y-axis-label is-hundred\"},n.toLocaleString()),o.a.createElement(\"div\",{className:\"dops-chart__y-axis-label is-fifty\"},(n/2).toLocaleString()),o.a.createElement(\"div\",{className:\"dops-chart__y-axis-label is-zero\"},0)),o.a.createElement(th,{barClick:this.props.barClick,data:r,yAxisMax:n,chartWidth:this.state.width,isTouch:nh()}),e)}}]),t}(o.a.Component);ha()(rh,\"displayName\",\"ModuleChart\"),ha()(rh,\"propTypes\",{loading:u.a.bool,data:u.a.array,minTouchBarWidth:u.a.number,minBarWidth:u.a.number,barClick:u.a.func}),ha()(rh,\"defaultProps\",{minTouchBarWidth:42,minBarWidth:15,barClick:Dt.noop});var ih=function(e){function t(){return _a()(this,t),ka()(this,Ca()(t).apply(this,arguments))}return Ma()(t,e),As()(t,[{key:\"UNSAFE_componentWillMount\",value:function(){this.props.fetchingStatsData||this.props.fetchStatsData(this.props.range)}},{key:\"render\",value:function(){return null}}]),t}(s.Component);ih.defaultProps={fetchStatsData:function(){}};var ah=le((function(e){return{fetchStatsData:function(t){return Su(e)},fetchingStatsData:Qi(e)}}),(function(e){return{fetchStatsData:function(t){return e(Su(t))}}}))(ih),sh=function(e){function t(){var e,n;_a()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=ka()(this,(e=Ca()(t)).call.apply(e,[this].concat(i))),ha()(Os()(n),\"trackViewDetailedStats\",(function(){return Uc.tracks.recordJetpackClick(\"view_detailed_stats\")})),ha()(Os()(n),\"trackViewWpcomStats\",(function(){return Uc.tracks.recordJetpackClick(\"view_wpcom_stats\")})),n}return Ma()(t,e),As()(t,[{key:\"statsBottom\",value:function(){var e;return[{viewsToday:(e=\"object\"==typeof this.props.statsData.general?this.props.statsData.general.stats:{views:\"-\",comments:\"-\",views_today:\"-\",views_best_day:\"-\",views_best_day_total:\"-\"}).views_today,bestDay:{day:e.views_best_day,count:e.views_best_day_total},allTime:{views:e.views,comments:e.comments}}]}},{key:\"render\",value:function(){var e=this.statsBottom()[0];return o.a.createElement(\"div\",null,o.a.createElement(\"div\",{className:\"jp-at-a-glance__stats-summary\"},o.a.createElement(\"div\",{className:\"jp-at-a-glance__stats-summary-today\"},o.a.createElement(\"p\",{className:\"jp-at-a-glance__stat-details\"},Us(\"Views today\",{comment:\"Referring to a number of page views\"})),o.a.createElement(\"h3\",{className:\"jp-at-a-glance__stat-number\"},e.viewsToday)),o.a.createElement(\"div\",{className:\"jp-at-a-glance__stats-summary-bestday\"},o.a.createElement(\"p\",{className:\"jp-at-a-glance__stat-details\"},Us(\"Best overall day\",{comment:\"Referring to a number of page views\"})),o.a.createElement(\"h3\",{className:\"jp-at-a-glance__stat-number\"},\"-\"===e.bestDay.count?\"-\":Us(\"%(number)s View\",\"%(number)s Views\",{count:e.bestDay.count,args:{number:Rs(e.bestDay.count)}})),o.a.createElement(\"p\",{className:\"jp-at-a-glance__stat-details\"},\"-\"===e.bestDay.day?\"-\":Ds(e.bestDay.day).format(\"MMMM Do, YYYY\"))),o.a.createElement(\"div\",{className:\"jp-at-a-glance__stats-summary-alltime\"},o.a.createElement(\"div\",{className:\"jp-at-a-glance__stats-alltime-views\"},o.a.createElement(\"p\",{className:\"jp-at-a-glance__stat-details\"},Us(\"All-time views\",{comment:\"Referring to a number of page views\"})),o.a.createElement(\"h3\",{className:\"jp-at-a-glance__stat-number\"},\"-\"===e.allTime.views?\"-\":Rs(e.allTime.views))),o.a.createElement(\"div\",{className:\"jp-at-a-glance__stats-alltime-comments\"},o.a.createElement(\"p\",{className:\"jp-at-a-glance__stat-details\"},Us(\"All-time comments\",{comment:\"Referring to a number of comments\"})),o.a.createElement(\"h3\",{className:\"jp-at-a-glance__stat-number\"},\"-\"===e.allTime.comments?\"-\":Rs(e.allTime.comments))))),o.a.createElement(\"div\",{className:\"jp-at-a-glance__stats-cta\"},o.a.createElement(\"div\",{className:\"jp-at-a-glance__stats-cta-description\"}),o.a.createElement(\"div\",{className:\"jp-at-a-glance__stats-cta-buttons\"},Us(\"{{button}}View detailed stats{{/button}}\",{components:{button:o.a.createElement(xc,{onClick:this.trackViewDetailedStats,href:this.props.siteAdminUrl+\"admin.php?page=stats\"})}}),this.props.isLinked&&Us(\"{{button}}View more stats on WordPress.com {{/button}}\",{components:{button:o.a.createElement(xc,{onClick:this.trackViewWpcomStats,className:\"is-primary\",href:Vl(\"calypso-stats-insights\",{site:this.props.siteRawUrl})})}}))),!this.props.isLinked&&o.a.createElement(Dl,{compact:!0,className:\"jp-settings-card__configure-link\",href:\"\".concat(this.props.connectUrl,\"&from=unlinked-user-connect\")},Us(\"Connect your account to WordPress.com to view more stats\")))}}]),t}(s.Component);sh.propTypes={siteRawUrl:u.a.string.isRequired,siteAdminUrl:u.a.string.isRequired,statsData:u.a.object.isRequired,isLinked:u.a.bool.isRequired},sh.defaultProps={siteRawUrl:\"\",siteAdminUrl:\"\",statsData:{},isLinked:!1};var oh=sh,ch=function(e){function t(e){var n;return _a()(this,t),n=ka()(this,Ca()(t).call(this,e)),ha()(Os()(n),\"dismissCard\",(function(){n.setState({emptyStatsDismissed:!0}),n.props.updateOptions({dismiss_empty_stats_card:!0})})),ha()(Os()(n),\"activateStats\",(function(){return n.props.updateOptions({stats:!0})})),ha()(Os()(n),\"switchToDay\",(function(){return n.switchTo(\"day\")})),ha()(Os()(n),\"switchToWeek\",(function(){return n.switchTo(\"week\")})),ha()(Os()(n),\"switchToMonth\",(function(){return n.switchTo(\"month\")})),n.state={emptyStatsDismissed:e.isEmptyStatsCardDismissed},n}return Ma()(t,e),As()(t,[{key:\"barClick\",value:function(e){e.data.link&&(Uc.tracks.recordJetpackClick(\"stats_bar\"),window.open(e.data.link,\"_blank\"))}},{key:\"statsChart\",value:function(e){var t=this.props,n=[],r=0;return\"object\"!=typeof t.statsData[e]?{chartData:n,totalViews:!1}:(Object(Dt.forEach)(t.statsData[e].data,(function(i){var a=i[1],s=i[0],o=\"\",c=\"\";r+=a,\"day\"===e?(o=Ds(s).format(\"MMM D\"),c=Ds(s).format(\"MMMM Do\")):\"week\"===e?(s=s.replace(/W/g,\"-\"),o=Ds(s).format(\"MMM D\"),c=Us(\"Week of %(date)s\",{args:{date:Ds(s).format(\"MMMM Do\")}})):\"month\"===e&&(o=Ds(s).format(\"MMM\"),c=Ds(s).format(\"MMMM, YYYY\")),n.push({label:o,value:a,nestedValue:null,className:\"statsChartbar\",data:{link:Vl(\"calypso-stats-\".concat(e),{site:t.siteRawUrl,query:\"startDate=\".concat(s)})},tooltipData:[{label:c,value:Us(\"Views: %(numberOfViews)s\",{args:{numberOfViews:Rs(a)}}),className:\"tooltip class\"},{label:Us(\"Click to view detailed stats.\")}]})})),{chartData:n,totalViews:r})}},{key:\"statsErrors\",value:function(){return Object(Dt.get)(this.props.statsData,[\"general\",\"errors\"],!1)}},{key:\"renderStatsChart\",value:function(e){return o.a.createElement(\"div\",null,o.a.createElement(\"div\",{className:\"jp-at-a-glance__stats-chart\"},o.a.createElement(rh,{data:e,barClick:this.barClick}),0===e.length&&o.a.createElement(fl,null)),o.a.createElement(\"div\",{id:\"stats-bottom\",className:\"jp-at-a-glance__stats-bottom\"},o.a.createElement(oh,{statsData:this.props.statsData,siteRawUrl:this.props.siteRawUrl,siteAdminUrl:this.props.siteAdminUrl,isLinked:this.props.isLinked,connectUrl:this.props.connectUrl})))}},{key:\"renderEmptyStatsCard\",value:function(){return o.a.createElement(Dl,{className:\"jp-at-a-glance__stats-empty\"},o.a.createElement(\"img\",{src:rd+\"stats-people.svg\",width:\"272\",height:\"144\",alt:Us(\"Jetpack Stats People\"),className:\"jp-at-a-glance__stats-icon\"}),o.a.createElement(\"p\",null,Us(\"Hello there! Your stats have been activated.\"),o.a.createElement(\"br\",null),Us(\"Just give us a little time to collect data so we can display it for you here.\")),o.a.createElement(xc,{onClick:this.dismissCard,primary:!0},Us(\"Okay, got it!\")))}},{key:\"renderStatsArea\",value:function(){if(this.props.getOptionValue(\"stats\")){if(this.statsErrors())return o.a.createElement(\"div\",{className:\"jp-at-a-glance__stats-inactive\"},o.a.createElement(\"span\",null,Us(\"Something happened while loading stats. Please try again later or {{a}}view your stats now on WordPress.com{{/a}}\",{components:{a:o.a.createElement(\"a\",{href:Vl(\"calypso-stats-insights\",{site:this.props.siteRawUrl})})}})));var e=this.statsChart(this.props.activeTab),t=e.chartData,n=e.totalViews,r=t.length&&n<=0&&!this.props.isEmptyStatsCardDismissed&&!this.state.emptyStatsDismissed;return o.a.createElement(\"div\",{className:\"jp-at-a-glance__stats-container\"},r?this.renderEmptyStatsCard():this.renderStatsChart(t))}return o.a.createElement(\"div\",{className:\"jp-at-a-glance__stats-inactive\"},o.a.createElement(\"div\",{className:\"jp-at-a-glance__stats-inactive-icon\"},o.a.createElement(\"img\",{src:rd+\"stats.svg\",width:\"60\",height:\"60\",alt:Us(\"Jetpack Stats Icon\"),className:\"jp-at-a-glance__stats-icon\"})),o.a.createElement(\"div\",{className:\"jp-at-a-glance__stats-inactive-text\"},this.props.isDevMode?Us(\"Unavailable in Dev Mode\"):Us(\"{{a}}Activate Site Stats{{/a}} to see detailed stats, likes, followers, subscribers, and more! {{a1}}Learn More{{/a1}}\",{components:{a:o.a.createElement(\"a\",{href:\"javascript:void(0)\",onClick:this.activateStats}),a1:o.a.createElement(\"a\",{href:Vl(\"jetpack-support-wordpress-com-stats\"),target:\"_blank\",rel:\"noopener noreferrer\"})}})),!this.props.isDevMode&&o.a.createElement(\"div\",{className:\"jp-at-a-glance__stats-inactive-button\"},o.a.createElement(xc,{onClick:this.activateStats,primary:!0},Us(\"Activate Site Stats\"))))}},{key:\"switchTo\",value:function(e){Uc.tracks.recordJetpackClick({target:\"stats_switch_view\",view:e}),this.props.switchView(e),this.props.fetchStatsData(e)}},{key:\"maybeShowStatsTabs\",value:function(){return!(!1===this.statsChart(this.props.activeTab).totalViews&&!this.props.isEmptyStatsCardDismissed&&!this.state.emptyStatsDismissed)&&(this.props.getOptionValue(\"stats\")&&!this.statsErrors()?o.a.createElement(\"ul\",{className:\"jp-at-a-glance__stats-views\"},o.a.createElement(\"li\",{className:\"jp-at-a-glance__stats-view\"},o.a.createElement(\"a\",{tabIndex:\"0\",href:\"javascript:void(0)\",onClick:this.switchToDay,className:this.getClass(\"day\")},Us(\"Days\"))),o.a.createElement(\"li\",{className:\"jp-at-a-glance__stats-view\"},o.a.createElement(\"a\",{tabIndex:\"0\",href:\"javascript:void(0)\",onClick:this.switchToWeek,className:this.getClass(\"week\")},Us(\"Weeks\"))),o.a.createElement(\"li\",{className:\"jp-at-a-glance__stats-view\"},o.a.createElement(\"a\",{tabIndex:\"0\",href:\"javascript:void(0)\",onClick:this.switchToMonth,className:this.getClass(\"month\")},Us(\"Months\")))):void 0)}},{key:\"getClass\",value:function(e){return this.props.activeTab===e?\"jp-at-a-glance__stats-view-link is-current\":\"jp-at-a-glance__stats-view-link\"}},{key:\"render\",value:function(){return\"inactive\"===this.props.getModuleOverride(\"stats\")?o.a.createElement(\"div\",null,o.a.createElement(Wu,{moduleName:Us(\"Site Stats\")})):this.props.isModuleAvailable&&o.a.createElement(\"div\",null,o.a.createElement(ah,{range:this.props.activeTab}),o.a.createElement(qd,{label:Us(\"Site Stats\")},this.maybeShowStatsTabs()),o.a.createElement(Dl,{className:\"jp-at-a-glance__stats-card \"+(this.props.isDevMode?\"is-inactive\":\"\")},this.renderStatsArea()))}}]),t}(s.Component);ha()(ch,\"propTypes\",{isDevMode:u.a.bool.isRequired,siteRawUrl:u.a.string.isRequired,siteAdminUrl:u.a.string.isRequired,statsData:u.a.any.isRequired,isModuleAvailable:u.a.bool.isRequired});var lh=le((function(e){return{isModuleAvailable:Ya(e,\"stats\"),activeTab:Xi(e),isDevMode:Qs(e),isLinked:Xs(e),connectUrl:Js(e),statsData:Object(Dt.isEmpty)(Zi(e))?mi(e):Zi(e),isEmptyStatsCardDismissed:To(e),getModuleOverride:function(t){return $a(e,t)}}}),(function(e){return{switchView:function(t){return e(function(e){return function(t){t({type:Jn,activeStatsTab:e})}}(t))},fetchStatsData:function(t){return e(Su(t))}}}))(ch),uh=function(e){function t(){return _a()(this,t),ka()(this,Ca()(t).apply(this,arguments))}return Ma()(t,e),As()(t,[{key:\"UNSAFE_componentWillMount\",value:function(){!this.props.fetchingProtectData&&this.props.isModuleActivated(\"protect\")&&this.props.fetchProtectCount()}},{key:\"render\",value:function(){return null}}]),t}(s.Component);uh.defaultProps={fetchProtectCount:function(){}};var ph=le((function(e){return{fetchProtectCount:Mu(),fetchingProtectData:ia(e),isModuleActivated:function(t){return Ga(e,t)}}}),(function(e){return P({fetchProtectCount:Mu},e)}))(uh),dh=function(e){function t(){var e,n;_a()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=ka()(this,(e=Ca()(t)).call.apply(e,[this].concat(i))),ha()(Os()(n),\"activateProtect\",(function(){return n.props.updateOptions({protect:!0})})),n}return Ma()(t,e),As()(t,[{key:\"getContent\",value:function(){var e=Us(\"Protect\"),t={text:Us(\"Protects your site from traditional and distributed brute force login attacks.\"),link:Vl(\"jetpack-support-protect\")};if(this.props.getOptionValue(\"protect\")){var n=this.props.protectCount;return!1===n||\"0\"===n||\"N/A\"===n?o.a.createElement(Jd,{label:e,module:\"protect\",support:t,status:\"is-working\",className:\"jp-dash-item__recently-activated\"},o.a.createElement(\"div\",{className:\"jp-dash-item__recently-activated-lower\"},o.a.createElement(ph,null),o.a.createElement(\"p\",{className:\"jp-dash-item__description\"},Us(\"Jetpack is actively blocking malicious login attempts. Data will display here soon!\")))):o.a.createElement(Jd,{label:e,module:\"protect\",support:t,status:\"is-working\"},o.a.createElement(\"h2\",{className:\"jp-dash-item__count\"},Rs(n)),o.a.createElement(\"p\",{className:\"jp-dash-item__description\"},Us(\"Total malicious attacks blocked on your site.\")))}return o.a.createElement(Jd,{label:e,module:\"protect\",support:t,className:\"jp-dash-item__is-inactive\"},o.a.createElement(\"p\",{className:\"jp-dash-item__description\"},this.props.isDevMode?Us(\"Unavailable in Dev Mode\"):Us(\"{{a}}Activate Protect{{/a}} to keep your site protected from malicious sign in attempts.\",{components:{a:o.a.createElement(\"a\",{href:\"javascript:void(0)\",onClick:this.activateProtect})}})))}},{key:\"render\",value:function(){return this.props.isModuleAvailable&&o.a.createElement(\"div\",{className:\"jp-dash-item__interior\"},o.a.createElement(ph,null),this.getContent())}}]),t}(s.Component);ha()(dh,\"propTypes\",{isDevMode:u.a.bool.isRequired,protectCount:u.a.any.isRequired,isModuleAvailable:u.a.bool.isRequired});var hh=le((function(e){return{protectCount:aa(e),isDevMode:Qs(e),isModuleAvailable:Ya(e,\"protect\")}}))(dh),fh=function(e){function t(){var e,n;_a()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=ka()(this,(e=Ca()(t)).call.apply(e,[this].concat(i))),ha()(Os()(n),\"activateAndTrack\",(function(){Uc.tracks.recordEvent(\"jetpack_wpa_module_toggle\",{module:\"monitor\",toggled:\"on\"}),n.props.updateOptions({monitor:!0})})),n}return Ma()(t,e),As()(t,[{key:\"getContent\",value:function(){var e=Us(\"Downtime monitor\"),t={text:Us(\"Jetpack’s downtime monitor will continuously monitor your site, and alert you the moment that downtime is detected.\"),link:Vl(\"jetpack-support-monitor\")};return this.props.getOptionValue(\"monitor\")?o.a.createElement(Jd,{label:e,module:\"monitor\",support:t,status:\"is-working\"},o.a.createElement(\"p\",{className:\"jp-dash-item__description\"},Us(\"Jetpack is monitoring your site. If we think your site is down, you will receive an email.\"))):o.a.createElement(Jd,{label:e,module:\"monitor\",support:t,className:\"jp-dash-item__is-inactive\"},o.a.createElement(\"p\",{className:\"jp-dash-item__description\"},this.props.isDevMode?Us(\"Unavailable in Dev Mode.\"):Us(\"{{a}}Activate Monitor{{/a}} to receive email notifications if your site goes down.\",{components:{a:o.a.createElement(\"a\",{href:\"javascript:void(0)\",onClick:this.activateAndTrack})}})))}},{key:\"render\",value:function(){return this.props.isModuleAvailable&&this.getContent()}}]),t}(s.Component);ha()(fh,\"propTypes\",{isDevMode:u.a.bool.isRequired,isModuleAvailable:u.a.bool.isRequired});var mh=le((function(e){return{isDevMode:Qs(e),isModuleAvailable:Ya(e,\"monitor\")}}))(fh),gh=function(e){return o.a.createElement(Jd,{label:Us(\"Scan\"),module:e.feature||\"scan\",support:{text:Us(\"Your site’s files are regularly scanned for unauthorized or suspicious modifications that could compromise your security and data.\"),link:Vl(\"jetpack-support-security\")},className:e.className||\"\",status:e.status||\"\",pro:!0,overrideContent:e.overrideContent},Object(Dt.isArray)(e.content)?e.content:o.a.createElement(\"p\",{className:\"jp-dash-item__description\"},e.content))},vh=function(e){function t(){return _a()(this,t),ka()(this,Ca()(t).apply(this,arguments))}return Ma()(t,e),As()(t,[{key:\"getVPContent\",value:function(){var e=this.props,t=e.sitePlan,n=e.planClass,r=e.fetchingSiteData,i=!1!==t,a=this.props.vaultPressData,s=Object(Dt.get)(a,[\"data\",\"features\",\"security\"],!1);if(this.props.getOptionValue(\"vaultpress\")){if(\"N/A\"===a)return gh({status:\"\",content:Us(\"Loading…\")});if(s){var c=this.props.scanThreats;if(0!==c)return gh({content:[o.a.createElement(\"h3\",{className:\"jp-dash-item__title jp-dash-item__title_fullwidth jp-dash-item__title_top\"},Us(\"Uh oh, %(number)s threat found.\",\"Uh oh, %(number)s threats found.\",{count:c,args:{number:Rs(c)}})),o.a.createElement(\"p\",{className:\"jp-dash-item__description\"},Us(\"{{a}}View details at VaultPress.com{{/a}}\",{components:{a:o.a.createElement(\"a\",{href:Vl(\"vaultpress-dashboard\")})}}),o.a.createElement(\"br\",null),Us(\"{{a}}Contact Support{{/a}}\",{components:{a:o.a.createElement(\"a\",{href:Vl(\"jetpack-support\")})}}))]});if(\"success\"===a.code)return gh({status:\"is-working\",content:Us(\"No threats found, you\'re good to go!\")})}}if(r)return gh({status:\"\",content:Us(\"Loading…\")});var l=this.props.isVaultPressInstalled?\"pro-inactive\":\"pro-uninstalled\",u=\"is-premium-plan\"===n||\"is-business-plan\"===n||s?o.a.createElement(\"p\",{className:\"jp-dash-item__description\",key:\"inactive-scanning\"},Us(\"For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress.\",{components:{a:o.a.createElement(\"a\",{href:Vl(\"calypso-plugins-vaultpress\"),target:\"_blank\",rel:\"noopener noreferrer\"})}})):null,p=null===u?this.getUpgradeBanner():null;return gh({className:\"jp-dash-item__is-inactive\",status:i?l:\"no-pro-uninstalled-or-inactive\",content:[u],overrideContent:p})}},{key:\"getUpgradeBanner\",value:function(){return o.a.createElement(Ku,{callToAction:Us(\"Upgrade\"),title:Us(\"Find threats early so we can help fix them fast.\"),disableHref:\"false\",href:this.props.upgradeUrl,eventFeature:\"scan\",path:\"dashboard\",plan:\"jetpack_premium\",icon:\"lock\"})}},{key:\"getRewindContent\",value:function(){var e=this.props,t=e.rewindStatus,n=e.siteRawUrl,r=function(e,t){return o.a.createElement(Dl,{compact:!0,key:\"manage-backups\",className:\"jp-dash-item__manage-in-wpcom\",href:e},t)},i=function(e){return gh({className:\"jp-dash-item__is-active\",status:\"is-working\",feature:\"rewind\",content:e})};switch(t){case\"provisioning\":return o.a.createElement(o.a.Fragment,null,i(Us(\"We are configuring your site protection.\")));case\"awaiting_credentials\":return o.a.createElement(o.a.Fragment,null,i(Us(\"You need to enter your server\'s credentials to finish the setup.\")),r(Vl(\"calypso-settings-security\",{site:n}),Us(\"Enter credentials\")));case\"active\":return o.a.createElement(o.a.Fragment,null,i(Us(\"We are making sure your site stays free of security threats. You will be notified if we find one.\")),r(Vl(\"calypso-activity-log\",{site:n}),Us(\"View security scan details\")))}return!1}},{key:\"getUpgradeContent\",value:function(){return gh({className:\"jp-dash-item__is-inactive\",overrideContent:this.getUpgradeBanner()})}},{key:\"render\",value:function(){return this.props.showBackups?this.props.isDevMode?gh({className:\"jp-dash-item__is-inactive\",content:Us(\"Unavailable in Dev Mode.\")}):(e=[\"is-free-plan\",\"is-personal-plan\",\"is-daily-backup-plan\",\"is-realtime-backup-plan\"].includes(this.props.planClass)?this.getUpgradeContent():\"unavailable\"===this.props.rewindStatus?this.getVPContent(this.props.planClass):o.a.createElement(\"div\",{className:\"jp-dash-item\"},this.getRewindContent()),o.a.createElement(\"div\",null,o.a.createElement(Du,null),e)):null;var e}}]),t}(s.Component);ha()(vh,\"propTypes\",{siteRawUrl:u.a.string.isRequired,rewindStatus:u.a.string.isRequired,vaultPressData:u.a.any.isRequired,scanThreats:u.a.any.isRequired,sitePlan:u.a.object.isRequired,isDevMode:u.a.bool.isRequired,isPluginInstalled:u.a.bool.isRequired,fetchingSiteData:u.a.bool.isRequired,upgradeUrl:u.a.string.isRequired}),ha()(vh,\"defaultProps\",{siteRawUrl:\"\",vaultPressData:\"\",scanThreats:0,sitePlan:\"\",isDevMode:!1,isPluginInstalled:!1,fetchingSiteData:!1,rewindStatus:\"\"});var bh=le((function(e){var t=qo(e);return{vaultPressData:oa(e),scanThreats:ca(e),sitePlan:t,planClass:Lo(Object(Dt.get)(t,\"product_slug\",\"\")),isDevMode:Qs(e),isVaultPressInstalled:ba(e,\"vaultpress/vaultpress.php\"),fetchingSiteData:Bo(e),showBackups:qi(e),upgradeUrl:Yi(e,\"aag-scan\")}}))(vh),yh=function(e){function t(){return _a()(this,t),ka()(this,Ca()(t).apply(this,arguments))}return Ma()(t,e),As()(t,[{key:\"UNSAFE_componentWillMount\",value:function(){this.props.fetchingAkismetData||this.props.fetchAkismetData()}},{key:\"render\",value:function(){return null}}]),t}(s.Component);yh.defaultProps={fetchAkismetData:function(){}};var _h=le((function(e){return{fetchAkismetData:Au(),fetchingAkismetData:ea(e)}}),(function(e){return P({fetchAkismetData:Au},e)}))(yh),wh=function(e){function t(){var e,n;_a()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=ka()(this,(e=Ca()(t)).call.apply(e,[this].concat(i))),ha()(Os()(n),\"onActivateClick\",(function(){return n.trackActivateClick(),Da.activateAkismet().then((function(){window.location.href=n.props.siteAdminUrl+\"admin.php?page=akismet-key-config\"})),!1})),n}return Ma()(t,e),As()(t,[{key:\"trackActivateClick\",value:function(){Uc.tracks.recordJetpackClick({type:\"activate-link\",target:\"at-a-glance\",feature:\"anti-spam\"})}},{key:\"getContent\",value:function(){var e=this,t=this.props.akismetData,n=Us(\"Anti-spam\"),r=\"jetpack_free\"===Object(Dt.get)(this.props.sitePlan,\"product_slug\",\"jetpack_free\"),i={text:Us(\"Jetpack Anti-spam powered by Akismet. Comments and contact form submissions are checked against our global database of spam.\"),link:\"https://akismet.com/\",privacyLink:\"https://automattic.com/privacy/\"},a=function(){var t=Us(\"Already have a key? {{a}}Activate Akismet{{/a}}\",{components:{a:o.a.createElement(\"a\",{href:\"javascript:void(0)\",onClick:e.onActivateClick})}});return o.a.createElement(Ku,{callToAction:Us(\"Upgrade\"),title:Us(\"Automatically clear spam from your comments and forms so you can get back to your business.\"),description:t,disableHref:\"false\",href:e.props.upgradeUrl,eventFeature:\"akismet\",path:\"dashboard\",plan:\"jetpack_premium\",icon:\"flag\"})};if(\"N/A\"===t)return o.a.createElement(Jd,{label:n,module:\"akismet\",support:i,pro:!0},o.a.createElement(\"p\",{className:\"jp-dash-item__description\"},Us(\"Loading…\")));var s=!1!==this.props.sitePlan;if(r){if(\"not_installed\"===t)return o.a.createElement(Jd,{label:n,module:\"akismet\",support:i,className:\"jp-dash-item__is-inactive\",status:s?\"pro-uninstalled\":\"no-pro-uninstalled-or-inactive\",pro:!0,overrideContent:a()});if(\"not_active\"===t)return o.a.createElement(Jd,{label:n,module:\"akismet\",support:i,status:s?\"pro-inactive\":\"no-pro-uninstalled-or-inactive\",className:\"jp-dash-item__is-inactive\",pro:!0,overrideContent:a()});if(\"invalid_key\"===t)return o.a.createElement(Jd,{label:n,module:\"akismet\",support:i,className:\"jp-dash-item__is-inactive\",pro:!0,overrideContent:a()})}return[\"not_installed\",\"not_active\",\"invalid_key\"].includes(t)?o.a.createElement(Jd,{label:n,module:\"akismet\",support:i,className:\"jp-dash-item__is-inactive\",pro:!0},Us(\"Your Jetpack plan provides anti-spam protection through Akismet. Click \'set up\' to enable it on your site.\")):[o.a.createElement(Jd,{key:\"comment-moderation\",label:n,module:\"akismet\",support:i,status:\"is-working\",pro:!0},o.a.createElement(\"h2\",{className:\"jp-dash-item__count\"},Rs(t.all.spam)),o.a.createElement(\"p\",{className:\"jp-dash-item__description\"},Us(\"Spam comments blocked.\",{context:\'Example: \"412 Spam comments blocked\"\'}))),!this.props.isDevMode&&o.a.createElement(Dl,{key:\"moderate-comments\",className:\"jp-dash-item__manage-in-wpcom\",compact:!0,href:Vl(\"calypso-comments-all\",{site:this.props.siteRawUrl})},Us(\"Moderate comments\"))]}},{key:\"render\",value:function(){return o.a.createElement(\"div\",{className:\"jp-dash-item__interior\"},o.a.createElement(_h,null),this.getContent())}}]),t}(s.Component);ha()(wh,\"propTypes\",{siteRawUrl:u.a.string.isRequired,siteAdminUrl:u.a.string.isRequired,akismetData:u.a.oneOfType([u.a.string,u.a.object]).isRequired,isDevMode:u.a.bool.isRequired,upgradeUrl:u.a.string.isRequired}),ha()(wh,\"defaultProps\",{siteRawUrl:\"\",siteAdminUrl:\"\",akismetData:\"N/A\",isDevMode:\"\"});var kh=le((function(e){return{akismetData:ta(e),sitePlan:qo(e),isDevMode:Qs(e),upgradeUrl:Yi(e,\"aag-akismet\"),nonce:Ri(e)}}))(wh),Eh=function(e){return o.a.createElement(Jd,{label:Us(\"Backup\"),module:e.feature||\"backups\",support:{text:Us(\"Jetpack Backups allow you to easily restore or download a backup from a specific moment.\"),link:Vl(\"jetpack-support-backup\")},className:e.className,status:e.status,pro:!0,overrideContent:e.overrideContent},o.a.createElement(\"p\",{className:\"jp-dash-item__description\"},e.content))},Ch=function(e){function t(){return _a()(this,t),ka()(this,Ca()(t).apply(this,arguments))}return Ma()(t,e),As()(t,[{key:\"getVPContent\",value:function(){var e=this.props,t=e.sitePlan,n=e.isVaultPressInstalled,r=e.getOptionValue,i=e.siteRawUrl,a=e.vaultPressData;return r(\"vaultpress\")&&\"success\"===Object(Dt.get)(a,\"code\",\"\")?Eh({className:\"jp-dash-item__is-active\",status:\"is-working\",content:o.a.createElement(\"span\",null,Object(Dt.get)(a,\"message\",\"\"),\" \",Us(\"{{a}}View backup details{{/a}}.\",{components:{a:o.a.createElement(\"a\",{href:Vl(\"vaultpress-dashboard\"),target:\"_blank\",rel:\"noopener noreferrer\"})}}))}):Object(Dt.isEmpty)(t)?Eh({className:\"\",status:\"\",content:Us(\"Loading…\")}):\"jetpack_free\"!==Object(Dt.get)(t,\"product_slug\",\"jetpack_free\")?Eh({className:\"jp-dash-item__is-inactive\",status:n?\"pro-inactive\":\"pro-uninstalled\",content:Us(\"To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress.\",{components:{a:o.a.createElement(\"a\",{href:Vl(\"calypso-plugins-setup\",{site:i,query:\"only=backups\"}),target:\"_blank\",rel:\"noopener noreferrer\"})}})}):Eh({className:\"jp-dash-item__is-inactive\",status:\"no-pro-uninstalled-or-inactive\",overrideContent:o.a.createElement(Ku,{callToAction:Us(\"Upgrade\"),title:Us(\"Never worry about losing your site – automatic backups keep your content safe.\"),disableHref:\"false\",href:this.props.upgradeUrl,eventFeature:\"backups\",path:\"dashboard\",plan:\"jetpack_premium\",icon:\"history\"})})}},{key:\"getRewindContent\",value:function(){var e=this.props,t=e.planClass,n=e.rewindStatus,r=e.siteRawUrl,i=function(e,t){return o.a.createElement(Dl,{compact:!0,key:\"manage-backups\",className:\"jp-dash-item__manage-in-wpcom\",href:e},t)},a=function(e){return Eh({className:\"jp-dash-item__is-active\",status:\"is-working\",feature:\"rewind\",content:e})};switch(n){case\"provisioning\":return o.a.createElement(o.a.Fragment,null,a(Us(\"We are configuring your site\'s backups.\")));case\"awaiting_credentials\":return o.a.createElement(o.a.Fragment,null,a(Us(\"You need to enter your server\'s credentials to finish the setup.\")),i(Vl(\"calypso-settings-security\",{site:r}),Us(\"Enter credentials\")));case\"active\":var s=[\"is-business-plan\",\"is-realtime-backup-plan\"].includes(t)?Us(\"We are backing up your site in real-time.\"):Us(\"We are backing up your site daily.\");return o.a.createElement(o.a.Fragment,null,a(s),i(Vl(\"calypso-activity-log\",{site:r,query:\"group=rewind\"}),Us(\"View your site\'s backups\")))}return!1}},{key:\"render\",value:function(){return this.props.showBackups?this.props.isDevMode?o.a.createElement(\"div\",{className:\"jp-dash-item__interior\"},Eh({className:\"jp-dash-item__is-inactive\",status:\"no-pro-uninstalled-or-inactive\",content:Us(\"Unavailable in Dev Mode.\")})):o.a.createElement(\"div\",null,o.a.createElement(Du,null),\"unavailable\"===this.props.rewindStatus?this.getVPContent():o.a.createElement(\"div\",{className:\"jp-dash-item\"},this.getRewindContent())):null}}]),t}(s.Component);ha()(Ch,\"propTypes\",{siteRawUrl:u.a.string.isRequired,getOptionValue:u.a.func.isRequired,rewindStatus:u.a.string.isRequired,vaultPressData:u.a.any.isRequired,sitePlan:u.a.object.isRequired,isDevMode:u.a.bool.isRequired,isVaultPressInstalled:u.a.bool.isRequired,upgradeUrl:u.a.string.isRequired}),ha()(Ch,\"defaultProps\",{siteRawUrl:\"\",getOptionValue:Dt.noop,vaultPressData:\"\",sitePlan:\"\",isDevMode:!1,isVaultPressInstalled:!1,rewindStatus:\"\"});var Sh=le((function(e){var t=qo(e);return{vaultPressData:oa(e),sitePlan:t,planClass:Lo(t),isDevMode:Qs(e),isVaultPressInstalled:ba(e,\"vaultpress/vaultpress.php\"),showBackups:qi(e),upgradeUrl:Yi(e,\"aag-backups\")}}))(Ch),Mh=function(e){function t(){return _a()(this,t),ka()(this,Ca()(t).apply(this,arguments))}return Ma()(t,e),As()(t,[{key:\"UNSAFE_componentWillMount\",value:function(){this.props.fetchingPluginUpdates||this.props.fetchPluginUpdates()}},{key:\"render\",value:function(){return null}}]),t}(s.Component);Mh.defaultProps={fetchPluginUpdates:function(){}};var xh=le((function(e){return{fetchPluginUpdates:Ou(),fetchingPluginUpdates:la(e)}}),(function(e){return P({fetchPluginUpdates:Ou},e)}))(Mh),Ah=function(e){function t(){return _a()(this,t),ka()(this,Ca()(t).apply(this,arguments))}return Ma()(t,e),As()(t,[{key:\"trackManagePlugins\",value:function(){Uc.tracks.recordJetpackClick({type:\"link\",target:\"at-a-glance\",feature:\"manage-plugins\"})}},{key:\"getContent\",value:function(){var e=Us(\"Plugin Updates\"),t=this.props.pluginUpdates,n={text:Us(\"Jetpack’s Plugin Updates allows you to choose which plugins update automatically.\"),link:Vl(\"jetpack-support-site-management\")};if(\"N/A\"===t)return o.a.createElement(Jd,{label:e,module:\"manage\",support:n,status:\"is-working\"},o.a.createElement(xh,null),o.a.createElement(\"p\",{className:\"jp-dash-item__description\"},Us(\"Loading…\")));var r=\"updates-available\"===t.code,i=Vl(\"calypso-plugins-manage\",{site:this.props.siteRawUrl}),a=this.props.getOptionValue(\"manage\")?\"is-working\":\"is-inactive\";return[o.a.createElement(Jd,{key:\"plugin-updates\",label:e,module:\"manage\",support:n,status:r?\"is-warning\":a},r&&o.a.createElement(\"h2\",{className:\"jp-dash-item__count\"},Us(\"%(number)s\",\"%(number)s\",{count:t.count,args:{number:t.count}})),o.a.createElement(\"p\",{className:\"jp-dash-item__description\"},r?[Us(\"Plugin needs updating.\",\"Plugins need updating.\",{count:t.count})+\" \",!this.props.isDevMode&&Us(\"{{a}}Turn on plugin autoupdates.{{/a}}\",{components:{a:o.a.createElement(\"a\",{href:i})}})]:Us(\"All plugins are up-to-date. Awesome work!\"))),!this.props.isDevMode&&o.a.createElement(Dl,{key:\"manage-plugins\",className:\"jp-dash-item__manage-in-wpcom\",compact:!0,href:i,onClick:this.trackManagePlugins,target:\"_blank\"},Us(\"Manage your plugins\"))]}},{key:\"render\",value:function(){return o.a.createElement(\"div\",null,o.a.createElement(xh,null),this.getContent())}}]),t}(s.Component);ha()(Ah,\"propTypes\",{isDevMode:u.a.bool.isRequired,siteRawUrl:u.a.string.isRequired,siteAdminUrl:u.a.string.isRequired,pluginUpdates:u.a.any.isRequired});var jh=le((function(e){return{pluginUpdates:ua(e),isDevMode:Qs(e)}}))(Ah),Oh=function(e){function t(){var e,n;_a()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=ka()(this,(e=Ca()(t)).call.apply(e,[this].concat(i))),ha()(Os()(n),\"activatePhoton\",(function(){return n.props.updateOptions({photon:!0})})),n}return Ma()(t,e),As()(t,[{key:\"getContent\",value:function(){var e=Us(\"Image Accelerator\"),t={text:Us(\"Jetpack will optimize your images and serve them from the server location nearest to your visitors. Using our global content delivery network will boost the loading speed of your site.\"),link:Vl(\"jetpack-support-photon\")};return this.props.getOptionValue(\"photon\")?o.a.createElement(Jd,{label:e,module:\"photon\",support:t,status:\"is-working\"},o.a.createElement(\"p\",{className:\"jp-dash-item__description\"},Us(\"Jetpack is optimizing your image sizes and download speed using our fast global network of servers. This improves your site\'s performance on desktop and mobile devices.\"))):o.a.createElement(Jd,{label:e,module:\"photon\",support:t,className:\"jp-dash-item__is-inactive\"},o.a.createElement(\"p\",{className:\"jp-dash-item__description\"},this.props.isDevMode?Us(\"Unavailable in Dev Mode\"):Us(\"{{a}}Activate{{/a}} to optimize image sizes and load images from Jetpack\'s fast global network of servers. This improves your site\'s performance on desktop and mobile devices.\",{components:{a:o.a.createElement(\"a\",{href:\"javascript:void(0)\",onClick:this.activatePhoton})}})))}},{key:\"render\",value:function(){return this.props.isModuleAvailable&&this.getContent()}}]),t}(s.Component);ha()(Oh,\"propTypes\",{isDevMode:u.a.bool.isRequired,isModuleAvailable:u.a.bool.isRequired});var Nh=le((function(e){return{isDevMode:Qs(e),isModuleAvailable:Ya(e,\"photon\")}}))(Oh),Th=function(e){return o.a.createElement(Jd,{label:Us(\"Search\"),module:\"search\",support:{text:mp,link:Vl(\"jetpack-support-search\")},className:e.className,status:e.status,isModule:e.pro_inactive,pro:!0,overrideContent:e.overrideContent},o.a.createElement(\"p\",{className:\"jp-dash-item__description\"},e.content))},Ph=function(e){function t(){var e,n;_a()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=ka()(this,(e=Ca()(t)).call.apply(e,[this].concat(i))),ha()(Os()(n),\"activateSearch\",(function(){n.props.updateOptions(Ms()({search:!0},n.props.hasSearchProduct?{instant_search_enabled:!0}:{}))})),n}return Ma()(t,e),As()(t,[{key:\"trackSearchLink\",value:function(){Uc.tracks.recordJetpackClick({type:\"upgrade-link\",target:\"at-a-glance\",feature:\"search\"})}},{key:\"render\",value:function(){return this.props.isAtomicSite?null:this.props.isFetching?Th({status:\"\",content:Us(\"Loading…\")}):this.props.isDevMode?Th({className:\"jp-dash-item__is-inactive\",status:\"no-pro-uninstalled-or-inactive\",pro_inactive:!0,content:Us(\"Unavailable in Dev Mode\")}):this.props.isBusinessPlan||this.props.hasSearchProduct?this.props.getOptionValue(\"search\")?o.a.createElement(\"div\",{className:\"jp-dash-item\"},o.a.createElement(Jd,{label:Us(\"Search\"),module:\"search\",support:{text:mp,link:Vl(\"jetpack-support-search\")},className:\"jp-dash-item__is-active\",isModule:!1,pro:!0},o.a.createElement(\"p\",{className:\"jp-dash-item__description\"},Us(\"Jetpack Search is powering search on your site.\"))),this.props.hasSearchProduct?o.a.createElement(Dl,{compact:!0,className:\"jp-search-config-aag\",href:\"customize.php?autofocus[section]=jetpack_search\"},fp):o.a.createElement(Dl,{compact:!0,className:\"jp-search-config-aag\",href:\"customize.php?autofocus[panel]=widgets\"},Us(\"Add Search (Jetpack) Widget\"))):Th({className:\"jp-dash-item__is-inactive\",pro_inactive:!1,content:Us(\"{{a}}Activate{{/a}} to help visitors quickly find answers with highly relevant instant search results and powerful filtering.\",{components:{a:o.a.createElement(\"a\",{href:\"javascript:void(0)\",onClick:this.activateSearch})}})}):Th({className:\"jp-dash-item__is-inactive\",status:\"no-pro-uninstalled-or-inactive\",pro_inactive:!0,overrideContent:o.a.createElement(Ku,{callToAction:Us(\"Upgrade\"),title:hp,disableHref:\"false\",href:this.props.upgradeUrl,eventFeature:\"search\",path:\"dashboard\",plan:\"jetpack_search\",icon:\"search\"})})}}]),t}(s.Component);ha()(Ph,\"propTypes\",{getOptionValue:u.a.func.isRequired,isDevMode:u.a.bool.isRequired}),ha()(Ph,\"defaultProps\",{getOptionValue:Dt.noop,isDevMode:!1});var Ih=le((function(e){return{isAtomicSite:Vi(e),isBusinessPlan:\"is-business-plan\"===Lo(qo(e).product_slug),isDevMode:Qs(e),isFetching:Ho(e),hasSearchProduct:Zo(e),upgradeUrl:Yi(e,\"aag-search\")}}))(Ph),Dh=function(e){function t(){return _a()(this,t),ka()(this,Ca()(t).apply(this,arguments))}return Ma()(t,e),As()(t,[{key:\"UNSAFE_componentWillMount\",value:function(){this.props.isFetchingUserData||this.props.isDevMode||this.props.fetchUserConnectionData()}},{key:\"render\",value:function(){return null}}]),t}(o.a.Component),Rh=le((function(e){return{isFetchingUserData:$s(e),isDevMode:Qs(e)}}),(function(e){return{fetchUserConnectionData:function(){return e((function(e){return e({type:tn}),Da.fetchUserConnectionData().then((function(t){e({type:rn,userConnectionData:t})})).catch((function(t){e({type:nn,error:t})}))}))}}}))(Dh),Uh=function(e){var t=e.amount,n=e.description,r=e.gridIcon,i=e.title;return o.a.createElement(\"div\",{className:\"jetpack-termination-dialog__feature\"},o.a.createElement(\"div\",{className:\"jetpack-termination-dialog__feature-header\"},o.a.createElement(\"h3\",null,i),o.a.createElement(ml,{icon:r})),o.a.createElement(\"div\",{className:\"jetpack-termination-dialog__feature-body\"},o.a.createElement(\"p\",{className:\"jetpack-termination-dialog__feature-body-amount\"},Rs(t)),o.a.createElement(\"p\",{className:\"jetpack-termination-dialog__feature-body-description\"},n)))},Lh=(n(374),function(e){function t(){return _a()(this,t),ka()(this,Ca()(t).apply(this,arguments))}return Ma()(t,e),As()(t,[{key:\"renderCDNReason\",value:function(){return o.a.createElement(\"li\",{key:\"reason-cdn\"},Us(\"Speed up your site and provide mobile-ready images with {{a}}our CDN{{/a}}\",{components:{a:o.a.createElement(\"a\",{className:\"jetpack-termination-dialog__link\",href:Vl(\"jetpack-features-design-content-delivery-network\"),rel:\"noopener noreferrer\",target:\"_blank\"})}}))}},{key:\"renderProtectReason\",value:function(){return o.a.createElement(\"li\",{key:\"reason-brute-force\"},Us(\"Block {{a}}brute force attacks{{/a}} and get immediate notifications if your site is down\",{components:{a:o.a.createElement(\"a\",{className:\"jetpack-termination-dialog__link\",href:Vl(\"jetpack-features-security\"),rel:\"noopener noreferrer\",target:\"_blank\"})}}))}},{key:\"renderSocialReason\",value:function(){return o.a.createElement(\"li\",{key:\"reason-social\"},Us(\"Grow your traffic with automated social {{a}}publishing and sharing{{/a}}\",{components:{a:o.a.createElement(\"a\",{className:\"jetpack-termination-dialog__link\",href:Vl(\"jetpack-support-social\"),rel:\"noopener noreferrer\",target:\"_blank\"})}}))}},{key:\"render\",value:function(){var e=this.props,t=e.isDevVersion,n=e.purpose,r=e.siteBenefits,i=r.length,a=t?ad:id;return o.a.createElement(Dl,{className:\"jetpack-termination-dialog__features\"},o.a.createElement(\"p\",{className:\"jetpack-termination-dialog__info\"},Us(\"disconnect\"===n?\"Jetpack is currently powering features on your site. Once you disconnect Jetpack, these features will no longer be available and your site may no longer function the same way.\":\"Jetpack is currently powering features on your site. Once you disable Jetpack, these features will no longer be available and your site may no longer function the same way.\"),i>0&&Us(\" We’ve highlighted some of the features you rely on below.\")),o.a.createElement(\"div\",{className:1===i?\"jetpack-termination-dialog__features-list-single-column\":\"jetpack-termination-dialog__features-list\"},r.map((function(e){var t=e.amount,n=e.description,r=e.name,i=e.gridIcon,a=e.title;return o.a.createElement(Uh,{key:r,amount:t,description:n,gridIcon:i,title:a})}))),i<=2&&o.a.createElement(\"div\",{className:\"jetpack-termination-dialog__generic-info\"},o.a.createElement(\"h2\",null,Us(\"Jetpack has many powerful tools that can help you achieve your goals\")),o.a.createElement(\"ul\",null,this.renderCDNReason(),this.renderProtectReason(),this.renderSocialReason())),o.a.createElement(\"div\",{className:\"jetpack-termination-dialog__get-help\"},o.a.createElement(\"p\",null,Us(\"Have a question? We’d love to help! {{a}}Send a question to the Jetpack support team.{{/a}}\",{components:{a:o.a.createElement(\"a\",{className:\"jetpack-termination-dialog__link\",href:a,rel:\"noopener noreferrer\",target:\"_blank\"})}}))))}}]),t}(s.Component));ha()(Lh,\"propTypes\",{isDevVersion:u.a.bool,purpose:u.a.oneOf([\"disconnect\",\"disable\"]).isRequired,siteBenefits:u.a.array.isRequired});var Fh=Lh,zh=function(e){function t(e){var n;return _a()(this,t),n=ka()(this,Ca()(t).call(this,e)),ha()(Os()(n),\"handleRadioChange\",(function(){var e=n.props;(0,e.onAnswerChange)(e.answer.id,n.state.textResponse)})),ha()(Os()(n),\"handleTextChange\",(function(e){var t=n.props,r=t.onAnswerChange,i=t.answer.id,a=e.target.value;r(i,a),n.setState({textResponse:a})})),n.state={textResponse:e.selectedAnswerText},n}return Ma()(t,e),As()(t,[{key:\"renderTextInput\",value:function(){var e=this.props,t=e.disabled,n=e.answer.textInputPrompt,r=this.state.value;return o.a.createElement(Wl,{className:\"multiple-choice-question__answer-item-text-input\",value:r,onChange:this.handleTextChange,placeholder:n||\"\",disabled:t})}},{key:\"render\",value:function(){var e=this.props,t=e.disabled,n=e.answer,r=n.id,i=n.answerText,a=n.textInput,s=n.children,c=e.isSelected;return o.a.createElement(ql,null,o.a.createElement(Yl,{value:r,onChange:this.handleRadioChange,checked:c,disabled:t}),o.a.createElement(\"span\",null,i),o.a.createElement(\"div\",{className:\"multiple-choice-question__answer-item-content\"},a&&this.renderTextInput(),s))}}]),t}(s.Component);ha()(zh,\"propTypes\",{disabled:u.a.bool,isSelected:u.a.bool,onAnswerChange:u.a.func,answer:u.a.shape({id:u.a.string.isRequired,answerText:u.a.string.isRequired,textInput:u.a.bool,textInputPrompt:u.a.string,children:u.a.object}).isRequired,selectedAnswerText:u.a.string}),ha()(zh,\"defaultProps\",{disabled:!1,selectedAnswerText:\"\"});var Bh=zh,Vh=(n(375),Object(Dt.memoize)((function(e){var t=Object(Dt.shuffle)(e.filter((function(e){return!e.doNotShuffle})));return e.map((function(e){return e.doNotShuffle?e:t.pop()}))}),(function(e){return e.map((function(e){return Object(Dt.values)(Object(Dt.pick)(e,\"id\",\"doNotShuffle\")).join(\"_\")})).join(\"-\")}))),Hh=function(e){function t(e){var n;return _a()(this,t),n=ka()(this,Ca()(t).call(this,e)),ha()(Os()(n),\"handleAnswerChange\",(function(e,t){(0,n.props.onAnswerChange)(e,t),n.setState({selectedAnswerId:e})})),n.state={selectedAnswerId:e.selectedAnswerId},n}return Ma()(t,e),As()(t,[{key:\"render\",value:function(){var e=this,t=this.props,n=t.disabled,r=t.answers,i=t.question,a=t.selectedAnswerText,s=t.subHeader,c=this.state.selectedAnswerId,l=Vh(r);return o.a.createElement(Hl,{className:\"multiple-choice-question\"},o.a.createElement(\"h2\",{className:\"multiple-choice-question__question\"},i),s&&o.a.createElement(\"h3\",{className:\"multiple-choice-question__subheader\"},s),l.map((function(t){return o.a.createElement(Bh,{key:t.id,answer:t,disabled:n,isSelected:c===t.id,onAnswerChange:e.handleAnswerChange,selectedAnswerText:c===t.id?a:\"\"})})))}}]),t}(s.Component);ha()(Hh,\"propTypes\",{answers:u.a.arrayOf(u.a.shape({id:u.a.string.isRequired,answerText:u.a.string.isRequired,doNotShuffle:u.a.bool,textInput:u.a.bool,textInputPrompt:u.a.string,children:u.a.object})).isRequired,disabled:u.a.bool,onAnswerChange:u.a.func.isRequired,question:u.a.string.isRequired,selectedAnswerId:u.a.string,selectedAnswerText:u.a.string,subHeader:u.a.string}),ha()(Hh,\"defaultProps\",{disabled:!1,selectedAnswerId:null,selectedAnswerText:\"\"});var qh=Hh,Kh=[{id:\"cannot-work\",answerText:Us(\"I can\'t get it to work.\")},{id:\"slow\",answerText:Us(\"It slowed down my site.\")},{id:\"buggy\",answerText:Us(\"It\'s buggy.\")},{id:\"no-clarity\",answerText:Us(\"I don\'t know what it does.\")},{id:\"delete\",answerText:Us(\"I\'m deleting/migrating my site.\")},{id:\"troubleshooting\",answerText:Us(\"Troubleshooting - I\'ll be reconnecting afterwards.\")},{id:\"other\",answerText:Us(\"Other:\"),textInput:!0,textInputPrompt:Us(\"share your experience\"),doNotShuffle:!0}],Jh=function(e){function t(){return _a()(this,t),ka()(this,Ca()(t).apply(this,arguments))}return Ma()(t,e),As()(t,[{key:\"getQuestion\",value:function(){var e=this.props.purpose;return Us(\"disconnect\"===e?\"Please let us know why you\'re disconnecting Jetpack\":\"Please let us know why you\'re disabling Jetpack\")}},{key:\"render\",value:function(){var e=this.props,t=e.onSurveyAnswerChange,n=e.surveyAnswerId,r=e.surveyAnswerText;return o.a.createElement(Dl,{className:\"jetpack-disconnect-dialog__survey\"},o.a.createElement(qh,{answers:Kh,question:this.getQuestion(),subHeader:Us(\"Your feedback will help us improve the product.\"),onAnswerChange:t,selectedAnswerId:n,selectedAnswerText:r}))}}]),t}(s.Component);ha()(Jh,\"propTypes\",{onSurveyAnswerChange:u.a.func.isRequired,purpose:u.a.oneOf([\"disconnect\",\"disable\"]).isRequired,surveyAnswerId:u.a.string,surveyAnswerText:u.a.string});var Wh=Jh,Gh=function(e){function t(){return _a()(this,t),ka()(this,Ca()(t).apply(this,arguments))}return Ma()(t,e),As()(t,[{key:\"componentDidMount\",value:function(){this.props.isFetchingSiteBenefits||this.props.fetchSiteBenefits()}},{key:\"render\",value:function(){return null}}]),t}(s.Component);ha()(Gh,\"defaultProps\",{isFetchingSiteBenefitsData:!1});var Yh=le((function(e){return{isFetchingSiteBenefits:Vo(e)}}),(function(e){return{fetchSiteBenefits:function(){return e((function(e){return e({type:gr}),Da.fetchSiteBenefits().then((function(t){e({type:vr,siteBenefits:t})})).catch((function(t){e({type:br,error:t})}))}))}}}))(Gh);function $h(e){switch(e){case\"contact-form\":return\"align-image-center\";case\"contact-form-feedback\":return\"mail\";case\"image-hosting\":return\"image\";case\"jetpack-backup\":return\"cloud-download\";case\"jetpack-stats\":return\"stats-alt\";case\"protect\":return\"lock\";case\"publicize\":case\"sharing\":return\"share\";case\"subscribers\":return\"user\";case\"video-hosting\":return\"video-camera\";default:return\"checkmark\"}}function Xh(e){return{name:e.name,title:e.title,description:e.description,amount:e.value,gridIcon:$h(e.name)}}var Qh=function(e){function t(){var e,n;_a()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=ka()(this,(e=Ca()(t)).call.apply(e,[this].concat(i))),ha()(Os()(n),\"state\",{step:t.FEATURE_STEP,surveyAnswerId:null,surveyAnswerText:\"\"}),ha()(Os()(n),\"handleContinueClick\",(function(){var e=n.props,r=e.location,i=e.purpose;Uc.tracks.recordEvent(\"jetpack_termination_dialog_continue_click\",{location:r,purpose:i}),n.setState({step:t.SURVEY_STEP})})),ha()(Os()(n),\"handleTerminationClick\",(function(){var e=n.props,t=e.location,r=e.purpose,i=e.siteId,a=e.sitePlan,s=e.submitSurvey,o=e.terminateJetpack,c=n.state,l=c.surveyAnswerId,u=c.surveyAnswerText;Uc.tracks.recordEvent(\"jetpack_termination_dialog_termination_click\",{location:t,purpose:r}),s(i,a,l,u,t),o()})),ha()(Os()(n),\"handleDialogCloseClick\",(function(){var e=n.props,t=e.closeDialog,r=e.location,i=e.purpose;Uc.tracks.recordEvent(\"jetpack_termination_dialog_close_click\",{location:r,purpose:i}),t()})),ha()(Os()(n),\"handleSurveyAnswerChange\",(function(e,t){n.setState({surveyAnswerId:e,surveyAnswerText:t})})),n}return Ma()(t,e),As()(t,[{key:\"renderFeatures\",value:function(){var e=this.props,t=e.isDevSite,n=e.purpose,r=e.siteBenefits;return r?o.a.createElement(Fh,{isDevSite:t,purpose:n,siteBenefits:r.map(Xh)}):o.a.createElement(Dl,{className:\"jetpack-termination-dialog__spinner\"},o.a.createElement(fl,null))}},{key:\"renderSurvey\",value:function(){var e=this.props.purpose,t=this.state,n=t.surveyAnswerId,r=t.surveyAnswerText;return o.a.createElement(Wh,{onSurveyAnswerChange:this.handleSurveyAnswerChange,purpose:e,surveyAnswerId:n,surveyAnswerText:r})}},{key:\"renderPrimaryButton\",value:function(){var e=this.props,n=e.purpose,r=e.showSurvey,i=this.state.step;return r&&i===t.FEATURE_STEP?o.a.createElement(xc,{primary:!0,onClick:this.handleContinueClick},Us(\"Continue\")):o.a.createElement(xc,{scary:!0,primary:!0,onClick:this.handleTerminationClick},Us(\"disconnect\"===n?\"Disconnect\":\"Disable\"))}},{key:\"render\",value:function(){var e=this.props,n=e.location,r=e.purpose,i=e.showSurvey,a=this.state.step;return o.a.createElement(\"div\",{className:\"jetpack-termination-dialog\"},o.a.createElement(zl,null),o.a.createElement(Yh,null),o.a.createElement(Dl,null,o.a.createElement(\"div\",{className:\"jetpack-termination-dialog__header\"},o.a.createElement(\"h2\",null,Us(\"disconnect\"===r?\"Disconnect Jetpack\":\"Disable Jetpack\")),\"dashboard\"===n&&o.a.createElement(ml,{icon:\"cross\",className:\"jetpack-termination-dialog__close-icon\",onClick:this.handleDialogCloseClick}))),i&&a!==t.FEATURE_STEP?this.renderSurvey():this.renderFeatures(),o.a.createElement(Dl,null,o.a.createElement(\"div\",{className:\"jetpack-termination-dialog__button-row\"},o.a.createElement(\"p\",null,Us(\"disconnect\"===r?\"Are you sure you want to disconnect?\":\"Are you sure you want to disconnect and deactivate?\")),o.a.createElement(\"div\",{className:\"jetpack-termination-dialog__button-row-buttons\"},o.a.createElement(xc,{onClick:this.handleDialogCloseClick},Us(\"Cancel\")),this.renderPrimaryButton()))))}}]),t}(s.Component);ha()(Qh,\"FEATURE_STEP\",\"FEATURE_STEP\"),ha()(Qh,\"SURVEY_STEP\",\"SURVEY_STEP\"),ha()(Qh,\"propTypes\",{closeDialog:u.a.func.isRequired,isDevVersion:u.a.bool,location:u.a.oneOf([\"plugins\",\"dashboard\"]).isRequired,purpose:u.a.oneOf([\"disconnect\",\"disable\"]).isRequired,showSurvey:u.a.bool.isRequired,siteBenefits:u.a.array,submitSurvey:u.a.func,terminateJetpack:u.a.func.isRequired});var Zh=le((function(e){return{isDevVersion:hi(e),siteBenefits:Ko(e),siteId:ec(e),sitePlan:qo(e)}}),{submitSurvey:function(e,t,n,r,i){var a={survey_id:\"calypso-disconnect-jetpack-july2019\",site_id:e,survey_responses:{purchase:t.product_slug,\"why-cancel\":{response:n},source:{from:\"plugins\"===i?\"Jetpack-Plugins\":\"Jetpack-Dashboard\"}}};return r&&\"\"!==r&&(a.survey_responses[\"why-cancel\"].text=r),function(e){return function(t){return t({type:zr}),Da.submitSurvey(e).then((function(e){return t({type:Br}),e})).catch((function(e){t({type:Vr,error:e.response})}))}}(a)}})(Qh),ef=n(110),tf=n.n(ef),nf=(n(378),!1);var rf=function(e){function t(){var e,n;_a()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=ka()(this,(e=Ca()(t)).call.apply(e,[this].concat(i))),ha()(Os()(n),\"state\",{overlayMouseDown:!1}),ha()(Os()(n),\"handleEscapeKey\",(function(e){27===e.keyCode&&n.maybeClose()})),ha()(Os()(n),\"maybeClose\",(function(){n.props.onRequestClose&&!nf&&n.props.onRequestClose()})),ha()(Os()(n),\"handleMouseDownOverlay\",(function(e){e.preventDefault(),e.stopPropagation(),n.setState({overlayMouseDown:!0})})),ha()(Os()(n),\"handleClickOverlay\",(function(e){e.preventDefault(),e.stopPropagation(),n.state.overlayMouseDown&&n.props.onRequestClose&&!nf&&(n.setState({overlayMouseDown:!1}),n.props.onRequestClose())})),ha()(Os()(n),\"handleMouseEventModal\",(function(e){e.stopPropagation()})),n}return Ma()(t,e),As()(t,[{key:\"componentDidMount\",value:function(){jQuery(\"body\").addClass(\"dops-modal-showing\").on(\"touchmove.dopsmodal\",!1),jQuery(document).keyup(this.handleEscapeKey);try{tf.a.activate(a.a.findDOMNode(this),{initialFocus:this.props.initialFocus})}catch(e){}}},{key:\"componentWillUnmount\",value:function(){jQuery(\"body\").removeClass(\"dops-modal-showing\").off(\"touchmove.dopsmodal\",!1),jQuery(document).unbind(\"keyup\",this.handleEscapeKey);try{tf.a.deactivate()}catch(e){}}},{key:\"render\",value:function(){var e,t=this.props,n=t.style,r=t.className,i=t.width,a=t.title,s=Cc()(t,[\"style\",\"className\",\"width\",\"title\"]),c=Object(Dt.omit)(s,\"onRequestClose\").forwardedProps;switch(i){case\"wide\":e={maxWidth:\"inherit\",width:\"inherit\"};break;case\"medium\":e={maxWidth:1050,width:\"inherit\"};break;default:e={}}var l=Object(Dt.assign)({},n,e);return o.a.createElement(\"div\",{className:\"dops-modal-wrapper\",onClick:this.handleClickOverlay,onMouseDown:this.handleMouseDownOverlay},o.a.createElement(\"div\",Bc()({className:Mc()(\"dops-modal\",r),style:l,onClick:this.handleMouseEventModal,onMouseDown:this.handleMouseEventModal,onMouseUp:this.handleMouseEventModal,role:\"dialog\",\"aria-label\":a},c),this.props.children))}}]),t}(o.a.Component);ha()(rf,\"propTypes\",{style:u.a.object,width:u.a.oneOf([\"wide\",\"medium\",\"narrow\"]),className:u.a.string,title:u.a.string,initialFocus:u.a.string,onRequestClose:u.a.func}),ha()(rf,\"defaultProps\",{style:{}}),rf.preventClose=function(){nf=!0},rf.allowClose=function(){nf=!1};var af=rf,sf=function(e){function t(){var e,n;_a()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=ka()(this,(e=Ca()(t)).call.apply(e,[this].concat(i))),ha()(Os()(n),\"disconnectJetpack\",(function(){n.props.disconnectSite(!0)})),n}return Ma()(t,e),As()(t,[{key:\"render\",value:function(){var e=this.props,t=e.show,n=e.showSurvey,r=e.toggleModal;return t&&o.a.createElement(af,{className:\"jp-connection-settings__modal\",onRequestClose:r},o.a.createElement(Zh,{closeDialog:r,location:\"dashboard\",purpose:\"disconnect\",showSurvey:n,terminateJetpack:this.disconnectJetpack}))}}]),t}(s.Component);ha()(sf,\"propTypes\",{show:u.a.bool,showSurvey:u.a.bool,toggleModal:u.a.func}),ha()(sf,\"defaultProps\",{show:!1,showSurvey:!1,toggleModal:Dt.noop});var of=le(null,(function(e){return{disconnectSite:function(){return e(Fc(!0))}}}))(sf),cf=(n(379),function(e){function t(){var e,n;_a()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=ka()(this,(e=Ca()(t)).call.apply(e,[this].concat(i))),ha()(Os()(n),\"state\",{showModal:!1}),ha()(Os()(n),\"handleOpenModal\",(function(e){Uc.tracks.recordJetpackClick(\"manage_site_connection\"),e.preventDefault(),n.toggleVisibility()})),ha()(Os()(n),\"disconnectSite\",(function(){n.toggleVisibility(),n.props.disconnectSite()})),ha()(Os()(n),\"toggleVisibility\",(function(){n.setState({showModal:!n.state.showModal})})),ha()(Os()(n),\"renderUserButton\",(function(){if(n.props.isLinked)return o.a.createElement(\"div\",null,o.a.createElement(\"a\",{role:\"button\",tabIndex:\"0\",className:\"jp-jetpack-unlink__button\",onKeyDown:Tu(n.props.unlinkUser),onClick:n.props.unlinkUser,disabled:n.props.isUnlinking},Us(\"Unlink me from WordPress.com\")));var e=n.props.connectUrl;n.props.from&&(e+=\"&from=\".concat(n.props.from),e+=\"&additional-user\");var t={className:\"is-primary jp-jetpack-connect__button\",href:e,disabled:n.props.fetchingConnectUrl},r=Us(\"Link to WordPress.com\");return n.props.asLink?o.a.createElement(\"a\",t,r):o.a.createElement(xc,t,r)})),ha()(Os()(n),\"renderContent\",(function(){if(n.props.connectUser)return n.renderUserButton();if(n.props.isSiteConnected)return o.a.createElement(\"a\",{role:\"button\",tabIndex:\"0\",onKeyDown:Tu(n.handleOpenModal),onClick:n.handleOpenModal,disabled:n.props.isDisconnecting},Us(\"Manage site connection\"));var e=n.props.connectUrl;n.props.from&&(e+=\"&from=\".concat(n.props.from));var t={className:\"jp-jetpack-connect__button\",href:e,disabled:n.props.fetchingConnectUrl},r=Us(\"Set up Jetpack\");return n.props.asLink?o.a.createElement(\"a\",t,r):o.a.createElement(xc,t,r)})),n}return Ma()(t,e),As()(t,[{key:\"render\",value:function(){return o.a.createElement(\"div\",null,!this.props.isSiteConnected&&o.a.createElement(\"p\",{className:\"jp-banner__tos-blurb\"},Us(\"By clicking the button below, you agree to our {{tosLink}}Terms of Service{{/tosLink}} and to {{shareDetailsLink}}share details{{/shareDetailsLink}} with WordPress.com.\",{components:{tosLink:o.a.createElement(\"a\",{href:Vl(\"wpcom-tos\"),rel:\"noopener noreferrer\",target:\"_blank\"}),shareDetailsLink:o.a.createElement(\"a\",{href:Vl(\"jetpack-support-what-data-does-jetpack-sync\"),rel:\"noopener noreferrer\",target:\"_blank\"})}})),this.renderContent(),this.props.children,o.a.createElement(of,{show:this.state.showModal,showSurvey:!1,toggleModal:this.toggleVisibility}))}}]),t}(o.a.Component));ha()(cf,\"displayName\",\"ConnectButton\"),ha()(cf,\"propTypes\",{connectUser:u.a.bool,from:u.a.string,asLink:u.a.bool}),ha()(cf,\"defaultProps\",{connectUser:!1,from:\"\",asLink:!1});var lf=le((function(e){return{siteRawUrl:vi(e),isSiteConnected:Hs(e),isDisconnecting:Ws(e),fetchingConnectUrl:Gs(e),connectUrl:Js(e),isLinked:Xs(e),isUnlinking:Ys(e)}}),(function(e){return{disconnectSite:function(){return e(Fc())},unlinkUser:function(){return e((function(e){return e({type:Qt}),e(Qa(\"is-info\",Us(\"Unlinking from WordPress.com\"),{id:\"unlink-user\"})),Da.unlinkUser().then((function(t){e({type:en,userUnlinked:t}),e(Xa(\"unlink-user\")),e(Qa(\"is-success\",Us(\"Unlinked from WordPress.com.\"),{id:\"unlink-user\",duration:2e3}))})).catch((function(t){e({type:Zt,error:t}),e(Xa(\"unlink-user\")),e(Qa(\"is-error\",Us(\"Error unlinking from WordPress.com. %(error)s\",{args:{error:t}}),{id:\"unlink-user\"}))}))}))}}}))(cf),uf=function(e){function t(){var e,n;_a()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=ka()(this,(e=Ca()(t)).call.apply(e,[this].concat(i))),ha()(Os()(n),\"state\",{showModal:!1}),ha()(Os()(n),\"handleOpenModal\",(function(e){e.preventDefault(),Uc.tracks.recordJetpackClick(\"login_to_mobile_app_modal\"),n.toggleModalVisibility()})),ha()(Os()(n),\"toggleModalVisibility\",(function(){n.setState({showModal:!n.state.showModal})})),ha()(Os()(n),\"clickSendLoginEmail\",(function(e){e.preventDefault(),Uc.tracks.recordJetpackClick(\"login_to_mobile_send_link\"),n.toggleModalVisibility(),n.props.sendMobileLoginEmail()})),n}return Ma()(t,e),As()(t,[{key:\"renderModal\",value:function(){return o.a.createElement(af,{className:\"mobile-magic-link__modal\",onRequestClose:this.toggleModalVisibility},o.a.createElement(Dl,{className:\"mobile-magic-link__modal__body\"},o.a.createElement(\"h2\",null,Us(\"Email me a link to log in to the app\")),o.a.createElement(\"h4\",null,Us(\"Easily log in to the WordPress app by clicking the link we\'ll send to the email address on your account.\")),o.a.createElement(\"div\",{className:\"mobile-magic-link__modal-actions\"},o.a.createElement(xc,{className:\"mobile-magic-link__modal-cancel\",onClick:this.toggleModalVisibility},Us(\"Cancel\",{context:\"A caption for a button to cancel an action.\"})),o.a.createElement(xc,{onClick:this.clickSendLoginEmail,primary:!0},Us(\"Send link\",{context:\"A caption for a button to log in to the WordPress mobile app.\"})))))}},{key:\"render\",value:function(){var e=this.state.showModal;return o.a.createElement(\"div\",{className:\"mobile-magic-link\"},o.a.createElement(\"a\",{className:\"mobile-magic-link__button\",onClick:this.handleOpenModal,onKeyDown:Tu(this.handleOpenModal),role:\"button\",tabIndex:\"0\"},Us(\"Log in to the WordPress mobile app\")),e&&this.renderModal())}}]),t}(o.a.Component);ha()(uf,\"displayName\",\"MobileMagicLink\");var pf=le((function(e){return{isSiteConnected:Hs(e),isLinked:Xs(e)}}),{sendMobileLoginEmail:function(){return function(e){return e({type:ci}),e(Xa(\"mobile-login-email-send\")),e(Xa(\"mobile-login-email-sent\")),e(Xa(\"mobile-login-email-error\")),e(Qa(\"is-info\",Us(\"Sending login email…\"),{id:\"mobile-login-email-send\"})),Da.sendMobileLoginEmail().then((function(t){return e(Xa(\"mobile-login-email-send\")),e({type:li}),e(Qa(\"is-success\",Us(\"Login email sent\"),{id:\"mobile-login-email-sent\",duration:2e3})),t})).catch((function(t){e({type:ui,error:t.response}),e(Xa(\"mobile-login-email-send\")),e(Qa(\"is-error\",Us(\"Failed to send login email\"),{id:\"mobile-login-email-error\"}))}))}}})(uf),df=function(e){function t(){return _a()(this,t),ka()(this,Ca()(t).apply(this,arguments))}return Ma()(t,e),As()(t,[{key:\"siteConnection\",value:function(){var e=\"\";return this.props.isDevMode?e=o.a.createElement(\"div\",{className:\"jp-connection-settings__info\"},this.props.siteIcon?o.a.createElement(\"img\",{width:\"64\",height:\"64\",className:\"jp-connection-settings__site-icon\",src:this.props.siteIcon,alt:\"\"}):o.a.createElement(ml,{icon:\"globe\",size:64}),o.a.createElement(\"div\",{className:\"jp-connection-settings__text\"},Us(\"Your site is in Development Mode, so it can not be connected to WordPress.com.\"))):!0===this.props.siteConnectionStatus&&(e=o.a.createElement(\"div\",null,o.a.createElement(\"div\",{className:\"jp-connection-settings__info\"},this.props.siteIcon?o.a.createElement(\"img\",{width:\"64\",height:\"64\",className:\"jp-connection-settings__site-icon\",src:this.props.siteIcon,alt:\"\"}):o.a.createElement(ml,{icon:\"globe\",size:64}),o.a.createElement(\"div\",{className:\"jp-connection-settings__text\"},Us(\"Your site is connected to WordPress.com.\"),this.props.userIsMaster&&o.a.createElement(\"span\",{className:\"jp-connection-settings__is-owner\"},o.a.createElement(\"br\",null),o.a.createElement(\"em\",null,Us(\"You are the Jetpack owner.\"))))),this.props.userCanDisconnectSite&&o.a.createElement(\"div\",{className:\"jp-connection-settings__actions\"},o.a.createElement(lf,{asLink:!0})))),e}},{key:\"userConnection\",value:function(){var e=this.props.userIsMaster?null:o.a.createElement(lf,{asLink:!0,connectUser:!0,from:\"connection-settings\"});return this.props.isDevMode?o.a.createElement(\"div\",{className:\"jp-connection-settings__info\"},o.a.createElement(\"img\",{alt:\"gravatar\",width:\"64\",height:\"64\",className:\"jp-connection-settings__gravatar\",src:this.props.userWpComAvatar}),o.a.createElement(\"div\",{className:\"jp-connection-settings__text\"},Us(\"The site is in Development Mode, so you can not connect to WordPress.com.\"))):this.props.isLinked?o.a.createElement(\"div\",null,o.a.createElement(\"div\",{className:\"jp-connection-settings__info\"},o.a.createElement(\"img\",{alt:\"gravatar\",width:\"64\",height:\"64\",className:\"jp-connection-settings__gravatar\",src:this.props.userWpComAvatar}),o.a.createElement(\"div\",{className:\"jp-connection-settings__text\"},Us(\"Connected as {{span}}%(username)s{{/span}}\",{args:{username:this.props.userWpComLogin},components:{span:o.a.createElement(\"span\",{className:\"jp-connection-settings__username\"})},comment:\"%(username) is the WordPress user login name.\"}),o.a.createElement(\"div\",{className:\"jp-connection-settings__email\"},this.props.userWpComEmail))),o.a.createElement(\"div\",{className:\"jp-connection-settings__actions\"},e),o.a.createElement(pf,null)):o.a.createElement(\"div\",null,o.a.createElement(\"div\",{className:\"jp-connection-settings__info\"},Us(\"Link your account to WordPress.com to get the most out of Jetpack.\")),o.a.createElement(\"div\",{className:\"jp-connection-settings__actions\"},e))}},{key:\"render\",value:function(){return o.a.createElement(\"div\",null,o.a.createElement(Rh,null),o.a.createElement(\"div\",{className:\"jp-at-a-glance__item-grid\"},o.a.createElement(\"div\",{className:\"jp-at-a-glance__left\"},o.a.createElement(\"div\",{className:\"jp-dash-item__interior\"},o.a.createElement(Jd,{className:\"jp-connection-type\",label:Us(\"Site connection\",{context:\"Dashboard widget header\"})},this.siteConnection()))),o.a.createElement(\"div\",{className:\"jp-at-a-glance__right\"},o.a.createElement(\"div\",{className:\"jp-dash-item__interior\"},o.a.createElement(Jd,{className:\"jp-connection-type\",label:Us(\"Account connection\",{context:\"Dashboard widget header\"})},this.userConnection())))))}}]),t}(s.Component);df.propTypes={siteConnectionStatus:u.a.any.isRequired,isDevMode:u.a.bool.isRequired,userCanDisconnectSite:u.a.bool.isRequired,userIsMaster:u.a.bool.isRequired,isLinked:u.a.bool.isRequired,userWpComLogin:u.a.any.isRequired,userWpComEmail:u.a.any.isRequired,userWpComAvatar:u.a.any.isRequired,username:u.a.any.isRequired};var hf=le((function(e){return{siteConnectionStatus:Hs(e),isDevMode:Qs(e),userCanDisconnectSite:Mi(e),userIsMaster:Ai(e),userWpComLogin:ji(e),userWpComEmail:Oi(e),userWpComAvatar:Ni(e),username:Ti(e),isLinked:Xs(e),siteIcon:Ii(e)}}))(df),ff=function(e){function t(){var e,n;_a()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=ka()(this,(e=Ca()(t)).call.apply(e,[this].concat(i))),ha()(Os()(n),\"trackSecurityClick\",(function(){return Uc.tracks.recordJetpackClick(\"aag_manage_security_wpcom\")})),n}return Ma()(t,e),As()(t,[{key:\"render\",value:function(){var e={updateOptions:this.props.updateOptions,getOptionValue:this.props.getOptionValue,isUpdating:this.props.isUpdating,multisite:this.props.multisite},t={siteAdminUrl:this.props.siteAdminUrl,siteRawUrl:this.props.siteRawUrl},n=o.a.createElement(qd,{key:\"securityHeader\",label:Us(\"Security\"),settingsPath:this.props.userCanManageModules?\"#security\":void 0,externalLink:this.props.isDevMode||!this.props.userCanManageModules?\"\":Us(\"Manage security settings\"),externalLinkPath:this.props.isDevMode?\"\":\"#/security\",externalLinkClick:this.trackSecurityClick}),r=o.a.createElement(\"div\",null,o.a.createElement(qd,{label:Us(\"Connections\"),className:\"jp-dash-section-header__connections\"}),o.a.createElement(hf,null)),i=Object(Dt.get)(this.props.rewindStatus,[\"state\"],\"\"),a=[];if(a.push(o.a.createElement(bh,Bc()({},e,{siteRawUrl:this.props.siteRawUrl,rewindStatus:i}))),this.props.multisite||a.push(o.a.createElement(Sh,Bc()({},e,{siteRawUrl:this.props.siteRawUrl,rewindStatus:i}))),a.push(o.a.createElement(kh,t)),a.push(o.a.createElement(jh,Bc()({},e,t))),\"inactive\"!==this.props.getModuleOverride(\"protect\")&&a.push(o.a.createElement(hh,e)),\"inactive\"!==this.props.getModuleOverride(\"monitor\")&&a.push(o.a.createElement(mh,e)),\"active\"===i&&a.unshift(o.a.createElement(Gd,Bc()({},e,{siteRawUrl:this.props.siteRawUrl}))),this.props.userCanManageModules){var s=[{header:n,cards:a}],c=[];return\"inactive\"!==this.props.getModuleOverride(\"photon\")&&c.push(o.a.createElement(Nh,e)),\"inactive\"!==this.props.getModuleOverride(\"search\")&&c.push(o.a.createElement(Ih,e)),c.length&&s.push({header:o.a.createElement(qd,{key:\"performanceHeader\",label:Us(\"Performance\")}),cards:c}),o.a.createElement(\"div\",{className:\"jp-at-a-glance\"},o.a.createElement(jl,null),o.a.createElement(zl,null),o.a.createElement(lh,Bc()({},e,t)),s.map((function(e,t){return[e.header,Object(Dt.chunk)(e.cards,2).map((function(e,n){var r=Ts()(e,2),i=r[0],a=r[1];return o.a.createElement(\"div\",{className:\"jp-at-a-glance__item-grid\",key:\"card-\".concat(t,\"-\").concat(n)},o.a.createElement(\"div\",{className:\"jp-at-a-glance__left\"},i),o.a.createElement(\"div\",{className:\"jp-at-a-glance__right\"},a))}))]})),r)}var l=\"\";this.props.userCanViewStats&&(l=o.a.createElement(lh,Bc()({},e,t)));var u=\"\";return this.props.getOptionValue(\"protect\")&&(u=o.a.createElement(hh,e)),this.props.userIsSubscriber?o.a.createElement(\"div\",null,l,r):o.a.createElement(\"div\",null,l,this.props.getOptionValue(\"protect\")&&n,u,r)}}]),t}(s.Component),mf=le((function(e){return{userCanManageModules:Ei(e),userCanViewStats:Pi(e),userIsSubscriber:wi(e),isDevMode:Qs(e),getModuleOverride:function(t){return $a(e,t)},multisite:Ji(e)}}))(Cu(ff)),gf=function(e){function t(){return _a()(this,t),ka()(this,Ca()(t).apply(this,arguments))}return Ma()(t,e),As()(t,[{key:\"render\",value:function(){var e=this.props,t=e.expiryDate,n=e.purchaseDate,r=e.isRefundable,i=e.dateFormat;if(!t&&!n)return null;if(!t||r){var a=Ds(n);return a.isValid()?Us(\"Purchased on %s.\",{args:a.format(i)}):null}var s=Ds(t);return s.isValid()?s.diff(new Date)<0?Us(\"Expired on %s.\",{args:s.format(i)}):Us(\"Renews on %s.\",{args:s.format(i)}):null}}]),t}(o.a.PureComponent);ha()(gf,\"propTypes\",{expiryDate:u.a.string,purchaseDate:u.a.string,isRefundable:u.a.bool,dateFormat:u.a.string}),ha()(gf,\"defaultProps\",{expiryDate:\"\",purchaseDate:\"\",isRefundable:!1,dateFormat:\"LL\"});var vf=gf,bf=function(e){function t(){var e,n;_a()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=ka()(this,(e=Ca()(t)).call.apply(e,[this].concat(i))),ha()(Os()(n),\"trackClick\",(function(){var e=n.props,t=e.target,r=e.feature;if(t){var i=r?{feature:r}:{};Uc.tracks.recordJetpackClick(Ms()({type:\"upgrade-link\",target:t},i))}})),n}return Ma()(t,e),As()(t,[{key:\"render\",value:function(){return o.a.createElement(\"a\",{href:this.props.upgradeUrl,target:\"_blank\",rel:\"noopener noreferrer\",onClick:this.trackClick},this.props.children)}}]),t}(s.PureComponent);ha()(bf,\"propTypes\",{source:u.a.string.isRequired,target:u.a.string.isRequired,feature:u.a.string,upgradeUrl:u.a.string.isRequired});var yf=le((function(e,t){var n=t.source;return{upgradeUrl:Yi(e,n)}}))(bf);function _f(e){var t=e.onClick,n=e.siteSlug;return o.a.createElement(\"div\",{className:\"jp-landing__plan-features-header-checklist-cta-container\"},o.a.createElement(xc,{href:Vl(\"calypso-plans-my-plan\",{site:n,query:\"checklist\"}),onClick:t,primary:!0},Us(\"View your setup checklist\")))}function wf(e){var t=e.children;return o.a.createElement(\"span\",{className:\"screen-reader-text\"},t)}var kf=function(e){function t(){return _a()(this,t),ka()(this,Ca()(t).apply(this,arguments))}return Ma()(t,e),As()(t,[{key:\"render\",value:function(){var e=Mc()(this.props.className,\"checklist-header-progress-bar\"),t=Math.min(Math.ceil(this.props.value/this.props.total*100),100),n=this.props.title?o.a.createElement(wf,null,this.props.title):null;return o.a.createElement(\"div\",{className:e},o.a.createElement(\"div\",{className:\"checklist-header-progress-bar__progress\",style:{width:t+\"%\"}},n))}}]),t}(s.PureComponent);function Ef(e){return e.jetpack.checklist.isLoading}ha()(kf,\"defaultProps\",{total:100}),ha()(kf,\"propTypes\",{value:u.a.number.isRequired,total:u.a.number,title:u.a.string,className:u.a.string});var Cf=Object(Dt.memoize)((function(e){var t=Object.keys(e);return{completed:t.filter((function(t){return e[t].completed})).length,total:t.length}}));function Sf(e){var t=function(e){return Object(Dt.get)(e,[\"jetpack\",\"checklist\",\"checklist\",\"tasks\"])}(e);return t?Cf(t):null}var Mf=function(e){function t(){return _a()(this,t),ka()(this,Ca()(t).apply(this,arguments))}return Ma()(t,e),As()(t,[{key:\"componentDidMount\",value:function(){this.props.isLoading||this.props.requestSiteChecklist()}},{key:\"render\",value:function(){return null}}]),t}(s.Component);ha()(Mf,\"propTypes\",{requestSiteChecklist:u.a.func,isLoading:u.a.bool});var xf=le((function(e){return{isLoading:Ef(e)}}),{requestSiteChecklist:function(){return function(e){e({type:oi})}}})(Mf),Af=function(e){function t(){var e,n;_a()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=ka()(this,(e=Ca()(t)).call.apply(e,[this].concat(i))),ha()(Os()(n),\"trackCtaClick\",(function(){Uc.tracks.recordEvent(\"jetpack_myplan_progresschecklistcta_click\",n.props.plan?{plan:n.props.plan}:void 0)})),n}return Ma()(t,e),As()(t,[{key:\"render\",value:function(){var e=this.props,t=e.completed,n=e.total,r=e.siteSlug;return o.a.createElement(o.a.Fragment,null,o.a.createElement(xf,null),t&&n&&o.a.createElement(Dl,{compact:!0,className:\"checklist__header\"},o.a.createElement(\"div\",{className:\"checklist__header-main\"},o.a.createElement(\"div\",{className:\"checklist__header-progress\"},o.a.createElement(\"span\",{className:\"checklist__header-progress-text\"},Us(\"Your Jetpack setup progress\",{comment:\"Onboarding task list progress\"})),o.a.createElement(\"span\",{className:\"checklist__header-progress-number\"},\"\".concat(t,\"/\").concat(n))),o.a.createElement(kf,{total:n,value:t})),o.a.createElement(\"div\",{className:\"checklist__header-secondary\"},o.a.createElement(xc,{compact:!0,href:Vl(\"calypso-plans-my-plan\",{site:r}),onClick:this.trackCtaClick,primary:!0},Us(\"Complete Jetpack Setup\",{comment:\"Text on link to list of onboarding tasks\"})))))}}]),t}(s.Component),jf=le((function(e){return Ms()({siteSlug:vi(e)},Sf(e))}))(Af),Of=(n(380),function(e){var t=e.action,n=e.isError,r=e.isPlaceholder,i=e.details,a=e.icon,s=e.tagLine,c=e.title,l=Mc()(\"my-plan-card\",{\"is-placeholder\":r,\"has-action-only\":t&&!i&&!r}),u=Mc()(\"my-plan-card__details\",{\"is-error\":n});return o.a.createElement(\"div\",{className:l},o.a.createElement(\"div\",{className:\"my-plan-card__primary\"},o.a.createElement(\"div\",{className:\"my-plan-card__icon\"},a&&o.a.createElement(\"img\",{src:a,alt:c})),o.a.createElement(\"div\",{className:\"my-plan-card__header\"},c&&o.a.createElement(\"h2\",{className:\"my-plan-card__title\"},c),s&&o.a.createElement(\"p\",{className:\"my-plan-card__tag-line\"},s))),(i||t||r)&&o.a.createElement(\"div\",{className:\"my-plan-card__secondary\"},o.a.createElement(\"div\",{className:u},r?null:i),o.a.createElement(\"div\",{className:\"my-plan-card__action\"},r?null:t)))});Of.propTypes={action:u.a.oneOfType([u.a.node,u.a.element]),isError:u.a.bool,isPlaceholder:u.a.bool,details:u.a.oneOfType([u.a.string,u.a.node,u.a.element]),icon:u.a.string,tagLine:u.a.oneOfType([u.a.string,u.a.node,u.a.element]),title:u.a.oneOfType([u.a.string,u.a.node,u.a.element])};var Nf=Of,Tf=function(e){function t(){return _a()(this,t),ka()(this,Ca()(t).apply(this,arguments))}return Ma()(t,e),As()(t,[{key:\"getProductProps\",value:function(e){var t=this.props,n=t.displayBackups,r=t.purchases;if(!e)return{isPlaceholder:!0};var i,a=Object(Dt.find)(r,(function(t){return t.product_slug===e}));switch(a&&(i=o.a.createElement(vf,{expiryDate:a.expiry_date,purchaseDate:a.subscribed_date,isRefundable:a.is_refundable})),Lo(e)){case\"is-free-plan\":return{icon:rd+\"/plans/plan-free.svg\",tagLine:Us(\"Worried about security? Get backups, automated security fixes and more: {{a}}Upgrade now{{/a}}\",{components:{a:o.a.createElement(yf,{source:\"my-plan-header-free-plan-text-link\",target:\"upgrade-now\",feature:\"my-plan-header-free-upgrade\"})}}),title:Us(\"Jetpack Free\")};case\"is-personal-plan\":return{details:i,icon:rd+\"/plans/plan-personal.svg\",tagLine:Us(n?\"Daily backups, spam filtering, and priority support.\":\"Spam filtering and priority support.\"),title:Us(\"Jetpack Personal\")};case\"is-premium-plan\":return{details:i,icon:rd+\"/plans/plan-premium.svg\",tagLine:Us(\"Full security suite, marketing and revenue automation tools, unlimited video hosting, and priority support.\"),title:Us(\"Jetpack Premium\")};case\"is-business-plan\":return{details:i,icon:rd+\"/plans/plan-business.svg\",tagLine:Us(\"Full security suite, marketing and revenue automation tools, unlimited video hosting, unlimited themes, and priority support.\"),title:Us(\"Jetpack Professional\")};case\"is-daily-backup-plan\":return{details:i,icon:rd+\"/products/product-jetpack-backup.svg\",tagLine:Us(\"Your data is being securely backed up every day with a 30-day archive.\"),title:Us(\"Jetpack Backup {{em}}Daily{{/em}}\",{components:{em:o.a.createElement(\"em\",null)}})};case\"is-realtime-backup-plan\":return{details:i,icon:rd+\"/products/product-jetpack-backup.svg\",tagLine:Us(\"Your data is being securely backed up as you edit.\"),title:Us(\"Jetpack Backup {{em}}Real-Time{{/em}}\",{components:{em:o.a.createElement(\"em\",null)}})};case\"is-search-plan\":return{details:i,icon:rd+\"/products/product-jetpack-search.svg\",tagLine:Us(\"Fast, highly relevant search results and powerful filtering.\"),title:Us(\"Jetpack Search\",{components:{em:o.a.createElement(\"em\",null)}})};case\"is-scan-plan\":return{details:i,icon:\"\".concat(rd,\"/products/product-jetpack-scan.svg\"),tagLine:Us(\"Automatic scanning and one-click fixes keep your site one step ahead of security threats.\"),title:Us(\"Jetpack Scan\")};default:return{isPlaceholder:!0}}}},{key:\"renderPlan\",value:function(){return o.a.createElement(Dl,{compact:!0},this.renderHeader(Us(\"My Plan\")),o.a.createElement(Nf,this.getProductProps(this.props.plan)))}},{key:\"renderProducts\",value:function(){var e=this;return Object(Dt.isEmpty)(this.props.activeProducts)?null:o.a.createElement(Dl,{compact:!0},this.renderHeader(Us(\"My Products\")),this.props.activeProducts.map((function(t){var n=t.ID,r=t.product_slug;return o.a.createElement(Nf,Bc()({key:\"product-card-\"+n},e.getProductProps(r)))})))}},{key:\"renderHeader\",value:function(e){return o.a.createElement(\"h3\",{className:\"jp-landing__card-header\"},e)}},{key:\"render\",value:function(){var e=this.props,t=e.plan,n=e.siteSlug;return o.a.createElement(\"div\",{className:\"jp-landing__plans\"},this.renderPlan(),this.renderProducts(),o.a.createElement(Dl,{compact:!0},o.a.createElement(_f,{onClick:this.trackChecklistCtaClick,siteSlug:n})),o.a.createElement(jf,{plan:t}))}}]),t}(o.a.Component);Tf.propTypes={plan:u.a.string,siteRawUrl:u.a.string,siteSlug:u.a.string,displayBackups:u.a.bool,plansMainTopUpgradeUrl:u.a.string,purchases:u.a.array};var Pf=le((function(e){return{siteSlug:vi(e),displayBackups:qi(e),plansMainTopUpgradeUrl:Yi(e,\"plans-main-top\")}}))(Tf),If=function(e){function t(){var e,n;_a()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=ka()(this,(e=Ca()(t)).call.apply(e,[this].concat(i))),ha()(Os()(n),\"trackPlansClick\",(function(e){Uc.tracks.recordJetpackClick({page:\"my-plan\",target:e,plan:n.props.plan})})),ha()(Os()(n),\"handleButtonClickForTracking\",(function(e){return function(){return n.trackPlansClick(e)}})),ha()(Os()(n),\"activateAds\",(function(){n.props.activateModule(\"wordads\"),n.trackPlansClick(\"activate_wordads\")})),ha()(Os()(n),\"activatePublicize\",(function(){n.props.activateModule(\"publicize\"),n.trackPlansClick(\"activate_publicize\")})),ha()(Os()(n),\"activateVideoPress\",(function(){n.props.activateFeature(\"videopress\"),n.trackPlansClick(\"activate_videopress\")})),ha()(Os()(n),\"activateSeo\",(function(){n.props.activateModule(\"seo-tools\"),n.trackPlansClick(\"activate_seo\")})),ha()(Os()(n),\"activateGoogleAnalytics\",(function(){n.props.activateModule(\"google-analytics\"),n.trackPlansClick(\"activate_ga\")})),n}return Ma()(t,e),As()(t,[{key:\"render\",value:function(){var e,t=this,n=\"\",r=\"dev\"!==this.props.plan?Lo(this.props.plan):\"dev\",i=Object(Dt.includes)(this.props.activeFeatures,\"premium-themes\"),a=\"active\"===Object(Dt.get)(this.props.rewindStatus,[\"state\"],!1),s=!this.props.showBackups||!a&&\"unavailable\"!==Object(Dt.get)(this.props.rewindStatus,[\"state\"],!1),c=function(e){var n=e.title,r=e.description;return o.a.createElement(\"div\",{className:\"jp-landing__plan-features-card\"},o.a.createElement(\"div\",{className:\"jp-landing__plan-features-img\"},o.a.createElement(\"img\",{src:rd+\"/jetpack-backup.svg\",className:\"jp-landing__plan-features-icon\",alt:Us(\"A Jetpack Site securely backed up with Jetpack Backup\")})),o.a.createElement(\"div\",{className:\"jp-landing__plan-features-text\"},o.a.createElement(\"h3\",{className:\"jp-landing__plan-features-title\"},n),o.a.createElement(\"p\",null,r),o.a.createElement(xc,{onClick:t.handleButtonClickForTracking(\"view_backup_dash\"),href:Vl(\"calypso-activity-log\",{site:t.props.siteRawUrl})},Us(\"View Your Backups\"))))},l=function(){if(!s){if(a)return o.a.createElement(\"div\",{className:\"jp-landing__plan-features-card\"},o.a.createElement(\"div\",{className:\"jp-landing__plan-features-img\"},o.a.createElement(\"img\",{src:rd+\"/jetpack-security.svg\",className:\"jp-landing__plan-features-icon\",alt:Us(\"A secure site, locked and protected by Jetpack\")})),o.a.createElement(\"div\",{className:\"jp-landing__plan-features-text\"},o.a.createElement(\"h3\",{className:\"jp-landing__plan-features-title\"},Us(\"Site Backups\")),o.a.createElement(\"p\",null,Us(\"Real-time backup of all your site data with unlimited space, one-click restores, and automated security scanning.\")),o.a.createElement(xc,{onClick:t.handleButtonClickForTracking(\"view_security_dash_rewind\"),href:Vl(\"calypso-activity-log\",{site:t.props.siteRawUrl})},Us(\"View your security activity\"))));var e=\"\";switch(r){case\"is-personal-plan\":e=Us(\"Daily backup of all your site data with unlimited space and one-click restores\");break;case\"is-premium-plan\":e=Us(\"Daily backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support\");break;case\"is-business-plan\":e=Us(\"Real-time backup of all your site data with unlimited space, one-click restores, automated security scanning, and priority support\");break;default:e=\"\"}return o.a.createElement(\"div\",{className:\"jp-landing__plan-features-card\"},o.a.createElement(\"div\",{className:\"jp-landing__plan-features-img\"},o.a.createElement(\"img\",{src:rd+\"/jetpack-security.svg\",className:\"jp-landing__plan-features-icon\",alt:Us(\"A secure site, locked and protected by Jetpack\")})),o.a.createElement(\"div\",{className:\"jp-landing__plan-features-text\"},o.a.createElement(\"h3\",{className:\"jp-landing__plan-features-title\"},Us(\"Site Security\")),o.a.createElement(\"p\",null,e+Us(\" (powered by VaultPress).\")),t.props.isPluginInstalled(\"vaultpress/vaultpress.php\")&&t.props.isPluginActive(\"vaultpress/vaultpress.php\")?o.a.createElement(xc,{onClick:t.handleButtonClickForTracking(\"view_security_dash\"),href:Vl(\"vaultpress-dashboard\")},Us(\"View your security dashboard\")):o.a.createElement(xc,{onClick:t.handleButtonClickForTracking(\"configure_vault\"),href:Vl(\"calypso-plugins-setup\",{site:t.props.siteRawUrl,query:\"only=vaultpress\"})},Us(\"View settings\"))))}};\"is-daily-backup-plan\"===r&&(e=c({title:Us(\"Automated Daily Backups\"),description:Us(\"We back up your website every day, so you never have to worry about your data again.\")})),\"is-realtime-backup-plan\"===r&&(e=c({title:Us(\"Automated Real-time Backups\"),description:Us(\"We back up your website with every change you make, making it easy to fix your mistakes.\")}));var u=function(){return o.a.createElement(\"div\",{className:\"jp-landing__plan-features-card\"},o.a.createElement(\"div\",{className:\"jp-landing__plan-features-img\"},o.a.createElement(\"img\",{src:rd+\"/jetpack-search-icon.svg\",className:\"jp-landing__plan-features-icon\",alt:Us(\"A Jetpack Site with the power of Jetpack Search\")})),o.a.createElement(\"div\",{className:\"jp-landing__plan-features-text\"},o.a.createElement(\"h3\",{className:\"jp-landing__plan-features-title\"},Us(\"Instant Search and Filtering\")),o.a.createElement(\"p\",null,Us(\"Relevant search results and filtering tightly integrated with your theme.\")),o.a.createElement(xc,{onClick:t.handleButtonClickForTracking(\"view_search_customizer\"),href:t.props.siteAdminUrl+\"customize.php?autofocus[section]=jetpack_search\"},Us(\"Customize Search\"))))};switch(r){case\"is-personal-plan\":case\"is-premium-plan\":case\"is-business-plan\":n=o.a.createElement(\"div\",{className:\"jp-landing__plan-features\"},\"is-personal-plan\"===r&&l(),\"is-premium-plan\"===r&&l(),\"is-business-plan\"===r&&l(),this.props.hasActiveSearchPurchase&&u(),o.a.createElement(\"div\",{className:\"jp-landing__plan-features-card\"},o.a.createElement(\"div\",{className:\"jp-landing__plan-features-img\"},o.a.createElement(\"img\",{src:rd+\"/jetpack-speed-icon.svg\",className:\"jp-landing__plan-features-icon\",alt:Us(\"A fast and performant website\")})),o.a.createElement(\"div\",{className:\"jp-landing__plan-features-text\"},o.a.createElement(\"h3\",{className:\"jp-landing__plan-features-title\"},Us(\"Optimized performance\")),o.a.createElement(\"p\",null,Us(\"Load pages faster by serving your images from our global network of servers.\")),o.a.createElement(xc,{onClick:this.handleButtonClickForTracking(\"paid_performance\"),href:this.props.siteAdminUrl+\"admin.php?page=jetpack#/performance\"},Us(\"Make your site faster\")))),o.a.createElement(\"div\",{className:\"jp-landing__plan-features-card\"},o.a.createElement(\"div\",{className:\"jp-landing__plan-features-img\"},o.a.createElement(\"img\",{src:rd+\"/jetpack-spam.svg\",className:\"jp-landing__plan-features-icon\",alt:Us(\"A folder holding real comments\")})),o.a.createElement(\"div\",{className:\"jp-landing__plan-features-text\"},o.a.createElement(\"h3\",{className:\"jp-landing__plan-features-title\"},Us(\"Anti-spam\")),o.a.createElement(\"p\",null,Us(\"Spam is automatically blocked from your comments.\")),this.props.isPluginInstalled(\"akismet/akismet.php\")&&this.props.isPluginActive(\"akismet/akismet.php\")?o.a.createElement(xc,{onClick:this.handleButtonClickForTracking(\"view_spam_stats\"),href:this.props.siteAdminUrl+\"admin.php?page=akismet-key-config\"},Us(\"View your spam stats\")):o.a.createElement(xc,{onClick:this.handleButtonClickForTracking(\"configure_akismet\"),href:Vl(\"calypso-plugins-setup\",{site:this.props.siteRawUrl,query:\"only=akismet\"})},Us(\"View settings\")))),(\"is-business-plan\"===r||\"is-premium-plan\"===r)&&\"inactive\"!==this.props.getModuleOverride(\"videopress\")&&o.a.createElement(\"div\",{className:\"jp-landing__plan-features-card\"},o.a.createElement(\"div\",{className:\"jp-landing__plan-features-img\"},o.a.createElement(\"img\",{src:rd+\"/jetpack-video-hosting.svg\",className:\"jp-landing__plan-features-icon\",alt:Us(\"A cloud with multiple types of content floating around it\")})),o.a.createElement(\"div\",{className:\"jp-landing__plan-features-text\"},o.a.createElement(\"h3\",{className:\"jp-landing__plan-features-title\"},Us(\"Video Hosting\")),o.a.createElement(\"p\",null,Us(\"High-speed, high-definition video hosting with no third-party ads.\")),this.props.getFeatureState(\"videopress\")?o.a.createElement(xc,{onClick:this.handleButtonClickForTracking(\"upload_videos\"),href:this.props.siteAdminUrl+\"upload.php\"},Us(\"Upload videos\")):o.a.createElement(xc,{onClick:this.activateVideoPress,disabled:this.props.isActivatingFeature(\"videopress\")},Us(\"Activate video hosting\")))),o.a.createElement(\"div\",{className:\"jp-landing__plan-features-card\"},o.a.createElement(\"div\",{className:\"jp-landing__plan-features-img\"},o.a.createElement(\"img\",{src:rd+\"/jetpack-site-activity.svg\",className:\"jp-landing__plan-features-icon\",alt:Us(\"Interface showing a chronological list of changes and updates in a site\")})),o.a.createElement(\"div\",{className:\"jp-landing__plan-features-text\"},o.a.createElement(\"h3\",{className:\"jp-landing__plan-features-title\"},Us(\"Activity\")),o.a.createElement(\"p\",null,Us(\"View a chronological list of all the changes and updates to your site in an organized, readable way.\")),o.a.createElement(xc,{onClick:this.handleButtonClickForTracking(\"view_site_activity\"),href:Vl(\"calypso-activity-log\",{site:this.props.siteRawUrl})},Us(\"View your site activity\")))),(\"is-business-plan\"===r||\"is-premium-plan\"===r)&&\"inactive\"!==this.props.getModuleOverride(\"wordads\")&&o.a.createElement(\"div\",{className:\"jp-landing__plan-features-card\"},o.a.createElement(\"div\",{className:\"jp-landing__plan-features-img\"},o.a.createElement(\"img\",{src:rd+\"/jetpack-wordads.svg\",className:\"jp-landing__plan-features-icon\",alt:Us(\"A chart showing an healthy increase in earnings\")})),o.a.createElement(\"div\",{className:\"jp-landing__plan-features-text\"},o.a.createElement(\"h3\",{className:\"jp-landing__plan-features-title\"},Us(\"Monetize your site with ads\")),o.a.createElement(\"p\",null,Us(\"WordAds lets you earn money by displaying promotional content. Start earning today.\")),this.props.isModuleActivated(\"wordads\")?o.a.createElement(xc,{onClick:this.handleButtonClickForTracking(\"view_earnings\"),href:Vl(\"wpcom-ads-earnings\",{site:this.props.siteRawUrl})},Us(\"View your earnings\")):o.a.createElement(xc,{onClick:this.activateAds,disabled:this.props.isActivatingModule(\"wordads\")},Us(\"Start earning\")))),(\"is-business-plan\"===r||\"is-premium-plan\"===r)&&\"inactive\"!==this.props.getModuleOverride(\"seo-tools\")&&o.a.createElement(\"div\",{className:\"jp-landing__plan-features-card\"},o.a.createElement(\"div\",{className:\"jp-landing__plan-features-img\"},o.a.createElement(\"img\",{src:rd+\"/jetpack-performance-icon.svg\",className:\"jp-landing__plan-features-icon\",alt:Us(\"Site stats showing an evolution in traffic and engagement\")})),o.a.createElement(\"div\",{className:\"jp-landing__plan-features-text\"},o.a.createElement(\"h3\",{className:\"jp-landing__plan-features-title\"},Us(\"SEO Tools\")),o.a.createElement(\"p\",null,Us(\"Advanced SEO tools to help your site get found when people search for relevant content.\")),this.props.isModuleActivated(\"seo-tools\")?o.a.createElement(xc,{onClick:this.handleButtonClickForTracking(\"configure_seo\"),href:Vl(\"calypso-marketing-traffic\",{site:this.props.siteRawUrl})},Us(\"Configure site SEO\")):o.a.createElement(xc,{onClick:this.activateSeo,disabled:this.props.isActivatingModule(\"seo-tools\")},Us(\"Activate SEO tools\")))),(\"is-business-plan\"===r||\"is-premium-plan\"===r)&&\"inactive\"!==this.props.getModuleOverride(\"google-analytics\")&&o.a.createElement(\"div\",{className:\"jp-landing__plan-features-card\"},o.a.createElement(\"div\",{className:\"jp-landing__plan-features-img\"},o.a.createElement(\"img\",{src:rd+\"/jetpack-google-analytics.svg\",className:\"jp-landing__plan-features-icon\",alt:Us(\"Site stats showing an evolution in traffic and engagement\")})),o.a.createElement(\"div\",{className:\"jp-landing__plan-features-text\"},o.a.createElement(\"h3\",{className:\"jp-landing__plan-features-title\"},Us(\"Google Analytics\")),o.a.createElement(\"p\",null,Us(\"Complement WordPress.com’s stats with Google’s in-depth look at your visitors and traffic patterns.\")),this.props.isModuleActivated(\"google-analytics\")?o.a.createElement(xc,{onClick:this.handleButtonClickForTracking(\"configure_ga\"),href:Vl(\"calypso-marketing-traffic\",{site:this.props.siteRawUrl})},Us(\"Configure Google Analytics\")):o.a.createElement(xc,{onClick:this.activateGoogleAnalytics,disabled:this.props.isActivatingModule(\"google-analytics\")},Us(\"Activate Google Analytics\")))),i&&o.a.createElement(\"div\",{className:\"jp-landing__plan-features-card\"},o.a.createElement(\"div\",{className:\"jp-landing__plan-features-img\"},o.a.createElement(\"img\",{src:rd+\"/jetpack-themes.svg\",className:\"jp-landing__plan-features-icon\",alt:Us(\"A secure site, locked and protected by Jetpack\")})),o.a.createElement(\"div\",{className:\"jp-landing__plan-features-text\"},o.a.createElement(\"h3\",{className:\"jp-landing__plan-features-title\"},Us(\"Try a premium theme\")),o.a.createElement(\"p\",null,Us(\"Access beautifully designed premium themes at no extra cost.\")),o.a.createElement(xc,{onClick:this.handleButtonClickForTracking(\"premium_themes\"),href:Vl(\"calypso-themes-premium\",{site:this.props.siteRawUrl})},Us(\"Browse premium themes\")))),(\"is-business-plan\"===r||\"is-premium-plan\"===r)&&\"inactive\"!==this.props.getModuleOverride(\"publicize\")&&o.a.createElement(\"div\",{className:\"jp-landing__plan-features-card\"},o.a.createElement(\"div\",{className:\"jp-landing__plan-features-img\"},o.a.createElement(\"img\",{src:rd+\"/jetpack-marketing.svg\",className:\"jp-landing__plan-features-icon\",alt:Us(\"A secure site, locked and protected by Jetpack\")})),o.a.createElement(\"div\",{className:\"jp-landing__plan-features-text\"},o.a.createElement(\"h3\",{className:\"jp-landing__plan-features-title\"},Us(\"Marketing Automation\")),o.a.createElement(\"p\",null,Us(\"Schedule unlimited tweets, Facebook posts, and other social posts in advance.\")),this.props.isModuleActivated(\"publicize\")?o.a.createElement(xc,{onClick:this.handleButtonClickForTracking(\"schedule_posts\"),href:Vl(\"calypso-edit-posts\",{site:this.props.siteRawUrl})},Us(\"Schedule posts\")):o.a.createElement(xc,{onClick:this.activatePublicize,disabled:this.props.isActivatingModule(\"publicize\")},Us(\"Activate Publicize\")))));break;case\"is-free-plan\":case\"is-daily-backup-plan\":case\"is-realtime-backup-plan\":case\"is-search-plan\":case\"dev\":n=o.a.createElement(\"div\",{className:\"jp-landing__plan-features\"},e,this.props.hasActiveSearchPurchase&&u(),o.a.createElement(\"div\",{className:\"jp-landing__plan-features-card\"},o.a.createElement(\"div\",{className:\"jp-landing__plan-features-img\"},o.a.createElement(\"img\",{src:rd+\"/jetpack-security.svg\",className:\"jp-landing__plan-features-icon\",alt:Us(\"A secure site, locked and protected by Jetpack\")})),o.a.createElement(\"div\",{className:\"jp-landing__plan-features-text\"},o.a.createElement(\"h3\",{className:\"jp-landing__plan-features-title\"},Us(\"Always-on security\")),o.a.createElement(\"p\",null,Us(\"Prevent login attacks, and get instant notifications when there’s an issue with your site.\")),o.a.createElement(xc,{onClick:this.handleButtonClickForTracking(\"free_security\"),href:Vl(\"calypso-settings-security\",{site:this.props.siteRawUrl})},Us(\"Set up your site security\")))),o.a.createElement(\"div\",{className:\"jp-landing__plan-features-card\"},o.a.createElement(\"div\",{className:\"jp-landing__plan-features-img\"},o.a.createElement(\"img\",{src:rd+\"/jetpack-speed-icon.svg\",className:\"jp-landing__plan-features-icon\",alt:Us(\"A fast and performant website\")})),o.a.createElement(\"div\",{className:\"jp-landing__plan-features-text\"},o.a.createElement(\"h3\",{className:\"jp-landing__plan-features-title\"},Us(\"Optimized performance\")),o.a.createElement(\"p\",null,Us(\"Load pages faster by serving your images from our global network of servers.\")),o.a.createElement(xc,{onClick:this.handleButtonClickForTracking(\"free_performance\"),href:this.props.siteAdminUrl+\"admin.php?page=jetpack#/performance\"},Us(\"Make your site faster\")))),o.a.createElement(\"div\",{className:\"jp-landing__plan-features-card\"},o.a.createElement(\"div\",{className:\"jp-landing__plan-features-img\"},o.a.createElement(\"img\",{src:rd+\"/jetpack-themes.svg\",className:\"jp-landing__plan-features-icon\",alt:Us(\"A wide variety of themes and tools to customize a site\")})),o.a.createElement(\"div\",{className:\"jp-landing__plan-features-text\"},o.a.createElement(\"h3\",{className:\"jp-landing__plan-features-title\"},Us(\"Design the perfect website\")),o.a.createElement(\"p\",null,Us(\"Get unlimited access to hundreds of professional themes, and customize your site exactly how you like it.\")),o.a.createElement(xc,{onClick:this.handleButtonClickForTracking(\"free_themes\"),href:Vl(\"calypso-themes\",{site:this.props.siteRawUrl})},Us(\"Explore free themes\")))),o.a.createElement(\"div\",{className:\"jp-landing__plan-features-card\"},o.a.createElement(\"div\",{className:\"jp-landing__plan-features-img\"},o.a.createElement(\"img\",{src:rd+\"/jetpack-performance-icon.svg\",className:\"jp-landing__plan-features-icon\",alt:Us(\"Site stats showing an evolution in traffic and engagement\")})),o.a.createElement(\"div\",{className:\"jp-landing__plan-features-text\"},o.a.createElement(\"h3\",{className:\"jp-landing__plan-features-title\"},Us(\"Increase traffic to your site\")),o.a.createElement(\"p\",null,Us(\"Reach a wider audience by automatically sharing your posts on social media.\")),o.a.createElement(xc,{onClick:this.handleButtonClickForTracking(\"free_sharing\"),href:Vl(\"calypso-marketing-connections\",{site:this.props.siteRawUrl})},Us(\"Start sharing\")))),o.a.createElement(\"div\",{className:\"jp-landing__plan-features-card\"},o.a.createElement(\"div\",{className:\"jp-landing__plan-features-img\"},o.a.createElement(\"img\",{src:rd+\"/jetpack-site-activity.svg\",className:\"jp-landing__plan-features-icon\",alt:Us(\"Interface showing a chronological list of changes and updates in a site\")})),o.a.createElement(\"div\",{className:\"jp-landing__plan-features-text\"},o.a.createElement(\"h3\",{className:\"jp-landing__plan-features-title\"},Us(\"Site activity\")),o.a.createElement(\"p\",null,Us(\"View a chronological list of all the changes and updates to your site in an organized, readable way.\")),o.a.createElement(xc,{onClick:this.handleButtonClickForTracking(\"view_site_activity\"),href:Vl(\"calypso-activity-log\",{site:this.props.siteRawUrl})},Us(\"View your site activity\")))),o.a.createElement(\"div\",{className:\"jp-landing__plan-features-card\"},o.a.createElement(\"div\",{className:\"jp-landing__plan-features-img\"},o.a.createElement(\"img\",{src:rd+\"/jetpack-support.svg\",className:\"jp-landing__plan-features-icon\",alt:Us(\"Chat bubbles representing getting in touch with support\")})),o.a.createElement(\"div\",{className:\"jp-landing__plan-features-text\"},o.a.createElement(\"h3\",{className:\"jp-landing__plan-features-title\"},Us(\"Support documentation\")),o.a.createElement(\"p\",null,Us(\"Need help? Learn about getting started, customizing your site, using advanced code snippets, and more.\")),o.a.createElement(xc,{onClick:this.handleButtonClickForTracking(\"free_support_documentation\"),href:Vl(\"jetpack-support\")},Us(\"Search support docs\")))),\"is-free-plan\"===r&&o.a.createElement(\"div\",{className:\"jp-landing__plan-features-card\"},o.a.createElement(\"div\",{className:\"jp-landing__plan-features-text\"},o.a.createElement(\"h3\",{className:\"jp-landing__plan-features-title\"},Us(\"Take your site to the next level!\")),o.a.createElement(\"ul\",{className:\"jp-landing__plan-features-list\"},o.a.createElement(\"li\",null,Us(\"Expand your audience with pro SEO tools.\")),o.a.createElement(\"li\",null,Us(\"Customize your social posting schedule.\")),o.a.createElement(\"li\",null,Us(\"Monetize your site by running high quality ads.\"))),o.a.createElement(xc,{className:\"is-primary\",onClick:this.handleButtonClickForTracking(\"free_explore_jetpack_plans\"),href:\"#/plans\"},Us(\"Upgrade Jetpack now\")))));break;default:n=o.a.createElement(\"div\",{className:\"jp-landing__plan-features is-loading\"},o.a.createElement(\"div\",{className:\"jp-landing__plan-features-card\"},o.a.createElement(\"h3\",{className:\"jp-landing__plan-features-title is-placeholder\"},\" \"),o.a.createElement(\"p\",{className:\"jp-landing__plan-features-text is-placeholder\"},\" \")),o.a.createElement(\"div\",{className:\"jp-landing__plan-features-card\"},o.a.createElement(\"h3\",{className:\"jp-landing__plan-features-title is-placeholder\"},\" \"),o.a.createElement(\"p\",{className:\"jp-landing__plan-features-text is-placeholder\"},\" \")),o.a.createElement(\"div\",{className:\"jp-landing__plan-features-card\"},o.a.createElement(\"h3\",{className:\"jp-landing__plan-features-title is-placeholder\"},\" \"),o.a.createElement(\"p\",{className:\"jp-landing__plan-features-text is-placeholder\"},\" \")))}return o.a.createElement(\"div\",null,o.a.createElement(jl,null),n)}}]),t}(o.a.Component);ha()(If,\"propTypes\",{plan:u.a.string}),ha()(If,\"defaultProps\",{plan:\"\"});var Df=le((function(e){return{isFetchingPluginsData:ga(e),isPluginActive:function(t){return va(e,t)},isPluginInstalled:function(t){return ba(e,t)},isModuleActivated:function(t){return Ga(e,t)},isActivatingModule:function(t){return function(e,t){return!!e.jetpack.modules.requests.activating[t]}(e,t)},getModuleOverride:function(t){return $a(e,t)},showBackups:qi(e),getFeatureState:function(t){return Mo(e,t)},isActivatingFeature:function(t){return xo(e,t)}}}),(function(e){return{fetchPluginsData:function(){return e(Fa())},activateModule:function(t){return e(function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(n,r){return n({type:vn,module:e}),n(Xa(\"module-toggle\")),n(Qa(\"is-info\",Us(\"Activating %(slug)s…\",{args:{slug:qa(r(),e).name}}),{id:\"module-toggle\"})),Da.activateModule(e).then((function(){n({type:bn,module:e,success:!0}),n(Xa(\"module-toggle\")),n(Qa(\"is-success\",Us(\"%(slug)s has been activated.\",{args:{slug:qa(r(),e).name}}),{id:\"module-toggle\",duration:2e3})),t&&window.location.reload()})).catch((function(t){n({type:yn,module:e,success:!1,error:t}),n(Xa(\"module-toggle\")),n(Qa(\"is-error\",Us(\"%(slug)s failed to activate. %(error)s\",{args:{slug:qa(r(),e).name,error:t}}),{id:\"module-toggle\"}))}))}}(t))},activateFeature:function(t){return e(Ul(ha()({},t,!0)))}}}))(If);var Rf=le((function(e){return{activeFeatures:Wo(e),activeProducts:Xo(e),availableFeatures:Jo(e),getSiteConnectionStatus:function(){return Hs(e)},hasActiveSearchPurchase:Zo(e),purchases:Yo(e),sitePlan:qo(e)}}))((function(e){var t=e.sitePlan.product_slug||\"\",n=e.availableFeatures,r=e.activeFeatures;return\"dev\"===e.getSiteConnectionStatus(e)&&(t=\"dev\",n={},r={}),o.a.createElement(o.a.Fragment,null,o.a.createElement(zl,null),o.a.createElement(Pf,{activeProducts:e.activeProducts,plan:t,purchases:e.purchases,siteRawUrl:e.siteRawUrl}),o.a.createElement(Df,{activeFeatures:r,availableFeatures:n,hasActiveSearchPurchase:e.hasActiveSearchPurchase,plan:t,rewindStatus:e.rewindStatus,siteAdminUrl:e.siteAdminUrl,siteRawUrl:e.siteRawUrl}))})),Uf=function(e){function t(){var e,n;_a()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=ka()(this,(e=Ca()(t)).call.apply(e,[this].concat(i))),ha()(Os()(n),\"clickHandler\",(function(){var e=n.props,t=e.planType,r=e.productSlug;Uc.tracks.recordJetpackClick({target:\"upgrade-\".concat(t),type:\"upgrade\",plan:r,page:\"Plans\"})})),n}return Ma()(t,e),As()(t,[{key:\"render\",value:function(){var e=this.props,t=e.buttonText,n=e.planType,r=e.isActivePlan,i=e.isPrimary,a=e.shouldRenderButton,s=e.siteRawUrl,c=e.plansUpgradeUrl,l=r?Vl(\"calypso-plans-my-plan\",{site:s}):c,u=Mc()(\"plan-features__table-item\",\"has-border-bottom\",\"is-top-buttons\");return a?o.a.createElement(\"td\",{key:\"button-\"+n,className:u},o.a.createElement(xc,{href:l,primary:i,onClick:this.clickHandler},t)):o.a.createElement(\"td\",{key:\"button-\"+n,className:u})}}]),t}(o.a.Component),Lf=function(e){function t(){var e,n;_a()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=ka()(this,(e=Ca()(t)).call.apply(e,[this].concat(i))),ha()(Os()(n),\"featureLinkClickHandler\",(function(){var e=n.props,t=e.feature,r=e.productSlug;Uc.tracks.recordJetpackClick({target:t.id,type:\"feature-discovery\",plan:r,page:\"Plans\"})})),n}return Ma()(t,e),As()(t,[{key:\"renderFeatureLink\",value:function(e){var t=this.props,n=t.siteRawUrl,r=t.userId;return o.a.createElement(\"a\",{onClick:this.featureLinkClickHandler,href:\"https://jetpack.com/features/\".concat(e.info,\"?site=\").concat(n,\"&u=\").concat(r)},e.name)}},{key:\"render\",value:function(){var e=this.props,t=e.itemKey,n=e.feature,r=e.hideBackupFeature;return void 0===n||r?o.a.createElement(\"td\",{key:t,className:\"plan-features__table-item\"}):o.a.createElement(\"td\",{key:t,className:\"plan-features__table-item has-partial-border\"},o.a.createElement(\"div\",{className:\"plan-features__item\"},n.info?this.renderFeatureLink(n):n.name))}}]),t}(s.Component),Ff=function(e){function t(){return _a()(this,t),ka()(this,Ca()(t).apply(this,arguments))}return Ma()(t,e),As()(t,[{key:\"handlePeriodChange\",value:function(e){var t=this;return e===this.props.planDuration?null:function(){Uc.tracks.recordJetpackClick({target:\"change-period-\"+e,feature:\"plans-grid\",extra:t.props.type}),t.props.setPlanDuration(e)}}},{key:\"render\",value:function(){var e=this,t=this.props.planDuration,n={monthly:Us(\"Monthly\"),yearly:Us(\"Yearly\")};return o.a.createElement(\"div\",{className:\"plan-grid-period\"},o.a.createElement(Ac,null,Object(Dt.map)(n,(function(n,r){return o.a.createElement(xc,{key:\"plan-period-button-\"+r,primary:r===t,onClick:e.handlePeriodChange(r),compact:!0},n)}))))}}]),t}(o.a.Component),zf=le((function(e){return{planDuration:di(e)}}),{setPlanDuration:function(e){return function(t){t({type:Fr,duration:e})}}})(Ff),Bf=function(e){function t(){var e,n;_a()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=ka()(this,(e=Ca()(t)).call.apply(e,[this].concat(i))),ha()(Os()(n),\"featuredPlans\",!1),n}return Ma()(t,e),As()(t,[{key:\"UNSAFE_componentWillUpdate\",value:function(){this.featuredPlans=!1}},{key:\"handleSeeFeaturesClick\",value:function(e){return function(){Uc.tracks.recordJetpackClick({target:\"see-all-features-link\",feature:\"plans-grid\",extra:e})}}},{key:\"render\",value:function(){if(!this.props.plans||this.props.isFetchingData)return o.a.createElement(\"div\",{className:\"plan-features\"},this.renderMobileCard(),this.renderSkeletonGrid());var e=Object.values(this.getPlans()).length,t=Mc()(\"plan-features__table\",\"has-\".concat(e,\"-cols\"));return o.a.createElement(\"div\",{className:\"plan-features\"},this.renderMobileCard(),o.a.createElement(zf,{type:\"plans\"}),o.a.createElement(\"div\",{className:\"plan-features__content\"},o.a.createElement(\"table\",{className:t},o.a.createElement(\"tbody\",null,o.a.createElement(\"tr\",null,this.renderPlanHeaders()),o.a.createElement(\"tr\",null,this.renderPrices()),o.a.createElement(\"tr\",null,this.renderTopButtons()),this.renderPlanFeatureRows(),o.a.createElement(\"tr\",null,this.renderBottomButtons())))))}},{key:\"renderMobileCard\",value:function(){var e=Us(\"You’re currently on Jetpack %(plan)s.\",{args:{plan:this.props.sitePlan.product_name_short}}),t=Vl(\"calypso-plans-my-plan\",{site:this.props.siteRawUrl}),n=Vl(\"calypso-plans\",{site:this.props.siteRawUrl});return o.a.createElement(\"div\",{className:\"plans-mobile-notice dops-card\"},o.a.createElement(\"h2\",null,Us(\"Your Plan\")),o.a.createElement(\"p\",null,e),o.a.createElement(xc,{href:t},Us(\"Manage your plan\")),o.a.createElement(xc,{href:n,primary:!0},Us(\"View all Jetpack plans\")))}},{key:\"renderSkeletonGrid\",value:function(){return o.a.createElement(\"div\",{className:\"plan-grid-skeletons\"},o.a.createElement(\"div\",{className:\"plan-grid-skeletons__plan is-placeholder\"}),o.a.createElement(\"div\",{className:\"plan-grid-skeletons__plan is-placeholder\"}),o.a.createElement(\"div\",{className:\"plan-grid-skeletons__plan is-placeholder\"}))}},{key:\"getCurrentPlanType\",value:function(){return Lo(this.props.sitePlan.product_slug).replace(/^is-/,\"\").replace(/-plan$/,\"\")}},{key:\"isUpgraded\",value:function(){return!Object(Dt.includes)([\"\",\"free\"],this.getCurrentPlanType())}},{key:\"isCurrentPlanType\",value:function(e){return this.getCurrentPlanType()===e}},{key:\"getPlans\",value:function(){if(this.featuredPlans)return this.featuredPlans;var e=Object(Dt.reduce)(this.props.plans,(function(e,t,n){if(\"free\"===n)return e;var r=t.highlight;return t.features=Object(Dt.reduce)(t.features,(function(e,t){return Object(Dt.includes)(r,t.id)&&e.push(t),e}),[]),e[n]=t,e}),{});return this.featuredPlans=e,e}},{key:\"renderPlanHeaders\",value:function(){return Object(Dt.map)(this.getPlans(),(function(e,t){var n=Mc()(\"plan-features__table-item\",\"is-header\",\"has-border-top\",\"is-\".concat(t,\"-plan\"));return o.a.createElement(\"td\",{key:\"plan-header-\"+t,className:n},o.a.createElement(\"header\",{className:\"plan-features__header\"},o.a.createElement(\"h3\",{className:\"plan-features__header-title\"},e.short_name),o.a.createElement(\"div\",{className:\"plan-features__description\"},e.tagline)))}))}},{key:\"renderPrices\",value:function(){var e=this,t=this.props.planDuration;return Object(Dt.map)(this.getPlans(),(function(n,r){var i=Mc()(\"plan-features__table-item\",\"plan-price\");return e.isCurrentPlanType(r)?o.a.createElement(\"td\",{key:\"price-\"+r,className:i},n.strings.current):e.shouldRenderButton(r)?o.a.createElement(\"td\",{key:\"price-\"+r,className:i},o.a.createElement(\"span\",{className:\"plan-price__yearly\",dangerouslySetInnerHTML:{__html:n.price[t].per}})):o.a.createElement(\"td\",{key:\"price-\"+r,className:i})}))}},{key:\"shouldRenderButton\",value:function(e){var t=Object.keys(this.props.plans),n=t.indexOf(this.getCurrentPlanType());return t.indexOf(e)>=n}},{key:\"renderTopButtons\",value:function(){var e=this,t=this.props.planDuration;return Object(Dt.map)(this.getPlans(),(function(n,r){var i=e.props,a=i.siteRawUrl,s=i.plansUpgradeUrl,c=i.sitePlan,l=e.isCurrentPlanType(r),u=l?n.strings.manage:n.strings.upgrade,p=r;return\"monthly\"===t&&(p+=\"-monthly\"),o.a.createElement(Uf,{key:r,buttonText:u,planType:r,isActivePlan:l,isPrimary:e.isPrimary(r,n),shouldRenderButton:e.shouldRenderButton(r),siteRawUrl:a,plansUpgradeUrl:s(p),productSlug:c.product_slug})}))}},{key:\"isPrimary\",value:function(e,t){if(this.isUpgraded()){var n=this.getCurrentPlanType(),r=Object.keys(this.getPlans()),i=r.indexOf(n);return r.indexOf(e)===r.indexOf(r[i+1])}return t.is_featured}},{key:\"renderBottomButtons\",value:function(){var e=this;return Object(Dt.map)(this.getPlans(),(function(t,n){return o.a.createElement(\"td\",{key:\"bottom-\"+n,className:\"plan-features__table-item is-bottom-buttons has-border-bottom\"},o.a.createElement(\"a\",{href:e.props.plansLearnMoreUpgradeUrl,onClick:e.handleSeeFeaturesClick(n)},t.strings.see_all))}))}},{key:\"getLongestFeaturesList\",value:function(){return Object(Dt.reduce)(this.getPlans(),(function(e,t){var n=Object.keys(t.features);return n.length>e.length?n:e}),[])}},{key:\"renderPlanFeatureRows\",value:function(){var e=this;return Object(Dt.map)(this.getLongestFeaturesList(),(function(t,n){return o.a.createElement(\"tr\",{key:\"row-\"+n,className:\"plan-features-row\"},e.renderPlanFeatureColumns(n))}))}},{key:\"renderPlanFeatureColumns\",value:function(e){var t=this;return Object(Dt.map)(this.getPlans(),(function(n,r){var i=r+\"-row-\"+e,a=n.features[e],s=!t.props.showBackups&&a&&Object(Dt.includes)([\"backups\",\"malware-scan\",\"real-time-backups\"],a.id);return o.a.createElement(Lf,{key:r,itemKey:i,feature:a,hideBackupFeature:s,siteRawUrl:t.props.siteRawUrl,userId:t.props.userId,productSlug:t.props.sitePlan.product_slug})}))}}]),t}(o.a.Component),Vf=le((function(e){var t=function(e){return Object(Dt.get)(e.jetpack.initialState.userData.currentUser,\"id\")}(e);return{plans:Go(e),siteRawUrl:vi(e),sitePlan:qo(e),userId:t,showBackups:qi(e),planDuration:di(e),plansUpgradeUrl:function(n){return Yi(e,\"plans-\".concat(n),t)},plansLearnMoreUpgradeUrl:Yi(e,\"plans-learn-more\",t),isFetchingData:Bo(e)}}),null)(Bf);var Hf=le((function(e){return{isFetchingSiteProducts:nc(e)}}),(function(e){return{fetchSiteProducts:function(){return e((function(e){return e({type:Zn}),Da.fetchSiteProducts().then((function(t){e({type:tr,siteProducts:t.data})})).catch((function(t){e({type:er,error:t})}))}))}}}))((function(e){return Object(s.useEffect)((function(){!e.isFetchingSiteProducts&&e.fetchSiteProducts()}),[]),null})),qf=function(e){var t=e.intro,n=e.label,r=e.onClick,i=e.primary,a=e.href;return o.a.createElement(\"div\",{className:\"product-card__action\"},t&&o.a.createElement(\"h4\",{className:\"product-card__action-intro\"},t),o.a.createElement(xc,{className:\"product-card__action-button\",href:a,onClick:r,primary:i,target:\"_blank\",rel:\"noopener noreferrer\"},n))};qf.propTypes={intro:u.a.oneOfType([u.a.string,u.a.node,u.a.element]),label:u.a.string.isRequired,onClick:u.a.func,href:u.a.string,primary:u.a.bool},qf.defaultProps={href:null,onClick:Dt.noop,primary:!0};var Kf=qf,Jf=n(111),Wf=n.n(Jf),Gf={AED:{symbol:\"د.إ.‏\",grouping:\",\",decimal:\".\",precision:2},AFN:{symbol:\"؋\",grouping:\",\",decimal:\".\",precision:2},ALL:{symbol:\"Lek\",grouping:\".\",decimal:\",\",precision:2},AMD:{symbol:\"֏\",grouping:\",\",decimal:\".\",precision:2},ANG:{symbol:\"ƒ\",grouping:\",\",decimal:\".\",precision:2},AOA:{symbol:\"Kz\",grouping:\",\",decimal:\".\",precision:2},ARS:{symbol:\"$\",grouping:\".\",decimal:\",\",precision:2},AUD:{symbol:\"A$\",grouping:\",\",decimal:\".\",precision:2},AWG:{symbol:\"ƒ\",grouping:\",\",decimal:\".\",precision:2},AZN:{symbol:\"₼\",grouping:\" \",decimal:\",\",precision:2},BAM:{symbol:\"КМ\",grouping:\".\",decimal:\",\",precision:2},BBD:{symbol:\"Bds$\",grouping:\",\",decimal:\".\",precision:2},BDT:{symbol:\"৳\",grouping:\",\",decimal:\".\",precision:0},BGN:{symbol:\"лв.\",grouping:\" \",decimal:\",\",precision:2},BHD:{symbol:\"د.ب.‏\",grouping:\",\",decimal:\".\",precision:3},BIF:{symbol:\"FBu\",grouping:\",\",decimal:\".\",precision:0},BMD:{symbol:\"$\",grouping:\",\",decimal:\".\",precision:2},BND:{symbol:\"$\",grouping:\".\",decimal:\",\",precision:0},BOB:{symbol:\"Bs\",grouping:\".\",decimal:\",\",precision:2},BRL:{symbol:\"R$\",grouping:\".\",decimal:\",\",precision:2},BSD:{symbol:\"$\",grouping:\",\",decimal:\".\",precision:2},BTC:{symbol:\"Ƀ\",grouping:\",\",decimal:\".\",precision:2},BTN:{symbol:\"Nu.\",grouping:\",\",decimal:\".\",precision:1},BWP:{symbol:\"P\",grouping:\",\",decimal:\".\",precision:2},BYR:{symbol:\"р.\",grouping:\" \",decimal:\",\",precision:2},BZD:{symbol:\"BZ$\",grouping:\",\",decimal:\".\",precision:2},CAD:{symbol:\"C$\",grouping:\",\",decimal:\".\",precision:2},CDF:{symbol:\"FC\",grouping:\",\",decimal:\".\",precision:2},CHF:{symbol:\"CHF\",grouping:\"\'\",decimal:\".\",precision:2},CLP:{symbol:\"$\",grouping:\".\",decimal:\",\",precision:2},CNY:{symbol:\"¥\",grouping:\",\",decimal:\".\",precision:2},COP:{symbol:\"$\",grouping:\".\",decimal:\",\",precision:2},CRC:{symbol:\"₡\",grouping:\".\",decimal:\",\",precision:2},CUC:{symbol:\"CUC\",grouping:\",\",decimal:\".\",precision:2},CUP:{symbol:\"$MN\",grouping:\",\",decimal:\".\",precision:2},CVE:{symbol:\"$\",grouping:\",\",decimal:\".\",precision:2},CZK:{symbol:\"Kč\",grouping:\" \",decimal:\",\",precision:2},DJF:{symbol:\"Fdj\",grouping:\",\",decimal:\".\",precision:0},DKK:{symbol:\"kr.\",grouping:\"\",decimal:\",\",precision:2},DOP:{symbol:\"RD$\",grouping:\",\",decimal:\".\",precision:2},DZD:{symbol:\"د.ج.‏\",grouping:\",\",decimal:\".\",precision:2},EGP:{symbol:\"ج.م.‏\",grouping:\",\",decimal:\".\",precision:2},ERN:{symbol:\"Nfk\",grouping:\",\",decimal:\".\",precision:2},ETB:{symbol:\"ETB\",grouping:\",\",decimal:\".\",precision:2},EUR:{symbol:\"€\",grouping:\".\",decimal:\",\",precision:2},FJD:{symbol:\"FJ$\",grouping:\",\",decimal:\".\",precision:2},FKP:{symbol:\"£\",grouping:\",\",decimal:\".\",precision:2},GBP:{symbol:\"£\",grouping:\",\",decimal:\".\",precision:2},GEL:{symbol:\"Lari\",grouping:\" \",decimal:\",\",precision:2},GHS:{symbol:\"₵\",grouping:\",\",decimal:\".\",precision:2},GIP:{symbol:\"£\",grouping:\",\",decimal:\".\",precision:2},GMD:{symbol:\"D\",grouping:\",\",decimal:\".\",precision:2},GNF:{symbol:\"FG\",grouping:\",\",decimal:\".\",precision:0},GTQ:{symbol:\"Q\",grouping:\",\",decimal:\".\",precision:2},GYD:{symbol:\"G$\",grouping:\",\",decimal:\".\",precision:2},HKD:{symbol:\"HK$\",grouping:\",\",decimal:\".\",precision:2},HNL:{symbol:\"L.\",grouping:\",\",decimal:\".\",precision:2},HRK:{symbol:\"kn\",grouping:\".\",decimal:\",\",precision:2},HTG:{symbol:\"G\",grouping:\",\",decimal:\".\",precision:2},HUF:{symbol:\"Ft\",grouping:\".\",decimal:\",\",precision:0},IDR:{symbol:\"Rp\",grouping:\".\",decimal:\",\",precision:0},ILS:{symbol:\"₪\",grouping:\",\",decimal:\".\",precision:2},INR:{symbol:\"₹\",grouping:\",\",decimal:\".\",precision:2},IQD:{symbol:\"د.ع.‏\",grouping:\",\",decimal:\".\",precision:2},IRR:{symbol:\"﷼\",grouping:\",\",decimal:\"/\",precision:2},ISK:{symbol:\"kr.\",grouping:\".\",decimal:\",\",precision:0},JMD:{symbol:\"J$\",grouping:\",\",decimal:\".\",precision:2},JOD:{symbol:\"د.ا.‏\",grouping:\",\",decimal:\".\",precision:3},JPY:{symbol:\"¥\",grouping:\",\",decimal:\".\",precision:0},KES:{symbol:\"S\",grouping:\",\",decimal:\".\",precision:2},KGS:{symbol:\"сом\",grouping:\" \",decimal:\"-\",precision:2},KHR:{symbol:\"៛\",grouping:\",\",decimal:\".\",precision:0},KMF:{symbol:\"CF\",grouping:\",\",decimal:\".\",precision:2},KPW:{symbol:\"₩\",grouping:\",\",decimal:\".\",precision:0},KRW:{symbol:\"₩\",grouping:\",\",decimal:\".\",precision:0},KWD:{symbol:\"د.ك.‏\",grouping:\",\",decimal:\".\",precision:3},KYD:{symbol:\"$\",grouping:\",\",decimal:\".\",precision:2},KZT:{symbol:\"₸\",grouping:\" \",decimal:\"-\",precision:2},LAK:{symbol:\"₭\",grouping:\",\",decimal:\".\",precision:0},LBP:{symbol:\"ل.ل.‏\",grouping:\",\",decimal:\".\",precision:2},LKR:{symbol:\"₨\",grouping:\",\",decimal:\".\",precision:0},LRD:{symbol:\"L$\",grouping:\",\",decimal:\".\",precision:2},LSL:{symbol:\"M\",grouping:\",\",decimal:\".\",precision:2},LYD:{symbol:\"د.ل.‏\",grouping:\",\",decimal:\".\",precision:3},MAD:{symbol:\"د.م.‏\",grouping:\",\",decimal:\".\",precision:2},MDL:{symbol:\"lei\",grouping:\",\",decimal:\".\",precision:2},MGA:{symbol:\"Ar\",grouping:\",\",decimal:\".\",precision:0},MKD:{symbol:\"ден.\",grouping:\".\",decimal:\",\",precision:2},MMK:{symbol:\"K\",grouping:\",\",decimal:\".\",precision:2},MNT:{symbol:\"₮\",grouping:\" \",decimal:\",\",precision:2},MOP:{symbol:\"MOP$\",grouping:\",\",decimal:\".\",precision:2},MRO:{symbol:\"UM\",grouping:\",\",decimal:\".\",precision:2},MTL:{symbol:\"₤\",grouping:\",\",decimal:\".\",precision:2},MUR:{symbol:\"₨\",grouping:\",\",decimal:\".\",precision:2},MVR:{symbol:\"MVR\",grouping:\",\",decimal:\".\",precision:1},MWK:{symbol:\"MK\",grouping:\",\",decimal:\".\",precision:2},MXN:{symbol:\"MX$\",grouping:\",\",decimal:\".\",precision:2},MYR:{symbol:\"RM\",grouping:\",\",decimal:\".\",precision:2},MZN:{symbol:\"MT\",grouping:\",\",decimal:\".\",precision:0},NAD:{symbol:\"N$\",grouping:\",\",decimal:\".\",precision:2},NGN:{symbol:\"₦\",grouping:\",\",decimal:\".\",precision:2},NIO:{symbol:\"C$\",grouping:\",\",decimal:\".\",precision:2},NOK:{symbol:\"kr\",grouping:\" \",decimal:\",\",precision:2},NPR:{symbol:\"₨\",grouping:\",\",decimal:\".\",precision:2},NZD:{symbol:\"NZ$\",grouping:\",\",decimal:\".\",precision:2},OMR:{symbol:\"﷼\",grouping:\",\",decimal:\".\",precision:3},PAB:{symbol:\"B/.\",grouping:\",\",decimal:\".\",precision:2},PEN:{symbol:\"S/.\",grouping:\",\",decimal:\".\",precision:2},PGK:{symbol:\"K\",grouping:\",\",decimal:\".\",precision:2},PHP:{symbol:\"₱\",grouping:\",\",decimal:\".\",precision:2},PKR:{symbol:\"₨\",grouping:\",\",decimal:\".\",precision:2},PLN:{symbol:\"zł\",grouping:\" \",decimal:\",\",precision:2},PYG:{symbol:\"₲\",grouping:\".\",decimal:\",\",precision:2},QAR:{symbol:\"﷼\",grouping:\",\",decimal:\".\",precision:2},RON:{symbol:\"lei\",grouping:\".\",decimal:\",\",precision:2},RSD:{symbol:\"Дин.\",grouping:\".\",decimal:\",\",precision:2},RUB:{symbol:\"₽\",grouping:\" \",decimal:\",\",precision:2},RWF:{symbol:\"RWF\",grouping:\" \",decimal:\",\",precision:2},SAR:{symbol:\"﷼\",grouping:\",\",decimal:\".\",precision:2},SBD:{symbol:\"S$\",grouping:\",\",decimal:\".\",precision:2},SCR:{symbol:\"₨\",grouping:\",\",decimal:\".\",precision:2},SDD:{symbol:\"LSd\",grouping:\",\",decimal:\".\",precision:2},SDG:{symbol:\"£‏\",grouping:\",\",decimal:\".\",precision:2},SEK:{symbol:\"kr\",grouping:\",\",decimal:\".\",precision:2},SGD:{symbol:\"S$\",grouping:\",\",decimal:\".\",precision:2},SHP:{symbol:\"£\",grouping:\",\",decimal:\".\",precision:2},SLL:{symbol:\"Le\",grouping:\",\",decimal:\".\",precision:2},SOS:{symbol:\"S\",grouping:\",\",decimal:\".\",precision:2},SRD:{symbol:\"$\",grouping:\",\",decimal:\".\",precision:2},STD:{symbol:\"Db\",grouping:\",\",decimal:\".\",precision:2},SVC:{symbol:\"₡\",grouping:\",\",decimal:\".\",precision:2},SYP:{symbol:\"£\",grouping:\",\",decimal:\".\",precision:2},SZL:{symbol:\"E\",grouping:\",\",decimal:\".\",precision:2},THB:{symbol:\"฿\",grouping:\",\",decimal:\".\",precision:2},TJS:{symbol:\"TJS\",grouping:\" \",decimal:\";\",precision:2},TMT:{symbol:\"m\",grouping:\" \",decimal:\",\",precision:0},TND:{symbol:\"د.ت.‏\",grouping:\",\",decimal:\".\",precision:3},TOP:{symbol:\"T$\",grouping:\",\",decimal:\".\",precision:2},TRY:{symbol:\"TL\",grouping:\".\",decimal:\",\",precision:2},TTD:{symbol:\"TT$\",grouping:\",\",decimal:\".\",precision:2},TVD:{symbol:\"$T\",grouping:\",\",decimal:\".\",precision:2},TWD:{symbol:\"NT$\",grouping:\",\",decimal:\".\",precision:2},TZS:{symbol:\"TSh\",grouping:\",\",decimal:\".\",precision:2},UAH:{symbol:\"₴\",grouping:\" \",decimal:\",\",precision:2},UGX:{symbol:\"USh\",grouping:\",\",decimal:\".\",precision:2},USD:{symbol:\"$\",grouping:\",\",decimal:\".\",precision:2},UYU:{symbol:\"$U\",grouping:\".\",decimal:\",\",precision:2},UZS:{symbol:\"сўм\",grouping:\" \",decimal:\",\",precision:2},VEB:{symbol:\"Bs.\",grouping:\",\",decimal:\".\",precision:2},VEF:{symbol:\"Bs. F.\",grouping:\".\",decimal:\",\",precision:2},VND:{symbol:\"₫\",grouping:\".\",decimal:\",\",precision:1},VUV:{symbol:\"VT\",grouping:\",\",decimal:\".\",precision:0},WST:{symbol:\"WS$\",grouping:\",\",decimal:\".\",precision:2},XAF:{symbol:\"F\",grouping:\",\",decimal:\".\",precision:2},XCD:{symbol:\"$\",grouping:\",\",decimal:\".\",precision:2},XOF:{symbol:\"F\",grouping:\" \",decimal:\",\",precision:2},XPF:{symbol:\"F\",grouping:\",\",decimal:\".\",precision:2},YER:{symbol:\"﷼\",grouping:\",\",decimal:\".\",precision:2},ZAR:{symbol:\"R\",grouping:\" \",decimal:\",\",precision:2},ZMW:{symbol:\"ZK\",grouping:\",\",decimal:\".\",precision:2},WON:{symbol:\"₩\",grouping:\",\",decimal:\".\",precision:2}};function Yf(e){return Gf[e]||{symbol:\"$\",grouping:\",\",decimal:\".\",precision:2}}function $f(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=Yf(t);if(!r||isNaN(e))return null;var i=Wf()({},r,n),a=i.decimal,s=i.grouping,o=i.precision,c=i.symbol,l=e<0?\"-\":\"\",u=Math.abs(e),p=Math.floor(u),d=Rs(p,{decimals:0,thousandsSep:s,decPoint:a}),h=o>0?Rs(u-p,{decimals:o,thousandsSep:s,decPoint:a}).slice(1):\"\";return{sign:l,symbol:c,integer:d,fraction:h}}n(381);var Xf=function(e){function t(){return _a()(this,t),ka()(this,Ca()(t).apply(this,arguments))}return Ma()(t,e),As()(t,[{key:\"getPriceRange\",value:function(){var e,t=this.props,n=t.currencyCode,r=t.rawPrice;if(Array.isArray(r)){var i=r.filter((function(e){return e>=0}));e=[Math.min.apply(Math,Ht()(i)),Math.max.apply(Math,Ht()(i))]}else e=[r];return e.map((function(e){return{price:$f(e,n),raw:e}}))}},{key:\"renderPrice\",value:function(e){return o.a.createElement(o.a.Fragment,null,o.a.createElement(\"span\",{className:\"plan-price__integer\"},e.price.integer),o.a.createElement(\"sup\",{className:\"plan-price__fraction\"},e.raw-e.price.integer>0&&e.price.fraction))}},{key:\"renderContent\",value:function(){var e=this.getPriceRange(),t=this.renderPrice(e[0]),n=e[1]&&this.renderPrice(e[1]);return o.a.createElement(o.a.Fragment,null,o.a.createElement(\"sup\",{className:\"plan-price__currency-symbol\"},e[0].price.symbol),n?Us(\"{{smallerPrice/}}-{{higherPrice/}}\",{components:{smallerPrice:t,higherPrice:n},comment:\"The price range for a particular product\"}):t)}},{key:\"render\",value:function(){var e=this.props,t=e.className,n=e.discounted,r=e.inline,i=e.original;if(void 0===e.rawPrice)return null;var a=r?\"span\":\"div\",s=Mc()(\"plan-price\",t,{\"is-discounted\":n,\"is-inline\":r,\"is-original\":i});return o.a.createElement(a,{className:s},this.renderContent())}}]),t}(s.Component),Qf=Xf;Xf.propTypes={className:u.a.string,currencyCode:u.a.string,discounted:u.a.bool,inline:u.a.bool,original:u.a.bool,rawPrice:u.a.oneOfType([u.a.number,u.a.arrayOf(u.a.number)])},Xf.defaultProps={className:\"\",currencyCode:\"USD\",discounted:!1,original:!1};var Zf=function(e){var t=e.billingTimeFrame,n=e.currencyCode,r=e.discountedPrice,i=e.fullPrice,a=!!r,s=Mc()(\"product-card__price-group\",{\"is-discounted\":a});return o.a.createElement(\"div\",{className:s},o.a.createElement(Qf,{currencyCode:n,rawPrice:i,original:a}),a&&o.a.createElement(Qf,{currencyCode:n,rawPrice:r,discounted:!0}),o.a.createElement(\"div\",{className:\"product-card__billing-timeframe\"},t))};Zf.propTypes={billingTimeFrame:u.a.string,currencyCode:u.a.string,discountedPrice:u.a.oneOfType([u.a.number,u.a.arrayOf(u.a.number)]),fullPrice:u.a.oneOfType([u.a.number,u.a.arrayOf(u.a.number)])};var em=Zf,tm=(n(382),function(e){function t(){return _a()(this,t),ka()(this,Ca()(t).apply(this,arguments))}return Ma()(t,e),As()(t,[{key:\"getManagePurchaseLink\",value:function(e,t){return Vl(\"calypso-me-purchases\",{site:e,path:t})}},{key:\"handleManagePurchase\",value:function(e){return function(){Uc.tracks.recordJetpackClick({target:\"product-card-manage-purchase\",feature:e})}}},{key:\"render\",value:function(){var e=this.props,t=e.billingTimeFrame,n=e.children,r=e.currencyCode,i=e.description,a=e.discountedPrice,s=e.fullPrice,c=e.isCurrent,l=e.isPlaceholder,u=e.purchase,p=e.subtitle,d=e.title,h=e.translate,f=Mc()(\"single-product__accented-card\",{\"is-placeholder\":l,\"is-purchased\":!!u});return o.a.createElement(Dl,{className:f},o.a.createElement(\"div\",{className:\"single-product__accented-card-header\"},d&&o.a.createElement(\"div\",{className:\"single-product__accented-card-header-primary\"},u&&o.a.createElement(ml,{icon:\"checkmark\",size:18}),o.a.createElement(\"h3\",{className:\"single-product-backup__header-title\"},d))),o.a.createElement(\"div\",{className:\"single-product__accented-card-body\"},i&&o.a.createElement(\"p\",null,i),u&&c&&o.a.createElement(Kf,{onClick:this.handleManagePurchase(u.product_slug),href:this.getManagePurchaseLink(u.domain,u.ID),label:h(\"Manage Subscription\"),primary:!1}),p&&o.a.createElement(\"div\",{className:\"product-card__subtitle\"},p),!u&&o.a.createElement(em,{billingTimeFrame:t,currencyCode:r,discountedPrice:a,fullPrice:s})),n)}}]),t}(s.Component));ha()(tm,\"propTypes\",{billingTimeFrame:u.a.string,currencyCode:u.a.string,description:u.a.oneOfType([u.a.string,u.a.element,u.a.node]),discountedPrice:u.a.oneOfType([u.a.number,u.a.arrayOf(u.a.number)]),fullPrice:u.a.oneOfType([u.a.number,u.a.arrayOf(u.a.number)]),isCurrent:u.a.bool,isPlaceholder:u.a.bool,purchase:u.a.object,subtitle:u.a.oneOfType([u.a.string,u.a.element,u.a.node]),title:u.a.oneOfType([u.a.string,u.a.element,u.a.node])});var nm=Ls(tm);function rm(e){var t=e.purchase,n=e.siteRawlUrl;if(!t||!n)return null;var r=Lo(t.product_slug),i=o.a.createElement(vf,{expiryDate:t.expiry_date,purchaseDate:t.subscribed_date,isRefundable:t.is_refundable}),a=o.a.createElement(\"a\",{href:Vl(\"calypso-plans-my-plan\",{site:n}),target:\"_blank\",rel:\"noopener noreferrer\"}),s={purchase:t,isCurrent:!0};switch(r){case\"is-search-plan\":s=Ms()({title:dp,subtitle:i,description:hp},s);case\"is-daily-backup-plan\":s=Ms()({title:up,subtitle:i,description:cp},s);case\"is-realtime-backup-plan\":s=Ms()({title:pp,subtitle:i,description:lp},s);case\"is-personal-plan\":s=Ms()({title:up,subtitle:Us(\"Included in your {{planLink}}Personal Plan{{/planLink}}\",{components:{planLink:a}}),description:cp},s);case\"is-premium-plan\":s=Ms()({title:up,subtitle:Us(\"Included in your {{planLink}}Premium Plan{{/planLink}}\",{components:{planLink:a}}),description:cp},s);case\"is-business-plan\":s=Ms()({title:pp,subtitle:Us(\"Included in your {{planLink}}Professional Plan{{/planLink}}\",{components:{planLink:a}}),description:lp},s)}return o.a.createElement(nm,s)}function im(e){var t=e.billingTimeFrame,n=e.currencyCode,r=e.discountedPrice,i=e.fullPrice;return o.a.createElement(\"div\",{className:\"single-product-backup__price-group\"},r?o.a.createElement(o.a.Fragment,null,o.a.createElement(Qf,{currencyCode:n,rawPrice:i,original:!0}),o.a.createElement(Qf,{currencyCode:n,rawPrice:r,discounted:!0})):o.a.createElement(Qf,{currencyCode:n,rawPrice:i}),o.a.createElement(\"div\",{className:\"single-product-backup__price-group-billing-timeframe\"},function(e){return\"yearly\"===e?Us(\"per year\",{comment:\"Duration of product subscription timeframe.\"}):\"monthly\"===e?Us(\"per month\",{comment:\"Duration of product subscription timeframe.\"}):\"\"}(t)))}n(383);function am(e){return o.a.createElement(\"label\",{className:\"plan-radio-button\"},o.a.createElement(\"input\",{type:\"radio\",className:\"plan-radio-button__input\",value:e.radioValue,checked:e.checked,onChange:e.onChange?e.onChange:null}),o.a.createElement(\"div\",{className:\"plan-radio-button__label\"},o.a.createElement(\"span\",{className:\"plan-radio-button__title\"},e.planName),o.a.createElement(im,{billingTimeFrame:e.billingTimeFrame,currencyCode:e.currencyCode,discountedPrice:e.discountedPrice,fullPrice:e.fullPrice})))}n(384);function sm(e){var t=e.billingTimeframe,n=void 0===t?\"yearly\":t,r=e.potentialSavings,i=e.currencyCode;if(!r)return null;var a=o.a.createElement(Qf,{className:\"single-product__annual-savings\",rawPrice:r,currencyCode:i,inline:!0});return o.a.createElement(\"p\",{className:\"single-product__savings\"},Us(\"monthly\"===n?\"You would save {{savings /}} by paying yearly\":\"You are saving {{savings /}} by paying yearly\",{components:{savings:a}}))}function om(e){var t=e.selectedUpgrade,n=e.onClickHandler;if(!t)return null;var r=t.link,i=t.name,a=t.type;return o.a.createElement(\"div\",{className:\"single-product-backup__upgrade-button-container\"},o.a.createElement(xc,{href:r,onClick:n(a),primary:!0},Us(\"Upgrade to %(name)s\",{args:{name:i},comment:\"Button to purchase product upgrade. %(name)s is the product name.\"})))}n(385);function cm(){return o.a.createElement(\"div\",{className:\"single-product-backup__promo\"},o.a.createElement(\"div\",{className:\"single-product-backup__promo-star\"},Us(\"Up to %(percent)d%% off!\",{args:{percent:70}})),o.a.createElement(\"h4\",{className:\"single-product-backup__promo-header\"},Us(\"Hurry, these are {{s}}Limited time introductory prices!{{/s}}\",{components:{s:o.a.createElement(\"strong\",null)}})))}var lm=function(e){function t(){var e,n;_a()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=ka()(this,(e=Ca()(t)).call.apply(e,[this].concat(i))),ha()(Os()(n),\"handleSelectedBackupTypeChange\",(function(e){n.props.setSelectedBackupType(e.target.value)})),ha()(Os()(n),\"handleUpgradeButtonClick\",(function(e){return function(){Uc.tracks.recordJetpackClick({target:\"upgrade-\".concat(e),type:\"upgrade\",product:e,page:n.props.routes[0]&&n.props.routes[0].name})}})),ha()(Os()(n),\"handleLandingPageLinkClick\",(function(){var e=n.props,t=e.selectedBackupType;\"monthly\"===e.billingTimeFrame&&(t+=\"-monthly\"),Uc.tracks.recordJetpackClick({target:\"landing-page-link\",feature:\"single-product-backup\",extra:t})})),n}return Ma()(t,e),As()(t,[{key:\"render\",value:function(){var e=this,t=this.props,n=t.backupInfoUrl,r=t.backupOptions,i=t.billingTimeFrame,a=t.currencyCode,s=t.selectedBackupType,c=r.find((function(e){return e.type===s}));return o.a.createElement(o.a.Fragment,null,o.a.createElement(\"div\",{className:\"single-product__description\"},cp),o.a.createElement(\"div\",{className:\"single-product__landing-page\"},o.a.createElement(Xu,{className:\"single-product__landing-page\",target:\"_blank\",href:n,icon:!0,iconSize:12,onClick:this.handleLandingPageLinkClick},Us(\"Which backup option is best for me?\"))),o.a.createElement(cm,null),o.a.createElement(\"h4\",{className:\"single-product-backup__options-header\"},Us(\"Select a backup option:\")),o.a.createElement(\"div\",{className:\"single-product-backup__radio-buttons-container\"},r.map((function(t){return o.a.createElement(am,{key:t.type,billingTimeFrame:i,checked:t.type===s,currencyCode:a,fullPrice:t.fullPrice,discountedPrice:t.discountedPrice,onChange:e.handleSelectedBackupTypeChange,radioValue:t.type,planName:t.name})}))),o.a.createElement(sm,{billingTimeFrame:i,currencyCode:a,potentialSavings:c.potentialSavings}),o.a.createElement(om,{selectedUpgrade:c,onClickHandler:this.handleUpgradeButtonClick}))}}]),t}(o.a.Component);ha()(lm,\"propTypes\",{backupOptions:u.a.array,billingTimeFrame:u.a.string,currencyCode:u.a.string,setSelectedBackupType:u.a.func,selectedBackupType:u.a.string});var um=bt(lm);var pm=le((function(e){return{planDuration:di(e),backupInfoUrl:Yi(e,\"aag-backups\"),upgradeLinkDaily:Yi(e,\"jetpack-backup-daily\",\"\",!0),upgradeLinkRealtime:Yi(e,\"jetpack-backup-realtime\",\"\",!0)}}))((function(e){var t=e.products,n=e.backupInfoUrl,r=e.upgradeLinkDaily,i=e.upgradeLinkRealtime,a=e.selectedBackupType,c=e.setSelectedBackupType,l=e.planDuration,u=Object(Dt.get)(t,[\"jetpack_backup_daily\",\"currency_code\"],\"\"),p=Object(s.useMemo)((function(){return function(e){var t=e.products,n=e.upgradeLinkDaily,r=e.upgradeLinkRealtime,i=e.planDuration,a=Object(Dt.get)(t,[\"jetpack_backup_daily_monthly\",\"cost\"],\"\"),s=Object(Dt.get)(t,[\"jetpack_backup_realtime_monthly\",\"cost\"],\"\"),o=Object(Dt.get)(t,[\"jetpack_backup_daily\",\"cost\"],\"\"),c=\"\"===a?\"\":12*a,l=Object(Dt.get)(t,[\"jetpack_backup_realtime\",\"cost\"],\"\"),u=\"\"===s?\"\":12*s;return\"yearly\"===i?[{type:\"daily\",name:Us(\"Daily Backups\"),link:n,discountedPrice:o,fullPrice:c,potentialSavings:c&&o?c-o:null},{type:\"real-time\",name:Us(\"Real-Time Backups\"),link:r,discountedPrice:l,fullPrice:u,potentialSavings:u&&l?u-l:null}]:[{type:\"daily\",name:Us(\"Daily Backups\"),link:n,fullPrice:a},{type:\"real-time\",name:Us(\"Real-Time Backups\"),link:r,fullPrice:s}]}({products:t,upgradeLinkDaily:r,upgradeLinkRealtime:i,planDuration:l})}),[t,r,i,l]);return e.isFetching?o.a.createElement(\"div\",{className:\"plans-section__single-product-skeleton is-placeholder\"}):o.a.createElement(\"div\",{className:\"single-product__accented-card dops-card\"},o.a.createElement(\"div\",{className:\"single-product__accented-card-header\"},o.a.createElement(\"h3\",{className:\"single-product-backup__header-title\"},op)),o.a.createElement(\"div\",{className:\"single-product__accented-card-body\"},o.a.createElement(um,{billingTimeFrame:l,currencyCode:u,backupOptions:p,backupInfoUrl:n,selectedBackupType:a,setSelectedBackupType:c})))}));function dm(e,t){switch(e){case\"up_to_100_records\":return Us(\"Up to 100 records\");case\"up_to_1k_records\":return Us(\"Up to 1,000 records\");case\"up_to_10k_records\":return Us(\"Up to 10,000 records\");case\"up_to_100k_records\":return Us(\"Up to 100,000 records\");case\"up_to_1m_records\":return Us(\"Up to 1,000,000 records\");case\"more_than_1m_records\":var n=1e6*Math.ceil(t/1e6);return Us(\"Up to %(tierMaximumRecords)s records\",{args:{tierMaximumRecords:Rs(n)}});default:return null}}var hm=le((function(e){return{planDuration:di(e),searchInfoUrl:Yi(e,\"aag-search\"),searchUpgradeMonthlyUrl:Yi(e,\"jetpack-search-monthly\"),searchUpgradeUrl:Yi(e,\"jetpack-search\")}}))((function(e){var t=e.planDuration,n=e.siteProducts,r=Object(Dt.get)(n,\"jetpack_search.currency_code\",\"\"),i=Object(Dt.get)(n,\"jetpack_search_monthly.cost\",\"\"),a=Object(Dt.get)(n,\"jetpack_search.cost\",\"\"),s=Object(Dt.get)(n,\"jetpack_search.price_tier_usage_quantity\",\"0\"),c=function(e){return function(){Uc.tracks.recordJetpackClick({target:\"landing-page-link\",feature:\"single-product-search\",extra:e})}}(s);return e.isFetching?o.a.createElement(\"div\",{className:\"plans-section__single-product-skeleton is-placeholder\"}):o.a.createElement(\"div\",{className:\"single-product__accented-card dops-card\"},o.a.createElement(\"div\",{className:\"single-product__accented-card-header\"},o.a.createElement(\"h3\",{className:\"single-product-backup__header-title\"},dp)),o.a.createElement(\"div\",{className:\"single-product__accented-card-body\"},o.a.createElement(\"div\",{className:\"single-product__description\"},hp),o.a.createElement(\"div\",{className:\"single-product__landing-page\"},o.a.createElement(Xu,{target:\"_blank\",href:e.searchInfoUrl,icon:!0,iconSize:12,onClick:c},Us(\"Learn more\"))),o.a.createElement(\"h4\",{className:\"single-product-backup__options-header\"},Us(\"Your current site record size: %s record\",\"Your current site record size: %s records\",{args:Rs(s),count:s}),o.a.createElement($u,{position:\"right\"},Us(\"Records are all posts, pages, custom post types, and other types of content indexed by Jetpack Search.\"))),o.a.createElement(\"div\",{className:\"single-product-search__radio-buttons-container\"},o.a.createElement(am,{billingTimeFrame:t,checked:!0,currencyCode:r,fullPrice:\"yearly\"===t?a:i,planName:dm(Object(Dt.get)(e.siteProducts,\"jetpack_search.price_tier_slug\"),s),radioValue:t})),o.a.createElement(sm,{billingTimeframe:t,currencyCode:r,potentialSavings:12*i-a}),o.a.createElement(\"div\",{className:\"single-product-search__upgrade-button-container\"},o.a.createElement(xc,{href:\"yearly\"===t?e.searchUpgradeUrl:e.searchUpgradeMonthlyUrl,primary:!0},Us(\"Upgrade to Jetpack Search\")))))})),fm=(n(386),function(e){function t(){var e,n;_a()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=ka()(this,(e=Ca()(t)).call.apply(e,[this].concat(i))),ha()(Os()(n),\"state\",{selectedBackupType:\"real-time\"}),ha()(Os()(n),\"setSelectedBackupType\",(function(e){n.setState({selectedBackupType:e})})),n}return Ma()(t,e),As()(t,[{key:\"findPrioritizedPurchaseForBackup\",value:function(){for(var e=this,t=function(){var t=r[n],i=e.props.activeSitePurchases.find((function(e){return Lo(e.product_slug)===t}));if(void 0!==i)return{v:i}},n=0,r=[\"is-business-plan\",\"is-realtime-backup-plan\",\"is-premium-plan\",\"is-personal-plan\",\"is-daily-backup-plan\"];n<r.length;n++){var i=t();if(\"object\"==typeof i)return i.v}return!1}},{key:\"renderTitleSection\",value:function(){return o.a.createElement(s.Fragment,null,o.a.createElement(\"h1\",{className:\"plans-section__header\"},Us(\"Solutions\")),o.a.createElement(\"h2\",{className:\"plans-section__subheader\"},Us(\"Looking for specific features? We\'ve got you covered.\")))}},{key:\"renderBackupProduct\",value:function(){if(this.props.multisite)return null;var e=this.findPrioritizedPurchaseForBackup();if(e)return o.a.createElement(rm,{purchase:e,siteRawlUrl:this.props.siteRawlUrl});var t=Object(Dt.get)(this.props.sitePlan,\"product_slug\");return this.props.isFetchingData||\"jetpack_free\"===t?o.a.createElement(pm,{isFetching:this.props.isFetchingData,products:this.props.siteProducts,selectedBackupType:this.state.selectedBackupType,setSelectedBackupType:this.setSelectedBackupType}):null}},{key:\"renderSearchProduct\",value:function(){return this.props.searchPurchase?o.a.createElement(rm,{purchase:this.props.searchPurchase,siteRawlUrl:this.props.siteRawlUrl}):o.a.createElement(hm,{isFetching:this.props.isFetchingData,searchPurchase:this.props.searchPurchase,siteProducts:this.props.siteProducts})}},{key:\"render\",value:function(){return o.a.createElement(\"div\",{className:\"product-selector\"},o.a.createElement(Hf,null),this.renderTitleSection(),o.a.createElement(zf,{type:\"solutions\"}),o.a.createElement(\"div\",{className:\"plans-section__single-product plans-section__single-product--with-search\"},this.renderBackupProduct(),this.renderSearchProduct()))}}]),t}(s.Component)),mm=le((function(e){return{activeSitePurchases:$o(e),isFetchingData:Bo(e)||!Go(e)||nc(e),planDuration:di(e),multisite:Ji(e),searchPurchase:Qo(e),sitePlan:qo(e),siteProducts:rc(e),siteRawlUrl:vi(e)}}))(fm);function gm(){return o.a.createElement(s.Fragment,null,o.a.createElement(zl,null),o.a.createElement(Vf,null),o.a.createElement(mm,null))}var vm=function(e){function t(){return _a()(this,t),ka()(this,Ca()(t).apply(this,arguments))}return Ma()(t,e),As()(t,[{key:\"trackStartWithFreeClick\",value:function(){Uc.tracks.recordJetpackClick({target:\"free-plan\",feature:\"plans-prompt\"})}},{key:\"renderBanner\",value:function(){return o.a.createElement(\"div\",{className:\"plans-prompt__banner\"},o.a.createElement(Hc,{className:\"plans-prompt__logo\"}),o.a.createElement(\"h2\",{className:\"plans-prompt__heading\"},Us(\"Explore our Jetpack plans\")),o.a.createElement(\"p\",{className:\"plans-prompt__intro\"},Us(\"Now that you\'re set up, pick a plan that fits your needs.\")))}},{key:\"renderFooter\",value:function(){return this.props.plans?o.a.createElement(\"div\",{className:\"plans-prompt__footer\"},o.a.createElement(xc,{href:this.props.siteAdminUrl+\"admin.php?page=jetpack\",onClick:this.trackStartWithFreeClick},Us(\"Start with free\"),o.a.createElement(ml,{icon:\"arrow-right\",size:18}))):null}},{key:\"render\",value:function(){return o.a.createElement(\"div\",{className:\"plans-prompt\"},this.renderBanner(),o.a.createElement(gm,null),this.renderFooter())}}]),t}(o.a.Component),bm=le((function(e){return{plans:Go(e)}}))(vm),ym={currentUser:{isMaster:!0,permissions:{admin_page:!0,connect:!0,disconnect:!0,edit_posts:!0,manage_modules:!0,manage_options:!0,manage_plugins:!0}}},_m={currentUser:{isMaster:!1,permissions:{admin_page:!0,connect:!0,disconnect:!0,edit_posts:!0,manage_modules:!0,manage_options:!0,manage_plugins:!0}}},wm={currentUser:{isMaster:!1,permissions:{admin_page:!0,connect:!1,disconnect:!1,edit_posts:!0,manage_modules:!1,manage_options:!1,manage_plugins:!1}}},km={currentUser:{isMaster:!1,permissions:{admin_page:!0,connect:!1,disconnect:!1,edit_posts:!1,manage_modules:!1,manage_options:!1,manage_plugins:!1}}},Em={currentUser:{permissions:{view_stats:!0}}},Cm={currentUser:{permissions:{view_stats:!1}}},Sm={currentUser:{isConnected:!0}},Mm={currentUser:{isConnected:!1}},xm=function(e){function t(){var e,n;_a()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=ka()(this,(e=Ca()(t)).call.apply(e,[this].concat(i))),ha()(Os()(n),\"onPlanChange\",(function(e){n.props.switchPlanPreview(e.target.value)})),ha()(Os()(n),\"onPermissionsChange\",(function(e){n.props.switchUserPermissions(e.target.value)})),ha()(Os()(n),\"onThreatsChange\",(function(e){n.props.switchThreats(e.target.value)})),ha()(Os()(n),\"onRewindStatusChange\",(function(e){n.props.switchRewindState(e.target.value)})),ha()(Os()(n),\"maybeShowStatsToggle\",(function(){if(!n.props.isAdmin)return o.a.createElement(\"div\",null,o.a.createElement(\"hr\",null),o.a.createElement(\"ul\",null,o.a.createElement(\"li\",null,o.a.createElement(\"label\",{htmlFor:\"view_stats\"},o.a.createElement(\"input\",{type:\"radio\",id:\"view_stats\",value:\"view_stats\",name:\"view_stats\",checked:n.props.canViewStats,onChange:n.onPermissionsChange}),\"Can view stats\")),o.a.createElement(\"li\",null,o.a.createElement(\"label\",{htmlFor:\"hide_stats\"},o.a.createElement(\"input\",{type:\"radio\",id:\"hide_stats\",value:\"hide_stats\",name:\"hide_stats\",checked:!n.props.canViewStats,onChange:n.onPermissionsChange}),\"Can not view stats\"))))})),ha()(Os()(n),\"maybeShowIsLinkedToggle\",(function(){if(!n.props.isMaster)return o.a.createElement(\"div\",null,o.a.createElement(\"hr\",null),o.a.createElement(\"ul\",null,o.a.createElement(\"li\",null,o.a.createElement(\"label\",{htmlFor:\"is_linked\"},o.a.createElement(\"input\",{type:\"radio\",id:\"is_linked\",value:\"is_linked\",name:\"is_linked\",checked:n.props.isUserLinked,onChange:n.onPermissionsChange}),\"Linked\")),o.a.createElement(\"li\",null,o.a.createElement(\"label\",{htmlFor:\"is_unlinked\"},o.a.createElement(\"input\",{type:\"radio\",id:\"is_unlinked\",value:\"is_unlinked\",name:\"is_unlinked\",checked:!n.props.isUserLinked,onChange:n.onPermissionsChange}),\"Unlinked\"))))})),n}return Ma()(t,e),As()(t,[{key:\"render\",value:function(){if(!this.props.canDisplayDevCard)return null;var e=Mc()(this.props.className,\"jp-dev-card\"),t=Lo(this.props.sitePlan.product_slug),n=Object(Dt.get)(this.props.rewindStatus,[\"state\"],!1);return o.a.createElement(Dl,{compact:!0,className:e},o.a.createElement(\"a\",{className:\"jp-dev-card__close\",role:\"button\",tabIndex:\"0\",onKeyDown:Tu(this.props.disableDevCard),onClick:this.props.disableDevCard},\"x\"),o.a.createElement(\"div\",{className:\"jp-dev-card__heading\"},\"Dev Tools\"),o.a.createElement(\"ul\",null,o.a.createElement(\"li\",null,o.a.createElement(\"label\",{htmlFor:\"jetpack_free\"},o.a.createElement(\"input\",{type:\"radio\",id:\"jetpack_free\",value:\"jetpack_free\",name:\"jetpack_free\",checked:\"is-free-plan\"===t,onChange:this.onPlanChange}),\"Free\")),o.a.createElement(\"li\",null,o.a.createElement(\"label\",{htmlFor:\"jetpack_personal\"},o.a.createElement(\"input\",{type:\"radio\",id:\"jetpack_personal\",value:\"jetpack_personal\",name:\"jetpack_personal\",checked:\"is-personal-plan\"===t,onChange:this.onPlanChange}),\"Personal\")),o.a.createElement(\"li\",null,o.a.createElement(\"label\",{htmlFor:\"jetpack_premium\"},o.a.createElement(\"input\",{type:\"radio\",id:\"jetpack_premium\",value:\"jetpack_premium\",name:\"jetpack_premium\",checked:\"is-premium-plan\"===t,onChange:this.onPlanChange}),\"Premium\")),o.a.createElement(\"li\",null,o.a.createElement(\"label\",{htmlFor:\"jetpack_business\"},o.a.createElement(\"input\",{type:\"radio\",id:\"jetpack_business\",value:\"jetpack_business\",name:\"jetpack_business\",checked:\"is-business-plan\"===t,onChange:this.onPlanChange}),\"Pro\")),o.a.createElement(\"li\",null,o.a.createElement(\"label\",{htmlFor:\"jetpack_backup_daily\"},o.a.createElement(\"input\",{type:\"radio\",id:\"jetpack_backup_daily\",value:\"jetpack_backup_daily\",name:\"jetpack_backup_daily\",checked:\"is-daily-backup-plan\"===t,onChange:this.onPlanChange}),\"Jetpack Backup Daily\")),o.a.createElement(\"li\",null,o.a.createElement(\"label\",{htmlFor:\"jetpack_backup_realtime\"},o.a.createElement(\"input\",{type:\"radio\",id:\"jetpack_backup_realtime\",value:\"jetpack_backup_realtime\",name:\"jetpack_backup_realtime\",checked:\"is-realtime-backup-plan\"===t,onChange:this.onPlanChange}),\"Jetpack Backup Reatime\"))),o.a.createElement(\"hr\",null),o.a.createElement(\"ul\",null,o.a.createElement(\"li\",null,o.a.createElement(\"label\",{htmlFor:\"admin_master\"},o.a.createElement(\"input\",{type:\"radio\",id:\"admin_master\",value:\"admin_master\",name:\"admin_master\",checked:this.props.isMaster,onChange:this.onPermissionsChange}),\"Admin (master)\")),o.a.createElement(\"li\",null,o.a.createElement(\"label\",{htmlFor:\"admin_secondary\"},o.a.createElement(\"input\",{type:\"radio\",id:\"admin_secondary\",value:\"admin_secondary\",name:\"admin_secondary\",checked:this.props.isAdmin&&!this.props.isMaster,onChange:this.onPermissionsChange}),\"Admin (secondary)\")),o.a.createElement(\"li\",null,o.a.createElement(\"label\",{htmlFor:\"editor\"},o.a.createElement(\"input\",{type:\"radio\",id:\"editor\",value:\"editor\",name:\"editor\",checked:this.props.canEditPosts&&!this.props.isAdmin,onChange:this.onPermissionsChange}),\"Editor\")),o.a.createElement(\"li\",null,o.a.createElement(\"label\",{htmlFor:\"subscriber\"},o.a.createElement(\"input\",{type:\"radio\",id:\"subscriber\",value:\"subscriber\",name:\"subscriber\",checked:!this.props.canEditPosts&&!this.props.isAdmin,onChange:this.onPermissionsChange}),\"Subscriber\"))),o.a.createElement(\"hr\",null),o.a.createElement(\"ul\",null,o.a.createElement(\"li\",null,o.a.createElement(\"label\",{htmlFor:\"nothreats\"},o.a.createElement(\"input\",{type:\"radio\",id:\"nothreats\",value:0,name:\"nothreats\",checked:0===this.props.getVaultPressScanThreatCount(),onChange:this.onThreatsChange}),\"No threats\")),o.a.createElement(\"li\",null,o.a.createElement(\"label\",{htmlFor:\"threats\"},o.a.createElement(\"input\",{type:\"radio\",id:\"threats\",value:17,name:\"threats\",checked:0!==this.props.getVaultPressScanThreatCount(),onChange:this.onThreatsChange}),\"Threats\"))),o.a.createElement(\"hr\",null),o.a.createElement(\"ul\",null,o.a.createElement(\"strong\",null,\"Backup & Scan\"),o.a.createElement(\"li\",null,o.a.createElement(\"label\",{htmlFor:\"rewindUnavailable\"},o.a.createElement(\"input\",{type:\"radio\",id:\"rewindUnavailable\",value:\"unavailable\",name:\"unavailable\",checked:\"unavailable\"===n,onChange:this.onRewindStatusChange}),\"Unavailable\")),o.a.createElement(\"li\",null,o.a.createElement(\"label\",{htmlFor:\"rewindProvisioning\"},o.a.createElement(\"input\",{type:\"radio\",id:\"rewindProvisioning\",value:\"provisioning\",name:\"provisioning\",checked:\"provisioning\"===n,onChange:this.onRewindStatusChange}),\"Provisioning\")),o.a.createElement(\"li\",null,o.a.createElement(\"label\",{htmlFor:\"rewindAwatingCreds\"},o.a.createElement(\"input\",{type:\"radio\",id:\"rewindAwatingCreds\",value:\"awaiting_credentials\",name:\"awaiting_credentials\",checked:\"awaiting_credentials\"===n,onChange:this.onRewindStatusChange}),\"Awaiting credentials\")),o.a.createElement(\"li\",null,o.a.createElement(\"label\",{htmlFor:\"rewindActive\"},o.a.createElement(\"input\",{type:\"radio\",id:\"rewindActive\",value:\"active\",name:\"active\",checked:\"active\"===n,onChange:this.onRewindStatusChange}),\"Active\"))),this.maybeShowStatsToggle(),this.maybeShowIsLinkedToggle())}}]),t}(o.a.Component);ha()(xm,\"displayName\",\"DevCard\");var Am=le((function(e){return{isDevVersion:hi(e),sitePlan:qo(e),canDisplayDevCard:ao(e),isUserLinked:Xs(e),canViewStats:Pi(e),isMaster:Ai(e),isAdmin:Mi(e),canEditPosts:Si(e),getVaultPressScanThreatCount:function(){return ca(e)},rewindStatus:yo(e)}}),(function(e){return{switchPlanPreview:function(t){return e(function(e){return function(t){t({type:fr,siteData:{plan:{product_slug:e}}})}}(t))},switchUserPermissions:function(t){return e(function(e){var t={};return function(n){switch(e){case\"admin_master\":t=ym;break;case\"admin_secondary\":t=_m;break;case\"editor\":case\"contributor\":case\"author\":t=wm;break;case\"subscriber\":t=km;break;case\"view_stats\":t=Em;break;case\"hide_stats\":t=Cm;break;case\"is_linked\":t=Sm;break;case\"is_unlinked\":t=Mm}n({type:Kr,initialState:t})}}(t))},switchThreats:function(t){return e(function(e){return function(t){t({type:Jr,mockCount:e})}}(parseInt(t)))},disableDevCard:function(){return e((function(e){e({type:qr})}))},switchRewindState:function(t){return e((n=t,function(e){e({type:$r,rewindState:{state:n}})}));var n}}}))(xm),jm=function e(){var t=document.getElementById(\"jp-navigation\").offsetTop;window.scrollTo(0,window.scrollY-t/1.5),window.scrollY>t&&window.requestAnimationFrame(e)},Om=function(e){function t(){var e,n;_a()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=ka()(this,(e=Ca()(t)).call.apply(e,[this].concat(i))),ha()(Os()(n),\"resetOnClick\",(function(){window.confirm(Us(\"This will reset all Jetpack options, are you sure?\"))&&n.props.resetOptions()})),ha()(Os()(n),\"trackVersionClick\",(function(){Uc.tracks.recordJetpackClick({target:\"footer_link\",link:\"version\"})})),ha()(Os()(n),\"trackTermsClick\",(function(){Uc.tracks.recordJetpackClick({target:\"footer_link\",link:\"terms\"})})),ha()(Os()(n),\"trackAboutClick\",(function(){Uc.tracks.recordJetpackClick({target:\"footer_link\",link:\"about\"})})),ha()(Os()(n),\"trackPrivacyClick\",(function(){window.requestAnimationFrame(jm),Uc.tracks.recordJetpackClick({target:\"footer_link\",link:\"privacy\"})})),ha()(Os()(n),\"trackModulesClick\",(function(){Uc.tracks.recordJetpackClick({target:\"footer_link\",link:\"modules\"})})),ha()(Os()(n),\"trackDebugClick\",(function(){Uc.tracks.recordJetpackClick({target:\"footer_link\",link:\"debug\"})})),n}return Ma()(t,e),As()(t,[{key:\"render\",value:function(){var e=this,t=Mc()(this.props.className,\"jp-footer\"),n=this.props.currentVersion,r=this.props.siteConnectionStatus?this.props.siteAdminUrl+\"admin.php?page=jetpack_about\":Vl(\"jetpack\"),i=this.props.siteConnectionStatus?this.props.siteAdminUrl+\"admin.php?page=jetpack#/privacy\":Vl(\"a8c-privacy\");return o.a.createElement(\"div\",{className:t},o.a.createElement(\"div\",{className:\"jp-footer__a8c-attr-container\"},o.a.createElement(\"a\",{href:r},o.a.createElement(\"svg\",{role:\"img\",className:\"jp-footer__a8c-attr\",x:\"0\",y:\"0\",viewBox:\"0 0 935 38.2\",enableBackground:\"new 0 0 935 38.2\",\"aria-labelledby\":\"a8c-svg-title\"},o.a.createElement(\"title\",{id:\"a8c-svg-title\"},Us(\"An Automattic Airline\")),o.a.createElement(\"path\",{d:\"M317.1 38.2c-12.6 0-20.7-9.1-20.7-18.5v-1.2c0-9.6 8.2-18.5 20.7-18.5 12.6 0 20.8 8.9 20.8 18.5v1.2C337.9 29.1 329.7 38.2 317.1 38.2zM331.2 18.6c0-6.9-5-13-14.1-13s-14 6.1-14 13v0.9c0 6.9 5 13.1 14 13.1s14.1-6.2 14.1-13.1V18.6zM175 36.8l-4.7-8.8h-20.9l-4.5 8.8h-7L157 1.3h5.5L182 36.8H175zM159.7 8.2L152 23.1h15.7L159.7 8.2zM212.4 38.2c-12.7 0-18.7-6.9-18.7-16.2V1.3h6.6v20.9c0 6.6 4.3 10.5 12.5 10.5 8.4 0 11.9-3.9 11.9-10.5V1.3h6.7V22C231.4 30.8 225.8 38.2 212.4 38.2zM268.6 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H268.6zM397.3 36.8V8.7l-1.8 3.1 -14.9 25h-3.3l-14.7-25 -1.8-3.1v28.1h-6.5V1.3h9.2l14 24.4 1.7 3 1.7-3 13.9-24.4h9.1v35.5H397.3zM454.4 36.8l-4.7-8.8h-20.9l-4.5 8.8h-7l19.2-35.5h5.5l19.5 35.5H454.4zM439.1 8.2l-7.7 14.9h15.7L439.1 8.2zM488.4 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H488.4zM537.3 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H537.3zM569.3 36.8V4.6c2.7 0 3.7-1.4 3.7-3.4h2.8v35.5L569.3 36.8 569.3 36.8zM628 11.3c-3.2-2.9-7.9-5.7-14.2-5.7 -9.5 0-14.8 6.5-14.8 13.3v0.7c0 6.7 5.4 13 15.3 13 5.9 0 10.8-2.8 13.9-5.7l4 4.2c-3.9 3.8-10.5 7.1-18.3 7.1 -13.4 0-21.6-8.7-21.6-18.3v-1.2c0-9.6 8.9-18.7 21.9-18.7 7.5 0 14.3 3.1 18 7.1L628 11.3zM321.5 12.4c1.2 0.8 1.5 2.4 0.8 3.6l-6.1 9.4c-0.8 1.2-2.4 1.6-3.6 0.8l0 0c-1.2-0.8-1.5-2.4-0.8-3.6l6.1-9.4C318.7 11.9 320.3 11.6 321.5 12.4L321.5 12.4z\"}),o.a.createElement(\"path\",{d:\"M37.5 36.7l-4.7-8.9H11.7l-4.6 8.9H0L19.4 0.8H25l19.7 35.9H37.5zM22 7.8l-7.8 15.1h15.9L22 7.8zM82.8 36.7l-23.3-24 -2.3-2.5v26.6h-6.7v-36H57l22.6 24 2.3 2.6V0.8h6.7v35.9H82.8z\"}),o.a.createElement(\"path\",{d:\"M719.9 37l-4.8-8.9H694l-4.6 8.9h-7.1l19.5-36h5.6l19.8 36H719.9zM704.4 8l-7.8 15.1h15.9L704.4 8zM733 37V1h6.8v36H733zM781 37c-1.8 0-2.6-2.5-2.9-5.8l-0.2-3.7c-0.2-3.6-1.7-5.1-8.4-5.1h-12.8V37H750V1h19.6c10.8 0 15.7 4.3 15.7 9.9 0 3.9-2 7.7-9 9 7 0.5 8.5 3.7 8.6 7.9l0.1 3c0.1 2.5 0.5 4.3 2.2 6.1V37H781zM778.5 11.8c0-2.6-2.1-5.1-7.9-5.1h-13.8v10.8h14.4c5 0 7.3-2.4 7.3-5.2V11.8zM794.8 37V1h6.8v30.4h28.2V37H794.8zM836.7 37V1h6.8v36H836.7zM886.2 37l-23.4-24.1 -2.3-2.5V37h-6.8V1h6.5l22.7 24.1 2.3 2.6V1h6.8v36H886.2zM902.3 37V1H935v5.6h-26v9.2h20v5.5h-20v10.1h26V37H902.3z\"})))),o.a.createElement(\"ul\",{className:\"jp-footer__links\"},o.a.createElement(\"li\",{className:\"jp-footer__link-item\"},o.a.createElement(\"a\",{onClick:this.trackVersionClick,href:Vl(\"jetpack\"),target:\"_blank\",rel:\"noopener noreferrer\",className:\"jp-footer__link\",title:Us(\"Jetpack version\")},n?Us(\"Jetpack version %(version)s\",{args:{version:n}}):\"Jetpack\")),o.a.createElement(\"li\",{className:\"jp-footer__link-item\"},o.a.createElement(\"a\",{onClick:this.trackAboutClick,href:r,className:\"jp-footer__link\",title:Us(\"About Jetpack\")},Us(\"About\",{context:\"Link to learn more about Jetpack.\"}))),o.a.createElement(\"li\",{className:\"jp-footer__link-item\"},o.a.createElement(\"a\",{onClick:this.trackTermsClick,href:Vl(\"wpcom-tos\"),target:\"_blank\",rel:\"noopener noreferrer\",title:Us(\"WordPress.com Terms of Service\"),className:\"jp-footer__link\"},Us(\"Terms\",{context:\"Shorthand for Terms of Service.\"}))),o.a.createElement(\"li\",{className:\"jp-footer__link-item\"},o.a.createElement(\"a\",{onClick:this.trackPrivacyClick,href:i,rel:\"noopener noreferrer\",title:Us(\"Automattic\'s Privacy Policy\"),className:\"jp-footer__link\"},Us(\"Privacy\",{context:\"Shorthand for Privacy Policy.\"}))),function(){if(e.props.siteConnectionStatus&&e.props.userCanManageOptions)return o.a.createElement(\"li\",{className:\"jp-footer__link-item\"},o.a.createElement(\"a\",{onClick:e.trackModulesClick,href:e.props.siteAdminUrl+\"admin.php?page=jetpack_modules\",title:Us(\"Access the full list of Jetpack modules available on your site.\"),className:\"jp-footer__link\"},Us(\"Modules\",{context:\"Navigation item. Noun. Links to a list of modules for Jetpack.\"})))}(),function(){if(e.props.userCanManageOptions)return o.a.createElement(\"li\",{className:\"jp-footer__link-item\"},o.a.createElement(\"a\",{onClick:e.trackDebugClick,href:e.props.siteAdminUrl+\"admin.php?page=jetpack-debugger\",title:Us(\"Test your site’s compatibility with Jetpack.\"),className:\"jp-footer__link\"},Us(\"Debug\",{context:\"Navigation item. Noun. Links to a debugger tool for Jetpack.\"})))}(),e.props.isDevVersion&&e.props.userCanManageOptions?o.a.createElement(\"li\",{className:\"jp-footer__link-item\"},o.a.createElement(\"a\",{role:\"button\",tabIndex:\"0\",onKeyDown:Tu(e.resetOnClick),onClick:e.resetOnClick,className:\"jp-footer__link\"},Us(\"Reset Options (dev only)\",{context:\"Navigation item.\"}))):\"\",e.props.isDevVersion?o.a.createElement(\"li\",{className:\"jp-footer__link-item\"},o.a.createElement(\"a\",{role:\"button\",tabIndex:\"0\",onKeyDown:Tu(e.props.enableDevCard),onClick:e.props.enableDevCard,className:\"jp-footer__link\"},Us(\"Dev Tools\",{context:\"Navigation item.\"}))):\"\",function(){if(e.props.isDevVersion&&e.props.displayDevCard)return o.a.createElement(Am,null)}()))}}]),t}(o.a.Component);ha()(Om,\"displayName\",\"Footer\");var Nm=le((function(e){return{currentVersion:fi(e),displayDevCard:ao(e),isDevVersion:hi(e),isInIdentityCrisis:eo(e),siteAdminUrl:bi(e),siteConnectionStatus:Hs(e),userCanManageOptions:Ci(e)}}),(function(e){return{resetOptions:function(){return e((t=\"options\",function(e){return e({type:Nn}),e(Qa(\"is-info\",Us(\"Resetting Jetpack options…\"),{id:\"reset-options\"})),Da.resetOptions(t).then((function(){e({type:Pn}),e(Xa(\"reset-options\")),e(Qa(\"is-success\",Us(\"Options reset.\"),{id:\"reset-options\",duration:2e3}))})).catch((function(t){e({type:Tn,error:t}),e(Xa(\"reset-options\")),e(Qa(\"is-error\",Us(\"Options failed to reset.\"),{id:\"reset-options\"}))}))}));var t},enableDevCard:function(){return e((function(e){e({type:Hr})}))}}}))(Om),Tm=function(e){function t(){var e,n;_a()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=ka()(this,(e=Ca()(t)).call.apply(e,[this].concat(i))),ha()(Os()(n),\"trackBannerClick\",(function(){Uc.tracks.recordJetpackClick({target:\"banner-click\",feature:\"support\",page:n.props.path})})),ha()(Os()(n),\"trackAskQuestionClick\",(function(){Uc.tracks.recordJetpackClick({target:\"support-card\",button:\"support-ask\",page:n.props.path})})),ha()(Os()(n),\"trackSearchClick\",(function(){Uc.tracks.recordJetpackClick({target:\"support-card\",button:\"support-search\",page:n.props.path})})),n}return Ma()(t,e),As()(t,[{key:\"shouldComponentUpdate\",value:function(e){return e.sitePlan.product_slug!==this.props.sitePlan.product_slug}},{key:\"render\",value:function(){if(void 0===this.props.sitePlan.product_slug&&this.props.isFetchingSiteData)return o.a.createElement(\"div\",null);var e=Mc()(this.props.className,\"jp-support-card\"),t=void 0===this.props.sitePlan.product_slug||\"jetpack_free\"===this.props.sitePlan.product_slug,n=this.props.isDevVersion?ad:id;return o.a.createElement(\"div\",{className:e},o.a.createElement(Dl,{className:\"jp-support-card__happiness\"},o.a.createElement(\"div\",{className:\"jp-support-card__happiness-contact\"},o.a.createElement(\"h3\",{className:\"jp-support-card__header\"},Us(\"We\'re here to help\")),o.a.createElement(\"p\",{className:\"jp-support-card__description\"},Us(t?\"Jetpack comes with free, basic support for all users.\":\"Your paid plan gives you access to prioritized Jetpack support.\")),o.a.createElement(\"p\",{className:\"jp-support-card__description\"},o.a.createElement(xc,{onClick:this.trackAskQuestionClick,href:this.props.isAtomicSite?Vl(\"calypso-help-contact\"):n},Us(\"Ask a question\")),o.a.createElement(xc,{onClick:this.trackSearchClick,href:this.props.isAtomicSite?Vl(\"calypso-help\"):Vl(\"jetpack-support\")},Us(\"Search our support site\"))))),this.props.siteConnectionStatus&&t&&o.a.createElement(Ku,{title:Us(\"Get a faster resolution to your support questions.\"),plan:\"jetpack_personal\",callToAction:Us(\"Upgrade\"),onClick:this.trackBannerClick,href:this.props.supportUpgradeUrl}))}}]),t}(o.a.Component);ha()(Tm,\"displayName\",\"SupportCard\"),ha()(Tm,\"defaultProps\",{className:\"\",siteConnectionStatus:!1}),Tm.propTypes={siteConnectionStatus:u.a.any.isRequired,className:u.a.string};var Pm=le((function(e){return{sitePlan:qo(e),siteConnectionStatus:Hs(e),isFetchingSiteData:Bo(e),isAtomicSite:Vi(e),isDevVersion:hi(e),supportUpgradeUrl:Yi(e,\"support\")}}))(Tm),Im=function(e){function t(){var e,n;_a()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=ka()(this,(e=Ca()(t)).call.apply(e,[this].concat(i))),ha()(Os()(n),\"trackDownloadClick\",(function(){Uc.tracks.recordJetpackClick({target:\"apps-card\",button:\"apps-download\",page:n.props.path})})),ha()(Os()(n),\"dismissCard\",(function(){n.props.dismissAppCard(),Uc.tracks.recordJetpackClick({target:\"apps-card\",button:\"dismiss\",page:n.props.path})})),n}return Ma()(t,e),As()(t,[{key:\"render\",value:function(){if(!this.props.arePromotionsActive||this.props.isAppsCardDismissed)return null;var e=Mc()(this.props.className,\"jp-apps-card\");return o.a.createElement(\"div\",{className:e},o.a.createElement(Dl,{className:\"jp-apps-card__content\"},this.props.userCanManageOptions&&o.a.createElement(xc,{borderless:!0,compact:!0,className:\"jp-apps-card__dismiss\",href:\"javascript:void(0)\",onClick:this.dismissCard},o.a.createElement(\"span\",{className:\"dashicons dashicons-no\"})),o.a.createElement(\"div\",{className:\"jp-apps-card__top\"},o.a.createElement(\"img\",{src:rd+\"get-apps.svg\",alt:\"\"})),o.a.createElement(\"div\",{className:\"jp-apps-card__description\"},o.a.createElement(\"h3\",{className:\"jp-apps-card__header\"},Us(\"Get WordPress Apps for every device\")),o.a.createElement(\"p\",{className:\"jp-apps-card__paragraph\"},Us(\"Manage all your sites from a single dashboard: publish content, track stats, moderate comments, and so much more from anywhere in the world.\")),o.a.createElement(xc,{className:\"is-primary\",onClick:this.trackDownloadClick,href:\"https://apps.wordpress.com/get?utm_source=jpdash&utm_medium=cta&utm_campaign=getappscard\"},Us(\"Download the free apps\")))))}}]),t}(o.a.Component);ha()(Im,\"displayName\",\"AppsCard\"),Im.propTypes={className:u.a.string};var Dm=le((function(e){return{isAppsCardDismissed:No(e),arePromotionsActive:Bi(e),userCanManageOptions:Ci(e)}}),(function(e){return{dismissAppCard:function(){return e(Ul({dismiss_dash_app_card:!0}))}}}))(Im),Rm=function(e){function t(){var e,n;_a()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=ka()(this,(e=Ca()(t)).call.apply(e,[this].concat(i))),ha()(Os()(n),\"renderMainContent\",(function(e){var t,r=o.a.createElement(wl,n.props);switch(e){case\"/dashboard\":default:t=o.a.createElement(mf,n.props);break;case\"/settings\":case\"/writing\":case\"/sharing\":case\"/performance\":n.props.isSubscriber||(r=o.a.createElement(Nl,n.props),t=o.a.createElement(zd,{route:n.props.route,siteAdminUrl:n.props.siteAdminUrl,siteRawUrl:n.props.siteRawUrl,searchTerm:n.props.searchTerm,userCanManageModules:n.props.userCanManageModules}))}return window.wpNavMenuClassChange(),o.a.createElement(\"div\",null,r,t)})),n}return Ma()(t,e),As()(t,[{key:\"shouldComponentUpdate\",value:function(e){return e.siteConnectionStatus!==this.props.siteConnectionStatus||e.route.path!==this.props.route.path}},{key:\"render\",value:function(){return this.renderMainContent(this.props.route.path)}}]),t}(o.a.Component);Rm.propTypes={userCanViewStats:u.a.bool.isRequired,isSubscriber:u.a.bool.isRequired,siteConnectionStatus:u.a.any.isRequired};var Um=le((function(e){return{userCanViewStats:Pi(e),siteConnectionStatus:Hs(e),isSubscriber:wi(e),isModuleActivated:function(t){return Ga(e,t)},userCanManageModules:Ei(e)}}))(Rm),Lm=function(e){function t(){return _a()(this,t),ka()(this,Ca()(t).apply(this,arguments))}return Ma()(t,e),As()(t,[{key:\"render\",value:function(){var e={className:\"dops-notice__action\",href:this.props.href,onClick:this.props.onClick};return this.props.external&&(e.target=\"_blank\"),o.a.createElement(\"a\",e,o.a.createElement(\"span\",null,this.props.children),this.props.icon&&o.a.createElement(ml,{icon:this.props.icon,size:24}),this.props.external&&o.a.createElement(ml,{icon:\"external\",size:24}))}}]),t}(o.a.Component);ha()(Lm,\"displayName\",\"NoticeAction\"),ha()(Lm,\"propTypes\",{href:u.a.string,onClick:u.a.func,external:u.a.bool,icon:u.a.string}),ha()(Lm,\"defaultProps\",{external:!1});n(387);var Fm=Oc()(\"calypso:notices\");Fm(\"initializing notices\");var zm={containerNames:{}};!function(e){Object(Dt.assign)(e,ps.EventEmitter.prototype),e.emitChange=function(){this.emit(\"change\")},e.off=e.removeListener}(zm);var Bm=[],Vm={new:function(e,t,n){var r=t.overlay?\"overlay-notices\":\"notices\";zm.containerNames[r]=r,Fm(\"creating notice\",e,t,n),zm[r]=[];var i={type:t.type||\"message\",status:n,text:e,duration:t.duration,container:r,button:t.button,href:t.href,onClick:function(e){if(\"function\"==typeof t.onClick){var n=Vm.removeNotice.bind(Vm,i);return t.onClick(e,n)}},onRemoveCallback:t.onRemoveCallback||function(){},arrow:t.arrow,isCompact:t.isCompact,showDismiss:t.showDismiss,persistent:t.persistent};return t.displayOnNextPage?Bm.push(i):zm[r].push(i),zm.emit(\"change\"),i},success:function(e,t){return t=t||{},this.new(e,t,\"is-success\")},error:function(e,t){return t=t||{},this.new(e,t,\"is-error\")},info:function(e,t){return t=t||{},this.new(e,t,\"is-info\")},warning:function(e,t){return t=t||{},this.new(e,t,\"is-warning\")},list:zm,removeNotice:function(e){if(e.container){var t=zm[e.container],n=t.indexOf(e);-1!==n&&(t.splice(n,1),zm.emit(\"change\"))}},clearNoticesOnNavigation:function(e,t){Fm(\"clearNoticesOnNavigation\");var n,r,i=!1,a=function(e){return e.persistent};for(r in zm.containerNames)n=zm[r].length,zm[r]=zm[r].filter(a),n!==zm[r].length&&(i=!0);Bm.length&&(Bm.forEach((function(e){zm[e.container]=[],zm[e.container].push(e)})),Bm=[]),i&&zm.emit(\"change\"),t()},clearNotices:function(e){zm[e]=[],zm.emit(\"change\")},getStatusHelper:function(e){return e.error?\"is-error\":e.warning?\"is-warning\":e.info?\"is-info\":e.success?\"is-success\":void 0}},Hm=Vm,qm=(n(388),Oc()(\"calypso:notices\")),Km=function(e){function t(){var e,n;_a()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=ka()(this,(e=Ca()(t)).call.apply(e,[this].concat(i))),ha()(Os()(n),\"removeNotice\",(function(e){e&&Hm.removeNotice(e)})),ha()(Os()(n),\"handleLocalNoticeDismissClick\",(function(e){return function(){return n.removeNotice(e)}})),ha()(Os()(n),\"handleReduxNoticeDismissClick\",(function(e){return function(){return n.props.removeNotice(e)}})),n}return Ma()(t,e),As()(t,[{key:\"UNSAFE_componentWillMount\",value:function(){qm(\"Mounting Global Notices React component.\")}},{key:\"render\",value:function(){var e=(this.props.notices[this.props.id]||[]).map((function(e,t){return o.a.createElement(Pu,{key:\"notice-old-\"+t,status:e.status,duration:e.duration||null,text:e.text,isCompact:e.isCompact,onDismissClick:this.handleLocalNoticeDismissClick(e),showDismiss:e.showDismiss},e.button&&o.a.createElement(Lm,{href:e.href,onClick:e.onClick},e.button))}),this);return(e=e.concat(this.props.storeNotices.map((function(e,t){return o.a.createElement(Pu,{key:\"notice-\"+t,status:e.status,duration:e.duration||null,showDismiss:e.showDismiss,onDismissClick:this.handleReduxNoticeDismissClick(e.noticeId),text:e.text})}),this))).length?o.a.createElement(\"div\",{id:this.props.id,className:\"global-notices\"},e):null}}]),t}(o.a.Component);ha()(Km,\"displayName\",\"NoticesList\"),ha()(Km,\"propTypes\",{id:u.a.string,notices:u.a.oneOfType([u.a.object,u.a.array])}),ha()(Km,\"defaultProps\",{id:\"overlay-notices\",notices:Object.freeze([])});var Jm=le((function(e){return{storeNotices:e.globalNotices}}),(function(e){return P({removeNotice:Xa},e)}))(Km),Wm=function(e){return function(t){t({type:Ar,notice:e})}},Gm=function(e){function t(){var e,n;_a()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=ka()(this,(e=Ca()(t)).call.apply(e,[this].concat(i))),ha()(Os()(n),\"maybeDismiss\",(function(e){!n.props.showDismiss||e.keyCode&&27!==e.keyCode||n.props.dismiss(e)})),n}return Ma()(t,e),As()(t,[{key:\"componentDidMount\",value:function(){document.addEventListener(\"keydown\",this.maybeDismiss.bind(this),!1)}},{key:\"componentWillUnmount\",value:function(){document.removeEventListener(\"keydown\",this.maybeDismiss.bind(this),!1)}},{key:\"clickForeground\",value:function(e){e.stopPropagation()}},{key:\"render\",value:function(){var e=Mc()(this.props.className,\"jp-dialogue-modern\",{\"has-featured-image\":!!this.props.svg});return o.a.createElement(\"div\",{className:\"jp-dialogue-modern-full__container\",role:\"presentation\",onClick:this.maybeDismiss,onKeyDown:Tu(this.maybeDismiss)},o.a.createElement(\"div\",{className:e,role:\"presentation\",onClick:this.clickForeground,onKeyDown:Tu(this.clickForeground)},this.props.showDismiss&&o.a.createElement(ml,{icon:\"cross-small\",className:\"jp-dialogue-modern-full__dismiss\",tabIndex:\"0\",onKeyDown:Tu(this.props.dismiss),onClick:this.props.dismiss}),this.props.svg,o.a.createElement(\"div\",{className:\"jp-dialogue-modern__content\"},o.a.createElement(\"h1\",{className:\"jp-dialogue-modern__title\"},this.props.title),this.props.content),o.a.createElement(\"div\",null,this.props.belowContent)))}}]),t}(s.Component);Gm.propTypes={content:u.a.oneOfType([u.a.string,u.a.object]).isRequired,belowContent:u.a.oneOfType([u.a.string,u.a.object]).isRequired,svg:u.a.oneOfType([u.a.bool,u.a.object]),dismissOnClick:u.a.func,showDismiss:u.a.bool,title:u.a.string,adminUrl:u.a.string,dismiss:u.a.func},Gm.defaultProps={svg:!1,showDismiss:!0,dismiss:Dt.noop,content:\"\",belowContent:\"\",title:\"\"};var Ym=Gm,$m=Cu(function(e){function t(){var e,n;_a()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=ka()(this,(e=Ca()(t)).call.apply(e,[this].concat(i))),ha()(Os()(n),\"trackLearnMoreClick\",(function(){Uc.tracks.recordJetpackClick({target:\"warm_welcome_view_editor\",version:n.props.version})})),ha()(Os()(n),\"dismissNotice\",(function(){Uc.tracks.recordJetpackClick({target:\"warm_welcome_dismiss\",version:n.props.version}),n.props.dismiss()})),n}return Ma()(t,e),As()(t,[{key:\"componentDidMount\",value:function(){jQuery(\"body\").addClass(\"jp-dialogue-modern-showing\"),Uc.tracks.recordEvent(\"jetpack_warm_welcome_view\",{version:this.props.version})}},{key:\"componentWillUnmount\",value:function(){jQuery(\"body\").removeClass(\"jp-dialogue-modern-showing\")}},{key:\"renderInnerContent\",value:function(){for(var e=(new DOMParser).parseFromString(this.props.releasePostContent,\"text/html\"),t=e.getElementsByTagName(\"a\"),n=0;n<t.length;n++)t[n].setAttribute(\"target\",\"_blank\"),t[n].setAttribute(\"rel\",\"noopener noreferrer\");var r=e.body.innerHTML;return o.a.createElement(\"div\",{className:\"jp-upgrade-notice__content\"},o.a.createElement(\"div\",{dangerouslySetInnerHTML:{__html:r}}))}},{key:\"render\",value:function(){var e=this.props.featuredImage,t=null,n=this.props.title;return e&&e.length>0&&(t=o.a.createElement(\"img\",{src:e,alt:\"\"})),n&&0!==n.length||(n=Us(\"New in Jetpack %(version)s\",{args:{version:this.props.version},comment:\"%(version) is a version number.\"})),o.a.createElement(Ym,{svg:t,title:n,content:this.renderInnerContent(),dismiss:this.dismissNotice})}}]),t}(s.Component)),Xm=function(e){function t(){var e,n;_a()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=ka()(this,(e=Ca()(t)).call.apply(e,[this].concat(i))),ha()(Os()(n),\"state\",{showNotice:!0}),ha()(Os()(n),\"dismissJetpackStateNotice\",(function(){n.setState({showNotice:!1})})),ha()(Os()(n),\"getErrorFromKey\",(function(e){var t=n.props.jetpackStateNoticesErrorDescription||!1,r=\"\";switch(e){case\"cheatin\":r=Us(\"Cheatin\' uh?\");break;case\"access_denied\":r=Us(\"{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}\",{components:{a:o.a.createElement(\"a\",{href:Vl(\"jetpack-cancelled-connection\"),target:\"_blank\",rel:\"noopener noreferrer\"}),p:o.a.createElement(\"p\",null)}});break;case\"wrong_state\":r=Us(\"You need to stay logged in to your WordPress blog while you authorize Jetpack.\");break;case\"invalid_client\":r=Us(\"We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again.\");break;case\"invalid_grant\":r=Us(\'There was an issue connecting your Jetpack. Please click \"Connect to WordPress.com\" again.\');break;case\"site_inaccessible\":case\"site_requires_authorization\":r=Us(\"Your website needs to be publicly accessible to use Jetpack: %(error_key)s\",{args:{error_key:e}});break;case\"site_blacklisted\":r=Us(\"This site can\'t be connected to WordPress.com because it violates our {{a}}Terms of Service{{/a}}.\",{components:{a:o.a.createElement(\"a\",{href:Vl(\"wpcom-tos\"),rel:\"noopener noreferrer\",target:\"_blank\"})}});break;case\"not_public\":r=Us(\"{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost).\",{components:{s:o.a.createElement(\"strong\",null)}});break;case\"wpcom_408\":case\"wpcom_5??\":case\"wpcom_bad_response\":case\"wpcom_outage\":r=Us(\"WordPress.com is currently having problems and is unable to fuel up your Jetpack.  Please try again later.\");break;case\"register_http_request_failed\":case\"token_http_request_failed\":r=Us(\"Jetpack could not contact WordPress.com: %(error_key)s.  This usually means something is incorrectly configured on your web host.\",{args:{error_key:e}});break;case\"no_role\":case\"no_cap\":case\"no_code\":case\"no_state\":case\"invalid_state\":case\"invalid_request\":case\"invalid_scope\":case\"unsupported_response_type\":case\"invalid_token\":case\"no_token\":case\"missing_secrets\":case\"home_missing\":case\"siteurl_missing\":case\"gmt_offset_missing\":case\"site_name_missing\":case\"secret_1_missing\":case\"secret_2_missing\":case\"site_lang_missing\":case\"home_malformed\":case\"siteurl_malformed\":case\"gmt_offset_malformed\":case\"timezone_string_malformed\":case\"site_name_malformed\":case\"secret_1_malformed\":case\"secret_2_malformed\":case\"site_lang_malformed\":case\"secrets_mismatch\":case\"verify_secret_1_missing\":case\"verify_secret_1_malformed\":case\"verify_secrets_missing\":case\"verify_secrets_mismatch\":r=Us(\"{{s}}Your Jetpack has a glitch.{{/s}}  We\'re sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s\",{components:{s:o.a.createElement(\"strong\",null)},args:{error_key:e}});break;default:r=e}return t?o.a.createElement(\"div\",null,r,o.a.createElement(\"br\",null),t):o.a.createElement(\"div\",null,r)})),ha()(Os()(n),\"getMessageFromKey\",(function(e){var t,r=\"\",i=\"is-info\";switch(e){case\"modules_activated\":r=Us(\"Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!\",{args:{jetpack_version:n.props.currentVersion},components:{s:o.a.createElement(\"strong\",null)}});break;case\"already_authorized\":r=Us(\"Your Jetpack is already connected.\"),i=\"is-success\";break;case\"authorized\":r=Us(\"You\'re fueled up and ready to go, Jetpack is now active.\"),i=\"is-success\";break;case\"linked\":r=Us(\"You\'re fueled up and ready to go.\"),i=\"is-success\";break;case\"protect_misconfigured_ip\":r=Us(\"Your server is misconfigured, which means that Jetpack Protect is unable to effectively protect your site.\"),i=\"is-info\",t=o.a.createElement(Lm,{href:Vl(\"jetpack-support-security-troubleshooting-protect\")},Us(\"Learn More\"));break;default:r=e}return[r,i,t]})),ha()(Os()(n),\"renderContent\",(function(){var e,t=\"is-info\",r=\"\",i=n.props.jetpackStateNoticesErrorCode,a=n.props.jetpackStateNoticesMessageCode,s=n.props.jetpackStateNoticesMessageContent;if(i||a||s){if(i&&(r=n.getErrorFromKey(i),\"access_denied\"!==i&&(t=\"is-error\")),s&&s.release_post_content)return o.a.createElement($m,{dismiss:n.dismissJetpackStateNotice,version:n.props.currentVersion,releasePostContent:s.release_post_content,featuredImage:s.release_post_featured_image,title:s.release_post_title});if(a){var c=n.getMessageFromKey(a);r=c[0],t=c[1],e=c[2]}return o.a.createElement(Pu,{status:t,onDismissClick:n.dismissJetpackStateNotice,text:r},e)}})),n}return Ma()(t,e),As()(t,[{key:\"render\",value:function(){return o.a.createElement(\"div\",null,this.state.showNotice?this.renderContent():null)}}]),t}(o.a.Component);ha()(Xm,\"displayName\",\"JetpackStateNotices\");var Qm=le((function(e){return{currentVersion:fi(e),jetpackStateNoticesErrorCode:co(e),jetpackStateNoticesMessageCode:lo(e),jetpackStateNoticesErrorDescription:po(e),jetpackStateNoticesMessageContent:uo(e)}}))(Xm),Zm=function(e){function t(){var e,n;_a()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=ka()(this,(e=Ca()(t)).call.apply(e,[this].concat(i))),ha()(Os()(n),\"dismissJetpackActionNotice\",(function(){n.props.dismissJetpackActionNotice(n.props.jetpackNotices)})),ha()(Os()(n),\"renderNotices\",(function(){n.props.jetpackNotices;return!1})),n}return Ma()(t,e),As()(t,[{key:\"render\",value:function(){return o.a.createElement(\"div\",null,this.renderNotices())}}]),t}(o.a.Component);ha()(Zm,\"displayName\",\"DismissableNotices\");var eg=le((function(e){return{jetpackNotices:oo(e),isDismissed:function(t){return function(e,t){return Object(Dt.get)(e.jetpack.jetpackNotices.dismissed,[t],!1)}(e,t)}}}),(function(e){return P({dismissJetpackActionNotice:Wm},e)}))(Zm);var tg=bt((function(e){var t=e.activeSitePurchases;if(\"/plans\"!==e.router.location.pathname)return null;if(t.length<=1)return null;var n=t.map((function(e){var t=e.product_slug,n=Cc()(e,[\"product_slug\"]);return Ms()({},n,{product_slug:t.replace(\"_monthly\",\"\")})})),r=n.find((function(e){return e.product_slug.includes(\"backup\")}));if(!r)return null;var i=n.find((function(e){var t=e.product_slug;return\"jetpack_personal\"===t||\"jetpack_premium\"===t||\"jetpack_business\"===t}));if(!i)return null;if(\"jetpack_backup_realtime\"===r.product_slug&&\"jetpack_business\"!==i.product_slug)return null;var a=Us(\"daily backups\");return\"jetpack_business\"===i.product_slug&&(a=Us(\"real-time backups\")),o.a.createElement(Pu,{status:\"is-warning\",showDismiss:!1,text:Us(\"Your %(planName)s Plan includes %(featureName)s. Looks like you also purchased the %(productName)s product. Consider removing %(productName)s.\",{args:{featureName:a,planName:i.product_name,productName:r.product_name}})})})),ng=le((function(e){return{activeSitePurchases:$o(e)}}))(tg),rg=function(e){function t(){return _a()(this,t),ka()(this,Ca()(t).apply(this,arguments))}return Ma()(t,e),As()(t,[{key:\"render\",value:function(){return!(!this.props.isDevVersion||this.props.userIsSubscriber)&&o.a.createElement(Pu,{showDismiss:!1,text:Us(\"You are currently running a development version of Jetpack.\")},o.a.createElement(Lm,{href:ad},Us(\"Submit Beta feedback\")))}}]),t}(o.a.Component);ha()(rg,\"displayName\",\"DevVersionNotice\"),rg.propTypes={isDevVersion:u.a.bool.isRequired,userIsSubscriber:u.a.bool.isRequired};var ig=function(e){function t(){return _a()(this,t),ka()(this,Ca()(t).apply(this,arguments))}return Ma()(t,e),As()(t,[{key:\"render\",value:function(){if(this.props.isStaging&&!this.props.isInIdentityCrisis){var e=Vl(\"jetpack-support-staging-sites\"),t={text:Us(\"You are running Jetpack on a staging server.\"),status:\"is-basic\",showDismiss:!1};return o.a.createElement(Pu,t,o.a.createElement(Lm,{href:e},Us(\"More Info\")))}return!1}}]),t}(o.a.Component);ha()(ig,\"displayName\",\"StagingSiteNotice\"),ig.propTypes={isStaging:u.a.bool.isRequired,isInIdentityCrisis:u.a.bool.isRequired};var ag=function(e){function t(){return _a()(this,t),ka()(this,Ca()(t).apply(this,arguments))}return Ma()(t,e),As()(t,[{key:\"render\",value:function(){if(\"dev\"===this.props.siteConnectionStatus){var e=this.props.siteDevMode,t=[];e.filter&&t.push(Us(\"{{li}}The jetpack_development_mode filter is active{{/li}}\",{components:{li:o.a.createElement(\"li\",null)}})),e.constant&&t.push(Us(\"{{li}}The JETPACK_DEV_DEBUG constant is defined{{/li}}\",{components:{li:o.a.createElement(\"li\",null)}})),e.url&&t.push(Us(\"{{li}}Your site URL lacks a dot (e.g. http://localhost){{/li}}\",{components:{li:o.a.createElement(\"li\",null)}}));var n=Us(\"Currently in {{a}}Development Mode{{/a}} (some features are disabled) because: {{reasons/}}\",{components:{a:o.a.createElement(\"a\",{href:Vl(\"jetpack-support-development-mode\"),target:\"_blank\",rel:\"noopener noreferrer\"}),reasons:o.a.createElement(\"ul\",null,t)}});return o.a.createElement(Pu,{showDismiss:!1,status:\"is-info\",text:n},o.a.createElement(Lm,{href:Vl(\"jetpack-support-development-mode\")},Us(\"Learn More\")))}return!1}}]),t}(o.a.Component);ha()(ag,\"displayName\",\"DevModeNotice\"),ag.propTypes={siteConnectionStatus:u.a.oneOfType([u.a.string,u.a.bool]).isRequired,siteDevMode:u.a.oneOfType([u.a.bool,u.a.object]).isRequired};var sg=function(e){function t(){return _a()(this,t),ka()(this,Ca()(t).apply(this,arguments))}return Ma()(t,e),As()(t,[{key:\"render\",value:function(){return!(this.props.isLinked||!this.props.connectUrl||!this.props.siteConnected)&&o.a.createElement(\"div\",{className:\"jp-unlinked-notice\"},o.a.createElement(Ku,{title:Us(\"Jetpack is powering your site, but to access all of its features you’ll need to create an account.\"),callToAction:Us(\"Create account\"),href:\"\".concat(this.props.connectUrl,\"&from=unlinked-user-connect\"),icon:\"my-sites\",className:\"is-jetpack-info\"}))}}]),t}(o.a.Component);ha()(sg,\"displayName\",\"UserUnlinked\"),sg.propTypes={connectUrl:u.a.string.isRequired,siteConnected:u.a.bool.isRequired};var og=function(e){function t(){return _a()(this,t),ka()(this,Ca()(t).apply(this,arguments))}return Ma()(t,e),As()(t,[{key:\"render\",value:function(){return o.a.createElement(\"div\",{\"aria-live\":\"polite\"},o.a.createElement(Jm,null),o.a.createElement(Qm,null),o.a.createElement(rg,{isDevVersion:this.props.isDevVersion,userIsSubscriber:this.props.userIsSubscriber}),o.a.createElement(ag,{siteConnectionStatus:this.props.siteConnectionStatus,siteDevMode:this.props.siteDevMode}),o.a.createElement(ig,{isStaging:this.props.isStaging,isInIdentityCrisis:this.props.isInIdentityCrisis}),o.a.createElement(ng,null),o.a.createElement(eg,null),o.a.createElement(sg,{connectUrl:this.props.connectUrl,siteConnected:!0===this.props.siteConnectionStatus,isLinked:this.props.isLinked}),!this.props.siteConnectionStatus&&!this.props.userCanConnectSite&&o.a.createElement(Pu,{showDismiss:!1,status:\"is-warning\",text:Us(\"This site is not connected to WordPress.com. Please ask the site administrator to connect.\")}))}}]),t}(o.a.Component);ha()(og,\"displayName\",\"JetpackNotices\");var cg=le((function(e){return{connectUrl:Js(e),siteConnectionStatus:Hs(e),userCanConnectSite:xi(e),userIsSubscriber:wi(e),isLinked:Xs(e),isDevVersion:hi(e),siteDevMode:Ks(e),isStaging:Zs(e),isInIdentityCrisis:eo(e)}}))(og),lg=function(e){function t(){return _a()(this,t),ka()(this,Ca()(t).apply(this,arguments))}return Ma()(t,e),As()(t,[{key:\"componentDidMount\",value:function(){var e=jQuery(this.refs.adminNotices),t=jQuery(\".vp-deactivated\");t.length>0&&t.each((function(){var t=jQuery(this).addClass(\"dops-notice is-success is-dismissable\").removeClass(\"wrap vp-notice notice notice-success\");t.wrapInner(\'<span class=\"dops-notice__content\">\'),t.find(\".dops-notice__content\").before(\'<span class=\"dops-notice__icon-wrapper\"><svg class=\"gridicon gridicons-notice dops-notice__icon\" height=\"24\" width=\"24\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M9 19.414l-6.707-6.707 1.414-1.414L9 16.586 20.293 5.293l1.414 1.414\"/></svg></span>\').css(\"display\",\"block\"),t.find(\".dops-notice__content\").after(\'<span role=\"button\" tabindex=\"0\" class=\"dops-notice__dismiss\"><svg class=\"gridicon gridicons-cross\" height=\"24\" width=\"24\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z\"/></svg><span class=\"screen-reader-text\"/></span>\'),t.find(\"h2\").replaceWith((function(){return jQuery(\"<strong />\",{html:this.innerHTML})})),t.find(\"p\").replaceWith((function(){return jQuery(\"<div/>\",{html:this.innerHTML})})),t.prependTo(e).css(\"display\",\"flex\")}));var n=jQuery(\".vp-notice\");n.length>0&&n.each((function(){var t=jQuery(this);if(0===t.find(\".dops-notice__icon\").length){var n=t.hasClass(\"vp-registered\"),r=n?\"is-success\":\"is-error\";t.addClass(\"dops-notice vp-notice-jp \"+r),t.wrapInner(\'<span class=\"dops-notice__content\">\');var i=n?\'<span class=\"dops-notice__icon-wrapper\"><svg class=\"gridicon gridicons-notice dops-notice__icon\" height=\"24\" width=\"24\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M9 19.414l-6.707-6.707 1.414-1.414L9 16.586 20.293 5.293l1.414 1.414\"/></svg></span>\':\'<span class=\"dops-notice__icon-wrapper\"><svg class=\"gridicon gridicons-notice dops-notice__icon\" height=\"24\" width=\"24\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 15h-2v-2h2v2zm0-4h-2l-.5-6h3l-.5 6z\"/></svg></span>\';t.find(\".dops-notice__content\").before(i),t.find(\".vp-message\").removeClass(\"vp-message\").addClass(\"dops-notice__text\"),t.find(\"h3\").replaceWith((function(){return jQuery(\"<strong />\",{html:this.innerHTML})})),t.find(\"p\").replaceWith((function(){return jQuery(\"<div/>\",{html:this.innerHTML})})),t.css(\"display\",\"flex\")}t.find(\'a[href*=\"admin.php?page=vaultpress\"]\').remove(),t.prependTo(e).removeClass(\"wrap vp-notice\")}));var r=jQuery(\".woocommerce-message\");r.length>0&&r.each((function(){var t=jQuery(this).addClass(\"dops-notice\").removeClass(\"updated wc-connect\");t.find(\".button-primary\").addClass(\"dops-notice__action\").removeClass(\"button-primary\").detach().appendTo(t),t.find(\"p\").not(\".submit\").wrapAll(\'<span class=\"dops-notice__text\"/>\');var n=t.find(\".dops-notice__text\");n.find(\"p\").replaceWith((function(){return jQuery(\"<div/>\",{html:this.innerHTML,class:\"dops-notice__moved_text\"})})),n.find(\"br\").remove(),t.find(\".button-secondary\").removeClass(\"button-secondary\").detach().appendTo(n),t.find(\".submit\").remove(),t.find(\".woocommerce-message-close\").removeClass(\"woocommerce-message-close notice-dismiss\").addClass(\"dops-notice__action\"),t.wrapInner(\'<span class=\"dops-notice__content\">\').prependTo(e).css(\"display\",\"flex\"),t.find(\".dops-notice__action\").not(\":first\").removeClass(\"dops-notice__action\").detach().appendTo(t.find(\".dops-notice__text\")),t.find(\".dops-notice__action:first\").detach().appendTo(t)}));var i=jQuery(\".notice\");i.length>0&&i.each((function(){jQuery(this).hide()})),e.length>0&&jQuery(\".dops-notice__dismiss\").click((function(){jQuery(this).parent().closest(\"div\").hide()}))}},{key:\"render\",value:function(){return o.a.createElement(\"div\",{id:\"jp-admin-notices\",ref:\"adminNotices\",\"aria-live\":\"polite\"})}}]),t}(o.a.Component),ug=function(e){function t(){return _a()(this,t),ka()(this,Ca()(t).apply(this,arguments))}return Ma()(t,e),As()(t,[{key:\"UNSAFE_componentWillReceiveProps\",value:function(e){var t=this.props.analytics.tracks.recordEvent;e.searchTerm!==this.props.searchTerm&&e.searchTerm.length>=3&&t(\"jetpack_wpa_search_term\",{term:e.searchTerm})}},{key:\"render\",value:function(){return null}}]),t}(s.Component);ug.propTypes={analytics:u.a.object,searchTerm:u.a.string};var pg=le((function(e){return{searchTerm:wo(e)}}))(ug),dg=function(e){function t(){return _a()(this,t),ka()(this,Ca()(t).apply(this,arguments))}return Ma()(t,e),As()(t,[{key:\"UNSAFE_componentWillMount\",value:function(){this.props.isFetchingRewindStatus||this.props.isDevMode||this.props.fetchRewind()}},{key:\"render\",value:function(){return null}}]),t}(s.Component);ha()(dg,\"propTypes\",{isFetchingRewindStatus:u.a.bool,isDevMode:u.a.bool,sitePlan:u.a.object}),ha()(dg,\"defaultProps\",{isFetchingRewindStatus:!1,isDevMode:!1,sitePlan:{}});var hg=le((function(e){return{isFetchingRewindStatus:bo(e),isDevMode:Qs(e),sitePlan:qo(e)}}),(function(e){return{fetchRewind:function(){return e((function(e){return e({type:Wr}),Da.fetchRewindStatus().then((function(t){return e({type:Gr,status:t}),t})).catch((function(t){e({type:Yr,error:t})}))}))}}}))(dg),fg=\"/setup\",mg=[\"/\",\"/dashboard\",\"/my-plan\",\"/plans\"],gg=[\"/settings\",\"/security\",\"/performance\",\"/writing\",\"/sharing\",\"/discussion\",\"/traffic\",\"/privacy\"],vg=function(e){function t(){var e,n;_a()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=ka()(this,(e=Ca()(t)).call.apply(e,[this].concat(i))),ha()(Os()(n),\"onBeforeUnload\",(function(){if(n.props.areThereUnsavedSettings){if(!confirm(Us(\"There are unsaved settings in this tab that will be lost if you leave it. Proceed?\")))return!1;n.props.clearUnsavedSettingsFlag()}})),ha()(Os()(n),\"routerWillLeave\",(function(){if(n.props.areThereUnsavedSettings){if(!confirm(Us(\"There are unsaved settings in this tab that will be lost if you leave it. Proceed?\")))return!1;window.setTimeout(n.props.clearUnsavedSettingsFlag,10)}})),ha()(Os()(n),\"initializeAnalytics\",(function(){var e=n.props.tracksUserData;e&&Uc.initialize(e.userid,e.username,{blog_id:e.blogid})})),ha()(Os()(n),\"renderMainContent\",(function(e){if(!n.props.userCanManageModules)return!!n.props.siteConnectionStatus&&o.a.createElement(\"div\",{\"aria-live\":\"assertive\"},o.a.createElement(Um,n.props));if(!1===n.props.siteConnectionStatus&&n.props.userCanConnectSite)return o.a.createElement(\"div\",{className:\"jp-jetpack-connect__container\",\"aria-live\":\"assertive\"});var t,r=o.a.createElement(Nl,{route:n.props.route,siteRawUrl:n.props.siteRawUrl,siteAdminUrl:n.props.siteAdminUrl}),i=o.a.createElement(wl,{route:n.props.route});switch(e){case\"/dashboard\":t=o.a.createElement(mf,{siteRawUrl:n.props.siteRawUrl,siteAdminUrl:n.props.siteAdminUrl,rewindStatus:n.props.rewindStatus});break;case\"/my-plan\":t=o.a.createElement(Rf,{siteRawUrl:n.props.siteRawUrl,siteAdminUrl:n.props.siteAdminUrl,rewindStatus:n.props.rewindStatus});break;case\"/plans\":t=o.a.createElement(gm,{siteRawUrl:n.props.siteRawUrl,siteAdminUrl:n.props.siteAdminUrl,rewindStatus:n.props.rewindStatus});break;case\"/plans-prompt\":i=null,t=o.a.createElement(bm,{siteAdminUrl:n.props.siteAdminUrl});break;case\"/settings\":case\"/security\":case\"/performance\":case\"/writing\":case\"/sharing\":case\"/discussion\":case\"/traffic\":case\"/privacy\":i=r,t=o.a.createElement(zd,{route:n.props.route,siteAdminUrl:n.props.siteAdminUrl,siteRawUrl:n.props.siteRawUrl,searchTerm:n.props.searchTerm,rewindStatus:n.props.rewindStatus,userCanManageModules:n.props.userCanManageModules});break;case\"/setup\":n.props.showSetupWizard?(i=null,t=o.a.createElement(Vd,null)):(n.setHistory(\"?page=jetpack#/dashboard\"),t=n.getAtAGlance());break;default:n.props.showSetupWizard?(n.setHistory(\"?page=jetpack#/setup\"),i=null,t=o.a.createElement(Vd,null)):(n.setHistory(\"?page=jetpack#/dashboard\"),t=n.getAtAGlance())}var a=n.props.showSetupWizard?{setup:1,dashboard:2,settings:3}:{setup:-1,dashboard:1,settings:2};return window.wpNavMenuClassChange(a),o.a.createElement(\"div\",{\"aria-live\":\"assertive\"},i,t)})),n}return Ma()(t,e),As()(t,[{key:\"UNSAFE_componentWillMount\",value:function(){this.props.setInitialState(),Da.setApiRoot(this.props.apiRoot),Da.setApiNonce(this.props.apiNonce),this.initializeAnalytics(),window.addEventListener(\"beforeunload\",this.onBeforeUnload),this.props.router.listenBefore(this.routerWillLeave),this.props.isSiteConnected&&Uc.tracks.recordEvent(\"jetpack_wpa_page_view\",{path:this.props.route.path,current_version:this.props.currentVersion})}},{key:\"componentDidMount\",value:function(){var e=jQuery(\".jp-jetpack-connect__container\"),t=jQuery(\".jp-connect-full__container\");e&&t.length>0&&t.prependTo(e)}},{key:\"shouldComponentUpdate\",value:function(e){return![\"/wpbody-content\",\"/wp-toolbar\"].includes(e.route.path)&&(e.siteConnectionStatus!==this.props.siteConnectionStatus||e.isLinked!==this.props.isLinked||e.route.path!==this.props.route.path||e.searchTerm!==this.props.searchTerm||e.rewindStatus!==this.props.rewindStatus)}},{key:\"componentDidUpdate\",value:function(e){if(e.route.path!==this.props.route.path&&this.props.isSiteConnected&&Uc.tracks.recordEvent(\"jetpack_wpa_page_view\",{path:this.props.route.path,current_version:this.props.currentVersion}),e.siteConnectionStatus!==this.props.siteConnectionStatus){var t=jQuery(\"#toplevel_page_jetpack\").find(\"ul.wp-submenu li\");t.find(\'a[href$=\"#/settings\"]\').hide(),t.find(\'a[href$=\"admin.php?page=stats\"]\').hide()}}},{key:\"getAtAGlance\",value:function(){return o.a.createElement(mf,{siteRawUrl:this.props.siteRawUrl,siteAdminUrl:this.props.siteAdminUrl,rewindStatus:this.props.rewindStatus})}},{key:\"setHistory\",value:function(e){Object(It.createHistory)().replace(window.location.pathname+e)}},{key:\"shouldShowAppsCard\",value:function(){return this.props.isSiteConnected&&mg.includes(this.props.route.path)}},{key:\"shouldShowSupportCard\",value:function(){return this.props.isSiteConnected&&mg.includes(this.props.route.path)}},{key:\"shouldShowRewindStatus\",value:function(){return this.props.isSiteConnected&&mg.includes(this.props.route.path)}},{key:\"shouldShowMasthead\",value:function(){return[fg].concat(mg,gg).includes(this.props.route.path)}},{key:\"shouldShowFooter\",value:function(){return[].concat(mg,gg).includes(this.props.route.path)}},{key:\"render\",value:function(){return o.a.createElement(\"div\",null,this.shouldShowMasthead()&&o.a.createElement(Kc,{route:this.props.route}),o.a.createElement(\"div\",{className:\"jp-lower\"},this.shouldShowRewindStatus()&&o.a.createElement(hg,null),o.a.createElement(lg,null),o.a.createElement(cg,null),this.renderMainContent(this.props.route.path),this.shouldShowSupportCard()&&o.a.createElement(Pm,{path:this.props.route.path}),this.shouldShowAppsCard()&&o.a.createElement(Dm,null)),this.shouldShowFooter()&&o.a.createElement(Nm,{siteAdminUrl:this.props.siteAdminUrl}),o.a.createElement(pg,{analytics:Uc}))}}]),t}(o.a.Component),bg=le((function(e){return{siteConnectionStatus:Hs(e),isLinked:Xs(e),siteRawUrl:vi(e),siteAdminUrl:bi(e),searchTerm:wo(e),apiRoot:Ui(e),apiNonce:Ri(e),tracksUserData:Li(e),areThereUnsavedSettings:Oo(e),userCanManageModules:Ei(e),userCanConnectSite:xi(e),isSiteConnected:qs(e),rewindStatus:yo(e),currentVersion:fi(e),showSetupWizard:Ki(e)}}),(function(e){return{setInitialState:function(){return e((function(e){e({type:Kt,initialState:window.Initial_State})}))},clearUnsavedSettingsFlag:function(){return e(Rl())}}}))(bt(vg));window.wpNavMenuClassChange=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{setup:-1,dashboard:1,settings:2},t=window.location.hash;jQuery(\".current\").each((function(e,t){jQuery(t).removeClass(\"current\")}));var n=function(e){return jQuery(\"#toplevel_page_jetpack\").find(\"li\").filter((function(t){return t===e}))[0]};(t=t.split(\"?\")[0].replace(/#/,\"\"))===fg?n(e.setup).classList.add(\"current\"):mg.includes(t)?n(e.dashboard).classList.add(\"current\"):gg.includes(t)&&n(e.settings).classList.add(\"current\");var r=jQuery(\"body\");r.on(\"click\",\'a[href$=\"#/dashboard\"], a[href$=\"#/settings\"], .jp-dash-section-header__settings[href=\"#/security\"], .dops-button[href=\"#/my-plan\"], .dops-button[href=\"#/plans\"], .jp-dash-section-header__external-link[href=\"#/security\"]\',(function(){window.scrollTo(0,0)})),r.on(\"click\",\".jetpack-js-stop-propagation\",(function(e){e.stopPropagation()}))},Lt();var yg=window.Initial_State;yg.locale=JSON.parse(yg.locale),yg.locale=Object(Dt.get)(yg.locale,[\"locale_data\",\"jetpack\"],{}),void 0!==yg.locale[\"\"]?(yg.locale[\"\"].localeSlug=yg.localeSlug,Number.prototype.realToLocaleString=Number.prototype.toLocaleString,Number.prototype.toLocaleString=function(e,t){return e=e||yg.localeSlug,t=t||{},this.realToLocaleString(e,t)}):yg.locale={\"\":{localeSlug:yg.localeSlug}},Is.setLocale(yg.locale);var _g=Mt(It.createHashHistory)(),wg=Object(Pt.syncHistoryWithStore)(_g,kc);(function(){var e=document.getElementById(\"jp-plugin-container\");if(null===e)return;a.a.render(o.a.createElement(\"div\",null,o.a.createElement(h,{store:kc},o.a.createElement(lt,{history:wg},o.a.createElement(wt,{path:\"/\",name:Is.translate(\"At A Glance\",{context:\"Navigation item.\"}),component:bg}),o.a.createElement(wt,{path:\"/setup\",name:Is.translate(\"Set up\"),component:bg}),o.a.createElement(wt,{path:\"/dashboard\",name:Is.translate(\"At A Glance\"),component:bg}),o.a.createElement(wt,{path:\"/my-plan\",name:Is.translate(\"My Plan\",{context:\"Navigation item.\"}),component:bg}),o.a.createElement(wt,{path:\"/plans\",name:Is.translate(\"Plans\",{context:\"Navigation item.\"}),component:bg}),o.a.createElement(wt,{path:\"/plans-prompt\",name:Is.translate(\"Plans\",{context:\"Navigation item.\"}),component:bg}),o.a.createElement(wt,{path:\"/settings\",name:Is.translate(\"Settings\",{context:\"Navigation item.\"}),component:bg}),o.a.createElement(wt,{path:\"/discussion\",name:Is.translate(\"Discussion\",{context:\"Navigation item.\"}),component:bg}),o.a.createElement(wt,{path:\"/security\",name:Is.translate(\"Security\",{context:\"Navigation item.\"}),component:bg}),o.a.createElement(wt,{path:\"/performance\",name:Is.translate(\"Performance\",{context:\"Navigation item.\"}),component:bg}),o.a.createElement(wt,{path:\"/traffic\",name:Is.translate(\"Traffic\",{context:\"Navigation item.\"}),component:bg}),o.a.createElement(wt,{path:\"/writing\",name:Is.translate(\"Writing\",{context:\"Navigation item.\"}),component:bg}),o.a.createElement(wt,{path:\"/sharing\",name:Is.translate(\"Sharing\",{context:\"Navigation item.\"}),component:bg}),o.a.createElement(wt,{path:\"/wpbody-content\",component:bg}),o.a.createElement(wt,{path:\"/wp-toolbar\",component:bg}),o.a.createElement(wt,{path:\"/privacy\",component:bg}),o.a.createElement(wt,{path:\"*\",component:bg})))),e)})()}]));\";}}}}}}}}\";','no');
INSERT INTO `wpwx_options` VALUES (22565,'carousel_display_geo','1','yes'),(2632,'_transient_health-check-site-status-result','{\"good\":\"26\",\"recommended\":\"3\",\"critical\":\"0\"}','yes'),(7519,'elementor_pro_recaptcha_site_key','6LetYfIUAAAAAB0-dIwH1RrEKoTE4c73DfMJEpIg','yes'),(42920,'elementor_page_title_selector','Bonell Technologies','yes'),(3539,'jetpack_activation_source','a:2:{i:0;s:6:\"wp-cli\";i:1;N;}','yes'),(26069,'weforms_settings','a:7:{s:13:\"email_gateway\";s:9:\"wordpress\";s:6:\"credit\";b:1;s:12:\"email_footer\";b:1;s:9:\"recaptcha\";O:8:\"stdClass\":3:{s:3:\"key\";s:0:\"\";s:6:\"secret\";s:0:\"\";s:4:\"type\";s:2:\"v2\";}s:10:\"permission\";s:14:\"manage_options\";s:8:\"gateways\";O:8:\"stdClass\":3:{s:8:\"sendgrid\";s:0:\"\";s:7:\"mailgun\";s:0:\"\";s:9:\"sparkpost\";s:0:\"\";}s:11:\"no_conflict\";b:1;}','yes'),(31185,'wpuf_general','a:5:{s:16:\"recaptcha_public\";s:0:\"\";s:17:\"recaptcha_private\";s:0:\"\";s:14:\"recaptcha_type\";s:2:\"v2\";s:11:\"no_conflict\";b:1;s:12:\"email_footer\";b:1;}','yes'),(22733,'elementor_library_category_children','a:0:{}','yes'),(26092,'weforms_dismiss_xnotice_cf7','yes','yes'),(26093,'weforms_allow_tracking','no','yes'),(3531,'aiowpsec_db_version','1.9','yes'),(3532,'aio_wp_security_configs','a:93:{s:19:\"aiowps_enable_debug\";s:0:\"\";s:36:\"aiowps_remove_wp_generator_meta_info\";s:0:\"\";s:25:\"aiowps_prevent_hotlinking\";s:0:\"\";s:28:\"aiowps_enable_login_lockdown\";s:0:\"\";s:28:\"aiowps_allow_unlock_requests\";s:0:\"\";s:25:\"aiowps_max_login_attempts\";s:1:\"3\";s:24:\"aiowps_retry_time_period\";s:1:\"5\";s:26:\"aiowps_lockout_time_length\";s:2:\"60\";s:28:\"aiowps_set_generic_login_msg\";s:0:\"\";s:26:\"aiowps_enable_email_notify\";s:0:\"\";s:20:\"aiowps_email_address\";s:28:\"admin@bonelltechnologies.com\";s:27:\"aiowps_enable_forced_logout\";s:0:\"\";s:25:\"aiowps_logout_time_period\";s:2:\"60\";s:39:\"aiowps_enable_invalid_username_lockdown\";s:0:\"\";s:43:\"aiowps_instantly_lockout_specific_usernames\";a:0:{}s:32:\"aiowps_unlock_request_secret_key\";s:20:\"17mqdri75anpet1aps44\";s:35:\"aiowps_lockdown_enable_whitelisting\";s:0:\"\";s:36:\"aiowps_lockdown_allowed_ip_addresses\";s:0:\"\";s:26:\"aiowps_enable_whitelisting\";s:0:\"\";s:27:\"aiowps_allowed_ip_addresses\";s:0:\"\";s:27:\"aiowps_enable_login_captcha\";s:0:\"\";s:34:\"aiowps_enable_custom_login_captcha\";s:0:\"\";s:31:\"aiowps_enable_woo_login_captcha\";s:0:\"\";s:34:\"aiowps_enable_woo_register_captcha\";s:0:\"\";s:38:\"aiowps_enable_woo_lostpassword_captcha\";s:0:\"\";s:25:\"aiowps_captcha_secret_key\";s:20:\"5px2v1msoovmbl56bi7l\";s:42:\"aiowps_enable_manual_registration_approval\";s:0:\"\";s:39:\"aiowps_enable_registration_page_captcha\";s:0:\"\";s:35:\"aiowps_enable_registration_honeypot\";s:0:\"\";s:27:\"aiowps_enable_random_prefix\";s:0:\"\";s:31:\"aiowps_enable_automated_backups\";s:0:\"\";s:26:\"aiowps_db_backup_frequency\";s:1:\"4\";s:25:\"aiowps_db_backup_interval\";s:1:\"2\";s:26:\"aiowps_backup_files_stored\";s:1:\"2\";s:32:\"aiowps_send_backup_email_address\";s:0:\"\";s:27:\"aiowps_backup_email_address\";s:28:\"admin@bonelltechnologies.com\";s:27:\"aiowps_disable_file_editing\";s:0:\"\";s:37:\"aiowps_prevent_default_wp_file_access\";s:0:\"\";s:22:\"aiowps_system_log_file\";s:9:\"error_log\";s:26:\"aiowps_enable_blacklisting\";s:0:\"\";s:26:\"aiowps_banned_ip_addresses\";s:0:\"\";s:28:\"aiowps_enable_basic_firewall\";s:0:\"\";s:27:\"aiowps_max_file_upload_size\";s:2:\"10\";s:31:\"aiowps_enable_pingback_firewall\";s:0:\"\";s:38:\"aiowps_disable_xmlrpc_pingback_methods\";s:0:\"\";s:34:\"aiowps_block_debug_log_file_access\";s:0:\"\";s:26:\"aiowps_disable_index_views\";s:0:\"\";s:30:\"aiowps_disable_trace_and_track\";s:0:\"\";s:28:\"aiowps_forbid_proxy_comments\";s:0:\"\";s:29:\"aiowps_deny_bad_query_strings\";s:0:\"\";s:34:\"aiowps_advanced_char_string_filter\";s:0:\"\";s:25:\"aiowps_enable_5g_firewall\";s:0:\"\";s:25:\"aiowps_enable_6g_firewall\";s:0:\"\";s:26:\"aiowps_enable_custom_rules\";s:0:\"\";s:32:\"aiowps_place_custom_rules_at_top\";s:0:\"\";s:19:\"aiowps_custom_rules\";s:0:\"\";s:25:\"aiowps_enable_404_logging\";s:0:\"\";s:28:\"aiowps_enable_404_IP_lockout\";s:0:\"\";s:30:\"aiowps_404_lockout_time_length\";s:2:\"60\";s:28:\"aiowps_404_lock_redirect_url\";s:16:\"http://127.0.0.1\";s:31:\"aiowps_enable_rename_login_page\";s:0:\"\";s:28:\"aiowps_enable_login_honeypot\";s:0:\"\";s:43:\"aiowps_enable_brute_force_attack_prevention\";s:0:\"\";s:30:\"aiowps_brute_force_secret_word\";s:0:\"\";s:24:\"aiowps_cookie_brute_test\";s:0:\"\";s:44:\"aiowps_cookie_based_brute_force_redirect_url\";s:16:\"http://127.0.0.1\";s:59:\"aiowps_brute_force_attack_prevention_pw_protected_exception\";s:0:\"\";s:51:\"aiowps_brute_force_attack_prevention_ajax_exception\";s:0:\"\";s:19:\"aiowps_site_lockout\";s:0:\"\";s:23:\"aiowps_site_lockout_msg\";s:0:\"\";s:30:\"aiowps_enable_spambot_blocking\";s:0:\"\";s:29:\"aiowps_enable_comment_captcha\";s:0:\"\";s:31:\"aiowps_enable_autoblock_spam_ip\";s:0:\"\";s:33:\"aiowps_spam_ip_min_comments_block\";s:0:\"\";s:33:\"aiowps_enable_bp_register_captcha\";s:0:\"\";s:35:\"aiowps_enable_bbp_new_topic_captcha\";s:0:\"\";s:32:\"aiowps_enable_automated_fcd_scan\";s:0:\"\";s:25:\"aiowps_fcd_scan_frequency\";s:1:\"4\";s:24:\"aiowps_fcd_scan_interval\";s:1:\"2\";s:28:\"aiowps_fcd_exclude_filetypes\";s:0:\"\";s:24:\"aiowps_fcd_exclude_files\";s:0:\"\";s:26:\"aiowps_send_fcd_scan_email\";s:0:\"\";s:29:\"aiowps_fcd_scan_email_address\";s:28:\"admin@bonelltechnologies.com\";s:27:\"aiowps_fcds_change_detected\";b:0;s:22:\"aiowps_copy_protection\";s:0:\"\";s:40:\"aiowps_prevent_site_display_inside_frame\";s:0:\"\";s:32:\"aiowps_prevent_users_enumeration\";s:0:\"\";s:42:\"aiowps_disallow_unauthorized_rest_requests\";s:0:\"\";s:25:\"aiowps_ip_retrieve_method\";s:1:\"0\";s:25:\"aiowps_recaptcha_site_key\";s:0:\"\";s:27:\"aiowps_recaptcha_secret_key\";s:0:\"\";s:24:\"aiowps_default_recaptcha\";s:0:\"\";s:19:\"aiowps_fcd_filename\";s:26:\"aiowps_fcd_data_dcoftlg8mg\";}','yes'),(3536,'aiowps_temp_configs','a:93:{s:19:\"aiowps_enable_debug\";s:0:\"\";s:36:\"aiowps_remove_wp_generator_meta_info\";s:0:\"\";s:25:\"aiowps_prevent_hotlinking\";s:0:\"\";s:28:\"aiowps_enable_login_lockdown\";s:0:\"\";s:28:\"aiowps_allow_unlock_requests\";s:0:\"\";s:25:\"aiowps_max_login_attempts\";s:1:\"3\";s:24:\"aiowps_retry_time_period\";s:1:\"5\";s:26:\"aiowps_lockout_time_length\";s:2:\"60\";s:28:\"aiowps_set_generic_login_msg\";s:0:\"\";s:26:\"aiowps_enable_email_notify\";s:0:\"\";s:20:\"aiowps_email_address\";s:28:\"admin@bonelltechnologies.com\";s:27:\"aiowps_enable_forced_logout\";s:0:\"\";s:25:\"aiowps_logout_time_period\";s:2:\"60\";s:39:\"aiowps_enable_invalid_username_lockdown\";s:0:\"\";s:43:\"aiowps_instantly_lockout_specific_usernames\";a:0:{}s:32:\"aiowps_unlock_request_secret_key\";s:20:\"17mqdri75anpet1aps44\";s:35:\"aiowps_lockdown_enable_whitelisting\";s:0:\"\";s:36:\"aiowps_lockdown_allowed_ip_addresses\";s:0:\"\";s:26:\"aiowps_enable_whitelisting\";s:0:\"\";s:27:\"aiowps_allowed_ip_addresses\";s:0:\"\";s:27:\"aiowps_enable_login_captcha\";s:0:\"\";s:34:\"aiowps_enable_custom_login_captcha\";s:0:\"\";s:31:\"aiowps_enable_woo_login_captcha\";s:0:\"\";s:34:\"aiowps_enable_woo_register_captcha\";s:0:\"\";s:38:\"aiowps_enable_woo_lostpassword_captcha\";s:0:\"\";s:25:\"aiowps_captcha_secret_key\";s:20:\"5px2v1msoovmbl56bi7l\";s:42:\"aiowps_enable_manual_registration_approval\";s:0:\"\";s:39:\"aiowps_enable_registration_page_captcha\";s:0:\"\";s:35:\"aiowps_enable_registration_honeypot\";s:0:\"\";s:27:\"aiowps_enable_random_prefix\";s:0:\"\";s:31:\"aiowps_enable_automated_backups\";s:0:\"\";s:26:\"aiowps_db_backup_frequency\";s:1:\"4\";s:25:\"aiowps_db_backup_interval\";s:1:\"2\";s:26:\"aiowps_backup_files_stored\";s:1:\"2\";s:32:\"aiowps_send_backup_email_address\";s:0:\"\";s:27:\"aiowps_backup_email_address\";s:28:\"admin@bonelltechnologies.com\";s:27:\"aiowps_disable_file_editing\";s:0:\"\";s:37:\"aiowps_prevent_default_wp_file_access\";s:0:\"\";s:22:\"aiowps_system_log_file\";s:9:\"error_log\";s:26:\"aiowps_enable_blacklisting\";s:0:\"\";s:26:\"aiowps_banned_ip_addresses\";s:0:\"\";s:28:\"aiowps_enable_basic_firewall\";s:0:\"\";s:27:\"aiowps_max_file_upload_size\";s:2:\"10\";s:31:\"aiowps_enable_pingback_firewall\";s:0:\"\";s:38:\"aiowps_disable_xmlrpc_pingback_methods\";s:0:\"\";s:34:\"aiowps_block_debug_log_file_access\";s:0:\"\";s:26:\"aiowps_disable_index_views\";s:0:\"\";s:30:\"aiowps_disable_trace_and_track\";s:0:\"\";s:28:\"aiowps_forbid_proxy_comments\";s:0:\"\";s:29:\"aiowps_deny_bad_query_strings\";s:0:\"\";s:34:\"aiowps_advanced_char_string_filter\";s:0:\"\";s:25:\"aiowps_enable_5g_firewall\";s:0:\"\";s:25:\"aiowps_enable_6g_firewall\";s:0:\"\";s:26:\"aiowps_enable_custom_rules\";s:0:\"\";s:32:\"aiowps_place_custom_rules_at_top\";s:0:\"\";s:19:\"aiowps_custom_rules\";s:0:\"\";s:25:\"aiowps_enable_404_logging\";s:0:\"\";s:28:\"aiowps_enable_404_IP_lockout\";s:0:\"\";s:30:\"aiowps_404_lockout_time_length\";s:2:\"60\";s:28:\"aiowps_404_lock_redirect_url\";s:16:\"http://127.0.0.1\";s:31:\"aiowps_enable_rename_login_page\";s:0:\"\";s:28:\"aiowps_enable_login_honeypot\";s:0:\"\";s:43:\"aiowps_enable_brute_force_attack_prevention\";s:0:\"\";s:30:\"aiowps_brute_force_secret_word\";s:0:\"\";s:24:\"aiowps_cookie_brute_test\";s:0:\"\";s:44:\"aiowps_cookie_based_brute_force_redirect_url\";s:16:\"http://127.0.0.1\";s:59:\"aiowps_brute_force_attack_prevention_pw_protected_exception\";s:0:\"\";s:51:\"aiowps_brute_force_attack_prevention_ajax_exception\";s:0:\"\";s:19:\"aiowps_site_lockout\";s:0:\"\";s:23:\"aiowps_site_lockout_msg\";s:0:\"\";s:30:\"aiowps_enable_spambot_blocking\";s:0:\"\";s:29:\"aiowps_enable_comment_captcha\";s:0:\"\";s:31:\"aiowps_enable_autoblock_spam_ip\";s:0:\"\";s:33:\"aiowps_spam_ip_min_comments_block\";s:0:\"\";s:33:\"aiowps_enable_bp_register_captcha\";s:0:\"\";s:35:\"aiowps_enable_bbp_new_topic_captcha\";s:0:\"\";s:32:\"aiowps_enable_automated_fcd_scan\";s:0:\"\";s:25:\"aiowps_fcd_scan_frequency\";s:1:\"4\";s:24:\"aiowps_fcd_scan_interval\";s:1:\"2\";s:28:\"aiowps_fcd_exclude_filetypes\";s:0:\"\";s:24:\"aiowps_fcd_exclude_files\";s:0:\"\";s:26:\"aiowps_send_fcd_scan_email\";s:0:\"\";s:29:\"aiowps_fcd_scan_email_address\";s:28:\"admin@bonelltechnologies.com\";s:27:\"aiowps_fcds_change_detected\";b:0;s:22:\"aiowps_copy_protection\";s:0:\"\";s:40:\"aiowps_prevent_site_display_inside_frame\";s:0:\"\";s:32:\"aiowps_prevent_users_enumeration\";s:0:\"\";s:42:\"aiowps_disallow_unauthorized_rest_requests\";s:0:\"\";s:25:\"aiowps_ip_retrieve_method\";s:1:\"0\";s:25:\"aiowps_recaptcha_site_key\";s:0:\"\";s:27:\"aiowps_recaptcha_secret_key\";s:0:\"\";s:24:\"aiowps_default_recaptcha\";s:0:\"\";s:19:\"aiowps_fcd_filename\";s:26:\"aiowps_fcd_data_dcoftlg8mg\";}','yes'),(3549,'jetpack_tos_agreed','1','yes'),(3552,'jetpack_private_options','a:0:{}','yes'),(3551,'_transient_jetpack_assumed_site_creation_date','2020-02-01 14:14:28','yes'),(3557,'jetpack_unique_connection','a:3:{s:9:\"connected\";i:2;s:12:\"disconnected\";i:2;s:7:\"version\";s:5:\"3.6.1\";}','yes'),(3586,'jetpack_active_modules','a:15:{i:0;s:10:\"vaultpress\";i:1;s:12:\"contact-form\";i:2;s:21:\"enhanced-distribution\";i:3;s:8:\"json-api\";i:4;s:5:\"notes\";i:5;s:7:\"protect\";i:6;s:5:\"stats\";i:7;s:18:\"verification-tools\";i:8;s:21:\"woocommerce-analytics\";i:9;s:10:\"photon-cdn\";i:10;s:7:\"monitor\";i:11;s:6:\"photon\";i:12;s:13:\"tiled-gallery\";i:13;s:8:\"carousel\";i:14;s:11:\"lazy-images\";}','yes'),(3597,'jetpack_protect_blocked_attempts','2043','no'),(3595,'jetpack_protect_key','ccec64b861d4f52c6a58952bcdbc374e031d377b','no'),(3687,'jetpack_autoupdate_plugins','a:2:{i:0;s:25:\"vaultpress/vaultpress.php\";i:1;s:19:\"jetpack/jetpack.php\";}','yes'),(3689,'vaultpress','a:12:{s:10:\"db_version\";i:4;s:3:\"key\";s:32:\"O9Zg17I6GTwYyCguLq3U9SBUn6ZZRr23\";s:6:\"secret\";s:42:\"Xt3fPd6o4RVvYsXDIHWIw2lXPheXzfLsa1ceyrj1E8\";s:10:\"connection\";i:1593735165;s:16:\"service_ips_cidr\";a:2:{s:7:\"updated\";i:1593735165;s:4:\"data\";a:1:{i:0;s:13:\"192.0.64.0/18\";}}s:11:\"service_ips\";b:0;s:13:\"do_not_backup\";b:0;s:24:\"do_not_send_backup_pings\";b:1;s:10:\"public_key\";s:451:\"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtCuFfKzBBFy9geaOOhws\nWpj6JI5TQRmht99K4yIkzMKBVJU9IW7ZL3rTLfhHfetXCnqwfMZ+DC9iOsPM9NR/\ncYrn5VbIS5i+owYKoVJyJcVydg3lHJNXPDUxCanCjoLYX5YRbE7GpRdWxgiDJ/Li\neTeeaKFKsVzwhzJeyIJYkPipRCOcQelZQFrPWjx+9jly5Z38wuDFu+lLrly3+Gtv\nPqC5MymnehQJwlb1vwW4I7Nb60n1roR0kFM8ghzd7OFw0QtVOAJmQX1n5hOJC018\nFXaLytRfL62LE4VPAOHAR4u30yapJ+HKWO6NCbzzwMuoPWcQeFzBcF9jSBegTHiY\nDwIDAQAB\n-----END PUBLIC KEY-----\n\";s:19:\"use_openssl_signing\";i:1;s:21:\"connection_error_code\";i:-8;s:24:\"connection_error_message\";s:205:\"This subscription is no longer active. You can check the status of your subscription in the <a href=\"https://dashboard.vaultpress.com/account/\">Account section</a> of the VaultPress dashboard. (code: VP08)\";}','yes'),(65930,'vaultpress_service_ips_external_cidr','a:2:{s:7:\"updated\";i:1593735165;s:4:\"data\";a:14:{i:0;s:15:\"173.245.48.0/20\";i:1;s:15:\"103.21.244.0/22\";i:2;s:15:\"103.22.200.0/22\";i:3;s:13:\"103.31.4.0/22\";i:4;s:15:\"141.101.64.0/18\";i:5;s:16:\"108.162.192.0/18\";i:6;s:15:\"190.93.240.0/20\";i:7;s:15:\"188.114.96.0/20\";i:8;s:16:\"197.234.240.0/22\";i:9;s:15:\"198.41.128.0/17\";i:10;s:14:\"162.158.0.0/15\";i:11;s:13:\"104.16.0.0/12\";i:12;s:13:\"172.64.0.0/13\";i:13;s:13:\"131.0.72.0/22\";}}','no'),(3697,'vaultpress_auto_register','{\"key\":\"EBwf9QjNKV76nZ5ZXkxi4Bi70UGbHwNKnsdx0BEtok\",\"action\":\"response\",\"status\":\"working\",\"error\":\"VaultPress is already registered on this site.\"}','yes'),(4479,'trusted_ip_header','O:8:\"stdClass\":3:{s:14:\"trusted_header\";s:11:\"REMOTE_ADDR\";s:8:\"segments\";i:1;s:7:\"reverse\";b:0;}','no'),(3723,'_vp_current_scan','a:0:{}','yes'),(3627,'wpcom_publish_posts_with_markdown','1','yes'),(3631,'jetpack_testimonial','0','yes'),(3713,'_vp_config_option_name_ignore','a:7:{i:0;s:10:\"vaultpress\";i:1;s:4:\"cron\";i:2;s:20:\"wpsupercache_gc_time\";i:3;s:13:\"rewrite_rules\";i:4;s:18:\"akismet_spam_count\";i:5;s:13:\"/_transient_/\";i:6;s:7:\"/^_vp_/\";}','yes'),(15675,'widget_danfe-featured-post','a:1:{s:12:\"_multiwidget\";i:1;}','yes'),(13475,'_elementor_scheme_last_updated','1590514828','yes'),(7520,'elementor_pro_recaptcha_secret_key','6LetYfIUAAAAAPwzGshk2RjSkv6KS_Yu6QpLRVyp','yes'),(7521,'elementor_pro_recaptcha_v3_site_key','','yes'),(7522,'elementor_pro_recaptcha_v3_secret_key','','yes'),(7523,'elementor_pro_recaptcha_v3_threshold','0.5','yes'),(7524,'elementor_pro_facebook_app_id','','yes'),(7525,'elementor_pro_mailchimp_api_key','','yes'),(7526,'elementor_validate_api_data','','yes'),(7527,'elementor_pro_drip_api_token','','yes'),(7528,'elementor_pro_activecampaign_api_key','','yes'),(7529,'elementor_pro_activecampaign_api_url','','yes'),(7530,'elementor_pro_getresponse_api_key','','yes'),(7531,'elementor_pro_convertkit_api_key','','yes'),(7532,'elementor_pro_mailerlite_api_key','','yes'),(7533,'elementor_typekit-kit-id','','yes'),(66011,'elementor_font_awesome_pro_kit_id','','yes'),(44569,'elementor_unfiltered_files_upload','1','yes'),(15677,'theme_mods_danfe','a:2:{s:18:\"custom_css_post_id\";i:-1;s:18:\"nav_menu_locations\";a:2:{s:7:\"primary\";i:4;s:6:\"social\";i:0;}}','yes'),(20066,'_vp_config_should_ignore_files','a:43:{i:0;s:19:\"@.*/404\\.log\\.txt$@\";i:1;s:16:\"@.*/\\.DS_Store$@\";i:2;s:16:\"@.*/debug\\.log$@\";i:3;s:20:\"@.*\\.timthumb\\.txt$@\";i:4;s:25:\"@.*timthumb[A-Za-z0-9]*$@\";i:5;s:30:\"@.*wp-content/contents/cache/@\";i:6;s:29:\"@.*wp-content/content/cache/@\";i:7;s:21:\"@.*wp-content/cache/@\";i:8;s:25:\"@.*wp-content/old-cache/@\";i:9;s:20:\"@.*wp-content/w3tc/@\";i:10;s:11:\"@/dbcache/@\";i:11;s:11:\"@/pgcache/@\";i:12;s:15:\"@/objectcache/@\";i:13;s:17:\"@/wp_all_backup/@\";i:14;s:23:\"@/backupbuddy_backups/@\";i:15;s:20:\"@/backupbuddy_temp/@\";i:16;s:18:\"@/pb_backupbuddy/@\";i:17;s:24:\"@.*owa/owa-data/caches/@\";i:18;s:12:\"@.*gt-cache@\";i:19;s:28:\"@.*/wpclicks/tracker/cache/@\";i:20;s:27:\"@/wp-content/[^/]+cache.*/@\";i:21;s:28:\"@.*amember/data/new_rewrite@\";i:22;s:18:\"@.*sucuri/blocks/@\";i:23;s:20:\"@.*/_sucuribackup.*@\";i:24;s:25:\"@.*sess_[0-9a-zA-Z]{32,}@\";i:25;s:24:\"@.*wp-content/backups.*@\";i:26;s:30:\"@.*wp-content/backupwordpress@\";i:27;s:34:\"@.*wp-content/backup-[0-9a-zA-Z]+@\";i:28;s:35:\"@.*wp-content/[0-9a-zA-Z]+-backups@\";i:29;s:23:\"@backwpup-[0-9a-zA-Z]+@\";i:30;s:23:\"@/wp-content/mysql.sql@\";i:31;s:16:\"@.*mwp_backups/@\";i:32;s:21:\"@.*managewp/backups/@\";i:33;s:17:\"@.*wp-snapshots/@\";i:34;s:15:\"@.*error_log.*@\";i:35;s:16:\"@.*/error-log.*@\";i:36;s:16:\"@.*/error\\.log$@\";i:37;s:18:\"@.*/captcha/tmp.*@\";i:38;s:29:\"@.*\\.mt_backup_[0-9a-z:_]*$@i\";i:39;s:26:\"@.*vp-uploaded-restore-.*@\";i:40;s:20:\"@.*vp-restore-sql.*@\";i:41;s:59:\"@wp-content/plugins/files/civicrm/ConfigAndLog/.*\\.log.*?$@\";i:42;s:35:\"@.*wp-content/updraft/backup_[^/]*@\";}','yes'),(26032,'wpcf7','a:2:{s:7:\"version\";s:5:\"5.1.9\";s:13:\"bulk_validate\";a:4:{s:9:\"timestamp\";i:1588799350;s:7:\"version\";s:5:\"5.1.7\";s:11:\"count_valid\";i:1;s:13:\"count_invalid\";i:0;}}','yes'),(22359,'theme_switched_via_customizer','','yes'),(22360,'customize_stashed_theme_mods','a:0:{}','no'),(22346,'_transient_consulting_thinkup_transient_categories','1','yes'),(22086,'jetpack_protect_whitelist','a:0:{}','yes'),(22362,'category_children','a:0:{}','yes'),(22113,'carousel_background_color','black','yes'),(22115,'carousel_display_exif','1','yes'),(22117,'jetpack_testimonial_posts_per_page','10','yes'),(22119,'jetpack_portfolio','0','yes'),(22121,'jetpack_portfolio_posts_per_page','10','yes'),(65893,'jpsq_sync-1593734339.794104-851943-24','a:6:{i:0;s:21:\"jetpack_sync_callable\";i:1;a:2:{i:0;s:28:\"has_file_system_write_access\";i:1;b:1;}i:2;i:1;i:3;d:1593734339.7940819263458251953125;i:4;b:0;i:5;a:14:{s:13:\"wpcom_user_id\";N;s:16:\"external_user_id\";i:1;s:12:\"display_name\";s:7:\"Sault54\";s:10:\"user_email\";s:28:\"admin@bonelltechnologies.com\";s:10:\"user_roles\";a:1:{i:0;s:13:\"administrator\";}s:15:\"translated_role\";s:13:\"administrator\";s:7:\"is_cron\";b:0;s:7:\"is_rest\";b:0;s:9:\"is_xmlrpc\";b:0;s:10:\"is_wp_rest\";b:0;s:7:\"is_ajax\";b:0;s:11:\"is_wp_admin\";b:1;s:6:\"is_cli\";b:0;s:8:\"from_url\";s:146:\"https://bonelltechnologies.com/wp-admin/plugins.php?action=deactivate&plugin=jetpack%2Fjetpack.php&plugin_status=all&paged=1&s&_wpnonce=cd8fa3bd9b\";}}','no'),(65931,'_elementor_pro_license_data_fallback','a:2:{s:7:\"timeout\";i:1593854342;s:5:\"value\";s:362:\"{\"success\":true,\"license\":\"valid\",\"item_id\":false,\"item_name\":\"Elementor Pro\",\"checksum\":\"4dd2e42312c313654f8e6e5460498a22\",\"expires\":\"2021-05-02 23:59:59\",\"payment_id\":56228,\"customer_name\":\"Robert Bonell\",\"customer_email\":\"rkbonell47@gmail.com\",\"license_limit\":1,\"site_count\":1,\"activations_left\":0,\"price_id\":\"1\",\"subscriptions\":\"enable\",\"renewal_discount\":0}\";}','yes'),(65932,'_elementor_pro_license_data','a:2:{s:7:\"timeout\";i:1593811142;s:5:\"value\";s:362:\"{\"success\":true,\"license\":\"valid\",\"item_id\":false,\"item_name\":\"Elementor Pro\",\"checksum\":\"4dd2e42312c313654f8e6e5460498a22\",\"expires\":\"2021-05-02 23:59:59\",\"payment_id\":56228,\"customer_name\":\"Robert Bonell\",\"customer_email\":\"rkbonell47@gmail.com\",\"license_limit\":1,\"site_count\":1,\"activations_left\":0,\"price_id\":\"1\",\"subscriptions\":\"enable\",\"renewal_discount\":0}\";}','yes'),(42849,'_vp_ai_ping','','no'),(38082,'elementor_fonts_manager_font_types','a:0:{}','yes'),(38083,'elementor_fonts_manager_fonts','a:0:{}','yes'),(64336,'jetpack_active_plan','a:8:{s:10:\"product_id\";i:2002;s:12:\"product_slug\";s:12:\"jetpack_free\";s:12:\"product_name\";s:12:\"Jetpack Free\";s:18:\"product_name_short\";s:4:\"Free\";s:7:\"expired\";b:0;s:13:\"user_is_owner\";b:0;s:7:\"is_free\";b:1;s:8:\"features\";a:2:{s:6:\"active\";a:2:{i:0;s:7:\"akismet\";i:1;s:14:\"send-a-message\";}s:9:\"available\";a:13:{s:7:\"akismet\";a:6:{i:0;s:15:\"jetpack_premium\";i:1;s:16:\"jetpack_business\";i:2;s:16:\"jetpack_personal\";i:3;s:23:\"jetpack_premium_monthly\";i:4;s:24:\"jetpack_business_monthly\";i:5;s:24:\"jetpack_personal_monthly\";}s:18:\"vaultpress-backups\";a:4:{i:0;s:15:\"jetpack_premium\";i:1;s:16:\"jetpack_business\";i:2;s:23:\"jetpack_premium_monthly\";i:3;s:24:\"jetpack_business_monthly\";}s:25:\"vaultpress-backup-archive\";a:4:{i:0;s:15:\"jetpack_premium\";i:1;s:16:\"jetpack_business\";i:2;s:23:\"jetpack_premium_monthly\";i:3;s:24:\"jetpack_business_monthly\";}s:24:\"vaultpress-storage-space\";a:4:{i:0;s:15:\"jetpack_premium\";i:1;s:16:\"jetpack_business\";i:2;s:23:\"jetpack_premium_monthly\";i:3;s:24:\"jetpack_business_monthly\";}s:29:\"vaultpress-automated-restores\";a:4:{i:0;s:15:\"jetpack_premium\";i:1;s:16:\"jetpack_business\";i:2;s:23:\"jetpack_premium_monthly\";i:3;s:24:\"jetpack_business_monthly\";}s:15:\"simple-payments\";a:4:{i:0;s:15:\"jetpack_premium\";i:1;s:16:\"jetpack_business\";i:2;s:23:\"jetpack_premium_monthly\";i:3;s:24:\"jetpack_business_monthly\";}s:8:\"calendly\";a:4:{i:0;s:15:\"jetpack_premium\";i:1;s:16:\"jetpack_business\";i:2;s:23:\"jetpack_premium_monthly\";i:3;s:24:\"jetpack_business_monthly\";}s:9:\"opentable\";a:4:{i:0;s:15:\"jetpack_premium\";i:1;s:16:\"jetpack_business\";i:2;s:23:\"jetpack_premium_monthly\";i:3;s:24:\"jetpack_business_monthly\";}s:14:\"send-a-message\";a:6:{i:0;s:15:\"jetpack_premium\";i:1;s:16:\"jetpack_business\";i:2;s:16:\"jetpack_personal\";i:3;s:23:\"jetpack_premium_monthly\";i:4;s:24:\"jetpack_business_monthly\";i:5;s:24:\"jetpack_personal_monthly\";}s:7:\"support\";a:6:{i:0;s:15:\"jetpack_premium\";i:1;s:16:\"jetpack_business\";i:2;s:16:\"jetpack_personal\";i:3;s:23:\"jetpack_premium_monthly\";i:4;s:24:\"jetpack_business_monthly\";i:5;s:24:\"jetpack_personal_monthly\";}s:14:\"premium-themes\";a:2:{i:0;s:16:\"jetpack_business\";i:1;s:24:\"jetpack_business_monthly\";}s:28:\"vaultpress-security-scanning\";a:2:{i:0;s:16:\"jetpack_business\";i:1;s:24:\"jetpack_business_monthly\";}s:9:\"polldaddy\";a:2:{i:0;s:16:\"jetpack_business\";i:1;s:24:\"jetpack_business_monthly\";}}}}','yes'),(44499,'jetpack_protect_activating','activating','no'),(65956,'_transient_timeout_elementor_remote_info_api_data_2.9.13','1593825543','no'),(65957,'_transient_elementor_remote_info_api_data_2.9.13','a:4:{s:9:\"timestamp\";i:1593781593;s:14:\"upgrade_notice\";a:3:{s:7:\"version\";s:5:\"2.0.0\";s:7:\"message\";s:0:\"\";s:11:\"update_link\";s:0:\"\";}s:11:\"pro_widgets\";a:59:{i:0;a:4:{s:4:\"name\";s:5:\"posts\";s:5:\"title\";s:5:\"Posts\";s:4:\"icon\";s:15:\"eicon-post-list\";s:10:\"categories\";s:16:\"[\"pro-elements\"]\";}i:1;a:4:{s:4:\"name\";s:9:\"portfolio\";s:5:\"title\";s:9:\"Portfolio\";s:4:\"icon\";s:18:\"eicon-gallery-grid\";s:10:\"categories\";s:16:\"[\"pro-elements\"]\";}i:2;a:4:{s:4:\"name\";s:7:\"gallery\";s:5:\"title\";s:7:\"Gallery\";s:4:\"icon\";s:23:\"eicon-gallery-justified\";s:10:\"categories\";s:16:\"[\"pro-elements\"]\";}i:3;a:4:{s:4:\"name\";s:4:\"form\";s:5:\"title\";s:4:\"Form\";s:4:\"icon\";s:21:\"eicon-form-horizontal\";s:10:\"categories\";s:16:\"[\"pro-elements\"]\";}i:4;a:4:{s:4:\"name\";s:5:\"login\";s:5:\"title\";s:5:\"Login\";s:4:\"icon\";s:15:\"eicon-lock-user\";s:10:\"categories\";s:16:\"[\"pro-elements\"]\";}i:5;a:4:{s:4:\"name\";s:6:\"slides\";s:5:\"title\";s:6:\"Slides\";s:4:\"icon\";s:12:\"eicon-slides\";s:10:\"categories\";s:16:\"[\"pro-elements\"]\";}i:6;a:4:{s:4:\"name\";s:8:\"nav-menu\";s:5:\"title\";s:8:\"Nav Menu\";s:4:\"icon\";s:14:\"eicon-nav-menu\";s:10:\"categories\";s:33:\"[\"pro-elements\",\"theme-elements\"]\";}i:7;a:4:{s:4:\"name\";s:17:\"animated-headline\";s:5:\"title\";s:17:\"Animated Headline\";s:4:\"icon\";s:23:\"eicon-animated-headline\";s:10:\"categories\";s:16:\"[\"pro-elements\"]\";}i:8;a:4:{s:4:\"name\";s:10:\"price-list\";s:5:\"title\";s:10:\"Price List\";s:4:\"icon\";s:16:\"eicon-price-list\";s:10:\"categories\";s:16:\"[\"pro-elements\"]\";}i:9;a:4:{s:4:\"name\";s:11:\"price-table\";s:5:\"title\";s:11:\"Price Table\";s:4:\"icon\";s:17:\"eicon-price-table\";s:10:\"categories\";s:16:\"[\"pro-elements\"]\";}i:10;a:4:{s:4:\"name\";s:8:\"flip-box\";s:5:\"title\";s:8:\"Flip Box\";s:4:\"icon\";s:14:\"eicon-flip-box\";s:10:\"categories\";s:16:\"[\"pro-elements\"]\";}i:11;a:4:{s:4:\"name\";s:14:\"call-to-action\";s:5:\"title\";s:14:\"Call to Action\";s:4:\"icon\";s:20:\"eicon-image-rollover\";s:10:\"categories\";s:16:\"[\"pro-elements\"]\";}i:12;a:4:{s:4:\"name\";s:14:\"media-carousel\";s:5:\"title\";s:14:\"Media Carousel\";s:4:\"icon\";s:20:\"eicon-media-carousel\";s:10:\"categories\";s:16:\"[\"pro-elements\"]\";}i:13;a:4:{s:4:\"name\";s:20:\"testimonial-carousel\";s:5:\"title\";s:20:\"Testimonial Carousel\";s:4:\"icon\";s:26:\"eicon-testimonial-carousel\";s:10:\"categories\";s:16:\"[\"pro-elements\"]\";}i:14;a:4:{s:4:\"name\";s:7:\"reviews\";s:5:\"title\";s:7:\"Reviews\";s:4:\"icon\";s:12:\"eicon-review\";s:10:\"categories\";s:16:\"[\"pro-elements\"]\";}i:15;a:4:{s:4:\"name\";s:17:\"table-of-contents\";s:5:\"title\";s:17:\"Table of Contents\";s:4:\"icon\";s:23:\"eicon-table-of-contents\";s:10:\"categories\";s:33:\"[\"pro-elements\",\"theme-elements\"]\";}i:16;a:4:{s:4:\"name\";s:9:\"countdown\";s:5:\"title\";s:9:\"Countdown\";s:4:\"icon\";s:15:\"eicon-countdown\";s:10:\"categories\";s:16:\"[\"pro-elements\"]\";}i:17;a:4:{s:4:\"name\";s:13:\"share-buttons\";s:5:\"title\";s:13:\"Share Buttons\";s:4:\"icon\";s:11:\"eicon-share\";s:10:\"categories\";s:16:\"[\"pro-elements\"]\";}i:18;a:4:{s:4:\"name\";s:11:\"search-form\";s:5:\"title\";s:11:\"Search Form\";s:4:\"icon\";s:17:\"eicon-site-search\";s:10:\"categories\";s:18:\"[\"theme-elements\"]\";}i:19;a:4:{s:4:\"name\";s:10:\"author-box\";s:5:\"title\";s:10:\"Author Box\";s:4:\"icon\";s:12:\"eicon-person\";s:10:\"categories\";s:18:\"[\"theme-elements\"]\";}i:20;a:4:{s:4:\"name\";s:13:\"post-comments\";s:5:\"title\";s:13:\"Post Comments\";s:4:\"icon\";s:14:\"eicon-comments\";s:10:\"categories\";s:18:\"[\"theme-elements\"]\";}i:21;a:4:{s:4:\"name\";s:15:\"post-navigation\";s:5:\"title\";s:15:\"Post Navigation\";s:4:\"icon\";s:21:\"eicon-post-navigation\";s:10:\"categories\";s:18:\"[\"theme-elements\"]\";}i:22;a:4:{s:4:\"name\";s:9:\"post-info\";s:5:\"title\";s:9:\"Post Info\";s:4:\"icon\";s:15:\"eicon-post-info\";s:10:\"categories\";s:18:\"[\"theme-elements\"]\";}i:23;a:4:{s:4:\"name\";s:7:\"sitemap\";s:5:\"title\";s:7:\"Sitemap\";s:4:\"icon\";s:13:\"eicon-sitemap\";s:10:\"categories\";s:18:\"[\"theme-elements\"]\";}i:24;a:4:{s:4:\"name\";s:11:\"breadcrumbs\";s:5:\"title\";s:11:\"Breadcrumbs\";s:4:\"icon\";s:11:\"eicon-yoast\";s:10:\"categories\";s:18:\"[\"theme-elements\"]\";}i:25;a:4:{s:4:\"name\";s:10:\"blockquote\";s:5:\"title\";s:10:\"Blockquote\";s:4:\"icon\";s:16:\"eicon-blockquote\";s:10:\"categories\";s:16:\"[\"pro-elements\"]\";}i:26;a:4:{s:4:\"name\";s:19:\"wc-archive-products\";s:5:\"title\";s:16:\"Archive Products\";s:4:\"icon\";s:14:\"eicon-products\";s:10:\"categories\";s:24:\"[\"woocommerce-elements\"]\";}i:27;a:4:{s:4:\"name\";s:31:\"woocommerce-archive-description\";s:5:\"title\";s:19:\"Archive Description\";s:4:\"icon\";s:25:\"eicon-product-description\";s:10:\"categories\";s:24:\"[\"woocommerce-elements\"]\";}i:28;a:4:{s:4:\"name\";s:20:\"woocommerce-products\";s:5:\"title\";s:8:\"Products\";s:4:\"icon\";s:14:\"eicon-products\";s:10:\"categories\";s:24:\"[\"woocommerce-elements\"]\";}i:29;a:4:{s:4:\"name\";s:22:\"woocommerce-breadcrumb\";s:5:\"title\";s:23:\"WooCommerce Breadcrumbs\";s:4:\"icon\";s:25:\"eicon-product-breadcrumbs\";s:10:\"categories\";s:24:\"[\"woocommerce-elements\"]\";}i:30;a:4:{s:4:\"name\";s:14:\"wc-add-to-cart\";s:5:\"title\";s:18:\"Custom Add To Cart\";s:4:\"icon\";s:17:\"eicon-woocommerce\";s:10:\"categories\";s:24:\"[\"woocommerce-elements\"]\";}i:31;a:4:{s:4:\"name\";s:11:\"wc-elements\";s:5:\"title\";s:17:\"WooCommerce Pages\";s:4:\"icon\";s:19:\"eicon-product-pages\";s:10:\"categories\";s:24:\"[\"woocommerce-elements\"]\";}i:32;a:4:{s:4:\"name\";s:13:\"wc-categories\";s:5:\"title\";s:18:\"Product Categories\";s:4:\"icon\";s:24:\"eicon-product-categories\";s:10:\"categories\";s:24:\"[\"woocommerce-elements\"]\";}i:33;a:4:{s:4:\"name\";s:21:\"woocommerce-menu-cart\";s:5:\"title\";s:9:\"Menu Cart\";s:4:\"icon\";s:10:\"eicon-cart\";s:10:\"categories\";s:41:\"[\"theme-elements\",\"woocommerce-elements\"]\";}i:34;a:4:{s:4:\"name\";s:25:\"woocommerce-product-title\";s:5:\"title\";s:13:\"Product Title\";s:4:\"icon\";s:19:\"eicon-product-title\";s:10:\"categories\";s:24:\"[\"woocommerce-elements\"]\";}i:35;a:4:{s:4:\"name\";s:26:\"woocommerce-product-images\";s:5:\"title\";s:14:\"Product Images\";s:4:\"icon\";s:20:\"eicon-product-images\";s:10:\"categories\";s:24:\"[\"woocommerce-elements\"]\";}i:36;a:4:{s:4:\"name\";s:25:\"woocommerce-product-price\";s:5:\"title\";s:13:\"Product Price\";s:4:\"icon\";s:19:\"eicon-product-price\";s:10:\"categories\";s:24:\"[\"woocommerce-elements\"]\";}i:37;a:4:{s:4:\"name\";s:31:\"woocommerce-product-add-to-cart\";s:5:\"title\";s:11:\"Add To Cart\";s:4:\"icon\";s:25:\"eicon-product-add-to-cart\";s:10:\"categories\";s:24:\"[\"woocommerce-elements\"]\";}i:38;a:4:{s:4:\"name\";s:26:\"woocommerce-product-rating\";s:5:\"title\";s:14:\"Product Rating\";s:4:\"icon\";s:20:\"eicon-product-rating\";s:10:\"categories\";s:24:\"[\"woocommerce-elements\"]\";}i:39;a:4:{s:4:\"name\";s:25:\"woocommerce-product-stock\";s:5:\"title\";s:13:\"Product Stock\";s:4:\"icon\";s:19:\"eicon-product-stock\";s:10:\"categories\";s:24:\"[\"woocommerce-elements\"]\";}i:40;a:4:{s:4:\"name\";s:24:\"woocommerce-product-meta\";s:5:\"title\";s:12:\"Product Meta\";s:4:\"icon\";s:18:\"eicon-product-meta\";s:10:\"categories\";s:24:\"[\"woocommerce-elements\"]\";}i:41;a:4:{s:4:\"name\";s:37:\"woocommerce-product-short-description\";s:5:\"title\";s:17:\"Short Description\";s:4:\"icon\";s:25:\"eicon-product-description\";s:10:\"categories\";s:24:\"[\"woocommerce-elements\"]\";}i:42;a:4:{s:4:\"name\";s:29:\"woocommerce-product-data-tabs\";s:5:\"title\";s:17:\"Product Data Tabs\";s:4:\"icon\";s:18:\"eicon-product-tabs\";s:10:\"categories\";s:24:\"[\"woocommerce-elements\"]\";}i:43;a:4:{s:4:\"name\";s:42:\"woocommerce-product-additional-information\";s:5:\"title\";s:22:\"Additional Information\";s:4:\"icon\";s:19:\" eicon-product-info\";s:10:\"categories\";s:24:\"[\"woocommerce-elements\"]\";}i:44;a:4:{s:4:\"name\";s:27:\"woocommerce-product-related\";s:5:\"title\";s:15:\"Product Related\";s:4:\"icon\";s:21:\"eicon-product-related\";s:10:\"categories\";s:24:\"[\"woocommerce-elements\"]\";}i:45;a:4:{s:4:\"name\";s:26:\"woocommerce-product-upsell\";s:5:\"title\";s:7:\"Upsells\";s:4:\"icon\";s:20:\"eicon-product-upsell\";s:10:\"categories\";s:24:\"[\"woocommerce-elements\"]\";}i:46;a:4:{s:4:\"name\";s:15:\"facebook-button\";s:5:\"title\";s:15:\"Facebook Button\";s:4:\"icon\";s:23:\"eicon-facebook-like-box\";s:10:\"categories\";s:16:\"[\"pro-elements\"]\";}i:47;a:4:{s:4:\"name\";s:17:\"facebook-comments\";s:5:\"title\";s:17:\"Facebook Comments\";s:4:\"icon\";s:23:\"eicon-facebook-comments\";s:10:\"categories\";s:16:\"[\"pro-elements\"]\";}i:48;a:4:{s:4:\"name\";s:14:\"facebook-embed\";s:5:\"title\";s:14:\"Facebook Embed\";s:4:\"icon\";s:14:\"eicon-fb-embed\";s:10:\"categories\";s:16:\"[\"pro-elements\"]\";}i:49;a:4:{s:4:\"name\";s:13:\"facebook-page\";s:5:\"title\";s:13:\"Facebook Page\";s:4:\"icon\";s:13:\"eicon-fb-feed\";s:10:\"categories\";s:16:\"[\"pro-elements\"]\";}i:50;a:4:{s:4:\"name\";s:8:\"template\";s:5:\"title\";s:8:\"Template\";s:4:\"icon\";s:19:\"eicon-document-file\";s:10:\"categories\";s:16:\"[\"pro-elements\"]\";}i:51;a:4:{s:4:\"name\";s:15:\"theme-site-logo\";s:5:\"title\";s:9:\"Site Logo\";s:4:\"icon\";s:15:\"eicon-site-logo\";s:10:\"categories\";s:18:\"[\"theme-elements\"]\";}i:52;a:4:{s:4:\"name\";s:16:\"theme-site-title\";s:5:\"title\";s:10:\"Site Title\";s:4:\"icon\";s:16:\"eicon-site-title\";s:10:\"categories\";s:18:\"[\"theme-elements\"]\";}i:53;a:4:{s:4:\"name\";s:16:\"theme-page-title\";s:5:\"title\";s:10:\"Page Title\";s:4:\"icon\";s:19:\"eicon-archive-title\";s:10:\"categories\";s:18:\"[\"theme-elements\"]\";}i:54;a:4:{s:4:\"name\";s:16:\"theme-post-title\";s:5:\"title\";s:10:\"Post Title\";s:4:\"icon\";s:16:\"eicon-post-title\";s:10:\"categories\";s:18:\"[\"theme-elements\"]\";}i:55;a:4:{s:4:\"name\";s:18:\"theme-post-excerpt\";s:5:\"title\";s:12:\"Post Excerpt\";s:4:\"icon\";s:18:\"eicon-post-excerpt\";s:10:\"categories\";s:18:\"[\"theme-elements\"]\";}i:56;a:4:{s:4:\"name\";s:25:\"theme-post-featured-image\";s:5:\"title\";s:14:\"Featured Image\";s:4:\"icon\";s:20:\"eicon-featured-image\";s:10:\"categories\";s:18:\"[\"theme-elements\"]\";}i:57;a:4:{s:4:\"name\";s:19:\"theme-archive-title\";s:5:\"title\";s:13:\"Archive Title\";s:4:\"icon\";s:19:\"eicon-archive-title\";s:10:\"categories\";s:18:\"[\"theme-elements\"]\";}i:58;a:4:{s:4:\"name\";s:13:\"archive-posts\";s:5:\"title\";s:13:\"Archive Posts\";s:4:\"icon\";s:19:\"eicon-archive-posts\";s:10:\"categories\";s:18:\"[\"theme-elements\"]\";}}s:17:\"canary_deployment\";a:2:{s:11:\"plugin_info\";a:11:{s:2:\"id\";s:23:\"w.org/plugins/elementor\";s:4:\"slug\";s:9:\"elementor\";s:6:\"plugin\";s:23:\"elementor/elementor.php\";s:11:\"new_version\";s:6:\"2.9.13\";s:7:\"package\";s:59:\"https://downloads.wordpress.org/plugin/elementor.2.9.13.zip\";s:3:\"url\";s:40:\"https://wordpress.org/plugins/elementor/\";s:5:\"icons\";a:3:{s:2:\"2x\";s:62:\"https://ps.w.org/elementor/assets/icon-256x256.png?rev=1427768\";s:2:\"1x\";s:54:\"https://ps.w.org/elementor/assets/icon.svg?rev=1426809\";s:3:\"svg\";s:54:\"https://ps.w.org/elementor/assets/icon.svg?rev=1426809\";}s:7:\"banners\";a:2:{s:2:\"2x\";s:65:\"https://ps.w.org/elementor/assets/banner-1544x500.png?rev=1475479\";s:2:\"1x\";s:64:\"https://ps.w.org/elementor/assets/banner-772x250.png?rev=1475479\";}s:11:\"banners_rtl\";a:0:{}s:6:\"tested\";s:3:\"5.4\";s:12:\"requires_php\";s:3:\"5.6\";}s:10:\"conditions\";a:1:{i:0;a:1:{i:0;a:3:{s:4:\"type\";s:8:\"language\";s:9:\"languages\";a:6:{i:0;s:5:\"he_IL\";i:1;s:5:\"en_GB\";i:2;s:5:\"en_NZ\";i:3;s:5:\"en_ZA\";i:4;s:5:\"en_AU\";i:5;s:5:\"en_CA\";}s:8:\"operator\";s:2:\"in\";}}}}}','no'),(22356,'theme_switch_menu_locations','a:0:{}','yes'),(26078,'weforms_installed','1588813795','yes'),(26083,'weforms_version','1.4.8','yes'),(26090,'widget_weforms_widget','a:1:{s:12:\"_multiwidget\";i:1;}','yes'),(66037,'_site_transient_timeout_theme_roots','1593811121','no'),(66038,'_site_transient_theme_roots','a:7:{s:10:\"consulting\";s:7:\"/themes\";s:5:\"danfe\";s:7:\"/themes\";s:12:\"digimag-lite\";s:7:\"/themes\";s:14:\"twentynineteen\";s:7:\"/themes\";s:15:\"twentyseventeen\";s:7:\"/themes\";s:13:\"twentysixteen\";s:7:\"/themes\";s:12:\"twentytwenty\";s:7:\"/themes\";}','no'),(44213,'_site_transient_update_themes','O:8:\"stdClass\":4:{s:12:\"last_checked\";i:1593809321;s:7:\"checked\";a:7:{s:10:\"consulting\";s:6:\"1.2.16\";s:5:\"danfe\";s:5:\"1.0.9\";s:12:\"digimag-lite\";s:5:\"1.1.2\";s:14:\"twentynineteen\";s:3:\"1.6\";s:15:\"twentyseventeen\";s:3:\"2.3\";s:13:\"twentysixteen\";s:3:\"2.1\";s:12:\"twentytwenty\";s:3:\"1.4\";}s:8:\"response\";a:0:{}s:12:\"translations\";a:0:{}}','no'),(44448,'_transient_timeout_jetpack_file_data_8.6.1','1595110233','no'),(44449,'_transient_jetpack_file_data_8.6.1','a:52:{s:32:\"212a162108f1dc20cc6c768d5b47d4f2\";a:14:{s:4:\"name\";s:0:\"\";s:11:\"description\";s:0:\"\";s:4:\"sort\";s:0:\"\";s:20:\"recommendation_order\";s:0:\"\";s:10:\"introduced\";s:0:\"\";s:7:\"changed\";s:0:\"\";s:10:\"deactivate\";s:0:\"\";s:4:\"free\";s:0:\"\";s:19:\"requires_connection\";s:0:\"\";s:13:\"auto_activate\";s:0:\"\";s:11:\"module_tags\";s:0:\"\";s:7:\"feature\";s:0:\"\";s:25:\"additional_search_queries\";s:0:\"\";s:12:\"plan_classes\";s:0:\"\";}s:32:\"d3576702faeb399eb47ad20f586c3804\";a:14:{s:4:\"name\";s:8:\"Carousel\";s:11:\"description\";s:75:\"Display images and galleries in a gorgeous, full-screen browsing experience\";s:4:\"sort\";s:2:\"22\";s:20:\"recommendation_order\";s:2:\"12\";s:10:\"introduced\";s:3:\"1.5\";s:7:\"changed\";s:0:\"\";s:10:\"deactivate\";s:0:\"\";s:4:\"free\";s:0:\"\";s:19:\"requires_connection\";s:2:\"No\";s:13:\"auto_activate\";s:2:\"No\";s:11:\"module_tags\";s:17:\"Photos and Videos\";s:7:\"feature\";s:10:\"Appearance\";s:25:\"additional_search_queries\";s:80:\"gallery, carousel, diaporama, slideshow, images, lightbox, exif, metadata, image\";s:12:\"plan_classes\";s:0:\"\";}s:32:\"55409a5f8388b8d33e2350ef80de3ea3\";a:14:{s:4:\"name\";s:13:\"Comment Likes\";s:11:\"description\";s:64:\"Increase visitor engagement by adding a Like button to comments.\";s:4:\"sort\";s:2:\"39\";s:20:\"recommendation_order\";s:2:\"17\";s:10:\"introduced\";s:3:\"5.1\";s:7:\"changed\";s:0:\"\";s:10:\"deactivate\";s:0:\"\";s:4:\"free\";s:0:\"\";s:19:\"requires_connection\";s:3:\"Yes\";s:13:\"auto_activate\";s:2:\"No\";s:11:\"module_tags\";s:6:\"Social\";s:7:\"feature\";s:0:\"\";s:25:\"additional_search_queries\";s:37:\"like widget, like button, like, likes\";s:12:\"plan_classes\";s:0:\"\";}s:32:\"e914e6d31cb61f5a9ef86e1b9573430e\";a:14:{s:4:\"name\";s:8:\"Comments\";s:11:\"description\";s:81:\"Let visitors use a WordPress.com, Twitter, Facebook, or Google account to comment\";s:4:\"sort\";s:2:\"20\";s:20:\"recommendation_order\";s:0:\"\";s:10:\"introduced\";s:3:\"1.4\";s:7:\"changed\";s:0:\"\";s:10:\"deactivate\";s:0:\"\";s:4:\"free\";s:0:\"\";s:19:\"requires_connection\";s:3:\"Yes\";s:13:\"auto_activate\";s:2:\"No\";s:11:\"module_tags\";s:6:\"Social\";s:7:\"feature\";s:10:\"Engagement\";s:25:\"additional_search_queries\";s:53:\"comments, comment, facebook, twitter, google+, social\";s:12:\"plan_classes\";s:0:\"\";}s:32:\"f1b8c61705fb18eb8c8584c9f9cdffd9\";a:14:{s:4:\"name\";s:12:\"Contact Form\";s:11:\"description\";s:81:\"Add a customizable contact form to any post or page using the Jetpack Form Block.\";s:4:\"sort\";s:2:\"15\";s:20:\"recommendation_order\";s:2:\"14\";s:10:\"introduced\";s:3:\"1.3\";s:7:\"changed\";s:0:\"\";s:10:\"deactivate\";s:0:\"\";s:4:\"free\";s:0:\"\";s:19:\"requires_connection\";s:2:\"No\";s:13:\"auto_activate\";s:3:\"Yes\";s:11:\"module_tags\";s:5:\"Other\";s:7:\"feature\";s:7:\"Writing\";s:25:\"additional_search_queries\";s:214:\"contact, form, grunion, feedback, submission, contact form, email, feedback, contact form plugin, custom form, custom form plugin, form builder, forms, form maker, survey, contact by jetpack, contact us, forms free\";s:12:\"plan_classes\";s:0:\"\";}s:32:\"4fca6eb23a793155d69fdb119a094926\";a:14:{s:4:\"name\";s:9:\"Copy Post\";s:11:\"description\";s:77:\"Enable the option to copy entire posts and pages, including tags and settings\";s:4:\"sort\";s:2:\"15\";s:20:\"recommendation_order\";s:0:\"\";s:10:\"introduced\";s:3:\"7.0\";s:7:\"changed\";s:0:\"\";s:10:\"deactivate\";s:0:\"\";s:4:\"free\";s:0:\"\";s:19:\"requires_connection\";s:2:\"No\";s:13:\"auto_activate\";s:2:\"No\";s:11:\"module_tags\";s:7:\"Writing\";s:7:\"feature\";s:7:\"Writing\";s:25:\"additional_search_queries\";s:15:\"copy, duplicate\";s:12:\"plan_classes\";s:0:\"\";}s:32:\"cfdac01e3c3c529f93a8f49edef1f5db\";a:14:{s:4:\"name\";s:20:\"Custom content types\";s:11:\"description\";s:74:\"Display different types of content on your site with custom content types.\";s:4:\"sort\";s:2:\"34\";s:20:\"recommendation_order\";s:0:\"\";s:10:\"introduced\";s:3:\"3.1\";s:7:\"changed\";s:0:\"\";s:10:\"deactivate\";s:0:\"\";s:4:\"free\";s:0:\"\";s:19:\"requires_connection\";s:2:\"No\";s:13:\"auto_activate\";s:2:\"No\";s:11:\"module_tags\";s:7:\"Writing\";s:7:\"feature\";s:7:\"Writing\";s:25:\"additional_search_queries\";s:72:\"cpt, custom post types, portfolio, portfolios, testimonial, testimonials\";s:12:\"plan_classes\";s:0:\"\";}s:32:\"4b9137ecf507290743735fb1f94535df\";a:14:{s:4:\"name\";s:10:\"Custom CSS\";s:11:\"description\";s:88:\"Adds options for CSS preprocessor use, disabling the theme\'s CSS, or custom image width.\";s:4:\"sort\";s:1:\"2\";s:20:\"recommendation_order\";s:0:\"\";s:10:\"introduced\";s:3:\"1.7\";s:7:\"changed\";s:0:\"\";s:10:\"deactivate\";s:0:\"\";s:4:\"free\";s:0:\"\";s:19:\"requires_connection\";s:2:\"No\";s:13:\"auto_activate\";s:2:\"No\";s:11:\"module_tags\";s:10:\"Appearance\";s:7:\"feature\";s:10:\"Appearance\";s:25:\"additional_search_queries\";s:108:\"css, customize, custom, style, editor, less, sass, preprocessor, font, mobile, appearance, theme, stylesheet\";s:12:\"plan_classes\";s:0:\"\";}s:32:\"95d75b38d76d2ee1b5b537026eadb8ff\";a:14:{s:4:\"name\";s:21:\"Enhanced Distribution\";s:11:\"description\";s:27:\"Increase reach and traffic.\";s:4:\"sort\";s:1:\"5\";s:20:\"recommendation_order\";s:0:\"\";s:10:\"introduced\";s:3:\"1.2\";s:7:\"changed\";s:0:\"\";s:10:\"deactivate\";s:0:\"\";s:4:\"free\";s:0:\"\";s:19:\"requires_connection\";s:3:\"Yes\";s:13:\"auto_activate\";s:6:\"Public\";s:11:\"module_tags\";s:7:\"Writing\";s:7:\"feature\";s:10:\"Engagement\";s:25:\"additional_search_queries\";s:54:\"google, seo, firehose, search, broadcast, broadcasting\";s:12:\"plan_classes\";s:0:\"\";}s:32:\"f1bb571a95c5de1e6adaf9db8567c039\";a:14:{s:4:\"name\";s:0:\"\";s:11:\"description\";s:0:\"\";s:4:\"sort\";s:0:\"\";s:20:\"recommendation_order\";s:0:\"\";s:10:\"introduced\";s:0:\"\";s:7:\"changed\";s:0:\"\";s:10:\"deactivate\";s:0:\"\";s:4:\"free\";s:0:\"\";s:19:\"requires_connection\";s:0:\"\";s:13:\"auto_activate\";s:0:\"\";s:11:\"module_tags\";s:0:\"\";s:7:\"feature\";s:0:\"\";s:25:\"additional_search_queries\";s:0:\"\";s:12:\"plan_classes\";s:0:\"\";}s:32:\"822f9ef1281dace3fb7cc420c77d24e0\";a:14:{s:4:\"name\";s:16:\"Google Analytics\";s:11:\"description\";s:56:\"Set up Google Analytics without touching a line of code.\";s:4:\"sort\";s:2:\"37\";s:20:\"recommendation_order\";s:0:\"\";s:10:\"introduced\";s:3:\"4.5\";s:7:\"changed\";s:0:\"\";s:10:\"deactivate\";s:0:\"\";s:4:\"free\";s:0:\"\";s:19:\"requires_connection\";s:3:\"Yes\";s:13:\"auto_activate\";s:2:\"No\";s:11:\"module_tags\";s:0:\"\";s:7:\"feature\";s:10:\"Engagement\";s:25:\"additional_search_queries\";s:37:\"webmaster, google, analytics, console\";s:12:\"plan_classes\";s:17:\"business, premium\";}s:32:\"c167275f926ef0eefaec9a679bd88d34\";a:14:{s:4:\"name\";s:19:\"Gravatar Hovercards\";s:11:\"description\";s:58:\"Enable pop-up business cards over commenters’ Gravatars.\";s:4:\"sort\";s:2:\"11\";s:20:\"recommendation_order\";s:2:\"13\";s:10:\"introduced\";s:3:\"1.1\";s:7:\"changed\";s:0:\"\";s:10:\"deactivate\";s:0:\"\";s:4:\"free\";s:0:\"\";s:19:\"requires_connection\";s:2:\"No\";s:13:\"auto_activate\";s:2:\"No\";s:11:\"module_tags\";s:18:\"Social, Appearance\";s:7:\"feature\";s:10:\"Appearance\";s:25:\"additional_search_queries\";s:20:\"gravatar, hovercards\";s:12:\"plan_classes\";s:0:\"\";}s:32:\"58cbd4585a74829a1c88aa9c295f3993\";a:14:{s:4:\"name\";s:15:\"Infinite Scroll\";s:11:\"description\";s:53:\"Automatically load new content when a visitor scrolls\";s:4:\"sort\";s:2:\"26\";s:20:\"recommendation_order\";s:0:\"\";s:10:\"introduced\";s:3:\"2.0\";s:7:\"changed\";s:0:\"\";s:10:\"deactivate\";s:0:\"\";s:4:\"free\";s:0:\"\";s:19:\"requires_connection\";s:2:\"No\";s:13:\"auto_activate\";s:2:\"No\";s:11:\"module_tags\";s:10:\"Appearance\";s:7:\"feature\";s:10:\"Appearance\";s:25:\"additional_search_queries\";s:33:\"scroll, infinite, infinite scroll\";s:12:\"plan_classes\";s:0:\"\";}s:32:\"d4a35eabc948caefad71a0d3303b95c8\";a:14:{s:4:\"name\";s:8:\"JSON API\";s:11:\"description\";s:51:\"Allow applications to securely access your content.\";s:4:\"sort\";s:2:\"19\";s:20:\"recommendation_order\";s:0:\"\";s:10:\"introduced\";s:3:\"1.9\";s:7:\"changed\";s:0:\"\";s:10:\"deactivate\";s:0:\"\";s:4:\"free\";s:0:\"\";s:19:\"requires_connection\";s:3:\"Yes\";s:13:\"auto_activate\";s:6:\"Public\";s:11:\"module_tags\";s:19:\"Writing, Developers\";s:7:\"feature\";s:7:\"General\";s:25:\"additional_search_queries\";s:50:\"api, rest, develop, developers, json, klout, oauth\";s:12:\"plan_classes\";s:0:\"\";}s:32:\"7b0c670bc3f8209dc83abb8610e23a89\";a:14:{s:4:\"name\";s:14:\"Beautiful Math\";s:11:\"description\";s:74:\"Use the LaTeX markup language to write mathematical equations and formulas\";s:4:\"sort\";s:2:\"12\";s:20:\"recommendation_order\";s:0:\"\";s:10:\"introduced\";s:3:\"1.1\";s:7:\"changed\";s:0:\"\";s:10:\"deactivate\";s:0:\"\";s:4:\"free\";s:0:\"\";s:19:\"requires_connection\";s:2:\"No\";s:13:\"auto_activate\";s:2:\"No\";s:11:\"module_tags\";s:7:\"Writing\";s:7:\"feature\";s:7:\"Writing\";s:25:\"additional_search_queries\";s:47:\"latex, math, equation, equations, formula, code\";s:12:\"plan_classes\";s:0:\"\";}s:32:\"b00e4e6c109ce6f77b5c83fbaaaead4c\";a:14:{s:4:\"name\";s:11:\"Lazy Images\";s:11:\"description\";s:137:\"Speed up your site and create a smoother viewing experience by loading images as visitors scroll down the screen, instead of all at once.\";s:4:\"sort\";s:2:\"24\";s:20:\"recommendation_order\";s:2:\"14\";s:10:\"introduced\";s:5:\"5.6.0\";s:7:\"changed\";s:0:\"\";s:10:\"deactivate\";s:0:\"\";s:4:\"free\";s:0:\"\";s:19:\"requires_connection\";s:2:\"No\";s:13:\"auto_activate\";s:2:\"No\";s:11:\"module_tags\";s:23:\"Appearance, Recommended\";s:7:\"feature\";s:10:\"Appearance\";s:25:\"additional_search_queries\";s:150:\"mobile, theme, fast images, fast image, image, lazy, lazy load, lazyload, images, lazy images, thumbnail, image lazy load, lazy loading, load, loading\";s:12:\"plan_classes\";s:0:\"\";}s:32:\"8e46c72906c928eca634ac2c8b1bc84f\";a:14:{s:4:\"name\";s:5:\"Likes\";s:11:\"description\";s:63:\"Give visitors an easy way to show they appreciate your content.\";s:4:\"sort\";s:2:\"23\";s:20:\"recommendation_order\";s:0:\"\";s:10:\"introduced\";s:3:\"2.2\";s:7:\"changed\";s:0:\"\";s:10:\"deactivate\";s:0:\"\";s:4:\"free\";s:0:\"\";s:19:\"requires_connection\";s:3:\"Yes\";s:13:\"auto_activate\";s:2:\"No\";s:11:\"module_tags\";s:6:\"Social\";s:7:\"feature\";s:10:\"Engagement\";s:25:\"additional_search_queries\";s:26:\"like, likes, wordpress.com\";s:12:\"plan_classes\";s:0:\"\";}s:32:\"2df2264a07aff77e0556121e33349dce\";a:14:{s:4:\"name\";s:8:\"Markdown\";s:11:\"description\";s:50:\"Write posts or pages in plain-text Markdown syntax\";s:4:\"sort\";s:2:\"31\";s:20:\"recommendation_order\";s:0:\"\";s:10:\"introduced\";s:3:\"2.8\";s:7:\"changed\";s:0:\"\";s:10:\"deactivate\";s:0:\"\";s:4:\"free\";s:0:\"\";s:19:\"requires_connection\";s:2:\"No\";s:13:\"auto_activate\";s:2:\"No\";s:11:\"module_tags\";s:7:\"Writing\";s:7:\"feature\";s:7:\"Writing\";s:25:\"additional_search_queries\";s:12:\"md, markdown\";s:12:\"plan_classes\";s:0:\"\";}s:32:\"0337eacae47d30c946cb9fc4e5ece649\";a:14:{s:4:\"name\";s:21:\"WordPress.com Toolbar\";s:11:\"description\";s:91:\"Replaces the admin bar with a useful toolbar to quickly manage your site via WordPress.com.\";s:4:\"sort\";s:2:\"38\";s:20:\"recommendation_order\";s:2:\"16\";s:10:\"introduced\";s:3:\"4.8\";s:7:\"changed\";s:0:\"\";s:10:\"deactivate\";s:0:\"\";s:4:\"free\";s:0:\"\";s:19:\"requires_connection\";s:3:\"Yes\";s:13:\"auto_activate\";s:2:\"No\";s:11:\"module_tags\";s:7:\"General\";s:7:\"feature\";s:0:\"\";s:25:\"additional_search_queries\";s:19:\"adminbar, masterbar\";s:12:\"plan_classes\";s:0:\"\";}s:32:\"cb5d81445061b89d19cb9c7754697a39\";a:14:{s:4:\"name\";s:0:\"\";s:11:\"description\";s:0:\"\";s:4:\"sort\";s:0:\"\";s:20:\"recommendation_order\";s:0:\"\";s:10:\"introduced\";s:0:\"\";s:7:\"changed\";s:0:\"\";s:10:\"deactivate\";s:0:\"\";s:4:\"free\";s:0:\"\";s:19:\"requires_connection\";s:0:\"\";s:13:\"auto_activate\";s:0:\"\";s:11:\"module_tags\";s:0:\"\";s:7:\"feature\";s:0:\"\";s:25:\"additional_search_queries\";s:0:\"\";s:12:\"plan_classes\";s:0:\"\";}s:32:\"ea0fbbd64080c81a90a784924603588c\";a:14:{s:4:\"name\";s:0:\"\";s:11:\"description\";s:0:\"\";s:4:\"sort\";s:0:\"\";s:20:\"recommendation_order\";s:0:\"\";s:10:\"introduced\";s:0:\"\";s:7:\"changed\";s:0:\"\";s:10:\"deactivate\";s:0:\"\";s:4:\"free\";s:0:\"\";s:19:\"requires_connection\";s:0:\"\";s:13:\"auto_activate\";s:0:\"\";s:11:\"module_tags\";s:0:\"\";s:7:\"feature\";s:0:\"\";s:25:\"additional_search_queries\";s:0:\"\";s:12:\"plan_classes\";s:0:\"\";}s:32:\"5c53fdb3633ba3232f60180116900273\";a:14:{s:4:\"name\";s:0:\"\";s:11:\"description\";s:0:\"\";s:4:\"sort\";s:0:\"\";s:20:\"recommendation_order\";s:0:\"\";s:10:\"introduced\";s:0:\"\";s:7:\"changed\";s:0:\"\";s:10:\"deactivate\";s:0:\"\";s:4:\"free\";s:0:\"\";s:19:\"requires_connection\";s:0:\"\";s:13:\"auto_activate\";s:0:\"\";s:11:\"module_tags\";s:0:\"\";s:7:\"feature\";s:0:\"\";s:25:\"additional_search_queries\";s:0:\"\";s:12:\"plan_classes\";s:0:\"\";}s:32:\"40b97d9ce396339d3e8e46b833a045b5\";a:14:{s:4:\"name\";s:0:\"\";s:11:\"description\";s:0:\"\";s:4:\"sort\";s:0:\"\";s:20:\"recommendation_order\";s:0:\"\";s:10:\"introduced\";s:0:\"\";s:7:\"changed\";s:0:\"\";s:10:\"deactivate\";s:0:\"\";s:4:\"free\";s:0:\"\";s:19:\"requires_connection\";s:0:\"\";s:13:\"auto_activate\";s:0:\"\";s:11:\"module_tags\";s:0:\"\";s:7:\"feature\";s:0:\"\";s:25:\"additional_search_queries\";s:0:\"\";s:12:\"plan_classes\";s:0:\"\";}s:32:\"0739df64747f2d02c140f23ce6c19cd8\";a:14:{s:4:\"name\";s:0:\"\";s:11:\"description\";s:0:\"\";s:4:\"sort\";s:0:\"\";s:20:\"recommendation_order\";s:0:\"\";s:10:\"introduced\";s:0:\"\";s:7:\"changed\";s:0:\"\";s:10:\"deactivate\";s:0:\"\";s:4:\"free\";s:0:\"\";s:19:\"requires_connection\";s:0:\"\";s:13:\"auto_activate\";s:0:\"\";s:11:\"module_tags\";s:0:\"\";s:7:\"feature\";s:0:\"\";s:25:\"additional_search_queries\";s:0:\"\";s:12:\"plan_classes\";s:0:\"\";}s:32:\"c54bb0a65b39f1316da8632197a88a4e\";a:14:{s:4:\"name\";s:7:\"Monitor\";s:11:\"description\";s:118:\"Jetpack’s downtime monitoring will continuously watch your site, and alert you the moment that downtime is detected.\";s:4:\"sort\";s:2:\"28\";s:20:\"recommendation_order\";s:2:\"10\";s:10:\"introduced\";s:3:\"2.6\";s:7:\"changed\";s:0:\"\";s:10:\"deactivate\";s:0:\"\";s:4:\"free\";s:0:\"\";s:19:\"requires_connection\";s:3:\"Yes\";s:13:\"auto_activate\";s:2:\"No\";s:11:\"module_tags\";s:11:\"Recommended\";s:7:\"feature\";s:8:\"Security\";s:25:\"additional_search_queries\";s:123:\"monitor, uptime, downtime, monitoring, maintenance, maintenance mode, offline, site is down, site down, down, repair, error\";s:12:\"plan_classes\";s:0:\"\";}s:32:\"cc013f4c5480c7bdc1e7edb2f410bf3c\";a:14:{s:4:\"name\";s:13:\"Notifications\";s:11:\"description\";s:57:\"Receive instant notifications of site comments and likes.\";s:4:\"sort\";s:2:\"13\";s:20:\"recommendation_order\";s:0:\"\";s:10:\"introduced\";s:3:\"1.9\";s:7:\"changed\";s:0:\"\";s:10:\"deactivate\";s:0:\"\";s:4:\"free\";s:0:\"\";s:19:\"requires_connection\";s:3:\"Yes\";s:13:\"auto_activate\";s:3:\"Yes\";s:11:\"module_tags\";s:5:\"Other\";s:7:\"feature\";s:7:\"General\";s:25:\"additional_search_queries\";s:62:\"notification, notifications, toolbar, adminbar, push, comments\";s:12:\"plan_classes\";s:0:\"\";}s:32:\"b3b34928b1e549bb52f866accc0450c5\";a:14:{s:4:\"name\";s:9:\"Asset CDN\";s:11:\"description\";s:154:\"Jetpack’s Site Accelerator loads your site faster by optimizing your images and serving your images and static files from our global network of servers.\";s:4:\"sort\";s:2:\"26\";s:20:\"recommendation_order\";s:1:\"1\";s:10:\"introduced\";s:3:\"6.6\";s:7:\"changed\";s:0:\"\";s:10:\"deactivate\";s:0:\"\";s:4:\"free\";s:0:\"\";s:19:\"requires_connection\";s:2:\"No\";s:13:\"auto_activate\";s:2:\"No\";s:11:\"module_tags\";s:42:\"Photos and Videos, Appearance, Recommended\";s:7:\"feature\";s:23:\"Recommended, Appearance\";s:25:\"additional_search_queries\";s:160:\"site accelerator, accelerate, static, assets, javascript, css, files, performance, cdn, bandwidth, content delivery network, pagespeed, combine js, optimize css\";s:12:\"plan_classes\";s:0:\"\";}s:32:\"714284944f56d6936a40f3309900bc8e\";a:14:{s:4:\"name\";s:9:\"Image CDN\";s:11:\"description\";s:141:\"Mirrors and serves your images from our free and fast image CDN, improving your site’s performance with no additional load on your servers.\";s:4:\"sort\";s:2:\"25\";s:20:\"recommendation_order\";s:1:\"1\";s:10:\"introduced\";s:3:\"2.0\";s:7:\"changed\";s:0:\"\";s:10:\"deactivate\";s:0:\"\";s:4:\"free\";s:0:\"\";s:19:\"requires_connection\";s:3:\"Yes\";s:13:\"auto_activate\";s:2:\"No\";s:11:\"module_tags\";s:42:\"Photos and Videos, Appearance, Recommended\";s:7:\"feature\";s:23:\"Recommended, Appearance\";s:25:\"additional_search_queries\";s:171:\"photon, photo cdn, image cdn, speed, compression, resize, responsive images, responsive, content distribution network, optimize, page speed, image optimize, photon jetpack\";s:12:\"plan_classes\";s:0:\"\";}s:32:\"348754bc914ee02c72d9af445627784c\";a:14:{s:4:\"name\";s:0:\"\";s:11:\"description\";s:0:\"\";s:4:\"sort\";s:0:\"\";s:20:\"recommendation_order\";s:0:\"\";s:10:\"introduced\";s:0:\"\";s:7:\"changed\";s:0:\"\";s:10:\"deactivate\";s:0:\"\";s:4:\"free\";s:0:\"\";s:19:\"requires_connection\";s:0:\"\";s:13:\"auto_activate\";s:0:\"\";s:11:\"module_tags\";s:0:\"\";s:7:\"feature\";s:0:\"\";s:25:\"additional_search_queries\";s:0:\"\";s:12:\"plan_classes\";s:0:\"\";}s:32:\"041704e207c4c59eea93e0499c908bff\";a:14:{s:4:\"name\";s:13:\"Post by email\";s:11:\"description\";s:33:\"Publish posts by sending an email\";s:4:\"sort\";s:2:\"14\";s:20:\"recommendation_order\";s:0:\"\";s:10:\"introduced\";s:3:\"2.0\";s:7:\"changed\";s:0:\"\";s:10:\"deactivate\";s:0:\"\";s:4:\"free\";s:0:\"\";s:19:\"requires_connection\";s:3:\"Yes\";s:13:\"auto_activate\";s:2:\"No\";s:11:\"module_tags\";s:7:\"Writing\";s:7:\"feature\";s:7:\"Writing\";s:25:\"additional_search_queries\";s:20:\"post by email, email\";s:12:\"plan_classes\";s:0:\"\";}s:32:\"26e6cb3e08a6cfd0811c17e7c633c72c\";a:14:{s:4:\"name\";s:7:\"Protect\";s:11:\"description\";s:151:\"Enabling brute force protection will prevent bots and hackers from attempting to log in to your website with common username and password combinations.\";s:4:\"sort\";s:1:\"1\";s:20:\"recommendation_order\";s:1:\"4\";s:10:\"introduced\";s:3:\"3.4\";s:7:\"changed\";s:0:\"\";s:10:\"deactivate\";s:0:\"\";s:4:\"free\";s:0:\"\";s:19:\"requires_connection\";s:3:\"Yes\";s:13:\"auto_activate\";s:3:\"Yes\";s:11:\"module_tags\";s:11:\"Recommended\";s:7:\"feature\";s:8:\"Security\";s:25:\"additional_search_queries\";s:173:\"security, jetpack protect, secure, protection, botnet, brute force, protect, login, bot, password, passwords, strong passwords, strong password, wp-login.php,  protect admin\";s:12:\"plan_classes\";s:0:\"\";}s:32:\"915a504082f797395713fd01e0e2e713\";a:14:{s:4:\"name\";s:9:\"Publicize\";s:11:\"description\";s:128:\"Publicize makes it easy to share your site’s posts on several social media networks automatically when you publish a new post.\";s:4:\"sort\";s:2:\"10\";s:20:\"recommendation_order\";s:1:\"7\";s:10:\"introduced\";s:3:\"2.0\";s:7:\"changed\";s:0:\"\";s:10:\"deactivate\";s:0:\"\";s:4:\"free\";s:0:\"\";s:19:\"requires_connection\";s:3:\"Yes\";s:13:\"auto_activate\";s:2:\"No\";s:11:\"module_tags\";s:19:\"Social, Recommended\";s:7:\"feature\";s:10:\"Engagement\";s:25:\"additional_search_queries\";s:220:\"facebook, jetpack publicize, twitter, tumblr, linkedin, social, tweet, connections, sharing, social media, automated, automated sharing, auto publish, auto tweet and like, auto tweet, facebook auto post, facebook posting\";s:12:\"plan_classes\";s:0:\"\";}s:32:\"a7b21cc562ee9ffa357bba19701fe45b\";a:14:{s:4:\"name\";s:0:\"\";s:11:\"description\";s:0:\"\";s:4:\"sort\";s:0:\"\";s:20:\"recommendation_order\";s:0:\"\";s:10:\"introduced\";s:0:\"\";s:7:\"changed\";s:0:\"\";s:10:\"deactivate\";s:0:\"\";s:4:\"free\";s:0:\"\";s:19:\"requires_connection\";s:0:\"\";s:13:\"auto_activate\";s:0:\"\";s:11:\"module_tags\";s:0:\"\";s:7:\"feature\";s:0:\"\";s:25:\"additional_search_queries\";s:0:\"\";s:12:\"plan_classes\";s:0:\"\";}s:32:\"9243c1a718566213f4eaf3b44cf14b07\";a:14:{s:4:\"name\";s:13:\"Related posts\";s:11:\"description\";s:113:\"Keep visitors engaged on your blog by highlighting relevant and new content at the bottom of each published post.\";s:4:\"sort\";s:2:\"29\";s:20:\"recommendation_order\";s:1:\"9\";s:10:\"introduced\";s:3:\"2.9\";s:7:\"changed\";s:0:\"\";s:10:\"deactivate\";s:0:\"\";s:4:\"free\";s:0:\"\";s:19:\"requires_connection\";s:3:\"Yes\";s:13:\"auto_activate\";s:2:\"No\";s:11:\"module_tags\";s:11:\"Recommended\";s:7:\"feature\";s:10:\"Engagement\";s:25:\"additional_search_queries\";s:360:\"related, jetpack related posts, related posts for wordpress, related posts, popular posts, popular, related content, related post, contextual, context, contextual related posts, related articles, similar posts, easy related posts, related page, simple related posts, free related posts, related thumbnails, similar, engagement, yet another related posts plugin\";s:12:\"plan_classes\";s:0:\"\";}s:32:\"583e4cda5596ee1b28a19cde33f438be\";a:14:{s:4:\"name\";s:6:\"Search\";s:11:\"description\";s:102:\"Help visitors quickly find answers with highly relevant instant search results and powerful filtering.\";s:4:\"sort\";s:2:\"34\";s:20:\"recommendation_order\";s:0:\"\";s:10:\"introduced\";s:3:\"5.0\";s:7:\"changed\";s:0:\"\";s:10:\"deactivate\";s:0:\"\";s:4:\"free\";s:5:\"false\";s:19:\"requires_connection\";s:3:\"Yes\";s:13:\"auto_activate\";s:2:\"No\";s:11:\"module_tags\";s:0:\"\";s:7:\"feature\";s:6:\"Search\";s:25:\"additional_search_queries\";s:110:\"search, elastic, elastic search, elasticsearch, fast search, search results, search performance, google search\";s:12:\"plan_classes\";s:8:\"business\";}s:32:\"15346c1f7f2a5f29d34378774ecfa830\";a:14:{s:4:\"name\";s:9:\"SEO Tools\";s:11:\"description\";s:50:\"Better results on search engines and social media.\";s:4:\"sort\";s:2:\"35\";s:20:\"recommendation_order\";s:2:\"15\";s:10:\"introduced\";s:3:\"4.4\";s:7:\"changed\";s:0:\"\";s:10:\"deactivate\";s:0:\"\";s:4:\"free\";s:0:\"\";s:19:\"requires_connection\";s:3:\"Yes\";s:13:\"auto_activate\";s:2:\"No\";s:11:\"module_tags\";s:18:\"Social, Appearance\";s:7:\"feature\";s:7:\"Traffic\";s:25:\"additional_search_queries\";s:81:\"search engine optimization, social preview, meta description, custom title format\";s:12:\"plan_classes\";s:17:\"business, premium\";}s:32:\"72a0ff4cfae86074a7cdd2dcd432ef11\";a:14:{s:4:\"name\";s:7:\"Sharing\";s:11:\"description\";s:120:\"Add Twitter, Facebook and Google+ buttons at the bottom of each post, making it easy for visitors to share your content.\";s:4:\"sort\";s:1:\"7\";s:20:\"recommendation_order\";s:1:\"6\";s:10:\"introduced\";s:3:\"1.1\";s:7:\"changed\";s:3:\"1.2\";s:10:\"deactivate\";s:0:\"\";s:4:\"free\";s:0:\"\";s:19:\"requires_connection\";s:2:\"No\";s:13:\"auto_activate\";s:2:\"No\";s:11:\"module_tags\";s:19:\"Social, Recommended\";s:7:\"feature\";s:10:\"Engagement\";s:25:\"additional_search_queries\";s:229:\"share, sharing, sharedaddy, social buttons, buttons, share facebook, share twitter, social media sharing, social media share, social share, icons, email, facebook, twitter, linkedin, pinterest, pocket, social widget, social media\";s:12:\"plan_classes\";s:0:\"\";}s:32:\"bb8c6c190aaec212a7ab6e940165af4d\";a:14:{s:4:\"name\";s:16:\"Shortcode Embeds\";s:11:\"description\";s:177:\"Shortcodes are WordPress-specific markup that let you add media from popular sites. This feature is no longer necessary as the editor now handles media embeds rather gracefully.\";s:4:\"sort\";s:1:\"3\";s:20:\"recommendation_order\";s:0:\"\";s:10:\"introduced\";s:3:\"1.1\";s:7:\"changed\";s:3:\"1.2\";s:10:\"deactivate\";s:0:\"\";s:4:\"free\";s:0:\"\";s:19:\"requires_connection\";s:2:\"No\";s:13:\"auto_activate\";s:2:\"No\";s:11:\"module_tags\";s:46:\"Photos and Videos, Social, Writing, Appearance\";s:7:\"feature\";s:7:\"Writing\";s:25:\"additional_search_queries\";s:236:\"shortcodes, shortcode, embeds, media, bandcamp, dailymotion, facebook, flickr, google calendars, google maps, google+, polldaddy, recipe, recipes, scribd, slideshare, slideshow, slideshows, soundcloud, ted, twitter, vimeo, vine, youtube\";s:12:\"plan_classes\";s:0:\"\";}s:32:\"1abd31fe07ae4fb0f8bb57dc24592219\";a:14:{s:4:\"name\";s:16:\"WP.me Shortlinks\";s:11:\"description\";s:82:\"Generates shorter links so you can have more space to write on social media sites.\";s:4:\"sort\";s:1:\"8\";s:20:\"recommendation_order\";s:0:\"\";s:10:\"introduced\";s:3:\"1.1\";s:7:\"changed\";s:0:\"\";s:10:\"deactivate\";s:0:\"\";s:4:\"free\";s:0:\"\";s:19:\"requires_connection\";s:3:\"Yes\";s:13:\"auto_activate\";s:2:\"No\";s:11:\"module_tags\";s:6:\"Social\";s:7:\"feature\";s:7:\"Writing\";s:25:\"additional_search_queries\";s:17:\"shortlinks, wp.me\";s:12:\"plan_classes\";s:0:\"\";}s:32:\"cae5f097f8d658e0b0ae50733d7c6476\";a:14:{s:4:\"name\";s:8:\"Sitemaps\";s:11:\"description\";s:50:\"Make it easy for search engines to find your site.\";s:4:\"sort\";s:2:\"13\";s:20:\"recommendation_order\";s:0:\"\";s:10:\"introduced\";s:3:\"3.9\";s:7:\"changed\";s:0:\"\";s:10:\"deactivate\";s:0:\"\";s:4:\"free\";s:0:\"\";s:19:\"requires_connection\";s:2:\"No\";s:13:\"auto_activate\";s:2:\"No\";s:11:\"module_tags\";s:20:\"Recommended, Traffic\";s:7:\"feature\";s:11:\"Recommended\";s:25:\"additional_search_queries\";s:39:\"sitemap, traffic, search, site map, seo\";s:12:\"plan_classes\";s:0:\"\";}s:32:\"e9b8318133b2f95e7906cedb3557a87d\";a:14:{s:4:\"name\";s:14:\"Secure Sign On\";s:11:\"description\";s:63:\"Allow users to log in to this site using WordPress.com accounts\";s:4:\"sort\";s:2:\"30\";s:20:\"recommendation_order\";s:1:\"5\";s:10:\"introduced\";s:3:\"2.6\";s:7:\"changed\";s:0:\"\";s:10:\"deactivate\";s:0:\"\";s:4:\"free\";s:0:\"\";s:19:\"requires_connection\";s:3:\"Yes\";s:13:\"auto_activate\";s:2:\"No\";s:11:\"module_tags\";s:10:\"Developers\";s:7:\"feature\";s:8:\"Security\";s:25:\"additional_search_queries\";s:51:\"sso, single sign on, login, log in, 2fa, two-factor\";s:12:\"plan_classes\";s:0:\"\";}s:32:\"17e66a12031ccf11d8d45ceee0955f05\";a:14:{s:4:\"name\";s:10:\"Site Stats\";s:11:\"description\";s:44:\"Collect valuable traffic stats and insights.\";s:4:\"sort\";s:1:\"1\";s:20:\"recommendation_order\";s:1:\"2\";s:10:\"introduced\";s:3:\"1.1\";s:7:\"changed\";s:0:\"\";s:10:\"deactivate\";s:0:\"\";s:4:\"free\";s:0:\"\";s:19:\"requires_connection\";s:3:\"Yes\";s:13:\"auto_activate\";s:3:\"Yes\";s:11:\"module_tags\";s:23:\"Site Stats, Recommended\";s:7:\"feature\";s:10:\"Engagement\";s:25:\"additional_search_queries\";s:54:\"statistics, tracking, analytics, views, traffic, stats\";s:12:\"plan_classes\";s:0:\"\";}s:32:\"346cf9756e7c1252acecb9a8ca81a21c\";a:14:{s:4:\"name\";s:13:\"Subscriptions\";s:11:\"description\";s:58:\"Let visitors subscribe to new posts and comments via email\";s:4:\"sort\";s:1:\"9\";s:20:\"recommendation_order\";s:1:\"8\";s:10:\"introduced\";s:3:\"1.2\";s:7:\"changed\";s:0:\"\";s:10:\"deactivate\";s:0:\"\";s:4:\"free\";s:0:\"\";s:19:\"requires_connection\";s:3:\"Yes\";s:13:\"auto_activate\";s:2:\"No\";s:11:\"module_tags\";s:6:\"Social\";s:7:\"feature\";s:10:\"Engagement\";s:25:\"additional_search_queries\";s:74:\"subscriptions, subscription, email, follow, followers, subscribers, signup\";s:12:\"plan_classes\";s:0:\"\";}s:32:\"4f84d218792a6efa06ed6feae09c4dd5\";a:14:{s:4:\"name\";s:0:\"\";s:11:\"description\";s:0:\"\";s:4:\"sort\";s:0:\"\";s:20:\"recommendation_order\";s:0:\"\";s:10:\"introduced\";s:0:\"\";s:7:\"changed\";s:0:\"\";s:10:\"deactivate\";s:0:\"\";s:4:\"free\";s:0:\"\";s:19:\"requires_connection\";s:0:\"\";s:13:\"auto_activate\";s:0:\"\";s:11:\"module_tags\";s:0:\"\";s:7:\"feature\";s:0:\"\";s:25:\"additional_search_queries\";s:0:\"\";s:12:\"plan_classes\";s:0:\"\";}s:32:\"ca086af79d0d9dccacc934ccff5b4fd7\";a:14:{s:4:\"name\";s:15:\"Tiled Galleries\";s:11:\"description\";s:61:\"Display image galleries in a variety of elegant arrangements.\";s:4:\"sort\";s:2:\"24\";s:20:\"recommendation_order\";s:0:\"\";s:10:\"introduced\";s:3:\"2.1\";s:7:\"changed\";s:0:\"\";s:10:\"deactivate\";s:0:\"\";s:4:\"free\";s:0:\"\";s:19:\"requires_connection\";s:2:\"No\";s:13:\"auto_activate\";s:2:\"No\";s:11:\"module_tags\";s:17:\"Photos and Videos\";s:7:\"feature\";s:10:\"Appearance\";s:25:\"additional_search_queries\";s:43:\"gallery, tiles, tiled, grid, mosaic, images\";s:12:\"plan_classes\";s:0:\"\";}s:32:\"43c24feb7c541c376af93e0251c1a261\";a:14:{s:4:\"name\";s:20:\"Backups and Scanning\";s:11:\"description\";s:100:\"Protect your site with daily or real-time backups and automated virus scanning and threat detection.\";s:4:\"sort\";s:2:\"32\";s:20:\"recommendation_order\";s:0:\"\";s:10:\"introduced\";s:5:\"0:1.2\";s:7:\"changed\";s:0:\"\";s:10:\"deactivate\";s:5:\"false\";s:4:\"free\";s:5:\"false\";s:19:\"requires_connection\";s:3:\"Yes\";s:13:\"auto_activate\";s:2:\"No\";s:11:\"module_tags\";s:0:\"\";s:7:\"feature\";s:16:\"Security, Health\";s:25:\"additional_search_queries\";s:386:\"backup, cloud backup, database backup, restore, wordpress backup, backup plugin, wordpress backup plugin, back up, backup wordpress, backwpup, vaultpress, backups, off-site backups, offsite backup, offsite, off-site, antivirus, malware scanner, security, virus, viruses, prevent viruses, scan, anti-virus, antimalware, protection, safe browsing, malware, wp security, wordpress security\";s:12:\"plan_classes\";s:27:\"personal, business, premium\";}s:32:\"b9396d8038fc29140b499098d2294d79\";a:14:{s:4:\"name\";s:17:\"Site verification\";s:11:\"description\";s:58:\"Establish your site\'s authenticity with external services.\";s:4:\"sort\";s:2:\"33\";s:20:\"recommendation_order\";s:0:\"\";s:10:\"introduced\";s:3:\"3.0\";s:7:\"changed\";s:0:\"\";s:10:\"deactivate\";s:0:\"\";s:4:\"free\";s:0:\"\";s:19:\"requires_connection\";s:2:\"No\";s:13:\"auto_activate\";s:3:\"Yes\";s:11:\"module_tags\";s:0:\"\";s:7:\"feature\";s:10:\"Engagement\";s:25:\"additional_search_queries\";s:56:\"webmaster, seo, google, bing, pinterest, search, console\";s:12:\"plan_classes\";s:0:\"\";}s:32:\"afe184082e106c1bdfe1ee844f98aef3\";a:14:{s:4:\"name\";s:10:\"VideoPress\";s:11:\"description\";s:101:\"Save on hosting storage and bandwidth costs by streaming fast, ad-free video from our global network.\";s:4:\"sort\";s:2:\"27\";s:20:\"recommendation_order\";s:0:\"\";s:10:\"introduced\";s:3:\"2.5\";s:7:\"changed\";s:0:\"\";s:10:\"deactivate\";s:0:\"\";s:4:\"free\";s:5:\"false\";s:19:\"requires_connection\";s:3:\"Yes\";s:13:\"auto_activate\";s:0:\"\";s:11:\"module_tags\";s:17:\"Photos and Videos\";s:7:\"feature\";s:7:\"Writing\";s:25:\"additional_search_queries\";s:118:\"video, videos, videopress, video gallery, video player, videoplayer, mobile video, vimeo, youtube, html5 video, stream\";s:12:\"plan_classes\";s:17:\"business, premium\";}s:32:\"44637d43460370af9a1b31ce3ccec0cd\";a:14:{s:4:\"name\";s:17:\"Widget Visibility\";s:11:\"description\";s:42:\"Control where widgets appear on your site.\";s:4:\"sort\";s:2:\"17\";s:20:\"recommendation_order\";s:0:\"\";s:10:\"introduced\";s:3:\"2.4\";s:7:\"changed\";s:0:\"\";s:10:\"deactivate\";s:0:\"\";s:4:\"free\";s:0:\"\";s:19:\"requires_connection\";s:2:\"No\";s:13:\"auto_activate\";s:2:\"No\";s:11:\"module_tags\";s:10:\"Appearance\";s:7:\"feature\";s:10:\"Appearance\";s:25:\"additional_search_queries\";s:54:\"widget visibility, logic, conditional, widgets, widget\";s:12:\"plan_classes\";s:0:\"\";}s:32:\"694c105a5c3b659acfcddad220048d08\";a:14:{s:4:\"name\";s:21:\"Extra Sidebar Widgets\";s:11:\"description\";s:49:\"Provides additional widgets for use on your site.\";s:4:\"sort\";s:1:\"4\";s:20:\"recommendation_order\";s:0:\"\";s:10:\"introduced\";s:3:\"1.2\";s:7:\"changed\";s:0:\"\";s:10:\"deactivate\";s:0:\"\";s:4:\"free\";s:0:\"\";s:19:\"requires_connection\";s:2:\"No\";s:13:\"auto_activate\";s:2:\"No\";s:11:\"module_tags\";s:18:\"Social, Appearance\";s:7:\"feature\";s:10:\"Appearance\";s:25:\"additional_search_queries\";s:65:\"widget, widgets, facebook, gallery, twitter, gravatar, image, rss\";s:12:\"plan_classes\";s:0:\"\";}s:32:\"21b59e7bb3fe0784e7525ad11ad8a8f6\";a:14:{s:4:\"name\";s:21:\"WooCommerce Analytics\";s:11:\"description\";s:53:\"Enhanced analytics for WooCommerce and Jetpack users.\";s:4:\"sort\";s:2:\"13\";s:20:\"recommendation_order\";s:0:\"\";s:10:\"introduced\";s:3:\"8.4\";s:7:\"changed\";s:0:\"\";s:10:\"deactivate\";s:0:\"\";s:4:\"free\";s:0:\"\";s:19:\"requires_connection\";s:3:\"Yes\";s:13:\"auto_activate\";s:3:\"Yes\";s:11:\"module_tags\";s:18:\"Other, Recommended\";s:7:\"feature\";s:10:\"Engagement\";s:25:\"additional_search_queries\";s:69:\"woocommerce, analytics, stats, statistics, tracking, analytics, views\";s:12:\"plan_classes\";s:0:\"\";}s:32:\"ae15da72c5802d72f320640bad669561\";a:14:{s:4:\"name\";s:3:\"Ads\";s:11:\"description\";s:60:\"Earn income by allowing Jetpack to display high quality ads.\";s:4:\"sort\";s:1:\"1\";s:20:\"recommendation_order\";s:0:\"\";s:10:\"introduced\";s:5:\"4.5.0\";s:7:\"changed\";s:0:\"\";s:10:\"deactivate\";s:0:\"\";s:4:\"free\";s:0:\"\";s:19:\"requires_connection\";s:3:\"Yes\";s:13:\"auto_activate\";s:2:\"No\";s:11:\"module_tags\";s:19:\"Traffic, Appearance\";s:7:\"feature\";s:0:\"\";s:25:\"additional_search_queries\";s:26:\"advertising, ad codes, ads\";s:12:\"plan_classes\";s:17:\"premium, business\";}}','no');
INSERT INTO `wpwx_options` VALUES (41273,'_vp_ai_ping_41272','s:1954932:\"a:9:{s:7:\"version\";i:1;s:5:\"count\";i:1;s:12:\"editedtables\";a:0:{}s:7:\"plugins\";a:0:{}s:6:\"themes\";a:0:{}s:7:\"uploads\";a:0:{}s:2:\"db\";a:0:{}s:5:\"debug\";a:0:{}s:8:\"security\";a:1:{i:0;a:1:{s:13:\"suspicious_v2\";a:1:{s:72:\"/home/bonell8/public_html/wp-content/plugins/jetpack/_inc/build/admin.js\";a:2:{s:4:\"hash\";s:32:\"e08591d68dcd625217df2f902874aef2\";s:7:\"verdict\";a:1:{i:161;a:2:{s:7:\"matches\";a:6:{i:51;s:242115:\" */Object.defineProperty(t,\"__esModule\",{value:!0});var r=\"function\"==typeof Symbol&&Symbol.for,i=r?Symbol.for(\"react.element\"):60103,a=r?Symbol.for(\"react.portal\"):60106,s=r?Symbol.for(\"react.fragment\"):60107,o=r?Symbol.for(\"react.strict_mode\"):60108,c=r?Symbol.for(\"react.profiler\"):60114,l=r?Symbol.for(\"react.provider\"):60109,u=r?Symbol.for(\"react.context\"):60110,p=r?Symbol.for(\"react.async_mode\"):60111,d=r?Symbol.for(\"react.concurrent_mode\"):60111,h=r?Symbol.for(\"react.forward_ref\"):60112,f=r?Symbol.for(\"react.suspense\"):60113,m=r?Symbol.for(\"react.memo\"):60115,g=r?Symbol.for(\"react.lazy\"):60116;function v(e){if(\"object\"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case i:switch(e=e.type){case p:case d:case s:case c:case o:case f:return e;default:switch(e=e&&e.$$typeof){case u:case h:case l:return e;default:return t}}case g:case m:case a:return t}}}function b(e){return v(e)===d}t.typeOf=v,t.AsyncMode=p,t.ConcurrentMode=d,t.ContextConsumer=u,t.ContextProvider=l,t.Element=i,t.ForwardRef=h,t.Fragment=s,t.Lazy=g,t.Memo=m,t.Portal=a,t.Profiler=c,t.StrictMode=o,t.Suspense=f,t.isValidElementType=function(e){return\"string\"==typeof e||\"function\"==typeof e||e===s||e===d||e===c||e===o||e===f||\"object\"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===l||e.$$typeof===u||e.$$typeof===h)},t.isAsyncMode=function(e){return b(e)||v(e)===p},t.isConcurrentMode=b,t.isContextConsumer=function(e){return v(e)===u},t.isContextProvider=function(e){return v(e)===l},t.isElement=function(e){return\"object\"==typeof e&&null!==e&&e.$$typeof===i},t.isForwardRef=function(e){return v(e)===h},t.isFragment=function(e){return v(e)===s},t.isLazy=function(e){return v(e)===g},t.isMemo=function(e){return v(e)===m},t.isPortal=function(e){return v(e)===a},t.isProfiler=function(e){return v(e)===c},t.isStrictMode=function(e){return v(e)===o},t.isSuspense=function(e){return v(e)===f}},function(e,t,n){\"use strict\";var r=n(193),i=n(112);function a(e,t){return t.encode?t.strict?r(e):encodeURIComponent(e):e}t.extract=function(e){return e.split(\"?\")[1]||\"\"},t.parse=function(e,t){var n=function(e){var t;switch(e.arrayFormat){case\"index\":return function(e,n,r){t=/\\[(\\d*)\\]$/.exec(e),e=e.replace(/\\[\\d*\\]$/,\"\"),t?(void 0===r[e]&&(r[e]={}),r[e][t[1]]=n):r[e]=n};case\"bracket\":return function(e,n,r){t=/(\\[\\])$/.exec(e),e=e.replace(/\\[\\]$/,\"\"),t?void 0!==r[e]?r[e]=[].concat(r[e],n):r[e]=[n]:r[e]=n};default:return function(e,t,n){void 0!==n[e]?n[e]=[].concat(n[e],t):n[e]=t}}}(t=i({arrayFormat:\"none\"},t)),r=Object.create(null);return\"string\"!=typeof e?r:(e=e.trim().replace(/^(\\?|#|&)/,\"\"))?(e.split(\"&\").forEach((function(e){var t=e.replace(/\\+/g,\" \").split(\"=\"),i=t.shift(),a=t.length>0?t.join(\"=\"):void 0;a=void 0===a?null:decodeURIComponent(a),n(decodeURIComponent(i),a,r)})),Object.keys(r).sort().reduce((function(e,t){var n=r[t];return Boolean(n)&&\"object\"==typeof n&&!Array.isArray(n)?e[t]=function e(t){return Array.isArray(t)?t.sort():\"object\"==typeof t?e(Object.keys(t)).sort((function(e,t){return Number(e)-Number(t)})).map((function(e){return t[e]})):t}(n):e[t]=n,e}),Object.create(null))):r},t.stringify=function(e,t){var n=function(e){switch(e.arrayFormat){case\"index\":return function(t,n,r){return null===n?[a(t,e),\"[\",r,\"]\"].join(\"\"):[a(t,e),\"[\",a(r,e),\"]=\",a(n,e)].join(\"\")};case\"bracket\":return function(t,n){return null===n?a(t,e):[a(t,e),\"[]=\",a(n,e)].join(\"\")};default:return function(t,n){return null===n?a(t,e):[a(t,e),\"=\",a(n,e)].join(\"\")}}}(t=i({encode:!0,strict:!0,arrayFormat:\"none\"},t));return e?Object.keys(e).sort().map((function(r){var i=e[r];if(void 0===i)return\"\";if(null===i)return a(r,t);if(Array.isArray(i)){var s=[];return i.slice().forEach((function(e){void 0!==e&&s.push(n(r,e,s.length))})),s.join(\"&\")}return a(r,t)+\"=\"+a(i,t)})).filter((function(e){return e.length>0})).join(\"&\"):\"\"}},function(e,t,n){\"use strict\";e.exports=function(e){return encodeURIComponent(e).replace(/[!\'()*]/g,(function(e){return\"%\"+e.charCodeAt(0).toString(16).toUpperCase()}))}},function(e,t,n){\"use strict\";t.__esModule=!0;t.loopAsync=function(e,t,n){var r=0,i=!1,a=!1,s=!1,o=void 0,c=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];i=!0,a?o=t:n.apply(void 0,t)};!function l(){if(!i&&(s=!0,!a)){for(a=!0;!i&&r<e&&s;)s=!1,t(r++,l,c);a=!1,i?n.apply(void 0,o):r>=e&&s&&(i=!0,n())}}()}},function(e,t,n){\"use strict\";t.__esModule=!0,t.replaceLocation=t.pushLocation=t.getCurrentLocation=t.go=t.getUserConfirmation=void 0;var r=n(73);Object.defineProperty(t,\"getUserConfirmation\",{enumerable:!0,get:function(){return r.getUserConfirmation}}),Object.defineProperty(t,\"go\",{enumerable:!0,get:function(){return r.go}});var i=n(33),a=n(28);t.getCurrentLocation=function(){return(0,i.createLocation)(window.location)},t.pushLocation=function(e){return window.location.href=(0,a.createPath)(e),!1},t.replaceLocation=function(e){return window.location.replace((0,a.createPath)(e)),!1}},function(e,t,n){\"use strict\";t.__esModule=!0,t.replaceLocation=t.pushLocation=t.startListener=t.getCurrentLocation=t.go=t.getUserConfirmation=void 0;var r=n(73);Object.defineProperty(t,\"getUserConfirmation\",{enumerable:!0,get:function(){return r.getUserConfirmation}}),Object.defineProperty(t,\"go\",{enumerable:!0,get:function(){return r.go}});var i,a=n(27),s=((i=a)&&i.__esModule,n(33)),o=n(45),c=n(114),l=n(28);var u=function(){var e=window.location.href,t=e.indexOf(\"#\");return-1===t?\"\":e.substring(t+1)},p=function(e){var t=window.location.href.indexOf(\"#\");window.location.replace(window.location.href.slice(0,t>=0?t:0)+\"#\"+e)},d=t.getCurrentLocation=function(e,t){var n=e.decodePath(u()),r=(0,l.getQueryStringValueFromPath)(n,t),i=void 0;r&&(n=(0,l.stripQueryStringValueFromPath)(n,t),i=(0,c.readState)(r));var a=(0,l.parsePath)(n);return a.state=i,(0,s.createLocation)(a,void 0,r)},h=void 0,f=(t.startListener=function(e,t,n){var r=function(){var r=u(),i=t.encodePath(r);if(r!==i)p(i);else{var a=d(t,n);if(h&&a.key&&h.key===a.key)return;h=a,e(a)}},i=u(),a=t.encodePath(i);return i!==a&&p(a),(0,o.addEventListener)(window,\"hashchange\",r),function(){return(0,o.removeEventListener)(window,\"hashchange\",r)}},function(e,t,n,r){var i=e.state,a=e.key,s=t.encodePath((0,l.createPath)(e));void 0!==i&&(s=(0,l.addQueryStringValueToPath)(s,n,a),(0,c.saveState)(a,i)),h=e,r(s)});t.pushLocation=function(e,t,n){return f(e,t,n,(function(e){u()!==e&&function(e){window.location.hash=e}(e)}))},t.replaceLocation=function(e,t,n){return f(e,t,n,(function(e){u()!==e&&p(e)}))}},function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=n.selectLocationState,o=void 0===s?a:s,c=n.adjustUrlOnReplay,l=void 0===c||c;if(void 0===o(t.getState()))throw new Error(\"Expected the routing state to be available either as `state.routing` or as the custom expression you can specify as `selectLocationState` in the `syncHistoryWithStore()` options. Ensure you have added the `routerReducer` to your store\'s reducers via `combineReducers` or whatever method you use to isolate your reducers.\");var u=void 0,p=void 0,d=void 0,h=void 0,f=void 0,m=function(e){return o(t.getState()).locationBeforeTransitions||(e?u:void 0)};if(u=m(),l){var g=function(){var t=m(!0);f!==t&&u!==t&&(p=!0,f=t,e.transitionTo(r({},t,{action:\"PUSH\"})),p=!1)};d=t.subscribe(g),g()}var v=function(e){p||(f=e,!u&&(u=e,m())||t.dispatch({type:i.LOCATION_CHANGE,payload:e}))};h=e.listen(v),e.getCurrentLocation&&v(e.getCurrentLocation());return r({},e,{listen:function(n){var r=m(!0),i=!1,a=t.subscribe((function(){var e=m(!0);e!==r&&(r=e,i||n(r))}));return e.getCurrentLocation||n(r),function(){i=!0,a()}},unsubscribe:function(){l&&d(),h()}})};var i=n(115),a=function(e){return e.routing}},function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=function(e){return function(){return function(t){return function(n){if(n.type!==r.CALL_HISTORY_METHOD)return t(n);var i=n.payload,a=i.method,s=i.args;e[a].apply(e,function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(s))}}}};var r=n(116)},function(e,t,n){\"use strict\";t.__esModule=!0;var r,i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(14),s=(r=a)&&r.__esModule?r:{default:r},o=n(45),c=n(61);t.default=function(e){return c.canUseDOM||(0,s.default)(!1),function(t){var n=e(t),r=[],a=void 0,s=function(){for(var e=void 0,t=0,n=r.length;null==e&&t<n;++t)e=r[t].call();return e};return i({},n,{listenBeforeUnload:function(e){return 1===r.push(e)&&(a=function(e){var t=function(t){var n=e();if(\"string\"==typeof n)return(t||window.event).returnValue=n,n};return(0,o.addEventListener)(window,\"beforeunload\",t),function(){return(0,o.removeEventListener)(window,\"beforeunload\",t)}}(s)),function(){0===(r=r.filter((function(t){return t!==e}))).length&&a&&(a(),a=null)}}})}}},function(e,t,n){var r=n(117);e.exports=function(e){if(Array.isArray(e))return r(e)}},function(e,t){e.exports=function(e){if(\"undefined\"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}},function(e,t){e.exports=function(){throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\")}},function(e,t){function n(t){return\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&\"function\"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e},n(t)}e.exports=n},function(e,t){e.exports=function(e){return-1!==Function.toString.call(e).indexOf(\"[native code]\")}},function(e,t,n){var r=n(74),i=n(206);function a(t,n,s){return i()?e.exports=a=Reflect.construct:e.exports=a=function(e,t,n){var i=[null];i.push.apply(i,t);var a=new(Function.bind.apply(e,i));return n&&r(a,n.prototype),a},a.apply(null,arguments)}e.exports=a},function(e,t){e.exports=function(){if(\"undefined\"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(\"function\"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}},function(e,t,n){\"use strict\";e.exports=function(e){function t(e){for(var t=0,n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n),t|=0;return r.colors[Math.abs(t)%r.colors.length]}function r(e){var n;function s(){if(s.enabled){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];var a=s,o=Number(new Date),c=o-(n||o);a.diff=c,a.prev=n,a.curr=o,n=o,t[0]=r.coerce(t[0]),\"string\"!=typeof t[0]&&t.unshift(\"%O\");var l=0;t[0]=t[0].replace(/%([a-zA-Z%])/g,(function(e,n){if(\"%%\"===e)return e;l++;var i=r.formatters[n];if(\"function\"==typeof i){var s=t[l];e=i.call(a,s),t.splice(l,1),l--}return e})),r.formatArgs.call(a,t);var u=a.log||r.log;u.apply(a,t)}}return s.namespace=e,s.enabled=r.enabled(e),s.useColors=r.useColors(),s.color=t(e),s.destroy=i,s.extend=a,\"function\"==typeof r.init&&r.init(s),r.instances.push(s),s}function i(){var e=r.instances.indexOf(this);return-1!==e&&(r.instances.splice(e,1),!0)}function a(e,t){return r(this.namespace+(void 0===t?\":\":t)+e)}return r.debug=r,r.default=r,r.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},r.disable=function(){r.enable(\"\")},r.enable=function(e){var t;r.save(e),r.names=[],r.skips=[];var n=(\"string\"==typeof e?e:\"\").split(/[\\s,]+/),i=n.length;for(t=0;t<i;t++)n[t]&&(\"-\"===(e=n[t].replace(/\\*/g,\".*?\"))[0]?r.skips.push(new RegExp(\"^\"+e.substr(1)+\"$\")):r.names.push(new RegExp(\"^\"+e+\"$\")));for(t=0;t<r.instances.length;t++){var a=r.instances[t];a.enabled=r.enabled(a.namespace)}},r.enabled=function(e){if(\"*\"===e[e.length-1])return!0;var t,n;for(t=0,n=r.skips.length;t<n;t++)if(r.skips[t].test(e))return!1;for(t=0,n=r.names.length;t<n;t++)if(r.names[t].test(e))return!0;return!1},r.humanize=n(119),Object.keys(e).forEach((function(t){r[t]=e[t]})),r.instances=[],r.names=[],r.skips=[],r.formatters={},r.selectColor=t,r.enable(r.load()),r}},function(e,t,n){\"use strict\";var r=n(0),i=\"function\"==typeof Symbol&&Symbol.for&&Symbol.for(\"react.element\")||60103,a=n(120),s=n(113),o=n(209),c=\"function\"==typeof Symbol&&Symbol.iterator;function l(e,t){return e&&\"object\"==typeof e&&null!=e.key?(n=e.key,r={\"=\":\"=0\",\":\":\"=2\"},\"$\"+(\"\"+n).replace(/[=:]/g,(function(e){return r[e]}))):t.toString(36);var n,r}function u(e,t,n,r){var a,o=typeof e;if(\"undefined\"!==o&&\"boolean\"!==o||(e=null),null===e||\"string\"===o||\"number\"===o||\"object\"===o&&e.$$typeof===i)return n(r,e,\"\"===t?\".\"+l(e,0):t),1;var p=0,d=\"\"===t?\".\":t+\":\";if(Array.isArray(e))for(var h=0;h<e.length;h++)p+=u(a=e[h],d+l(a,h),n,r);else{var f=function(e){var t=e&&(c&&e[c]||e[\"@@iterator\"]);if(\"function\"==typeof t)return t}(e);if(f){0;for(var m,g=f.call(e),v=0;!(m=g.next()).done;)p+=u(a=m.value,d+l(a,v++),n,r)}else if(\"object\"===o){0;var b=\"\"+e;s(!1,\"Objects are not valid as a React child (found: %s).%s\",\"[object Object]\"===b?\"object with keys {\"+Object.keys(e).join(\", \")+\"}\":b,\"\")}}return p}var p=/\\/+/g;function d(e){return(\"\"+e).replace(p,\"$&/\")}var h,f,m=g,g=function(e){if(this.instancePool.length){var t=this.instancePool.pop();return this.call(t,e),t}return new this(e)},v=function(e){s(e instanceof this,\"Trying to release an instance into a pool of a different type.\"),e.destructor(),this.instancePool.length<this.poolSize&&this.instancePool.push(e)};function b(e,t,n,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function y(e,t,n){var i,s,o=e.result,c=e.keyPrefix,l=e.func,u=e.context,p=l.call(u,t,e.count++);Array.isArray(p)?_(p,o,n,a.thatReturnsArgument):null!=p&&(r.isValidElement(p)&&(i=p,s=c+(!p.key||t&&t.key===p.key?\"\":d(p.key)+\"/\")+n,p=r.cloneElement(i,{key:s},void 0!==i.props?i.props.children:void 0)),o.push(p))}function _(e,t,n,r,i){var a=\"\";null!=n&&(a=d(n)+\"/\");var s=b.getPooled(t,a,r,i);!function(e,t,n){null==e||u(e,\"\",t,n)}(e,y,s),b.release(s)}b.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},h=function(e,t,n,r){if(this.instancePool.length){var i=this.instancePool.pop();return this.call(i,e,t,n,r),i}return new this(e,t,n,r)},(f=b).instancePool=[],f.getPooled=h||m,f.poolSize||(f.poolSize=10),f.release=v;e.exports=function(e){if(\"object\"!=typeof e||!e||Array.isArray(e))return o(!1,\"React.addons.createFragment only accepts a single object. Got: %s\",e),e;if(r.isValidElement(e))return o(!1,\"React.addons.createFragment does not accept a ReactElement without a wrapper object.\"),e;s(1!==e.nodeType,\"React.addons.createFragment(...): Encountered an invalid child; DOM elements are not valid children of React components.\");var t=[];for(var n in e)_(e[n],t,n,a.thatReturnsArgument);return t}},function(e,t,n){\"use strict\";var r=n(120);e.exports=r},function(e,t,n){\"use strict\";function r(e){return e.match(/^\\{\\{\\//)?{type:\"componentClose\",value:e.replace(/\\W/g,\"\")}:e.match(/\\/\\}\\}$/)?{type:\"componentSelfClosing\",value:e.replace(/\\W/g,\"\")}:e.match(/^\\{\\{/)?{type:\"componentOpen\",value:e.replace(/\\W/g,\"\")}:{type:\"string\",value:e}}e.exports=function(e){return e.split(/(\\{\\{\\/?\\s*\\w+\\s*\\/?\\}\\})/g).map(r)}},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if(\"undefined\"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,a=void 0;try{for(var s,o=e[Symbol.iterator]();!(r=(s=o.next()).done)&&(n.push(s.value),!t||n.length!==t);r=!0);}catch(c){i=!0,a=c}finally{try{r||null==o.return||o.return()}finally{if(i)throw a}}return n}}},function(e,t){e.exports=function(){throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\")}},function(e,t){e.exports=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}},function(e,t,n){},function(e,t,n){},function(e,t,n){var r=n(44);e.exports=function(e){function t(e){for(var t=0,n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n),t|=0;return i.colors[Math.abs(t)%i.colors.length]}function i(e){var n;function r(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];if(r.enabled){var s=r,o=Number(new Date),c=o-(n||o);s.diff=c,s.prev=n,s.curr=o,n=o,t[0]=i.coerce(t[0]),\"string\"!=typeof t[0]&&t.unshift(\"%O\");var l=0;t[0]=t[0].replace(/%([a-zA-Z%])/g,(function(e,n){if(\"%%\"===e)return e;l++;var r=i.formatters[n];if(\"function\"==typeof r){var a=t[l];e=r.call(s,a),t.splice(l,1),l--}return e})),i.formatArgs.call(s,t);var u=s.log||i.log;u.apply(s,t)}}return r.namespace=e,r.enabled=i.enabled(e),r.useColors=i.useColors(),r.color=t(e),r.destroy=a,r.extend=s,\"function\"==typeof i.init&&i.init(r),i.instances.push(r),r}function a(){var e=i.instances.indexOf(this);return-1!==e&&(i.instances.splice(e,1),!0)}function s(e,t){var n=i(this.namespace+(void 0===t?\":\":t)+e);return n.log=this.log,n}function o(e){return e.toString().substring(2,e.toString().length-2).replace(/\\.\\*\\?$/,\"*\")}return i.debug=i,i.default=i,i.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},i.disable=function(){var e=[].concat(r(i.names.map(o)),r(i.skips.map(o).map((function(e){return\"-\"+e})))).join(\",\");return i.enable(\"\"),e},i.enable=function(e){var t;i.save(e),i.names=[],i.skips=[];var n=(\"string\"==typeof e?e:\"\").split(/[\\s,]+/),r=n.length;for(t=0;t<r;t++)n[t]&&(\"-\"===(e=n[t].replace(/\\*/g,\".*?\"))[0]?i.skips.push(new RegExp(\"^\"+e.substr(1)+\"$\")):i.names.push(new RegExp(\"^\"+e+\"$\")));for(t=0;t<i.instances.length;t++){var a=i.instances[t];a.enabled=i.enabled(a.namespace)}},i.enabled=function(e){if(\"*\"===e[e.length-1])return!0;var t,n;for(t=0,n=i.skips.length;t<n;t++)if(i.skips[t].test(e))return!1;for(t=0,n=i.names.length;t<n;t++)if(i.names[t].test(e))return!0;return!1},i.humanize=n(119),Object.keys(e).forEach((function(t){i[t]=e[t]})),i.instances=[],i.names=[],i.skips=[],i.formatters={},i.selectColor=t,i.enable(i.load()),i}},function(e,t,n){\"use strict\";t.__esModule=!0,t.default=function(e,t){return!(0,a.default)(this.props,e)||!(0,a.default)(this.state,t)};var r,i=n(219),a=(r=i)&&r.__esModule?r:{default:r};e.exports=t.default},function(e,t,n){\"use strict\";t.__esModule=!0,t.default=function(e,t){if(e===t)return!0;if(\"object\"!=typeof e||null===e||\"object\"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var i=Object.prototype.hasOwnProperty.bind(t),a=0;a<n.length;a++)if(!i(n[a])||e[n[a]]!==t[n[a]])return!1;return!0},e.exports=t.default},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){var r=n(227);e.exports=d,e.exports.parse=a,e.exports.compile=function(e){return s(a(e))},e.exports.tokensToFunction=s,e.exports.tokensToRegExp=p;var i=new RegExp([\"(\\\\\\\\.)\",\"([\\\\/.])?(?:(?:\\\\:(\\\\w+)(?:\\\\(((?:\\\\\\\\.|[^()])+)\\\\))?|\\\\(((?:\\\\\\\\.|[^()])+)\\\\))([+*?])?|(\\\\*))\"].join(\"|\"),\"g\");function a(e){for(var t,n=[],r=0,a=0,s=\"\";null!=(t=i.exec(e));){var o=t[0],l=t[1],u=t.index;if(s+=e.slice(a,u),a=u+o.length,l)s+=l[1];else{s&&(n.push(s),s=\"\");var p=t[2],d=t[3],h=t[4],f=t[5],m=t[6],g=t[7],v=\"+\"===m||\"*\"===m,b=\"?\"===m||\"*\"===m,y=p||\"/\",_=h||f||(g?\".*\":\"[^\"+y+\"]+?\");n.push({name:d||r++,prefix:p||\"\",delimiter:y,optional:b,repeat:v,pattern:c(_)})}}return a<e.length&&(s+=e.substr(a)),s&&n.push(s),n}function s(e){for(var t=new Array(e.length),n=0;n<e.length;n++)\"object\"==typeof e[n]&&(t[n]=new RegExp(\"^\"+e[n].pattern+\"$\"));return function(n){for(var i=\"\",a=n||{},s=0;s<e.length;s++){var o=e[s];if(\"string\"!=typeof o){var c,l=a[o.name];if(null==l){if(o.optional)continue;throw new TypeError(\'Expected \"\'+o.name+\'\" to be defined\')}if(r(l)){if(!o.repeat)throw new TypeError(\'Expected \"\'+o.name+\'\" to not repeat, but received \"\'+l+\'\"\');if(0===l.length){if(o.optional)continue;throw new TypeError(\'Expected \"\'+o.name+\'\" to not be empty\')}for(var u=0;u<l.length;u++){if(c=encodeURIComponent(l[u]),!t[s].test(c))throw new TypeError(\'Expected all \"\'+o.name+\'\" to match \"\'+o.pattern+\'\", but received \"\'+c+\'\"\');i+=(0===u?o.prefix:o.delimiter)+c}}else{if(c=encodeURIComponent(l),!t[s].test(c))throw new TypeError(\'Expected \"\'+o.name+\'\" to match \"\'+o.pattern+\'\", but received \"\'+c+\'\"\');i+=o.prefix+c}}else i+=o}return i}}function o(e){return e.replace(/([.+*?=^!:${}()[\\]|\\/])/g,\"\\\\$1\")}function c(e){return e.replace(/([=!:$\\/()])/g,\"\\\\$1\")}function l(e,t){return e.keys=t,e}function u(e){return e.sensitive?\"\":\"i\"}function p(e,t){for(var n=(t=t||{}).strict,r=!1!==t.end,i=\"\",a=e[e.length-1],s=\"string\"==typeof a&&/\\/$/.test(a),c=0;c<e.length;c++){var l=e[c];if(\"string\"==typeof l)i+=o(l);else{var p=o(l.prefix),d=l.pattern;l.repeat&&(d+=\"(?:\"+p+d+\")*\"),i+=d=l.optional?p?\"(?:\"+p+\"(\"+d+\"))?\":\"(\"+d+\")?\":p+\"(\"+d+\")\"}}return n||(i=(s?i.slice(0,-2):i)+\"(?:\\\\/(?=$))?\"),i+=r?\"$\":n&&s?\"\":\"(?=\\\\/|$)\",new RegExp(\"^\"+i,u(t))}function d(e,t,n){return r(t=t||[])?n||(n={}):(n=t,t=[]),e instanceof RegExp?function(e,t){var n=e.source.match(/\\((?!\\?)/g);if(n)for(var r=0;r<n.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,pattern:null});return l(e,t)}(e,t):r(e)?function(e,t,n){for(var r=[],i=0;i<e.length;i++)r.push(d(e[i],t,n).source);return l(new RegExp(\"(?:\"+r.join(\"|\")+\")\",u(n)),t)}(e,t,n):function(e,t,n){for(var r=a(e),i=p(r,n),s=0;s<r.length;s++)\"string\"!=typeof r[s]&&t.push(r[s]);return l(i,t)}(e,t,n)}},function(e,t){e.exports=Array.isArray||function(e){return\"[object Array]\"==Object.prototype.toString.call(e)}},function(e,t,n){(function(e){var r;/*! https://mths.be/punycode v1.4.1 by @mathias */!function(i){t&&t.nodeType,e&&e.nodeType;var a=\"object\"==typeof window&&window;a.global!==a&&a.window!==a&&a.self;var s,o=2147483647,c=/^xn--/,l=/[^\\x20-\\x7E]/,u=/[\\x2E\\u3002\\uFF0E\\uFF61]/g,p={overflow:\"Overflow: input needs wider integers to process\",\"not-basic\":\"Illegal input >= 0x80 (not a basic code point)\",\"invalid-input\":\"Invalid input\"},d=Math.floor,h=String.fromCharCode;function f(e){throw new RangeError(p[e])}function m(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function g(e,t){var n=e.split(\"@\"),r=\"\";return n.length>1&&(r=n[0]+\"@\",e=n[1]),r+m((e=e.replace(u,\".\")).split(\".\"),t).join(\".\")}function v(e){for(var t,n,r=[],i=0,a=e.length;i<a;)(t=e.charCodeAt(i++))>=55296&&t<=56319&&i<a?56320==(64512&(n=e.charCodeAt(i++)))?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),i--):r.push(t);return r}function b(e){return m(e,(function(e){var t=\"\";return e>65535&&(t+=h((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=h(e)})).join(\"\")}function y(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function _(e,t,n){var r=0;for(e=n?d(e/700):e>>1,e+=d(e/t);e>455;r+=36)e=d(e/35);return d(r+36*e/(e+38))}function w(e){var t,n,r,i,a,s,c,l,u,p,h,m=[],g=e.length,v=0,y=128,w=72;for((n=e.lastIndexOf(\"-\"))<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&f(\"not-basic\"),m.push(e.charCodeAt(r));for(i=n>0?n+1:0;i<g;){for(a=v,s=1,c=36;i>=g&&f(\"invalid-input\"),((l=(h=e.charCodeAt(i++))-48<10?h-22:h-65<26?h-65:h-97<26?h-97:36)>=36||l>d((o-v)/s))&&f(\"overflow\"),v+=l*s,!(l<(u=c<=w?1:c>=w+26?26:c-w));c+=36)s>d(o/(p=36-u))&&f(\"overflow\"),s*=p;w=_(v-a,t=m.length+1,0==a),d(v/t)>o-y&&f(\"overflow\"),y+=d(v/t),v%=t,m.splice(v++,0,y)}return b(m)}function k(e){var t,n,r,i,a,s,c,l,u,p,m,g,b,w,k,E=[];for(g=(e=v(e)).length,t=128,n=0,a=72,s=0;s<g;++s)(m=e[s])<128&&E.push(h(m));for(r=i=E.length,i&&E.push(\"-\");r<g;){for(c=o,s=0;s<g;++s)(m=e[s])>=t&&m<c&&(c=m);for(c-t>d((o-n)/(b=r+1))&&f(\"overflow\"),n+=(c-t)*b,t=c,s=0;s<g;++s)if((m=e[s])<t&&++n>o&&f(\"overflow\"),m==t){for(l=n,u=36;!(l<(p=u<=a?1:u>=a+26?26:u-a));u+=36)k=l-p,w=36-p,E.push(h(y(p+k%w,0))),l=d(k/w);E.push(h(y(l,0))),a=_(n,b,r==i),n=0,++r}++n,++t}return E.join(\"\")}s={version:\"1.4.1\",ucs2:{decode:v,encode:b},decode:w,encode:k,toASCII:function(e){return g(e,(function(e){return l.test(e)?\"xn--\"+k(e):e}))},toUnicode:function(e){return g(e,(function(e){return c.test(e)?w(e.slice(4).toLowerCase()):e}))}},void 0===(r=function(){return s}.call(t,n,t,e))||(e.exports=r)}()}).call(this,n(122)(e))},function(e,t,n){\"use strict\";e.exports={isString:function(e){return\"string\"==typeof e},isObject:function(e){return\"object\"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},function(e,t,n){\"use strict\";t.decode=t.parse=n(231),t.encode=t.stringify=n(232)},function(e,t,n){\"use strict\";function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,n,a){t=t||\"&\",n=n||\"=\";var s={};if(\"string\"!=typeof e||0===e.length)return s;var o=/\\+/g;e=e.split(t);var c=1e3;a&&\"number\"==typeof a.maxKeys&&(c=a.maxKeys);var l=e.length;c>0&&l>c&&(l=c);for(var u=0;u<l;++u){var p,d,h,f,m=e[u].replace(o,\"%20\"),g=m.indexOf(n);g>=0?(p=m.substr(0,g),d=m.substr(g+1)):(p=m,d=\"\"),h=decodeURIComponent(p),f=decodeURIComponent(d),r(s,h)?i(s[h])?s[h].push(f):s[h]=[s[h],f]:s[h]=f}return s};var i=Array.isArray||function(e){return\"[object Array]\"===Object.prototype.toString.call(e)}},function(e,t,n){\"use strict\";var r=function(e){switch(typeof e){case\"string\":return e;case\"boolean\":return e?\"true\":\"false\";case\"number\":return isFinite(e)?e:\"\";default:return\"\"}};e.exports=function(e,t,n,o){return t=t||\"&\",n=n||\"=\",null===e&&(e=void 0),\"object\"==typeof e?a(s(e),(function(s){var o=encodeURIComponent(r(s))+n;return i(e[s])?a(e[s],(function(e){return o+encodeURIComponent(r(e))})).join(t):o+encodeURIComponent(r(e[s]))})).join(t):o?encodeURIComponent(r(o))+n+encodeURIComponent(r(e)):\"\"};var i=Array.isArray||function(e){return\"[object Array]\"===Object.prototype.toString.call(e)};function a(e,t){if(e.map)return e.map(t);for(var n=[],r=0;r<e.length;r++)n.push(t(e[r],r));return n}var s=Object.keys||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t}},function(e,t,n){},function(e,t,n){},function(e,t,n){e.exports={default:n(236),__esModule:!0}},function(e,t,n){n(237),n(238),n(251),n(254),n(265),n(268),n(270),e.exports=n(48).Map},function(e,t){},function(e,t,n){\"use strict\";var r=n(239)(!0);n(77)(String,\"String\",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})}))},function(e,t,n){var r=n(75),i=n(76);e.exports=function(e){return function(t,n){var a,s,o=String(i(t)),c=r(n),l=o.length;return c<0||c>=l?e?\"\":void 0:(a=o.charCodeAt(c))<55296||a>56319||c+1===l||(s=o.charCodeAt(c+1))<56320||s>57343?e?o.charAt(c):a:e?o.slice(c,c+2):s-56320+(a-55296<<10)+65536}}},function(e,t,n){e.exports=!n(37)&&!n(62)((function(){return 7!=Object.defineProperty(n(125)(\"div\"),\"a\",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(36);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&\"function\"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if(\"function\"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&\"function\"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError(\"Can\'t convert object to primitive value\")}},function(e,t,n){e.exports=n(34)},function(e,t,n){\"use strict\";var r=n(127),i=n(126),a=n(83),s={};n(34)(s,n(26)(\"iterator\"),(function(){return this})),e.exports=function(e,t,n){e.prototype=r(s,{next:i(1,n)}),a(e,t+\" Iterator\")}},function(e,t,n){var r=n(35),i=n(50),a=n(245);e.exports=n(37)?Object.defineProperties:function(e,t){i(e);for(var n,s=a(t),o=s.length,c=0;o>c;)r.f(e,n=s[c++],t[n]);return e}},function(e,t,n){var r=n(246),i=n(130);e.exports=Object.keys||function(e){return r(e,i)}},function(e,t,n){var r=n(51),i=n(78),a=n(247)(!1),s=n(81)(\"IE_PROTO\");e.exports=function(e,t){var n,o=i(e),c=0,l=[];for(n in o)n!=s&&r(o,n)&&l.push(n);for(;t.length>c;)r(o,n=t[c++])&&(~a(l,n)||l.push(n));return l}},function(e,t,n){var r=n(78),i=n(80),a=n(248);e.exports=function(e){return function(t,n,s){var o,c=r(t),l=i(c.length),u=a(s,l);if(e&&n!=n){for(;l>u;)if((o=c[u++])!=o)return!0}else for(;l>u;u++)if((e||u in c)&&c[u]===n)return e||u||0;return!e&&-1}}},function(e,t,n){var r=n(75),i=Math.max,a=Math.min;e.exports=function(e,t){return(e=r(e))<0?i(e+t,0):a(e,t)}},function(e,t,n){var r=n(29).document;e.exports=r&&r.documentElement},function(e,t,n){var r=n(51),i=n(131),a=n(81)(\"IE_PROTO\"),s=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),r(e,a)?e[a]:\"function\"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?s:null}},function(e,t,n){n(252);for(var r=n(29),i=n(34),a=n(52),s=n(26)(\"toStringTag\"),o=\"CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList\".split(\",\"),c=0;c<o.length;c++){var l=o[c],u=r[l],p=u&&u.prototype;p&&!p[s]&&i(p,s,l),a[l]=a.Array}},function(e,t,n){\"use strict\";var r=n(253),i=n(132),a=n(52),s=n(78);e.exports=n(77)(Array,\"Array\",(function(e,t){this._t=s(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):i(0,\"keys\"==t?n:\"values\"==t?e[n]:[n,e[n]])}),\"values\"),a.Arguments=a.Array,r(\"keys\"),r(\"values\"),r(\"entries\")},function(e,t){e.exports=function(){}},function(e,t,n){\"use strict\";var r=n(255),i=n(137);e.exports=n(260)(\"Map\",(function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}}),{get:function(e){var t=r.getEntry(i(this,\"Map\"),e);return t&&t.v},set:function(e,t){return r.def(i(this,\"Map\"),0===e?0:e,t)}},r,!0)},function(e,t,n){\"use strict\";var r=n(35).f,i=n(127),a=n(133),s=n(49),o=n(134),c=n(63),l=n(77),u=n(132),p=n(259),d=n(37),h=n(136).fastKey,f=n(137),m=d?\"_s\":\"size\",g=function(e,t){var n,r=h(t);if(\"F\"!==r)return e._i[r];for(n=e._f;n;n=n.n)if(n.k==t)return n};e.exports={getConstructor:function(e,t,n,l){var u=e((function(e,r){o(e,u,t,\"_i\"),e._t=t,e._i=i(null),e._f=void 0,e._l=void 0,e[m]=0,null!=r&&c(r,n,e[l],e)}));return a(u.prototype,{clear:function(){for(var e=f(this,t),n=e._i,r=e._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];e._f=e._l=void 0,e[m]=0},delete:function(e){var n=f(this,t),r=g(n,e);if(r){var i=r.n,a=r.p;delete n._i[r.i],r.r=!0,a&&(a.n=i),i&&(i.p=a),n._f==r&&(n._f=i),n._l==r&&(n._l=a),n[m]--}return!!r},forEach:function(e){f(this,t);for(var n,r=s(e,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(r(n.v,n.k,this);n&&n.r;)n=n.p},has:function(e){return!!g(f(this,t),e)}}),d&&r(u.prototype,\"size\",{get:function(){return f(this,t)[m]}}),u},def:function(e,t,n){var r,i,a=g(e,t);return a?a.v=n:(e._l=a={i:i=h(t,!0),k:t,v:n,p:r=e._l,n:void 0,r:!1},e._f||(e._f=a),r&&(r.n=a),e[m]++,\"F\"!==i&&(e._i[i]=a)),e},getEntry:g,setStrong:function(e,t,n){l(e,t,(function(e,n){this._t=f(e,t),this._k=n,this._l=void 0}),(function(){for(var e=this._k,t=this._l;t&&t.r;)t=t.p;return this._t&&(this._l=t=t?t.n:this._t._f)?u(0,\"keys\"==e?t.k:\"values\"==e?t.v:[t.k,t.v]):(this._t=void 0,u(1))}),n?\"entries\":\"values\",!n,!0),p(t)}}},function(e,t,n){var r=n(50);e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(s){var a=e.return;throw void 0!==a&&r(a.call(e)),s}}},function(e,t,n){var r=n(52),i=n(26)(\"iterator\"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||a[i]===e)}},function(e,t,n){var r=n(135),i=n(26)(\"iterator\"),a=n(52);e.exports=n(48).getIteratorMethod=function(e){if(null!=e)return e[i]||e[\"@@iterator\"]||a[r(e)]}},function(e,t,n){\"use strict\";var r=n(29),i=n(48),a=n(35),s=n(37),o=n(26)(\"species\");e.exports=function(e){var t=\"function\"==typeof i[e]?i[e]:r[e];s&&t&&!t[o]&&a.f(t,o,{configurable:!0,get:function(){return this}})}},function(e,t,n){\"use strict\";var r=n(29),i=n(47),a=n(136),s=n(62),o=n(34),c=n(133),l=n(63),u=n(134),p=n(36),d=n(83),h=n(35).f,f=n(261)(0),m=n(37);e.exports=function(e,t,n,g,v,b){var y=r[e],_=y,w=v?\"set\":\"add\",k=_&&_.prototype,E={};return m&&\"function\"==typeof _&&(b||k.forEach&&!s((function(){(new _).entries().next()})))?(_=t((function(t,n){u(t,_,e,\"_c\"),t._c=new y,null!=n&&l(n,v,t[w],t)})),f(\"add,clear,delete,forEach,get,has,set,keys,values,entries,toJSON\".split(\",\"),(function(e){var t=\"add\"==e||\"set\"==e;e in k&&(!b||\"clear\"!=e)&&o(_.prototype,e,(function(n,r){if(u(this,_,e),!t&&b&&!p(n))return\"get\"==e&&void 0;var i=this._c[e](0===n?0:n,r);return t?this:i}))})),b||h(_.prototype,\"size\",{get:function(){return this._c.size}})):(_=g.getConstructor(t,e,v,w),c(_.prototype,n),a.NEED=!0),d(_,e),E[e]=_,i(i.G+i.W+i.F,E),b||g.setStrong(_,e,v),_}},function(e,t,n){var r=n(49),i=n(128),a=n(131),s=n(80),o=n(262);e.exports=function(e,t){var n=1==e,c=2==e,l=3==e,u=4==e,p=6==e,d=5==e||p,h=t||o;return function(t,o,f){for(var m,g,v=a(t),b=i(v),y=r(o,f,3),_=s(b.length),w=0,k=n?h(t,_):c?h(t,0):void 0;_>w;w++)if((d||w in b)&&(g=y(m=b[w],w,v),e))if(n)k[w]=g;else if(g)switch(e){case 3:return!0;case 5:return m;case 6:return w;case 2:k.push(m)}else if(u)return!1;return p?-1:l||u?u:k}}},function(e,t,n){var r=n(263);e.exports=function(e,t){return new(r(e))(t)}},function(e,t,n){var r=n(36),i=n(264),a=n(26)(\"species\");e.exports=function(e){var t;return i(e)&&(\"function\"!=typeof(t=e.constructor)||t!==Array&&!i(t.prototype)||(t=void 0),r(t)&&null===(t=t[a])&&(t=void 0)),void 0===t?Array:t}},function(e,t,n){var r=n(79);e.exports=Array.isArray||function(e){return\"Array\"==r(e)}},function(e,t,n){var r=n(47);r(r.P+r.R,\"Map\",{toJSON:n(266)(\"Map\")})},function(e,t,n){var r=n(135),i=n(267);e.exports=function(e){return function(){if(r(this)!=e)throw TypeError(e+\"#toJSON isn\'t generic\");return i(this)}}},function(e,t,n){var r=n(63);e.exports=function(e,t){var n=[];return r(e,!1,n.push,n,t),n}},function(e,t,n){n(269)(\"Map\")},function(e,t,n){\"use strict\";var r=n(47);e.exports=function(e){r(r.S,e,{of:function(){for(var e=arguments.length,t=new Array(e);e--;)t[e]=arguments[e];return new this(t)}})}},function(e,t,n){n(271)(\"Map\")},function(e,t,n){\"use strict\";var r=n(47),i=n(124),a=n(49),s=n(63);e.exports=function(e){r(r.S,e,{from:function(e){var t,n,r,o,c=arguments[1];return i(this),(t=void 0!==c)&&i(c),null==e?new this:(n=[],t?(r=0,o=a(c,arguments[2],2),s(e,!1,(function(e){n.push(o(e,r++))}))):s(e,!1,n.push,n),new this(n))}})}},function(e,t){var n=window.addEventListener?\"addEventListener\":\"attachEvent\",r=window.removeEventListener?\"removeEventListener\":\"detachEvent\",i=\"addEventListener\"!==n?\"on\":\"\";t.bind=function(e,t,r,a){return e[n](i+t,r,a||!1),r},t.unbind=function(e,t,n,a){return e[r](i+t,n,a||!1),n}},function(e,t){e.exports=function(e,t){return e===t||!!(16&e.compareDocumentPosition(t))}},function(e,t,n){\"use strict\";t.randomBytes=t.rng=t.pseudoRandomBytes=t.prng=n(40),t.createHash=t.Hash=n(53),t.createHmac=t.Hmac=n(146);var r=n(294),i=Object.keys(r),a=[\"sha1\",\"sha224\",\"sha256\",\"sha384\",\"sha512\",\"md5\",\"rmd160\"].concat(i);t.getHashes=function(){return a};var s=n(149);t.pbkdf2=s.pbkdf2,t.pbkdf2Sync=s.pbkdf2Sync;var o=n(296);t.Cipher=o.Cipher,t.createCipher=o.createCipher,t.Cipheriv=o.Cipheriv,t.createCipheriv=o.createCipheriv,t.Decipher=o.Decipher,t.createDecipher=o.createDecipher,t.Decipheriv=o.Decipheriv,t.createDecipheriv=o.createDecipheriv,t.getCiphers=o.getCiphers,t.listCiphers=o.listCiphers;var c=n(313);t.DiffieHellmanGroup=c.DiffieHellmanGroup,t.createDiffieHellmanGroup=c.createDiffieHellmanGroup,t.getDiffieHellman=c.getDiffieHellman,t.createDiffieHellman=c.createDiffieHellman,t.DiffieHellman=c.DiffieHellman;var l=n(318);t.createSign=l.createSign,t.Sign=l.Sign,t.createVerify=l.createVerify,t.Verify=l.Verify,t.createECDH=n(351);var u=n(352);t.publicEncrypt=u.publicEncrypt,t.privateEncrypt=u.privateEncrypt,t.publicDecrypt=u.publicDecrypt,t.privateDecrypt=u.privateDecrypt;var p=n(355);t.randomFill=p.randomFill,t.randomFillSync=p.randomFillSync,t.createCredentials=function(){throw new Error([\"sorry, createCredentials is not implemented yet\",\"we accept pull requests\",\"https://github.com/crypto-browserify/crypto-browserify\"].join(\"\\n\"))},t.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}},function(e,t,n){\"use strict\";t.byteLength=function(e){var t=l(e),n=t[0],r=t[1];return 3*(n+r)/4-r},t.toByteArray=function(e){for(var t,n=l(e),r=n[0],s=n[1],o=new a(function(e,t,n){return 3*(t+n)/4-n}(0,r,s)),c=0,u=s>0?r-4:r,p=0;p<u;p+=4)t=i[e.charCodeAt(p)]<<18|i[e.charCodeAt(p+1)]<<12|i[e.charCodeAt(p+2)]<<6|i[e.charCodeAt(p+3)],o[c++]=t>>16&255,o[c++]=t>>8&255,o[c++]=255&t;2===s&&(t=i[e.charCodeAt(p)]<<2|i[e.charCodeAt(p+1)]>>4,o[c++]=255&t);1===s&&(t=i[e.charCodeAt(p)]<<10|i[e.charCodeAt(p+1)]<<4|i[e.charCodeAt(p+2)]>>2,o[c++]=t>>8&255,o[c++]=255&t);return o},t.fromByteArray=function(e){for(var t,n=e.length,i=n%3,a=[],s=0,o=n-i;s<o;s+=16383)a.push(u(e,s,s+16383>o?o:s+16383));1===i?(t=e[n-1],a.push(r[t>>2]+r[t<<4&63]+\"==\")):2===i&&(t=(e[n-2]<<8)+e[n-1],a.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+\"=\"));return a.join(\"\")};for(var r=[],i=[],a=\"undefined\"!=typeof Uint8Array?Uint8Array:Array,s=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\",o=0,c=s.length;o<c;++o)r[o]=s[o],i[s.charCodeAt(o)]=o;function l(e){var t=e.length;if(t%4>0)throw new Error(\"Invalid string. Length must be a multiple of 4\");var n=e.indexOf(\"=\");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function u(e,t,n){for(var i,a,s=[],o=t;o<n;o+=3)i=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(255&e[o+2]),s.push(r[(a=i)>>18&63]+r[a>>12&63]+r[a>>6&63]+r[63&a]);return s.join(\"\")}i[\"-\".charCodeAt(0)]=62,i[\"_\".charCodeAt(0)]=63},function(e,t){t.read=function(e,t,n,r,i){var a,s,o=8*i-r-1,c=(1<<o)-1,l=c>>1,u=-7,p=n?i-1:0,d=n?-1:1,h=e[t+p];for(p+=d,a=h&(1<<-u)-1,h>>=-u,u+=o;u>0;a=256*a+e[t+p],p+=d,u-=8);for(s=a&(1<<-u)-1,a>>=-u,u+=r;u>0;s=256*s+e[t+p],p+=d,u-=8);if(0===a)a=1-l;else{if(a===c)return s?NaN:1/0*(h?-1:1);s+=Math.pow(2,r),a-=l}return(h?-1:1)*s*Math.pow(2,a-r)},t.write=function(e,t,n,r,i,a){var s,o,c,l=8*a-i-1,u=(1<<l)-1,p=u>>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:a-1,f=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(o=isNaN(t)?1:0,s=u):(s=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-s))<1&&(s--,c*=2),(t+=s+p>=1?d/c:d*Math.pow(2,1-p))*c>=2&&(s++,c/=2),s+p>=u?(o=0,s=u):s+p>=1?(o=(t*c-1)*Math.pow(2,i),s+=p):(o=t*Math.pow(2,p-1)*Math.pow(2,i),s=0));i>=8;e[n+h]=255&o,h+=f,o/=256,i-=8);for(s=s<<i|o,l+=i;l>0;e[n+h]=255&s,h+=f,s/=256,l-=8);e[n+h-f]|=128*m}},function(e,t){},function(e,t,n){\"use strict\";var r=n(87).Buffer,i=n(279);e.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return\"\";for(var t=this.head,n=\"\"+t.data;t=t.next;)n+=e+t.data;return n},e.prototype.concat=function(e){if(0===this.length)return r.alloc(0);if(1===this.length)return this.head.data;for(var t,n,i,a=r.allocUnsafe(e>>>0),s=this.head,o=0;s;)t=s.data,n=a,i=o,t.copy(n,i),o+=s.data.length,s=s.next;return a},e}(),i&&i.inspect&&i.inspect.custom&&(e.exports.prototype[i.inspect.custom]=function(){var e=i.inspect({length:this.length});return this.constructor.name+\" \"+e})},function(e,t){},function(e,t,n){var r=\"undefined\"!=typeof window&&window||\"undefined\"!=typeof self&&self||window,i=Function.prototype.apply;function a(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new a(i.call(setTimeout,r,arguments),clearTimeout)},t.setInterval=function(){return new a(i.call(setInterval,r,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},a.prototype.unref=a.prototype.ref=function(){},a.prototype.close=function(){this._clearFn.call(r,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},n(281),t.setImmediate=\"undefined\"!=typeof self&&self.setImmediate||\"undefined\"!=typeof window&&window.setImmediate||this&&this.setImmediate,t.clearImmediate=\"undefined\"!=typeof self&&self.clearImmediate||\"undefined\"!=typeof window&&window.clearImmediate||this&&this.clearImmediate},function(e,t,n){(function(e){!function(t,n){\"use strict\";if(!t.setImmediate){var r,i,a,s,o,c=1,l={},u=!1,p=t.document,d=Object.getPrototypeOf&&Object.getPrototypeOf(t);d=d&&d.setTimeout?d:t,\"[object process]\"==={}.toString.call(t.process)?r=function(t){e.nextTick((function(){f(t)}))}:!function(){if(t.postMessage&&!t.importScripts){var e=!0,n=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage(\"\",\"*\"),t.onmessage=n,e}}()?t.MessageChannel?((a=new MessageChannel).port1.onmessage=function(e){f(e.data)},r=function(e){a.port2.postMessage(e)}):p&&\"onreadystatechange\"in p.createElement(\"script\")?(i=p.documentElement,r=function(e){var t=p.createElement(\"script\");t.onreadystatechange=function(){f(e),t.onreadystatechange=null,i.removeChild(t),t=null},i.appendChild(t)}):r=function(e){setTimeout(f,0,e)}:(s=\"setImmediate$\"+Math.random()+\"$\",o=function(e){e.source===t&&\"string\"==typeof e.data&&0===e.data.indexOf(s)&&f(+e.data.slice(s.length))},t.addEventListener?t.addEventListener(\"message\",o,!1):t.attachEvent(\"onmessage\",o),r=function(e){t.postMessage(s+e,\"*\")}),d.setImmediate=function(e){\"function\"!=typeof e&&(e=new Function(\"\"+e));for(var t=new Array(arguments.length-1),n=0;n<t.length;n++)t[n]=arguments[n+1];var i={callback:e,args:t};return l[c]=i,r(c),c++},d.clearImmediate=h}function h(e){delete l[e]}function f(e){if(u)setTimeout(f,0,e);else{var t=l[e];if(t){u=!0;try{!function(e){var t=e.callback,n=e.args;switch(n.length){case 0:t();break;case 1:t(n[0]);break;case 2:t(n[0],n[1]);break;case 3:t(n[0],n[1],n[2]);break;default:t.apply(void 0,n)}}(t)}finally{h(e),u=!1}}}}}(\"undefined\"==typeof self?\"undefined\"==typeof window?this:window:self)}).call(this,n(23))},function(e,t){function n(e){try{if(!window.localStorage)return!1}catch(n){return!1}var t=window.localStorage[e];return null!=t&&\"true\"===String(t).toLowerCase()}e.exports=function(e,t){if(n(\"noDeprecation\"))return e;var r=!1;return function(){if(!r){if(n(\"throwDeprecation\"))throw new Error(t);n(\"traceDeprecation\")?console.trace(t):console.warn(t),r=!0}return e.apply(this,arguments)}}},function(e,t,n){var r=n(19),i=r.Buffer;function a(e,t){for(var n in e)t[n]=e[n]}function s(e,t,n){return i(e,t,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=r:(a(r,t),t.Buffer=s),a(i,s),s.from=function(e,t,n){if(\"number\"==typeof e)throw new TypeError(\"Argument must not be a number\");return i(e,t,n)},s.alloc=function(e,t,n){if(\"number\"!=typeof e)throw new TypeError(\"Argument must be a number\");var r=i(e);return void 0!==t?\"string\"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},s.allocUnsafe=function(e){if(\"number\"!=typeof e)throw new TypeError(\"Argument must be a number\");return i(e)},s.allocUnsafeSlow=function(e){if(\"number\"!=typeof e)throw new TypeError(\"Argument must be a number\");return r.SlowBuffer(e)}},function(e,t,n){\"use strict\";e.exports=a;var r=n(143),i=n(54);function a(e){if(!(this instanceof a))return new a(e);r.call(this,e)}i.inherits=n(12),i.inherits(a,r),a.prototype._transform=function(e,t,n){n(null,e)}},function(e,t,n){e.exports=n(88)},function(e,t,n){e.exports=n(38)},function(e,t,n){e.exports=n(86).Transform},function(e,t,n){e.exports=n(86).PassThrough},function(e,t,n){var r=n(12),i=n(41),a=n(13).Buffer,s=[1518500249,1859775393,-1894007588,-899497514],o=new Array(80);function c(){this.init(),this._w=o,i.call(this,64,56)}function l(e){return e<<30|e>>>2}function u(e,t,n,r){return 0===e?t&n|~t&r:2===e?t&n|t&r|n&r:t^n^r}r(c,i),c.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},c.prototype._update=function(e){for(var t,n=this._w,r=0|this._a,i=0|this._b,a=0|this._c,o=0|this._d,c=0|this._e,p=0;p<16;++p)n[p]=e.readInt32BE(4*p);for(;p<80;++p)n[p]=n[p-3]^n[p-8]^n[p-14]^n[p-16];for(var d=0;d<80;++d){var h=~~(d/20),f=0|((t=r)<<5|t>>>27)+u(h,i,a,o)+c+n[d]+s[h];c=o,o=a,a=l(i),i=r,r=f}this._a=r+this._a|0,this._b=i+this._b|0,this._c=a+this._c|0,this._d=o+this._d|0,this._e=c+this._e|0},c.prototype._hash=function(){var e=a.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=c},function(e,t,n){var r=n(12),i=n(41),a=n(13).Buffer,s=[1518500249,1859775393,-1894007588,-899497514],o=new Array(80);function c(){this.init(),this._w=o,i.call(this,64,56)}function l(e){return e<<5|e>>>27}function u(e){return e<<30|e>>>2}function p(e,t,n,r){return 0===e?t&n|~t&r:2===e?t&n|t&r|n&r:t^n^r}r(c,i),c.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},c.prototype._update=function(e){for(var t,n=this._w,r=0|this._a,i=0|this._b,a=0|this._c,o=0|this._d,c=0|this._e,d=0;d<16;++d)n[d]=e.readInt32BE(4*d);for(;d<80;++d)n[d]=(t=n[d-3]^n[d-8]^n[d-14]^n[d-16])<<1|t>>>31;for(var h=0;h<80;++h){var f=~~(h/20),m=l(r)+p(f,i,a,o)+c+n[h]+s[f]|0;c=o,o=a,a=u(i),i=r,r=m}this._a=r+this._a|0,this._b=i+this._b|0,this._c=a+this._c|0,this._d=o+this._d|0,this._e=c+this._e|0},c.prototype._hash=function(){var e=a.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=c},function(e,t,n){var r=n(12),i=n(144),a=n(41),s=n(13).Buffer,o=new Array(64);function c(){this.init(),this._w=o,a.call(this,64,56)}r(c,i),c.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},c.prototype._hash=function(){var e=s.allocUnsafe(28);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e},e.exports=c},function(e,t,n){var r=n(12),i=n(145),a=n(41),s=n(13).Buffer,o=new Array(160);function c(){this.init(),this._w=o,a.call(this,128,112)}r(c,i),c.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},c.prototype._hash=function(){var e=s.allocUnsafe(48);function t(t,n,r){e.writeInt32BE(t,r),e.writeInt32BE(n,r+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),e},e.exports=c},function(e,t,n){\"use strict\";var r=n(12),i=n(13).Buffer,a=n(30),s=i.alloc(128);function o(e,t){a.call(this,\"digest\"),\"string\"==typeof t&&(t=i.from(t)),this._alg=e,this._key=t,t.length>64?t=e(t):t.length<64&&(t=i.concat([t,s],64));for(var n=this._ipad=i.allocUnsafe(64),r=this._opad=i.allocUnsafe(64),o=0;o<64;o++)n[o]=54^t[o],r[o]=92^t[o];this._hash=[n]}r(o,a),o.prototype._update=function(e){this._hash.push(e)},o.prototype._final=function(){var e=this._alg(i.concat(this._hash));return this._alg(i.concat([this._opad,e]))},e.exports=o},function(e,t,n){e.exports=n(148)},function(e,t,n){(function(t){var r,i=n(150),a=n(151),s=n(152),o=n(13).Buffer,c=window.crypto&&window.crypto.subtle,l={sha:\"SHA-1\",\"sha-1\":\"SHA-1\",sha1:\"SHA-1\",sha256:\"SHA-256\",\"sha-256\":\"SHA-256\",sha384:\"SHA-384\",\"sha-384\":\"SHA-384\",\"sha-512\":\"SHA-512\",sha512:\"SHA-512\"},u=[];function p(e,t,n,r,i){return c.importKey(\"raw\",e,{name:\"PBKDF2\"},!1,[\"deriveBits\"]).then((function(e){return c.deriveBits({name:\"PBKDF2\",salt:t,iterations:n,hash:{name:i}},e,r<<3)})).then((function(e){return o.from(e)}))}e.exports=function(e,n,d,h,f,m){\"function\"==typeof f&&(m=f,f=void 0);var g=l[(f=f||\"sha1\").toLowerCase()];if(!g||\"function\"!=typeof window.Promise)return t.nextTick((function(){var t;try{t=s(e,n,d,h,f)}catch(r){return m(r)}m(null,t)}));if(i(e,n,d,h),\"function\"!=typeof m)throw new Error(\"No callback provided to pbkdf2\");o.isBuffer(e)||(e=o.from(e,a)),o.isBuffer(n)||(n=o.from(n,a)),function(e,n){e.then((function(e){t.nextTick((function(){n(null,e)}))}),(function(e){t.nextTick((function(){n(e)}))}))}(function(e){if(window.process&&!window.process.browser)return Promise.resolve(!1);if(!c||!c.importKey||!c.deriveBits)return Promise.resolve(!1);if(void 0!==u[e])return u[e];var t=p(r=r||o.alloc(8),r,10,128,e).then((function(){return!0})).catch((function(){return!1}));return u[e]=t,t}(g).then((function(t){return t?p(e,n,d,h,g):s(e,n,d,h,f)})),m)}}).call(this,n(23))},function(e,t,n){var r=n(297),i=n(93),a=n(94),s=n(312),o=n(66);function c(e,t,n){if(e=e.toLowerCase(),a[e])return i.createCipheriv(e,t,n);if(s[e])return new r({key:t,iv:n,mode:e});throw new TypeError(\"invalid suite type\")}function l(e,t,n){if(e=e.toLowerCase(),a[e])return i.createDecipheriv(e,t,n);if(s[e])return new r({key:t,iv:n,mode:e,decrypt:!0});throw new TypeError(\"invalid suite type\")}t.createCipher=t.Cipher=function(e,t){var n,r;if(e=e.toLowerCase(),a[e])n=a[e].key,r=a[e].iv;else{if(!s[e])throw new TypeError(\"invalid suite type\");n=8*s[e].key,r=s[e].iv}var i=o(t,!1,n,r);return c(e,i.key,i.iv)},t.createCipheriv=t.Cipheriv=c,t.createDecipher=t.Decipher=function(e,t){var n,r;if(e=e.toLowerCase(),a[e])n=a[e].key,r=a[e].iv;else{if(!s[e])throw new TypeError(\"invalid suite type\");n=8*s[e].key,r=s[e].iv}var i=o(t,!1,n,r);return l(e,i.key,i.iv)},t.createDecipheriv=t.Decipheriv=l,t.listCiphers=t.getCiphers=function(){return Object.keys(s).concat(i.getCiphers())}},function(e,t,n){var r=n(30),i=n(92),a=n(12),s=n(13).Buffer,o={\"des-ede3-cbc\":i.CBC.instantiate(i.EDE),\"des-ede3\":i.EDE,\"des-ede-cbc\":i.CBC.instantiate(i.EDE),\"des-ede\":i.EDE,\"des-cbc\":i.CBC.instantiate(i.DES),\"des-ecb\":i.DES};function c(e){r.call(this);var t,n=e.mode.toLowerCase(),i=o[n];t=e.decrypt?\"decrypt\":\"encrypt\";var a=e.key;s.isBuffer(a)||(a=s.from(a)),\"des-ede\"!==n&&\"des-ede-cbc\"!==n||(a=s.concat([a,a.slice(0,8)]));var c=e.iv;s.isBuffer(c)||(c=s.from(c)),this._des=i.create({key:a,iv:c,type:t})}o.des=o[\"des-cbc\"],o.des3=o[\"des-ede3-cbc\"],e.exports=c,a(c,r),c.prototype._update=function(e){return s.from(this._des.update(e))},c.prototype._final=function(){return s.from(this._des.final())}},function(e,t,n){\"use strict\";t.readUInt32BE=function(e,t){return(e[0+t]<<24|e[1+t]<<16|e[2+t]<<8|e[3+t])>>>0},t.writeUInt32BE=function(e,t,n){e[0+n]=t>>>24,e[1+n]=t>>>16&255,e[2+n]=t>>>8&255,e[3+n]=255&t},t.ip=function(e,t,n,r){for(var i=0,a=0,s=6;s>=0;s-=2){for(var o=0;o<=24;o+=8)i<<=1,i|=t>>>o+s&1;for(o=0;o<=24;o+=8)i<<=1,i|=e>>>o+s&1}for(s=6;s>=0;s-=2){for(o=1;o<=25;o+=8)a<<=1,a|=t>>>o+s&1;for(o=1;o<=25;o+=8)a<<=1,a|=e>>>o+s&1}n[r+0]=i>>>0,n[r+1]=a>>>0},t.rip=function(e,t,n,r){for(var i=0,a=0,s=0;s<4;s++)for(var o=24;o>=0;o-=8)i<<=1,i|=t>>>o+s&1,i<<=1,i|=e>>>o+s&1;for(s=4;s<8;s++)for(o=24;o>=0;o-=8)a<<=1,a|=t>>>o+s&1,a<<=1,a|=e>>>o+s&1;n[r+0]=i>>>0,n[r+1]=a>>>0},t.pc1=function(e,t,n,r){for(var i=0,a=0,s=7;s>=5;s--){for(var o=0;o<=24;o+=8)i<<=1,i|=t>>o+s&1;for(o=0;o<=24;o+=8)i<<=1,i|=e>>o+s&1}for(o=0;o<=24;o+=8)i<<=1,i|=t>>o+s&1;for(s=1;s<=3;s++){for(o=0;o<=24;o+=8)a<<=1,a|=t>>o+s&1;for(o=0;o<=24;o+=8)a<<=1,a|=e>>o+s&1}for(o=0;o<=24;o+=8)a<<=1,a|=e>>o+s&1;n[r+0]=i>>>0,n[r+1]=a>>>0},t.r28shl=function(e,t){return e<<t&268435455|e>>>28-t};var r=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];t.pc2=function(e,t,n,i){for(var a=0,s=0,o=r.length>>>1,c=0;c<o;c++)a<<=1,a|=e>>>r[c]&1;for(c=o;c<r.length;c++)s<<=1,s|=t>>>r[c]&1;n[i+0]=a>>>0,n[i+1]=s>>>0},t.expand=function(e,t,n){var r=0,i=0;r=(1&e)<<5|e>>>27;for(var a=23;a>=15;a-=4)r<<=6,r|=e>>>a&63;for(a=11;a>=3;a-=4)i|=e>>>a&63,i<<=6;i|=(31&e)<<1|e>>>31,t[n+0]=r>>>0,t[n+1]=i>>>0};var i=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];t.substitute=function(e,t){for(var n=0,r=0;r<4;r++){n<<=4,n|=i[64*r+(e>>>18-6*r&63)]}for(r=0;r<4;r++){n<<=4,n|=i[256+64*r+(t>>>18-6*r&63)]}return n>>>0};var a=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];t.permute=function(e){for(var t=0,n=0;n<a.length;n++)t<<=1,t|=e>>>a[n]&1;return t>>>0},t.padSplit=function(e,t,n){for(var r=e.toString(2);r.length<t;)r=\"0\"+r;for(var i=[],a=0;a<t;a+=n)i.push(r.slice(a,a+n));return i.join(\" \")}},function(e,t,n){\"use strict\";var r=n(20);function i(e){this.options=e,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0}e.exports=i,i.prototype._init=function(){},i.prototype.update=function(e){return 0===e.length?[]:\"decrypt\"===this.type?this._updateDecrypt(e):this._updateEncrypt(e)},i.prototype._buffer=function(e,t){for(var n=Math.min(this.buffer.length-this.bufferOff,e.length-t),r=0;r<n;r++)this.buffer[this.bufferOff+r]=e[t+r];return this.bufferOff+=n,n},i.prototype._flushBuffer=function(e,t){return this._update(this.buffer,0,e,t),this.bufferOff=0,this.blockSize},i.prototype._updateEncrypt=function(e){var t=0,n=0,r=(this.bufferOff+e.length)/this.blockSize|0,i=new Array(r*this.blockSize);0!==this.bufferOff&&(t+=this._buffer(e,t),this.bufferOff===this.buffer.length&&(n+=this._flushBuffer(i,n)));for(var a=e.length-(e.length-t)%this.blockSize;t<a;t+=this.blockSize)this._update(e,t,i,n),n+=this.blockSize;for(;t<e.length;t++,this.bufferOff++)this.buffer[this.bufferOff]=e[t];return i},i.prototype._updateDecrypt=function(e){for(var t=0,n=0,r=Math.ceil((this.bufferOff+e.length)/this.blockSize)-1,i=new Array(r*this.blockSize);r>0;r--)t+=this._buffer(e,t),n+=this._flushBuffer(i,n);return t+=this._buffer(e,t),i},i.prototype.final=function(e){var t,n;return e&&(t=this.update(e)),n=\"encrypt\"===this.type?this._finalEncrypt():this._finalDecrypt(),t?t.concat(n):n},i.prototype._pad=function(e,t){if(0===t)return!1;for(;t<e.length;)e[t++]=0;return!0},i.prototype._finalEncrypt=function(){if(!this._pad(this.buffer,this.bufferOff))return[];var e=new Array(this.blockSize);return this._update(this.buffer,0,e,0),e},i.prototype._unpad=function(e){return e},i.prototype._finalDecrypt=function(){r.equal(this.bufferOff,this.blockSize,\"Not enough data to decrypt\");var e=new Array(this.blockSize);return this._flushBuffer(e,0),this._unpad(e)}},function(e,t,n){\"use strict\";var r=n(20),i=n(12),a=n(92),s=a.utils,o=a.Cipher;function c(){this.tmp=new Array(2),this.keys=null}function l(e){o.call(this,e);var t=new c;this._desState=t,this.deriveKeys(t,e.key)}i(l,o),e.exports=l,l.create=function(e){return new l(e)};var u=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];l.prototype.deriveKeys=function(e,t){e.keys=new Array(32),r.equal(t.length,this.blockSize,\"Invalid key length\");var n=s.readUInt32BE(t,0),i=s.readUInt32BE(t,4);s.pc1(n,i,e.tmp,0),n=e.tmp[0],i=e.tmp[1];for(var a=0;a<e.keys.length;a+=2){var o=u[a>>>1];n=s.r28shl(n,o),i=s.r28shl(i,o),s.pc2(n,i,e.keys,a)}},l.prototype._update=function(e,t,n,r){var i=this._desState,a=s.readUInt32BE(e,t),o=s.readUInt32BE(e,t+4);s.ip(a,o,i.tmp,0),a=i.tmp[0],o=i.tmp[1],\"encrypt\"===this.type?this._encrypt(i,a,o,i.tmp,0):this._decrypt(i,a,o,i.tmp,0),a=i.tmp[0],o=i.tmp[1],s.writeUInt32BE(n,a,r),s.writeUInt32BE(n,o,r+4)},l.prototype._pad=function(e,t){for(var n=e.length-t,r=t;r<e.length;r++)e[r]=n;return!0},l.prototype._unpad=function(e){for(var t=e[e.length-1],n=e.length-t;n<e.length;n++)r.equal(e[n],t);return e.slice(0,e.length-t)},l.prototype._encrypt=function(e,t,n,r,i){for(var a=t,o=n,c=0;c<e.keys.length;c+=2){var l=e.keys[c],u=e.keys[c+1];s.expand(o,e.tmp,0),l^=e.tmp[0],u^=e.tmp[1];var p=s.substitute(l,u),d=o;o=(a^s.permute(p))>>>0,a=d}s.rip(o,a,r,i)},l.prototype._decrypt=function(e,t,n,r,i){for(var a=n,o=t,c=e.keys.length-2;c>=0;c-=2){var l=e.keys[c],u=e.keys[c+1];s.expand(a,e.tmp,0),l^=e.tmp[0],u^=e.tmp[1];var p=s.substitute(l,u),d=a;a=(o^s.permute(p))>>>0,o=d}s.rip(a,o,r,i)}},function(e,t,n){\"use strict\";var r=n(20),i=n(12),a={};function s(e){r.equal(e.length,8,\"Invalid IV length\"),this.iv=new Array(8);for(var t=0;t<this.iv.length;t++)this.iv[t]=e[t]}t.instantiate=function(e){function t(t){e.call(this,t),this._cbcInit()}i(t,e);for(var n=Object.keys(a),r=0;r<n.length;r++){var s=n[r];t.prototype[s]=a[s]}return t.create=function(e){return new t(e)},t},a._cbcInit=function(){var e=new s(this.options.iv);this._cbcState=e},a._update=function(e,t,n,r){var i=this._cbcState,a=this.constructor.super_.prototype,s=i.iv;if(\"encrypt\"===this.type){for(var o=0;o<this.blockSize;o++)s[o]^=e[t+o];a._update.call(this,s,0,n,r);for(o=0;o<this.blockSize;o++)s[o]=n[r+o]}else{a._update.call(this,e,t,n,r);for(o=0;o<this.blockSize;o++)n[r+o]^=s[o];for(o=0;o<this.blockSize;o++)s[o]=e[t+o]}}},function(e,t,n){\"use strict\";var r=n(20),i=n(12),a=n(92),s=a.Cipher,o=a.DES;function c(e,t){r.equal(t.length,24,\"Invalid key length\");var n=t.slice(0,8),i=t.slice(8,16),a=t.slice(16,24);this.ciphers=\"encrypt\"===e?[o.create({type:\"encrypt\",key:n}),o.create({type:\"decrypt\",key:i}),o.create({type:\"encrypt\",key:a})]:[o.create({type:\"decrypt\",key:a}),o.create({type:\"encrypt\",key:i}),o.create({type:\"decrypt\",key:n})]}function l(e){s.call(this,e);var t=new c(this.type,this.options.key);this._edeState=t}i(l,s),e.exports=l,l.create=function(e){return new l(e)},l.prototype._update=function(e,t,n,r){var i=this._edeState;i.ciphers[0]._update(e,t,n,r),i.ciphers[1]._update(n,r,n,r),i.ciphers[2]._update(n,r,n,r)},l.prototype._pad=o.prototype._pad,l.prototype._unpad=o.prototype._unpad},function(e,t,n){var r=n(94),i=n(156),a=n(13).Buffer,s=n(157),o=n(30),c=n(65),l=n(66);function u(e,t,n){o.call(this),this._cache=new d,this._cipher=new c.AES(t),this._prev=a.from(n),this._mode=e,this._autopadding=!0}n(12)(u,o),u.prototype._update=function(e){var t,n;this._cache.add(e);for(var r=[];t=this._cache.get();)n=this._mode.encrypt(this,t),r.push(n);return a.concat(r)};var p=a.alloc(16,16);function d(){this.cache=a.allocUnsafe(0)}function h(e,t,n){var o=r[e.toLowerCase()];if(!o)throw new TypeError(\"invalid suite type\");if(\"string\"==typeof t&&(t=a.from(t)),t.length!==o.key/8)throw new TypeError(\"invalid key length \"+t.length);if(\"string\"==typeof n&&(n=a.from(n)),\"GCM\"!==o.mode&&n.length!==o.iv)throw new TypeError(\"invalid iv length \"+n.length);return\"stream\"===o.type?new s(o.module,t,n):\"auth\"===o.type?new i(o.module,t,n):new u(o.module,t,n)}u.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return e=this._mode.encrypt(this,e),this._cipher.scrub(),e;if(!e.equals(p))throw this._cipher.scrub(),new Error(\"data not multiple of block length\")},u.prototype.setAutoPadding=function(e){return this._autopadding=!!e,this},d.prototype.add=function(e){this.cache=a.concat([this.cache,e])},d.prototype.get=function(){if(this.cache.length>15){var e=this.cache.slice(0,16);return this.cache=this.cache.slice(16),e}return null},d.prototype.flush=function(){for(var e=16-this.cache.length,t=a.allocUnsafe(e),n=-1;++n<e;)t.writeUInt8(e,n);return a.concat([this.cache,t])},t.createCipheriv=h,t.createCipher=function(e,t){var n=r[e.toLowerCase()];if(!n)throw new TypeError(\"invalid suite type\");var i=l(t,!1,n.key,n.iv);return h(e,i.key,i.iv)}},function(e,t){t.encrypt=function(e,t){return e._cipher.encryptBlock(t)},t.decrypt=function(e,t){return e._cipher.decryptBlock(t)}},function(e,t,n){var r=n(55);t.encrypt=function(e,t){var n=r(t,e._prev);return e._prev=e._cipher.encryptBlock(n),e._prev},t.decrypt=function(e,t){var n=e._prev;e._prev=t;var i=e._cipher.decryptBlock(t);return r(i,n)}},function(e,t,n){var r=n(13).Buffer,i=n(55);function a(e,t,n){var a=t.length,s=i(t,e._cache);return e._cache=e._cache.slice(a),e._prev=r.concat([e._prev,n?t:s]),s}t.encrypt=function(e,t,n){for(var i,s=r.allocUnsafe(0);t.length;){if(0===e._cache.length&&(e._cache=e._cipher.encryptBlock(e._prev),e._prev=r.allocUnsafe(0)),!(e._cache.length<=t.length)){s=r.concat([s,a(e,t,n)]);break}i=e._cache.length,s=r.concat([s,a(e,t.slice(0,i),n)]),t=t.slice(i)}return s}},function(e,t,n){var r=n(13).Buffer;function i(e,t,n){var i=e._cipher.encryptBlock(e._prev)[0]^t;return e._prev=r.concat([e._prev.slice(1),r.from([n?t:i])]),i}t.encrypt=function(e,t,n){for(var a=t.length,s=r.allocUnsafe(a),o=-1;++o<a;)s[o]=i(e,t[o],n);return s}},function(e,t,n){var r=n(13).Buffer;function i(e,t,n){for(var r,i,s=-1,o=0;++s<8;)r=t&1<<7-s?128:0,o+=(128&(i=e._cipher.encryptBlock(e._prev)[0]^r))>>s%8,e._prev=a(e._prev,n?r:i);return o}function a(e,t){var n=e.length,i=-1,a=r.allocUnsafe(e.length);for(e=r.concat([e,r.from([t])]);++i<n;)a[i]=e[i]<<1|e[i+1]>>7;return a}t.encrypt=function(e,t,n){for(var a=t.length,s=r.allocUnsafe(a),o=-1;++o<a;)s[o]=i(e,t[o],n);return s}},function(e,t,n){(function(e){var r=n(55);function i(e){return e._prev=e._cipher.encryptBlock(e._prev),e._prev}t.encrypt=function(t,n){for(;t._cache.length<n.length;)t._cache=e.concat([t._cache,i(t)]);var a=t._cache.slice(0,n.length);return t._cache=t._cache.slice(n.length),r(n,a)}}).call(this,n(19).Buffer)},function(e,t,n){var r=n(13).Buffer,i=r.alloc(16,0);function a(e){var t=r.allocUnsafe(16);return t.writeUInt32BE(e[0]>>>0,0),t.writeUInt32BE(e[1]>>>0,4),t.writeUInt32BE(e[2]>>>0,8),t.writeUInt32BE(e[3]>>>0,12),t}function s(e){this.h=e,this.state=r.alloc(16,0),this.cache=r.allocUnsafe(0)}s.prototype.ghash=function(e){for(var t=-1;++t<e.length;)this.state[t]^=e[t];this._multiply()},s.prototype._multiply=function(){for(var e,t,n,r=[(e=this.h).readUInt32BE(0),e.readUInt32BE(4),e.readUInt32BE(8),e.readUInt32BE(12)],i=[0,0,0,0],s=-1;++s<128;){for(0!=(this.state[~~(s/8)]&1<<7-s%8)&&(i[0]^=r[0],i[1]^=r[1],i[2]^=r[2],i[3]^=r[3]),n=0!=(1&r[3]),t=3;t>0;t--)r[t]=r[t]>>>1|(1&r[t-1])<<31;r[0]=r[0]>>>1,n&&(r[0]=r[0]^225<<24)}this.state=a(i)},s.prototype.update=function(e){var t;for(this.cache=r.concat([this.cache,e]);this.cache.length>=16;)t=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(t)},s.prototype.final=function(e,t){return this.cache.length&&this.ghash(r.concat([this.cache,i],16)),this.ghash(a([0,e,0,t])),this.state},e.exports=s},function(e,t,n){var r=n(156),i=n(13).Buffer,a=n(94),s=n(157),o=n(30),c=n(65),l=n(66);function u(e,t,n){o.call(this),this._cache=new p,this._last=void 0,this._cipher=new c.AES(t),this._prev=i.from(n),this._mode=e,this._autopadding=!0}function p(){this.cache=i.allocUnsafe(0)}function d(e,t,n){var o=a[e.toLowerCase()];if(!o)throw new TypeError(\"invalid suite type\");if(\"string\"==typeof n&&(n=i.from(n)),\"GCM\"!==o.mode&&n.length!==o.iv)throw new TypeError(\"invalid iv length \"+n.length);if(\"string\"==typeof t&&(t=i.from(t)),t.length!==o.key/8)throw new TypeError(\"invalid key length \"+t.length);return\"stream\"===o.type?new s(o.module,t,n,!0):\"auth\"===o.type?new r(o.module,t,n,!0):new u(o.module,t,n)}n(12)(u,o),u.prototype._update=function(e){var t,n;this._cache.add(e);for(var r=[];t=this._cache.get(this._autopadding);)n=this._mode.decrypt(this,t),r.push(n);return i.concat(r)},u.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return function(e){var t=e[15];if(t<1||t>16)throw new Error(\"unable to decrypt data\");var n=-1;for(;++n<t;)if(e[n+(16-t)]!==t)throw new Error(\"unable to decrypt data\");if(16===t)return;return e.slice(0,16-t)}(this._mode.decrypt(this,e));if(e)throw new Error(\"data not multiple of block length\")},u.prototype.setAutoPadding=function(e){return this._autopadding=!!e,this},p.prototype.add=function(e){this.cache=i.concat([this.cache,e])},p.prototype.get=function(e){var t;if(e){if(this.cache.length>16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t}else if(this.cache.length>=16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t;return null},p.prototype.flush=function(){if(this.cache.length)return this.cache},t.createDecipher=function(e,t){var n=a[e.toLowerCase()];if(!n)throw new TypeError(\"invalid suite type\");var r=l(t,!1,n.key,n.iv);return d(e,r.key,r.iv)},t.createDecipheriv=d},function(e,t){t[\"des-ecb\"]={key:8,iv:0},t[\"des-cbc\"]=t.des={key:8,iv:8},t[\"des-ede3-cbc\"]=t.des3={key:24,iv:8},t[\"des-ede3\"]={key:24,iv:0},t[\"des-ede-cbc\"]={key:16,iv:8},t[\"des-ede\"]={key:16,iv:0}},function(e,t,n){(function(e){var r=n(158),i=n(316),a=n(317);var s={binary:!0,hex:!0,base64:!0};t.DiffieHellmanGroup=t.createDiffieHellmanGroup=t.getDiffieHellman=function(t){var n=new e(i[t].prime,\"hex\"),r=new e(i[t].gen,\"hex\");return new a(n,r)},t.createDiffieHellman=t.DiffieHellman=function t(n,i,o,c){return e.isBuffer(i)||void 0===s[i]?t(n,\"binary\",i,o):(i=i||\"binary\",c=c||\"binary\",o=o||new e([2]),e.isBuffer(o)||(o=new e(o,c)),\"number\"==typeof n?new a(r(n,o),o,!0):(e.isBuffer(n)||(n=new e(n,i)),new a(n,o,!0)))}}).call(this,n(19).Buffer)},function(e,t){},function(e,t){},function(e){e.exports=JSON.parse(\'{\"modp1\":{\"gen\":\"02\",\"prime\":\"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff\"},\"modp2\":{\"gen\":\"02\",\"prime\":\"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff\"},\"modp5\":{\"gen\":\"02\",\"prime\":\"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff\"},\"modp14\":{\"gen\":\"02\",\"prime\":\"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff\"},\"modp15\":{\"gen\":\"02\",\"prime\":\"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff\"},\"modp16\":{\"gen\":\"02\",\"prime\":\"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff\"},\"modp17\":{\"gen\":\"02\",\"prime\":\"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff\"},\"modp18\":{\"gen\":\"02\",\"prime\":\"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff\"}}\')},function(e,t,n){(function(t){var r=n(18),i=new(n(159)),a=new r(24),s=new r(11),o=new r(10),c=new r(3),l=new r(7),u=n(158),p=n(40);function d(e,n){return n=n||\"utf8\",t.isBuffer(e)||(e=new t(e,n)),this._pub=new r(e),this}function h(e,n){return n=n||\"utf8\",t.isBuffer(e)||(e=new t(e,n)),this._priv=new r(e),this}e.exports=m;var f={};function m(e,t,n){this.setGenerator(t),this.__prime=new r(e),this._prime=r.mont(this.__prime),this._primeLen=e.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,n?(this.setPublicKey=d,this.setPrivateKey=h):this._primeCode=8}function g(e,n){var r=new t(e.toArray());return n?r.toString(n):r}Object.defineProperty(m.prototype,\"verifyError\",{enumerable:!0,get:function(){return\"number\"!=typeof this._primeCode&&(this._primeCode=function(e,t){var n=t.toString(\"hex\"),r=[n,e.toString(16)].join(\"_\");if(r in f)return f[r];var p,d=0;if(e.isEven()||!u.simpleSieve||!u.fermatTest(e)||!i.test(e))return d+=1,d+=\"02\"===n||\"05\"===n?8:4,f[r]=d,d;switch(i.test(e.shrn(1))||(d+=2),n){case\"02\":e.mod(a).cmp(s)&&(d+=8);break;case\"05\":(p=e.mod(o)).cmp(c)&&p.cmp(l)&&(d+=8);break;default:d+=4}return f[r]=d,d}(this.__prime,this.__gen)),this._primeCode}}),m.prototype.generateKeys=function(){return this._priv||(this._priv=new r(p(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},m.prototype.computeSecret=function(e){var n=(e=(e=new r(e)).toRed(this._prime)).redPow(this._priv).fromRed(),i=new t(n.toArray()),a=this.getPrime();if(i.length<a.length){var s=new t(a.length-i.length);s.fill(0),i=t.concat([s,i])}return i},m.prototype.getPublicKey=function(e){return g(this._pub,e)},m.prototype.getPrivateKey=function(e){return g(this._priv,e)},m.prototype.getPrime=function(e){return g(this.__prime,e)},m.prototype.getGenerator=function(e){return g(this._gen,e)},m.prototype.setGenerator=function(e,n){return n=n||\"utf8\",t.isBuffer(e)||(e=new t(e,n)),this.__gen=e,this._gen=new r(e),this}}).call(this,n(19).Buffer)},function(e,t,n){(function(t){var r=n(53),i=n(85),a=n(12),s=n(319),o=n(350),c=n(148);function l(e){i.Writable.call(this);var t=c[e];if(!t)throw new Error(\"Unknown message digest\");this._hashType=t.hash,this._hash=r(t.hash),this._tag=t.id,this._signType=t.sign}function u(e){i.Writable.call(this);var t=c[e];if(!t)throw new Error(\"Unknown message digest\");this._hash=r(t.hash),this._tag=t.id,this._signType=t.sign}function p(e){return new l(e)}function d(e){return new u(e)}Object.keys(c).forEach((function(e){c[e].id=new t(c[e].id,\"hex\"),c[e.toLowerCase()]=c[e]})),a(l,i.Writable),l.prototype._write=function(e,t,n){this._hash.update(e),n()},l.prototype.update=function(e,n){return\"string\"==typeof e&&(e=new t(e,n)),this._hash.update(e),this},l.prototype.sign=function(e,t){this.end();var n=this._hash.digest(),r=s(n,e,this._hashType,this._signType,this._tag);return t?r.toString(t):r},a(u,i.Writable),u.prototype._write=function(e,t,n){this._hash.update(e),n()},u.prototype.update=function(e,n){return\"string\"==typeof e&&(e=new t(e,n)),this._hash.update(e),this},u.prototype.verify=function(e,n,r){\"string\"==typeof n&&(n=new t(n,r)),this.end();var i=this._hash.digest();return o(n,i,e,this._signType,this._tag)},e.exports={Sign:p,Verify:d,createSign:p,createVerify:d}}).call(this,n(19).Buffer)},function(e,t,n){(function(t){var r=n(146),i=n(96),a=n(97).ec,s=n(18),o=n(68),c=n(168);function l(e,n,i,a){if((e=new t(e.toArray())).length<n.byteLength()){var s=new t(n.byteLength()-e.length);s.fill(0),e=t.concat([s,e])}var o=i.length,c=function(e,n){e=(e=u(e,n)).mod(n);var r=new t(e.toArray());if(r.length<n.byteLength()){var i=new t(n.byteLength()-r.length);i.fill(0),r=t.concat([i,r])}return r}(i,n),l=new t(o);l.fill(1);var p=new t(o);return p.fill(0),p=r(a,p).update(l).update(new t([0])).update(e).update(c).digest(),l=r(a,p).update(l).digest(),{k:p=r(a,p).update(l).update(new t([1])).update(e).update(c).digest(),v:l=r(a,p).update(l).digest()}}function u(e,t){var n=new s(e),r=(e.length<<3)-t.bitLength();return r>0&&n.ishrn(r),n}function p(e,n,i){var a,s;do{for(a=new t(0);8*a.length<e.bitLength();)n.v=r(i,n.k).update(n.v).digest(),a=t.concat([a,n.v]);s=u(a,e),n.k=r(i,n.k).update(n.v).update(new t([0])).digest(),n.v=r(i,n.k).update(n.v).digest()}while(-1!==s.cmp(e));return s}function d(e,t,n,r){return e.toRed(s.mont(n)).redPow(t).fromRed().mod(r)}e.exports=function(e,n,r,h,f){var m=o(n);if(m.curve){if(\"ecdsa\"!==h&&\"ecdsa/rsa\"!==h)throw new Error(\"wrong private key type\");return function(e,n){var r=c[n.curve.join(\".\")];if(!r)throw new Error(\"unknown curve \"+n.curve.join(\".\"));var i=new a(r).keyFromPrivate(n.privateKey).sign(e);return new t(i.toDER())}(e,m)}if(\"dsa\"===m.type){if(\"dsa\"!==h)throw new Error(\"wrong private key type\");return function(e,n,r){var i,a=n.params.priv_key,o=n.params.p,c=n.params.q,h=n.params.g,f=new s(0),m=u(e,c).mod(c),g=!1,v=l(a,c,e,r);for(;!1===g;)i=p(c,v,r),f=d(h,i,o,c),0===(g=i.invm(c).imul(m.add(a.mul(f))).mod(c)).cmpn(0)&&(g=!1,f=new s(0));return function(e,n){e=e.toArray(),n=n.toArray(),128&e[0]&&(e=[0].concat(e));128&n[0]&&(n=[0].concat(n));var r=[48,e.length+n.length+4,2,e.length];return r=r.concat(e,[2,n.length],n),new t(r)}(f,g)}(e,m,r)}if(\"rsa\"!==h&&\"ecdsa/rsa\"!==h)throw new Error(\"wrong private key type\");e=t.concat([f,e]);for(var g=m.modulus.byteLength(),v=[0,1];e.length+v.length+1<g;)v.push(255);v.push(0);for(var b=-1;++b<e.length;)v.push(e[b]);return i(v,m)},e.exports.getKey=l,e.exports.makeKey=p}).call(this,n(19).Buffer)},function(e){e.exports=JSON.parse(\'{\"name\":\"elliptic\",\"version\":\"6.5.0\",\"description\":\"EC cryptography\",\"main\":\"lib/elliptic.js\",\"files\":[\"lib\"],\"scripts\":{\"jscs\":\"jscs benchmarks/*.js lib/*.js lib/**/*.js lib/**/**/*.js test/index.js\",\"jshint\":\"jscs benchmarks/*.js lib/*.js lib/**/*.js lib/**/**/*.js test/index.js\",\"lint\":\"npm run jscs && npm run jshint\",\"unit\":\"istanbul test _mocha --reporter=spec test/index.js\",\"test\":\"npm run lint && npm run unit\",\"version\":\"grunt dist && git add dist/\"},\"repository\":{\"type\":\"git\",\"url\":\"git@github.com:indutny/elliptic\"},\"keywords\":[\"EC\",\"Elliptic\",\"curve\",\"Cryptography\"],\"author\":\"Fedor Indutny <fedor@indutny.com>\",\"license\":\"MIT\",\"bugs\":{\"url\":\"https://github.com/indutny/elliptic/issues\"},\"homepage\":\"https://github.com/indutny/elliptic\",\"devDependencies\":{\"brfs\":\"^1.4.3\",\"coveralls\":\"^2.11.3\",\"grunt\":\"^0.4.5\",\"grunt-browserify\":\"^5.0.0\",\"grunt-cli\":\"^1.2.0\",\"grunt-contrib-connect\":\"^1.0.0\",\"grunt-contrib-copy\":\"^1.0.0\",\"grunt-contrib-uglify\":\"^1.0.1\",\"grunt-mocha-istanbul\":\"^3.0.1\",\"grunt-saucelabs\":\"^8.6.2\",\"istanbul\":\"^0.4.2\",\"jscs\":\"^2.9.0\",\"jshint\":\"^2.6.0\",\"mocha\":\"^2.1.0\"},\"dependencies\":{\"bn.js\":\"^4.4.0\",\"brorand\":\"^1.0.1\",\"hash.js\":\"^1.0.0\",\"hmac-drbg\":\"^1.0.0\",\"inherits\":\"^2.0.1\",\"minimalistic-assert\":\"^1.0.0\",\"minimalistic-crypto-utils\":\"^1.0.0\"}}\')},function(e,t,n){\"use strict\";var r=n(21),i=n(18),a=n(12),s=n(67),o=r.assert;function c(e){s.call(this,\"short\",e),this.a=new i(e.a,16).toRed(this.red),this.b=new i(e.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(e),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function l(e,t,n,r){s.BasePoint.call(this,e,\"affine\"),null===t&&null===n?(this.x=null,this.y=null,this.inf=!0):(this.x=new i(t,16),this.y=new i(n,16),r&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function u(e,t,n,r){s.BasePoint.call(this,e,\"jacobian\"),null===t&&null===n&&null===r?(this.x=this.curve.one,this.y=this.curve.one,this.z=new i(0)):(this.x=new i(t,16),this.y=new i(n,16),this.z=new i(r,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}a(c,s),e.exports=c,c.prototype._getEndomorphism=function(e){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var t,n;if(e.beta)t=new i(e.beta,16).toRed(this.red);else{var r=this._getEndoRoots(this.p);t=(t=r[0].cmp(r[1])<0?r[0]:r[1]).toRed(this.red)}if(e.lambda)n=new i(e.lambda,16);else{var a=this._getEndoRoots(this.n);0===this.g.mul(a[0]).x.cmp(this.g.x.redMul(t))?n=a[0]:(n=a[1],o(0===this.g.mul(n).x.cmp(this.g.x.redMul(t))))}return{beta:t,lambda:n,basis:e.basis?e.basis.map((function(e){return{a:new i(e.a,16),b:new i(e.b,16)}})):this._getEndoBasis(n)}}},c.prototype._getEndoRoots=function(e){var t=e===this.p?this.red:i.mont(e),n=new i(2).toRed(t).redInvm(),r=n.redNeg(),a=new i(3).toRed(t).redNeg().redSqrt().redMul(n);return[r.redAdd(a).fromRed(),r.redSub(a).fromRed()]},c.prototype._getEndoBasis=function(e){for(var t,n,r,a,s,o,c,l,u,p=this.n.ushrn(Math.floor(this.n.bitLength()/2)),d=e,h=this.n.clone(),f=new i(1),m=new i(0),g=new i(0),v=new i(1),b=0;0!==d.cmpn(0);){var y=h.div(d);l=h.sub(y.mul(d)),u=g.sub(y.mul(f));var _=v.sub(y.mul(m));if(!r&&l.cmp(p)<0)t=c.neg(),n=f,r=l.neg(),a=u;else if(r&&2==++b)break;c=l,h=d,d=l,g=f,f=u,v=m,m=_}s=l.neg(),o=u;var w=r.sqr().add(a.sqr());return s.sqr().add(o.sqr()).cmp(w)>=0&&(s=t,o=n),r.negative&&(r=r.neg(),a=a.neg()),s.negative&&(s=s.neg(),o=o.neg()),[{a:r,b:a},{a:s,b:o}]},c.prototype._endoSplit=function(e){var t=this.endo.basis,n=t[0],r=t[1],i=r.b.mul(e).divRound(this.n),a=n.b.neg().mul(e).divRound(this.n),s=i.mul(n.a),o=a.mul(r.a),c=i.mul(n.b),l=a.mul(r.b);return{k1:e.sub(s).sub(o),k2:c.add(l).neg()}},c.prototype.pointFromX=function(e,t){(e=new i(e,16)).red||(e=e.toRed(this.red));var n=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),r=n.redSqrt();if(0!==r.redSqr().redSub(n).cmp(this.zero))throw new Error(\"invalid point\");var a=r.fromRed().isOdd();return(t&&!a||!t&&a)&&(r=r.redNeg()),this.point(e,r)},c.prototype.validate=function(e){if(e.inf)return!0;var t=e.x,n=e.y,r=this.a.redMul(t),i=t.redSqr().redMul(t).redIAdd(r).redIAdd(this.b);return 0===n.redSqr().redISub(i).cmpn(0)},c.prototype._endoWnafMulAdd=function(e,t,n){for(var r=this._endoWnafT1,i=this._endoWnafT2,a=0;a<e.length;a++){var s=this._endoSplit(t[a]),o=e[a],c=o._getBeta();s.k1.negative&&(s.k1.ineg(),o=o.neg(!0)),s.k2.negative&&(s.k2.ineg(),c=c.neg(!0)),r[2*a]=o,r[2*a+1]=c,i[2*a]=s.k1,i[2*a+1]=s.k2}for(var l=this._wnafMulAdd(1,r,i,2*a,n),u=0;u<2*a;u++)r[u]=null,i[u]=null;return l},a(l,s.BasePoint),c.prototype.point=function(e,t,n){return new l(this,e,t,n)},c.prototype.pointFromJSON=function(e,t){return l.fromJSON(this,e,t)},l.prototype._getBeta=function(){if(this.curve.endo){var e=this.precomputed;if(e&&e.beta)return e.beta;var t=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(e){var n=this.curve,r=function(e){return n.point(e.x.redMul(n.endo.beta),e.y)};e.beta=t,t.precomputed={beta:null,naf:e.naf&&{wnd:e.naf.wnd,points:e.naf.points.map(r)},doubles:e.doubles&&{step:e.doubles.step,points:e.doubles.points.map(r)}}}return t}},l.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},l.fromJSON=function(e,t,n){\"string\"==typeof t&&(t=JSON.parse(t));var r=e.point(t[0],t[1],n);if(!t[2])return r;function i(t){return e.point(t[0],t[1],n)}var a=t[2];return r.precomputed={beta:null,doubles:a.doubles&&{step:a.doubles.step,points:[r].concat(a.doubles.points.map(i))},naf:a.naf&&{wnd:a.naf.wnd,points:[r].concat(a.naf.points.map(i))}},r},l.prototype.inspect=function(){return this.isInfinity()?\"<EC Point Infinity>\":\"<EC Point x: \"+this.x.fromRed().toString(16,2)+\" y: \"+this.y.fromRed().toString(16,2)+\">\"},l.prototype.isInfinity=function(){return this.inf},l.prototype.add=function(e){if(this.inf)return e;if(e.inf)return this;if(this.eq(e))return this.dbl();if(this.neg().eq(e))return this.curve.point(null,null);if(0===this.x.cmp(e.x))return this.curve.point(null,null);var t=this.y.redSub(e.y);0!==t.cmpn(0)&&(t=t.redMul(this.x.redSub(e.x).redInvm()));var n=t.redSqr().redISub(this.x).redISub(e.x),r=t.redMul(this.x.redSub(n)).redISub(this.y);return this.curve.point(n,r)},l.prototype.dbl=function(){if(this.inf)return this;var e=this.y.redAdd(this.y);if(0===e.cmpn(0))return this.curve.point(null,null);var t=this.curve.a,n=this.x.redSqr(),r=e.redInvm(),i=n.redAdd(n).redIAdd(n).redIAdd(t).redMul(r),a=i.redSqr().redISub(this.x.redAdd(this.x)),s=i.redMul(this.x.redSub(a)).redISub(this.y);return this.curve.point(a,s)},l.prototype.getX=function(){return this.x.fromRed()},l.prototype.getY=function(){return this.y.fromRed()},l.prototype.mul=function(e){return e=new i(e,16),this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve.endo?this.curve._endoWnafMulAdd([this],[e]):this.curve._wnafMul(this,e)},l.prototype.mulAdd=function(e,t,n){var r=[this,t],i=[e,n];return this.curve.endo?this.curve._endoWnafMulAdd(r,i):this.curve._wnafMulAdd(1,r,i,2)},l.prototype.jmulAdd=function(e,t,n){var r=[this,t],i=[e,n];return this.curve.endo?this.curve._endoWnafMulAdd(r,i,!0):this.curve._wnafMulAdd(1,r,i,2,!0)},l.prototype.eq=function(e){return this===e||this.inf===e.inf&&(this.inf||0===this.x.cmp(e.x)&&0===this.y.cmp(e.y))},l.prototype.neg=function(e){if(this.inf)return this;var t=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var n=this.precomputed,r=function(e){return e.neg()};t.precomputed={naf:n.naf&&{wnd:n.naf.wnd,points:n.naf.points.map(r)},doubles:n.doubles&&{step:n.doubles.step,points:n.doubles.points.map(r)}}}return t},l.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},a(u,s.BasePoint),c.prototype.jpoint=function(e,t,n){return new u(this,e,t,n)},u.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),t=e.redSqr(),n=this.x.redMul(t),r=this.y.redMul(t).redMul(e);return this.curve.point(n,r)},u.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},u.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.z.redSqr(),n=this.z.redSqr(),r=this.x.redMul(t),i=e.x.redMul(n),a=this.y.redMul(t.redMul(e.z)),s=e.y.redMul(n.redMul(this.z)),o=r.redSub(i),c=a.redSub(s);if(0===o.cmpn(0))return 0!==c.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var l=o.redSqr(),u=l.redMul(o),p=r.redMul(l),d=c.redSqr().redIAdd(u).redISub(p).redISub(p),h=c.redMul(p.redISub(d)).redISub(a.redMul(u)),f=this.z.redMul(e.z).redMul(o);return this.curve.jpoint(d,h,f)},u.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;var t=this.z.redSqr(),n=this.x,r=e.x.redMul(t),i=this.y,a=e.y.redMul(t).redMul(this.z),s=n.redSub(r),o=i.redSub(a);if(0===s.cmpn(0))return 0!==o.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var c=s.redSqr(),l=c.redMul(s),u=n.redMul(c),p=o.redSqr().redIAdd(l).redISub(u).redISub(u),d=o.redMul(u.redISub(p)).redISub(i.redMul(l)),h=this.z.redMul(s);return this.curve.jpoint(p,d,h)},u.prototype.dblp=function(e){if(0===e)return this;if(this.isInfinity())return this;if(!e)return this.dbl();if(this.curve.zeroA||this.curve.threeA){for(var t=this,n=0;n<e;n++)t=t.dbl();return t}var r=this.curve.a,i=this.curve.tinv,a=this.x,s=this.y,o=this.z,c=o.redSqr().redSqr(),l=s.redAdd(s);for(n=0;n<e;n++){var u=a.redSqr(),p=l.redSqr(),d=p.redSqr(),h=u.redAdd(u).redIAdd(u).redIAdd(r.redMul(c)),f=a.redMul(p),m=h.redSqr().redISub(f.redAdd(f)),g=f.redISub(m),v=h.redMul(g);v=v.redIAdd(v).redISub(d);var b=l.redMul(o);n+1<e&&(c=c.redMul(d)),a=m,o=b,l=v}return this.curve.jpoint(a,l.redMul(i),o)},u.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},u.prototype._zeroDbl=function(){var e,t,n;if(this.zOne){var r=this.x.redSqr(),i=this.y.redSqr(),a=i.redSqr(),s=this.x.redAdd(i).redSqr().redISub(r).redISub(a);s=s.redIAdd(s);var o=r.redAdd(r).redIAdd(r),c=o.redSqr().redISub(s).redISub(s),l=a.redIAdd(a);l=(l=l.redIAdd(l)).redIAdd(l),e=c,t=o.redMul(s.redISub(c)).redISub(l),n=this.y.redAdd(this.y)}else{var u=this.x.redSqr(),p=this.y.redSqr(),d=p.redSqr(),h=this.x.redAdd(p).redSqr().redISub(u).redISub(d);h=h.redIAdd(h);var f=u.redAdd(u).redIAdd(u),m=f.redSqr(),g=d.redIAdd(d);g=(g=g.redIAdd(g)).redIAdd(g),e=m.redISub(h).redISub(h),t=f.redMul(h.redISub(e)).redISub(g),n=(n=this.y.redMul(this.z)).redIAdd(n)}return this.curve.jpoint(e,t,n)},u.prototype._threeDbl=function(){var e,t,n;if(this.zOne){var r=this.x.redSqr(),i=this.y.redSqr(),a=i.redSqr(),s=this.x.redAdd(i).redSqr().redISub(r).redISub(a);s=s.redIAdd(s);var o=r.redAdd(r).redIAdd(r).redIAdd(this.curve.a),c=o.redSqr().redISub(s).redISub(s);e=c;var l=a.redIAdd(a);l=(l=l.redIAdd(l)).redIAdd(l),t=o.redMul(s.redISub(c)).redISub(l),n=this.y.redAdd(this.y)}else{var u=this.z.redSqr(),p=this.y.redSqr(),d=this.x.redMul(p),h=this.x.redSub(u).redMul(this.x.redAdd(u));h=h.redAdd(h).redIAdd(h);var f=d.redIAdd(d),m=(f=f.redIAdd(f)).redAdd(f);e=h.redSqr().redISub(m),n=this.y.redAdd(this.z).redSqr().redISub(p).redISub(u);var g=p.redSqr();g=(g=(g=g.redIAdd(g)).redIAdd(g)).redIAdd(g),t=h.redMul(f.redISub(e)).redISub(g)}return this.curve.jpoint(e,t,n)},u.prototype._dbl=function(){var e=this.curve.a,t=this.x,n=this.y,r=this.z,i=r.redSqr().redSqr(),a=t.redSqr(),s=n.redSqr(),o=a.redAdd(a).redIAdd(a).redIAdd(e.redMul(i)),c=t.redAdd(t),l=(c=c.redIAdd(c)).redMul(s),u=o.redSqr().redISub(l.redAdd(l)),p=l.redISub(u),d=s.redSqr();d=(d=(d=d.redIAdd(d)).redIAdd(d)).redIAdd(d);var h=o.redMul(p).redISub(d),f=n.redAdd(n).redMul(r);return this.curve.jpoint(u,h,f)},u.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var e=this.x.redSqr(),t=this.y.redSqr(),n=this.z.redSqr(),r=t.redSqr(),i=e.redAdd(e).redIAdd(e),a=i.redSqr(),s=this.x.redAdd(t).redSqr().redISub(e).redISub(r),o=(s=(s=(s=s.redIAdd(s)).redAdd(s).redIAdd(s)).redISub(a)).redSqr(),c=r.redIAdd(r);c=(c=(c=c.redIAdd(c)).redIAdd(c)).redIAdd(c);var l=i.redIAdd(s).redSqr().redISub(a).redISub(o).redISub(c),u=t.redMul(l);u=(u=u.redIAdd(u)).redIAdd(u);var p=this.x.redMul(o).redISub(u);p=(p=p.redIAdd(p)).redIAdd(p);var d=this.y.redMul(l.redMul(c.redISub(l)).redISub(s.redMul(o)));d=(d=(d=d.redIAdd(d)).redIAdd(d)).redIAdd(d);var h=this.z.redAdd(s).redSqr().redISub(n).redISub(o);return this.curve.jpoint(p,d,h)},u.prototype.mul=function(e,t){return e=new i(e,t),this.curve._wnafMul(this,e)},u.prototype.eq=function(e){if(\"affine\"===e.type)return this.eq(e.toJ());if(this===e)return!0;var t=this.z.redSqr(),n=e.z.redSqr();if(0!==this.x.redMul(n).redISub(e.x.redMul(t)).cmpn(0))return!1;var r=t.redMul(this.z),i=n.redMul(e.z);return 0===this.y.redMul(i).redISub(e.y.redMul(r)).cmpn(0)},u.prototype.eqXToP=function(e){var t=this.z.redSqr(),n=e.toRed(this.curve.red).redMul(t);if(0===this.x.cmp(n))return!0;for(var r=e.clone(),i=this.curve.redN.redMul(t);;){if(r.iadd(this.curve.n),r.cmp(this.curve.p)>=0)return!1;if(n.redIAdd(i),0===this.x.cmp(n))return!0}},u.prototype.inspect=function(){return this.isInfinity()?\"<EC JPoint Infinity>\":\"<EC JPoint x: \"+this.x.toString(16,2)+\" y: \"+this.y.toString(16,2)+\" z: \"+this.z.toString(16,2)+\">\"},u.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},function(e,t,n){\"use strict\";var r=n(18),i=n(12),a=n(67),s=n(21);function o(e){a.call(this,\"mont\",e),this.a=new r(e.a,16).toRed(this.red),this.b=new r(e.b,16).toRed(this.red),this.i4=new r(4).toRed(this.red).redInvm(),this.two=new r(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function c(e,t,n){a.BasePoint.call(this,e,\"projective\"),null===t&&null===n?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new r(t,16),this.z=new r(n,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}i(o,a),e.exports=o,o.prototype.validate=function(e){var t=e.normalize().x,n=t.redSqr(),r=n.redMul(t).redAdd(n.redMul(this.a)).redAdd(t);return 0===r.redSqrt().redSqr().cmp(r)},i(c,a.BasePoint),o.prototype.decodePoint=function(e,t){return this.point(s.toArray(e,t),1)},o.prototype.point=function(e,t){return new c(this,e,t)},o.prototype.pointFromJSON=function(e){return c.fromJSON(this,e)},c.prototype.precompute=function(){},c.prototype._encode=function(){return this.getX().toArray(\"be\",this.curve.p.byteLength())},c.fromJSON=function(e,t){return new c(e,t[0],t[1]||e.one)},c.prototype.inspect=function(){return this.isInfinity()?\"<EC Point Infinity>\":\"<EC Point x: \"+this.x.fromRed().toString(16,2)+\" z: \"+this.z.fromRed().toString(16,2)+\">\"},c.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},c.prototype.dbl=function(){var e=this.x.redAdd(this.z).redSqr(),t=this.x.redSub(this.z).redSqr(),n=e.redSub(t),r=e.redMul(t),i=n.redMul(t.redAdd(this.curve.a24.redMul(n)));return this.curve.point(r,i)},c.prototype.add=function(){throw new Error(\"Not supported on Montgomery curve\")},c.prototype.diffAdd=function(e,t){var n=this.x.redAdd(this.z),r=this.x.redSub(this.z),i=e.x.redAdd(e.z),a=e.x.redSub(e.z).redMul(n),s=i.redMul(r),o=t.z.redMul(a.redAdd(s).redSqr()),c=t.x.redMul(a.redISub(s).redSqr());return this.curve.point(o,c)},c.prototype.mul=function(e){for(var t=e.clone(),n=this,r=this.curve.point(null,null),i=[];0!==t.cmpn(0);t.iushrn(1))i.push(t.andln(1));for(var a=i.length-1;a>=0;a--)0===i[a]?(n=n.diffAdd(r,this),r=r.dbl()):(r=n.diffAdd(r,this),n=n.dbl());return r},c.prototype.mulAdd=function(){throw new Error(\"Not supported on Montgomery curve\")},c.prototype.jumlAdd=function(){throw new Error(\"Not supported on Montgomery curve\")},c.prototype.eq=function(e){return 0===this.getX().cmp(e.getX())},c.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},c.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},function(e,t,n){\"use strict\";var r=n(21),i=n(18),a=n(12),s=n(67),o=r.assert;function c(e){this.twisted=1!=(0|e.a),this.mOneA=this.twisted&&-1==(0|e.a),this.extended=this.mOneA,s.call(this,\"edwards\",e),this.a=new i(e.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new i(e.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new i(e.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),o(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1==(0|e.c)}function l(e,t,n,r,a){s.BasePoint.call(this,e,\"projective\"),null===t&&null===n&&null===r?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new i(t,16),this.y=new i(n,16),this.z=r?new i(r,16):this.curve.one,this.t=a&&new i(a,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}a(c,s),e.exports=c,c.prototype._mulA=function(e){return this.mOneA?e.redNeg():this.a.redMul(e)},c.prototype._mulC=function(e){return this.oneC?e:this.c.redMul(e)},c.prototype.jpoint=function(e,t,n,r){return this.point(e,t,n,r)},c.prototype.pointFromX=function(e,t){(e=new i(e,16)).red||(e=e.toRed(this.red));var n=e.redSqr(),r=this.c2.redSub(this.a.redMul(n)),a=this.one.redSub(this.c2.redMul(this.d).redMul(n)),s=r.redMul(a.redInvm()),o=s.redSqrt();if(0!==o.redSqr().redSub(s).cmp(this.zero))throw new Error(\"invalid point\");var c=o.fromRed().isOdd();return(t&&!c||!t&&c)&&(o=o.redNeg()),this.point(e,o)},c.prototype.pointFromY=function(e,t){(e=new i(e,16)).red||(e=e.toRed(this.red));var n=e.redSqr(),r=n.redSub(this.c2),a=n.redMul(this.d).redMul(this.c2).redSub(this.a),s=r.redMul(a.redInvm());if(0===s.cmp(this.zero)){if(t)throw new Error(\"invalid point\");return this.point(this.zero,e)}var o=s.redSqrt();if(0!==o.redSqr().redSub(s).cmp(this.zero))throw new Error(\"invalid point\");return o.fromRed().isOdd()!==t&&(o=o.redNeg()),this.point(o,e)},c.prototype.validate=function(e){if(e.isInfinity())return!0;e.normalize();var t=e.x.redSqr(),n=e.y.redSqr(),r=t.redMul(this.a).redAdd(n),i=this.c2.redMul(this.one.redAdd(this.d.redMul(t).redMul(n)));return 0===r.cmp(i)},a(l,s.BasePoint),c.prototype.pointFromJSON=function(e){return l.fromJSON(this,e)},c.prototype.point=function(e,t,n,r){return new l(this,e,t,n,r)},l.fromJSON=function(e,t){return new l(e,t[0],t[1],t[2])},l.prototype.inspect=function(){return this.isInfinity()?\"<EC Point Infinity>\":\"<EC Point x: \"+this.x.fromRed().toString(16,2)+\" y: \"+this.y.fromRed().toString(16,2)+\" z: \"+this.z.fromRed().toString(16,2)+\">\"},l.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},l.prototype._extDbl=function(){var e=this.x.redSqr(),t=this.y.redSqr(),n=this.z.redSqr();n=n.redIAdd(n);var r=this.curve._mulA(e),i=this.x.redAdd(this.y).redSqr().redISub(e).redISub(t),a=r.redAdd(t),s=a.redSub(n),o=r.redSub(t),c=i.redMul(s),l=a.redMul(o),u=i.redMul(o),p=s.redMul(a);return this.curve.point(c,l,p,u)},l.prototype._projDbl=function(){var e,t,n,r=this.x.redAdd(this.y).redSqr(),i=this.x.redSqr(),a=this.y.redSqr();if(this.curve.twisted){var s=(l=this.curve._mulA(i)).redAdd(a);if(this.zOne)e=r.redSub(i).redSub(a).redMul(s.redSub(this.curve.two)),t=s.redMul(l.redSub(a)),n=s.redSqr().redSub(s).redSub(s);else{var o=this.z.redSqr(),c=s.redSub(o).redISub(o);e=r.redSub(i).redISub(a).redMul(c),t=s.redMul(l.redSub(a)),n=s.redMul(c)}}else{var l=i.redAdd(a);o=this.curve._mulC(this.z).redSqr(),c=l.redSub(o).redSub(o);e=this.curve._mulC(r.redISub(l)).redMul(c),t=this.curve._mulC(l).redMul(i.redISub(a)),n=l.redMul(c)}return this.curve.point(e,t,n)},l.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},l.prototype._extAdd=function(e){var t=this.y.redSub(this.x).redMul(e.y.redSub(e.x)),n=this.y.redAdd(this.x).redMul(e.y.redAdd(e.x)),r=this.t.redMul(this.curve.dd).redMul(e.t),i=this.z.redMul(e.z.redAdd(e.z)),a=n.redSub(t),s=i.redSub(r),o=i.redAdd(r),c=n.redAdd(t),l=a.redMul(s),u=o.redMul(c),p=a.redMul(c),d=s.redMul(o);return this.curve.point(l,u,d,p)},l.prototype._projAdd=function(e){var t,n,r=this.z.redMul(e.z),i=r.redSqr(),a=this.x.redMul(e.x),s=this.y.redMul(e.y),o=this.curve.d.redMul(a).redMul(s),c=i.redSub(o),l=i.redAdd(o),u=this.x.redAdd(this.y).redMul(e.x.redAdd(e.y)).redISub(a).redISub(s),p=r.redMul(c).redMul(u);return this.curve.twisted?(t=r.redMul(l).redMul(s.redSub(this.curve._mulA(a))),n=c.redMul(l)):(t=r.redMul(l).redMul(s.redSub(a)),n=this.curve._mulC(c).redMul(l)),this.curve.point(p,t,n)},l.prototype.add=function(e){return this.isInfinity()?e:e.isInfinity()?this:this.curve.extended?this._extAdd(e):this._projAdd(e)},l.prototype.mul=function(e){return this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve._wnafMul(this,e)},l.prototype.mulAdd=function(e,t,n){return this.curve._wnafMulAdd(1,[this,t],[e,n],2,!1)},l.prototype.jmulAdd=function(e,t,n){return this.curve._wnafMulAdd(1,[this,t],[e,n],2,!0)},l.prototype.normalize=function(){if(this.zOne)return this;var e=this.z.redInvm();return this.x=this.x.redMul(e),this.y=this.y.redMul(e),this.t&&(this.t=this.t.redMul(e)),this.z=this.curve.one,this.zOne=!0,this},l.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},l.prototype.getX=function(){return this.normalize(),this.x.fromRed()},l.prototype.getY=function(){return this.normalize(),this.y.fromRed()},l.prototype.eq=function(e){return this===e||0===this.getX().cmp(e.getX())&&0===this.getY().cmp(e.getY())},l.prototype.eqXToP=function(e){var t=e.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(t))return!0;for(var n=e.clone(),r=this.curve.redN.redMul(this.z);;){if(n.iadd(this.curve.n),n.cmp(this.curve.p)>=0)return!1;if(t.redIAdd(r),0===this.x.cmp(t))return!0}},l.prototype.toP=l.prototype.normalize,l.prototype.mixedAdd=l.prototype.add},function(e,t,n){\"use strict\";t.sha1=n(104),t.sha224=n(325),t.sha256=n(162),t.sha384=n(326),t.sha512=n(163)},function(e,t,n){\"use strict\";var r=n(24),i=n(162);function a(){if(!(this instanceof a))return new a;i.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}r.inherits(a,i),e.exports=a,a.blockSize=512,a.outSize=224,a.hmacStrength=192,a.padLength=64,a.prototype._digest=function(e){return\"hex\"===e?r.toHex32(this.h.slice(0,7),\"big\"):r.split32(this.h.slice(0,7),\"big\")}},function(e,t,n){\"use strict\";var r=n(24),i=n(163);function a(){if(!(this instanceof a))return new a;i.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}r.inherits(a,i),e.exports=a,a.blockSize=1024,a.outSize=384,a.hmacStrength=192,a.padLength=128,a.prototype._digest=function(e){return\"hex\"===e?r.toHex32(this.h.slice(0,12),\"big\"):r.split32(this.h.slice(0,12),\"big\")}},function(e,t,n){\"use strict\";var r=n(24),i=n(46),a=r.rotl32,s=r.sum32,o=r.sum32_3,c=r.sum32_4,l=i.BlockHash;function u(){if(!(this instanceof u))return new u;l.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian=\"little\"}function p(e,t,n,r){return e<=15?t^n^r:e<=31?t&n|~t&r:e<=47?(t|~n)^r:e<=63?t&r|n&~r:t^(n|~r)}function d(e){return e<=15?0:e<=31?1518500249:e<=47?1859775393:e<=63?2400959708:2840853838}function h(e){return e<=15?1352829926:e<=31?1548603684:e<=47?1836072691:e<=63?2053994217:0}r.inherits(u,l),t.ripemd160=u,u.blockSize=512,u.outSize=160,u.hmacStrength=192,u.padLength=64,u.prototype._update=function(e,t){for(var n=this.h[0],r=this.h[1],i=this.h[2],l=this.h[3],u=this.h[4],b=n,y=r,_=i,w=l,k=u,E=0;E<80;E++){var C=s(a(c(n,p(E,r,i,l),e[f[E]+t],d(E)),g[E]),u);n=u,u=l,l=a(i,10),i=r,r=C,C=s(a(c(b,p(79-E,y,_,w),e[m[E]+t],h(E)),v[E]),k),b=k,k=w,w=a(_,10),_=y,y=C}C=o(this.h[1],i,w),this.h[1]=o(this.h[2],l,k),this.h[2]=o(this.h[3],u,b),this.h[3]=o(this.h[4],n,y),this.h[4]=o(this.h[0],r,_),this.h[0]=C},u.prototype._digest=function(e){return\"hex\"===e?r.toHex32(this.h,\"little\"):r.split32(this.h,\"little\")};var f=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],m=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],g=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],v=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},function(e,t,n){\"use strict\";var r=n(24),i=n(20);function a(e,t,n){if(!(this instanceof a))return new a(e,t,n);this.Hash=e,this.blockSize=e.blockSize/8,this.outSize=e.outSize/8,this.inner=null,this.outer=null,this._init(r.toArray(t,n))}e.exports=a,a.prototype._init=function(e){e.length>this.blockSize&&(e=(new this.Hash).update(e).digest()),i(e.length<=this.blockSize);for(var t=e.length;t<this.blockSize;t++)e.push(0);for(t=0;t<e.length;t++)e[t]^=54;for(this.inner=(new this.Hash).update(e),t=0;t<e.length;t++)e[t]^=106;this.outer=(new this.Hash).update(e)},a.prototype.update=function(e,t){return this.inner.update(e,t),this},a.prototype.digest=function(e){return this.outer.update(this.inner.digest()),this.outer.digest(e)}},function(e,t){e.exports={doubles:{step:4,points:[[\"e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a\",\"f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821\"],[\"8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508\",\"11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf\"],[\"175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739\",\"d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695\"],[\"363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640\",\"4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9\"],[\"8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c\",\"4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36\"],[\"723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda\",\"96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f\"],[\"eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa\",\"5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999\"],[\"100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0\",\"cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09\"],[\"e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d\",\"9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d\"],[\"feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d\",\"e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088\"],[\"da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1\",\"9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d\"],[\"53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0\",\"5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8\"],[\"8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047\",\"10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a\"],[\"385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862\",\"283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453\"],[\"6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7\",\"7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160\"],[\"3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd\",\"56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0\"],[\"85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83\",\"7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6\"],[\"948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a\",\"53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589\"],[\"6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8\",\"bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17\"],[\"e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d\",\"4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda\"],[\"e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725\",\"7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd\"],[\"213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754\",\"4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2\"],[\"4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c\",\"17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6\"],[\"fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6\",\"6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f\"],[\"76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39\",\"c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01\"],[\"c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891\",\"893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3\"],[\"d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b\",\"febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f\"],[\"b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03\",\"2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7\"],[\"e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d\",\"eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78\"],[\"a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070\",\"7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1\"],[\"90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4\",\"e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150\"],[\"8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da\",\"662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82\"],[\"e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11\",\"1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc\"],[\"8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e\",\"efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b\"],[\"e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41\",\"2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51\"],[\"b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef\",\"67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45\"],[\"d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8\",\"db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120\"],[\"324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d\",\"648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84\"],[\"4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96\",\"35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d\"],[\"9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd\",\"ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d\"],[\"6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5\",\"9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8\"],[\"a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266\",\"40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8\"],[\"7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71\",\"34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac\"],[\"928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac\",\"c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f\"],[\"85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751\",\"1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962\"],[\"ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e\",\"493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907\"],[\"827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241\",\"c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec\"],[\"eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3\",\"be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d\"],[\"e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f\",\"4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414\"],[\"1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19\",\"aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd\"],[\"146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be\",\"b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0\"],[\"fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9\",\"6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811\"],[\"da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2\",\"8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1\"],[\"a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13\",\"7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c\"],[\"174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c\",\"ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73\"],[\"959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba\",\"2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd\"],[\"d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151\",\"e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405\"],[\"64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073\",\"d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589\"],[\"8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458\",\"38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e\"],[\"13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b\",\"69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27\"],[\"bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366\",\"d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1\"],[\"8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa\",\"40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482\"],[\"8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0\",\"620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945\"],[\"dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787\",\"7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573\"],[\"f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e\",\"ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82\"]]},naf:{wnd:7,points:[[\"f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9\",\"388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672\"],[\"2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4\",\"d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6\"],[\"5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc\",\"6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da\"],[\"acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe\",\"cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37\"],[\"774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb\",\"d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b\"],[\"f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8\",\"ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81\"],[\"d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e\",\"581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58\"],[\"defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34\",\"4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77\"],[\"2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c\",\"85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a\"],[\"352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5\",\"321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c\"],[\"2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f\",\"2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67\"],[\"9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714\",\"73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402\"],[\"daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729\",\"a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55\"],[\"c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db\",\"2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482\"],[\"6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4\",\"e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82\"],[\"1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5\",\"b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396\"],[\"605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479\",\"2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49\"],[\"62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d\",\"80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf\"],[\"80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f\",\"1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a\"],[\"7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb\",\"d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7\"],[\"d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9\",\"eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933\"],[\"49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963\",\"758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a\"],[\"77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74\",\"958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6\"],[\"f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530\",\"e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37\"],[\"463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b\",\"5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e\"],[\"f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247\",\"cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6\"],[\"caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1\",\"cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476\"],[\"2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120\",\"4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40\"],[\"7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435\",\"91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61\"],[\"754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18\",\"673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683\"],[\"e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8\",\"59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5\"],[\"186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb\",\"3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b\"],[\"df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f\",\"55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417\"],[\"5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143\",\"efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868\"],[\"290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba\",\"e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a\"],[\"af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45\",\"f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6\"],[\"766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a\",\"744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996\"],[\"59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e\",\"c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e\"],[\"f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8\",\"e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d\"],[\"7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c\",\"30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2\"],[\"948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519\",\"e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e\"],[\"7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab\",\"100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437\"],[\"3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca\",\"ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311\"],[\"d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf\",\"8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4\"],[\"1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610\",\"68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575\"],[\"733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4\",\"f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d\"],[\"15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c\",\"d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d\"],[\"a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940\",\"edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629\"],[\"e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980\",\"a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06\"],[\"311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3\",\"66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374\"],[\"34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf\",\"9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee\"],[\"f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63\",\"4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1\"],[\"d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448\",\"fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b\"],[\"32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf\",\"5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661\"],[\"7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5\",\"8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6\"],[\"ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6\",\"8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e\"],[\"16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5\",\"5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d\"],[\"eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99\",\"f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc\"],[\"78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51\",\"f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4\"],[\"494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5\",\"42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c\"],[\"a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5\",\"204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b\"],[\"c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997\",\"4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913\"],[\"841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881\",\"73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154\"],[\"5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5\",\"39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865\"],[\"36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66\",\"d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc\"],[\"336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726\",\"ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224\"],[\"8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede\",\"6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e\"],[\"1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94\",\"60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6\"],[\"85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31\",\"3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511\"],[\"29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51\",\"b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b\"],[\"a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252\",\"ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2\"],[\"4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5\",\"cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c\"],[\"d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b\",\"6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3\"],[\"ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4\",\"322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d\"],[\"af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f\",\"6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700\"],[\"e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889\",\"2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4\"],[\"591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246\",\"b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196\"],[\"11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984\",\"998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4\"],[\"3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a\",\"b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257\"],[\"cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030\",\"bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13\"],[\"c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197\",\"6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096\"],[\"c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593\",\"c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38\"],[\"a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef\",\"21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f\"],[\"347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38\",\"60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448\"],[\"da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a\",\"49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a\"],[\"c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111\",\"5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4\"],[\"4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502\",\"7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437\"],[\"3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea\",\"be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7\"],[\"cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26\",\"8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d\"],[\"b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986\",\"39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a\"],[\"d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e\",\"62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54\"],[\"48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4\",\"25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77\"],[\"dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda\",\"ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517\"],[\"6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859\",\"cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10\"],[\"e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f\",\"f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125\"],[\"eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c\",\"6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e\"],[\"13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942\",\"fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1\"],[\"ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a\",\"1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2\"],[\"b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80\",\"5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423\"],[\"ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d\",\"438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8\"],[\"8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1\",\"cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758\"],[\"52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63\",\"c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375\"],[\"e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352\",\"6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d\"],[\"7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193\",\"ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec\"],[\"5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00\",\"9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0\"],[\"32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58\",\"ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c\"],[\"e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7\",\"d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4\"],[\"8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8\",\"c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f\"],[\"4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e\",\"67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649\"],[\"3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d\",\"cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826\"],[\"674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b\",\"299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5\"],[\"d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f\",\"f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87\"],[\"30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6\",\"462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b\"],[\"be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297\",\"62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc\"],[\"93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a\",\"7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c\"],[\"b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c\",\"ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f\"],[\"d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52\",\"4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a\"],[\"d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb\",\"bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46\"],[\"463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065\",\"bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f\"],[\"7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917\",\"603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03\"],[\"74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9\",\"cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08\"],[\"30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3\",\"553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8\"],[\"9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57\",\"712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373\"],[\"176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66\",\"ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3\"],[\"75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8\",\"9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8\"],[\"809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721\",\"9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1\"],[\"1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180\",\"4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9\"]]}}},function(e,t,n){\"use strict\";var r=n(18),i=n(331),a=n(21),s=n(98),o=n(95),c=a.assert,l=n(332),u=n(333);function p(e){if(!(this instanceof p))return new p(e);\"string\"==typeof e&&(c(s.hasOwnProperty(e),\"Unknown curve \"+e),e=s[e]),e instanceof s.PresetCurve&&(e={curve:e}),this.curve=e.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=e.curve.g,this.g.precompute(e.curve.n.bitLength()+1),this.hash=e.hash||e.curve.hash}e.exports=p,p.prototype.keyPair=function(e){return new l(this,e)},p.prototype.keyFromPrivate=function(e,t){return l.fromPrivate(this,e,t)},p.prototype.keyFromPublic=function(e,t){return l.fromPublic(this,e,t)},p.prototype.genKeyPair=function(e){e||(e={});for(var t=new i({hash:this.hash,pers:e.pers,persEnc:e.persEnc||\"utf8\",entropy:e.entropy||o(this.hash.hmacStrength),entropyEnc:e.entropy&&e.entropyEnc||\"utf8\",nonce:this.n.toArray()}),n=this.n.byteLength(),a=this.n.sub(new r(2));;){var s=new r(t.generate(n));if(!(s.cmp(a)>0))return s.iaddn(1),this.keyFromPrivate(s)}},p.prototype._truncateToN=function(e,t){var n=8*e.byteLength()-this.n.bitLength();return n>0&&(e=e.ushrn(n)),!t&&e.cmp(this.n)>=0?e.sub(this.n):e},p.prototype.sign=function(e,t,n,a){\"object\"==typeof n&&(a=n,n=null),a||(a={}),t=this.keyFromPrivate(t,n),e=this._truncateToN(new r(e,16));for(var s=this.n.byteLength(),o=t.getPrivate().toArray(\"be\",s),c=e.toArray(\"be\",s),l=new i({hash:this.hash,entropy:o,nonce:c,pers:a.pers,persEnc:a.persEnc||\"utf8\"}),p=this.n.sub(new r(1)),d=0;;d++){var h=a.k?a.k(d):new r(l.generate(this.n.byteLength()));if(!((h=this._truncateToN(h,!0)).cmpn(1)<=0||h.cmp(p)>=0)){var f=this.g.mul(h);if(!f.isInfinity()){var m=f.getX(),g=m.umod(this.n);if(0!==g.cmpn(0)){var v=h.invm(this.n).mul(g.mul(t.getPrivate()).iadd(e));if(0!==(v=v.umod(this.n)).cmpn(0)){var b=(f.getY().isOdd()?1:0)|(0!==m.cmp(g)?2:0);return a.canonical&&v.cmp(this.nh)>0&&(v=this.n.sub(v),b^=1),new u({r:g,s:v,recoveryParam:b})}}}}}},p.prototype.verify=function(e,t,n,i){e=this._truncateToN(new r(e,16)),n=this.keyFromPublic(n,i);var a=(t=new u(t,\"hex\")).r,s=t.s;if(a.cmpn(1)<0||a.cmp(this.n)>=0)return!1;if(s.cmpn(1)<0||s.cmp(this.n)>=0)return!1;var o,c=s.invm(this.n),l=c.mul(e).umod(this.n),p=c.mul(a).umod(this.n);return this.curve._maxwellTrick?!(o=this.g.jmulAdd(l,n.getPublic(),p)).isInfinity()&&o.eqXToP(a):!(o=this.g.mulAdd(l,n.getPublic(),p)).isInfinity()&&0===o.getX().umod(this.n).cmp(a)},p.prototype.recoverPubKey=function(e,t,n,i){c((3&n)===n,\"The recovery param is more than two bits\"),t=new u(t,i);var a=this.n,s=new r(e),o=t.r,l=t.s,p=1&n,d=n>>1;if(o.cmp(this.curve.p.umod(this.curve.n))>=0&&d)throw new Error(\"Unable to find sencond key candinate\");o=d?this.curve.pointFromX(o.add(this.curve.n),p):this.curve.pointFromX(o,p);var h=t.r.invm(a),f=a.sub(s).mul(h).umod(a),m=l.mul(h).umod(a);return this.g.mulAdd(f,o,m)},p.prototype.getKeyRecoveryParam=function(e,t,n,r){if(null!==(t=new u(t,r)).recoveryParam)return t.recoveryParam;for(var i=0;i<4;i++){var a;try{a=this.recoverPubKey(e,t,i)}catch(e){continue}if(a.eq(n))return i}throw new Error(\"Unable to find valid recovery factor\")}},function(e,t,n){\"use strict\";var r=n(99),i=n(160),a=n(20);function s(e){if(!(this instanceof s))return new s(e);this.hash=e.hash,this.predResist=!!e.predResist,this.outLen=this.hash.outSize,this.minEntropy=e.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var t=i.toArray(e.entropy,e.entropyEnc||\"hex\"),n=i.toArray(e.nonce,e.nonceEnc||\"hex\"),r=i.toArray(e.pers,e.persEnc||\"hex\");a(t.length>=this.minEntropy/8,\"Not enough entropy. Minimum is: \"+this.minEntropy+\" bits\"),this._init(t,n,r)}e.exports=s,s.prototype._init=function(e,t,n){var r=e.concat(t).concat(n);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var i=0;i<this.V.length;i++)this.K[i]=0,this.V[i]=1;this._update(r),this._reseed=1,this.reseedInterval=281474976710656},s.prototype._hmac=function(){return new r.hmac(this.hash,this.K)},s.prototype._update=function(e){var t=this._hmac().update(this.V).update([0]);e&&(t=t.update(e)),this.K=t.digest(),this.V=this._hmac().update(this.V).digest(),e&&(this.K=this._hmac().update(this.V).update([1]).update(e).digest(),this.V=this._hmac().update(this.V).digest())},s.prototype.reseed=function(e,t,n,r){\"string\"!=typeof t&&(r=n,n=t,t=null),e=i.toArray(e,t),n=i.toArray(n,r),a(e.length>=this.minEntropy/8,\"Not enough entropy. Minimum is: \"+this.minEntropy+\" bits\"),this._update(e.concat(n||[])),this._reseed=1},s.prototype.generate=function(e,t,n,r){if(this._reseed>this.reseedInterval)throw new Error(\"Reseed is required\");\"string\"!=typeof t&&(r=n,n=t,t=null),n&&(n=i.toArray(n,r||\"hex\"),this._update(n));for(var a=[];a.length<e;)this.V=this._hmac().update(this.V).digest(),a=a.concat(this.V);var s=a.slice(0,e);return this._update(n),this._reseed++,i.encode(s,t)}},function(e,t,n){\"use strict\";var r=n(18),i=n(21).assert;function a(e,t){this.ec=e,this.priv=null,this.pub=null,t.priv&&this._importPrivate(t.priv,t.privEnc),t.pub&&this._importPublic(t.pub,t.pubEnc)}e.exports=a,a.fromPublic=function(e,t,n){return t instanceof a?t:new a(e,{pub:t,pubEnc:n})},a.fromPrivate=function(e,t,n){return t instanceof a?t:new a(e,{priv:t,privEnc:n})},a.prototype.validate=function(){var e=this.getPublic();return e.isInfinity()?{result:!1,reason:\"Invalid public key\"}:e.validate()?e.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:\"Public key * N != O\"}:{result:!1,reason:\"Public key is not a point\"}},a.prototype.getPublic=function(e,t){return\"string\"==typeof e&&(t=e,e=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),t?this.pub.encode(t,e):this.pub},a.prototype.getPrivate=function(e){return\"hex\"===e?this.priv.toString(16,2):this.priv},a.prototype._importPrivate=function(e,t){this.priv=new r(e,t||16),this.priv=this.priv.umod(this.ec.curve.n)},a.prototype._importPublic=function(e,t){if(e.x||e.y)return\"mont\"===this.ec.curve.type?i(e.x,\"Need x coordinate\"):\"short\"!==this.ec.curve.type&&\"edwards\"!==this.ec.curve.type||i(e.x&&e.y,\"Need both x and y coordinate\"),void(this.pub=this.ec.curve.point(e.x,e.y));this.pub=this.ec.curve.decodePoint(e,t)},a.prototype.derive=function(e){return e.mul(this.priv).getX()},a.prototype.sign=function(e,t,n){return this.ec.sign(e,this,t,n)},a.prototype.verify=function(e,t){return this.ec.verify(e,t,this)},a.prototype.inspect=function(){return\"<Key priv: \"+(this.priv&&this.priv.toString(16,2))+\" pub: \"+(this.pub&&this.pub.inspect())+\" >\"}},function(e,t,n){\"use strict\";var r=n(18),i=n(21),a=i.assert;function s(e,t){if(e instanceof s)return e;this._importDER(e,t)||(a(e.r&&e.s,\"Signature without r or s\"),this.r=new r(e.r,16),this.s=new r(e.s,16),void 0===e.recoveryParam?this.recoveryParam=null:this.recoveryParam=e.recoveryParam)}function o(){this.place=0}function c(e,t){var n=e[t.place++];if(!(128&n))return n;for(var r=15&n,i=0,a=0,s=t.place;a<r;a++,s++)i<<=8,i|=e[s];return t.place=s,i}function l(e){for(var t=0,n=e.length-1;!e[t]&&!(128&e[t+1])&&t<n;)t++;return 0===t?e:e.slice(t)}function u(e,t){if(t<128)e.push(t);else{var n=1+(Math.log(t)/Math.LN2>>>3);for(e.push(128|n);--n;)e.push(t>>>(n<<3)&255);e.push(t)}}e.exports=s,s.prototype._importDER=function(e,t){e=i.toArray(e,t);var n=new o;if(48!==e[n.place++])return!1;if(c(e,n)+n.place!==e.length)return!1;if(2!==e[n.place++])return!1;var a=c(e,n),s=e.slice(n.place,a+n.place);if(n.place+=a,2!==e[n.place++])return!1;var l=c(e,n);if(e.length!==l+n.place)return!1;var u=e.slice(n.place,l+n.place);return 0===s[0]&&128&s[1]&&(s=s.slice(1)),0===u[0]&&128&u[1]&&(u=u.slice(1)),this.r=new r(s),this.s=new r(u),this.recoveryParam=null,!0},s.prototype.toDER=function(e){var t=this.r.toArray(),n=this.s.toArray();for(128&t[0]&&(t=[0].concat(t)),128&n[0]&&(n=[0].concat(n)),t=l(t),n=l(n);!(n[0]||128&n[1]);)n=n.slice(1);var r=[2];u(r,t.length),(r=r.concat(t)).push(2),u(r,n.length);var a=r.concat(n),s=[48];return u(s,a.length),s=s.concat(a),i.encode(s,e)}},function(e,t,n){\"use strict\";var r=n(99),i=n(98),a=n(21),s=a.assert,o=a.parseBytes,c=n(335),l=n(336);function u(e){if(s(\"ed25519\"===e,\"only tested with ed25519 so far\"),!(this instanceof u))return new u(e);e=i[e].curve;this.curve=e,this.g=e.g,this.g.precompute(e.n.bitLength()+1),this.pointClass=e.point().constructor,this.encodingLength=Math.ceil(e.n.bitLength()/8),this.hash=r.sha512}e.exports=u,u.prototype.sign=function(e,t){e=o(e);var n=this.keyFromSecret(t),r=this.hashInt(n.messagePrefix(),e),i=this.g.mul(r),a=this.encodePoint(i),s=this.hashInt(a,n.pubBytes(),e).mul(n.priv()),c=r.add(s).umod(this.curve.n);return this.makeSignature({R:i,S:c,Rencoded:a})},u.prototype.verify=function(e,t,n){e=o(e),t=this.makeSignature(t);var r=this.keyFromPublic(n),i=this.hashInt(t.Rencoded(),r.pubBytes(),e),a=this.g.mul(t.S());return t.R().add(r.pub().mul(i)).eq(a)},u.prototype.hashInt=function(){for(var e=this.hash(),t=0;t<arguments.length;t++)e.update(arguments[t]);return a.intFromLE(e.digest()).umod(this.curve.n)},u.prototype.keyFromPublic=function(e){return c.fromPublic(this,e)},u.prototype.keyFromSecret=function(e){return c.fromSecret(this,e)},u.prototype.makeSignature=function(e){return e instanceof l?e:new l(this,e)},u.prototype.encodePoint=function(e){var t=e.getY().toArray(\"le\",this.encodingLength);return t[this.encodingLength-1]|=e.getX().isOdd()?128:0,t},u.prototype.decodePoint=function(e){var t=(e=a.parseBytes(e)).length-1,n=e.slice(0,t).concat(-129&e[t]),r=0!=(128&e[t]),i=a.intFromLE(n);return this.curve.pointFromY(i,r)},u.prototype.encodeInt=function(e){return e.toArray(\"le\",this.encodingLength)},u.prototype.decodeInt=function(e){return a.intFromLE(e)},u.prototype.isPoint=function(e){return e instanceof this.pointClass}},function(e,t,n){\"use strict\";var r=n(21),i=r.assert,a=r.parseBytes,s=r.cachedProperty;function o(e,t){this.eddsa=e,this._secret=a(t.secret),e.isPoint(t.pub)?this._pub=t.pub:this._pubBytes=a(t.pub)}o.fromPublic=function(e,t){return t instanceof o?t:new o(e,{pub:t})},o.fromSecret=function(e,t){return t instanceof o?t:new o(e,{secret:t})},o.prototype.secret=function(){return this._secret},s(o,\"pubBytes\",(function(){return this.eddsa.encodePoint(this.pub())})),s(o,\"pub\",(function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())})),s(o,\"privBytes\",(function(){var e=this.eddsa,t=this.hash(),n=e.encodingLength-1,r=t.slice(0,e.encodingLength);return r[0]&=248,r[n]&=127,r[n]|=64,r})),s(o,\"priv\",(function(){return this.eddsa.decodeInt(this.privBytes())})),s(o,\"hash\",(function(){return this.eddsa.hash().update(this.secret()).digest()})),s(o,\"messagePrefix\",(function(){return this.hash().slice(this.eddsa.encodingLength)})),o.prototype.sign=function(e){return i(this._secret,\"KeyPair can only verify\"),this.eddsa.sign(e,this)},o.prototype.verify=function(e,t){return this.eddsa.verify(e,t,this)},o.prototype.getSecret=function(e){return i(this._secret,\"KeyPair is public only\"),r.encode(this.secret(),e)},o.prototype.getPublic=function(e){return r.encode(this.pubBytes(),e)},e.exports=o},function(e,t,n){\"use strict\";var r=n(18),i=n(21),a=i.assert,s=i.cachedProperty,o=i.parseBytes;function c(e,t){this.eddsa=e,\"object\"!=typeof t&&(t=o(t)),Array.isArray(t)&&(t={R:t.slice(0,e.encodingLength),S:t.slice(e.encodingLength)}),a(t.R&&t.S,\"Signature without R or S\"),e.isPoint(t.R)&&(this._R=t.R),t.S instanceof r&&(this._S=t.S),this._Rencoded=Array.isArray(t.R)?t.R:t.Rencoded,this._Sencoded=Array.isArray(t.S)?t.S:t.Sencoded}s(c,\"S\",(function(){return this.eddsa.decodeInt(this.Sencoded())})),s(c,\"R\",(function(){return this.eddsa.decodePoint(this.Rencoded())})),s(c,\"Rencoded\",(function(){return this.eddsa.encodePoint(this.R())})),s(c,\"Sencoded\",(function(){return this.eddsa.encodeInt(this.S())})),c.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},c.prototype.toHex=function(){return i.encode(this.toBytes(),\"hex\").toUpperCase()},e.exports=c},function(e,t,n){\"use strict\";var r=n(56);t.certificate=n(347);var i=r.define(\"RSAPrivateKey\",(function(){this.seq().obj(this.key(\"version\").int(),this.key(\"modulus\").int(),this.key(\"publicExponent\").int(),this.key(\"privateExponent\").int(),this.key(\"prime1\").int(),this.key(\"prime2\").int(),this.key(\"exponent1\").int(),this.key(\"exponent2\").int(),this.key(\"coefficient\").int())}));t.RSAPrivateKey=i;var a=r.define(\"RSAPublicKey\",(function(){this.seq().obj(this.key(\"modulus\").int(),this.key(\"publicExponent\").int())}));t.RSAPublicKey=a;var s=r.define(\"SubjectPublicKeyInfo\",(function(){this.seq().obj(this.key(\"algorithm\").use(o),this.key(\"subjectPublicKey\").bitstr())}));t.PublicKey=s;var o=r.define(\"AlgorithmIdentifier\",(function(){this.seq().obj(this.key(\"algorithm\").objid(),this.key(\"none\").null_().optional(),this.key(\"curve\").objid().optional(),this.key(\"params\").seq().obj(this.key(\"p\").int(),this.key(\"q\").int(),this.key(\"g\").int()).optional())})),c=r.define(\"PrivateKeyInfo\",(function(){this.seq().obj(this.key(\"version\").int(),this.key(\"algorithm\").use(o),this.key(\"subjectPrivateKey\").octstr())}));t.PrivateKey=c;var l=r.define(\"EncryptedPrivateKeyInfo\",(function(){this.seq().obj(this.key(\"algorithm\").seq().obj(this.key(\"id\").objid(),this.key(\"decrypt\").seq().obj(this.key(\"kde\").seq().obj(this.key(\"id\").objid(),this.key(\"kdeparams\").seq().obj(this.key(\"salt\").octstr(),this.key(\"iters\").int())),this.key(\"cipher\").seq().obj(this.key(\"algo\").objid(),this.key(\"iv\").octstr()))),this.key(\"subjectPrivateKey\").octstr())}));t.EncryptedPrivateKey=l;var u=r.define(\"DSAPrivateKey\",(function(){this.seq().obj(this.key(\"version\").int(),this.key(\"p\").int(),this.key(\"q\").int(),this.key(\"g\").int(),this.key(\"pub_key\").int(),this.key(\"priv_key\").int())}));t.DSAPrivateKey=u,t.DSAparam=r.define(\"DSAparam\",(function(){this.int()}));var p=r.define(\"ECPrivateKey\",(function(){this.seq().obj(this.key(\"version\").int(),this.key(\"privateKey\").octstr(),this.key(\"parameters\").optional().explicit(0).use(d),this.key(\"publicKey\").optional().explicit(1).bitstr())}));t.ECPrivateKey=p;var d=r.define(\"ECParameters\",(function(){this.choice({namedCurve:this.objid()})}));t.signature=r.define(\"signature\",(function(){this.seq().obj(this.key(\"r\").int(),this.key(\"s\").int())}))},function(e,t,n){var r=n(56),i=n(12);function a(e,t){this.name=e,this.body=t,this.decoders={},this.encoders={}}t.define=function(e,t){return new a(e,t)},a.prototype._createNamed=function(e){var t;try{t=n(339).runInThisContext(\"(function \"+this.name+\"(entity) {\\n  this._initNamed(entity);\\n})\")}catch(r){t=function(e){this._initNamed(e)}}return i(t,e),t.prototype._initNamed=function(t){e.call(this,t)},new t(this)},a.prototype._getDecoder=function(e){return e=e||\"der\",this.decoders.hasOwnProperty(e)||(this.decoders[e]=this._createNamed(r.decoders[e])),this.decoders[e]},a.prototype.decode=function(e,t,n){return this._getDecoder(t).decode(e,n)},a.prototype._getEncoder=function(e){return e=e||\"der\",this.encoders.hasOwnProperty(e)||(this.encoders[e]=this._createNamed(r.encoders[e])),this.encoders[e]},a.prototype.encode=function(e,t,n){return this._getEncoder(t).encode(e,n)}},function(module,exports){var indexOf=function(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0;n<e.length;n++)if(e[n]===t)return n;return-1},Object_keys=function(e){if(Object.keys)return Object.keys(e);var t=[];for(var n in e)t.push(n);return t},forEach=function(e,t){if(e.forEach)return e.forEach(t);for(var n=0;n<e.length;n++)t(e[n],n,e)},defineProp=function(){try{return Object.defineProperty({},\"_\",{}),function(e,t,n){Object.defineProperty(e,t,{writable:!0,enumerable:!1,configurable:!0,value:n})}}catch(e){return function(e,t,n){e[t]=n}}}(),globals=[\"Array\",\"Boolean\",\"Date\",\"Error\",\"EvalError\",\"Function\",\"Infinity\",\"JSON\",\"Math\",\"NaN\",\"Number\",\"Object\",\"RangeError\",\"ReferenceError\",\"RegExp\",\"String\",\"SyntaxError\",\"TypeError\",\"URIError\",\"decodeURI\",\"decodeURIComponent\",\"encodeURI\",\"encodeURIComponent\",\"escape\",\"eval\",\"isFinite\",\"isNaN\",\"parseFloat\",\"parseInt\",\"undefined\",\"unescape\"];function Context(){}Context.prototype={};var Script=exports.Script=function(e){if(!(this instanceof Script))return new Script(e);this.code=e};Script.prototype.runInContext=function(e){if(!(e instanceof Context))throw new TypeError(\"needs a \'context\' argument.\");var t=document.createElement(\"iframe\");t.style||(t.style={}),t.style.display=\"none\",document.body.appendChild(t);var n=t.contentWindow,r=n.eval,i=n.execScript;!r&&i&&(i.call(n,\"null\"),r=n.eval),forEach(Object_keys(e),(function(t){n[t]=e[t]})),forEach(globals,(function(t){e[t]&&(n[t]=e[t])}));var a=Object_keys(n),s=r.call(n,this.code);return forEach(Object_keys(n),(function(t){(t in e||-1===indexOf(a,t))&&(e[t]=n[t])})),forEach(globals,(function(t){t in e||defineProp(e,t,n[t])})),document.body.removeChild(t),s},Script.prototype.runInThisContext=function(){return eval(this.code)},Script.prototype.runInNewContext=function(e){var t=Script.createContext(e),n=this.runInContext(t);return e&&forEach(Object_keys(t),(function(n){e[n]=t[n]})),n},forEach(Object_keys(Script.prototype),(function(e){exports[e]=Script[e]=function(t){var n=Script(t);return n[e].apply(n,[].slice.call(arguments,1))}})),exports.isContext=function(e){return e instanceof Context},exports.createScript=function(e){return exports.Script(e)},exports.createContext=Script.createContext=function(e){var t=new Context;return\"object\"==typeof e&&forEach(Object_keys(e),(function(n){t[n]=e[n]})),t}},function(e,t,n){var r=n(12);function i(e){this._reporterState={obj:null,path:[],options:e||{},errors:[]}}function a(e,t){this.path=e,this.rethrow(t)}t.Reporter=i,i.prototype.isError=function(e){return e instanceof a},i.prototype.save=function(){var e=this._reporterState;return{obj:e.obj,pathLen:e.path.length}},i.prototype.restore=function(e){var t=this._reporterState;t.obj=e.obj,t.path=t.path.slice(0,e.pathLen)},i.prototype.enterKey=function(e){return this._reporterState.path.push(e)},i.prototype.exitKey=function(e){var t=this._reporterState;t.path=t.path.slice(0,e-1)},i.prototype.leaveKey=function(e,t,n){var r=this._reporterState;this.exitKey(e),null!==r.obj&&(r.obj[t]=n)},i.prototype.path=function(){return this._reporterState.path.join(\"/\")},i.prototype.enterObject=function(){var e=this._reporterState,t=e.obj;return e.obj={},t},i.prototype.leaveObject=function(e){var t=this._reporterState,n=t.obj;return t.obj=e,n},i.prototype.error=function(e){var t,n=this._reporterState,r=e instanceof a;if(t=r?e:new a(n.path.map((function(e){return\"[\"+JSON.stringify(e)+\"]\"})).join(\"\"),e.message||e,e.stack),!n.options.partial)throw t;return r||n.errors.push(t),t},i.prototype.wrapResult=function(e){var t=this._reporterState;return t.options.partial?{result:this.isError(e)?null:e,errors:t.errors}:e},r(a,Error),a.prototype.rethrow=function(e){if(this.message=e+\" at: \"+(this.path||\"(shallow)\"),Error.captureStackTrace&&Error.captureStackTrace(this,a),!this.stack)try{throw new Error(this.message)}catch(t){this.stack=t.stack}return this}},function(e,t,n){var r=n(57).Reporter,i=n(57).EncoderBuffer,a=n(57).DecoderBuffer,s=n(20),o=[\"seq\",\"seqof\",\"set\",\"setof\",\"objid\",\"bool\",\"gentime\",\"utctime\",\"null_\",\"enum\",\"int\",\"objDesc\",\"bitstr\",\"bmpstr\",\"charstr\",\"genstr\",\"graphstr\",\"ia5str\",\"iso646str\",\"numstr\",\"octstr\",\"printstr\",\"t61str\",\"unistr\",\"utf8str\",\"videostr\"],c=[\"key\",\"obj\",\"use\",\"optional\",\"explicit\",\"implicit\",\"def\",\"choice\",\"any\",\"contains\"].concat(o);function l(e,t){var n={};this._baseState=n,n.enc=e,n.parent=t||null,n.children=null,n.tag=null,n.args=null,n.reverseArgs=null,n.choice=null,n.optional=!1,n.any=!1,n.obj=!1,n.use=null,n.useDecoder=null,n.key=null,n.default=null,n.explicit=null,n.implicit=null,n.contains=null,n.parent||(n.children=[],this._wrap())}e.exports=l;var u=[\"enc\",\"parent\",\"children\",\"tag\",\"args\",\"reverseArgs\",\"choice\",\"optional\",\"any\",\"obj\",\"use\",\"alteredUse\",\"key\",\"default\",\"explicit\",\"implicit\",\"contains\"];l.prototype.clone=function(){var e=this._baseState,t={};u.forEach((function(n){t[n]=e[n]}));var n=new this.constructor(t.parent);return n._baseState=t,n},l.prototype._wrap=function(){var e=this._baseState;c.forEach((function(t){this[t]=function(){var n=new this.constructor(this);return e.children.push(n),n[t].apply(n,arguments)}}),this)},l.prototype._init=function(e){var t=this._baseState;s(null===t.parent),e.call(this),t.children=t.children.filter((function(e){return e._baseState.parent===this}),this),s.equal(t.children.length,1,\"Root node can have only one child\")},l.prototype._useArgs=function(e){var t=this._baseState,n=e.filter((function(e){return e instanceof this.constructor}),this);e=e.filter((function(e){return!(e instanceof this.constructor)}),this),0!==n.length&&(s(null===t.children),t.children=n,n.forEach((function(e){e._baseState.parent=this}),this)),0!==e.length&&(s(null===t.args),t.args=e,t.reverseArgs=e.map((function(e){if(\"object\"!=typeof e||e.constructor!==Object)return e;var t={};return Object.keys(e).forEach((function(n){n==(0|n)&&(n|=0);var r=e[n];t[r]=n})),t})))},[\"_peekTag\",\"_decodeTag\",\"_use\",\"_decodeStr\",\"_decodeObjid\",\"_decodeTime\",\"_decodeNull\",\"_decodeInt\",\"_decodeBool\",\"_decodeList\",\"_encodeComposite\",\"_encodeStr\",\"_encodeObjid\",\"_encodeTime\",\"_encodeNull\",\"_encodeInt\",\"_encodeBool\"].forEach((function(e){l.prototype[e]=function(){var t=this._baseState;throw new Error(e+\" not implemented for encoding: \"+t.enc)}})),o.forEach((function(e){l.prototype[e]=function(){var t=this._baseState,n=Array.prototype.slice.call(arguments);return s(null===t.tag),t.tag=e,this._useArgs(n),this}})),l.prototype.use=function(e){s(e);var t=this._baseState;return s(null===t.use),t.use=e,this},l.prototype.optional=function(){return this._baseState.optional=!0,this},l.prototype.def=function(e){var t=this._baseState;return s(null===t.default),t.default=e,t.optional=!0,this},l.prototype.explicit=function(e){var t=this._baseState;return s(null===t.explicit&&null===t.implicit),t.explicit=e,this},l.prototype.implicit=function(e){var t=this._baseState;return s(null===t.explicit&&null===t.implicit),t.implicit=e,this},l.prototype.obj=function(){var e=this._baseState,t=Array.prototype.slice.call(arguments);return e.obj=!0,0!==t.length&&this._useArgs(t),this},l.prototype.key=function(e){var t=this._baseState;return s(null===t.key),t.key=e,this},l.prototype.any=function(){return this._baseState.any=!0,this},l.prototype.choice=function(e){var t=this._baseState;return s(null===t.choice),t.choice=e,this._useArgs(Object.keys(e).map((function(t){return e[t]}))),this},l.prototype.contains=function(e){var t=this._baseState;return s(null===t.use),t.contains=e,this},l.prototype._decode=function(e,t){var n=this._baseState;if(null===n.parent)return e.wrapResult(n.children[0]._decode(e,t));var r,i=n.default,s=!0,o=null;if(null!==n.key&&(o=e.enterKey(n.key)),n.optional){var c=null;if(null!==n.explicit?c=n.explicit:null!==n.implicit?c=n.implicit:null!==n.tag&&(c=n.tag),null!==c||n.any){if(s=this._peekTag(e,c,n.any),e.isError(s))return s}else{var l=e.save();try{null===n.choice?this._decodeGeneric(n.tag,e,t):this._decodeChoice(e,t),s=!0}catch(f){s=!1}e.restore(l)}}if(n.obj&&s&&(r=e.enterObject()),s){if(null!==n.explicit){var u=this._decodeTag(e,n.explicit);if(e.isError(u))return u;e=u}var p=e.offset;if(null===n.use&&null===n.choice){if(n.any)l=e.save();var d=this._decodeTag(e,null!==n.implicit?n.implicit:n.tag,n.any);if(e.isError(d))return d;n.any?i=e.raw(l):e=d}if(t&&t.track&&null!==n.tag&&t.track(e.path(),p,e.length,\"tagged\"),t&&t.track&&null!==n.tag&&t.track(e.path(),e.offset,e.length,\"content\"),i=n.any?i:null===n.choice?this._decodeGeneric(n.tag,e,t):this._decodeChoice(e,t),e.isError(i))return i;if(n.any||null!==n.choice||null===n.children||n.children.forEach((function(n){n._decode(e,t)})),n.contains&&(\"octstr\"===n.tag||\"bitstr\"===n.tag)){var h=new a(i);i=this._getUse(n.contains,e._reporterState.obj)._decode(h,t)}}return n.obj&&s&&(i=e.leaveObject(r)),null===n.key||null===i&&!0!==s?null!==o&&e.exitKey(o):e.leaveKey(o,n.key,i),i},l.prototype._decodeGeneric=function(e,t,n){var r=this._baseState;return\"seq\"===e||\"set\"===e?null:\"seqof\"===e||\"setof\"===e?this._decodeList(t,e,r.args[0],n):/str$/.test(e)?this._decodeStr(t,e,n):\"objid\"===e&&r.args?this._decodeObjid(t,r.args[0],r.args[1],n):\"objid\"===e?this._decodeObjid(t,null,null,n):\"gentime\"===e||\"utctime\"===e?this._decodeTime(t,e,n):\"null_\"===e?this._decodeNull(t,n):\"bool\"===e?this._decodeBool(t,n):\"objDesc\"===e?this._decodeStr(t,e,n):\"int\"===e||\"enum\"===e?this._decodeInt(t,r.args&&r.args[0],n):null!==r.use?this._getUse(r.use,t._reporterState.obj)._decode(t,n):t.error(\"unknown tag: \"+e)},l.prototype._getUse=function(e,t){var n=this._baseState;return n.useDecoder=this._use(e,t),s(null===n.useDecoder._baseState.parent),n.useDecoder=n.useDecoder._baseState.children[0],n.implicit!==n.useDecoder._baseState.implicit&&(n.useDecoder=n.useDecoder.clone(),n.useDecoder._baseState.implicit=n.implicit),n.useDecoder},l.prototype._decodeChoice=function(e,t){var n=this._baseState,r=null,i=!1;return Object.keys(n.choice).some((function(a){var s=e.save(),o=n.choice[a];try{var c=o._decode(e,t);if(e.isError(c))return!1;r={type:a,value:c},i=!0}catch(l){return e.restore(s),!1}return!0}),this),i?r:e.error(\"Choice not matched\")},l.prototype._createEncoderBuffer=function(e){return new i(e,this.reporter)},l.prototype._encode=function(e,t,n){var r=this._baseState;if(null===r.default||r.default!==e){var i=this._encodeValue(e,t,n);if(void 0!==i&&!this._skipDefault(i,t,n))return i}},l.prototype._encodeValue=function(e,t,n){var i=this._baseState;if(null===i.parent)return i.children[0]._encode(e,t||new r);var a=null;if(this.reporter=t,i.optional&&void 0===e){if(null===i.default)return;e=i.default}var s=null,o=!1;if(i.any)a=this._createEncoderBuffer(e);else if(i.choice)a=this._encodeChoice(e,t);else if(i.contains)s=this._getUse(i.contains,n)._encode(e,t),o=!0;else if(i.children)s=i.children.map((function(n){if(\"null_\"===n._baseState.tag)return n._encode(null,t,e);if(null===n._baseState.key)return t.error(\"Child should have a key\");var r=t.enterKey(n._baseState.key);if(\"object\"!=typeof e)return t.error(\"Child expected, but input is not object\");var i=n._encode(e[n._baseState.key],t,e);return t.leaveKey(r),i}),this).filter((function(e){return e})),s=this._createEncoderBuffer(s);else if(\"seqof\"===i.tag||\"setof\"===i.tag){if(!i.args||1!==i.args.length)return t.error(\"Too many args for : \"+i.tag);if(!Array.isArray(e))return t.error(\"seqof/setof, but data is not Array\");var c=this.clone();c._baseState.implicit=null,s=this._createEncoderBuffer(e.map((function(n){var r=this._baseState;return this._getUse(r.args[0],e)._encode(n,t)}),c))}else null!==i.use?a=this._getUse(i.use,n)._encode(e,t):(s=this._encodePrimitive(i.tag,e),o=!0);if(!i.any&&null===i.choice){var l=null!==i.implicit?i.implicit:i.tag,u=null===i.implicit?\"universal\":\"context\";null===l?null===i.use&&t.error(\"Tag could be omitted only for .use()\"):null===i.use&&(a=this._encodeComposite(l,o,u,s))}return null!==i.explicit&&(a=this._encodeComposite(i.explicit,!1,\"context\",a)),a},l.prototype._encodeChoice=function(e,t){var n=this._baseState,r=n.choice[e.type];return r||s(!1,e.type+\" not found in \"+JSON.stringify(Object.keys(n.choice))),r._encode(e.value,t)},l.prototype._encodePrimitive=function(e,t){var n=this._baseState;if(/str$/.test(e))return this._encodeStr(t,e);if(\"objid\"===e&&n.args)return this._encodeObjid(t,n.reverseArgs[0],n.args[1]);if(\"objid\"===e)return this._encodeObjid(t,null,null);if(\"gentime\"===e||\"utctime\"===e)return this._encodeTime(t,e);if(\"null_\"===e)return this._encodeNull();if(\"int\"===e||\"enum\"===e)return this._encodeInt(t,n.args&&n.reverseArgs[0]);if(\"bool\"===e)return this._encodeBool(t);if(\"objDesc\"===e)return this._encodeStr(t,e);throw new Error(\"Unsupported tag: \"+e)},l.prototype._isNumstr=function(e){return/^[0-9 ]*$/.test(e)},l.prototype._isPrintstr=function(e){return/^[A-Za-z0-9 \'\\(\\)\\+,\\-\\.\\/:=\\?]*$/.test(e)}},function(e,t,n){var r=n(165);t.tagClass={0:\"universal\",1:\"application\",2:\"context\",3:\"private\"},t.tagClassByName=r._reverse(t.tagClass),t.tag={0:\"end\",1:\"bool\",2:\"int\",3:\"bitstr\",4:\"octstr\",5:\"null_\",6:\"objid\",7:\"objDesc\",8:\"external\",9:\"real\",10:\"enum\",11:\"embed\",12:\"utf8str\",13:\"relativeOid\",16:\"seq\",17:\"set\",18:\"numstr\",19:\"printstr\",20:\"t61str\",21:\"videostr\",22:\"ia5str\",23:\"utctime\",24:\"gentime\",25:\"graphstr\",26:\"iso646str\",27:\"genstr\",28:\"unistr\",29:\"charstr\",30:\"bmpstr\"},t.tagByName=r._reverse(t.tag)},function(e,t,n){var r=t;r.der=n(166),r.pem=n(344)},function(e,t,n){var r=n(12),i=n(19).Buffer,a=n(166);function s(e){a.call(this,e),this.enc=\"pem\"}r(s,a),e.exports=s,s.prototype.decode=function(e,t){for(var n=e.toString().split(/[\\r\\n]+/g),r=t.label.toUpperCase(),s=/^-----(BEGIN|END) ([^-]+)-----$/,o=-1,c=-1,l=0;l<n.length;l++){var u=n[l].match(s);if(null!==u&&u[2]===r){if(-1!==o){if(\"END\"!==u[1])break;c=l;break}if(\"BEGIN\"!==u[1])break;o=l}}if(-1===o||-1===c)throw new Error(\"PEM section not found for: \"+r);var p=n.slice(o+1,c).join(\"\");p.replace(/[^a-z0-9\\+\\/=]+/gi,\"\");var d=new i(p,\"base64\");return a.prototype.decode.call(this,d,t)}},function(e,t,n){var r=t;r.der=n(167),r.pem=n(346)},function(e,t,n){var r=n(12),i=n(167);function a(e){i.call(this,e),this.enc=\"pem\"}r(a,i),e.exports=a,a.prototype.encode=function(e,t){for(var n=i.prototype.encode.call(this,e).toString(\"base64\"),r=[\"-----BEGIN \"+t.label+\"-----\"],a=0;a<n.length;a+=64)r.push(n.slice(a,a+64));return r.push(\"-----END \"+t.label+\"-----\"),r.join(\"\\n\")}},function(e,t,n){\"use strict\";var r=n(56),i=r.define(\"Time\",(function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})})),a=r.define(\"AttributeTypeValue\",(function(){this.seq().obj(this.key(\"type\").objid(),this.key(\"value\").any())})),s=r.define(\"AlgorithmIdentifier\",(function(){this.seq().obj(this.key(\"algorithm\").objid(),this.key(\"parameters\").optional(),this.key(\"curve\").objid().optional())})),o=r.define(\"SubjectPublicKeyInfo\",(function(){this.seq().obj(this.key(\"algorithm\").use(s),this.key(\"subjectPublicKey\").bitstr())})),c=r.define(\"RelativeDistinguishedName\",(function(){this.setof(a)})),l=r.define(\"RDNSequence\",(function(){this.seqof(c)})),u=r.define(\"Name\",(function(){this.choice({rdnSequence:this.use(l)})})),p=r.define(\"Validity\",(function(){this.seq().obj(this.key(\"notBefore\").use(i),this.key(\"notAfter\").use(i))})),d=r.define(\"Extension\",(function(){this.seq().obj(this.key(\"extnID\").objid(),this.key(\"critical\").bool().def(!1),this.key(\"extnValue\").octstr())})),h=r.define(\"TBSCertificate\",(function(){this.seq().obj(this.key(\"version\").explicit(0).int().optional(),this.key(\"serialNumber\").int(),this.key(\"signature\").use(s),this.key(\"issuer\").use(u),this.key(\"validity\").use(p),this.key(\"subject\").use(u),this.key(\"subjectPublicKeyInfo\").use(o),this.key(\"issuerUniqueID\").implicit(1).bitstr().optional(),this.key(\"subjectUniqueID\").implicit(2).bitstr().optional(),this.key(\"extensions\").explicit(3).seqof(d).optional())})),f=r.define(\"X509Certificate\",(function(){this.seq().obj(this.key(\"tbsCertificate\").use(h),this.key(\"signatureAlgorithm\").use(s),this.key(\"signatureValue\").bitstr())}));e.exports=f},function(e){e.exports=JSON.parse(\'{\"2.16.840.1.101.3.4.1.1\":\"aes-128-ecb\",\"2.16.840.1.101.3.4.1.2\":\"aes-128-cbc\",\"2.16.840.1.101.3.4.1.3\":\"aes-128-ofb\",\"2.16.840.1.101.3.4.1.4\":\"aes-128-cfb\",\"2.16.840.1.101.3.4.1.21\":\"aes-192-ecb\",\"2.16.840.1.101.3.4.1.22\":\"aes-192-cbc\",\"2.16.840.1.101.3.4.1.23\":\"aes-192-ofb\",\"2.16.840.1.101.3.4.1.24\":\"aes-192-cfb\",\"2.16.840.1.101.3.4.1.41\":\"aes-256-ecb\",\"2.16.840.1.101.3.4.1.42\":\"aes-256-cbc\",\"2.16.840.1.101.3.4.1.43\":\"aes-256-ofb\",\"2.16.840.1.101.3.4.1.44\":\"aes-256-cfb\"}\')},function(e,t,n){var r=/Proc-Type: 4,ENCRYPTED[\\n\\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\\n\\r]+([0-9A-z\\n\\r\\+\\/\\=]+)[\\n\\r]+/m,i=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,a=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\\n\\r\\+\\/\\=]+)-----END \\1-----$/m,s=n(66),o=n(93),c=n(13).Buffer;e.exports=function(e,t){var n,l=e.toString(),u=l.match(r);if(u){var p=\"aes\"+u[1],d=c.from(u[2],\"hex\"),h=c.from(u[3].replace(/[\\r\\n]/g,\"\"),\"base64\"),f=s(t,d.slice(0,8),parseInt(u[1],10)).key,m=[],g=o.createDecipheriv(p,f,d);m.push(g.update(h)),m.push(g.final()),n=c.concat(m)}else{var v=l.match(a);n=new c(v[2].replace(/[\\r\\n]/g,\"\"),\"base64\")}return{tag:l.match(i)[1],data:n}}},function(e,t,n){(function(t){var r=n(18),i=n(97).ec,a=n(68),s=n(168);function o(e,t){if(e.cmpn(0)<=0)throw new Error(\"invalid sig\");if(e.cmp(t)>=t)throw new Error(\"invalid sig\")}e.exports=function(e,n,c,l,u){var p=a(c);if(\"ec\"===p.type){if(\"ecdsa\"!==l&&\"ecdsa/rsa\"!==l)throw new Error(\"wrong public key type\");return function(e,t,n){var r=s[n.data.algorithm.curve.join(\".\")];if(!r)throw new Error(\"unknown curve \"+n.data.algorithm.curve.join(\".\"));var a=new i(r),o=n.data.subjectPrivateKey.data;return a.verify(t,e,o)}(e,n,p)}if(\"dsa\"===p.type){if(\"dsa\"!==l)throw new Error(\"wrong public key type\");return function(e,t,n){var i=n.data.p,s=n.data.q,c=n.data.g,l=n.data.pub_key,u=a.signature.decode(e,\"der\"),p=u.s,d=u.r;o(p,s),o(d,s);var h=r.mont(i),f=p.invm(s);return 0===c.toRed(h).redPow(new r(t).mul(f).mod(s)).fromRed().mul(l.toRed(h).redPow(d.mul(f).mod(s)).fromRed()).mod(i).mod(s).cmp(d)}(e,n,p)}if(\"rsa\"!==l&&\"ecdsa/rsa\"!==l)throw new Error(\"wrong public key type\");n=t.concat([u,n]);for(var d=p.modulus.byteLength(),h=[1],f=0;n.length+h.length+2<d;)h.push(255),f++;h.push(0);for(var m=-1;++m<n.length;)h.push(n[m]);h=new t(h);var g=r.mont(p.modulus);e=(e=new r(e).toRed(g)).redPow(new r(p.publicExponent)),e=new t(e.fromRed().toArray());var v=f<8?1:0;for(d=Math.min(e.length,h.length),e.length!==h.length&&(v=1),m=-1;++m<d;)v|=e[m]^h[m];return 0===v}}).call(this,n(19).Buffer)},function(e,t,n){(function(t){var r=n(97),i=n(18);e.exports=function(e){return new s(e)};var a={secp256k1:{name:\"secp256k1\",byteLength:32},secp224r1:{name:\"p224\",byteLength:28},prime256v1:{name:\"p256\",byteLength:32},prime192v1:{name:\"p192\",byteLength:24},ed25519:{name:\"ed25519\",byteLength:32},secp384r1:{name:\"p384\",byteLength:48},secp521r1:{name:\"p521\",byteLength:66}};function s(e){this.curveType=a[e],this.curveType||(this.curveType={name:e}),this.curve=new r.ec(this.curveType.name),this.keys=void 0}function o(e,n,r){Array.isArray(e)||(e=e.toArray());var i=new t(e);if(r&&i.length<r){var a=new t(r-i.length);a.fill(0),i=t.concat([a,i])}return n?i.toString(n):i}a.p224=a.secp224r1,a.p256=a.secp256r1=a.prime256v1,a.p192=a.secp192r1=a.prime192v1,a.p384=a.secp384r1,a.p521=a.secp521r1,s.prototype.generateKeys=function(e,t){return this.keys=this.curve.genKeyPair(),this.getPublicKey(e,t)},s.prototype.computeSecret=function(e,n,r){return n=n||\"utf8\",t.isBuffer(e)||(e=new t(e,n)),o(this.curve.keyFromPublic(e).getPublic().mul(this.keys.getPrivate()).getX(),r,this.curveType.byteLength)},s.prototype.getPublicKey=function(e,t){var n=this.keys.getPublic(\"compressed\"===t,!0);return\"hybrid\"===t&&(n[n.length-1]%2?n[0]=7:n[0]=6),o(n,e)},s.prototype.getPrivateKey=function(e){return o(this.keys.getPrivate(),e)},s.prototype.setPublicKey=function(e,n){return n=n||\"utf8\",t.isBuffer(e)||(e=new t(e,n)),this.keys._importPublic(e),this},s.prototype.setPrivateKey=function(e,n){n=n||\"utf8\",t.isBuffer(e)||(e=new t(e,n));var r=new i(e);return r=r.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(r),this}}).call(this,n(19).Buffer)},function(e,t,n){t.publicEncrypt=n(353),t.privateDecrypt=n(354),t.privateEncrypt=function(e,n){return t.publicEncrypt(e,n,!0)},t.publicDecrypt=function(e,n){return t.privateDecrypt(e,n,!0)}},function(e,t,n){var r=n(68),i=n(40),a=n(53),s=n(169),o=n(170),c=n(18),l=n(171),u=n(96),p=n(13).Buffer;e.exports=function(e,t,n){var d;d=e.padding?e.padding:n?1:4;var h,f=r(e);if(4===d)h=function(e,t){var n=e.modulus.byteLength(),r=t.length,l=a(\"sha1\").update(p.alloc(0)).digest(),u=l.length,d=2*u;if(r>n-d-2)throw new Error(\"message too long\");var h=p.alloc(n-r-d-2),f=n-u-1,m=i(u),g=o(p.concat([l,h,p.alloc(1,1),t],f),s(m,f)),v=o(m,s(g,u));return new c(p.concat([p.alloc(1),v,g],n))}(f,t);else if(1===d)h=function(e,t,n){var r,a=t.length,s=e.modulus.byteLength();if(a>s-11)throw new Error(\"message too long\");r=n?p.alloc(s-a-3,255):function(e){var t,n=p.allocUnsafe(e),r=0,a=i(2*e),s=0;for(;r<e;)s===a.length&&(a=i(2*e),s=0),