@charset "UTF-8";@-webkit-keyframes ai1wm-rotate{0%{-webkit-transform:rotateZ(0);transform:rotateZ(0)}25%{-webkit-transform:rotateZ(90deg);transform:rotateZ(90deg)}50%{-webkit-transform:rotateZ(180deg);transform:rotateZ(180deg)}75%{-webkit-transform:rotateZ(270deg);transform:rotateZ(270deg)}to{-webkit-transform:rotateZ(360deg);transform:rotateZ(360deg)}}@keyframes ai1wm-rotate{0%{-webkit-transform:rotateZ(0);transform:rotateZ(0)}25%{-webkit-transform:rotateZ(90deg);transform:rotateZ(90deg)}50%{-webkit-transform:rotateZ(180deg);transform:rotateZ(180deg)}75%{-webkit-transform:rotateZ(270deg);transform:rotateZ(270deg)}to{-webkit-transform:rotateZ(360deg);transform:rotateZ(360deg)}}@-webkit-keyframes ai1wm-emphasize{0%,to{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.2);transform:scale(1.2)}}@keyframes ai1wm-emphasize{0%,to{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.2);transform:scale(1.2)}}@-webkit-keyframes ai1wm-fadein{0%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1.5);transform:scale(1.5)}to{-webkit-transform:scale(1);transform:scale(1)}}@keyframes ai1wm-fadein{0%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1.5);transform:scale(1.5)}to{-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes ai1wm-spin-left{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(-360deg);transform:rotate(-360deg)}}@keyframes ai1wm-spin-left{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(-360deg);transform:rotate(-360deg)}}@-webkit-keyframes ai1wm-spin-right{0%{-webkit-transform:rotate(-360deg);transform:rotate(-360deg)}to{-webkit-transform:rotate(0deg);transform:rotate(0deg)}}@keyframes ai1wm-spin-right{0%{-webkit-transform:rotate(-360deg);transform:rotate(-360deg)}to{-webkit-transform:rotate(0deg);transform:rotate(0deg)}}.ai1wm-button-group{border:2px solid #27ae60;background-color:transparent;color:#27ae60;border-radius:5px;cursor:pointer;text-transform:uppercase;font-weight:600;transition:background-color .2s ease-out;display:inline-block;text-align:right}.ai1wm-button-group.ai1wm-button-export,.ai1wm-button-group.ai1wm-button-import{box-sizing:content-box}.ai1wm-button-group.ai1wm-button-export.ai1wm-open>.ai1wm-dropdown-menu{height:448px;border-top:1px solid #27ae60}.ai1wm-button-group.ai1wm-button-import.ai1wm-open>.ai1wm-dropdown-menu{height:476px;border-top:1px solid #27ae60}.ai1wm-button-group .ai1wm-button-main{position:relative;padding:6px 25px 6px 50px;box-sizing:content-box}.ai1wm-button-group .ai1wm-dropdown-menu{height:0;overflow:hidden;transition:height .2s cubic-bezier(.19,1,.22,1);border-top:none}.ai1wm-dropdown-menu{list-style:none}.ai1wm-dropdown-menu,.ai1wm-dropdown-menu li{margin:0!important;padding:0}.ai1wm-dropdown-menu li a,.ai1wm-dropdown-menu li a:visited{display:block;padding:5px 26px;text-decoration:none;color:#27ae60;text-align:right;box-sizing:content-box}.ai1wm-dropdown-menu li a:hover,.ai1wm-dropdown-menu li a:visited:hover{text-decoration:none;color:#111}.ai1mw-lines{position:absolute;width:12px;height:10px;top:9px;left:20px}.ai1wm-line{position:absolute;width:100%;height:2px;margin:auto;background:#27ae60;transition:all .2s ease-in-out}.ai1wm-line-first{top:0;right:0}div.ai1wm-open .ai1wm-line-first,div.ai1wm-open .ai1wm-line-third{top:50%}.ai1wm-line-second{top:50%;right:0}.ai1wm-line-third{top:100%;right:0}.ai1wm-button-blue,.ai1wm-button-gray,.ai1wm-button-green,.ai1wm-button-green-small,.ai1wm-button-red{display:inline-block;border:2px solid #95a5a6;background-color:transparent;color:#95a5a6;border-radius:5px;cursor:pointer;padding:5px 26px 5px 25px;text-transform:uppercase;font-weight:600;outline:0;transition:background-color .2s ease-out;text-decoration:none}.ai1wm-button-gray:hover{background-color:#95a5a6;color:#fff}.ai1wm-button-blue,.ai1wm-button-green,.ai1wm-button-green-small,.ai1wm-button-red{border:2px solid #27ae60;color:#27ae60}.ai1wm-button-green:hover{background-color:#27ae60;color:#fff}.ai1wm-button-blue,.ai1wm-button-green-small,.ai1wm-button-red{border:2px solid #6eb649;color:#6eb649}.ai1wm-button-green-small:hover{background-color:#6eb649;color:#fff}.ai1wm-button-blue,.ai1wm-button-red{border:2px solid #00aff0;color:#00aff0}.ai1wm-button-blue:hover{background-color:#00aff0;color:#fff}.ai1wm-button-red{border:2px solid #e74c3c;color:#e74c3c}.ai1wm-button-red:hover{background-color:#e74c3c;color:#fff}.ai1wm-button-blue[disabled=disabled],.ai1wm-button-green-small[disabled=disabled],.ai1wm-button-green[disabled=disabled],.ai1wm-button-red[disabled=disabled]{opacity:.6;cursor:default}.ai1wm-button-blue[disabled=disabled]:hover{color:#00aff0}.ai1wm-button-red[disabled=disabled]:hover{color:#e74c3c}.ai1wm-button-green[disabled=disabled]:hover{color:#27ae60}.ai1wm-button-blue[disabled=disabled]:hover,.ai1wm-button-green-small[disabled=disabled]:hover,.ai1wm-button-green[disabled=disabled]:hover,.ai1wm-button-red[disabled=disabled]:hover{background:100% 0}.ai1wm-message-close-button{position:absolute;left:10px;top:6px;text-decoration:none;font-size:10px}input[type=radio].ai1wm-flat-radio-button{display:none}input[type=radio].ai1wm-flat-radio-button+a i,input[type=radio].ai1wm-flat-radio-button+label i{vertical-align:middle;float:right;width:25px;height:25px;border-radius:50%;background:100% 0;border:2px solid #ccc;content:" ";cursor:pointer;position:relative;box-sizing:content-box}input[type=radio].ai1wm-flat-radio-button:checked+a i,input[type=radio].ai1wm-flat-radio-button:checked+label i{background-color:#d9d9d9;border-color:#6f6f6f}.ai1wm-clear{*zoom:1;clear:both}.ai1wm-clear:after,.ai1wm-clear:before{content:" ";display:table}.ai1wm-clear:after{clear:both}.ai1wm-container .ai1wm-row label{position:relative;top:-1px}.ai1wm-container .ai1wm-row label:after{content:""}.ai1wm-share-button-container{text-align:center}.ai1wm-share-button-container .ai1wm-share-button{text-decoration:none;margin:10px;font-size:30px}.ai1wm-feedback-cancel:active,.ai1wm-feedback-cancel:link,.ai1wm-feedback-cancel:visited{float:right;line-height:34px;outline:0;text-decoration:none;color:#e74c3c}.ai1wm-form-submit{float:left}.ai1wm-import-info a,.ai1wm-no-underline{text-decoration:none}.ai1wm-top-positive-four{position:relative;top:4px}.ai1wm-holder h1 i,.ai1wm-top-positive-two{position:relative;top:2px}.ai1wm-feedback-form{display:none}.ai1wm-feedback-types{margin:0;padding:0;list-style:none}.ai1wm-feedback-types li{margin:14px 0;padding:0}.ai1wm-feedback-types>li>a>span,.ai1wm-feedback-types>li>label>span{display:inline-block;padding:5px 8px 6px 0}.ai1wm-feedback-types>li>a{height:29px;outline:0;color:#333;text-deciration:none}.ai1wm-loader{display:inline-block;width:128px;height:128px;position:relative;-webkit-animation:ai1wm-rotate 1.5s infinite linear;animation:ai1wm-rotate 1.5s infinite linear;background:url(../img/logo-128x128.png);background-repeat:no-repeat;background-position:center center}.ai1wm-hide{display:none}.ai1wm-label{border:1px solid #5cb85c;background-color:transparent;color:#5cb85c;cursor:pointer;text-transform:uppercase;font-weight:600;outline:0;transition:background-color .2s ease-out;padding:.2em .6em;font-size:.8em;border-radius:5px}.ai1wm-label:hover{background-color:#5cb85c;color:#fff}.ai1wm-dialog-message{text-align:right;line-height:1.5em}.ai1wm-import-info{margin-top:16px}.ai1wm-import-info,.ai1wm-import-title{display:inline-block;font-size:12px;font-weight:700}.ai1wm-button-download,.ai1wm-direct-download{top:.5em!important}.ai1wm-button-download span,.ai1wm-direct-download span{display:block;max-width:300px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ai1wm-mt-20{margin-top:20px}[class*=" ai1wm-icon-"],[class^=ai1wm-icon-]{font-family:"servmask";speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ai1wm-icon-file-zip:before{content:"\e60f"}.ai1wm-icon-folder:before{content:"\e60e"}.ai1wm-icon-file:before{content:"\e60b"}.ai1wm-icon-file-content:before{content:"\e60c"}.ai1wm-icon-cloud-upload:before{content:"\e600"}.ai1wm-icon-history:before{content:"\e603"}.ai1wm-icon-notification:before{content:"\e619"}.ai1wm-icon-arrow-down:before{content:"\e604"}.ai1wm-icon-close:before{content:"\e61a"}.ai1wm-icon-wordpress2:before{content:"\e620"}.ai1wm-icon-arrow-right:before{content:"\e605"}.ai1wm-icon-plus2:before{content:"\e607"}.ai1wm-icon-edit-pencil:before{content:"\e900"}.ai1wm-icon-export:before{content:"\e601"}.ai1wm-icon-publish:before{content:"\e602"}.ai1wm-icon-paperplane:before{content:"\e608"}.ai1wm-icon-help:before{content:"\e609"}.ai1wm-icon-chevron-right:before{content:"\e60d"}.ai1wm-icon-chevron-right2:before{content:"\e901"}.ai1wm-icon-chevron-left2:before{content:"\e902"}.ai1wm-icon-dropbox:before{content:"\e606"}.ai1wm-icon-gear:before{content:"\e60a"}.ai1wm-icon-database:before{content:"\e964"}.ai1wm-icon-upload2:before{content:"\e9c6"}.ai1wm-icon-checkmark:before{content:"\ea10"}.ai1wm-icon-checkmark2:before{content:"\ea11"}.ai1wm-icon-enter:before{content:"\ea13"}.ai1wm-icon-exit:before{content:"\ea14"}.ai1wm-icon-amazon:before{content:"\ea87"}.ai1wm-icon-onedrive:before{content:"\eaaf"}.ai1wm-icon-folder-secondary:before{content:"\e92f"}.ai1wm-icon-folder-secondary-open:before{content:"\e930"}.ai1wm-icon-dots-horizontal-triple:before{content:"\e903"}.ai1wm-icon-bullhorn:before{content:"\e91a"}.ai1wm-icon-eye:before{content:"\e9ce"}.ai1wm-icon-eye-blocked:before{content:"\e9d1"}.ai1wm-icon-power-cord:before{content:"\e9b7"}.ai1wm-icon-image:before{content:"\e90d"}.ai1wm-icon-file-video:before{content:"\e92a"}.ai1wm-icon-stack:before{content:"\e92e"}.ai1wm-icon-table:before{content:"\e906"}.ai1wm-icon-calendar:before{content:"\e953"}.ai1wm-icon-play:before{content:"\ea1c"}@media (min-width:855px){.ai1wm-row{margin-left:399px}.ai1wm-row:after,.ai1wm-row:before{content:" ";display:table}.ai1wm-row:after{clear:both}.ai1wm-left{float:right;width:100%}.ai1wm-right{float:left;width:377px;margin-left:-399px}.ai1wm-right .ai1wm-sidebar{width:100%}.ai1wm-right .ai1wm-segment{width:333px;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;color:#333;background-color:#f9f9f9;padding:20px;text-decoration:none;text-shadow:0 1px 0 #fff;background-clip:padding-box}.ai1wm-right .ai1wm-segment h2{margin:22px 0 0;padding:0;font-weight:700;font-size:14px;text-transform:uppercase;text-align:center}.ai1wm-right .ai1wm-feedback-email{width:100%;font-weight:400;font-size:.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-right .ai1wm-feedback-message{width:100%;border-radius:3px;font-size:.8rem;padding:6px 10px;resize:none}.ai1wm-right .ai1wm-feedback-terms-segment{font-size:.7rem;line-height:1rem;margin:4px 0 8px}.ai1wm-right .ai1wm-feedback-terms-segment>.ai1wm-feedback-terms{border-radius:3px}}.ai1wm-holder{position:relative;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;padding:20px;background:#f9f9f9}.ai1wm-holder h1{float:right;font-weight:300;font-size:22px;text-transform:uppercase}@media (max-width:854px){.ai1wm-container{margin-right:10px!important}.ai1wm-right,.ai1wm-row{margin-left:0!important}.ai1wm-right{float:right!important;width:100%!important;margin-top:18px}.ai1wm-right .ai1wm-sidebar{width:auto!important;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;padding:20px;background:#f9f9f9}.ai1wm-right .ai1wm-feedback-email{width:100%;font-weight:400;font-size:.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-right .ai1wm-feedback-message{width:100%;border-radius:3px;font-size:.8rem;padding:6px 10px;resize:none}.ai1wm-right .ai1wm-feedback-terms-segment{font-size:.7rem;line-height:1rem;margin:4px 0 8px;border-radius:3px}.ai1wm-right .ai1wm-feedback-terms-segment>.ai1wm-feedback-terms{border-radius:3px}}.ai1wm-container{margin:20px 2px 0 20px}.ai1wm-container:after,.ai1wm-container:before{content:" ";display:table}.ai1wm-container:after{clear:both}.ai1wm-replace-row{width:100%;box-shadow:outset 0 1px 0 0 white;border-radius:3px;color:#333;font-size:11px;font-weight:700;background-color:#f9f9f9;text-decoration:none;text-shadow:0 1px 0 #fff;background-clip:padding-box;margin-bottom:10px}.ai1wm-field{margin-bottom:4px}.ai1wm-field input[type=text],.ai1wm-field textarea{width:100%;font-weight:400}.ai1wm-field-set{margin-top:18px}.ai1wm-message{-moz-box-sizing:border-box;background-color:#efefef;border-radius:4px;color:rgba(0,0,0,.6);height:auto;margin:10px 0;min-height:18px;padding:6px 10px;position:relative;border:1px solid;transition:opacity .1s ease 0s,color .1s ease 0s,background .1s ease 0s,box-shadow .1s ease 0s}.ai1wm-message.ai1wm-success-message{background-color:#f2f8f0;color:#119000;font-size:12px}.ai1wm-message.ai1wm-info-message{background-color:#d9edf7;color:#31708f;font-size:11px}.ai1wm-message.ai1wm-error-message{background-color:#f1d7d7;color:#a95252;font-size:12px}.ai1wm-message.ai1wm-red-message{color:#d95c5c;border:2px solid #d95c5c;background-color:transparent}.ai1wm-message.ai1wm-red-message h3{margin:.4em 0;color:#d95c5c}.ai1wm-message p{margin:4px 0;font-size:12px}.ai1wm-message-warning{display:block;font-size:14px;line-height:18px;padding:12px 20px;margin:0 0 22px;background-color:#f9f9f9;border:1px solid #d6d6d6;border-radius:3px;box-shadow:0 1px 0 0 #fff inset;border-right:4px solid #ffba00}.ai1wm-overlay{display:none;position:fixed;top:0;right:0;width:100%;height:100%;background-color:rgba(0,0,0,.7);z-index:100001}.ai1wm-modal-container{position:fixed;display:none;top:50%;right:50%;z-index:100002;width:480px;height:auto;padding:16px;-webkit-transform:translate(240px,-94px);transform:translate(240px,-94px);border:1px solid #fff;box-shadow:0 2px 6px #292929;border-radius:6px;background:#f6f6f6;box-sizing:border-box;text-align:center}.ai1wm-modal-container.ai1wm-modal-container-v2{display:block;-webkit-transform:translate(50%,-50%);transform:translate(50%,-50%);max-height:400px;overflow-y:auto;text-align:right;padding:0;border:0;border-radius:0}.ai1wm-modal-container.ai1wm-modal-container-v2.ai1wm-modal-loading{width:auto;overflow:hidden;border-radius:1em}.ai1wm-modal-container.ai1wm-modal-container-v2 h1{text-transform:none}.ai1wm-modal-container section{display:block;min-height:102px}.ai1wm-holder h1,.ai1wm-modal-container section h1{margin:0;padding:0}.ai1wm-modal-container section h1 .ai1wm-title-green{color:#27ae60;font-size:.7em}.ai1wm-modal-container section h1 .ai1wm-title-red{color:#e74c3c;font-size:20px}.ai1wm-modal-container section h1 .ai1wm-title-grey{color:gray;font-size:20px}.ai1wm-modal-container section h1 .ai1wm-loader{width:32px;height:32px;background:url(../img/logo-32x32.png)}.ai1wm-modal-container section h1 .ai1wm-icon-notification{font-size:1.2em;color:#e74c3c}.ai1wm-modal-container section p{margin:0;padding:12px 0}.ai1wm-modal-container section p .ai1wm-modal-sites p{padding:4px 10px;text-align:right}.ai1wm-modal-container section p .ai1wm-modal-sites input,.ai1wm-modal-container section p .ai1wm-modal-sites select{padding:0 6px;width:100%;max-width:100%;border-radius:3px;height:30px;line-height:30px}.ai1wm-modal-container section p .ai1wm-modal-subtitle-green{color:#27ae60}.ai1wm-modal-container section p .ai1wm-modal-subtitle-red{color:#e74c3c}.ai1wm-modal-container section p .ai1wm-modal-subdescription{display:block;text-align:right}.ai1wm-modal-container section p a.ai1wm-button-green{display:inline-block;position:relative;top:26px}.ai1wm-modal-container section p a.ai1wm-emphasize{-webkit-animation:ai1wm-emphasize 1s infinite;animation:ai1wm-emphasize 1s infinite}.ai1wm-modal-container section p em{display:block;color:#34495e;font-style:normal}.ai1wm-modal-container section p.ai1wm-import-modal-content{text-align:right}.ai1wm-modal-container section p.ai1wm-import-modal-content-done{text-align:right;padding:1.62em .5em}.ai1wm-modal-container .ai1wm-import-modal-actions{border-top:1px solid #ccc;padding-top:1em;text-align:left}.ai1wm-modal-container .ai1wm-import-modal-actions .ai1wm-button-gray{margin-left:1em}.ai1wm-modal-container .ai1wm-import-modal-notice{border-top:1px solid #ccc}.ai1wm-modal-container .ai1wm-import-modal-notice p{font-weight:700;margin:0;padding-top:16px;text-align:center}.ai1wm-progress-bar-v2{background-color:#63637e;display:block;height:60px;padding:3em}.ai1wm-progress-bar-v2 h1{text-transform:none;color:#fff;margin:0 0 1.4em}.ai1wm-progress-bar-v2-container{position:relative;width:100%;overflow:visible}.ai1wm-progress-bar-v2 .ai1wm-progress-bar-v2-meter{position:absolute;right:0;top:0;height:5px;background-color:#3d3d4e;width:100%}.ai1wm-progress-bar-v2 .ai1wm-progress-bar-v2-meter .ai1wm-progress-bar-v2-percent{position:absolute;background-color:#fff;padding:0 .5em;border-radius:3px;font-size:10px;line-height:24px;-webkit-transform:translate(1.1em,-3em);transform:translate(1.1em,-3em)}.ai1wm-progress-bar-v2 .ai1wm-progress-bar-v2-meter .ai1wm-progress-bar-v2-percent::after{content:" ";position:absolute;top:100%;right:50%;margin-right:-3px;border-width:3px;border-style:solid;border-color:#fff transparent transparent}.ai1wm-progress-bar-v2 .ai1wm-progress-bar-v2-meter .ai1wm-progress-bar-v2-slider{display:inline-block;background-color:#fff;position:absolute;height:5px;max-width:100%}.ai1wm-spin-container{height:50px;width:50px;position:relative;display:block;padding:1.5em}.ai1wm-spinner{display:-webkit-flex;display:-ms-flexbox;display:flex;position:absolute;width:50px;height:50px;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-timing-function:linear;animation-timing-function:linear}.ai1wm-spinner.ai1wm-spin-left{-webkit-animation-duration:2000ms;animation-duration:2000ms;-webkit-animation-name:ai1wm-spin-left;animation-name:ai1wm-spin-left}.ai1wm-spinner.ai1wm-spin-right{-webkit-animation-duration:4000ms;animation-duration:4000ms;-webkit-animation-name:ai1wm-spin-right;animation-name:ai1wm-spin-right}.ai1wm-folder-container,section.ai1wm-decrypt-backup-section form{-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.ai1wm-folder-container{display:-webkit-flex;display:-ms-flexbox;display:flex;padding:2em 3em}.ai1wm-folder-container ul li a,.ai1wm-folder-container>h1{color:#3c434a;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.ai1wm-folder-container>h1{font-weight:700;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between}.ai1wm-folder-container>h1 a{text-decoration:none;color:inherit;font-size:.5em}.ai1wm-folder-container ul li{margin:0}.ai1wm-folder-container ul li a{padding:5px;text-decoration:none;-webkit-justify-content:flex-start;-ms-flex-pack:start;justify-content:flex-start;font-size:1rem}.ai1wm-folder-container ul li a>i{margin:0 5px}.ai1wm-folder-container ul li a>i.ai1wm-icon-arrow-down{margin-right:10px;display:none}.ai1wm-folder-container ul li a:hover{background-color:rgba(0,0,0,.1)}.ai1wm-folder-container ul li a:hover i.ai1wm-icon-arrow-down{display:block}.ai1wm-backups tbody td.ai1wm-backup-actions>div .ai1wm-backup-dots-menu>ul>li>a>i,.ai1wm-folder-container ul li .ai1wm-archive-browser-filename{margin-left:10px}.ai1wm-folder-container ul li .ai1wm-archive-browser-filesize{color:#718096;font-size:.75rem;white-space:nowrap}section.ai1wm-decrypt-backup-section,section.ai1wm-decrypt-backup-section .ai1wm-input-password-container{display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}section.ai1wm-decrypt-backup-section{-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:flex-end;-ms-flex-align:end;align-items:flex-end;gap:16px;box-sizing:border-box;padding:16px}section.ai1wm-decrypt-backup-section h1{font-size:20px;-webkit-align-self:center;-ms-flex-item-align:center;align-self:center}section.ai1wm-decrypt-backup-section p{-webkit-align-self:center;-ms-flex-item-align:center;align-self:center;padding:0;margin:0}section.ai1wm-decrypt-backup-section form{-webkit-align-items:flex-start;-ms-flex-align:start;align-items:flex-start;padding:0;gap:8px}section.ai1wm-decrypt-backup-section .ai1wm-input-password-container{-webkit-align-items:center;-ms-flex-align:center;align-items:center;position:relative;width:100%}section.ai1wm-decrypt-backup-section .ai1wm-input-password-container input{width:100%}section.ai1wm-decrypt-backup-section .ai1wm-input-password-container .ai1wm-toggle-password-visibility{font-size:16px;text-decoration:none;color:#3c434a;position:absolute;left:10px;top:8px;outline:0;box-shadow:none}section.ai1wm-decrypt-backup-section .ai1wm-input-password-container .ai1wm-error-message{display:none}section.ai1wm-decrypt-backup-section .ai1wm-input-password-container.ai1wm-has-error input{border-color:#e74c3c}section.ai1wm-decrypt-backup-section .ai1wm-input-password-container.ai1wm-has-error .ai1wm-error-message{color:#e74c3c;display:block;font-weight:400;text-align:right;width:100%}section.ai1wm-decrypt-backup-section .ai1wm-backup-decrypt-button-container,section.ai1wm-decrypt-backup-section form{display:-webkit-flex;display:-ms-flexbox;display:flex;width:75%;-webkit-align-self:center;-ms-flex-item-align:center;align-self:center}section.ai1wm-decrypt-backup-section .ai1wm-backup-decrypt-button-container{-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;gap:16px;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end}#ai1wm-backups-list{width:100%;margin-top:1.95rem;overflow-x:auto}div#ai1wm-backups-list::-webkit-scrollbar{-webkit-appearance:none;height:4px}div#ai1wm-backups-list::-webkit-scrollbar-thumb{border-radius:4px;background-color:rgba(77,77,77,.5);-webkit-box-shadow:0 0 1px rgba(255,255,255,.5)}.ai1wm-backups{width:100%;margin:1em 0;padding:0;border-collapse:collapse}.ai1wm-backups .ai1wm-column-name{text-align:right;white-space:nowrap}.ai1wm-backups .ai1wm-column-date,.ai1wm-backups .ai1wm-column-size{text-align:center;white-space:nowrap}.ai1wm-backups .ai1wm-column-actions{text-align:left;white-space:nowrap}.ai1wm-backups thead th{padding:4px 6px;text-align:right;font-size:1.2em}.ai1wm-backups tbody tr{border-top:1px solid #ccc;border-bottom:1px solid #ccc}.ai1wm-backups tbody tr:hover{background:rgba(0,0,0,.1)}.ai1wm-backups tbody tr:hover .ai1wm-backup-label-description:not(.ai1wm-backup-label-selected){display:inline}.ai1wm-backups tbody td{padding:4px 6px;box-sizing:border-box;line-height:24px}.ai1wm-backups tbody td.ai1wm-backup-actions{text-align:left;width:50px}.ai1wm-backups tbody td.ai1wm-backup-actions a:focus{outline-style:none;box-shadow:none;border-color:transparent}.ai1wm-backups tbody td.ai1wm-backup-actions>div{display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end}.ai1wm-backups tbody td.ai1wm-backup-actions>div .ai1wm-backup-dots{border-radius:100%;margin:0;padding:10px;color:gray;font-size:1.5em;text-decoration:none;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-content:center;-ms-flex-line-pack:center;align-content:center}.ai1wm-backups tbody td.ai1wm-backup-actions>div .ai1wm-backup-dots:focus,.ai1wm-backups tbody td.ai1wm-backup-actions>div .ai1wm-backup-dots:hover{background-color:#f0f0f1}.ai1wm-backups tbody td.ai1wm-backup-actions>div .ai1wm-backup-dots-menu{position:absolute;background:100% 0;display:none;-webkit-transform:translate(35px,30px);transform:translate(35px,30px);left:0}.ai1wm-backups tbody td.ai1wm-backup-actions>div .ai1wm-backup-dots-menu>ul{position:relative;z-index:10;margin:0;background:#f9f9f9;border-radius:5px;box-shadow:rgba(0,0,0,.16) 0 3px 6px,rgba(0,0,0,.23) 0 3px 6px}.ai1wm-backups tbody td.ai1wm-backup-actions>div .ai1wm-backup-dots-menu>ul>li{display:block;padding:0;margin:0}.ai1wm-backups tbody td.ai1wm-backup-actions>div .ai1wm-backup-dots-menu>ul>li.divider{border-top:1px solid rgba(0,0,0,.1)}.ai1wm-backups tbody td.ai1wm-backup-actions>div .ai1wm-backup-dots-menu>ul>li:first-child>a{border-top-right-radius:5px;border-top-left-radius:5px}.ai1wm-backups tbody td.ai1wm-backup-actions>div .ai1wm-backup-dots-menu>ul>li:last-child>a{border-bottom-right-radius:5px;border-bottom-left-radius:5px}.ai1wm-backups tbody td.ai1wm-backup-actions>div .ai1wm-backup-dots-menu>ul>li.ai1wm-disabled{opacity:.5}.ai1wm-backups tbody td.ai1wm-backup-actions>div .ai1wm-backup-dots-menu>ul>li.ai1wm-disabled>a{cursor:not-allowed}.ai1wm-backups tbody td.ai1wm-backup-actions>div .ai1wm-backup-dots-menu>ul>li>a{text-decoration:none;color:#23282d;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-ms-flex-align:center;align-items:center;padding:.5em 2em}.ai1wm-backups tbody td.ai1wm-backup-actions>div .ai1wm-backup-dots-menu>ul>li>a:focus,.ai1wm-backups tbody td.ai1wm-backup-actions>div .ai1wm-backup-dots-menu>ul>li>a:hover{background-color:rgba(0,0,0,.1)}.ai1wm-backups .spinner{visibility:visible;margin:0}.ai1wm-backups .ai1wm-backups-list-spinner{text-align:center;line-height:37px}.ai1wm-backups .ai1wm-backups-list-spinner .spinner{float:none;visibility:visible;margin:0 0 0 6px;position:relative;top:-2px}.ai1wm-backups .ai1wm-backup-label-text{cursor:pointer}.ai1wm-backups .ai1wm-backup-label-text .ai1wm-backup-label-colored{display:inline-block;padding:.25em .4em;font-size:85%;font-weight:400;line-height:1;text-align:center;vertical-align:baseline;border-radius:.25rem;color:#000;background-color:#fad390;cursor:pointer;word-wrap:break-word;word-break:break-all;white-space:normal}.ai1wm-backups .ai1wm-backup-label-description:hover .ai1wm-icon-edit-pencil,.ai1wm-backups .ai1wm-backup-label-text:hover .ai1wm-icon-edit-pencil{display:inline}.ai1wm-backups .ai1wm-backup-label-description{font-size:12px;cursor:pointer;font-style:italic}.ai1wm-backups .ai1wm-backup-label-holder .spinner{float:none}.ai1wm-backups .ai1wm-backup-label-holder .ai1wm-backup-label-field{border-radius:5px;border:1px solid #ccc}.ai1wm-backups-empty,.ai1wm-backups-empty-spinner-holder{line-height:2em}.ai1wm-backups-empty-spinner-holder .spinner{float:none;visibility:visible;margin:0 0 0 6px;position:relative;top:-2px}(window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[18],[,,function(e,t){e.exports=googlesitekit.i18n},function(e,t){e.exports=googlesitekit.data},,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return r})),n.d(t,"e",(function(){return i})),n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return c})),n.d(t,"z",(function(){return s})),n.d(t,"E",(function(){return l})),n.d(t,"G",(function(){return u})),n.d(t,"C",(function(){return d})),n.d(t,"D",(function(){return g})),n.d(t,"B",(function(){return m})),n.d(t,"A",(function(){return f})),n.d(t,"F",(function(){return p})),n.d(t,"f",(function(){return b})),n.d(t,"g",(function(){return v})),n.d(t,"h",(function(){return h})),n.d(t,"j",(function(){return y})),n.d(t,"l",(function(){return O})),n.d(t,"m",(function(){return _})),n.d(t,"n",(function(){return E})),n.d(t,"o",(function(){return k})),n.d(t,"q",(function(){return S})),n.d(t,"r",(function(){return j})),n.d(t,"s",(function(){return T})),n.d(t,"t",(function(){return A})),n.d(t,"v",(function(){return N})),n.d(t,"k",(function(){return C})),n.d(t,"x",(function(){return w})),n.d(t,"u",(function(){return I})),n.d(t,"y",(function(){return R})),n.d(t,"w",(function(){return M})),n.d(t,"i",(function(){return D})),n.d(t,"p",(function(){return x})),n.d(t,"I",(function(){return L})),n.d(t,"H",(function(){return P}));var a="core/user",r="connected_url_mismatch",i="__global",o="temporary_persist_permission_error",c="adblocker_active",s="googlesitekit_authenticate",l="googlesitekit_setup",u="googlesitekit_view_dashboard",d="googlesitekit_manage_options",g="googlesitekit_read_shared_module_data",m="googlesitekit_manage_module_sharing_options",f="googlesitekit_delegate_module_sharing_management",p="googlesitekit_update_plugins",b="kmAnalyticsAdSenseTopEarningContent",v="kmAnalyticsEngagedTrafficSource",h="kmAnalyticsLeastEngagingPages",y="kmAnalyticsNewVisitors",O="kmAnalyticsPopularAuthors",_="kmAnalyticsPopularContent",E="kmAnalyticsPopularProducts",k="kmAnalyticsReturningVisitors",S="kmAnalyticsTopCities",j="kmAnalyticsTopConvertingTrafficSource",T="kmAnalyticsTopCountries",A="kmAnalyticsTopRecentTrendingPages",N="kmAnalyticsTopTrafficSource",C="kmAnalyticsPagesPerVisit",w="kmAnalyticsVisitLength",I="kmAnalyticsTopReturningVisitorPages",R="kmSearchConsolePopularKeywords",M="kmAnalyticsVisitsPerVisitor",D="kmAnalyticsMostEngagingPages",x="kmAnalyticsTopCategories",L=[b,v,h,y,O,_,E,k,x,S,j,T,A,N,C,w,I,M,D,x],P=[].concat(L,[R])},function(e,t,n){"use strict";n.d(t,"p",(function(){return a})),n.d(t,"a",(function(){return r})),n.d(t,"q",(function(){return i})),n.d(t,"x",(function(){return o})),n.d(t,"m",(function(){return c})),n.d(t,"o",(function(){return s})),n.d(t,"f",(function(){return l})),n.d(t,"n",(function(){return u})),n.d(t,"i",(function(){return d})),n.d(t,"h",(function(){return g})),n.d(t,"j",(function(){return m})),n.d(t,"k",(function(){return f})),n.d(t,"l",(function(){return p})),n.d(t,"g",(function(){return b})),n.d(t,"v",(function(){return v})),n.d(t,"u",(function(){return h})),n.d(t,"w",(function(){return y})),n.d(t,"s",(function(){return O})),n.d(t,"t",(function(){return _})),n.d(t,"e",(function(){return E})),n.d(t,"r",(function(){return k})),n.d(t,"b",(function(){return S})),n.d(t,"c",(function(){return j})),n.d(t,"d",(function(){return T}));var a="modules/analytics-4",r="account_create",i="property_create",o="webdatastream_create",c="analyticsSetup",s=10,l=1,u="https://www.googleapis.com/auth/tagmanager.readonly",d="enhanced-measurement-form",g="enhanced-measurement-enabled",m="enhanced-measurement-should-dismiss-activation-banner",f="analyticsAccountCreate",p="analyticsCustomDimensionsCreate",b="https://www.googleapis.com/auth/analytics.edit",v="dashboardAllTrafficWidgetDimensionName",h="dashboardAllTrafficWidgetDimensionColor",y="dashboardAllTrafficWidgetDimensionValue",O="dashboardAllTrafficWidgetActiveRowIndex",_="dashboardAllTrafficWidgetLoaded",E={googlesitekit_post_date:{parameterName:"googlesitekit_post_date",displayName:"WordPress Post Date",description:"Created by Site Kit: Date when a post was published",scope:"EVENT"},googlesitekit_post_author:{parameterName:"googlesitekit_post_author",displayName:"WordPress Post Author",description:"Created by Site Kit: WordPress name of the post author",scope:"EVENT"},googlesitekit_post_categories:{parameterName:"googlesitekit_post_categories",displayName:"WordPress Post Categories",description:"Created by Site Kit: Names of categories assigned to a post",scope:"EVENT"},googlesitekit_post_type:{parameterName:"googlesitekit_post_type",displayName:"WordPress Post Type",description:"Created by Site Kit: Content type of a post",scope:"EVENT"}},k={"new-visitors":{description:"People who visited the site for the first time",displayName:"New visitors",membershipDurationDays:-1,filterClauses:[{clauseType:"INCLUDE",simpleFilter:{scope:"AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS",filterExpression:{andGroup:{filterExpressions:[{orGroup:{filterExpressions:[{dimensionOrMetricFilter:{fieldName:"newVsReturning",stringFilter:{matchType:"EXACT",value:"new"}}}]}},{orGroup:{filterExpressions:[{notExpression:{dimensionOrMetricFilter:{fieldName:"groupId",stringFilter:{matchType:"EXACT",value:"created_by_googlesitekit:new_visitors"}}}}]}}]}}}}]},"returning-visitors":{description:"People who have visited your site at least once before",displayName:"Returning visitors",membershipDurationDays:-1,filterClauses:[{clauseType:"INCLUDE",simpleFilter:{scope:"AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS",filterExpression:{andGroup:{filterExpressions:[{orGroup:{filterExpressions:[{dimensionOrMetricFilter:{fieldName:"newVsReturning",stringFilter:{matchType:"EXACT",value:"returning"}}}]}},{orGroup:{filterExpressions:[{notExpression:{dimensionOrMetricFilter:{fieldName:"groupId",stringFilter:{matchType:"EXACT",value:"created_by_googlesitekit:returning_visitors"}}}}]}}]}}}}]}},S="audiencePermissionsSetup",j="audienceTileCustomDimensionCreate",T={USER_AUDIENCE:0,SITE_KIT_AUDIENCE:1,DEFAULT_AUDIENCE:2}},function(e,t,n){"use strict";n.d(t,"J",(function(){return r.b})),n.d(t,"K",(function(){return r.c})),n.d(t,"G",(function(){return i.a})),n.d(t,"L",(function(){return i.b})),n.d(t,"I",(function(){return u})),n.d(t,"n",(function(){return d.a})),n.d(t,"C",(function(){return d.d})),n.d(t,"D",(function(){return d.e})),n.d(t,"z",(function(){return d.c})),n.d(t,"s",(function(){return d.b})),n.d(t,"A",(function(){return p})),n.d(t,"k",(function(){return b})),n.d(t,"j",(function(){return v})),n.d(t,"d",(function(){return k})),n.d(t,"c",(function(){return S})),n.d(t,"e",(function(){return j})),n.d(t,"b",(function(){return T})),n.d(t,"a",(function(){return A})),n.d(t,"g",(function(){return N})),n.d(t,"f",(function(){return C})),n.d(t,"o",(function(){return w})),n.d(t,"x",(function(){return I})),n.d(t,"q",(function(){return R})),n.d(t,"H",(function(){return M})),n.d(t,"t",(function(){return D})),n.d(t,"w",(function(){return x})),n.d(t,"l",(function(){return L})),n.d(t,"p",(function(){return P.b})),n.d(t,"i",(function(){return P.a})),n.d(t,"u",(function(){return Z.b})),n.d(t,"r",(function(){return Z.a})),n.d(t,"B",(function(){return Z.c})),n.d(t,"y",(function(){return G})),n.d(t,"v",(function(){return B})),n.d(t,"F",(function(){return z})),n.d(t,"E",(function(){return V.a})),n.d(t,"h",(function(){return W})),n.d(t,"M",(function(){return H})),n.d(t,"m",(function(){return q}));var a=n(12),r=n(36),i=n(72),o=n(31),c=n.n(o),s=n(88),l=n.n(s),u=function(e){return l()(JSON.stringify(function e(t){var n={};return Object.keys(t).sort().forEach((function(a){var r=t[a];r&&"object"===c()(r)&&!Array.isArray(r)&&(r=e(r)),n[a]=r})),n}(e)))};n(91);var d=n(71);function g(e){return e.replace(new RegExp("\\[([^\\]]+)\\]\\((https?://[^/]+\\.\\w+/?.*?)\\)","gi"),'$1')}function m(e){return"
".concat(e.replace(/\n{2,}/g,"
"),"
")}function f(e){return e.replace(/\n/gi," ")}function p(e){for(var t=e,n=0,a=[g,m,f];n0&&void 0!==arguments[0]?arguments[0]:"";if(!Object(a.isString)(e))return!1;var t=e.split("-");if(3!==t.length)return!1;var n=new Date(e);return Object(a.isDate)(n)&&!isNaN(n)}function R(e){_()(Object(a.isDate)(e)&&!isNaN(e),"Date param must construct to a valid date instance or be a valid date instance itself.");var t="".concat(e.getMonth()+1),n="".concat(e.getDate());return[e.getFullYear(),t.length<2?"0".concat(t):t,n.length<2?"0".concat(n):n].join("-")}function M(e){_()(I(e),k);var t=e.split("-"),n=y()(t,3),a=n[0],r=n[1],i=n[2];return new Date(a,r-1,i)}function D(e,t){return R(L(e,t*A))}function x(e){var t=e.split("-");return 3===t.length&&"last"===t[0]&&!Number.isNaN(t[1])&&!Number.isNaN(parseFloat(t[1]))&&"days"===t[2]}function L(e,t){_()(I(e)||Object(a.isDate)(e)&&!isNaN(e),k);var n=I(e)?Date.parse(e):e.getTime();return new Date(n-1e3*t)}var P=n(92),Z=n(76);function G(e){var t=parseFloat(e)||0;return!!Number.isInteger(t)&&t>0}function B(e){if("number"==typeof e)return!0;var t=(e||"").toString();return!!t&&!isNaN(t)}var U=n(28),F=n.n(U),z=function(e){return Array.isArray(e)?F()(e).sort():e},V=n(83);function W(e,t){var n=function(e){return"0"===e||0===e};if(n(e)&&n(t))return 0;if(n(e)||Number.isNaN(e))return null;var a=(t-e)/e;return Number.isNaN(a)||!Number.isFinite(a)?null:a}var H=function(e){try{return JSON.parse(e)&&!!e}catch(e){return!1}},q=function(e){if(!e)return"";var t=e.replace(/(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/(\\)/g,"");return Object(a.unescape)(t)}},,function(e,t){e.exports=googlesitekit.components},,,function(e,t,n){"use strict";n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i}));var a="core/site",r="primary",i="secondary"},,,function(e,t,n){"use strict";var a=n(256);n.d(t,"i",(function(){return a.a}));var r=n(327);n.d(t,"f",(function(){return r.a}));var i=n(328);n.d(t,"h",(function(){return i.a}));var o=n(329);n.d(t,"j",(function(){return o.a}));var c=n(326);n.d(t,"g",(function(){return c.a}));var s=n(101),l=n.n(s);n.d(t,"b",(function(){return l.a})),n.d(t,"c",(function(){return s.DialogContent})),n.d(t,"d",(function(){return s.DialogFooter}));var u=n(112);n.d(t,"a",(function(){return u.a})),n.d(t,"e",(function(){return u.b})),n.d(t,"k",(function(){return u.c}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return r}));var a="core/modules",r="insufficient_module_dependencies"},function(e,t,n){"use strict";var a=n(0),r=n(62);t.a=function(){return Object(a.useContext)(r.b)}},function(e,t,n){"use strict";(function(e){var a=n(21),r=n.n(a),i=n(22),o=n.n(i),c=n(13),s=n.n(c),l=n(1),u=n.n(l),d=n(141),g=n(0),m=n(2),f=n(124),p=n(125),b=n(126),v=n(113),h=n(75),y=Object(g.forwardRef)((function(t,n){var a,i=t["aria-label"],c=t.secondary,l=void 0!==c&&c,u=t.arrow,g=void 0!==u&&u,y=t.back,O=void 0!==y&&y,_=t.caps,E=void 0!==_&&_,k=t.children,S=t.className,j=void 0===S?"":S,T=t.danger,A=void 0!==T&&T,N=t.disabled,C=void 0!==N&&N,w=t.external,I=void 0!==w&&w,R=t.hideExternalIndicator,M=void 0!==R&&R,D=t.href,x=void 0===D?"":D,L=t.inverse,P=void 0!==L&&L,Z=t.noFlex,G=void 0!==Z&&Z,B=t.onClick,U=t.small,F=void 0!==U&&U,z=t.standalone,V=void 0!==z&&z,W=t.linkButton,H=void 0!==W&&W,q=t.to,K=t.leadingIcon,Y=t.trailingIcon,J=o()(t,["aria-label","secondary","arrow","back","caps","children","className","danger","disabled","external","hideExternalIndicator","href","inverse","noFlex","onClick","small","standalone","linkButton","to","leadingIcon","trailingIcon"]),$=x||q||!B?q?"ROUTER_LINK":I?"EXTERNAL_LINK":"LINK":C?"BUTTON_DISABLED":"BUTTON",X="BUTTON"===$||"BUTTON_DISABLED"===$?"button":"ROUTER_LINK"===$?d.b:"a",Q=("EXTERNAL_LINK"===$&&(a=Object(m._x)("(opens in a new tab)","screen reader text","google-site-kit")),"BUTTON_DISABLED"===$&&(a=Object(m._x)("(disabled)","screen reader text","google-site-kit")),a?i?"".concat(i," ").concat(a):"string"==typeof k?"".concat(k," ").concat(a):void 0:i),ee=K,te=Y;return O&&(ee=e.createElement(b.a,{width:14,height:14})),I&&!M&&(te=e.createElement(v.a,{width:14,height:14})),g&&!P&&(te=e.createElement(f.a,{width:14,height:14})),g&&P&&(te=e.createElement(p.a,{width:14,height:14})),e.createElement(X,r()({"aria-label":Q,className:s()("googlesitekit-cta-link",j,{"googlesitekit-cta-link--secondary":l,"googlesitekit-cta-link--inverse":P,"googlesitekit-cta-link--small":F,"googlesitekit-cta-link--caps":E,"googlesitekit-cta-link--danger":A,"googlesitekit-cta-link--disabled":C,"googlesitekit-cta-link--standalone":V,"googlesitekit-cta-link--link-button":H,"googlesitekit-cta-link--no-flex":!!G}),disabled:C,href:"LINK"!==$&&"EXTERNAL_LINK"!==$||C?void 0:x,onClick:B,rel:"EXTERNAL_LINK"===$?"noopener noreferrer":void 0,ref:n,target:"EXTERNAL_LINK"===$?"_blank":void 0,to:q},J),!!ee&&e.createElement(h.a,{marginRight:5},ee),e.createElement("span",{className:"googlesitekit-cta-link__contents"},k),!!te&&e.createElement(h.a,{marginLeft:5},te))}));y.propTypes={arrow:u.a.bool,back:u.a.bool,caps:u.a.bool,children:u.a.node,className:u.a.string,danger:u.a.bool,disabled:u.a.bool,external:u.a.bool,hideExternalIndicator:u.a.bool,href:u.a.string,inverse:u.a.bool,leadingIcon:u.a.node,linkButton:u.a.bool,noFlex:u.a.bool,onClick:u.a.func,small:u.a.bool,standalone:u.a.bool,to:u.a.string,trailingIcon:u.a.node},t.a=y}).call(this,n(4))},,,function(e,t,n){"use strict";n.d(t,"m",(function(){return a})),n.d(t,"k",(function(){return r})),n.d(t,"n",(function(){return i})),n.d(t,"l",(function(){return o})),n.d(t,"r",(function(){return c})),n.d(t,"g",(function(){return s})),n.d(t,"q",(function(){return l})),n.d(t,"h",(function(){return u})),n.d(t,"i",(function(){return d})),n.d(t,"p",(function(){return g})),n.d(t,"j",(function(){return m})),n.d(t,"s",(function(){return f})),n.d(t,"t",(function(){return p})),n.d(t,"o",(function(){return b})),n.d(t,"b",(function(){return v})),n.d(t,"e",(function(){return h})),n.d(t,"a",(function(){return y})),n.d(t,"d",(function(){return O})),n.d(t,"c",(function(){return _})),n.d(t,"f",(function(){return E}));var a="mainDashboard",r="entityDashboard",i="mainDashboardViewOnly",o="entityDashboardViewOnly",c="userInput",s="activation",l="splash",u="adminBar",d="adminBarViewOnly",g="settings",m="adBlockingRecovery",f="wpDashboard",p="wpDashboardViewOnly",b="moduleSetup",v="key-metrics",h="traffic",y="content",O="speed",_="monetization",E=[a,r,i,o,c,l,g,b]},function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return r}));var a="core/ui",r="activeContextID"},function(e,t,n){"use strict";n.d(t,"d",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"b",(function(){return c})),n.d(t,"e",(function(){return s}));var a=n(89),r="xlarge",i="desktop",o="tablet",c="small";function s(){var e=Object(a.a)();return e>1280?r:e>960?i:e>600?o:c}},,function(e,t,n){"use strict";n.d(t,"m",(function(){return a})),n.d(t,"j",(function(){return r})),n.d(t,"g",(function(){return i})),n.d(t,"f",(function(){return o})),n.d(t,"h",(function(){return c})),n.d(t,"e",(function(){return s})),n.d(t,"i",(function(){return l})),n.d(t,"d",(function(){return u})),n.d(t,"a",(function(){return d})),n.d(t,"c",(function(){return g})),n.d(t,"b",(function(){return m})),n.d(t,"k",(function(){return f})),n.d(t,"l",(function(){return p}));var a="modules/adsense",r=1,i="READY",o="NEEDS_ATTENTION",c="REQUIRES_REVIEW",s="GETTING_READY",l="background-submit-suspended",u="ad-blocking-recovery-setup-success",d="adsenseAdBlockingFormSettings",g="googlesitekit-ad-blocking-recovery-setup-create-message-cta-clicked",m="ad-blocking-recovery-notification",f={TAG_PLACED:"tag-placed",SETUP_CONFIRMED:"setup-confirmed"},p={PLACE_TAGS:0,CREATE_MESSAGE:1,COMPLETE:2}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var a="core/forms"},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var a="core/location"},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var a=n(23),r=n(19);function i(){var e=Object(r.a)();return e===a.n||e===a.l||e===a.t||e===a.i}},function(e,t,n){"use strict";n.d(t,"g",(function(){return a})),n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i})),n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return c})),n.d(t,"f",(function(){return s})),n.d(t,"h",(function(){return l})),n.d(t,"e",(function(){return u})),n.d(t,"i",(function(){return d}));var a="modules/tagmanager",r="account_create",i="container_create",o="web",c="amp",s="tagmanagerSetup",l="https://www.googleapis.com/auth/tagmanager.readonly",u="https://www.googleapis.com/auth/tagmanager.edit.containers",d="SETUP_WITH_ANALYTICS"},function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return r}));var a="_googlesitekitDataLayer",r="data-googlesitekit-gtag"},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return O})),n.d(t,"b",(function(){return h})),n.d(t,"c",(function(){return y}));var a=n(93),r=e._googlesitekitTrackingData||{},i=r.activeModules,o=void 0===i?[]:i,c=r.isSiteKitScreen,s=r.trackingEnabled,l=r.trackingID,u=r.referenceSiteURL,d=r.userIDHash,g=r.isAuthenticated,m={activeModules:o,trackingEnabled:s,trackingID:l,trackingID_GA4:"G-EQDN3BWDSD",referenceSiteURL:u,userIDHash:d,isSiteKitScreen:c,userRoles:r.userRoles,isAuthenticated:g,pluginVersion:"1.133.0"},f=Object(a.a)(m),p=f.enableTracking,b=f.disableTracking,v=(f.isTrackingEnabled,f.initializeSnippet),h=f.trackEvent,y=f.trackEventOnce;function O(e){e?p():b()}c&&s&&v()}).call(this,n(26))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return d})),n.d(t,"d",(function(){return h})),n.d(t,"f",(function(){return y})),n.d(t,"c",(function(){return O})),n.d(t,"e",(function(){return _})),n.d(t,"b",(function(){return E}));var a=n(5),r=n.n(a),i=n(16),o=n.n(i),c=(n(28),n(9));function s(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var a=0,r=function(){};return{s:r,n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){c=!0,i=e},f:function(){try{o||null==n.return||n.return()}finally{if(c)throw i}}}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n2&&void 0!==p[2]?p[2]:{},o=i.ttl,s=void 0===o?c.b:o,l=i.timestamp,u=void 0===l?Math.round(Date.now()/1e3):l,d=i.isError,m=void 0!==d&&d,t.next=3,b();case 3:if(!(f=t.sent)){t.next=14;break}return t.prev=5,f.setItem("".concat(g).concat(n),JSON.stringify({timestamp:u,ttl:s,value:a,isError:m})),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(5),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 14:return t.abrupt("return",!1);case 15:case"end":return t.stop()}}),t,null,[[5,10]])})));return function(e,n){return t.apply(this,arguments)}}(),O=function(){var t=o()(r.a.mark((function t(n){var a,i;return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,b();case 2:if(!(a=t.sent)){t.next=14;break}return t.prev=4,i=n.startsWith(d)?n:"".concat(g).concat(n),a.removeItem(i),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(4),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 14:return t.abrupt("return",!1);case 15:case"end":return t.stop()}}),t,null,[[4,10]])})));return function(e){return t.apply(this,arguments)}}(),_=function(){var t=o()(r.a.mark((function t(){var n,a,i,o;return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,b();case 2:if(!(n=t.sent)){t.next=14;break}for(t.prev=4,a=[],i=0;i1?n-1:0),r=1;r1&&void 0!==arguments[1]?arguments[1]:i;return t instanceof Set&&t.has(e)}}).call(this,n(26))},function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return BannerNotification}));var a=n(21),r=n.n(a),i=n(6),o=n.n(i),c=n(5),s=n.n(c),l=n(16),u=n.n(l),d=n(15),g=n.n(d),m=n(1),f=n.n(m),p=n(13),b=n.n(p),v=n(227),h=n(234),y=n(85),O=n(89),_=n(0),E=n(104),k=n(3),S=n(17),j=n(81),T=n(37),A=n(25),N=n(183),C=n(184),w=n(185),I=n(190),R=n(192),M=n(69),D=n(103),x=n(122),L=n(32),P=n(193);function BannerNotification(t){var n,a=t.badgeLabel,i=t.children,c=t.className,l=void 0===c?"":c,d=t.ctaLabel,m=t.ctaLink,f=t.ctaTarget,p=t.description,Z=t.dismiss,G=t.dismissExpires,B=void 0===G?0:G,U=t.format,F=void 0===U?"":U,z=t.id,V=t.isDismissible,W=void 0===V||V,H=t.learnMoreDescription,q=t.learnMoreLabel,K=t.learnMoreURL,Y=t.learnMoreTarget,J=void 0===Y?M.a.EXTERNAL:Y,$=t.logo,X=t.module,Q=t.moduleName,ee=t.onCTAClick,te=t.onView,ne=t.onDismiss,ae=t.onLearnMoreClick,re=t.showOnce,ie=void 0!==re&&re,oe=t.SmallImageSVG,ce=t.title,se=t.type,le=t.WinImageSVG,ue=t.showSmallWinImage,de=void 0===ue||ue,ge=t.smallWinImageSVGWidth,me=void 0===ge?75:ge,fe=t.smallWinImageSVGHeight,pe=void 0===fe?75:fe,be=t.mediumWinImageSVGWidth,ve=void 0===be?105:be,he=t.mediumWinImageSVGHeight,ye=void 0===he?105:he,Oe=t.rounded,_e=void 0!==Oe&&Oe,Ee=t.footer,ke=t.secondaryPane,Se=t.ctaComponent,je=Object(_.useState)(!1),Te=g()(je,2),Ae=Te[0],Ne=Te[1],Ce=Object(_.useState)(!1),we=g()(Ce,2),Ie=we[0],Re=we[1],Me="notification::dismissed::".concat(z),De=function(){return Object(T.f)(Me,new Date,{ttl:null})},xe=Object(O.a)(),Le=Object(A.e)(),Pe=Object(v.a)(),Ze=Object(_.useState)(!1),Ge=g()(Ze,2),Be=Ge[0],Ue=Ge[1],Fe=Object(_.useRef)(),ze=Object(h.a)(Fe,{rootMargin:"".concat(-Object(x.a)(Object(j.c)(Le)),"px 0px 0px 0px"),threshold:0});Object(_.useEffect)((function(){!Be&&(null==ze?void 0:ze.isIntersecting)&&("function"==typeof te&&te(),Ue(!0))}),[z,te,Be,ze]);var Ve=xe>=600;Object(y.a)(u()(s.a.mark((function e(){var t,n;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(B>0)){e.next=3;break}return e.next=3,$e();case 3:if(!W){e.next=9;break}return e.next=6,Object(T.d)(Me);case 6:t=e.sent,n=t.cacheHit,Re(n);case 9:if(!ie){e.next=12;break}return e.next=12,De();case 12:case"end":return e.stop()}}),e)}))));var We=function(){var e=u()(s.a.mark((function e(t){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.persist(),t.preventDefault(),!ne){e.next=5;break}return e.next=5,ne(t);case 5:qe();case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),He=Object(E.a)(m)&&"_blank"!==f,qe=function(){return He||Ne(!0),new Promise((function(e){setTimeout(u()(s.a.mark((function t(){var n;return s.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,De();case 2:Pe()&&Re(!0),n=new Event("notificationDismissed"),document.dispatchEvent(n),e();case 6:case"end":return t.stop()}}),t)}))),350)}))},Ke=Object(k.useSelect)((function(e){return!!m&&e(L.a).isNavigatingTo(m)})),Ye=Object(k.useDispatch)(L.a).navigateTo,Je=function(){var e=u()(s.a.mark((function e(t){var n,a,r;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.persist(),He&&!t.defaultPrevented&&t.preventDefault(),n=!0,!ee){e.next=12;break}return e.next=6,ee(t);case 6:if(e.t0=e.sent,e.t0){e.next=9;break}e.t0={};case 9:a=e.t0,r=a.dismissOnCTAClick,n=void 0===r||r;case 12:if(!W||!n){e.next=15;break}return e.next=15,qe();case 15:He&&Ye(m);case 16:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),$e=function(){var e=u()(s.a.mark((function e(){var t,n,a;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(T.d)(Me);case 2:if(t=e.sent,!(n=t.value)){e.next=10;break}if((a=new Date(n)).setSeconds(a.getSeconds()+parseInt(B,10)),!(a0}function h(e){return"string"==typeof e&&/^G-[a-zA-Z0-9]+$/.test(e)}function y(e){return"string"==typeof e&&/^(G|GT|AW)-[a-zA-Z0-9]+$/.test(e)}function O(e){r()(Object(i.isPlainObject)(e),"options for Analytics 4 report must be an object."),r()(Object(s.a)(e),"Either date range or start/end dates must be provided for Analytics 4 report.");var t=Object(l.a)(e),n=t.metrics,a=t.dimensions,o=t.dimensionFilters,c=t.metricFilters,d=t.orderby;r()(n.length,"Requests must specify at least one metric for an Analytics 4 report."),r()(Object(u.d)(n),'metrics for an Analytics 4 report must be either a string, an array of strings, an object, an array of objects, or a mix of strings and objects. Objects must have a "name" property. Metric names must match the expression ^[a-zA-Z0-9_]+$.'),a&&r()(Object(u.b)(a),'dimensions for an Analytics 4 report must be either a string, an array of strings, an object, an array of objects, or a mix of strings and objects. Objects must have a "name" property.'),o&&r()(Object(u.a)(o),"dimensionFilters for an Analytics 4 report must be a map of dimension names as keys and dimension values as values."),c&&r()(Object(u.c)(c),"metricFilters for an Analytics 4 report must be a map of metric names as keys and filter value(s) as numeric fields, depending on the filterType."),d&&r()(Object(u.e)(d),'orderby for an Analytics 4 report must be an array of OrderBy objects where each object should have either a "metric" or "dimension" property, and an optional "desc" property.')}function _(e){r()(Object(i.isPlainObject)(e),"options for Analytics 4 pivot report must be an object."),r()(Object(s.a)(e),"Start/end dates must be provided for Analytics 4 pivot report.");var t=Object(l.a)(e),n=t.metrics,a=t.dimensions,o=t.dimensionFilters,c=t.metricFilters,g=t.pivots,m=t.orderby,f=t.limit;r()(n.length,"Requests must specify at least one metric for an Analytics 4 pivot report."),r()(Object(u.d)(n),'metrics for an Analytics 4 pivot report must be either a string, an array of strings, an object, an array of objects, or a mix of strings and objects. Objects must have a "name" property. Metric names must match the expression ^[a-zA-Z0-9_]+$.'),r()(Object(d.a)(g),'pivots for an Analytics 4 pivot report must be an array of objects. Each object must have a "fieldNames" property and a "limit".'),m&&r()(Array.isArray(m),"orderby for an Analytics 4 pivot report must be passed within a pivot."),f&&r()("number"==typeof f,"limit for an Analytics 4 pivot report must be passed within a pivot."),a&&r()(Object(u.b)(a),'dimensions for an Analytics 4 pivot report must be either a string, an array of strings, an object, an array of objects, or a mix of strings and objects. Objects must have a "name" property.'),o&&r()(Object(u.a)(o),"dimensionFilters for an Analytics 4 pivot report must be a map of dimension names as keys and dimension values as values."),c&&r()(Object(u.c)(c),"metricFilters for an Analytics 4 pivot report must be a map of metric names as keys and filter value(s) as numeric fields, depending on the filterType.")}function E(e){var t=["displayName","description","membershipDurationDays","eventTrigger","exclusionDurationMode","filterClauses"];r()(Object(i.isPlainObject)(e),"Audience must be an object."),Object.keys(e).forEach((function(e){r()(t.includes(e),'Audience object must contain only valid keys. Invalid key: "'.concat(e,'"'))})),["displayName","description","membershipDurationDays","filterClauses"].forEach((function(t){r()(e[t],'Audience object must contain required keys. Missing key: "'.concat(t,'"'))})),r()(Object(i.isArray)(e.filterClauses),"filterClauses must be an array with AudienceFilterClause objects.")}},,function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return r}));var a="modules/search-console",r=1},function(e,t,n){"use strict";n.d(t,"a",(function(){return T})),n.d(t,"b",(function(){return A})),n.d(t,"c",(function(){return N})),n.d(t,"d",(function(){return w})),n.d(t,"e",(function(){return I})),n.d(t,"g",(function(){return M})),n.d(t,"f",(function(){return D}));var a,r=n(5),i=n.n(r),o=n(28),c=n.n(o),s=n(6),l=n.n(s),u=n(10),d=n.n(u),g=n(61),m=n.n(g),f=n(12),p=n(107);function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function v(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:a,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return r.reduce((function(e,n){return n(e,t)}),e)}},E=h,k=h,S=h,j=function(e){return e},T=function(){for(var e=arguments.length,t=new Array(e),n=0;n=1?n[r]+1:1,n[r]>1&&t.push(r)}return t},w={actions:A,controls:N,reducer:j},I=function(e){return function(t){return R(e(t))}},R=m()((function(e){return Object(f.mapValues)(e,(function(e,t){return function(){var n=e.apply(void 0,arguments);return d()(void 0!==n,"".concat(t,"(...) is not resolved")),n}}))}));function M(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.negate,a=void 0!==n&&n,r=Object(p.b)((function(t){return function(n){var r=!a,i=!!a;try{for(var o=arguments.length,c=new Array(o>1?o-1:0),s=1;s1?a-1:0),i=1;i2&&void 0!==arguments[2]?arguments[2]:[];return l()(e,"error is required."),l()(t,"baseName is required."),l()(n&&Array.isArray(n),"args must be an array."),{type:"RECEIVE_ERROR",payload:{error:e,baseName:t,args:n}}},clearError:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return l()(e,"baseName is required."),l()(t&&Array.isArray(t),"args must be an array."),{type:"CLEAR_ERROR",payload:{baseName:e,args:t}}},clearErrors:function(e){return{type:"CLEAR_ERRORS",payload:{baseName:e}}}};function v(e){l()(e,"storeName must be defined.");var t={getErrorForSelector:function(e,n){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return l()(n,"selectorName is required."),t.getError(e,n,a)},getErrorForAction:function(e,n){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return l()(n,"actionName is required."),t.getError(e,n,a)},getError:function(e,t,n){var a=e.errors;return l()(t,"baseName is required."),a[p(t,n)]},getErrors:function(e){var t=new Set(Object.values(e.errors));return Array.from(t)},getMetaDataForError:function(e,t){var n=Object.keys(e.errors).find((function(n){return e.errors[n]===t}));return n?{baseName:n.substring(0,n.indexOf("::")),args:e.errorArgs[n]}:null},getSelectorDataForError:Object(c.b)((function(t){return function(n,a){var r=t(e).getMetaDataForError(a);if(r){var i=r.baseName,o=r.args;if(!!t(e)[i])return{storeName:e,name:i,args:o}}return null}})),hasErrors:function(e){return t.getErrors(e).length>0}};return{initialState:{errors:{},errorArgs:{}},actions:b,controls:{},reducer:function(e,t){var n=t.type,a=t.payload;switch(n){case"RECEIVE_ERROR":var i=a.baseName,o=a.args,c=a.error,s=p(i,o);return f(f({},e),{},{errors:f(f({},e.errors||{}),{},r()({},s,c)),errorArgs:f(f({},e.errorArgs||{}),{},r()({},s,o))});case"CLEAR_ERROR":var l=a.baseName,u=a.args,d=f({},e),g=p(l,u);return d.errors=f({},e.errors||{}),d.errorArgs=f({},e.errorArgs||{}),delete d.errors[g],delete d.errorArgs[g],d;case"CLEAR_ERRORS":var m=a.baseName,b=f({},e);if(m)for(var v in b.errors=f({},e.errors||{}),b.errorArgs=f({},e.errorArgs||{}),b.errors)(v===m||v.startsWith("".concat(m,"::")))&&(delete b.errors[v],delete b.errorArgs[v]);else b.errors={},b.errorArgs={};return b;default:return e}},resolvers:{},selectors:t}}},function(e,t,n){"use strict";n.d(t,"c",(function(){return p})),n.d(t,"a",(function(){return b})),n.d(t,"b",(function(){return v})),n.d(t,"d",(function(){return y}));var a=n(6),r=n.n(a),i=n(0);function o(){return(o=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{},n=O(e,t),a=n.formatUnit,r=n.formatDecimal;try{return a()}catch(e){return r()}},h=function(e){var t=y(e),n=t.hours,a=t.minutes,r=t.seconds;return r=("0"+r).slice(-2),a=("0"+a).slice(-2),"00"===(n=("0"+n).slice(-2))?"".concat(a,":").concat(r):"".concat(n,":").concat(a,":").concat(r)},y=function(e){return e=parseInt(e,10),Number.isNaN(e)&&(e=0),{hours:Math.floor(e/60/60),minutes:Math.floor(e/60%60),seconds:Math.floor(e%60)}},O=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=y(e),a=n.hours,r=n.minutes,i=n.seconds;return{hours:a,minutes:r,seconds:i,formatUnit:function(){var n=t.unitDisplay,o=b(b({unitDisplay:void 0===n?"short":n},u()(t,["unitDisplay"])),{},{style:"unit"});return 0===e?T(i,b(b({},o),{},{unit:"second"})):Object(f.sprintf)(
/* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */
Object(f._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),i?T(i,b(b({},o),{},{unit:"second"})):"",r?T(r,b(b({},o),{},{unit:"minute"})):"",a?T(a,b(b({},o),{},{unit:"hour"})):"").trim()},formatDecimal:function(){var t=Object(f.sprintf)(// translators: %s: number of seconds with "s" as the abbreviated unit.
Object(f.__)("%ds","google-site-kit"),i);if(0===e)return t;var n=Object(f.sprintf)(// translators: %s: number of minutes with "m" as the abbreviated unit.
Object(f.__)("%dm","google-site-kit"),r),o=Object(f.sprintf)(// translators: %s: number of hours with "h" as the abbreviated unit.
Object(f.__)("%dh","google-site-kit"),a);return Object(f.sprintf)(
/* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */
Object(f._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),i?t:"",r?n:"",a?o:"").trim()}}},_=function(e){return 1e6<=e?Math.round(e/1e5)/10:1e4<=e?Math.round(e/1e3):1e3<=e?Math.round(e/100)/10:e},E=function(e){var t={minimumFractionDigits:1,maximumFractionDigits:1};return 1e6<=e?Object(f.sprintf)(// translators: %s: an abbreviated number in millions.
Object(f.__)("%sM","google-site-kit"),T(_(e),e%10==0?{}:t)):1e4<=e?Object(f.sprintf)(// translators: %s: an abbreviated number in thousands.
Object(f.__)("%sK","google-site-kit"),T(_(e))):1e3<=e?Object(f.sprintf)(// translators: %s: an abbreviated number in thousands.
Object(f.__)("%sK","google-site-kit"),T(_(e),e%10==0?{}:t)):T(e,{signDisplay:"never",maximumFractionDigits:1})};function k(e){var t={};return"%"===e?t={style:"percent",maximumFractionDigits:2}:"s"===e?t={style:"duration",unitDisplay:"narrow"}:e&&"string"==typeof e?t={style:"currency",currency:e}:Object(d.isPlainObject)(e)&&(t=b({},e)),t}function S(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e=Object(d.isFinite)(e)?e:Number(e),Object(d.isFinite)(e)||(console.warn("Invalid number",e,o()(e)),e=0);var n=k(t),a=n.style,r=void 0===a?"metric":a;return"metric"===r?E(e):"duration"===r?v(e,n):"durationISO"===r?h(e):T(e,n)}var j=m()(console.warn),T=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,a=void 0===n?N():n,i=u()(t,["locale"]);try{return new Intl.NumberFormat(a,i).format(e)}catch(t){j("Site Kit numberFormat error: Intl.NumberFormat( ".concat(JSON.stringify(a),", ").concat(JSON.stringify(i)," ).format( ").concat(o()(e)," )"),t.message)}for(var c={currencyDisplay:"narrow",currencySign:"accounting",style:"unit"},s=["signDisplay","compactDisplay"],l={},d=0,g=Object.entries(i);d1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,a=void 0===n?N():n,r=t.style,i=void 0===r?"long":r,o=t.type,c=void 0===o?"conjunction":o;if(Intl.ListFormat){var s=new Intl.ListFormat(a,{style:i,type:c});return s.format(e)}
/* translators: used between list items, there is a space after the comma. */var l=Object(f.__)(", ","google-site-kit");return e.join(l)},N=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e,n=Object(d.get)(t,["_googlesitekitLegacyData","locale"]);if(n){var a=n.match(/^(\w{2})?(_)?(\w{2})/);if(a&&a[0])return a[0].replace(/_/g,"-")}return t.navigator.language}}).call(this,n(26))},function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return c}));var a=n(31),r=n.n(a),i=n(77),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{__html:i.a.sanitize(e,t)}};function c(e){var t,n="object"===r()(e)?e.toString():e;return null==n||null===(t=n.replace)||void 0===t?void 0:t.call(n,/\/+$/,"")}},function(e,t,n){"use strict";(function(e){var a=n(1),r=n.n(a),i=n(104),o=n(2),c=n(9);function ErrorText(t){var n=t.message,a=t.reconnectURL,r=t.noPrefix;if(!n)return null;var s=n;void 0!==r&&r||(s=Object(o.sprintf)(
/* translators: %s: Error message */
Object(o.__)("Error: %s","google-site-kit"),n)),a&&Object(i.a)(a)&&(s=s+" "+Object(o.sprintf)(
/* translators: %s: Reconnect URL */
Object(o.__)('To fix this, redo the plugin setup.',"google-site-kit"),a));return e.createElement("div",{className:"googlesitekit-error-text"},e.createElement("p",{dangerouslySetInnerHTML:Object(c.G)(s,{ALLOWED_TAGS:["a"],ALLOWED_ATTR:["href"]})}))}ErrorText.propTypes={message:r.a.string.isRequired,reconnectURL:r.a.string,noPrefix:r.a.bool},ErrorText.defaultProps={reconnectURL:"",noPrefix:!1},t.a=ErrorText}).call(this,n(4))},,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return IconWrapper}));var a=n(1),r=n.n(a);function IconWrapper(t){var n=t.children,a=t.marginLeft,r=t.marginRight;return e.createElement("span",{className:"googlesitekit-icon-wrapper",style:{marginLeft:a,marginRight:r}},n)}IconWrapper.propTypes={children:r.a.node.isRequired,marginLeft:r.a.number,marginRight:r.a.number}}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"d",(function(){return c}));var a=n(104);function r(e){try{return new URL(e).pathname}catch(e){}return null}function i(e,t){try{return new URL(t,e).href}catch(e){}return("string"==typeof e?e:"")+("string"==typeof t?t:"")}function o(e){return"string"!=typeof e?e:e.replace(/^https?:\/\/(www\.)?/i,"").replace(/\/$/,"")}function c(e,t){if(!Object(a.a)(e))return e;if(e.length<=t)return e;var n=new URL(e),r=e.replace(n.origin,"");if(r.length0,"dateRangeLength must be a positive integer.");var a=-1*n;return{currentRange:e.slice(a),compareRange:e.slice(2*a,a)}}},function(e,t,n){"use strict";(function(e){var a=n(1),r=n.n(a),i=n(13),o=n.n(i),c=n(11),s=n(20);function CTA(t){var n=t.title,a=t.headerText,r=t.headerContent,i=t.description,l=t.ctaLink,u=t.ctaLabel,d=t.ctaLinkExternal,g=t.ctaType,m=t.error,f=t.onClick,p=t["aria-label"],b=t.children;return e.createElement("div",{className:o()("googlesitekit-cta",{"googlesitekit-cta--error":m})},(a||r)&&e.createElement("div",{className:"googlesitekit-cta__header"},a&&e.createElement("h2",{className:"googlesitekit-cta__header_text"},a),r),e.createElement("div",{className:"googlesitekit-cta__body"},n&&e.createElement("h3",{className:"googlesitekit-cta__title"},n),i&&"string"==typeof i&&e.createElement("p",{className:"googlesitekit-cta__description"},i),i&&"string"!=typeof i&&e.createElement("div",{className:"googlesitekit-cta__description"},i),u&&"button"===g&&e.createElement(c.Button,{"aria-label":p,href:l,onClick:f},u),u&&"link"===g&&e.createElement(s.a,{href:l,onClick:f,"aria-label":p,external:d,hideExternalIndicator:d,arrow:!0},u),b))}CTA.propTypes={title:r.a.string.isRequired,headerText:r.a.string,description:r.a.oneOfType([r.a.string,r.a.node]),ctaLink:r.a.string,ctaLinkExternal:r.a.bool,ctaLabel:r.a.string,ctaType:r.a.string,"aria-label":r.a.string,error:r.a.bool,onClick:r.a.func,children:r.a.node,headerContent:r.a.node},CTA.defaultProps={title:"",headerText:"",headerContent:"",description:"",ctaLink:"",ctaLabel:"",ctaType:"link",error:!1,onClick:function(){}},t.a=CTA}).call(this,n(4))},,function(e,t,n){"use strict";function Null(){return null}n.d(t,"a",(function(){return Null}))},,,,function(e,t,n){"use strict";(function(e){var a=n(21),r=n.n(a),i=n(22),o=n.n(i),c=n(13),s=n.n(c),l=n(1),u=n.n(l),d=n(0),g=Object(d.forwardRef)((function(t,n){var a=t.label,i=t.className,c=t.hasLeftSpacing,l=void 0!==c&&c,u=o()(t,["label","className","hasLeftSpacing"]);return e.createElement("span",r()({ref:n},u,{className:s()("googlesitekit-badge",i,{"googlesitekit-badge--has-left-spacing":l})}),a)}));g.displayName="Badge",g.propTypes={label:u.a.string.isRequired,hasLeftSpacing:u.a.bool},t.a=g}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n(49),n(50)}).call(this,n(26))},function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return o}));var a=n(226),r=n(80),i=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Number.isNaN(Number(t)))return"";var i=n.invertColor,o=void 0!==i&&i;return Object(a.a)(e.createElement(r.a,{direction:t>0?"up":"down",invertColor:o}))},o=function(e,t){return e>0&&t>0?e/t-1:e>0?1:t>0?-1:0}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return d}));var a=n(6),r=n.n(a),i=n(12),o=n(94),c=n(95);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function l(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:e,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,r=l(l({},u),t);r.referenceSiteURL&&(r.referenceSiteURL=r.referenceSiteURL.toString().replace(/\/+$/,""));var s=Object(o.a)(r,n),d=Object(c.a)(r,n,s,a),g={},m=function(){for(var e=arguments.length,t=new Array(e),n=0;n2&&void 0!==arguments[2]?arguments[2]:function(){return!0};return"string"==typeof e?n(e):!("object"!==r()(e)||!t(e))||!!Array.isArray(e)&&e.every((function(e){return"string"==typeof e?n(e):"object"===r()(e)&&t(e)}))}function o(e){var t=e.startDate,n=e.endDate,a=t&&t.match(/^\d{4}-\d{2}-\d{2}$/),r=n&&n.match(/^\d{4}-\d{2}-\d{2}$/);return a&&r}function c(e){var t=function(e){var t=e.hasOwnProperty("fieldName")&&!!e.fieldName,n=e.hasOwnProperty("sortOrder")&&/(ASCENDING|DESCENDING)/i.test(e.sortOrder.toString());return t&&n};return Array.isArray(e)?e.every((function(e){return"object"===r()(e)&&t(e)})):"object"===r()(e)&&t(e)}function s(e){return"string"==typeof e||!!Array.isArray(e)&&e.every((function(e){return"string"==typeof e}))}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return u}));var a=n(6),r=n.n(a),i=n(1),o=n.n(i),c=n(13),s=n.n(c),l=n(2),u={DEFAULT:"default",OVERLAY:"overlay",SMALL:"small",SMALL_OVERLAY:"small-overlay",LARGE:"large"};function GatheringDataNotice(t){var n=t.style;return e.createElement("div",{className:s()("googlesitekit-gathering-data-notice",r()({},"googlesitekit-gathering-data-notice--has-style-".concat(n),!!n))},e.createElement("span",null,Object(l.__)("Gathering data…","google-site-kit")))}GatheringDataNotice.propTypes={style:o.a.oneOf(Object.values(u))},t.b=GatheringDataNotice}).call(this,n(4))},,function(e,t,n){"use strict";(function(e,a){n.d(t,"c",(function(){return h})),n.d(t,"b",(function(){return O})),n.d(t,"a",(function(){return TourTooltips}));var r=n(6),i=n.n(r),o=n(85),c=n(30),s=n(1),l=n.n(s),u=n(2),d=n(3),g=n(24),m=n(7),f=n(36),p=n(129),b=n(19);function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}var h={options:{arrowColor:"#3c7251",backgroundColor:"#3c7251",overlayColor:"rgba(0, 0, 0, 0.6)",textColor:"#fff",zIndex:2e4},spotlight:{border:"2px solid #3c7251",backgroundColor:"#fff"}},y={back:Object(u.__)("Back","google-site-kit"),close:Object(u.__)("Close","google-site-kit"),last:Object(u.__)("Got it","google-site-kit"),next:Object(u.__)("Next","google-site-kit")},O={disableAnimation:!0,styles:{arrow:{length:8,margin:56,spread:16},floater:{filter:"drop-shadow(rgba(60, 64, 67, 0.3) 0px 1px 2px) drop-shadow(rgba(60, 64, 67, 0.15) 0px 2px 6px)"}}},_="feature_tooltip_view",E="feature_tooltip_advance",k="feature_tooltip_return",S="feature_tooltip_dismiss",j="feature_tooltip_complete";function TourTooltips(t){var n=t.steps,r=t.tourID,s=t.gaEventCategory,l=t.callback,u="".concat(r,"-step"),T="".concat(r,"-run"),A=Object(d.useDispatch)(g.b).setValue,N=Object(d.useDispatch)(m.a).dismissTour,C=Object(d.useRegistry)(),w=Object(b.a)(),I=Object(d.useSelect)((function(e){return e(g.b).getValue(u)})),R=Object(d.useSelect)((function(e){return e(g.b).getValue(T)&&!1===e(m.a).isTourDismissed(r)}));Object(o.a)((function(){e.document.body.classList.add("googlesitekit-showing-feature-tour","googlesitekit-showing-feature-tour--".concat(r)),A(T,!0)}));var M=n.map((function(e){return function(e){for(var t=1;tNote: %s","google-site-kit"),k),{strong:e.createElement("strong",null)}))),e.createElement(u.DialogFooter,null,e.createElement(u.Button,{className:"mdc-dialog__cancel-button",tertiary:!0,onClick:m,disabled:A},Object(l.__)("Cancel","google-site-kit")),M?e.createElement(u.Button,{href:M,target:"_blank",danger:j},E):e.createElement(u.SpinnerButton,{onClick:y,danger:j,disabled:A,isSaving:A},E||Object(l.__)("Disconnect","google-site-kit"))))}ModalDialog.displayName="Dialog",ModalDialog.propTypes={className:r.a.string,dialogActive:r.a.bool,handleDialog:r.a.func,handleConfirm:r.a.func.isRequired,title:r.a.string,confirmButton:r.a.string,danger:r.a.bool,small:r.a.bool,medium:r.a.bool,buttonLink:r.a.string},t.a=ModalDialog}).call(this,n(4))},,,function(e,t,n){"use strict";var a=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:e,i=Object(c.useState)(Object(s.a)(a.location.href,t)||n),u=o()(i,2),d=u[0],g=u[1],m=function(e){g(e);var n=Object(l.a)(a.location.href,r()({},t,e));a.history.replaceState(null,"",n)};return[d,m]}}).call(this,n(26))},function(e,t,n){"use strict";var a=n(137);n.d(t,"a",(function(){return a.a}));var r=n(138);n.d(t,"c",(function(){return r.a}));var i=n(139);n.d(t,"b",(function(){return i.a}))},function(e,t,n){"use strict";var a=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t".concat(n,"")),{a:e.createElement(l.a,{key:"link",href:a,external:i})}))}SourceLink.propTypes={name:r.a.string,href:r.a.string,className:r.a.string,external:r.a.bool},SourceLink.defaultProps={name:"",href:"",className:"",external:!1},t.a=SourceLink}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var a=n(12),r=function(e){return Object(a.isFinite)(e)?e:0}},function(e,t,n){"use strict";var a=n(235);n.d(t,"b",(function(){return a.a}));var r=n(168);n.d(t,"c",(function(){return r.a}));var i=n(236);n.d(t,"a",(function(){return i.a}))},function(e,t,n){"use strict";var a=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t1?Object(g.a)(u):[],v=function(e){return s()("googlesitekit-tooltip-indicator",{active:e===c})};return e.createElement("div",r()({className:s()("googlesitekit-tour-tooltip",f.className)},p),e.createElement(o.a,{className:"googlesitekit-tooltip-card"},e.createElement("div",{className:"googlesitekit-tooltip-body"},e.createElement("h2",{className:"googlesitekit-tooltip-title"},f.title),e.createElement("div",{className:"googlesitekit-tooltip-content"},f.content)),e.createElement(i.CardActions,{className:"googlesitekit-tooltip-actions"},e.createElement("ul",{className:"googlesitekit-tooltip-indicators"},b.map((function(t){return e.createElement("li",{key:"indicator-".concat(t),className:v(t)})}))),e.createElement("div",{className:"googlesitekit-tooltip-buttons"},0!==c&&e.createElement(d.Button,r()({className:"googlesitekit-tooltip-button",text:!0},n),n.title),f.cta,l.title&&e.createElement(d.Button,r()({className:"googlesitekit-tooltip-button",text:!0},l),l.title))),e.createElement(d.Button,r()({className:"googlesitekit-tooltip-close",text:!0,hideTooltipTitle:!0,icon:e.createElement(m.a,{width:"14",height:"14"})},a))))}TourTooltip.propTypes={backProps:u.a.object.isRequired,closeProps:u.a.object.isRequired,index:u.a.number.isRequired,isLastStep:u.a.bool.isRequired,primaryProps:u.a.object.isRequired,size:u.a.number.isRequired,step:u.a.shape({content:u.a.node,title:u.a.node.isRequired,cta:u.a.oneOfType([u.a.element,u.a.bool]),className:u.a.string}).isRequired,tooltipProps:u.a.object.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";var a=n(0),r=Object(a.createContext)(!1);t.a=r},function(e,t,n){"use strict";var a=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t=j&&j>0),o()(n,"mdc-layout-grid__cell--span-".concat(E,"-desktop"),12>=E&&E>0),o()(n,"mdc-layout-grid__cell--start-".concat(k,"-desktop"),12>=k&&k>0),o()(n,"mdc-layout-grid__cell--order-".concat(S,"-desktop"),12>=S&&S>0),o()(n,"mdc-layout-grid__cell--span-".concat(y,"-tablet"),8>=y&&y>0),o()(n,"mdc-layout-grid__cell--start-".concat(O,"-tablet"),8>=O&&O>0),o()(n,"mdc-layout-grid__cell--order-".concat(_,"-tablet"),8>=_&&_>0),o()(n,"mdc-layout-grid__cell--span-".concat(b,"-phone"),4>=b&&b>0),o()(n,"mdc-layout-grid__cell--start-".concat(v,"-phone"),4>=v&&v>0),o()(n,"mdc-layout-grid__cell--order-".concat(h,"-phone"),4>=h&&h>0),n))}),T)}Cell.propTypes={smSize:u.a.number,smStart:u.a.number,smOrder:u.a.number,mdSize:u.a.number,mdStart:u.a.number,mdOrder:u.a.number,lgSize:u.a.number,lgStart:u.a.number,lgOrder:u.a.number,size:u.a.number,alignTop:u.a.bool,alignMiddle:u.a.bool,alignBottom:u.a.bool,alignRight:u.a.bool,alignLeft:u.a.bool,smAlignRight:u.a.bool,mdAlignRight:u.a.bool,lgAlignRight:u.a.bool,className:u.a.string,children:u.a.node},Cell.defaultProps={className:"",size:0,smSize:0,smStart:0,smOrder:0,mdSize:0,mdStart:0,mdOrder:0,lgSize:0,lgStart:0,lgOrder:0}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var a=n(21),r=n.n(a),i=n(22),o=n.n(i),c=n(1),s=n.n(c),l=n(13),u=n.n(l),d=n(0),g=Object(d.forwardRef)((function(t,n){var a=t.className,i=t.children,c=o()(t,["className","children"]);return e.createElement("div",r()({ref:n,className:u()("mdc-layout-grid__inner",a)},c),i)}));g.displayName="Row",g.propTypes={className:s.a.string,children:s.a.node},g.defaultProps={className:""},t.a=g}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var a=n(21),r=n.n(a),i=n(22),o=n.n(i),c=n(1),s=n.n(c),l=n(13),u=n.n(l),d=n(0),g=Object(d.forwardRef)((function(t,n){var a=t.alignLeft,i=t.fill,c=t.className,s=t.children,l=t.collapsed,d=o()(t,["alignLeft","fill","className","children","collapsed"]);return e.createElement("div",r()({className:u()("mdc-layout-grid",c,{"mdc-layout-grid--align-left":a,"mdc-layout-grid--collapsed":l,"mdc-layout-grid--fill":i})},d,{ref:n}),s)}));g.displayName="Grid",g.propTypes={alignLeft:s.a.bool,fill:s.a.bool,className:s.a.string,collapsed:s.a.bool,children:s.a.node},g.defaultProps={className:""},t.a=g}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ReportErrorActions}));var a=n(6),r=n.n(a),i=n(1),o=n.n(i),c=n(0),s=n(39),l=n(2),u=n(3),d=n(11),g=n(14),m=n(18),f=n(40),p=n(33),b=n(20);function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function h(e){for(var t=1;t","google-site-kit"),{HelpLink:e.createElement(b.a,{href:C,external:!0,hideExternalIndicator:!0},Object(l.__)("Get help","google-site-kit"))}))),!N&&!i&&e.createElement("div",{className:y},"function"==typeof r?e.createElement(r,{linkURL:C}):e.createElement(b.a,{href:C,external:!0,hideExternalIndicator:!0},Object(l.__)("Get help","google-site-kit"))))}ReportErrorActions.propTypes={moduleSlug:o.a.string.isRequired,error:o.a.oneOfType([o.a.arrayOf(o.a.object),o.a.object]).isRequired,GetHelpLink:o.a.elementType,hideGetHelpLink:o.a.bool,buttonVariant:o.a.string,onRetry:o.a.func,getHelpClassName:o.a.string,RequestAccessButton:o.a.elementType,RetryButton:o.a.elementType}}).call(this,n(4))},,function(e,t,n){"use strict";var a=n(586);n.d(t,"a",(function(){return a.a}));var r=n(587);n.d(t,"b",(function(){return r.a}));var i=n(588);n.d(t,"d",(function(){return i.a}));var o=n(589);n.d(t,"f",(function(){return o.a}));var c=n(590);n.d(t,"e",(function(){return c.a}));n(536);var s=n(362);n.d(t,"c",(function(){return s.c}));n(537)},,function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var a=n(0),r=n(118),i=n(47),o=function(e){var t=Object(a.useContext)(r.a);return Object(i.b)(e,t)}},,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return LoadingWrapper}));var a=n(6),r=n.n(a),i=n(22),o=n.n(i),c=n(1),s=n.n(c),l=n(42);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function LoadingWrapper(t){var n=t.loading,a=t.children,r=o()(t,["loading","children"]);return n?e.createElement(l.a,r):a}LoadingWrapper.propTypes=function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.metrics,n=e.dimensions,a=o()(e,["metrics","dimensions"]);return d({metrics:m(t),dimensions:f(n)},a)})),m=function(e){return Object(l.castArray)(e).map((function(e){return"string"==typeof e?{name:e}:e})).filter((function(e){return Object(l.isPlainObject)(e)}))},f=function(e){return Object(l.castArray)(e).map((function(e){return"string"==typeof e?{name:e}:e})).filter((function(e){return Object(l.isPlainObject)(e)}))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var a=n(2);function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t||{},r=n.slug,i=void 0===r?"":r,o=n.name,c=void 0===o?"":o,s=n.owner,l=void 0===s?{}:s;if(!i||!c)return e;var u="",d="";return"analytics-4"===i?e.match(/account/i)?u=Object(a.__)("Your Google account does not have sufficient permissions for this Analytics account, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit"):e.match(/property/i)?u=Object(a.__)("Your Google account does not have sufficient permissions for this Analytics property, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit"):e.match(/view/i)&&(u=Object(a.__)("Your Google account does not have sufficient permissions for this Analytics view, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit")):"search-console"===i&&(u=Object(a.__)("Your Google account does not have sufficient permissions for this Search Console property, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit")),u||(u=Object(a.sprintf)(
/* translators: %s: module name */
Object(a.__)("Your Google account does not have sufficient permissions to access %s data, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit"),c)),l&&l.login&&(d=Object(a.sprintf)(
/* translators: %s: owner name */
Object(a.__)('This service was originally connected by the administrator "%s" — you can contact them for more information.',"google-site-kit"),l.login)),d||(d=Object(a.__)("This service was originally connected by an administrator — you can contact them for more information.","google-site-kit")),"".concat(u," ").concat(d)}},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var a=n(23),r=function(e){return a.f.includes(e)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ConnectGA4CTATileWidget}));var a=n(1),r=n.n(a),i=n(3),o=n(432),c=n(119),s=n(7),l=n(86),u={moduleSlug:"analytics-4"};function ConnectGA4CTATileWidget(t){var n=t.Widget,a=t.widgetSlug,r=Object(i.useSelect)((function(e){var t=e(s.a).getKeyMetrics();return t?t.filter((function(e){return s.I.includes(e)})).length:[]}))>3?l.a:o.a;return Object(c.a)(a,r,u),e.createElement(n,null,e.createElement(o.a,u))}ConnectGA4CTATileWidget.propTypes={Widget:r.a.elementType.isRequired,widgetSlug:r.a.string.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var a=n(360);function r(e){return Object(a.a)(e)}},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return i})),n.d(t,"d",(function(){return o.a})),n.d(t,"e",(function(){return c.a})),n.d(t,"a",(function(){return s.a}));var a=n(2);function r(e){var t,n,r,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=i.keyColumnIndex,c=void 0===o?0:o,s=i.maxSlices,l=i.withOthers,u=void 0!==l&&l,d=i.tooltipCallback,g=e||{},m=g.rows,f=void 0===m?[]:m,p=g.totals,b=void 0===p?[]:p,v="function"==typeof d,h=["Source","Percent"];v&&h.push({type:"string",role:"tooltip",p:{html:!0}});var y=(null==b||null===(t=b[0])||void 0===t||null===(n=t.metricValues)||void 0===n||null===(r=n[c])||void 0===r?void 0:r.value)||0,O=[h],_=f.filter((function(e){return"date_range_0"===e.dimensionValues[1].value})),E=u,k=_.length,S=1;s>0?(E=u&&_.length>s,k=Math.min(_.length,E?s-1:s)):(E=!1,k=_.length);for(var j=function(e){var t=_[e],n=t.metricValues[c].value,a=y>0?n/y:0;S-=a;var r=[t.dimensionValues[0].value,a];if(v){var i=f.find((function(e){var n=e.dimensionValues;return"date_range_1"===n[1].value&&n[0].value===t.dimensionValues[0].value}));r.push(d(t,i,r))}O.push(r)},T=0;T0){var A=[Object(a.__)("Others","google-site-kit"),S];v&&A.push(d(null,null,A)),O.push(A)}return O}var i=function(e){var t,n,a,r,i,o,c;if(void 0!==e){var s=((null==e?void 0:e.rows)||[]).filter((function(e){return"date_range_0"===e.dimensionValues[1].value}));return 1===(null==s?void 0:s.length)||(null==s||null===(t=s[0])||void 0===t||null===(n=t.metricValues)||void 0===n||null===(a=n[0])||void 0===a?void 0:a.value)===(null==e||null===(r=e.totals)||void 0===r||null===(i=r[0])||void 0===i||null===(o=i.metricValues)||void 0===o||null===(c=o[0])||void 0===c?void 0:c.value)}},o=n(200),c=n(154),s=(n(67),n(167),n(203))},,function(e,t,n){"use strict";(function(e){var a=n(5),r=n.n(a),i=n(16),o=n.n(i),c=n(1),s=n.n(c),l=n(0),u=n(20),d=n(9),g=n(19);function HelpMenuLink(t){var n=t.children,a=t.href,i=t.gaEventLabel,c=Object(g.a)(),s=Object(l.useCallback)(o()(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!i){e.next=3;break}return e.next=3,Object(d.J)("".concat(c,"_headerbar_helpmenu"),"click_outgoing_link",i);case 3:case"end":return e.stop()}}),e)}))),[i,c]);return e.createElement("li",{className:"googlesitekit-help-menu-link mdc-list-item",role:"none"},e.createElement(u.a,{className:"mdc-list-item__text",href:a,external:!0,hideExternalIndicator:!0,role:"menuitem",onClick:s},n))}HelpMenuLink.propTypes={children:s.a.node.isRequired,href:s.a.string.isRequired,gaEventLabel:s.a.string},t.a=HelpMenuLink}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ModuleIcon}));var a=n(21),r=n.n(a),i=n(22),o=n.n(i),c=n(1),s=n.n(c),l=n(3),u=n(18);function ModuleIcon(t){var n=t.slug,a=t.size,i=o()(t,["slug","size"]),c=Object(l.useSelect)((function(e){return e(u.a).getModuleIcon(n)}));return c?e.createElement(c,r()({width:a,height:a},i)):null}ModuleIcon.propTypes={slug:s.a.string.isRequired,size:s.a.number},ModuleIcon.defaultProps={size:33}}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var a=n(229),r=n(12),i=n(0);function o(){for(var e=arguments.length,t=new Array(e),n=0;n3&&void 0!==arguments[3]?arguments[3]:{},r=a.ownedSettingsSlugs,i=void 0===r?void 0:r,c=a.storeName,l=void 0===c?void 0:c,g=a.settingSlugs,h=void 0===g?[]:g,y=a.initialSettings,k=void 0===y?void 0:y,S=a.validateHaveSettingsChanged,j=void 0===S?C():S;u()(e,"type is required."),u()(t,"identifier is required."),u()(n,"datapoint is required.");var T=l||"".concat(e,"/").concat(t),A={ownedSettingsSlugs:i,settings:k,savedSettings:void 0},N=Object(v.a)({baseName:"getSettings",controlCallback:function(){return m.a.get(e,t,n,{},{useCache:!1})},reducerCallback:function(e,t){return O(O({},e),{},{savedSettings:O({},t),settings:O(O({},t),e.settings||{})})}}),w=Object(v.a)({baseName:"saveSettings",controlCallback:function(a){var r=a.values;return m.a.set(e,t,n,r)},reducerCallback:function(e,t){return O(O({},e),{},{savedSettings:O({},t),settings:O({},t)})},argsToParams:function(e){return{values:e}},validateParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.values;u()(Object(d.isPlainObject)(t),"values is required.")}}),I={},R={setSettings:function(e){return u()(Object(d.isPlainObject)(e),"values is required."),{payload:{values:e},type:"SET_SETTINGS"}},rollbackSettings:function(){return{payload:{},type:"ROLLBACK_SETTINGS"}},saveSettings:o.a.mark((function e(){var t,n,a,r,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,f.commonActions.getRegistry();case 2:return t=e.sent,e.next=5,_("saveSettings",[]);case 5:return n=t.select(T).getSettings(),e.next=8,w.actions.fetchSaveSettings(n);case 8:if(a=e.sent,r=a.response,!(i=a.error)){e.next=14;break}return e.next=14,E(i,"saveSettings",[]);case 14:return e.abrupt("return",{response:r,error:i});case 15:case"end":return e.stop()}}),e)}))},M={},D=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:A,t=arguments.length>1?arguments[1]:void 0,n=t.type,a=t.payload;switch(n){case"SET_SETTINGS":var r=a.values;return O(O({},e),{},{settings:O(O({},e.settings||{}),r)});case"ROLLBACK_SETTINGS":return O(O({},e),{},{settings:e.savedSettings});default:return void 0!==I[n]?I[n](e,{type:n,payload:a}):e}},x={getSettings:o.a.mark((function e(){var t;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,f.commonActions.getRegistry();case 2:if(t=e.sent,t.select(T).getSettings()){e.next=7;break}return e.next=7,N.actions.fetchGetSettings();case 7:case"end":return e.stop()}}),e)}))},L=Object(p.g)(j),P=L.safeSelector,Z=L.dangerousSelector,G={haveSettingsChanged:P,__dangerousHaveSettingsChanged:Z,getSettings:function(e){return e.settings},hasSettingChanged:function(e,t){u()(t,"setting is required.");var n=e.settings,a=e.savedSettings;return!(!n||!a)&&!Object(d.isEqual)(n[t],a[t])},isDoingSaveSettings:function(e){return Object.values(e.isFetchingSaveSettings).some(Boolean)},getOwnedSettingsSlugs:function(e){return e.ownedSettingsSlugs},haveOwnedSettingsChanged:Object(f.createRegistrySelector)((function(e){return function(){var t=e(T).getOwnedSettingsSlugs();return e(T).haveSettingsChanged(t)}}))};h.forEach((function(e){var t=Object(b.b)(e),n=Object(b.a)(e);R["set".concat(t)]=function(e){return u()(void 0!==e,"value is required for calls to set".concat(t,"().")),{payload:{value:e},type:"SET_".concat(n)}},I["SET_".concat(n)]=function(t,n){var a=n.payload.value;return O(O({},t),{},{settings:O(O({},t.settings||{}),{},s()({},e,a))})},G["get".concat(t)]=Object(f.createRegistrySelector)((function(t){return function(){return(t(T).getSettings()||{})[e]}}))}));var B=Object(f.combineStores)(f.commonStore,N,w,{initialState:A,actions:R,controls:M,reducer:D,resolvers:x,selectors:G});return O(O({},B),{},{STORE_NAME:T})};function T(e,t){return function(){var n=r()(o.a.mark((function n(a){var r,i,c,s;return o.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(r=a.select,i=a.dispatch,!r(t).haveSettingsChanged()){n.next=8;break}return n.next=4,i(t).saveSettings();case 4:if(c=n.sent,!(s=c.error)){n.next=8;break}return n.abrupt("return",{error:s});case 8:return n.next=10,m.a.invalidateCache("modules",e);case 10:return n.abrupt("return",{});case 11:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}()}function A(e){return function(t){var n=t.select,a=t.dispatch;return n(e).haveSettingsChanged()?a(e).rollbackSettings():{}}}function N(e){return function(t){var n=Object(p.e)(t)(e),a=n.haveSettingsChanged,r=n.isDoingSubmitChanges;u()(!r(),k),u()(a(),S)}}function C(){return function(e,t,n){var a=t.settings,r=t.savedSettings;n&&u()(!Object(d.isEqual)(Object(d.pick)(a,n),Object(d.pick)(r,n)),S),u()(!Object(d.isEqual)(a,r),S)}}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerIcon}));var a=n(1),r=n.n(a),i=n(108),o=n(191),c=n(17);function BannerIcon(t){var n=t.type;if("win-error"!==n&&"win-warning"!==n)return null;var a="win-warning"===n?e.createElement(i.a,{width:34}):e.createElement(o.a,{width:28});return e.createElement(c.a,{size:1,smOrder:3,mdOrder:3,lgOrder:3},e.createElement("div",{className:"googlesitekit-publisher-win__icons"},a))}BannerIcon.propTypes={type:r.a.string}}).call(this,n(4))},function(e,t,n){"use strict";var a=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t0}))}))}},,function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return r})),n.d(t,"c",(function(){return i})),n.d(t,"d",(function(){return o}));var a="pax",r="_googlesitekitPAXConfig",i={LAUNCH:1,FINISHED:2},o="pax_setup_success_notification"},function(e,t,n){"use strict";n.d(t,"a",(function(){return h}));var a=n(28),r=n.n(a),i=n(13),o=n.n(i),c=n(12),s=n(2),l=n(71),u=n(9),d=n(15),g=n.n(d),m=n(10),f=n.n(m);function p(e,t){var n=t.dateRangeLength;f()(Array.isArray(e),"report must be an array to partition."),f()(Number.isInteger(n)&&n>0,"dateRangeLength must be a positive integer.");var a=function(t){return e.filter((function(e){return g()(e.dimensionValues,2)[1].value===t}))},r=-1*n;return{currentRange:a("date_range_0").slice(r),compareRange:a("date_range_1").slice(2*r,r)}}var b=n(186);function v(e,t){var n=[];return e.forEach((function(e){if(e.metricValues){var a=e.metricValues[t].value,r=e.dimensionValues[0].value,i=Object(b.a)(r);n.push([i,a])}})),n}function h(e,t,n,a){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[Object(s.__)("Users","google-site-kit"),Object(s.__)("Sessions","google-site-kit"),Object(s.__)("Engagement Rate","google-site-kit"),Object(s.__)("Session Duration","google-site-kit")],d=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[function(e){return parseFloat(e).toLocaleString()},function(e){return parseFloat(e).toLocaleString()},function(e){return Object(u.C)(e/100,{style:"percent",signDisplay:"never",maximumFractionDigits:2})},function(e){return Object(u.C)(e,"s")}],g=arguments.length>6&&void 0!==arguments[6]?arguments[6]:[c.identity,c.identity,function(e){return 100*e},c.identity],m=r()((null==e?void 0:e.rows)||[]),f=m.length;if(2*n>f){for(var b=Object(u.H)(a),h=0;n>h;h++){var y=(b.getMonth()+1).toString(),O=b.getDate().toString(),_=b.getFullYear().toString()+(2>y.length?"0":"")+y+(2>O.length?"0":"")+O;if(h>f){var E=[{dimensionValues:[{value:_},{value:"date_range_0"}],metricValues:[{value:0},{value:0}]},{dimensionValues:[{value:_},{value:"date_range_1"}],metricValues:[{value:0},{value:0}]}];m.unshift.apply(m,E)}b.setDate(b.getDate()-1)}m.push({dimensionValues:[{value:"0"},{value:"date_range_0"}]},{dimensionValues:[{value:"0"},{value:"date_range_1"}]})}var k=i[t]===Object(s.__)("Session Duration","google-site-kit"),S=k?"timeofday":"number",j=[[{type:"date",label:Object(s.__)("Day","google-site-kit")},{type:"string",role:"tooltip",p:{html:!0}},{type:S,label:i[t]},{type:S,label:Object(s.__)("Previous period","google-site-kit")}]],T=p(m,{dateRangeLength:n}),A=T.compareRange,N=T.currentRange,C=v(N,t),w=v(A,t),I=Object(l.b)(),R={weekday:"short",month:"short",day:"numeric"};return C.forEach((function(e,n){if(e[0]&&e[1]&&w[n]){var a=g[t],r=a(e[1]),c=a(w[n][1]),l=parseFloat(c),m=Object(u.i)(r,l),f=Object(u.p)(m),p=Object(s.sprintf)(
/* translators: 1: date for user stats, 2: previous date for user stats comparison */
Object(s._x)("%1$s vs %2$s","Date range for chart tooltip","google-site-kit"),e[0].toLocaleDateString(I,R),w[n][0].toLocaleDateString(I,R)),b=Object(s.sprintf)(
/* translators: 1: selected stat label, 2: numeric value of selected stat, 3: up or down arrow , 4: different change in percentage */
Object(s._x)("%1$s: %2$s%3$s %4$s","Stat information for chart tooltip","google-site-kit"),i[t],d[t](r),f,Object(u.C)(Math.abs(m),"%"));j.push([e[0],'
"),k,S]),g=u(g),m=u(m)}return o}var d=n(116),g=n(449);n(543)},,,,,,function(e,t,n){"use strict";n.d(t,"d",(function(){return s})),n.d(t,"e",(function(){return l})),n.d(t,"b",(function(){return u})),n.d(t,"a",(function(){return d})),n.d(t,"c",(function(){return g}));var a=n(28),r=n.n(a),i=n(12),o=n(25),c=n(9),s=function(e,t){if(!(null==t?void 0:t.length))return e;var n=[];return(null==e?void 0:e.length)&&(n=e[0].reduce((function(e,t,n){return(null==t?void 0:t.role)?[].concat(r()(e),[n]):e}),[])),e.map((function(e){return e.filter((function(e,a){return 0===a||t.includes(a-1)||n.includes(a-1)}))}))},l=function(e,t,n,a){var r={height:e||t,width:n||a};return r.width&&!r.height&&(r.height="100%"),r.height&&!r.width&&(r.width="100%"),r},u=function(e,t,n){var a=r()(e||[]);return t&&a.push({eventName:"ready",callback:t}),n&&a.push({eventName:"select",callback:n}),a},d=function(e,t,n,a,r,s){var l,u,d,g,m,f,p,b,v=Object(i.cloneDeep)(e);t&&"LineChart"===n&&((null==e||null===(l=e.vAxis)||void 0===l||null===(u=l.viewWindow)||void 0===u?void 0:u.min)||Object(i.set)(v,"vAxis.viewWindow.min",0),(null==e||null===(d=e.vAxis)||void 0===d||null===(g=d.viewWindow)||void 0===g?void 0:g.max)||Object(i.set)(v,"vAxis.viewWindow.max",100),(null==e||null===(m=e.hAxis)||void 0===m||null===(f=m.viewWindow)||void 0===f?void 0:f.min)||(Object(i.set)(v,"hAxis.viewWindow.min",Object(c.H)(a)),delete v.hAxis.ticks),(null==e||null===(p=e.hAxis)||void 0===p||null===(b=p.viewWindow)||void 0===b?void 0:b.max)||(Object(i.set)(v,"hAxis.viewWindow.max",Object(c.H)(r)),delete v.hAxis.ticks));if("LineChart"===n){var h,y,O;if((null==e||null===(h=e.hAxis)||void 0===h?void 0:h.maxTextLines)||Object(i.set)(v,"hAxis.maxTextLines",1),!(null==e||null===(y=e.hAxis)||void 0===y?void 0:y.minTextSpacing)){var _=s===o.b?50:100;Object(i.set)(v,"hAxis.minTextSpacing",_)}void 0===(null==e||null===(O=e.tooltip)||void 0===O?void 0:O.isHtml)&&(Object(i.set)(v,"tooltip.isHtml",!0),Object(i.set)(v,"tooltip.trigger","both"))}return Object(i.merge)(v,{hAxis:{textStyle:{fontSize:10,color:"#5f6561"}},vAxis:{textStyle:{color:"#5f6561",fontSize:10}},legend:{textStyle:{color:"#131418",fontSize:12}}}),v},g=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Object(c.s)(),n=Intl.NumberFormat(t,{style:"currency",currency:e}),a=n.formatToParts(1e6);return a.reduce((function(e,t){var n=t.value;switch(t.type){case"group":return e+",";case"decimal":return e+".";case"currency":return e+n;case"literal":return e+(/^\s*$/.test(n)?n:"");case"integer":var r=n.replace(/\d/g,"#");return e+(Object(i.findLast)(a,(function(e){return"integer"===e.type}))===t?r.replace(/#$/,"0"):r);case"fraction":return e+n.replace(/\d/g,"0");default:return e}}),"")}},,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var a=n(5),r=n.n(a),i=n(16),o=n.n(i),c=n(0),s=n(3),l=n(14),u=n(24);function d(e){var t=Object(s.useDispatch)(u.b).setValue,n=Object(s.useSelect)((function(e){return e(l.c).hasMinimumWordPressVersion("6.2")})),a=Object(s.useSelect)((function(e){return e(l.c).hasMinimumWordPressVersion("6.4")}));return Object(c.useCallback)(o()(r.a.mark((function i(){var o,c,s,l;return r.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(o=document.querySelector("#adminmenu").offsetHeight>0){r.next=7;break}if(!(c=document.getElementById("wp-admin-bar-menu-toggle"))){r.next=7;break}return c.firstChild.click(),r.next=7,new Promise((function(e){setTimeout(e,0)}));case 7:"#adminmenu [href*='page=googlesitekit-dashboard']",(s=!!document.querySelector("".concat("#adminmenu [href*='page=googlesitekit-dashboard']","[aria-haspopup=true]")))&&document.querySelector("#adminmenu [href*='page=googlesitekit-dashboard']").click(),n&&!a&&(l=document.hasFocus,document.hasFocus=function(){return document.hasFocus=l,!1}),t(e,{isTooltipVisible:!0,rehideAdminMenu:!o,rehideAdminSubMenu:s});case 12:case"end":return r.stop()}}),i)}))),[n,a,t,e])}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AdminMenuTooltip}));var a=n(6),r=n.n(a),i=n(21),o=n.n(i),c=n(5),s=n.n(c),l=n(16),u=n.n(l),d=n(22),g=n.n(d),m=n(0),f=n(1),p=n.n(f),b=n(3),v=n(211),h=n(24),y=n(168);function O(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function _(e){for(var t=1;t0&&(null===(t=document.getElementById("wp-admin-bar-menu-toggle"))||void 0===t||t.click()),d&&document.querySelector("body").click(),e.next=4,null==n?void 0:n();case 4:i(a,void 0);case 5:case"end":return e.stop()}}),e)}))),[n,l,d,i,a]);return e.createElement(v.a,o()({slug:"ga4-activation-banner-admin-menu-tooltip",onDismiss:f},r))}AdminMenuTooltip.propTypes=_(_({},v.a.propTypes),{},{target:p.a.string,tooltipStateKey:p.a.string.isRequired}),AdminMenuTooltip.defaultProps={target:'#adminmenu [href*="page=googlesitekit-settings"]'}}).call(this,n(4))},,,function(e,t,n){"use strict";(function(e,a){var r=n(49),i=n.n(r),o=n(50),c=n.n(o),s=n(65),l=n.n(s),u=n(66),d=n.n(u),g=n(46),m=n.n(g),f=n(1),p=n.n(f),b=n(0),v=n(2),h=n(73);function y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,a=m()(e);if(t){var r=m()(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return d()(this,n)}}var O=function(t){l()(MediaErrorHandler,t);var n=y(MediaErrorHandler);function MediaErrorHandler(e){var t;return i()(this,MediaErrorHandler),(t=n.call(this,e)).state={error:null},t}return c()(MediaErrorHandler,[{key:"componentDidCatch",value:function(t,n){e.console.error("Caught an error:",t,n),this.setState({error:t})}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.errorMessage;return this.state.error?a.createElement(h.a,{message:n}):t}}]),MediaErrorHandler}(b.Component);O.defaultProps={errorMessage:Object(v.__)("Failed to load media","google-site-kit")},O.propTypes={children:p.a.node.isRequired,errorMessage:p.a.string.isRequired},t.a=O}).call(this,n(26),n(4))},,,,function(e,t,n){"use strict";(function(e){var a=n(2),r=n(132),i=n(244),o=n(96);t.a=function Logo(){return e.createElement("div",{className:"googlesitekit-logo","aria-hidden":"true"},e.createElement(r.a,{className:"googlesitekit-logo__logo-g",height:"34",width:"32"}),e.createElement(i.a,{className:"googlesitekit-logo__logo-sitekit",height:"26",width:"99"}),e.createElement(o.a,null,Object(a.__)("Site Kit by Google Logo","google-site-kit")))}}).call(this,n(4))},function(e,t,n){"use strict";var a=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.sticky,n=void 0!==t&&t,a=Object(c.useContext)(s.a),u=Object(c.useState)(!1),d=r()(u,2),g=d[0],m=d[1],f=Object(o.a)((function(e){return e(l.b).getInViewResetCount()})),p=Object(o.a)((function(e){return e(l.b).getValue("forceInView")}));return Object(c.useEffect)((function(){a.value&&!g&&m(!0)}),[g,a,m]),Object(c.useEffect)((function(){p&&m(!0)}),[p]),Object(i.a)((function(){m(!1)}),[f]),!(!n||!g)||!!a.value}},,,function(e,t,n){"use strict";(function(e,a){n.d(t,"a",(function(){return PAXSetupSuccessSubtleNotification}));var r=n(15),i=n.n(r),o=n(2),c=n(11),s=n(81),l=n(109),u=n(111),d=n(25),g=n(202);function PAXSetupSuccessSubtleNotification(){var t=Object(d.e)(),n=Object(u.a)("notification"),r=i()(n,2),m=r[0],f=r[1];return g.d!==m?null:a.createElement(l.a,{title:Object(o.__)("Your Ads campaign was successfully set up!","google-site-kit"),description:Object(o.__)("Track your conversions, measure your campaign results and make the most of your ad spend","google-site-kit"),onDismiss:function(){f(void 0)},additionalCTA:a.createElement(c.Button,{onClick:function(n){n.preventDefault(),setTimeout((function(){e.scrollTo({top:Object(s.a)(".googlesitekit-widget--partnerAdsPAX",t),behavior:"smooth"}),f(void 0)}),50)}},Object(o.__)("Show me","google-site-kit"))})}}).call(this,n(26),n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupSuccessSubtleNotification}));var a=n(15),r=n.n(a),i=n(2),o=n(109),c=n(111);function SetupSuccessSubtleNotification(){var t=Object(c.a)("notification"),n=r()(t,2),a=n[0],s=n[1],l=Object(c.a)("slug"),u=r()(l,2),d=u[0],g=u[1];return"authentication_success"!==a||"ads"!==d?null:e.createElement(o.a,{title:Object(i.__)("Success! Your Conversion Tracking ID was added to your site","google-site-kit"),description:Object(i.__)("You can now track conversions for your Ads campaigns","google-site-kit"),onDismiss:function(){s(void 0),g(void 0)}})}}).call(this,n(4))},,,,,,function(e,t,n){"use strict";(function(e,a){n.d(t,"a",(function(){return UserMenu}));var r=n(5),i=n.n(r),o=n(16),c=n.n(o),s=n(15),l=n.n(s),u=n(228),d=n(0),g=n(2),m=n(54),f=n(3),p=n(11),b=n(105),v=n(9),h=n(37),y=n(78),O=n(268),_=n(213),E=n(269),k=n(270),S=n(29),j=n(14),T=n(7),A=n(32),N=n(8),C=n(114),w=n(19);function UserMenu(){var t=Object(f.useSelect)((function(e){return e(j.c).getProxyPermissionsURL()})),n=Object(f.useSelect)((function(e){return e(T.a).getEmail()})),r=Object(f.useSelect)((function(e){return e(T.a).getPicture()})),o=Object(f.useSelect)((function(e){return e(T.a).getFullName()})),s=Object(f.useSelect)((function(e){return e(j.c).getAdminURL("googlesitekit-splash",{googlesitekit_context:"revoked"})})),I=Object(f.useSelect)((function(e){return e(S.a).getValue(N.c,"isAutoCreatingCustomDimensionsForAudience")})),R=Object(d.useState)(!1),M=l()(R,2),D=M[0],x=M[1],L=Object(d.useState)(!1),P=l()(L,2),Z=P[0],G=P[1],B=Object(d.useRef)(),U=Object(d.useRef)(),F=Object(w.a)(),z=Object(f.useDispatch)(A.a).navigateTo;Object(u.a)(B,(function(){return G(!1)})),Object(C.a)([m.c,m.f],B,(function(){var e;G(!1),null===(e=U.current)||void 0===e||e.focus()})),Object(d.useEffect)((function(){var t=function(e){m.c===e.keyCode&&(x(!1),G(!1))};return e.addEventListener("keyup",t),function(){e.removeEventListener("keyup",t)}}),[]);var V,W=Object(d.useCallback)((function(){Z||Object(v.J)("".concat(F,"_headerbar"),"open_usermenu"),G(!Z)}),[Z,F]),H=Object(d.useCallback)((function(){x(!D),G(!1)}),[D]),q=Object(d.useCallback)(function(){var e=c()(i.a.mark((function e(n,a){var r;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=a.detail.item,e.t0=null==r?void 0:r.id,e.next="manage-sites"===e.t0?4:"disconnect"===e.t0?9:11;break;case 4:if(!t){e.next=8;break}return e.next=7,Object(v.J)("".concat(F,"_headerbar_usermenu"),"manage_sites");case 7:z(t);case 8:return e.abrupt("break",12);case 9:return H(),e.abrupt("break",12);case 11:W();case 12:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),[t,W,H,z,F]),K=Object(d.useCallback)(c()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return x(!1),e.next=3,Object(h.b)();case 3:return e.next=5,Object(v.J)("".concat(F,"_headerbar_usermenu"),"disconnect_user");case 5:z(s);case 6:case"end":return e.stop()}}),e)}))),[s,z,F]);return n?(o&&n&&(V=Object(g.sprintf)(
/* translators: Account info text. 1: User's (full) name 2: User's email address. */
Object(g.__)("Google Account for %1$s (Email: %2$s)","google-site-kit"),o,n)),o&&!n&&(V=Object(g.sprintf)(
/* translators: Account info text. 1: User's (full) name. */
Object(g.__)("Google Account for %1$s","google-site-kit"),o)),!o&&n&&(V=Object(g.sprintf)(
/* translators: Account info text. 1: User's email address. */
Object(g.__)("Google Account (Email: %1$s)","google-site-kit"),n)),a.createElement(d.Fragment,null,a.createElement("div",{ref:B,className:"googlesitekit-user-selector googlesitekit-dropdown-menu googlesitekit-dropdown-menu__icon-menu mdc-menu-surface--anchor"},a.createElement(p.Button,{disabled:I,ref:U,className:"googlesitekit-header__dropdown mdc-button--dropdown googlesitekit-border-radius-round--tablet googlesitekit-border-radius-round--phone googlesitekit-border-radius-round googlesitekit-button-icon",text:!0,onClick:W,icon:!!r&&a.createElement("i",{className:"mdc-button__icon mdc-button__account","aria-hidden":"true"},a.createElement("img",{className:"mdc-button__icon--image",src:r,alt:Object(g.__)("User Avatar","google-site-kit")})),"aria-haspopup":"menu","aria-expanded":Z,"aria-controls":"user-menu","aria-label":I?void 0:Object(g.__)("Account","google-site-kit"),tooltip:!0,tooltipEnterDelayInMS:500,customizedTooltip:I?null:a.createElement("span",{"aria-label":V},a.createElement("strong",null,Object(g.__)("Google Account","google-site-kit")),a.createElement("br",null),a.createElement("br",null),o,o&&a.createElement("br",null),n)}),a.createElement(p.Menu,{className:"googlesitekit-user-menu",menuOpen:Z,onSelected:q,id:"user-menu"},a.createElement("li",null,a.createElement(O.a,null)),!!t&&a.createElement("li",{id:"manage-sites",className:"mdc-list-item",role:"menuitem"},a.createElement(_.a,{icon:a.createElement(k.a,{width:"22"}),label:Object(g.__)("Manage Sites","google-site-kit")})),a.createElement("li",{id:"disconnect",className:"mdc-list-item",role:"menuitem"},a.createElement(_.a,{icon:a.createElement(E.a,{width:"22"}),label:Object(g.__)("Disconnect","google-site-kit")})))),a.createElement(y.a,null,a.createElement(b.a,{dialogActive:D,handleConfirm:K,handleDialog:H,title:Object(g.__)("Disconnect","google-site-kit"),subtitle:Object(g.__)("Disconnecting Site Kit by Google will remove your access to all services. After disconnecting, you will need to re-authorize to restore service.","google-site-kit"),confirmButton:Object(g.__)("Disconnect","google-site-kit"),danger:!0,small:!0})))):null}}).call(this,n(26),n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Details}));var a=n(2),r=n(3),i=n(7);function Details(){var t=Object(r.useSelect)((function(e){return e(i.a).getPicture()})),n=Object(r.useSelect)((function(e){return e(i.a).getFullName()})),o=Object(r.useSelect)((function(e){return e(i.a).getEmail()}));return e.createElement("div",{className:"googlesitekit-user-menu__details","aria-label":Object(a.__)("Google account","google-site-kit")},!!t&&e.createElement("img",{className:"googlesitekit-user-menu__details-avatar",src:t,alt:""}),e.createElement("div",{className:"googlesitekit-user-menu__details-info"},e.createElement("p",{className:"googlesitekit-user-menu__details-info__name"},n),e.createElement("p",{className:"googlesitekit-user-menu__details-info__email","aria-label":Object(a.__)("Email","google-site-kit")},o)))}}).call(this,n(4))},function(e,t,n){"use strict";var a=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){c=!0,i=e},f:function(){try{o||null==n.return||n.return()}finally{if(c)throw i}}}}function M(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);nSign in to connect more services and control sharing access.","google-site-kit"),{strong:e.createElement("strong",null)}):Object(s.a)(Object(l.__)("You can see stats from all shared Google services, but you can't make any changes. Learn more","google-site-kit"),{a:e.createElement(b.a,{href:i,external:!0,onClick:_,"aria-label":Object(l.__)("Learn more about dashboard sharing","google-site-kit")})});return e.createElement("li",{className:"googlesitekit-view-only-menu__list-item googlesitekit-view-only-menu__description"},e.createElement("p",null,E),n&&e.createElement(d.Button,{onClick:O},Object(l.__)("Sign in with Google","google-site-kit")))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SharedServices}));var a=n(2),r=n(3),i=n(7),o=n(289);function SharedServices(){var t=Object(r.useSelect)((function(e){return e(i.a).getViewableModules()}));return void 0===t?null:e.createElement("li",{className:"googlesitekit-view-only-menu__list-item"},e.createElement("h4",null,Object(a.__)("Shared services","google-site-kit")),e.createElement("ul",null,t.map((function(t){return e.createElement(o.a,{key:t,module:t})}))))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Service}));var a=n(1),r=n.n(a),i=n(39),o=n(2),c=n(3),s=n(18),l=n(7);function Service(t){var n=t.module,a=Object(c.useSelect)((function(e){return e(l.a).hasCapability(l.z)})),r=Object(c.useSelect)((function(e){return e(s.a).getModule(n)||{}})),u=r.name,d=r.owner,g=Object(c.useSelect)((function(e){return e(s.a).getModuleIcon(n)}));return e.createElement("li",{className:"googlesitekit-view-only-menu__service"},e.createElement("span",{className:"googlesitekit-view-only-menu__service--icon"},e.createElement(g,{height:26})),e.createElement("span",{className:"googlesitekit-view-only-menu__service--name"},u),a&&(null==d?void 0:d.login)&&e.createElement("span",{className:"googlesitekit-view-only-menu__service--owner"},Object(i.a)(Object(o.sprintf)(
/* translators: %s: module owner Google Account email address */
Object(o.__)("Shared by %s","google-site-kit"),d.login),{strong:e.createElement("strong",{title:d.login})})))}Service.propTypes={module:r.a.string.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Tracking}));var a=n(39),r=n(2),i=n(209),o=n(19);function Tracking(){var t=Object(o.a)();return e.createElement("li",{className:"googlesitekit-view-only-menu__list-item"},e.createElement("p",null,Object(a.a)(Object(r.__)("Thanks for using Site Kit! Help us make it even better","google-site-kit"),{br:e.createElement("br",null)})),e.createElement(i.a,{trackEventCategory:"".concat(t,"_headerbar_viewonly"),alignCheckboxLeft:!0}))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupErrorNotification}));var a=n(2),r=n(3),i=n(48),o=n(14),c=n(29),s=n(7);function SetupErrorNotification(){var t=Object(r.useSelect)((function(e){return e(o.c).getSetupErrorMessage()})),n=Object(r.useSelect)((function(e){return e(o.c).getSetupErrorRedoURL()})),l=Object(r.useSelect)((function(e){return e(c.a).getValue(s.d,"permissionsError")||{}})).data;return!t||(null==l?void 0:l.skipDefaultErrorNotifications)?null:e.createElement(i.b,{id:"setup_error",type:"win-error",title:Object(a.__)("Oops! There was a problem during set up. Please try again.","google-site-kit"),description:t,isDismissible:!1,ctaLabel:Object(a.__)("Redo the plugin setup","google-site-kit"),ctaLink:n})}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SubtleNotifications}));var a=n(0),r=n(252),i=n(293),o=n(214),c=n(144);function SubtleNotifications(){var t=Object(c.a)("audienceSegmentation");return e.createElement(a.Fragment,null,t&&e.createElement(r.b,null),e.createElement(i.a,null),e.createElement(o.b,null),e.createElement(o.a,null))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var a=n(5),r=n.n(a),i=n(16),o=n.n(i),c=n(0),s=n(2),l=n(3),u=n(7),d=n(8),g=n(161),m=n(18),f=n(109),p=n(45),b=n(19),v=n(9),h=n(294);t.a=Object(h.a)({allNonViewOnly:!0})((function GA4AdSenseLinkedNotification(){var t=Object(p.c)(),n=Object(l.useSelect)((function(e){return t?e(m.a).isModuleConnected("adsense"):null})),a=Object(l.useSelect)((function(e){return t?e(m.a).isModuleConnected("analytics-4"):null})),i=Object(l.useSelect)((function(e){return t?e(d.p).getAdSenseLinked():null})),h=n&&a&&i,y=Object(l.useSelect)((function(e){return t?e(u.a).isItemDismissed("ga4_adsense_linked_notification"):null})),O=Object(l.useDispatch)(u.a).dismissItem,_=Object(l.useSelect)((function(e){return e(u.a).getDateRangeDates({offsetDays:d.f})})),E=_.startDate,k=_.endDate,S=Object(b.a)(),j={startDate:E,endDate:k,dimensions:["pagePath"],metrics:[{name:"totalAdRevenue"}],orderby:[{metric:{metricName:"totalAdRevenue"},desc:!0}],limit:3},T=Object(l.useSelect)((function(e){return y||!h?null:e(d.p).getReport(j)})),A=Object(l.useSelect)((function(e){return e(d.p).hasFinishedResolution("getReport",[j])})),N=Object(c.useCallback)(o()(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Object(v.J)("".concat(S,"_top-earning-pages-success-notification"),"confirm_notification"),e.next=3,O("ga4_adsense_linked_notification");case 3:case"end":return e.stop()}}),e)}))),[O,S]);Object(c.useEffect)((function(){t&&!1===y&&A&&!1===Object(g.d)(T)&&h&&N()}),[T,y,A,h,N,t]);var C=t&&!y&&A&&Object(g.d)(T)&&h;return Object(c.useEffect)((function(){C&&Object(v.J)("".concat(S,"_top-earning-pages-success-notification"),"view_notification")}),[C,S]),C?e.createElement(f.a,{title:Object(s.__)("Your AdSense and Analytics accounts are linked.","google-site-kit"),description:Object(s.__)("We’ll let you know as soon as there’s enough data available.","google-site-kit"),onDismiss:N}):null}))}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return c}));var a=n(10),r=n.n(a),i=n(19),o=n(33);function c(t){var n=t.allViewOnly,a=t.allNonViewOnly,c=t.includeList,s=t.excludeList;return function(t){return function WhenInViewContext(l){var u=Object(o.a)(),d=Object(i.a)();return r()(!(n&&a),"Cannot allow both `allViewOnly` and `allNonViewOnly` contexts; if all contexts are allowed, remove this `whenInViewContext` wrapper."),r()(!(c&&s),"Do not use both an include and exclude lists for `whenInViewContext`"),n&&!u||a&&u||c&&!c.includes(d)||s&&s.includes(d)?null:e.createElement(t,l)}}}}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"a",(function(){return m}));var a=n(5),r=n.n(a),i=n(16),o=n.n(i),c=n(0),s=n(3),l=n(14),u=n(19),d=n(37),g=n(9),m=function(){var e=Object(u.a)(),t=Object(s.useSelect)((function(e){return e(l.c).isUsingProxy()})),n=Object(s.useSelect)((function(e){return e(l.c).getSetupErrorMessage()}));Object(c.useEffect)((function(){n||void 0===t||function(){var n=o()(r.a.mark((function n(){var a,i;return r.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Object(d.d)("start_user_setup");case 2:return a=n.sent,n.next=5,Object(d.d)("start_site_setup");case 5:if(i=n.sent,!a.cacheHit){n.next=10;break}return n.next=9,Object(d.c)("start_user_setup");case 9:Object(g.J)("".concat(e,"_setup"),"complete_user_setup",t?"proxy":"custom-oauth");case 10:if(!i.cacheHit){n.next=14;break}return n.next=13,Object(d.c)("start_site_setup");case 13:Object(g.J)("".concat(e,"_setup"),"complete_site_setup",t?"proxy":"custom-oauth");case 14:case"end":return n.stop()}}),n)})));return function(){return n.apply(this,arguments)}}()()}),[e,t,n])}},function(e,t,n){"use strict";var a=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;tLearn more","google-site-kit"),{a:e.createElement(v.a,{path:"/analytics/answer/9216061",external:!0})})))}EnhancedMeasurementSwitch.propTypes={onClick:s.a.func,disabled:s.a.bool,loading:s.a.bool,isEnhancedMeasurementAlreadyEnabled:s.a.bool}}).call(this,n(4))},function(e,t,n){"use strict";var a=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;tObject(D.H)(Y).getTime());var t}));if($)return null;if(!b)return e.createElement("div",{className:p()("googlesitekit-chart","googlesitekit-chart-loading__forced",o)},oe);var ue=Object(M.b)([].concat(c()(n||[]),[{eventName:"ready",callback:function(){var e;if(ce.current&&le.length){var t=ce.current.getChart(),n=null==t?void 0:t.getChartLayoutInterface(),a=null==n?void 0:n.getChartAreaBoundingBox(),r=ce.current.getDataTable();if(n&&a&&r){le.forEach((function(e,t){var r=new Date(e.date),i=document.getElementById("googlesitekit-chart__date-marker-line--".concat(W,"-").concat(t));v()(i,"#googlesitekit-chart__date-marker-line--".concat(W,"-").concat(t," is missing from the DOM, but required to render date markers."));var o=Math.floor(n.getXLocation(Object(D.H)(Object(D.q)(r))));if(Object.assign(i.style,{left:"".concat(o-1,"px"),top:"".concat(Math.floor(a.top),"px"),height:"".concat(Math.floor(a.height),"px"),opacity:1}),e.text){var c=document.getElementById("googlesitekit-chart__date-marker-tooltip--".concat(W,"-").concat(t));v()(c,"#googlesitekit-chart__date-marker-tooltip--".concat(W,"-").concat(t," is missing from the DOM, but required to render date marker tooltips.")),Object.assign(c.style,{left:"".concat(o-9,"px"),top:"".concat(Math.floor(a.top)-18,"px"),opacity:1})}}));var i=null===(e=document.querySelector("#googlesitekit-chart-".concat(W," svg:first-of-type > g:first-of-type > g > g > text")))||void 0===e?void 0:e.parentElement.parentElement.parentElement;!!i&&document.querySelectorAll("#googlesitekit-chart-".concat(W," svg:first-of-type > g")).length>=3&&(i.style.transform="translateY(-10px)")}}}}]),Z,G),de=Object(M.a)(F,z,r,K,Y,H);return e.createElement(N.a,null,e.createElement("div",{className:p()("googlesitekit-chart","googlesitekit-chart--".concat(r),o),id:"googlesitekit-chart-".concat(W),tabIndex:-1},e.createElement(O.a,l()({className:"googlesitekit-chart__inner",chartEvents:ue,chartLanguage:Object(D.s)(),chartType:r,chartVersion:"49",data:ae,loader:oe,height:f,getChartWrapper:function(e,t){var n,a,r;(ee||te(!0),e!==ce.current)&&(null===(n=se.current)||void 0===n||n.visualization.events.removeAllListeners(null===(a=ce.current)||void 0===a?void 0:a.getChart()),null===(r=se.current)||void 0===r||r.visualization.events.removeAllListeners(ce.current));ce.current=e,se.current=t,g&&g(e,t)},width:U,options:de},V)),z&&ee&&e.createElement(T.b,{style:T.a.OVERLAY}),!!le.length&&le.map((function(t,n){return e.createElement(C.a,{key:"googlesitekit-chart__date-marker--".concat(W,"-").concat(n),id:"".concat(W,"-").concat(n),text:t.text})})),i))}GoogleChart.propTypes={className:y.a.string,children:y.a.node,chartEvents:y.a.arrayOf(y.a.shape({eventName:y.a.string,callback:y.a.func})),chartType:y.a.oneOf(["LineChart","PieChart"]).isRequired,data:y.a.array,dateMarkers:y.a.arrayOf(y.a.shape({date:y.a.string.isRequired,text:y.a.string})),getChartWrapper:y.a.func,height:y.a.string,loaded:y.a.bool,loadingHeight:y.a.string,loadingWidth:y.a.string,onMouseOut:y.a.func,onMouseOver:y.a.func,onReady:y.a.func,onSelect:y.a.func,selectedStats:y.a.arrayOf(y.a.number),width:y.a.string,options:y.a.object,gatheringData:y.a.bool},GoogleChart.defaultProps=P(P({},O.a.defaultProps),{},{dateMarkers:[],gatheringData:!1,loaded:!0})}).call(this,n(4),n(26))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupAccountSiteUI}));var a=n(1),r=n.n(a),i=n(0),o=n(3),c=n(11),s=n(32),l=n(142),u=n(365),d=n(27);function SetupAccountSiteUI(t){var n=t.heading,a=t.description,r=t.primaryButton,g=t.secondaryButton,m=Object(o.useSelect)((function(e){return e(d.m).isDoingSubmitChanges()||e(s.a).isNavigating()}));return e.createElement(i.Fragment,null,e.createElement("h3",{className:"googlesitekit-heading-4 googlesitekit-setup-module__title"},n),e.createElement(l.d,null),e.createElement("p",null,a),e.createElement(u.a,null),e.createElement("div",{className:"googlesitekit-setup-module__action"},e.createElement(c.SpinnerButton,{onClick:r.onClick,href:r.href,disabled:m,isSaving:m},r.label),g&&e.createElement("div",{className:"googlesitekit-setup-module__sub-action"},e.createElement(c.Button,{tertiary:!0,onClick:g.onClick},g.label))))}SetupAccountSiteUI.propTypes={heading:r.a.string.isRequired,description:r.a.string.isRequired,primaryButton:r.a.shape({label:r.a.string,href:r.a.string,onClick:r.a.func}).isRequired,secondaryButton:r.a.shape({label:r.a.string,onClick:r.a.func})}}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"a",(function(){return f})),n.d(t,"b",(function(){return p}));var a=n(5),r=n.n(a),i=n(16),o=n.n(i),c=n(10),s=n.n(c),l=n(12),u=n(311),d=n(104),g=n(170),m=n(14),f=function(e,t){var n=t.find((function(t){return t.test(e)}));return!!n&&n.exec(e)[1]},p=Object(l.memoize)(function(){var e=o()(r.a.mark((function e(t){var n,a,i,o;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.homeURL,a=t.ampMode,s()(Object(d.a)(n),"homeURL must be valid URL"),i=[n],m.b!==a){e.next=14;break}return e.prev=4,e.next=7,Object(u.default)({path:"/wp/v2/posts?per_page=1"}).then((function(e){return e.slice(0,1).map((function(e){return Object(g.a)(e.link,{amp:1})})).pop()}));case 7:(o=e.sent)&&i.push(o),e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(4),e.abrupt("return",i);case 14:return e.abrupt("return",i);case 15:case"end":return e.stop()}}),e,null,[[4,11]])})));return function(t){return e.apply(this,arguments)}}())},,,,,,,,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return MetricTileText}));var a=n(21),r=n.n(a),i=n(22),o=n.n(i),c=n(1),s=n.n(c),l=n(182),u=n(9),d=n(178);function MetricTileText(t){var n=t.metricValue,a=t.metricValueFormat,i=t.subText,c=t.previousValue,s=t.currentValue,g=o()(t,["metricValue","metricValueFormat","subText","previousValue","currentValue"]),m=Object(u.n)(a);return e.createElement(d.a,r()({className:"googlesitekit-km-widget-tile--text"},g),e.createElement("div",{className:"googlesitekit-km-widget-tile__metric-container"},e.createElement("div",{className:"googlesitekit-km-widget-tile__metric"},n),e.createElement("p",{className:"googlesitekit-km-widget-tile__subtext"},i)),e.createElement("div",{className:"googlesitekit-km-widget-tile__metric-change-container"},e.createElement(l.a,{previousValue:c,currentValue:s,isAbsolute:"percent"===(null==m?void 0:m.style)})))}MetricTileText.propTypes={metricValue:s.a.oneOfType([s.a.string,s.a.number]),subtext:s.a.string,previousValue:s.a.number,currentValue:s.a.number}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return KeyMetricsCTAContent}));var a=n(15),r=n.n(a),i=n(13),o=n.n(i),c=n(1),s=n.n(c),l=n(234),u=n(0),d=n(3),g=n(14),m=n(7),f=n(25),p=n(9),b=n(19),v=n(17),h=n(334);function KeyMetricsCTAContent(t){var n=t.className,a=t.title,i=t.description,c=t.actions,s=t.ga4Connected,y=Object(u.useRef)(),O=Object(f.e)(),_=Object(b.a)(),E=O===f.b,k=Object(l.a)(y,{threshold:.25}),S=Object(u.useState)(!1),j=r()(S,2),T=j[0],A=j[1],N=!!(null==k?void 0:k.intersectionRatio),C=Object(d.useDispatch)(m.a).triggerSurvey,w=Object(d.useSelect)((function(e){return e(g.c).isUsingProxy()}));return Object(u.useEffect)((function(){N&&!T&&(s&&Object(p.J)("".concat(_,"_kmw-cta-notification"),"view_notification"),w&&C("view_kmw_setup_cta",{ttl:p.g}),A(!0))}),[N,_,s,T,w,C]),e.createElement("section",{ref:y,className:o()("googlesitekit-setup__wrapper","googlesitekit-setup__wrapper--key-metrics-setup-cta",n)},e.createElement(v.e,null,e.createElement(v.k,null,e.createElement(v.a,{smSize:6,mdSize:5,lgSize:6},e.createElement("div",{className:"googlesitekit-widget-key-metrics-text__wrapper"},e.createElement("h3",{className:"googlesitekit-publisher-win__title"},a),e.createElement("p",null,i)),E&&e.createElement(v.a,{className:"googlesitekit-widget-key-metrics-svg__wrapper"},e.createElement(h.a,null)),e.createElement("div",{className:"googlesitekit-widget-key-metrics-actions__wrapper"},c)),!E&&e.createElement(v.a,{className:"googlesitekit-widget-key-metrics-svg__wrapper",smSize:6,mdSize:3,lgSize:6},e.createElement(h.a,null)))))}KeyMetricsCTAContent.propTypes={title:s.a.string,description:s.a.string,actions:s.a.node}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return KeyMetricsCTAFooter}));var a=n(1),r=n.n(a),i=n(2),o=n(17),c=n(20);function KeyMetricsCTAFooter(t){var n=t.onActionClick,a=void 0===n?function(){}:n;return e.createElement(o.k,{className:"googlesitekit-widget-key-metrics-footer"},e.createElement(o.a,{size:12},e.createElement(c.a,{onClick:a},Object(i.__)("Maybe later","google-site-kit"))))}KeyMetricsCTAFooter.propTypes={onActionClick:r.a.func}}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i}));var a=n(449);function r(e){if(Object(a.b)(e))return e.match(/pub-\d+$/)[0]}function i(e){if(Object(a.a)(e))return e.match(/pub-\d+$/)[0]}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return GhostCards}));var a=n(25),r=n(206),i=n(248);function GhostCards(){var t=Object(a.e)();return t===a.d?e.createElement("div",{className:"googlesitekit-ghost-cards googlesitekit-ghost-cards--three-horizontal"},e.createElement(r.a,null),e.createElement(r.a,null),e.createElement(i.a,null)):t===a.c?e.createElement("div",{className:"googlesitekit-ghost-cards googlesitekit-ghost-cards--two-vertical"},e.createElement(r.a,null),e.createElement(i.a,null)):e.createElement("div",{className:"googlesitekit-ghost-cards googlesitekit-ghost-cards--two-horizontal"},e.createElement(r.a,null),e.createElement(i.a,null))}}).call(this,n(4))},,,,,,,,,,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Notice}));var a=n(2),r=n(3),i=n(135),o=n(20),c=n(14);function Notice(){var t=Object(r.useSelect)((function(e){return e(c.c).getDocumentationLinkURL("ga4")}));return e.createElement(i.c,{type:i.a,LearnMore:function LearnMore(){return e.createElement(o.a,{href:t,external:!0},Object(a.__)("Learn more here.","google-site-kit"))},notice:Object(a.__)("Got a Google Analytics property and want to find out how to use it with Site Kit?","google-site-kit")})}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AdBlockerWarningMessage}));var a=n(1),r=n.n(a),i=n(2),o=n(39),c=n(20),s=n(221),l=n(349);function AdBlockerWarningMessage(t){var n=t.className,a=void 0===n?"":n,r=t.getHelpLink,u=void 0===r?"":r,d=t.warningMessage,g=void 0===d?null:d;return g?e.createElement(s.a,{className:a},Object(o.a)(Object(i.sprintf)(
/* translators: 1: The warning message. 2: "Get help" text. */
Object(i.__)("%1$s. %2$s","google-site-kit"),g,Object(i.__)("Get help","google-site-kit")),{Link:e.createElement(c.a,{href:u,external:!0,hideExternalIndicator:!0,trailingIcon:e.createElement(l.a,{width:15,height:15})})})):null}AdBlockerWarningMessage.propTypes={className:r.a.string,getHelpLink:r.a.string,warningMessage:r.a.string}}).call(this,n(4))},function(e,t,n){"use strict";var a=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;ts;s++)i.push(e.createElement("div",{className:"googlesitekit-preview-table__row",key:"table-row-"+s},e.createElement(c.a,{width:"100%",height:a+"px"})));return e.createElement("div",{className:o()("googlesitekit-preview-table",{"googlesitekit-preview-table--padding":r})},i)}PreviewTable.propTypes={rows:r.a.number,rowHeight:r.a.number,padding:r.a.bool},PreviewTable.defaultProps={rows:11,rowHeight:35,padding:!1},t.a=PreviewTable}).call(this,n(4))},,,,,,,,,,,,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ChangeMetricsLink}));var a=n(0),r=n(2),i=n(3),o=n(24),c=n(7),s=n(98),l=n(20),u=n(304),d=n(402),g=n(9),m=n(19),f=n(418);function ChangeMetricsLink(){var t=Object(i.useSelect)((function(e){return e(c.a).getKeyMetrics()})),n=Object(m.a)(),p=Object(i.useDispatch)(o.b).setValue,b=Object(a.useCallback)((function(){p(s.c,!0),Object(g.J)("".concat(n,"_kmw"),"change_metrics")}),[p,n]),v=Array.isArray(t)&&(null==t?void 0:t.length)>0;return Object(f.a)(v),v?e.createElement(a.Fragment,null,e.createElement(l.a,{secondary:!0,linkButton:!0,className:"googlesitekit-widget-area__cta-link",onClick:b,leadingIcon:e.createElement(u.a,{width:22,height:22})},Object(r.__)("Change metrics","google-site-kit")),e.createElement(d.a,null)):null}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return InsufficientPermissionsError}));var a=n(1),r=n.n(a),i=n(0),o=n(39),c=n(2),s=n(3),l=n(14),u=n(20),d=n(245),g=n(9),m=n(19);function InsufficientPermissionsError(t){var n=t.moduleSlug,a=t.onRetry,r=t.infoTooltip,f=t.headerText,p=Object(m.a)(),b=Object(s.useSelect)((function(e){return e(l.c).getErrorTroubleshootingLinkURL({code:"".concat(n,"_insufficient_permissions")})}));Object(i.useEffect)((function(){Object(g.K)("".concat(p,"_kmw"),"insufficient_permissions_error")}),[p]);var v=Object(i.useCallback)((function(){Object(g.J)("".concat(p,"_kmw"),"insufficient_permissions_error_retry"),null==a||a()}),[a,p]);return e.createElement(d.a,{title:Object(c.__)("Insufficient permissions","google-site-kit"),headerText:f,infoTooltip:r},e.createElement("div",{className:"googlesitekit-report-error-actions"},e.createElement("span",{className:"googlesitekit-error-retry-text"},Object(o.a)(Object(c.__)("Permissions updated? Retry","google-site-kit"),{a:e.createElement(u.a,{onClick:v})})),e.createElement("span",{className:"googlesitekit-error-retry-text"},Object(o.a)(Object(c.__)("You’ll need to contact your administrator. Learn more","google-site-kit"),{a:e.createElement(u.a,{href:b,external:!0,hideExternalIndicator:!0})}))))}InsufficientPermissionsError.propTypes={moduleSlug:r.a.string.isRequired,onRetry:r.a.func.isRequired,headerText:r.a.string,infoTooltip:r.a.string}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var a=n(5),r=n.n(a),i=n(16),o=n.n(i),c=n(1),s=n.n(c),l=n(85),u=n(2),d=n(0),g=n(3),m=n(11),f=n(331),p=n(332),b=n(7),v=n(55),h=n(8),y=n(14),O=n(98),_=n(24),E=n(60),k=n(123),S=n(9),j=n(19),T=n(350);function KeyMetricsSetupCTAWidget(t){var n=t.Widget,a=t.WidgetNull,i=Object(j.a)(),c=Object(g.useSelect)((function(e){return e(y.c).getAdminURL("googlesitekit-user-input")})),s=Object(g.useSelect)((function(e){return e(v.b).isGatheringData(),e(v.b).isDataAvailableOnLoad()})),E=Object(g.useSelect)((function(e){return e(h.p).isGatheringData(),e(h.p).isDataAvailableOnLoad()})),A=Object(k.b)(O.d),N=Object(k.c)(O.d).isTooltipVisible,C=Object(g.useSelect)((function(e){return e(b.a).isItemDismissed(O.d)})),w=Object(g.useDispatch)(b.a).dismissItem,I=Object(g.useDispatch)(_.b).setValue,R=function(){var e=o()(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(S.J)("".concat(i,"_kmw-cta-notification"),"dismiss_notification");case 2:return A(),e.next=5,w(O.d);case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),M=Object(d.useCallback)((function(){Object(S.J)("".concat(i,"_kmw"),"tooltip_dismiss")}),[i]),D=Object(d.useCallback)((function(){I(O.c,!0),Object(S.J)("".concat(i,"_kmw-cta-notification"),"confirm_pick_own_metrics")}),[I,i]),x=Object(d.useCallback)((function(){Object(S.J)("".concat(i,"_kmw-cta-notification"),"confirm_get_tailored_metrics")}),[i]);return Object(l.a)((function(){N&&Object(S.J)("".concat(i,"_kmw"),"tooltip_view")})),N?e.createElement(d.Fragment,null,e.createElement(a,null),e.createElement(k.a,{title:Object(u.__)("You can always set up goals from Settings later","google-site-kit"),content:Object(u.__)("The Key Metrics section will be added back to your dashboard once you set your goals in Settings","google-site-kit"),dismissLabel:Object(u.__)("Got it","google-site-kit"),tooltipStateKey:O.d,onDismiss:M})):!1===C&&E&&s?e.createElement(n,{noPadding:!0,Footer:function Footer(){return e.createElement(p.a,{onActionClick:R})}},e.createElement(f.a,{title:Object(u.__)("Get metrics and suggestions tailored to your specific site goals","google-site-kit"),description:Object(u.__)("Answer 3 questions to show relevant stats for your site","google-site-kit"),actions:e.createElement(d.Fragment,null,e.createElement(T.b,null),e.createElement(m.Button,{className:"googlesitekit-key-metrics-cta-button",href:c,onClick:x},Object(u.__)("Get tailored metrics","google-site-kit")),e.createElement(m.Button,{tertiary:!0,onClick:D},Object(u.__)("I’ll pick metrics myself","google-site-kit"))),ga4Connected:!0})):e.createElement(a,null)}KeyMetricsSetupCTAWidget.propTypes={Widget:s.a.elementType.isRequired,WidgetNull:s.a.elementType},t.a=Object(E.a)({moduleName:"analytics-4"})(KeyMetricsSetupCTAWidget)}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return MetricTileNumeric}));var a=n(21),r=n.n(a),i=n(22),o=n.n(i),c=n(1),s=n.n(c),l=n(9),u=n(182),d=n(178);function MetricTileNumeric(t){var n=t.metricValue,a=t.metricValueFormat,i=t.subText,c=t.previousValue,s=t.currentValue,g=o()(t,["metricValue","metricValueFormat","subText","previousValue","currentValue"]),m=Object(l.n)(a);return e.createElement(d.a,r()({className:"googlesitekit-km-widget-tile--numeric"},g),e.createElement("div",{className:"googlesitekit-km-widget-tile__metric-container"},e.createElement("div",{className:"googlesitekit-km-widget-tile__metric"},Object(l.C)(n,m)),e.createElement("p",{className:"googlesitekit-km-widget-tile__subtext"},i)),e.createElement("div",{className:"googlesitekit-km-widget-tile__metric-change-container"},e.createElement(u.a,{previousValue:c,currentValue:s,isAbsolute:"percent"===(null==m?void 0:m.style)})))}MetricTileNumeric.propTypes={metricValue:s.a.oneOfType([s.a.string,s.a.number]),metricValueFormat:s.a.oneOfType([s.a.string,s.a.object]),subtext:s.a.string,previousValue:s.a.number,currentValue:s.a.number}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return MetricTileTable}));var a=n(21),r=n.n(a),i=n(22),o=n.n(i),c=n(1),s=n.n(c),l=n(12),u=n(13),d=n.n(u),g=n(178);function MetricTileTable(t){var n=t.rows,a=void 0===n?[]:n,i=t.columns,c=void 0===i?[]:i,s=t.limit,u=t.ZeroState,m=o()(t,["rows","columns","limit","ZeroState"]),f=null;return(null==a?void 0:a.length)>0?f=a.slice(0,s||a.length).map((function(t,n){return e.createElement("div",{key:n,className:"googlesitekit-table__body-row"},c.map((function(n,a){var r=n.Component,i=n.field,o=n.className,c=void 0!==i?Object(l.get)(t,i):void 0;return e.createElement("div",{key:a,className:d()("googlesitekit-table__body-item",o)},r&&e.createElement(r,{row:t,fieldValue:c}),!r&&c)})))})):u&&(f=e.createElement("div",{className:"googlesitekit-table__body-row googlesitekit-table__body-row--no-data"},e.createElement("div",{className:"googlesitekit-table__body-zero-data"},e.createElement(u,null)))),e.createElement(g.a,r()({className:"googlesitekit-km-widget-tile--table"},m),e.createElement("div",{className:"googlesitekit-km-widget-tile__table"},f))}MetricTileTable.propTypes={rows:s.a.array,columns:s.a.array,limit:s.a.number,ZeroState:s.a.elementType}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return MetricTileTablePlainText}));var a=n(1),r=n.n(a);function MetricTileTablePlainText(t){var n=t.content;return e.createElement("p",{className:"googlesitekit-km-widget-tile__table-plain-text"},n)}MetricTileTablePlainText.propTypes={content:r.a.string.isRequired}}).call(this,n(4))},,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupCompletedSurveyTrigger}));var a=n(0),r=n(3),i=n(14),o=n(7),c=n(9),s=n(199);function SetupCompletedSurveyTrigger(){var t=Object(r.useSelect)((function(e){return e(i.c).isKeyMetricsSetupCompleted()})),n=Object(r.useSelect)((function(e){return e(i.c).getKeyMetricsSetupCompletedBy()})),l=Object(r.useSelect)((function(e){return e(o.a).getID()}));return t?e.createElement(a.Fragment,null,e.createElement(s.a,{triggerID:"view_kmw",ttl:c.g}),n===l&&e.createElement(s.a,{triggerID:"view_kmw_setup_completed",ttl:c.g})):null}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return GetHelpLink}));var a=n(1),r=n.n(a),i=n(39),o=n(2),c=n(20);function GetHelpLink(t){var n=t.linkURL;return Object(i.a)(
/* translators: %s: get help text. */
Object(o.__)("Trouble getting access? ","google-site-kit"),{HelpLink:e.createElement(c.a,{href:n,external:!0,hideExternalIndicator:!0},Object(o.__)("Get help","google-site-kit"))})}GetHelpLink.propTypes={linkURL:r.a.string.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return MetricTileLoader}));var a=n(42);function MetricTileLoader(){return e.createElement("div",{className:"googlesitekit-km-widget-tile__loading"},e.createElement(a.a,{className:"googlesitekit-km-widget-tile__loading-header",width:"100%",height:"14px"}),e.createElement(a.a,{className:"googlesitekit-km-widget-tile__loading-body",width:"100%",height:"53px"}))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return MetricTileHeader}));var a=n(1),r=n.n(a),i=n(136),o=n(96);function MetricTileHeader(t){var n=t.title,a=t.infoTooltip,r=t.loading;return e.createElement("div",{className:"googlesitekit-km-widget-tile__title-container"},e.createElement("h3",{className:"googlesitekit-km-widget-tile__title"},n),r?e.createElement(o.a,null,e.createElement(i.a,{title:a})):e.createElement(i.a,{title:a}))}MetricTileHeader.propTypes={title:r.a.string,infoTooltip:r.a.oneOfType([r.a.string,r.a.element]),loading:r.a.bool}}).call(this,n(4))},,,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ReportTable}));var a=n(13),r=n.n(a),i=n(10),o=n.n(i),c=n(1),s=n.n(c),l=n(12),u=n(100);function ReportTable(t){var n=t.rows,a=t.columns,i=t.className,c=t.limit,s=t.zeroState,d=t.gatheringData,g=void 0!==d&&d;o()(Array.isArray(n),"rows must be an array."),o()(Array.isArray(a),"columns must be an array."),a.forEach((function(e){var t=e.Component,n=e.field,a=void 0===n?null:n;o()(t||null!==a,"each column must define a Component and/or a field.")})),o()(Number.isInteger(c)||void 0===c,"limit must be an integer, if provided.");var m=a.filter((function(e){return!e.hideOnMobile})),f=a.some((function(e){return!!e.badge}));return e.createElement("div",{className:r()("googlesitekit-table","googlesitekit-table--with-list",{"googlesitekit-table--gathering-data":g},i)},e.createElement("table",{className:r()("googlesitekit-table__wrapper","googlesitekit-table__wrapper--".concat(a.length,"-col"),"googlesitekit-table__wrapper--mobile-".concat(m.length,"-col"))},e.createElement("thead",{className:"googlesitekit-table__head"},f&&e.createElement("tr",{className:r()("googlesitekit-table__head-badges",{"hidden-on-mobile":!a.some((function(e){var t=e.badge,n=e.hideOnMobile;return!!t&&!n}))})},a.map((function(t,n){var a=t.badge,i=t.primary,o=t.hideOnMobile,c=t.className;return e.createElement("th",{className:r()("googlesitekit-table__head-item","googlesitekit-table__head-item--badge",{"googlesitekit-table__head-item--primary":i,"hidden-on-mobile":o},c),key:"googlesitekit-table__head-row-badge-".concat(n)},a)}))),e.createElement("tr",{className:"googlesitekit-table__head-row"},a.map((function(t,n){var a=t.title,i=t.description,o=t.primary,c=t.hideOnMobile,s=t.className;return e.createElement("th",{className:r()("googlesitekit-table__head-item",{"googlesitekit-table__head-item--primary":o,"hidden-on-mobile":c},s),"data-tooltip":i,key:"googlesitekit-table__head-row-".concat(n)},a)})))),e.createElement("tbody",{className:"googlesitekit-table__body"},g&&e.createElement("tr",{className:"googlesitekit-table__body-row googlesitekit-table__body-row--no-data"},e.createElement("td",{className:"googlesitekit-table__body-item",colSpan:a.length},e.createElement(u.b,null))),!g&&!(null==n?void 0:n.length)&&s&&e.createElement("tr",{className:"googlesitekit-table__body-row googlesitekit-table__body-row--no-data"},e.createElement("td",{className:"googlesitekit-table__body-item",colSpan:a.length},e.createElement(s,null))),!g&&n.slice(0,c).map((function(t,n){return e.createElement("tr",{className:"googlesitekit-table__body-row",key:"googlesitekit-table__body-row-".concat(n)},a.map((function(n,a){var i=n.Component,o=n.field,c=n.hideOnMobile,s=n.className,u=void 0!==o?Object(l.get)(t,o):void 0;return e.createElement("td",{key:"googlesitekit-table__body-item-".concat(a),className:r()("googlesitekit-table__body-item",{"hidden-on-mobile":c},s)},e.createElement("div",{className:"googlesitekit-table__body-item-content"},i&&e.createElement(i,{row:t,fieldValue:u}),!i&&u))})))})))))}ReportTable.propTypes={rows:s.a.arrayOf(s.a.oneOfType([s.a.array,s.a.object])).isRequired,columns:s.a.arrayOf(s.a.shape({title:s.a.string,description:s.a.string,primary:s.a.bool,className:s.a.string,field:s.a.string,hideOnMobile:s.a.bool,Component:s.a.componentType,badge:s.a.node})).isRequired,className:s.a.string,limit:s.a.number,zeroState:s.a.func,gatheringData:s.a.bool}}).call(this,n(4))},function(e,t,n){"use strict";(function(e,a){var r=n(15),i=n.n(r),o=n(1),c=n.n(o),s=n(12),l=n(13),u=n.n(l),d=n(0);function TableOverflowContainer(t){var n=t.children,r=Object(d.useState)(!1),o=i()(r,2),c=o[0],l=o[1],g=Object(d.useRef)();Object(d.useEffect)((function(){m();var t=Object(s.debounce)(m,100);return e.addEventListener("resize",t),function(){return e.removeEventListener("resize",t)}}),[]);var m=function(){if(g.current){var e=g.current,t=e.scrollLeft,n=e.scrollWidth-e.offsetWidth;l(tc&&o>14){for(;i.scrollWidth>c&&o>14;)o-=1,i.style.fontSize="".concat(o,"px");s=o}}})),c!==s&&d(i,"".concat(s,"px"))}}},d=function(e,t){e.forEach((function(e){var n=null==e?void 0:e.querySelector(".googlesitekit-data-block__datapoint");n&&(n.style.fontSize=t)}))},g=Object(c.a)(u,50);return Object(r.a)((function(){u(),e.addEventListener("resize",g)})),Object(i.a)((function(){return e.removeEventListener("resize",g)})),a.createElement("div",{ref:l,className:n},s)}}).call(this,n(26),n(4))},function(e,t,n){"use strict";(function(e,a){var r=n(49),i=n.n(r),o=n(50),c=n.n(o),s=n(230),l=n.n(s),u=n(65),d=n.n(u),g=n(66),m=n.n(g),f=n(46),p=n.n(f),b=n(195),v=n.n(b),h=n(1),y=n.n(h),O=n(0),_=n(2),E=n(84),k=n(171),S=n(62),j=n(9);function T(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,a=p()(e);if(t){var r=p()(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return m()(this,n)}}var A=function(t){d()(GoogleChartErrorHandler,t);var n=T(GoogleChartErrorHandler);function GoogleChartErrorHandler(e){var t;return i()(this,GoogleChartErrorHandler),(t=n.call(this,e)).state={error:null,info:null},t.onErrorClick=t.onErrorClick.bind(l()(t)),t}return c()(GoogleChartErrorHandler,[{key:"componentDidCatch",value:function(t,n){e.console.error("Google Charts error:",t,n),this.setState({error:t,info:n}),Object(j.J)("google_chart_error","handle_".concat(this.context||"unknown","_error"),"".concat(null==t?void 0:t.message,"\n").concat(null==n?void 0:n.componentStack).slice(0,500))}},{key:"onErrorClick",value:function(){var e=this.state,t=e.error,n=e.info;v()("`".concat(null==t?void 0:t.message,"\n").concat(null==n?void 0:n.componentStack,"`"))}},{key:"render",value:function(){var e=this.props.children,t=this.state,n=t.error,r=t.info;return n?a.createElement("div",{className:"googlesitekit-googlechart-error-handler"},a.createElement(E.a,{description:a.createElement(O.Fragment,null,a.createElement("p",null,Object(_.__)("An error prevented this Google chart from being displayed properly. Report the exact contents of the error on the support forum to find out what caused it.","google-site-kit")),a.createElement(k.a,{message:n.message,componentStack:r.componentStack})),error:!0,onErrorClick:this.onErrorClick,onClick:this.onErrorClick,title:Object(_.__)("Error in Google Chart","google-site-kit")})):e}}]),GoogleChartErrorHandler}(O.Component);A.contextType=S.b,A.propTypes={children:y.a.node.isRequired},t.a=A}).call(this,n(26),n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return DateMarker}));var a=n(0),r=n(240),i=n(533),o=n(11),c=n(19),s=n(165),l=n(9);function DateMarker(t){var n=t.id,u=t.text,d=Object(c.a)(),g="".concat(d,"_ga4-data-collection-line");Object(a.useEffect)((function(){Object(l.J)(g,"chart_line_view")}),[g]);var m=Object(a.useCallback)((function(){Object(l.J)(g,"chart_tooltip_view")}),[g]),f=Object(s.a)(m,5e3,{leading:!0,trailing:!1});return e.createElement(a.Fragment,null,e.createElement("div",{id:"googlesitekit-chart__date-marker-line--".concat(n),className:"googlesitekit-chart__date-marker-line"}),u&&e.createElement("div",{id:"googlesitekit-chart__date-marker-tooltip--".concat(n),className:"googlesitekit-chart__date-marker-tooltip"},e.createElement(o.Tooltip,{title:u,onOpen:f},e.createElement("span",null,e.createElement(r.a,{fill:"currentColor",icon:i.a,size:18})))))}}).call(this,n(4))},,function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var a=n(0),r=n(3),i=n(14),o=n(7),c=n(2),s=n(23),l={slug:"sharedKeyMetrics",contexts:[s.m,s.n,s.k,s.l],gaEventCategory:function(e){return"".concat(e,"_shared_key-metrics")},steps:[{target:".googlesitekit-km-change-metrics-cta",title:Object(c.__)("Personalize your key metrics","google-site-kit"),content:Object(c.__)("Another admin has set up these tailored metrics for your site. Click here to personalize them.","google-site-kit"),placement:"bottom-start"}]},u=function(e){var t=Object(r.useSelect)((function(e){return e(i.c).getKeyMetricsSetupCompletedBy()})),n=Object(r.useSelect)((function(e){return e(o.a).getID()})),c=Object(r.useDispatch)(o.a).triggerOnDemandTour,s=Number.isInteger(t)&&Number.isInteger(n)&&t>0&&n!==t;Object(a.useEffect)((function(){e&&s&&c(l)}),[e,s,c])}},function(e,t,n){"use strict";var a=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;tLearn more","google-site-kit"),{a:e.createElement(c.a,{path:"/adsense/answer/6023158",external:!0,"aria-label":Object(i.__)("Learn more about updating your AdSense account","google-site-kit")})})),e.createElement("div",{className:"googlesitekit-setup-module__action"},e.createElement(o.Button,{href:"https://www.google.com/adsense",target:"_blank","aria-label":Object(i.__)("Learn more about updating your AdSense account","google-site-kit"),onClick:n},Object(i.__)("Apply now","google-site-kit"))))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e,a){n.d(t,"a",(function(){return SetupAccountCreateSite}));var r=n(0),i=n(2),o=n(3),c=n(11),s=n(27),l=n(142),u=n(9),d=n(19);function SetupAccountCreateSite(){var t=Object(d.a)(),n=Object(o.useSelect)((function(e){return e(s.m).getServiceAccountManageSiteURL()})),g=Object(r.useCallback)((function(a){a.preventDefault(),Object(u.J)("".concat(t,"_adsense"),"create_site"),e.open(n,"_blank")}),[n,t]);return a.createElement(r.Fragment,null,a.createElement("h3",{className:"googlesitekit-heading-4 googlesitekit-setup-module__title"},Object(i.__)("Add this site to your AdSense account","google-site-kit")),a.createElement(l.d,null),a.createElement("p",null,Object(i.__)("We’ve detected that you haven’t added this site to your AdSense account yet","google-site-kit")),a.createElement("div",{className:"googlesitekit-setup-module__action"},a.createElement(c.Button,{onClick:g,href:n},Object(i.__)("Add site to AdSense","google-site-kit"))))}}).call(this,n(26),n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupAccountPendingTasks}));var a=n(0),r=n(2),i=n(3),o=n(11),c=n(365),s=n(27),l=n(142),u=n(9),d=n(19);function SetupAccountPendingTasks(){var t=Object(d.a)(),n=Object(a.useCallback)((function(){Object(u.J)("".concat(t,"_adsense"),"review_tasks")}),[t]),g=Object(i.useSelect)((function(e){return e(s.m).getServiceAccountURL()}));return e.createElement(a.Fragment,null,e.createElement("h3",{className:"googlesitekit-heading-4 googlesitekit-setup-module__title"},Object(r.__)("Your account isn’t ready to show ads yet","google-site-kit")),e.createElement(l.d,null),e.createElement("p",null,Object(r.__)("You need to fix some things before we can connect Site Kit to your AdSense account","google-site-kit")),e.createElement(c.a,null),e.createElement("div",{className:"googlesitekit-setup-module__action"},e.createElement(o.Button,{onClick:n,href:g},Object(r.__)("Review AdSense account","google-site-kit"))))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e,a){n.d(t,"a",(function(){return SetupCreateAccount}));var r=n(5),i=n.n(r),o=n(16),c=n.n(o),s=n(0),l=n(39),u=n(2),d=n(3),g=n(11),m=n(172),f=n(9),p=n(333),b=n(27),v=n(7),h=n(142),y=n(19);function SetupCreateAccount(){var t=Object(y.a)(),n="".concat(t,"_adsense"),r=Object(d.useSelect)((function(e){return e(v.a).getEmail()})),o=Object(d.useSelect)((function(e){return e(b.m).getExistingTag()})),O=Object(d.useSelect)((function(e){return e(b.m).getServiceCreateAccountURL()})),_=Object(s.useCallback)(function(){var t=c()(i.a.mark((function t(a){return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a.preventDefault(),t.next=3,Object(f.J)(n,"create_account");case 3:e.open(O,"_blank");case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),[O,n]);return a.createElement(s.Fragment,null,a.createElement("h3",{className:"googlesitekit-heading-4 googlesitekit-setup-module__title"},Object(u.__)("Create your AdSense account","google-site-kit")),a.createElement(h.d,null),a.createElement("p",null,Object(u.__)("Once you create your account, Site Kit will place AdSense code on every page across your site. This means your site will be automatically optimized to help you earn money from your content.","google-site-kit")),a.createElement(h.f,null),a.createElement("div",{className:"googlesitekit-setup-module__action"},a.createElement(g.Button,{onClick:_,href:O},Object(u.__)("Create AdSense account","google-site-kit"))),a.createElement("p",{className:"googlesitekit-setup-module__footer-text"},o&&Object(u.sprintf)(
/* translators: 1: client ID, 2: user email address, 3: account ID */
Object(u.__)("Site Kit detected AdSense code %1$s on your page. We recommend you remove that code or add %2$s as a user to the AdSense account %3$s.","google-site-kit"),o,r,Object(p.a)(o)),!o&&Object(l.a)(Object(u.sprintf)(
/* translators: %s: user email address */
Object(u.__)("Already use AdSense? Add %s as a user to an existing AdSense account. Learn more","google-site-kit"),r),{a:a.createElement(m.a,{path:"/adsense/answer/2659101",external:!0,"aria-label":Object(u.__)("Learn more about adding a user to an existing AdSense account","google-site-kit")})})))}}).call(this,n(26),n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupSelectAccount}));var a=n(0),r=n(2),i=n(142);function SetupSelectAccount(){return e.createElement(a.Fragment,null,e.createElement("h3",{className:"googlesitekit-heading-4 googlesitekit-setup-module__title"},Object(r.__)("Select your AdSense account","google-site-kit")),e.createElement(i.d,null),e.createElement("p",null,Object(r.__)("Looks like you have multiple AdSense accounts associated with your Google account. Select the account to use with Site Kit below.","google-site-kit")),e.createElement("div",{className:"googlesitekit-setup-module__inputs"},e.createElement(i.a,null)))}}).call(this,n(4))},,,function(e,t,n){"use strict";function a(e){return"string"==typeof e&&/^pub-\d+$/.test(e)}function r(e){return"string"==typeof e&&/^ca-pub-\d+$/.test(e)}n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return r}))},,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AccountCreate}));var a=n(5),r=n.n(a),i=n(16),o=n.n(i),c=n(15),s=n.n(c),l=n(2),u=n(0),d=n(38),g=n.n(d),m=n(3),f=n(11),p=n(8),b=n(14),v=n(7),h=n(29),y=n(32),O=n(40),_=n(9),E=n(513),k=n(17),S=n(148),j=n(514),T=n(515),A=n(516),N=n(517),C=n(518),w=n(303),I=n(19);function AccountCreate(){var t=Object(u.useState)(!1),n=s()(t,2),a=n[0],i=n[1],c=Object(m.useSelect)((function(e){return e(p.p).getAccountSummaries()})),d=Object(m.useSelect)((function(e){return e(p.p).hasFinishedResolution("getAccountSummaries")})),R=Object(m.useSelect)((function(e){return e(p.p).getAccountTicketTermsOfServiceURL()})),M=Object(m.useSelect)((function(e){return e(p.p).canSubmitAccountCreate()})),D=Object(m.useSelect)((function(e){return e(p.p).isDoingCreateAccount()})),x=Object(m.useSelect)((function(e){return e(v.a).hasScope(p.g)})),L=Object(m.useSelect)((function(e){return e(v.a).hasScope(p.n)})),P=Object(m.useSelect)((function(e){return e(h.a).hasForm(p.k)})),Z=Object(m.useSelect)((function(e){return e(h.a).getValue(p.k,"autoSubmit")})),G=Object(m.useSelect)((function(e){return e(b.c).getReferenceSiteURL()})),B=Object(m.useSelect)((function(e){return e(b.c).getSiteName()})),U=Object(m.useSelect)((function(e){return e(b.c).getTimezone()})),F=Object(I.a)(),z=Object(m.useDispatch)(h.a).setValues,V=Object(m.useDispatch)(y.a).navigateTo,W=Object(m.useDispatch)(p.p).createAccount,H=Object(m.useDispatch)(v.a).setPermissionScopeError,q=x;Object(u.useEffect)((function(){R&&o()(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,g.a.invalidateCache("modules","analytics-4");case 2:V(R);case 3:case"end":return e.stop()}}),e)})))()}),[R,V]),Object(u.useEffect)((function(){P||z(p.k,Object(E.a)({siteName:B,siteURL:G,timezone:U}))}),[P,B,G,U,z]);var K=Object(u.useCallback)(o()(r.a.mark((function e(){var t,n;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=[],x||t.push(p.g),L||t.push(p.n),!(t.length>0)){e.next=7;break}return z(p.k,{autoSubmit:!0}),H({code:O.a,message:Object(l.__)("Additional permissions are required to create a new Analytics account.","google-site-kit"),data:{status:403,scopes:t,skipModal:!0}}),e.abrupt("return");case 7:return z(p.k,{autoSubmit:!1}),e.next=10,Object(_.J)("".concat(F,"_analytics"),"create_account","proxy");case 10:return e.next=12,W();case 12:n=e.sent,n.error||i(!0);case 15:case"end":return e.stop()}}),e)}))),[W,i,x,L,H,z,F]);Object(u.useEffect)((function(){q&&Z&&K()}),[q,Z,K]);var Y=Object(m.useDispatch)(p.p).rollbackSettings,J=Object(u.useCallback)((function(){return Y()}),[Y]);return D||a||!d||void 0===q?e.createElement(f.ProgressBar,null):e.createElement("div",null,e.createElement(S.a,{moduleSlug:"analytics-4",storeName:p.p}),e.createElement("h3",{className:"googlesitekit-heading-4"},Object(l.__)("Create your Analytics account","google-site-kit")),e.createElement("p",null,Object(l.__)("We’ve pre-filled the required information for your new account. Confirm or edit any details:","google-site-kit")),e.createElement("div",{className:"googlesitekit-setup-module__inputs"},e.createElement(k.a,{size:6},e.createElement(T.a,null)),e.createElement(k.a,{size:6},e.createElement(A.a,null)),e.createElement(k.a,{size:6},e.createElement(C.a,null))),e.createElement("div",{className:"googlesitekit-setup-module__inputs"},e.createElement(N.a,null),e.createElement(j.a,null)),e.createElement("div",{className:"googlesitekit-setup-module__inputs"},e.createElement(w.a,{formName:p.k})),e.createElement("p",null,q&&e.createElement("span",null,Object(l.__)("You will be redirected to Google Analytics to accept the terms of service.","google-site-kit")),!q&&e.createElement("span",null,Object(l.__)("You will need to give Site Kit permission to create an Analytics account on your behalf and also accept the Google Analytics terms of service.","google-site-kit"))),e.createElement("div",{className:"googlesitekit-setup-module__action"},e.createElement(f.Button,{disabled:!M,onClick:K},Object(l.__)("Create Account","google-site-kit")),c&&!!c.length&&e.createElement(f.Button,{tertiary:!0,className:"googlesitekit-setup-module__sub-action",onClick:J},Object(l.__)("Back","google-site-kit"))))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AccountSelect}));var a=n(1),r=n.n(a),i=n(0),o=n(2),c=n(11),s=n(3),l=n(8),u=n(9),d=n(19);function AccountSelect(t){var n=t.hasModuleAccess,a=t.onChange,r=Object(d.a)(),g=Object(s.useSelect)((function(e){return e(l.p).getAccountID()})),m=Object(s.useSelect)((function(e){return e(l.p).getAccountSummaries()})),f=Object(s.useSelect)((function(e){return e(l.p).hasFinishedResolution("getAccountSummaries")})),p=Object(s.useDispatch)(l.p).selectAccount,b=Object(i.useCallback)((function(e,t){var n=t.dataset.value;if(g!==n){p(n);var i=n===l.a?"change_account_new":"change_account";Object(u.J)("".concat(r,"_analytics"),i),a&&a()}}),[g,p,r,a]);return f?!1===n?e.createElement(c.Select,{className:"googlesitekit-analytics__select-account",label:Object(o.__)("Account","google-site-kit"),value:g,enhanced:!0,outlined:!0,disabled:!0},e.createElement(c.Option,{value:g},g)):e.createElement(c.Select,{className:"googlesitekit-analytics__select-account",label:Object(o.__)("Account","google-site-kit"),value:g,onEnhancedChange:b,enhanced:!0,outlined:!0},(m||[]).concat({_id:l.a,displayName:Object(o.__)("Set up a new account","google-site-kit")}).map((function(t,n){var a=t._id,r=t.displayName;return e.createElement(c.Option,{key:n,value:a},r)}))):e.createElement(c.ProgressBar,{small:!0})}AccountSelect.propTypes={hasModuleAccess:r.a.bool}}).call(this,n(4))},function(e,t,n){"use strict";(function(e,a){n.d(t,"a",(function(){return AccountCreateLegacy}));var r=n(5),i=n.n(r),o=n(16),c=n.n(o),s=n(0),l=n(2),u=n(3),d=n(11),g=n(9),m=n(8),f=n(148),p=n(347),b=n(19);function AccountCreateLegacy(){var t=Object(u.useSelect)((function(e){return e(m.p).getAccountSummaries()})),n=Object(u.useSelect)((function(e){return e(m.p).hasFinishedResolution("getAccountSummaries")})),r=Object(u.useSelect)((function(e){return e(m.p).getAccountID()})),o=m.a===r,v=Object(u.useSelect)((function(e){return e(m.p).getServiceURL({path:"/provision/SignUp"})})),h=Object(b.a)(),y=Object(s.useCallback)(function(){var t=c()(i.a.mark((function t(n){return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n.preventDefault(),t.next=3,Object(g.J)("".concat(h,"_analytics"),"create_account","custom-oauth");case 3:e.open(v,"_blank");case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),[v,h]),O=Object(u.useDispatch)(m.p).resetAccountSummaries,_=Object(s.useCallback)((function(){O()}),[O]);return n?a.createElement("div",null,a.createElement(p.a,null),a.createElement(f.a,{moduleSlug:"analytics-4",storeName:m.p}),!o&&t&&0===t.length&&a.createElement("p",null,Object(l.__)('Looks like you don’t have an Analytics account yet. Once you create it, click on "Re-fetch my account" and Site Kit will locate it.',"google-site-kit")),o&&a.createElement(s.Fragment,null,a.createElement("p",null,Object(l.__)("To create a new account, click the button below which will open the Google Analytics account creation screen in a new window.","google-site-kit")),a.createElement("p",null,Object(l.__)("Once completed, click the link below to re-fetch your accounts to continue.","google-site-kit"))),a.createElement("div",{className:"googlesitekit-setup-module__action"},a.createElement(d.Button,{onClick:y},Object(l.__)("Create an account","google-site-kit")),a.createElement("div",{className:"googlesitekit-setup-module__sub-action"},a.createElement(d.Button,{tertiary:!0,onClick:_},Object(l.__)("Re-fetch My Account","google-site-kit"))))):a.createElement(d.ProgressBar,null)}}).call(this,n(26),n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WebDataStreamSelect}));var a=n(13),r=n.n(a),i=n(1),o=n.n(i),c=n(0),s=n(2),l=n(11),u=n(3),d=n(8),g=n(53),m=n(9),f=n(19);function WebDataStreamSelect(t){var n=t.hasModuleAccess,a=t.isDisabled,i=t.className,o=t.onChange,p=Object(u.useSelect)((function(e){return e(d.p).getAccountID()})),b=Object(u.useSelect)((function(e){return e(d.p).getSettings()||{}})),v=b.propertyID,h=b.webDataStreamID,y=b.measurementID,O=Object(u.useSelect)((function(e){return Object(g.e)(v)&&!1!==n?e(d.p).getWebDataStreams(v):[]})),_=Object(u.useSelect)((function(e){return!a&&e(d.p).isLoadingWebDataStreams({hasModuleAccess:n})})),E=Object(f.a)(),k=Object(u.useDispatch)(d.p),S=k.setWebDataStreamID,j=k.updateSettingsForMeasurementID,T=Object(c.useCallback)((function(e,t){var n,a,r=t.dataset.value;h!==r&&(S(r),j((null===(n=O.find((function(e){return e._id===r})))||void 0===n||null===(a=n.webStreamData)||void 0===a?void 0:a.measurementId)||""),Object(m.J)("".concat(E,"_analytics"),r===d.x?"change_webdatastream_new":"change_webdatastream","ga4"),o&&o())}),[O,h,S,j,E,o]);if(!Object(g.a)(p))return null;if(_)return e.createElement(l.ProgressBar,{smallHeight:80,desktopHeight:88,small:!0});var A=void 0===h||""===h||Object(g.i)(h);return!1===n?e.createElement(l.Select,{className:r()("googlesitekit-analytics-4__select-webdatastream",i),label:Object(s.__)("Web Data Stream","google-site-kit"),value:y,enhanced:!0,outlined:!0,disabled:!0},e.createElement(l.Option,{value:y},y)):e.createElement(l.Select,{className:r()("googlesitekit-analytics-4__select-webdatastream",i,{"mdc-select--invalid":!A}),label:Object(s.__)("Web Data Stream","google-site-kit"),value:h,onEnhancedChange:T,disabled:a||!Object(g.f)(v),enhanced:!0,outlined:!0},(O||[]).concat({_id:d.x,displayName:Object(s.__)("Set up a new web data stream","google-site-kit")}).map((function(t,n){var a=t._id,r=t.displayName,i=t.webStreamData,o=void 0===i?{}:i;return e.createElement(l.Option,{key:n,value:a},a!==d.x&&(null==o?void 0:o.measurementId)?Object(s.sprintf)(
/* translators: 1: Data stream name. 2: Measurement ID. */
Object(s._x)("%1$s (%2$s)","Analytics data stream name and measurement ID","google-site-kit"),r,o.measurementId):r)})))}WebDataStreamSelect.propTypes={hasModuleAccess:o.a.bool,isDisabled:o.a.bool,className:o.a.string}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return PropertySelect}));var a=n(13),r=n.n(a),i=n(1),o=n.n(i),c=n(0),s=n(2),l=n(11),u=n(3),d=n(8),g=n(53),m=n(9),f=n(19);function PropertySelect(t){var n=t.isDisabled,a=t.hasModuleAccess,i=t.className,o=t.onChange,p=void 0===o?function(){}:o,b=Object(u.useSelect)((function(e){return e(d.p).getAccountID()})),v=Object(u.useSelect)((function(e){return!1===a||n?null:e(d.p).getPropertySummaries(b)||[]})),h=Object(u.useSelect)((function(e){return e(d.p).getPropertyID()})),y=Object(u.useSelect)((function(e){return!n&&(e(d.p).isLoadingPropertySummaries()||e(d.p).isLoadingWebDataStreams({hasModuleAccess:a}))})),O=Object(f.a)(),_=Object(u.useDispatch)(d.p).selectProperty,E=Object(c.useCallback)((function(e,t){var n=t.dataset.value;h!==n&&(_(n),Object(m.J)("".concat(O,"_analytics"),n===d.q?"change_property_new":"change_property","ga4"),p())}),[p,h,_,O]);if(!Object(g.a)(b))return null;if(y)return e.createElement(l.ProgressBar,{smallHeight:80,desktopHeight:88,small:!0});var k=void 0===h||""===h||Object(g.f)(h);return!1===a?e.createElement(l.Select,{className:r()("googlesitekit-analytics-4__select-property",i),label:Object(s.__)("Property","google-site-kit"),value:h,enhanced:!0,outlined:!0,disabled:!0},e.createElement(l.Option,{value:h},h)):e.createElement(l.Select,{className:r()("googlesitekit-analytics-4__select-property",i,{"mdc-select--invalid":!k,"googlesitekit-analytics-4__select-property--loaded":!n&&!y}),label:Object(s.__)("Property","google-site-kit"),value:h,onEnhancedChange:E,disabled:n,enhanced:!0,outlined:!0},(v||[]).concat({_id:d.q,displayName:Object(s.__)("Set up a new property","google-site-kit")}).map((function(t){var n=t._id,a=t.displayName;return e.createElement(l.Option,{key:n,value:n},n===d.q?a:Object(s.sprintf)(
/* translators: 1: Property name. 2: Property ID. */
Object(s._x)("%1$s (%2$s)","Analytics property name and ID","google-site-kit"),a,n))})))}PropertySelect.propTypes={isDisabled:o.a.bool,hasModuleAccess:o.a.bool,className:o.a.string,onChange:o.a.func}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WebDataStreamNameInput}));var a=n(13),r=n.n(a),i=n(85),o=n(0),c=n(2),s=n(104),l=n(3),u=n(29),d=n(14),g=n(8),m=n(413),f=n(11),p=n(53);function WebDataStreamNameInput(){var t=Object(l.useSelect)((function(e){return e(g.p).getPropertyID()})),n=Object(l.useSelect)((function(e){return e(g.p).getWebDataStreamID()})),a=Object(l.useSelect)((function(e){return e(u.a).getValue(g.m,"webDataStreamName")})),b=Object(l.useSelect)((function(e){return!!Object(p.e)(t)&&e(g.p).doesWebDataStreamExist(t,a)})),v=Object(l.useSelect)((function(e){return e(d.c).getReferenceSiteURL()})),h=Object(l.useDispatch)(u.a).setValues,y=Object(o.useCallback)((function(e){var t=e.currentTarget;h(g.m,{webDataStreamName:t.value})}),[h]);if(Object(i.a)((function(){if(!a&&Object(s.a)(v)){var e=new URL(v).hostname;h(g.m,{webDataStreamName:e})}})),n!==g.x)return null;var O=b||!a||!Object(p.h)(a),_=!1;return b?_=Object(c.__)("A web data stream with this name already exists.","google-site-kit"):a?Object(p.h)(a)||(_=Object(c.__)("This is not a valid web data stream name.","google-site-kit")):_=Object(c.__)("A web data stream name is required.","google-site-kit"),e.createElement("div",{className:"googlesitekit-analytics-webdatastreamname"},e.createElement(f.TextField,{className:r()({"mdc-text-field--error":O}),label:Object(c.__)("Web Data Stream Name","google-site-kit"),outlined:!0,helperText:_,trailingIcon:O&&e.createElement("span",{className:"googlesitekit-text-field-icon--error"},e.createElement(m.a,null)),value:a,onChange:y}))}}).call(this,n(4))},,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ModuleSettingsWarning}));var a=n(3),r=n(18),i=n(7),o=n(221),c=n(210);function ModuleSettingsWarning(t){var n=t.slug,s=Object(a.useSelect)((function(e){var t;return null===(t=e(r.a))||void 0===t?void 0:t.getCheckRequirementsError(n)}));return s?i.c===s.code?e.createElement(c.a,{moduleSlug:n}):e.createElement(o.a,null,s.message):null}}).call(this,n(4))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";var a=n(0);function r(){return(r=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:0;Object(a.useEffect)((function(){var a,r=!1,i=function(){a=e.setTimeout((function(){r=!0}),n)},o=function(){e.clearTimeout(a),r&&(r=!1,t())};return e.addEventListener("focus",o),e.addEventListener("blur",i),function(){e.removeEventListener("focus",o),e.removeEventListener("blur",i),e.clearTimeout(a)}}),[n,t])}}).call(this,n(26))},function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var a=n(6),r=n.n(a),i=n(10),o=n.n(i),c=n(104),s=n(197),l=n(8);function u(e){var t=e.siteName,n=e.siteURL,a=e.timezone,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Intl.DateTimeFormat().resolvedOptions().timeZone;o()(Object(c.a)(n),"A valid siteURL is required.");var u=new URL(n),d=u.hostname,g=u.pathname;return r()({accountName:t||d,propertyName:"".concat(d).concat(g).replace(/\/$/,""),dataStreamName:d,countryCode:s.c[a]||s.c[i],timezone:s.c[a]?a:i},l.h,!0)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return TimezoneSelect}));var a=n(0),r=n(2),i=n(11),o=n(3),c=n(197),s=n(8),l=n(29);function TimezoneSelect(){var t=Object(o.useSelect)((function(e){return e(l.a).getValue(s.k,"countryCode")})),n=Object(o.useSelect)((function(e){return e(l.a).getValue(s.k,"timezone")})),u=Object(o.useDispatch)(l.a).setValues,d=Object(a.useCallback)((function(e,t){u(s.k,{timezone:t.dataset.value})}),[u]);return e.createElement(i.Select,{className:"googlesitekit-analytics__select-timezone",label:Object(r.__)("Timezone","google-site-kit"),value:n,onEnhancedChange:d,disabled:!t,enhanced:!0,outlined:!0},(c.d[t]||[]).map((function(t,n){var a=t.timeZoneId,r=t.displayName;return e.createElement(i.Option,{key:n,value:a},r)})))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AccountField}));var a=n(0),r=n(2),i=n(297),o=n(3),c=n(8),s=n(29);function AccountField(){var t=Object(o.useSelect)((function(e){return e(s.a).getValue(c.k,"accountName")})),n=Object(o.useDispatch)(s.a).setValues,l=Object(a.useCallback)((function(e){n(c.k,{accountName:e})}),[n]);return e.createElement(i.a,{label:Object(r.__)("Account","google-site-kit"),hasError:!t,value:t,setValue:l,name:"account"})}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return PropertyField}));var a=n(0),r=n(2),i=n(297),o=n(3),c=n(8),s=n(29);function PropertyField(){var t=Object(o.useSelect)((function(e){return e(s.a).getValue(c.k,"propertyName")})),n=Object(o.useDispatch)(s.a).setValues,l=Object(a.useCallback)((function(e){n(c.k,{propertyName:e})}),[n]);return e.createElement(i.a,{label:Object(r.__)("Property","google-site-kit"),value:t,hasError:!t,setValue:l,name:"property"})}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return CountrySelect}));var a=n(0),r=n(2),i=n(11),o=n(3),c=n(197),s=n(8),l=n(29);function CountrySelect(){var t=Object(o.useSelect)((function(e){return e(l.a).getValue(s.k,"countryCode")})),n=Object(o.useDispatch)(l.a).setValues,u=Object(a.useCallback)((function(e,a){var r=a.dataset.value;r!==t&&c.b[r]&&n(s.k,{countryCode:r,timezone:c.b[r].defaultTimeZoneId})}),[n,t]);return e.createElement(i.Select,{className:"googlesitekit-analytics__select-country",label:Object(r.__)("Country","google-site-kit"),value:t,onEnhancedChange:u,enhanced:!0,outlined:!0},c.a.map((function(t,n){var a=t.countryCode,r=t.displayName;return e.createElement(i.Option,{key:n,value:a},r)})))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WebDataStreamField}));var a=n(0),r=n(2),i=n(297),o=n(3),c=n(8),s=n(29);function WebDataStreamField(){var t=Object(o.useSelect)((function(e){return e(s.a).getValue(c.k,"dataStreamName")})),n=Object(o.useDispatch)(s.a).setValues,l=Object(a.useCallback)((function(e){n(c.k,{dataStreamName:e})}),[n]);return e.createElement(i.a,{label:Object(r.__)("Web Data Stream","google-site-kit"),value:t,hasError:!t,setValue:l,name:"dataStream"})}}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"a",(function(){return h}));var a=n(6),r=n.n(a),i=n(16),o=n.n(i),c=n(5),s=n.n(c),l=n(10),u=n.n(l),d=n(3),g=n(14),m=n(319);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function p(e){for(var t=1;t=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){c=!0,i=e},f:function(){try{o||null==n.return||n.return()}finally{if(c)throw i}}}}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n0&&void 0!==arguments[0]?arguments[0]:{},n=t.storeName,a=t.isValidTag,i=t.tagMatchers;u()("string"==typeof n&&n,"storeName is required."),u()("function"==typeof a,"isValidTag must be a function."),u()(Array.isArray(i),"tagMatchers must be an Array.");var c={existingTag:void 0},l={fetchGetExistingTag:function(){return{payload:{},type:"FETCH_GET_EXISTING_TAG"}},receiveGetExistingTag:function(e){return u()(null===e||"string"==typeof e,"existingTag must be a tag string or null."),{payload:{existingTag:a(e)?e:null},type:"RECEIVE_GET_EXISTING_TAG"}},waitForExistingTag:s.a.mark((function e(){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,{payload:{},type:"WAIT_FOR_EXISTING_TAG"};case 2:case"end":return e.stop()}}),e)}))},f=(e={},r()(e,"FETCH_GET_EXISTING_TAG",Object(d.createRegistryControl)((function(e){return o()(s.a.mark((function t(){var n,a,r,o,c,l,u,d;return s.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.select(g.c).getHomeURL(),a=e.select(g.c).getAMPMode(),t.next=4,Object(m.b)({homeURL:n,ampMode:a});case 4:r=t.sent,o=b(r),t.prev=6,o.s();case 8:if((c=o.n()).done){t.next=18;break}return l=c.value,t.next=12,e.dispatch(g.c).waitForHTMLForURL(l);case 12:if(u=e.select(g.c).getHTMLForURL(l),!(d=Object(m.a)(u,i))){t.next=16;break}return t.abrupt("return",d);case 16:t.next=8;break;case 18:t.next=23;break;case 20:t.prev=20,t.t0=t.catch(6),o.e(t.t0);case 23:return t.prev=23,o.f(),t.finish(23);case 26:return t.abrupt("return",null);case 27:case"end":return t.stop()}}),t,null,[[6,20,23,26]])})))}))),r()(e,"WAIT_FOR_EXISTING_TAG",Object(d.createRegistryControl)((function(e){return function(){var t=function(){return void 0!==e.select(n).getExistingTag()};return!!t()||new Promise((function(n){var a=e.subscribe((function(){t()&&(a(),n())}))}))}}))),e),v=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c,t=arguments.length>1?arguments[1]:void 0,n=t.type,a=t.payload;switch(n){case"RECEIVE_GET_EXISTING_TAG":var r=a.existingTag;return p(p({},e),{},{existingTag:r});default:return e}},h={getExistingTag:s.a.mark((function e(){var t,a;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,d.commonActions.getRegistry();case 2:if(void 0!==(t=e.sent).select(n).getExistingTag()){e.next=8;break}return e.next=6,l.fetchGetExistingTag();case 6:a=e.sent,t.dispatch(n).receiveGetExistingTag(a);case 8:case"end":return e.stop()}}),e)}))},y={getExistingTag:function(e){return e.existingTag},hasExistingTag:Object(d.createRegistrySelector)((function(e){return function(){var t=e(n).getExistingTag();if(void 0!==t)return!!t}}))},O={initialState:c,actions:l,controls:f,reducer:v,resolvers:h,selectors:y};return p(p({},O),{},{STORE_NAME:n})}},,,,,,,,,,,,,,,,function(e,t,n){(function(e){Object.prototype.hasOwnProperty.call(e,"google")||(e.google={})}).call(this,n(26))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WebStoriesAdUnitSelect}));var a=n(0),r=n(2),i=n(11),o=n(3),c=n(27);function WebStoriesAdUnitSelect(){var t=Object(o.useSelect)((function(e){return e(c.m).getAccountID()})),n=Object(o.useSelect)((function(e){return e(c.m).getClientID()})),s=Object(o.useSelect)((function(e){return e(c.m).getWebStoriesAdUnit()})),l=Object(o.useSelect)((function(e){return e(c.m).getAdUnits(t,n)})),u=Object(o.useSelect)((function(e){return e(c.m).hasFinishedResolution("getAdUnits",[t,n])})),d=Object(o.useDispatch)(c.m).setWebStoriesAdUnit,g=Object(a.useCallback)((function(e,t){var n=t.dataset.value;s!==n&&d(n)}),[s,d]);return u?e.createElement(i.Select,{className:"googlesitekit-adsense__select-field",label:Object(r.__)("Web Stories Ad Unit","google-site-kit"),value:s,onEnhancedChange:g,enhanced:!0,outlined:!0},e.createElement(i.Option,{value:""},Object(r.__)("Select ad unit","google-site-kit")),(l||[]).map((function(t){var n=t._id,a=t.displayName;return e.createElement(i.Option,{key:n,value:n},a)}))):e.createElement(i.ProgressBar,{small:!0})}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AdSenseConnectCTA}));var a=n(21),r=n.n(a),i=n(5),o=n.n(i),c=n(16),s=n.n(c),l=n(15),u=n.n(l),d=n(234),g=n(1),m=n.n(g),f=n(2),p=n(0),b=n(39),v=n(3),h=n(11),y=n(27),O=n(17),_=n(14),E=n(18),k=n(32),S=n(9),j=n(606),T=n(172),A=n(19);function AdSenseConnectCTA(t){var n=t.onDismissModule,a=Object(v.useDispatch)(k.a).navigateTo,i=Object(v.useDispatch)(E.a).activateModule,c=Object(v.useDispatch)(_.c).setInternalServerError,l=Object(A.a)(),g=Object(p.useRef)(),m=Object(p.useState)(!1),N=u()(m,2),C=N[0],w=N[1],I=Object(d.a)(g,{threshold:.25}),R=!!(null==I?void 0:I.intersectionRatio);Object(p.useEffect)((function(){R&&!C&&(Object(S.J)("".concat(l,"_adsense-cta-widget"),"widget_view"),w(!0))}),[R,l,C]);var M=Object(v.useSelect)((function(e){return e(y.m).getAdminReauthURL()})),D=Object(v.useSelect)((function(e){return e(E.a).isModuleActive("adsense")})),x=Object(v.useSelect)((function(e){return e(E.a).isModuleConnected("adsense")})),L=Object(v.useSelect)((function(e){return!!e(E.a).isFetchingSetModuleActivation("adsense",!0)||!!M&&e(k.a).isNavigatingTo(M)})),P=Object(p.useCallback)(s()(o.a.mark((function e(){var t,n,r;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,i("adsense");case 2:if(t=e.sent,n=t.response,!(r=t.error)){e.next=8;break}return c({id:"setup-module-error",description:r.message}),e.abrupt("return",null);case 8:return e.next=10,Object(S.J)("".concat(l,"_adsense-cta-widget"),"activate_module","adsense");case 10:a(n.moduleReauthURL);case 11:case"end":return e.stop()}}),e)}))),[i,a,c,l]),Z=Object(p.useCallback)((function(){return a(M)}),[M,a]),G=Object(p.useCallback)((function(){Object(S.J)("".concat(l,"_adsense-cta-widget"),"dismiss_widget"),n()}),[n,l]),B={smSize:4,mdSize:4,lgSize:6};return e.createElement("section",{ref:g,className:"googlesitekit-setup__wrapper googlesitekit-setup__wrapper--adsense-connect"},e.createElement(O.e,null,e.createElement(j.a,{hasBeenInView:C}),e.createElement(O.k,null,e.createElement(O.a,B,e.createElement("div",{className:"googlesitekit-setup-module__action"},!D&&e.createElement(h.SpinnerButton,{onClick:P,isSaving:L},Object(f.__)("Connect now","google-site-kit")),D&&!x&&e.createElement(h.SpinnerButton,{onClick:Z,isSaving:L},Object(f.__)("Complete setup","google-site-kit")),e.createElement(h.Button,{tertiary:!0,onClick:G},Object(f.__)("Maybe later","google-site-kit")))),e.createElement(O.a,r()({},B,{className:"googlesitekit-setup-module__footer-text"}),e.createElement("p",null,Object(b.a)(Object(f.__)("AdSense accounts are subject to review and approval by the Google AdSense team","google-site-kit"),{a:e.createElement(T.a,{path:"/adsense/answer/9724",external:!0,hideExternalIndicator:!0})}))))))}AdSenseConnectCTA.propTypes={onDismissModule:m.a.func.isRequired}}).call(this,n(4))},,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Step}));var a=n(1),r=n.n(a),i=n(250);function Step(t){var n=t.children,a=t.title,r=t.stepStatus;return e.createElement("div",{className:"googlesitekit-stepper__step-info"},e.createElement("h2",{className:"googlesitekit-stepper__step-title"},a),e.createElement("div",{className:"googlesitekit-stepper__step-content-container"},r===i.a.ACTIVE&&e.createElement("div",{className:"googlesitekit-stepper__step-content"},n)))}Step.propTypes={children:r.a.node.isRequired,title:r.a.string.isRequired,stepStatus:r.a.oneOf(Object.values(i.a))}}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var a=n(903),r=function(e){var t=new URL(e);return Object(a.parse)(t.hostname).domain}},,,,,,,,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AdBlockingRecoverySetupCTANotice}));var a=n(5),r=n.n(a),i=n(16),o=n.n(i),c=n(0),s=n(39),l=n(2),u=n(11),d=n(3),g=n(90),m=n(153),f=n(172),p=n(32),b=n(14),v=n(257),h=n(19),y=n(9),O=n(27),_=n(225),E=n(199);function AdBlockingRecoverySetupCTANotice(){var t=Object(v.a)(),n=Object(h.a)(),a=Object(d.useSelect)((function(e){return e(O.m).getAdBlockingRecoverySetupStatus()})),i=Object(d.useSelect)((function(e){return e(O.m).getAccountStatus()})),k=Object(d.useSelect)((function(e){return e(O.m).getSiteStatus()})),S=Object(d.useSelect)((function(e){return e(O.m).hasExistingAdBlockingRecoveryTag()})),j=Object(d.useSelect)((function(e){return e(b.c).getAdminURL("googlesitekit-ad-blocking-recovery")})),T=Object(d.useDispatch)(p.a).navigateTo,A=void 0===S||S||""!==a||i!==_.a||k!==_.c;Object(c.useEffect)((function(){t&&!A&&Object(y.J)("".concat(n,"_adsense-abr-cta-widget"),"view_notification")}),[t,A,n]);var N=function(){var e=o()(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(y.J)("".concat(n,"_adsense-abr-cta-widget"),"confirm_notification");case 2:return e.abrupt("return",T(j));case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return A?null:e.createElement(m.a,{notice:e.createElement(c.Fragment,null,Object(l.__)("Ad blocking recovery","google-site-kit"),e.createElement(g.a,{className:"googlesitekit-new-badge",label:Object(l.__)("New","google-site-kit")})),className:"googlesitekit-settings-notice-ad-blocking-recovery-cta",OuterCTA:function OuterCTA(){return e.createElement(u.Button,{onClick:N},Object(l.__)("Set up now","google-site-kit"))}},Object(s.a)(Object(l.__)("Start recovering revenue lost from ad blockers by deploying an ad blocking recovery message through Site Kit. Learn more","google-site-kit"),{a:e.createElement(f.a,{path:"/adsense/answer/11576589",external:!0,onClick:function(){Object(y.J)("".concat(n,"_adsense-abr-cta-widget"),"click_learn_more_link")}})}),e.createElement(E.a,{triggerID:"view_abr_setup_cta",ttl:y.a}))}}).call(this,n(4))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AdBlockingRecoveryApp}));var a=n(0),r=n(223),i=n(224),o=n(17),c=n(600);function AdBlockingRecoveryApp(){return e.createElement(a.Fragment,null,e.createElement(r.a,null,e.createElement(i.a,null)),e.createElement("div",{className:"googlesitekit-ad-blocking-recovery googlesitekit-module-page"},e.createElement(o.e,null,e.createElement(o.k,null,e.createElement(o.a,{size:12},e.createElement(c.a,null))))))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AccountSelect}));var a=n(0),r=n(2),i=n(11),o=n(3),c=n(9),s=n(27),l=n(19);function AccountSelect(){var t=Object(l.a)(),n="".concat(t,"_adsense"),u=Object(o.useSelect)((function(e){return e(s.m).getAccountID()})),d=Object(o.useSelect)((function(e){return e(s.m).getAccounts()})),g=Object(o.useSelect)((function(e){return e(s.m).hasFinishedResolution("getAccounts")})),m=Object(o.useDispatch)(s.m).setAccountID,f=Object(a.useCallback)((function(e,t){var a=t.dataset.value;u!==a&&(m(a),Object(c.J)(n,"change_account"))}),[u,n,m]);return g?e.createElement(i.Select,{className:"googlesitekit-adsense__select-account",label:Object(r.__)("Account","google-site-kit"),value:u,onEnhancedChange:f,enhanced:!0,outlined:!0},(d||[]).map((function(t,n){var a=t._id,r=t.displayName;return e.createElement(i.Option,{key:n,value:a},r)}))):e.createElement(i.ProgressBar,{small:!0})}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AdSenseLinkCTA}));var a=n(2),r=n(3),i=n(84),o=n(14);function AdSenseLinkCTA(t){var n=t.onClick,c=void 0===n?function(){}:n,s=Object(r.useSelect)((function(e){return e(o.c).getGoogleSupportURL({path:"/adsense/answer/6084409"})}));return e.createElement(i.a,{title:Object(a.__)("Link Analytics and AdSense","google-site-kit"),description:Object(a.__)("Get reports for your top earning pages by linking your Analytics and AdSense accounts","google-site-kit"),ctaLink:s,ctaLabel:Object(a.__)("Learn more","google-site-kit"),ctaLinkExternal:!0,onClick:c})}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ErrorNotices}));var a=n(27),r=n(148);function ErrorNotices(){return e.createElement(r.a,{moduleSlug:"adsense",storeName:a.m})}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return UserProfile}));var a=n(3),r=n(11),i=n(7);function UserProfile(){var t=Object(a.useSelect)((function(e){return e(i.a).getEmail()})),n=Object(a.useSelect)((function(e){return e(i.a).getPicture()}));return Object(a.useSelect)((function(e){return e(i.a).hasFinishedResolution("getUser")}))?e.createElement("p",{className:"googlesitekit-setup-module__user"},e.createElement("img",{className:"googlesitekit-setup-module__user-image",src:n,alt:""}),e.createElement("span",{className:"googlesitekit-setup-module__user-email"},t)):e.createElement(r.ProgressBar,{small:!0})}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return UseSnippetSwitch}));var a=n(5),r=n.n(a),i=n(16),o=n.n(i),c=n(1),s=n.n(c),l=n(393),u=n(0),d=n(2),g=n(3),m=n(11),f=n(135),p=n(9),b=n(27),v=n(19),h=n(90);function UseSnippetSwitch(t){var n=t.label,a=void 0===n?Object(d.__)("Let Site Kit place AdSense code on your site","google-site-kit"):n,i=t.checkedMessage,c=t.uncheckedMessage,s=t.saveOnChange,y=Object(v.a)(),O="".concat(y,"_adsense"),_=Object(g.useSelect)((function(e){return e(b.m).getUseSnippet()})),E=Object(g.useSelect)((function(e){return e(b.m).isDoingSubmitChanges()})),k=Object(g.useDispatch)(b.m),S=k.setUseSnippet,j=k.saveSettings,T=Object(u.useCallback)(o()(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(S(!_),!s){e.next=4;break}return e.next=4,j();case 4:case"end":return e.stop()}}),e)}))),[_,s,S,j]);return Object(l.a)((function(){Object(p.J)(O,_?"enable_tag":"disable_tag")}),[O,_]),void 0===_?null:e.createElement(u.Fragment,null,e.createElement("div",{className:"googlesitekit-setup-module__switch"},e.createElement(m.Switch,{label:a,onClick:T,checked:_,disabled:E,hideLabel:!1})," ",e.createElement(h.a,{className:"googlesitekit-badge--primary",label:Object(d.__)("Recommended","google-site-kit")})),_&&i&&e.createElement(f.c,{notice:i}),!_&&c&&e.createElement(f.c,{notice:c}))}UseSnippetSwitch.propTypes={label:s.a.string,checkedMessage:s.a.string,uncheckedMessage:s.a.string,saveOnChange:s.a.bool},UseSnippetSwitch.defaultProps={saveOnChange:!1}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupMain}));var a=n(5),r=n.n(a),i=n(16),o=n.n(i),c=n(15),s=n.n(c),l=n(393),u=n(1),d=n.n(u),g=n(2),m=n(0),f=n(3),p=n(11),b=n(419),v=n(440),h=n(445),y=n(446),O=n(9),_=n(142),E=n(210),k=n(27),S=n(7),j=n(14),T=n(116),A=n(19),N=n(512),C=n(24);function SetupMain(t){var n=t.finishSetup,a=Object(A.a)(),i="".concat(a,"_adsense"),c=Object(f.useDispatch)(k.m),u=c.resetAccounts,d=c.resetClients,w=c.resetSites,I=c.setAccountID,R=c.setAccountStatus,M=c.submitChanges,D=Object(m.useState)(!1),x=s()(D,2),L=x[0],P=x[1],Z=Object(m.useState)(!1),G=s()(Z,2),B=G[0],U=G[1],F=Object(f.useSelect)((function(e){return!!e(C.b).getValue(k.i)})),z=Object(f.useSelect)((function(e){return e(S.a).isAdBlockerActive()})),V=Object(f.useSelect)((function(e){return e(k.m).getAccounts()})),W=Object(f.useSelect)((function(e){return e(k.m).getAccountID()})),H=Object(f.useSelect)((function(e){return e(k.m).hasSettingChanged("accountID")})),q=Object(f.useSelect)((function(e){return e(k.m).hasSettingChanged("clientID")})),K=Object(f.useSelect)((function(e){return e(k.m).canSubmitChanges()})),Y=Object(f.useSelect)((function(e){return e(k.m).getClientID()})),J=Object(f.useSelect)((function(e){return e(k.m).getAccountStatus()})),$=Object(f.useSelect)((function(e){return e(k.m).hasSettingChanged("accountStatus")})),X=Object(f.useSelect)((function(e){return e(k.m).getSiteStatus()})),Q=Object(f.useSelect)((function(e){return e(k.m).hasSettingChanged("siteStatus")})),ee=Object(f.useSelect)((function(e){return e(k.m).hasErrors()})),te=Object(f.useSelect)((function(e){return e(k.m).hasFinishedResolution("getAccounts")})),ne=Object(f.useSelect)((function(e){return e(S.a).getEmail()})),ae=Object(f.useSelect)((function(e){return e(j.c).getReferenceSiteURL()})),re=Object(f.useSelect)((function(e){return e(k.m).getExistingTag()})),ie=null==V?void 0:V.find((function(e){return e._id===W}));Object(l.a)((function(){(H&&void 0!==W||q&&void 0!==Y||$&&void 0!==J||Q&&void 0!==X)&&P(!0)}),[W,H,Y,q,J,$,X,Q]),Object(m.useEffect)((function(){var e;Array.isArray(V)&&(1!==V.length||W&&V[0]._id===W?0===V.length&&W&&(e=""):e=V[0]._id,void 0!==e&&(I(e),P(!0)))}),[V,W,I]),Object(m.useEffect)((function(){0===(null==V?void 0:V.length)?R(T.h):(null==V?void 0:V.length)>1&&!W&&R(T.f)}),[R,W,V]),Object(m.useEffect)((function(){L&&!B&&K&&!F&&(P(!1),o()(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return U(!0),e.next=3,M();case 3:U(!1);case 4:case"end":return e.stop()}}),e)})))())}),[L,B,K,M,F]);var oe,ce=Object(m.useCallback)((function(){void 0!==J&&T.k!==J&&(u(),d(),w())}),[J,u,d,w]);return Object(N.a)(ce,15e3),Object(m.useEffect)((function(){void 0!==J&&Object(O.J)(i,"receive_account_state",J)}),[i,J]),Object(m.useEffect)((function(){void 0!==X&&Object(O.J)(i,"receive_site_state",X)}),[i,X]),oe=te&&void 0!==W&&void 0!==ne&&void 0!==ae&&void 0!==re?ee?e.createElement(_.d,null):(null==V?void 0:V.length)?W?e.createElement(v.a,{account:ie,finishSetup:n}):e.createElement(y.a,null):e.createElement(h.a,null):e.createElement(p.ProgressBar,null),e.createElement("div",{className:"googlesitekit-setup-module googlesitekit-setup-module--adsense"},e.createElement("div",{className:"googlesitekit-setup-module__step"},e.createElement("div",{className:"googlesitekit-setup-module__logo"},e.createElement(b.a,{width:"40",height:"40"})),e.createElement("h2",{className:"googlesitekit-heading-3 googlesitekit-setup-module__title"},Object(g._x)("AdSense","Service name","google-site-kit"))),e.createElement("div",{className:"googlesitekit-setup-module__step"},e.createElement(E.a,{moduleSlug:"adsense"}),!z&&oe))}SetupMain.propTypes={finishSetup:d.a.func}}).call(this,n(4))},,,,,,,,function(e,t,n){"use strict";var a=n(585);n.d(t,"a",(function(){return a.a}));n(365);var r=n(591);n.d(t,"b",(function(){return r.a}));n(440),n(445),n(446),n(442),n(443),n(444),n(441)},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupMain}));var a=n(5),r=n.n(a),i=n(16),o=n.n(i),c=n(15),s=n.n(c),l=n(6),u=n.n(l),d=n(170),g=n(0),m=n(2),f=n(3),p=n(11),b=n(20),v=n(353),h=n(601),y=n(542),O=n(176),_=n(32),E=n(14),k=n(24),S=n(19),j=n(17),T=n(9),A=n(27),N=n(602),C=n(604),w=n(605);function SetupMain(){var t=Object(S.a)(),n=Object(f.useSelect)((function(e){return e(E.c).getAdminURL("googlesitekit-settings")})),a="".concat(n,"#/connected-services/adsense"),i=Object(f.useSelect)((function(e){return!!e(k.b).getValue(A.c)})),c=Object(f.useSelect)((function(e){return e(E.c).getAdminURL("googlesitekit-dashboard")})),l=Object(f.useSelect)((function(e){var t,n=(t={},u()(t,A.k.TAG_PLACED,A.l.CREATE_MESSAGE),u()(t,A.k.SETUP_CONFIRMED,A.l.COMPLETE),t),a=e(A.m).getAdBlockingRecoverySetupStatus();if(void 0!==a)return n[a]||A.l.PLACE_TAGS})),I=Object(d.a)(c,{notification:"ad_blocking_recovery_setup_success"}),R=Object(f.useSelect)((function(e){return e(A.m).getAccountID()})),M=Object(f.useSelect)((function(e){return e(A.m).getServiceURL({path:"/".concat(R,"/privacymessaging/ad_blocking")})})),D=Object(f.useDispatch)(A.m),x=D.saveSettings,L=D.setAdBlockingRecoverySetupStatus,P=D.setUseAdBlockingRecoverySnippet,Z=D.setUseAdBlockingRecoveryErrorSnippet,G=Object(f.useDispatch)(_.a).navigateTo,B=Object(g.useState)(l),U=s()(B,2),F=U[0],z=U[1],V=Object(g.useCallback)(o()(r.a.mark((function e(){var o,s;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(0!==F){e.next=6;break}return e.next=3,Object(T.J)("".concat(t,"_adsense-abr"),"cancel_setup","on_place_tag_step");case 3:if(!document.referrer.includes(n)){e.next=5;break}return e.abrupt("return",G(a));case 5:return e.abrupt("return",G(c));case 6:if(!i){e.next=10;break}return e.next=9,Object(T.J)("".concat(t,"_adsense-abr"),"cancel_setup","on_final_step");case 9:return e.abrupt("return",G(a));case 10:return L(""),P(!1),Z(!1),e.next=15,x();case 15:return o=e.sent,s=o.error,e.next=19,Object(T.J)("".concat(t,"_adsense-abr"),"cancel_setup","on_create_message_step");case 19:s||(document.referrer.includes(n)?G(a):G(c));case 20:case"end":return e.stop()}}),e)}))),[F,a,i,c,G,x,L,Z,P,n,t]);return Object(g.useEffect)((function(){void 0===F&&void 0!==l&&z(l)}),[F,l]),e.createElement(O.a,{rounded:!0},e.createElement(j.e,null,e.createElement(j.k,null,e.createElement(j.a,{lgSize:6,mdSize:8,smSize:4},e.createElement(v.a,{className:"googlesitekit-heading-3 googlesitekit-ad-blocking-recovery__heading",title:Object(m.__)("Ad Blocking Recovery","google-site-kit"),fullWidth:!0})))),e.createElement(N.a,null,e.createElement(h.a,{activeStep:F,className:"googlesitekit-ad-blocking-recovery__steps"},e.createElement(y.a,{title:Object(m.__)("Enable ad blocking recovery message (required)","google-site-kit"),className:"googlesitekit-ad-blocking-recovery__step googlesitekit-ad-blocking-recovery__step-place-tags"},e.createElement(w.a,{setActiveStep:z})),e.createElement(y.a,{title:Object(m.__)("Create your site’s ad blocking recovery message (required)","google-site-kit"),className:"googlesitekit-ad-blocking-recovery__step googlesitekit-ad-blocking-recovery__step-create-message"},e.createElement(C.a,null))),A.l.COMPLETE===F&&e.createElement("div",{className:"googlesitekit-ad-blocking-recovery__complete-content"},e.createElement("p",null,Object(m.__)("Create and publish an ad blocking recovery message in AdSense","google-site-kit")),e.createElement("p",null,Object(m.__)("Site visitors will be given the option to allow ads on your site. You can also present them with other options to fund your site (optional)","google-site-kit")))),e.createElement("div",{className:"googlesitekit-ad-blocking-recovery__footer googlesitekit-ad-blocking-recovery__buttons"},e.createElement("div",{className:"googlesitekit-ad-blocking-recovery__footer-cancel"},A.l.COMPLETE===F?e.createElement("div",{className:"googlesitekit-ad-blocking-recovery__complete-actions"},e.createElement(p.SpinnerButton,{href:I},Object(m.__)("My message is ready","google-site-kit")),e.createElement(b.a,{href:M,external:!0,hideExternalIndicator:!0},Object(m.__)("Create message","google-site-kit"))):e.createElement(b.a,{onClick:V},Object(m.__)("Cancel","google-site-kit")))))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Stepper}));var a=n(1),r=n.n(a),i=n(13),o=n.n(i),c=n(0),s=n(2),l=n(511),u=n(250);function Stepper(t){var n=t.children,a=t.activeStep,r=t.className,i=c.Children.count(n);function d(e,t){switch(t){case u.a.UPCOMING:return Object(s.sprintf)(
/* translators: 1: The number of the current step. 2: The total number of steps. */
Object(s.__)("Step %1$s of %2$s (upcoming).","google-site-kit"),e,i);case u.a.ACTIVE:return Object(s.sprintf)(
/* translators: 1: The number of the current step. 2: The total number of steps. */
Object(s.__)("Step %1$s of %2$s (active).","google-site-kit"),e,i);case u.a.COMPLETED:return Object(s.sprintf)(
/* translators: 1: The number of the current step. 2: The total number of steps. */
Object(s.__)("Step %1$s of %2$s (completed).","google-site-kit"),e,i)}}return e.createElement("ol",{className:o()("googlesitekit-stepper",r)},c.Children.map(n,(function(t,n){var r=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;return eLearn more","google-site-kit"),{a:e.createElement(b.a,{href:_,external:!0})})),s&&e.createElement(p.a,{error:s}),e.createElement(m.SpinnerButton,{onClick:C,isSaving:c,disabled:c},Object(g.__)("Enable message","google-site-kit")))}PlaceTagsStep.propTypes={setActiveStep:s.a.func}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ContentAutoUpdate}));var a=n(15),r=n.n(a),i=n(1),o=n.n(i),c=n(0),s=n(607);function ContentAutoUpdate(t){var n=t.hasBeenInView,a=Object(c.useState)({stage:0,mode:"static"}),i=r()(a,2),o=i[0],l=o.stage,u=o.mode,d=i[1];return Object(c.useEffect)((function(){if(n){var e=setTimeout((function(){d({stage:0,mode:"leave"})}),7e3);return function(){clearTimeout(e)}}}),[n]),e.createElement(s.a,{stage:l,mode:u,onAnimationEnd:function(){"enter"===u?d({stage:l,mode:"leave"}):"leave"===u&&d({stage:2===l?0:l+1,mode:"enter"})}})}ContentAutoUpdate.propTypes={hasBeenInView:o.a.bool.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var a=n(21),r=n.n(a),i=n(6),o=n.n(i),c=n(1),s=n.n(c),l=n(13),u=n.n(l),d=n(2),g=n(0),m=n(17),f=n(608),p=n(419),b=Object(g.forwardRef)((function(t,n){var a=t.stage,i=t.mode,c=t.onAnimationEnd,s=[{title:Object(d.__)("Earn money from your site","google-site-kit"),description:Object(d.__)("Focus on writing good content and let AdSense help you make it profitable","google-site-kit")},{title:Object(d.__)("Save time with automated ads","google-site-kit"),description:Object(d.__)("Auto ads automatically place and optimize your ads for you so you don't have to spend time doing it yourself","google-site-kit")},{title:Object(d.__)("You’re in control","google-site-kit"),description:Object(d.__)("Block ads you don't like, customize where ads appear, and choose which types fit your site best","google-site-kit")}],l={smSize:4,mdSize:4,lgSize:6};return e.createElement(g.Fragment,null,e.createElement(m.k,null,e.createElement(m.a,{size:12},e.createElement("p",{className:"googlesitekit-setup__intro-title"},Object(d.__)("Connect Service","google-site-kit")),e.createElement("div",{className:"googlesitekit-setup-module"},e.createElement("div",{className:"googlesitekit-setup-module__logo"},e.createElement(p.a,{width:"33",height:"33"})),e.createElement("h2",{className:"googlesitekit-heading-3 googlesitekit-setup-module__title"},Object(d._x)("AdSense","Service name","google-site-kit"))))),e.createElement(m.k,{ref:n},e.createElement(m.a,r()({},l,{smOrder:2,mdOrder:1,className:"googlesitekit-setup-module--adsense__stage-captions"}),e.createElement("ul",{className:"googlesitekit-setup-module--adsense__stage-caption-container"},s.map((function(t,n){var r=t.title,c=t.description;return e.createElement("li",{key:n,className:u()("googlesitekit-setup-module--adsense__stage-caption",o()({},"googlesitekit-setup-module--adsense__stage-caption--current--".concat(i),a===n))},e.createElement("div",{className:"googlesitekit-setup-module--adsense__stage-caption-indicator"}),e.createElement("div",null,e.createElement("h4",null,r),e.createElement("p",null,c)))}))),e.createElement("ul",{className:"googlesitekit-setup-module--adsense__stage-indicator"},s.map((function(t,n){return e.createElement("li",{key:n,className:u()(o()({},"googlesitekit-setup-module--adsense__stage-indicator--current--".concat(i),a===n))})})))),e.createElement(m.a,r()({},l,{smOrder:1,mdOrder:2,className:"googlesitekit-setup-module--adsense__stage-images"}),e.createElement("div",{className:"googlesitekit-setup-module--adsense__stage-image-container"},s.map((function(t,n){return e.createElement("div",{key:n,className:u()("googlesitekit-setup-module--adsense__stage-image",o()({},"googlesitekit-setup-module--adsense__stage-image--current--".concat(i),a===n)),onAnimationEnd:a===n?c:void 0},e.createElement(f.a,{stage:n}))}))))))}));b.propTypes={stage:s.a.oneOf([0,1,2]),mode:s.a.oneOf(["static","enter","leave"]),onAnimationEnd:s.a.func},t.a=b}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ContentSVG}));var a=n(1),r=n(0),i=n(2),o=n(42),c=n(239),s=Object(r.lazy)((function(){return n.e(31).then(n.bind(null,1072))})),l=Object(r.lazy)((function(){return n.e(32).then(n.bind(null,1073))})),u=Object(r.lazy)((function(){return n.e(33).then(n.bind(null,1074))}));function LazyContentSVG(t){var n=t.stage,a={0:e.createElement(s,null),1:e.createElement(l,null),2:e.createElement(u,null)};return a[n]?e.createElement(c.a,{errorMessage:Object(i.__)("Failed to load graphic","google-site-kit")},a[n]):null}function ContentSVG(t){var n=t.stage;return e.createElement(r.Suspense,{fallback:e.createElement(o.a,{width:"100%",height:"100%"})},e.createElement(LazyContentSVG,{stage:n}))}ContentSVG.propTypes={stage:a.PropTypes.oneOf([0,1,2]).isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e,a){n.d(t,"a",(function(){return NeedsAttention}));var r=n(0),i=n(2),o=n(3),c=n(62),s=n(9),l=n(27),u=n(318);function NeedsAttention(){var t=Object(r.useContext)(c.b),n=Object(o.useSelect)((function(e){return e(l.m).getServiceAccountManageSitesURL()})),d=Object(r.useCallback)((function(a){a.preventDefault(),Object(s.J)("".concat(t,"_adsense"),"review_site_state","needs_attention"),e.open(n,"_blank")}),[n,t]),g=Object(i.__)("Your site isn’t ready to show ads yet","google-site-kit"),m=Object(i.__)("You need to fix some things with this site before we can connect Site Kit to your AdSense account","google-site-kit"),f={label:Object(i.__)("Review site in AdSense","google-site-kit"),href:n,onClick:d};return a.createElement(u.a,{heading:g,description:m,primaryButton:f})}}).call(this,n(26),n(4))},function(e,t,n){"use strict";(function(e,a){n.d(t,"a",(function(){return GettingReady}));var r=n(0),i=n(2),o=n(3),c=n(62),s=n(9),l=n(27),u=n(318);function GettingReady(){var t=Object(r.useContext)(c.b),n=Object(o.useSelect)((function(e){return e(l.m).getServiceAccountManageSitesURL()})),d=Object(r.useCallback)((function(a){a.preventDefault(),Object(s.J)("".concat(t,"_adsense"),"review_site_state","getting_ready"),e.open(n,"_blank")}),[n,t]),g=Object(i.__)("Your site is getting ready","google-site-kit"),m=Object(i.__)("This usually takes a few days, but in some cases can take a few weeks. You’ll get an email from AdSense as soon as they have run some checks on your site.","google-site-kit"),f={label:Object(i.__)("Review site in AdSense","google-site-kit"),href:n,onClick:d};return a.createElement(u.a,{heading:g,description:m,primaryButton:f})}}).call(this,n(26),n(4))},function(e,t,n){"use strict";(function(e,a){n.d(t,"a",(function(){return RequiresReview}));var r=n(0),i=n(2),o=n(3),c=n(62),s=n(9),l=n(27),u=n(318);function RequiresReview(){var t=Object(r.useContext)(c.b),n=Object(o.useSelect)((function(e){return e(l.m).getServiceAccountManageSitesURL()})),d=Object(r.useCallback)((function(a){a.preventDefault(),Object(s.J)("".concat(t,"_adsense"),"review_site_state","requires_review"),e.open(n,"_blank")}),[n,t]),g=Object(i.__)("Your site requires review","google-site-kit"),m=Object(i.__)("To start serving ads, your site needs to be approved first. Go to AdSense to request the review.","google-site-kit"),f={label:Object(i.__)("Request review in AdSense","google-site-kit"),href:n,onClick:d};return a.createElement(u.a,{heading:g,description:m,primaryButton:f})}}).call(this,n(26),n(4))},function(e,t,n){"use strict";(function(e,a){n.d(t,"a",(function(){return Ready}));var r=n(5),i=n.n(r),o=n(16),c=n.n(o),s=n(15),l=n.n(s),u=n(0),d=n(2),g=n(3),m=n(62),f=n(9),p=n(27),b=n(24),v=n(318);function Ready(t){var n=t.site,r=t.finishSetup,o=Object(u.useState)(!1),s=l()(o,2),h=s[0],y=s[1],O=Object(u.useContext)(m.b),_=Object(g.useSelect)((function(e){return e(p.m).getExistingTag()})),E=Object(g.useSelect)((function(e){return e(p.m).getServiceAccountSiteAdsPreviewURL()})),k=Object(g.useSelect)((function(e){return e(p.m).isDoingSubmitChanges()})),S=Object(g.useDispatch)(p.m),j=S.completeSiteSetup,T=S.completeAccountSetup,A=Object(g.useDispatch)(b.b).setValue,N=Object(u.useCallback)((function(t){t.preventDefault(),Object(f.J)("".concat(O,"_adsense"),"enable_auto_ads"),e.open(E,"_blank")}),[E,O]),C=Object(u.useCallback)((function(e){e.preventDefault(),Object(f.J)("".concat(O,"_adsense"),"disable_auto_ads"),y(!0)}),[O]),w=Object(u.useCallback)(c()(i.a.mark((function e(){var t,n;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!k){e.next=2;break}return e.abrupt("return");case 2:return A(p.i,!0),e.next=5,j();case 5:return t=e.sent,e.next=8,T();case 8:n=e.sent,A(p.i,!1),t&&n&&"function"==typeof r&&r();case 11:case"end":return e.stop()}}),e)}))),[k,A,j,T,r]),I={};return n.autoAdsEnabled||h?(I.heading=_?Object(d.__)("Your AdSense account is ready to connect to Site Kit","google-site-kit"):Object(d.__)("Your site is ready to use AdSense","google-site-kit"),I.description=_?Object(d.__)("Connect your AdSense account to see stats on your overall earnings, page CTR, and top earning pages","google-site-kit"):Object(d.__)("Site Kit has placed AdSense code on your site to connect your site to AdSense and help you get the most out of ads","google-site-kit"),I.primaryButton={label:Object(d.__)("Complete setup","google-site-kit"),onClick:w}):(I.heading=Object(d.__)("Enable auto ads for your site","google-site-kit"),I.description=Object(d.__)("To start serving ads via Site Kit, you need to activate auto ads first. Go to AdSense and enable auto ads for your site.","google-site-kit"),I.primaryButton={label:Object(d.__)("Enable auto ads","google-site-kit"),href:E,onClick:N},_&&(I.description=Object(d.__)("Site Kit recommends enabling auto ads. If your existing AdSense setup relies on individual ad units, you can proceed without enabling auto ads.","google-site-kit"),I.secondaryButton={label:Object(d.__)("Proceed without enabling auto ads","google-site-kit"),onClick:C})),a.createElement(v.a,I)}}).call(this,n(26),n(4))},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var a=n(10),r=n.n(a),i=n(9),o=function(e){var t=e.startDate,n=e.endDate,a=e.compareStartDate,o=e.compareEndDate;r()(Object(i.x)(t),"A valid startDate is required."),r()(Object(i.x)(n),"A valid endDate is required.");var c={"_u.date00":t.replace(/-/g,""),"_u.date01":n.replace(/-/g,"")};return(a||o)&&(r()(Object(i.x)(a)&&Object(i.x)(o),"Valid compareStartDate and compareEndDate values are required."),c["_u.date10"]=a.replace(/-/g,""),c["_u.date11"]=o.replace(/-/g,"")),c}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"c",(function(){return c})),n.d(t,"d",(function(){return s})),n.d(t,"b",(function(){return l}));var a=n(2),r=n(362),i=n(116),o=function(e){var t=Object(a.__)("Your site isn’t ready to show ads yet","google-site-kit");switch(e){case i.a:t=Object(a.__)("Your account has been approved","google-site-kit");break;case i.k:t=Object(a.__)("Your site is ready for ads","google-site-kit");break;case i.j:case i.e:t=Object(a.__)("We’re getting your site ready for ads. This usually takes less than a day, but it can sometimes take a bit longer","google-site-kit");break;case i.i:case i.d:case i.g:case i.c:case i.b:t=Object(a.__)("You need to fix some issues before your account is approved. Go to AdSense to find out how to fix it","google-site-kit")}return t},c=function(e){var t="";switch(e){case i.n:case i.r:t=Object(a.__)("You need to fix some things before your site is ready.","google-site-kit");break;case i.m:t=Object(a.__)("Your site is getting ready.","google-site-kit");break;case i.p:t=Object(a.__)("Your site is ready for ads.","google-site-kit");break;case i.q:t=Object(a.__)("Your site is ready, with auto-ads disabled.","google-site-kit")}return t},s=function(e,t,n){var r=Object(a.__)("The AdSense code has not been placed on your site","google-site-kit");return e?r=Object(a.__)("The AdSense code has been placed on your site","google-site-kit"):t&&t===n&&(r=Object(a.__)("The AdSense code has been placed by another plugin or theme","google-site-kit")),r},l=function(e){var t=Object(a.__)("Ads are currently displayed for all visitors","google-site-kit");return e.includes(r.b)&&e.includes(r.a)?t=Object(a.__)("All logged-in users and users who can write posts","google-site-kit"):e.includes(r.b)?t=r.d[r.b]:e.includes(r.a)&&(t=r.d[r.a]),t}},,,,,,,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AdBlockingRecoveryToggle}));var a=n(85),r=n(39),i=n(2),o=n(11),c=n(3),s=n(20),l=n(153),u=n(29),d=n(14),g=n(19),m=n(9),f=n(27),p=n(225);function AdBlockingRecoveryToggle(){var t,n=Object(g.a)(),b=Object(c.useSelect)((function(e){return e(f.m).getUseAdBlockingRecoverySnippet()})),v=Object(c.useSelect)((function(e){return e(f.m).getUseAdBlockingRecoveryErrorSnippet()})),h=Object(c.useSelect)((function(e){return e(f.m).getAdBlockingRecoverySetupStatus()})),y=Object(c.useSelect)((function(e){return e(f.m).getExistingAdBlockingRecoveryTag()})),O=Object(c.useSelect)((function(e){return e(f.m).getAccountID()})),_=Object(c.useSelect)((function(e){return e(f.m).getServiceURL({path:"/".concat(O,"/privacymessaging/ad_blocking")})})),E=Object(c.useSelect)((function(e){return e(d.c).getDocumentationLinkURL("ad-blocking-recovery")})),k=Object(c.useSelect)((function(e){return e(u.a).getValue(f.a,"adBlockingRecoveryToggle")})),S=Object(c.useSelect)((function(e){return e(u.a).getValue(f.a,"adBlockingRecoveryErrorToggle")})),j=Object(c.useDispatch)(u.a).setValues,T=Object(c.useDispatch)(f.m),A=T.setUseAdBlockingRecoverySnippet,N=T.setUseAdBlockingRecoveryErrorSnippet;return Object(a.a)((function(){var e={adBlockingRecoveryToggle:b,adBlockingRecoveryErrorToggle:v};j(f.a,e)})),y&&y===O?t=Object(i.__)("You’ve already enabled an ad blocking recovery message on your site. We recommend using Site Kit to manage this to get the most out of AdSense.","google-site-kit"):y&&(t=Object(i.sprintf)(
/* translators: %s: account ID */
Object(i.__)("Site Kit detected Ad Blocking Recovery code for a different account %s on your site. For a better ad blocking recovery experience, you should remove Ad Blocking Recovery code that’s not linked to this AdSense account.","google-site-kit"),Object(p.i)(y))),h?e.createElement("fieldset",{className:"googlesitekit-settings-module__ad-blocking-recovery-toggles"},e.createElement("legend",{className:"googlesitekit-setup-module__text"},Object(i.__)("Ad blocking recovery","google-site-kit")),e.createElement("div",{className:"googlesitekit-settings-module__meta-items"},e.createElement("div",{className:"googlesitekit-settings-module__meta-item"},e.createElement(o.Switch,{label:Object(i.__)("Enable ad blocking recovery message","google-site-kit"),checked:k,onClick:function(){var e=!k;j(f.a,{adBlockingRecoveryToggle:e}),A(e),Object(m.J)("".concat(n,"_adsense-abr"),e?"enable_tag":"disable_tag","abr_tag")},hideLabel:!1}),e.createElement("p",null,Object(r.a)(Object(i.__)("Identify site visitors that have an ad blocker browser extension installed. These site visitors will see the ad blocking recovery message created in AdSense. Configure your message","google-site-kit"),{a:e.createElement(s.a,{href:_,external:!0})}))),(k||b)&&e.createElement("div",{className:"googlesitekit-settings-module__meta-item"},e.createElement(o.Switch,{label:Object(i.__)("Place error protection code","google-site-kit"),checked:S,onClick:function(){var e=!S;j(f.a,{adBlockingRecoveryErrorToggle:e}),N(e),Object(m.J)("".concat(n,"_adsense-abr"),e?"enable_tag":"disable_tag","error_protection_tag")},hideLabel:!1}),e.createElement("p",null,Object(r.a)(Object(i.__)("If a site visitor’s ad blocker browser extension blocks the message you create in AdSense, a default, non-customizable ad blocking recovery message will display instead. Learn more","google-site-kit"),{a:e.createElement(s.a,{href:E,external:!0})})))),y&&e.createElement(l.a,{notice:t})):null}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsForm}));var a=n(2),r=n(0),i=n(39),o=n(3),c=n(11),s=n(27),l=n(333),u=n(142),d=n(536),g=n(20),m=n(14),f=n(554),p=n(678);function SettingsForm(){var t=Object(o.useSelect)((function(e){return e(m.c).isWebStoriesActive()})),n=Object(o.useSelect)((function(e){return e(s.m).getClientID()})),b=Object(o.useSelect)((function(e){return e(s.m).getExistingTag()})),v=Object(o.useSelect)((function(e){return e(s.m).hasFinishedResolution("getExistingTag")}));Object(o.useSelect)((function(e){return e(s.m).getExistingAdBlockingRecoveryTag()}));var h,y,O=Object(o.useSelect)((function(e){return e(s.m).hasFinishedResolution("getExistingAdBlockingRecoveryTag")}));if(!v||!O)return e.createElement(c.ProgressBar,null);b&&b===n?y=h=Object(a.__)("You’ve already got an AdSense code on your site for this account, we recommend you use Site Kit to place code to get the most out of AdSense","google-site-kit"):b?(h=Object(a.sprintf)(
/* translators: %s: account ID */
Object(a.__)("Site Kit detected AdSense code for a different account %s on your site. For a better ads experience, you should remove AdSense code that’s not linked to this AdSense account.","google-site-kit"),Object(l.a)(b)),y=Object(a.__)("Please note that AdSense will not show ads on your website unless you’ve already placed the code","google-site-kit")):y=Object(a.__)("Please note that AdSense will not show ads on your website unless you’ve already placed the code","google-site-kit");return e.createElement("div",{className:"googlesitekit-adsense-settings-fields"},e.createElement(u.d,null),e.createElement(u.e,{checkedMessage:h,uncheckedMessage:y}),t&&e.createElement(r.Fragment,null,e.createElement(d.a,null),e.createElement("p",null,Object(i.a)(Object(a.__)("This ad unit will be used for your Web Stories. ","google-site-kit"),{LearnMoreLink:e.createElement(g.a,{href:"https://support.google.com/adsense/answer/10175505#create-an-ad-unit-for-web-stories",external:!0,"aria-label":Object(a.__)("Learn more about Ad Sense Web Stories.","google-site-kit")},Object(a.__)("Learn more","google-site-kit"))}))),e.createElement(u.c,null),e.createElement(r.Fragment,null,e.createElement(f.a,null),e.createElement(p.a,null)))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ConnectAdSenseCTATileWidget}));var a=n(1),r=n.n(a),i=n(432),o=n(119),c={moduleSlug:"adsense"};function ConnectAdSenseCTATileWidget(t){var n=t.Widget,a=t.widgetSlug;return Object(o.a)(a,i.a,c),e.createElement(n,null,e.createElement(i.a,c))}ConnectAdSenseCTATileWidget.propTypes={Widget:r.a.elementType.isRequired,widgetSlug:r.a.string.isRequired}}).call(this,n(4))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";(function(e){var a=n(2),r=n(7),i=n(427),o=n(3);t.a=function Header(){var t=Object(o.useSelect)((function(e){return e(r.a).getDateRangeNumberOfDays()}));return e.createElement(i.a,{title:Object(a.sprintf)(
/* translators: %s: number of days */
Object(a._n)("Performance over the last %s day","Performance over the last %s days",t,"google-site-kit"),t)})}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var a=n(2),r=n(27),i=n(7),o=n(905),c=n(121),s=n(3),l=n(33);t.a=function Footer(){var t=Object(l.a)(),n=Object(s.useSelect)((function(e){return e(i.a).getDateRangeDates({offsetDays:r.j})})),u=Object(s.useSelect)((function(e){return t?null:e(r.m).getServiceReportURL(Object(o.a)(n))}));return e.createElement(c.a,{href:u,name:Object(a._x)("AdSense","Service name","google-site-kit"),external:!0})}}).call(this,n(4))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsEdit}));var a=n(3),r=n(11),i=n(27),o=n(679);function SettingsEdit(){var t;return t=Object(a.useSelect)((function(e){return e(i.m).isDoingSubmitChanges()}))?e.createElement(r.ProgressBar,null):e.createElement(o.a,null),e.createElement("div",{className:"googlesitekit-setup-module googlesitekit-setup-module--adsense"},t)}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsSetupIncomplete}));var a=n(0),r=n(39),i=n(2),o=n(3),c=n(20),s=n(18),l=n(27),u=n(116),d=n(474);function SettingsSetupIncomplete(){var t,n,g=Object(o.useSelect)((function(e){return e(l.m).getAccountStatus()})),m=Object(u.s)(g),f=Object(o.useSelect)((function(e){return e(l.m).getAdminReauthURL()})),p=Object(o.useSelect)((function(e){var t;return null===(t=e(s.a))||void 0===t?void 0:t.getCheckRequirementsError("adsense")}));return m?(
/* translators: %s: link with next step */
t=Object(i.__)("Site Kit has placed AdSense code on your site: %s","google-site-kit"),n=Object(i.__)("check module page","google-site-kit")):(
/* translators: %s: link with next step */
t=Object(i.__)("Setup incomplete: %s","google-site-kit"),n=Object(i.__)("continue module setup","google-site-kit")),e.createElement(a.Fragment,null,e.createElement("div",{className:"googlesitekit-settings-module__fields-group googlesitekit-settings-module__fields-group--no-border"},e.createElement(d.a,{slug:"adsense"})),e.createElement("div",{className:"googlesitekit-settings-module__fields-group-title"},Object(r.a)(Object(i.sprintf)(t,"".concat(n,"")),{a:e.createElement(c.a,{className:"googlesitekit-settings-module__edit-button",href:f,disabled:!!p})})))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsView}));var a=n(39),r=n(0),i=n(2),o=n(3),c=n(177),s=n(11),l=n(20),u=n(14),d=n(27),g=n(142),m=n(668),f=n(554),p=n(96);function SettingsView(){var t=Object(o.useSelect)((function(e){return e(d.m).getAccountID()})),n=Object(o.useSelect)((function(e){return e(d.m).getServiceAccountManageSitesURL()})),b=Object(o.useSelect)((function(e){return e(u.c).isWebStoriesActive()})),v=Object(o.useSelect)((function(e){return e(d.m).getWebStoriesAdUnit()})),h=Object(o.useSelect)((function(e){return e(d.m).getAccountStatus()})),y=Object(o.useSelect)((function(e){return e(d.m).getUseAdBlockingRecoverySnippet()})),O=Object(o.useSelect)((function(e){return e(d.m).getUseAdBlockingRecoveryErrorSnippet()})),_=Object(o.useSelect)((function(e){return e(d.m).getSiteStatus()})),E=Object(o.useSelect)((function(e){return e(d.m).getUseSnippet()})),k=Object(o.useSelect)((function(e){return e(d.m).getAdBlockingRecoverySetupStatus()})),S=Object(o.useSelect)((function(e){return e(d.m).getExistingTag()})),j=Object(o.useSelect)((function(e){return e(d.m).getClientID()})),T=Object(o.useSelect)((function(e){return e(d.m).getAutoAdsDisabled()||[]})),A=Object(o.useSelect)((function(e){return e(d.m).getServiceURL({path:"/".concat(t,"/privacymessaging/ad_blocking")})})),N=Object(m.a)(h),C=Object(m.c)(_),w=Object(a.a)(Object(i.__)("View site in AdSense","google-site-kit"),{VisuallyHidden:e.createElement(p.a,null)}),I=Object(m.d)(E,S,j),R=Object(m.b)(T),M=Object(o.useSelect)((function(e){return void 0===e(d.m).getSettings()||void 0===e(d.m).hasExistingAdBlockingRecoveryTag()}));return e.createElement("div",{className:"googlesitekit-setup-module googlesitekit-setup-module--adsense"},e.createElement(g.d,null),e.createElement("div",{className:"googlesitekit-settings-module__meta-items"},e.createElement("div",{className:"googlesitekit-settings-module__meta-item"},e.createElement("h5",{className:"googlesitekit-settings-module__meta-item-type"},Object(i.__)("Publisher ID","google-site-kit")),e.createElement("p",{className:"googlesitekit-settings-module__meta-item-data"},e.createElement(c.b,{value:t}))),e.createElement("div",{className:"googlesitekit-settings-module__meta-item"},e.createElement("h5",{className:"googlesitekit-settings-module__meta-item-type"},Object(i.__)("Account Status","google-site-kit")),e.createElement("p",{className:"googlesitekit-settings-module__meta-item-data"},N)),e.createElement("div",{className:"googlesitekit-settings-module__meta-item"},e.createElement("h5",{className:"googlesitekit-settings-module__meta-item-type"},Object(i.__)("Site Status","google-site-kit")),e.createElement("p",{className:"googlesitekit-settings-module__meta-item-data"},C+" ",e.createElement(l.a,{href:n,className:"googlesitekit-settings-module__cta-button",external:!0,disabled:void 0===n,hideExternalIndicator:void 0===n},w)))),e.createElement("div",{className:"googlesitekit-settings-module__meta-items"},e.createElement("div",{className:"googlesitekit-settings-module__meta-item"},e.createElement("h5",{className:"googlesitekit-settings-module__meta-item-type"},Object(i.__)("AdSense Code","google-site-kit")),e.createElement("p",{className:"googlesitekit-settings-module__meta-item-data"},I))),e.createElement("div",{className:"googlesitekit-settings-module__meta-items"},e.createElement("div",{className:"googlesitekit-settings-module__meta-item"},e.createElement("h5",{className:"googlesitekit-settings-module__meta-item-type"},Object(i.__)("Excluded from ads","google-site-kit")),e.createElement("p",{className:"googlesitekit-settings-module__meta-item-data"},R))),b&&e.createElement("div",{className:"googlesitekit-settings-module__meta-items"},e.createElement("div",{className:"googlesitekit-settings-module__meta-item"},e.createElement("h5",{className:"googlesitekit-settings-module__meta-item-type"},Object(i.__)("Web Stories Ad Unit","google-site-kit")),e.createElement("p",{className:"googlesitekit-settings-module__meta-item-data"},!v&&e.createElement("span",null,Object(i.__)("None","google-site-kit")),v&&e.createElement(c.b,{value:v})))),(null==k?void 0:k.length)>0&&e.createElement("div",{className:"googlesitekit-settings-module__meta-items"},M&&e.createElement(s.ProgressBar,{small:!0,height:90}),!M&&e.createElement("div",{className:"googlesitekit-settings-module__meta-item"},e.createElement("h5",{className:"googlesitekit-settings-module__meta-item-type"},Object(i.__)("Ad blocking recovery","google-site-kit")),!y&&e.createElement("p",{className:"googlesitekit-settings-module__meta-item-data"},Object(i.__)("Ad blocking recovery message is not placed","google-site-kit")),y&&e.createElement(r.Fragment,null,e.createElement("p",{className:"googlesitekit-settings-module__meta-item-data"},O?Object(i.__)("Ad blocking recovery message enabled with error protection code","google-site-kit"):Object(i.__)("Ad blocking recovery message enabled without error protection code","google-site-kit")),e.createElement("p",{className:"googlesitekit-settings-module__meta-item-data"},Object(a.a)(Object(i.__)("Identify site visitors that have an ad blocker browser extension installed. These site visitors will see the ad blocking recovery message created in AdSense. Configure your message","google-site-kit"),{a:e.createElement(l.a,{href:A,external:!0})}))))),!(null==k?void 0:k.length)&&e.createElement(r.Fragment,null,M&&e.createElement(s.ProgressBar,{small:!0,height:135}),!M&&e.createElement(f.a,null)))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var a=n(5),r=n.n(a),i=n(16),o=n.n(i),c=n(1),s=n.n(c),l=n(0),u=n(39),d=n(2),g=n(3),m=n(904),f=n(123),p=n(20),b=n(183),v=n(185),h=n(184),y=n(32),O=n(14),_=n(7),E=n(25),k=n(257),S=n(19),j=n(33),T=n(17),A=n(9),N=n(60),C=n(27),w=n(225),I=n(199);function AdBlockingRecoverySetupCTAWidget(t){var n=t.Widget,a=t.WidgetNull,i=Object(E.e)(),c=Object(j.a)(),s=Object(k.a)(),N=Object(S.a)(),R=Object(f.b)(C.b),M=Object(f.c)(C.b).isTooltipVisible,D=Object(g.useSelect)((function(e){return e(_.a).isPromptDismissed(C.b)})),x=Object(g.useSelect)((function(e){return e(_.a).getPromptDismissCount(C.b)})),L=Object(g.useSelect)((function(e){return c?null:e(C.m).getAdBlockingRecoverySetupStatus()})),P=Object(g.useSelect)((function(e){return c?null:e(C.m).getAccountStatus()})),Z=Object(g.useSelect)((function(e){return c?null:e(C.m).getSetupCompletedTimestamp()})),G=Object(g.useSelect)((function(e){return c?null:e(C.m).getSiteStatus()})),B=Object(g.useSelect)((function(e){return e(C.m).hasExistingAdBlockingRecoveryTag()})),U=Object(g.useSelect)((function(e){return e(O.c).getGoogleSupportURL({path:"/adsense/answer/11576589"})})),F=Object(g.useSelect)((function(e){return e(O.c).getAdminURL("googlesitekit-ad-blocking-recovery")})),z=Object(g.useSelect)((function(e){return e(_.a).getReferenceDate()})),V=Object(g.useDispatch)(_.a).dismissPrompt,W=Object(g.useDispatch)(y.a).navigateTo,H=Object(A.H)(z).getTime()-1e3*Z>=3*A.g*1e3,q=!c&&!1===B&&!1===D&&""===L&&P===w.a&&G===w.c&&(!Z||H);Object(l.useEffect)((function(){s&&q&&Object(A.J)("".concat(N,"_adsense-abr-cta-widget"),"view_notification")}),[s,q,N]),Object(l.useEffect)((function(){M&&Object(A.J)("".concat(N,"_adsense-abr"),"view_tooltip")}),[M,N]);var K=function(){var e=o()(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(A.J)("".concat(N,"_adsense-abr-cta-widget"),"confirm_notification");case 2:return e.abrupt("return",W(F));case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),Y=function(){var e=o()(r.a.mark((function e(){var t;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(Object(A.J)("".concat(N,"_adsense-abr-cta-widget"),"dismiss_notification"),R(),!(x<2)){e.next=8;break}return t=2*A.g,e.next=6,V(C.b,{expiresInSeconds:t});case 6:e.next=10;break;case 8:return e.next=10,V(C.b);case 10:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return M?e.createElement(l.Fragment,null,e.createElement(a,null),e.createElement(f.a,{title:Object(d.__)("You can always set up ad blocking recovery from Settings later","google-site-kit"),dismissLabel:Object(d.__)("Got it","google-site-kit"),onDismiss:function(){Object(A.J)("".concat(N,"_adsense-abr"),"dismiss_tooltip")},tooltipStateKey:C.b})):q?e.createElement(n,null,s&&q&&e.createElement(I.a,{triggerID:"view_abr_setup_cta",ttl:A.a}),e.createElement(b.a,null,e.createElement(T.a,{smSize:8,mdSize:4,lgSize:7},e.createElement(h.a,{title:Object(d.__)("Recover revenue lost to ad blockers","google-site-kit")}),e.createElement("div",{className:"googlesitekit-widget--adBlockingRecovery__content"},e.createElement("p",null,Object(u.a)(Object(d.__)("Display a message to give site visitors with an ad blocker the option to allow ads on your site. Learn more","google-site-kit"),{a:e.createElement(p.a,{onClick:function(){Object(A.J)("".concat(N,"_adsense-abr-cta-widget"),"click_learn_more_link")},href:U,external:!0})})),e.createElement("p",null,Object(d.__)("Publishers see up to 1 in 5 users choose to allow ads once they encounter an ad blocking recovery message*","google-site-kit"))),e.createElement(v.a,{ctaLink:"#",ctaLabel:Object(d.__)("Set up now","google-site-kit"),ctaCallback:K,dismissCallback:Y,dismissLabel:x<2?Object(d.__)("Maybe later","google-site-kit"):Object(d.__)("Don’t show again","google-site-kit")})),e.createElement(T.a,{className:"googlesitekit-widget--adBlockingRecovery__graphics",smSize:8,mdSize:4,lgSize:5},i!==E.b&&e.createElement(m.a,{style:{maxHeight:"172px"}}),e.createElement("p",null,Object(d.__)("*Average for publishers showing non-dismissible ad blocking recovery messages placed at the center of the page on desktop","google-site-kit"))))):e.createElement(a,null)}AdBlockingRecoverySetupCTAWidget.propTypes={Widget:s.a.elementType.isRequired,WidgetNull:s.a.elementType.isRequired},t.a=Object(N.a)({moduleName:"adsense"})(AdBlockingRecoverySetupCTAWidget)}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var a=n(1),r=n.n(a),i=n(3),o=n(210),c=n(60),s=n(7);function AdBlockerWarningWidget(t){var n=t.Widget,a=t.WidgetNull;return Object(i.useSelect)((function(e){return e(s.a).isAdBlockerActive()}))?e.createElement(n,{noPadding:!0},e.createElement(o.a,{moduleSlug:"adsense"})):e.createElement(a,null)}AdBlockerWarningWidget.propTypes={Widget:r.a.elementType.isRequired},t.a=Object(c.a)({moduleName:"adsense"})(AdBlockerWarningWidget)}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var a=n(5),r=n.n(a),i=n(16),o=n.n(i),c=n(0),s=n(2),l=n(1),u=n.n(l),d=n(3),g=n(537),m=n(434),f=n(7),p=n(18),b=n(19),v=n(9),h=n(123);function AdSenseConnectCTAWidget(t){var n=t.Widget,a=t.WidgetNull,i=Object(d.useDispatch)(f.a).dismissItem,l=Object(h.c)(m.b).isTooltipVisible,u=Object(b.a)(),y=Object(d.useSelect)((function(e){return e(p.a).isModuleConnected("adsense")})),O=Object(d.useSelect)((function(e){return e(f.a).isItemDismissed(m.a)})),_=Object(h.b)(m.b),E=Object(c.useCallback)(o()(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(v.J)("".concat(u,"_adsense-cta-widget"),"dismiss_tooltip");case 2:case"end":return e.stop()}}),e)}))),[u]),k=Object(c.useCallback)(o()(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return _(),e.next=3,i(m.a);case 3:case"end":return e.stop()}}),e)}))),[i,_]);return l?e.createElement(c.Fragment,null,e.createElement(a,null),e.createElement(h.a,{title:Object(s.__)("You can always connect AdSense from here later","google-site-kit"),content:Object(s.__)("The Monetization section will be added back to your dashboard if you connect AdSense in Settings later","google-site-kit"),dismissLabel:Object(s.__)("Got it","google-site-kit"),onDismiss:E,tooltipStateKey:m.b})):!1===y&&!1===O?e.createElement(n,{noPadding:!0},e.createElement(g.a,{onDismissModule:k})):e.createElement(a,null)}AdSenseConnectCTAWidget.propTypes={Widget:u.a.elementType.isRequired,WidgetNull:u.a.elementType.isRequired},t.a=AdSenseConnectCTAWidget}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var a=n(15),r=n.n(a),i=n(1),o=n.n(i),c=n(234),s=n(389),l=n(2),u=n(0),d=n(3),g=n(434),m=n(7),f=n(8),p=n(27),b=n(613),v=n(9),h=n(19),y=n(33),O=n(60),_=n(121),E=n(20),k=n(379),S=n(411),j=n(412),T=n(151),A=n(142),N=n(210);function DashboardTopEarningPagesWidgetGA4(t){var n=t.WidgetNull,a=t.WidgetReportError,i=t.Widget,o=Object(y.a)(),s=Object(d.useInViewSelect)((function(e){return e(f.p).isGatheringData()})),O=Object(d.useSelect)((function(e){return e(m.a).getDateRangeDates({offsetDays:f.f})})),C=O.startDate,w=O.endDate,I=Object(d.useSelect)((function(e){return e(p.m).getAccountID()})),R={startDate:C,endDate:w,dimensions:["pagePath","adSourceName"],metrics:[{name:"totalAdRevenue"}],dimensionFilters:{adSourceName:"Google AdSense account (".concat(I,")")},orderby:[{metric:{metricName:"totalAdRevenue"},desc:!0}],limit:5},M=Object(d.useInViewSelect)((function(e){return e(f.p).getReport(R)}),[R]),D=Object(d.useSelect)((function(e){return e(f.p).getErrorForSelector("getReport",[R])})),x=Object(d.useInViewSelect)((function(e){return D?void 0:e(f.p).getPageTitles(M,R)}),[M,R]),L=Object(d.useSelect)((function(e){return!e(f.p).hasFinishedResolution("getReport",[R])||!D&&void 0===x})),P=Object(d.useSelect)((function(e){return e(m.a).isItemDismissed(g.c)})),Z=Object(d.useSelect)((function(e){return o?null:e(f.p).getServiceReportURL("content-publisher-overview",Object(b.a)({startDate:C,endDate:w}))})),G=Object(d.useSelect)((function(e){return e(f.p).getAdSenseLinked()})),B=Object(d.useSelect)((function(e){return e(m.a).isAdBlockerActive()})),U=Object(u.useRef)(),F=Object(u.useState)(!1),z=r()(F,2),V=z[0],W=z[1],H=function(e){U.current=e,e&&!V&&W(!0)},q=Object(h.a)(),K=Object(c.a)(U,{threshold:.25}),Y=Object(u.useState)(!1),J=r()(Y,2),$=J[0],X=J[1],Q=!!(null==K?void 0:K.intersectionRatio);Object(u.useEffect)((function(){Q&&!$&&(G&&Object(v.J)("".concat(q,"_top-earning-pages-widget"),"view_widget"),G||Object(v.J)("".concat(q,"_top-earning-pages-widget"),"view_notification"),X(!0))}),[Q,q,G,$]);if(P)return e.createElement(n,null);if(!G&&o)return e.createElement(n,null);if(B)return e.createElement(i,{Footer:Footer},e.createElement(N.a,{moduleSlug:"adsense"}));if(L||void 0===s)return e.createElement(i,{noPadding:!0,Footer:Footer},e.createElement(k.a,{rows:5,padding:!0}));if(!G&&!o)return e.createElement(i,{Footer:Footer,ref:H},e.createElement(A.b,{onClick:function(){Object(v.J)("".concat(q,"_top-earning-pages-widget"),"click_learn_more_link")}}));if(D)return e.createElement(i,{Footer:Footer},e.createElement(a,{moduleSlug:"analytics-4",error:D}));function Footer(){return e.createElement(_.a,{className:"googlesitekit-data-block__source",name:Object(l._x)("Analytics","Service name","google-site-kit"),href:Z,external:!0})}var ee=[{title:Object(l.__)("Top Earning Pages","google-site-kit"),tooltip:Object(l.__)("Top Earning Pages","google-site-kit"),primary:!0,Component:function Component(t){var n=t.row,a=r()(n.dimensionValues,1)[0].value,i=x[a],c=Object(d.useSelect)((function(e){return o?null:e(f.p).getServiceReportURL("all-pages-and-screens",{filters:{unifiedPagePathScreen:a},dates:{startDate:C,endDate:w}})}));return o?e.createElement("span",null,i):e.createElement(E.a,{href:c,title:i,external:!0,hideExternalIndicator:!0},i)}},{title:Object(l.__)("Earnings","google-site-kit"),tooltip:Object(l.__)("Earnings","google-site-kit"),field:"metricValues.0.value",Component:function Component(t){var n,a=t.fieldValue;return e.createElement("span",null,Object(v.C)(a,{style:"currency",currency:null==M||null===(n=M.metadata)||void 0===n?void 0:n.currencyCode}))}}];return e.createElement(i,{noPadding:!0,Footer:Footer,ref:H},e.createElement(j.a,null,e.createElement(S.a,{rows:(null==M?void 0:M.rows)||[],columns:ee,zeroState:T.h,gatheringData:s})))}DashboardTopEarningPagesWidgetGA4.propTypes={Widget:o.a.elementType.isRequired,WidgetNull:o.a.elementType.isRequired,WidgetReportError:o.a.elementType.isRequired},t.a=Object(s.a)(Object(O.a)({moduleName:"adsense"}),Object(O.a)({moduleName:"analytics-4"}))(DashboardTopEarningPagesWidgetGA4)}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var a=n(6),r=n.n(a),i=n(15),o=n.n(i),c=n(1),s=n.n(c),l=n(0),u=n(2),d=n(27),g=n(7),m=n(225),f=n(42),p=n(60),b=n(731),v=n(732),h=n(906),y=n(907),O=n(3),_=n(909),E=n(33);function k(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function S(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.type,n=e.currencyCode;if("METRIC_CURRENCY"===t)return Object(l.c)(n);var a={METRIC_TALLY:void 0,METRIC_RATIO:"percent",METRIC_DECIMAL:"decimal",METRIC_MILLISECONDS:void 0};return a[t]}(a.headers[c+1]),gridlines:{color:"#eee"},minorGridlines:{color:"#eee"},textStyle:{color:"#616161",fontSize:12},titleTextStyle:{color:"#616161",fontSize:12,italic:!1},viewWindow:{min:0}},focusTarget:"category",crosshair:{color:"gray",opacity:.1,orientation:"vertical",trigger:"both"},tooltip:{isHtml:!0,trigger:"both"},series:{0:{color:m[c],targetAxisIndex:0},1:{color:m[c],targetAxisIndex:0,lineDashStyle:[3,3],lineWidth:1}}};return Object(u.g)(a,c+1)&&Object(u.g)(i,c+1)?p.vAxis.viewWindow.max=100:p.vAxis.viewWindow.max=void 0,e.createElement(d.e,{className:"googlesitekit-adsense-site-stats"},e.createElement(d.k,null,e.createElement(d.a,{size:12},e.createElement(g.a,{chartType:"LineChart",data:s,loadingHeight:"270px",loadingWidth:"100%",options:p}))))}Stats.propTypes={metrics:s.a.object,currentRangeData:s.a.object,previousRangeData:s.a.object,selectedStats:s.a.number.isRequired}}).call(this,n(4))},,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return StatusMigration}));var a=n(5),r=n.n(a),i=n(16),o=n.n(i),c=n(0),s=n(2),l=n(11),u=n(3),d=n(135),g=n(32),m=n(112),f=n(27),p=n(116);function StatusMigration(){var t,n=Object(u.useSelect)((function(e){return e(f.m).getAccountID()})),a=Object(u.useSelect)((function(e){return e(f.m).getAFCClient(n)})),i=Object(u.useSelect)((function(e){return e(f.m).getCurrentSite(n)})),b=Object(u.useSelect)((function(e){return e(f.m).getAdminReauthURL()})),v=Object(u.useSelect)((function(e){return e(g.a).isNavigating()})),h=Object(u.useDispatch)(f.m),y=h.setAccountStatus,O=h.setSiteStatus,_=h.setAccountSetupComplete,E=h.setSiteSetupComplete,k=h.saveSettings,S=Object(u.useDispatch)(g.a).navigateTo;a&&i&&(t=!(a.state!==f.g||i.state!==f.g||!i.autoAdsEnabled)),Object(c.useEffect)((function(){t&&o()(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,y(p.k);case 2:return e.next=4,O(p.p);case 4:return e.next=6,k();case 6:case"end":return e.stop()}}),e)})))()}),[t,k,y,O]);var j=function(){var e=o()(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,_(!1);case 2:return e.next=4,E(!1);case 4:return e.next=6,k();case 6:S(b);case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return!0===t?null:e.createElement(m.b,null,e.createElement(m.c,null,e.createElement(m.a,{size:12},void 0===t&&e.createElement(l.ProgressBar,null),!1===t&&e.createElement(d.c,{className:"googlesitekit-settings-notice-adsense-status-migration",type:d.b,notice:Object(s.__)("You need to redo setup to complete AdSense configuration","google-site-kit"),CTA:function CTA(){return e.createElement(l.SpinnerButton,{onClick:j,disabled:v,isSaving:v},Object(s.__)("Redo setup","google-site-kit"))}}))))}}).call(this,n(4))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var a,r=n(3),i=n.n(r),o=n(187),c=n.n(o),s=n(352),l=n.n(s),u=n(5),d=n.n(u),g=n(16),m=n.n(g),f=n(2),p=n(97),b=n(599),v=(n(554),n(678),n(790)),h=(n(679),n(791)),y=n(792),O=n(793),_=n(794),E=n(795),k=n(796),S=n(797),j=n(419),T=n(27),A=n(434),N=(n(680),n(798)),C=n(7),w=n(8),I=n(6),R=n.n(I),M=n(10),D=n.n(M),x=n(189),L=n(225),P=n(56);function Z(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function G(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.accountID,n=e.clientID;D()(t,"accountID is required."),D()(n,"clientID is required.")}}),de={getAdUnits:d.a.mark((function e(t,n){var a;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0!==t&&void 0!==n){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,r.commonActions.getRegistry();case 4:if(a=e.sent,!a.select(T.m).getAdUnits(t,n)){e.next=8;break}return e.abrupt("return");case 8:return e.next=10,ue.actions.fetchGetAdUnits(t,n);case 10:case"end":return e.stop()}}),e)}))},ge={getAdUnits:function(e,t,n){if(void 0!==t&&void 0!==n)return e.adunits["".concat(t,"::").concat(n)]}},me=Object(r.combineStores)(ue,{initialState:{adunits:{}},actions:{},reducer:function(e,t){t.type;return e},resolvers:de,selectors:ge}),fe=(me.initialState,me.actions,me.controls,me.reducer,me.resolvers,me.selectors,me);function pe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function be(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.accountID;D()(t,"accountID is required.")}}),he={resetClients:d.a.mark((function e(){var t,n;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.commonActions.getRegistry();case 2:return t=e.sent,n=t.dispatch,e.next=6,{payload:{},type:"RESET_CLIENTS"};case 6:return e.next=8,Q.a.clearErrors("getClients");case 8:return e.abrupt("return",n(T.m).invalidateResolutionForStoreSelector("getClients"));case 9:case"end":return e.stop()}}),e)}))},ye={getClients:d.a.mark((function e(t){var n;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0!==t&&Object(L.e)(t)){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,r.commonActions.getRegistry();case 4:if(n=e.sent,!n.select(T.m).getClients(t)){e.next=8;break}return e.abrupt("return");case 8:return e.next=10,ve.actions.fetchGetClients(t);case 10:case"end":return e.stop()}}),e)}))},Oe={getClients:function(e,t){if(void 0!==t)return e.clients[t]},getAFCClient:Object(r.createRegistrySelector)((function(e){return function(t,n){if(void 0!==n){var a=e(T.m).getClients(n);if(void 0!==a){var r=a.filter((function(e){return"AFC"===e.productCode}));return r.length?r[0]:null}}}}))},_e=Object(r.combineStores)(ve,{initialState:{clients:{}},actions:he,reducer:function(e,t){switch(t.type){case"RESET_CLIENTS":var n=e.savedSettings||{},a=n.clientID,r=n.accountStatus,i=n.siteStatus,o=n.accountSetupComplete,c=n.siteSetupComplete;return be(be({},e),{},{clients:Ee.clients,settings:be(be({},e.settings||{}),{},{clientID:a,accountStatus:r,siteStatus:i,accountSetupComplete:o,siteSetupComplete:c})});default:return e}},resolvers:ye,selectors:Oe}),Ee=_e.initialState,ke=(_e.actions,_e.controls,_e.reducer,_e.resolvers,_e.selectors,_e),Se=n(12),je=n(9),Te=n(99),Ae=["ACTIVE_VIEW_MEASURABILITY","ACTIVE_VIEW_TIME","ACTIVE_VIEW_VIEWABILITY","AD_REQUESTS_COVERAGE","AD_REQUESTS_CTR","AD_REQUESTS_RPM","AD_REQUESTS_SPAM_RATIO","AD_REQUESTS","ADS_PER_IMPRESSION","CLICKS_SPAM_RATIO","CLICKS","COST_PER_CLICK","ESTIMATED_EARNINGS","IMPRESSIONS_CTR","IMPRESSIONS_RPM","IMPRESSIONS_SPAM_RATIO","IMPRESSIONS","INDIVIDUAL_AD_IMPRESSIONS_CTR","INDIVIDUAL_AD_IMPRESSIONS_RPM","INDIVIDUAL_AD_IMPRESSIONS_SPAM_RATIO","INDIVIDUAL_AD_IMPRESSIONS","MATCHED_AD_REQUESTS_CTR","MATCHED_AD_REQUESTS_RPM","MATCHED_AD_REQUESTS_SPAM_RATIO","MATCHED_AD_REQUESTS","METRIC_UNSPECIFIED","PAGE_VIEWS_CTR","PAGE_VIEWS_RPM","PAGE_VIEWS_SPAM_RATIO","PAGE_VIEWS","TOTAL_EARNINGS","TOTAL_IMPRESSIONS","WEBSEARCH_RESULT_PAGES"],Ne=["ACCOUNT_NAME","AD_CLIENT_ID","AD_FORMAT_CODE","AD_FORMAT_NAME","AD_PLACEMENT_CODE","AD_PLACEMENT_NAME","AD_UNIT_ID","AD_UNIT_NAME","AD_UNIT_SIZE_CODE","AD_UNIT_SIZE_NAME","BID_TYPE_CODE","BID_TYPE_NAME","BUYER_NETWORK_ID","BUYER_NETWORK_NAME","CONTENT_PLATFORM_CODE","CONTENT_PLATFORM_NAME","COUNTRY_CODE","COUNTRY_NAME","CREATIVE_SIZE_CODE","CREATIVE_SIZE_NAME","CUSTOM_CHANNEL_ID","CUSTOM_CHANNEL_NAME","CUSTOM_SEARCH_STYLE_ID","CUSTOM_SEARCH_STYLE_NAME","DATE","DIMENSION_UNSPECIFIED","DOMAIN_CODE","DOMAIN_NAME","DOMAIN_REGISTRANT","MONTH","OWNED_SITE_DOMAIN_NAME","OWNED_SITE_ID","PLATFORM_TYPE_CODE","PLATFORM_TYPE_NAME","PRODUCT_CODE","PRODUCT_NAME","REQUESTED_AD_TYPE_CODE","REQUESTED_AD_TYPE_NAME","SERVED_AD_TYPE_CODE","SERVED_AD_TYPE_NAME","TARGETING_TYPE_CODE","TARGETING_TYPE_NAME","URL_CHANNEL_ID","URL_CHANNEL_NAME","WEBSEARCH_QUERY_STRING","WEEK"];function Ce(e){var t=Object(Se.castArray)(e);D()(t.length,"at least one metric is required.");var n=t.filter((function(e){return!Ae.includes(e)}));D()(0===n.length,"invalid AdSense metrics requested: ".concat(n.toString()))}function we(e){var t=Object(Se.castArray)(e);D()(t.length,"at least one dimension is required.");var n=t.filter((function(e){return!Ne.includes(e)}));D()(0===n.length,"invalid AdSense dimensions requested: ".concat(n.toString()))}function Ie(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Re(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.options;D()(Object(Se.isPlainObject)(t),"options must be an object."),D()(Object(Te.a)(t),"Either date range or start/end dates must be provided for AdSense report.");var n=t.orderby,a=t.metrics,r=t.dimensions;D()(Object(Te.d)(a),"Metrics for an AdSense report must be either a string or an array of strings."),Ce(a),r&&(D()(Object(Te.d)(r),"Dimensions for an AdSense report must be either a string or an array of strings."),we(r)),n&&D()(Object(Te.b)(n),'Orders for an AdSense report must be either an object or an array of objects where each object should have "fieldName" and "sortOrder" properties.')}}),De={getReport:d.a.mark((function e(){var t,n,a=arguments;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=a.length>0&&void 0!==a[0]?a[0]:{},e.next=3,r.commonActions.getRegistry();case 3:if(n=e.sent,!n.select(T.m).getReport(t)){e.next=7;break}return e.abrupt("return");case 7:return e.next=9,Me.actions.fetchGetReport(t);case 9:case"end":return e.stop()}}),e)}))},xe={getReport:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.reports;return n[Object(je.I)(t)]}},Le=Object(r.combineStores)(Me,{initialState:{reports:{}},resolvers:De,selectors:xe}),Pe=(Le.initialState,Le.actions,Le.controls,Le.reducer,Le.resolvers,Le.selectors,Le),Ze=n(519),Ge=Object(Ze.a)({storeName:T.m,tagMatchers:[/google_ad_client: ?["|'](.*?)["|']/,/<(?:script|amp-auto-ads) [^>]*data-ad-client="([^"]+)"/,/<(?:script|amp-auto-ads)[^>]*src="[^"]*\?client=(ca-pub-[^"]+)"[^>]*>/],isValidTag:L.f}),Be=n(18),Ue={selectors:{getAdBlockerWarningMessage:Object(r.createRegistrySelector)((function(e){return function(){var t=e(C.a).isAdBlockerActive();if(void 0!==t)return t?e(Be.a).isModuleConnected("adsense")?Object(f.__)("Ad blocker detected; please disable it to get the latest AdSense data","google-site-kit"):Object(f.__)("Ad blocker detected; please disable it to set up AdSense","google-site-kit"):null}}))}},Fe=n(170),ze=n(14),Ve=n(543);function We(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}var He={selectors:{getServiceURL:Object(r.createRegistrySelector)((function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=n.path,r=n.query,i="https://www.google.com/adsense/new/u/0";if(a){var o="/".concat(a.replace(/^\//,""));i="".concat(i).concat(o)}r&&(i=Object(Fe.a)(i,r));var c=e(C.a).getAccountChooserURL(i);if(void 0!==c)return c}})),getServiceCreateAccountURL:Object(r.createRegistrySelector)((function(e){return function(){var t=e(ze.c).getReferenceSiteURL(),n={source:"site-kit",utm_source:"site-kit",utm_medium:"wordpress_signup"};return void 0!==t&&(n.url=Object(Ve.a)(t)),Object(Fe.a)("https://www.google.com/adsense/signup",n)}})),getServiceAccountURL:Object(r.createRegistrySelector)((function(e){return function(){var t=e(T.m).getAccountID();if(void 0!==t){return e(T.m).getServiceURL({accountID:t,query:{source:"site-kit"}})}}})),getServiceReportURL:Object(r.createRegistrySelector)((function(e){return function(t,n){var a=e(T.m).getAccountID();if(void 0!==a){var r=function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.accountID;D()(t,"accountID is required.")}}),Je={resetSites:d.a.mark((function e(){var t,n;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.commonActions.getRegistry();case 2:return t=e.sent,n=t.dispatch,e.next=6,{payload:{},type:"RESET_SITES"};case 6:return e.next=8,Q.a.clearErrors("getSites");case 8:return e.abrupt("return",n(T.m).invalidateResolutionForStoreSelector("getSites"));case 9:case"end":return e.stop()}}),e)}))},$e={getSites:d.a.mark((function e(t){var n;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0!==t&&Object(L.e)(t)){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,r.commonActions.getRegistry();case 4:if(n=e.sent,!n.select(T.m).getSites(t)){e.next=8;break}return e.abrupt("return");case 8:return e.next=10,Ye.actions.fetchGetSites(t);case 10:case"end":return e.stop()}}),e)}))},Xe={getSites:function(e,t){if(void 0!==t)return e.sites[t]},getSite:Object(r.createRegistrySelector)((function(e){return function(t,n,a){return function(e,t){if(void 0!==e&&void 0!==t&&Array.isArray(e)){var n=e.filter((function(e){return!!e.state})),a=n.find((function(e){return e.domain===t.toLowerCase()}));return a||(n.find((function(e){return new RegExp("\\.".concat(Object(Se.escapeRegExp)(e.domain),"$"),"i").test(t)}))||null)}}(e(T.m).getSites(n),a)}})),getCurrentSite:Object(r.createRegistrySelector)((function(e){return function(t,n){var a=e(ze.c).getReferenceSiteURL(),r=new URL(a);return e(T.m).getSite(n,r.hostname)}}))},Qe=Object(r.combineStores)(Ye,{initialState:{sites:{}},actions:Je,reducer:function(e,t){switch(t.type){case"RESET_SITES":var n=e.savedSettings||{},a=n.siteID,r=n.accountStatus,i=n.siteStatus,o=n.accountSetupComplete,c=n.siteSetupComplete;return Ke(Ke({},e),{},{sites:et.sites,settings:Ke(Ke({},e.settings||{}),{},{siteID:a,accountStatus:r,siteStatus:i,accountSetupComplete:o,siteSetupComplete:c})});default:return e}},resolvers:$e,selectors:Xe}),et=Qe.initialState,tt=(Qe.actions,Qe.controls,Qe.reducer,Qe.resolvers,Qe.selectors,Qe),nt=n(319),at=[/
Tuning your bass guitar is more than just ensuring each string is at the right pitch. It’s about unlocking the true power and potential of your instrument. From the impact it has on your sound to its overall playability, you’ll discover why tuning is the foundation upon which your musical journey is built.
But why is tuning so important? Imagine the frustration of playing out-of-tune notes that clash with the rest of the band. Or the feeling of limitation when your bass guitar fails to produce the desired tone. By mastering the art of tuning, you’ll unlock a world of possibilities. Your bass lines will groove with precision, your notes will resonate harmoniously, and your sound will reach new heights.
As you absorb the knowledge and techniques shared in this guide, a desire will ignite within you. The desire to create music that is in perfect harmony, to experience the joy of playing a bass guitar that is precisely tuned, and to captivate your audience with a sound that resonates deep within their souls.
Equip yourself with the knowledge and tools shared in this guide, and let your bass guitar sing with clarity and precision. Get ready to tune each string with confidence, fine-tune your instrument to perfection, and experience the transformative power of being in tune. So let’s start with the best bass guitar tuning guide for beginners.
1. Understanding Bass Guitar Tuning
To begin our exploration of bass guitar tuning, let’s first understand the standard tuning for a 4-string bass guitar.
The standard tuning is typically EADG, with each letter representing the pitch of the corresponding string.
The low E string (4th string) produces the deepest and lowest note, while the G string (1st string) produces the highest and thinnest note. This standard tuning provides a balanced and versatile foundation for most musical styles.
a. Alternative Tuning Methods
However, it’s important to note that alternative tunings exist for bass guitars, depending on specific musical preferences and genres.
Some bassists may choose to tune down their strings to achieve a heavier and deeper sound, while others may explore alternate tunings for unique tonal possibilities.
Understanding these alternate tunings and their applications can open up a whole new world of sonic exploration.
Now that we understand the importance of bass guitar tuning, let’s explore the various methods and tools available to help you achieve accurate tuning.
One popular method is using an electronic tuner, which detects the pitch of each string and displays it visually.
Electronic tuners are easy to use and provide precise tuning guidance. They come in various forms, including clip-on tuners, pedal tuners, and smartphone apps.
Utilizing an electronic tuner is an efficient and reliable way to ensure your bass guitar is tuned accurately.
a. Tuning by Ear
Another method for tuning a bass guitar is by ear. This method involves using a reference pitch, such as a piano or tuning fork, to tune each string manually.
While it requires some practice and a good musical ear, tuning by ear allows you to develop your sense of pitch and can be particularly useful in situations where an electronic tuner is not available.
b. Tuning by App
In addition to electronic tuners and tuning by ear, there are several smartphone apps and online resources specifically designed to assist with bass guitar tuning.
These apps, often regarded as the best bass guitar tuner apps, provide visual displays of pitch and often include additional features like metronomes and chord libraries. They are convenient tools that can be accessed on the go, making tuning your bass guitar a breeze.
Now that we’ve covered the methods and tools in our quest for the Best Bass Guitar Tuning Guide for Beginners, let’s dive into the practical techniques for tuning each string of a 4-string bass guitar. We’ll go step by step through the process, ensuring that you achieve accurate tuning and maintain proper string tension.
Starting with the E (4th) for bass tuning 4 string, you’ll need to adjust the string tension by turning the tuning peg until it matches the desired pitch. It’s crucial to listen carefully and make small adjustments to avoid overtightening or loosening the string.
Moving on to the A (3rd) string, the same principles apply. Adjust the tension until the pitch matches the desired note for bass tuning 4 string. Remember to take your time and fine-tune the string gradually.
Next, we’ll tune the D (2nd) string. Again, listen closely to the pitch and make precise adjustments to achieve the desired note for bass tuning 4 string. Patience and attentiveness are keys to achieving accurate tuning.
Finally, we’ll tune the G (1st) string for bass tuning on the 4th string. Follow the same process as before, ensuring that the string tension matches the desired pitch. Pay attention to the overall balance of the bass guitar’s sound as you fine-tune each string.
Throughout the tuning process, it’s essential to make small adjustments and regularly check the pitch to achieve accurate tuning for bass tuning 4 string. Remember, practice makes perfect, and with time, you’ll become more proficient in tuning your bass guitar
4. Tuning Techniques for Extended-Range Bass Guitars
If you’re playing an extended-range bass guitar, such as a 5-string or 6-string instrument, tuning techniques can vary slightly. These additional strings offer a wider tonal range and require specific tuning considerations.
a. Tuning a 5-string Guitar
For a 5-string bass guitar, the extra string is typically a low B string. So When bass tuning 5-string, it’s important to ensure that the tension and pitch of the B string are balanced with the other strings. You can use an electronic tuner or reference pitch to achieve accurate tuning, following the same principles as tuning a 4-string bass guitar.
This ensures that the instrument produces a harmonious and well-balanced sound across all strings. Remember, for bass tuning 5-string, practice, and patience are key to achieving optimal tuning results. So, whether you’re a seasoned player or just starting out, mastering bass tuning 5-string instrument is an essential skill.
b. Tuning a 6-string Guitar
In the case of a 6-string bass guitar, the additional strings are usually a high C string and a low B string.
Tuning these strings requires precision and careful attention to achieve the desired pitch and maintain proper string tension.
As with tuning a 5-string bass guitar, use an electronic tuner or reference pitch to guide you through the tuning process.
Whether you’re playing a 4-string, 5-string, or 6-string bass guitar, it’s crucial to maintain proper string tension and intonation for optimal playability and sound quality.
To ensure your bass guitar stays in tune for extended periods, there are several tips and techniques to keep in mind. These practices will help you maintain tuning stability and prolong the lifespan of your strings.
Proper string winding techniques play a significant role in tuning stability. When changing strings, make sure to wind them neatly and securely around the tuning pegs. This prevents slippage and ensures a stable connection between the string and the peg.
a. Temperature and Environment
Extreme temperature and humidity conditions can affect the tuning stability of your bass guitar. Avoid exposing your instrument to drastic changes in temperature and humidity, as they can cause the wood and strings to expand or contract.
Store your bass guitar in a controlled environment and avoid leaving it in extreme conditions, such as a hot car or a damp basement.
b. String Conditions
Regular string changes are crucial for maintaining tuning stability. Over time, strings lose their elasticity and tonal quality, which can affect the overall tuning.
As a general guideline, consider changing your strings every three to six months, depending on your playing frequency and personal preference.
c. Proper Bridge and Saddle Heights
Additionally, ensuring proper bridge and saddle heights is essential for maintaining intonation and tuning accuracy.
Regularly check the setup of your bass guitar, or consult with a professional guitar technician, to ensure that the bridge and saddles are correctly adjusted. This will contribute to improved tuning stability and overall playability.
By implementing these tips, you can enhance the tuning stability of your bass guitar and enjoy consistent and reliable performance.
Even with the best practices in place, you may encounter common tuning problems with your bass guitar. Understanding these issues and knowing how to troubleshoot them can save you time and frustration.
a. String Slippage
One common issue is string slippage, where the string loses tension and detunes itself. To address this, make sure the strings are wound properly around the tuning pegs and have a secure grip. If slippage persists, you may consider using locking tuners or adding a string tree to enhance stability.
b. Intonation Issues
Intonation issues can also affect tuning accuracy. It refers to the relative pitch accuracy of each note along the length of the fretboard.
If your bass guitar is experiencing intonation problems, consult a professional guitar technician who can adjust the saddles and bridge to ensure accurate intonation across all frets.
c. Keeping the Guitar New
Hardware that is outdated or damaged can occasionally cause tuning instability. Check the integrity of your tuning pegs, bridge, and nut to ensure they are functioning properly. If necessary, replace any worn or faulty components to restore tuning stability.
Remember, patience and persistence are key when troubleshooting tuning issues. It may take some time and experimentation to identify and address the root cause of the problem. If you’re unsure or struggling to resolve the issue on your own, seek advice from a knowledgeable guitar technician who can provide expert guidance.
While standard tuning is widely used, exploring alternate tunings can open up exciting avenues for creative expression on the bass guitar.
Many bassists experiment with alternate tunings to achieve different tonalities, expand their sonic palette, or adapt to specific musical genres.
a. Useful Alternate Tuning Methods
Drop tunings, such as Drop D (DADG) or Drop C (CGCF), lower the pitch of the strings, adding depth and heaviness to your bass lines.
Open tunings, like Open G (GBDGBD) or Open D (DADF#AD), provide unique chord voicings and open-string possibilities.
These alternate tunings can add a whole new dimension to your bass playing, enabling you to create fresh sounds and explore unconventional musical territories.
Before experimenting with alternate tunings, it’s important to understand the specific tunings and how they will affect your playing.
Take the time to familiarize yourself with the string relationships and note patterns within each alternate tuning. This knowledge will empower you to unlock new possibilities and develop a unique playing style.
8. Essential Tuning Accessories
To further optimize your tuning experience, consider investing in high-quality accessories. Here are some top recommendations:
a. Best Bass Tuner Clip-On
If you want the best bass tuner clip-on, then consider the Snark SN-5X Clip-On Tuner and the D’Addario NS Micro Clip-On Tuner, both regarded as top-notch and the best bass tuner clip-on. They feature compact and user-friendly designs coupled with bright and multi-colored displays, ensuring easy and accurate tuning.
b. Best Pedal Tuner for Bass Guitar
For the best pedal tuner for bass guitar, the Boss TU-3 Chromatic Tuner Pedal stands out. It’s known for its durability and reliability, featuring a large LED display. Additionally, it supports both guitar and bass tuning, making it a versatile choice. Consider the Boss TU-3 as your go-to best pedal tuner for bass guitar.
c. Best Bass Machine Heads
When it comes to the best bass machine heads, the Hipshot Ultralite Bass Tuning Machines are a top choice. These tuning machines are known for being lightweight and precision-engineered. What sets them apart as the best bass machine heads is their impressive 20:1 gear ratio, allowing for highly accurate tuning adjustments.
Conclusion
Tuning your bass guitar is a fundamental aspect of playing and creating music. By following the techniques and tips outlined in this guide, you’ll be able to achieve accurate tuning, maintain stability, and explore the vast potential of different tunings.
Remember, tuning is not just about hitting the right notes but also about unlocking the true potential of your instrument. Embrace the journey of discovery, experiment with different tunings, and let your bass guitar resonate with the sounds that inspire you. We are sure this Best Bass Guitar Tuning Guide for Beginners has answered all your questions.
Enjoy the process, and may your tuned bass guitar take your musical expression to new heights.
Frequently Asked Questions about Tuning Guitars
Q: What is the tuning for a beginner bass?
A: For a beginner bass player, it’s recommended to start with standard tuning, which is E-A-D-G. This is the most common and widely used tuning for a 4-string bass guitar. As you progress and explore different styles of music, you may encounter alternate tunings, but standard tuning provides a solid foundation for learning and playing a wide range of songs.
Q: What frequency should I tune my bass guitar?
A: Standard tuning for a 4-string bass guitar is E-A-D-G, with the frequencies of the open strings being approximately 41.2 Hz, 55 Hz, 73.4 Hz, and 98 Hz respectively. These frequencies correspond to the fundamental tones of each string when they are played without any fretting.
Q: What is the best 5 string bass for beginners?
A: The Yamaha TRBX305 is often recommended as one of the best 5-string bass guitars for beginners. It offers a comfortable playing experience, versatile tone options, and solid build quality at an accessible price point. Other good options include the Ibanez GSR205 and the Squier Affinity Series Jazz Bass V.
Q: what are best bass guitar tuner app?
A: Some of the best bass guitar tuner apps include: Fender Tune, BOSS Tuner, GuitarTuna. These apps offer accurate tuning, user-friendly interfaces, and additional features like metronomes and chord libraries and are considered the best bass guitar app.
5 thoughts on “Best Bass Guitar Tuning Guide for Beginners [2024]”