Duplicate Post - Version 1.0.2

Version Description

  • Added new cool GIF inside the intro
  • Added photos to the screenshots library
  • Removed unnecessary stuff in code
Download this release

Release Info

Developer copydelete
Plugin Icon wp plugin Duplicate Post
Version 1.0.2
Comparing to
See all releases

Code changes from version 1.0.1 to 1.0.2

assets/css/cdp-global.min.css CHANGED
@@ -1 +1 @@
1
- @import url('https://fonts.googleapis.com/css?family=Montserrat:200,300,400,400i,500,600,700,800,900&display=swap');.cdp-admin-bar-icon-noti::before{font-family: dashicons;content: '\f465';top: 5px;position: relative;color: rgba(240,245,250,.6);margin-right: 3px;font-size: 18px}.cdp-admin-bar-icon-noti{line-height: 1!important}.cdp-admin-bar-copy{line-height: 1!important}.cdp-ab-sub .ab-item[target="_self"]{display: none!important}.cdp-dropdown-submenu{padding-top: 0!important;padding: 0!important}.cdp-dropdown-submenu *{line-height: 25px!important}.cdp-dropdown-left-header{height: 25px!important;display: inline-block!important;width: calc(100% - 35px)!important;color: #eee!important;font-weight: bolder!important}.cdp-undone-notis .cdp-dropdown-left{cursor: progress}.cdp-dropdown-left{height: 25px!important;display: inline-block!important;width: calc(100% - 35px)!important}.cdp-dropdown-right{height: 25px!important;display: inline-block!important;width: 35px!important;text-align: right!important;cursor: pointer}.cdp-dropdown-hr{display: block;background: #035baa;border-color: #aaa;border-width: 1;margin-top: 4px;margin-bottom: 3px}.cdp-bnew-notis{font-style: italic}.cdp-tooltip-content{display: none}.cdp-copy-loader-overlay .cdp-text-overlay{position: absolute;left: calc(50% - 200px);top: calc(50% - 50px);height: 130px;width: 400px;margin: 0px auto;font-weight: bolder;overflow: hidden;color: #fff;text-align: center}.cdp-copy-loader-overlay{display: none;position: fixed;top: 0;left: 0;width: 100vw;height: 100vh;background: rgba(0,0,0,.4);z-index: 199999}.cdp-modal{display: none;position: fixed;width: 100vw;height: 100vh;top: 0;left: 0;background: rgba(80,182,168,.32);z-index: 100000}.cdp-modal input,.cdp-tooltip-content input{box-shadow: none!important;outline: 0!important}.cdp-modal input:focus,.cdp-tooltip-content input:focus{border-color: #50b6a8!important;box-shadow: none!important;outline: 0!important}.cdp-modal-content{position: absolute;top: 50%;left: 50%;line-height: normal;transform: translate(-50%,-50%);color: #333;background: #fff;z-index: 200000;min-width: 720px;max-width: 80vw;width: 35%;overflow-y: auto;max-height: 70vh}.cdp-modal-content .cdp-button{border-radius: 3px!important;font-size: 18px!important}.cdp-button.cdp-d-real-delete{border-radius: 3px;font-weight: 600;font-size: 19px!important;width: 569px!important;height: 53px!important}.cdp-modal-padding{padding: 10px 15px}.cdp-modal-title{color: #000;text-align: center;font-size: 22px;font-weight: bolder;background: #f2f2f2;border-bottom: 1px solid #31538f;min-width: 300px}.cdp-modal-bottom-margin{margin-bottom: 10px}.cdp-notification-box{position: fixed;top: 15px;right: 15px;min-width: 100px;max-width: 40vw;z-index: 1000000}.cdp-notification.is-info,.cdp-title.is-info{background-color: rgb(12,150,183)}.cdp-notification.is-danger,.cdp-title.is-danger{background-color: rgb(228,112,111)}.cdp-notification.is-success,.cdp-title.is-success{background-color: rgb(109,183,153)}.cdp-alert-icon{height: 100%;width: 25px}.cdp-alert-icon .cdp-icon-bg{width: 25px;height: 25px}.cdp-alert-msg-title{padding-left: 40px!important}.cdp-notification .cdp-icon-bg{background-position: center;background-repeat: no-repeat;position: absolute;height: calc(100% - 36px)}.cdp-notification.is-success .cdp-icon-bg{background-image: url('../imgs/alert_success.png')}.cdp-notification.is-warning .cdp-icon-bg{background-image: url('../imgs/alert_warning.png')}.cdp-notification.is-info .cdp-icon-bg{background-image: url('../imgs/alert_info.png')}.cdp-notification.is-danger .cdp-icon-bg{background-image: url('../imgs/alert_error.png')}.cdp-notification.is-warning,.cdp-title.is-warning{background-color: rgb(236,177,53)}.cdp-title{margin-bottom: 3px;font-weight: 500;font-size: 15px!important}.cdp-notification{border-radius: 3px;padding: 18px 36px 18px 20px!important;position: relative;margin-bottom: 15px;padding-left: 3px;font-family: 'Montserrat',sans-serif!important;font-size: 15px!important;font-weight: 300;color: white}.cdp-times-button{top: 2px;right: 1px;position: absolute;background: none!important;border: none;font-size: 24px;cursor: pointer;font-weight: 500;color: white;opacity: .6;transition: opacity .2s;padding: 2px 9px!important}.cdp-times-button:hover{cursor: pointer;opacity: 1}.cdp-noti-hide{display: none}.cdp-modal-times{position: absolute;top: 10px;right: 10px;transition: all .3s;cursor: pointer;background: url('../imgs/close.png');width: 20px;height: 20px;background-position: center;background-repeat: no-repeat;background-size: cover;opacity: .4}.cdp-modal-times.cdp-no-border{border: 0!important}.cdp-modal-times:hover{opacity: 1}.cdp-modal *{font-family: 'Montserrat',sans-serif!important;font-weight: 400}.cdp-modal a{color: #50b6a8}.cdp-modal a:hover{color: #48a598}.cdp-modal a:active{color: #429388}.cdp-modal-checkboxes,.cdp-modal-checkboxes-r{width: 100%}.cdp-modal-checkboxes span,.cdp-modal-checkboxes-r span{font-weight: 400!important;font-size: 15px;line-height: 33px!important;cursor: pointer;color: black}.cdp-modal-checkboxes label,.cdp-modal-checkboxes-r label{display: inline-block;width: calc(25% - 4px);line-height: 2.5}.cdp-modal-checkboxes-three label:nth-child(1){width: calc(25% - 4px)!important}.cdp-modal-checkboxes-three label:nth-child(2):not(.cdp-yoast){width: calc(25% - 4px)!important}.cdp-modal-checkboxes-three label:nth-child(3),label.cdp-yoast{width: calc(50% - 4px)!important;max-width: 175px}.cdp-modal-copy-times{margin-top: 10px;text-align: center}.cdp-modal-copy-times-tooltip{text-align: center}.cdp-modal-copy-times-content{position: relative;padding: 17px;background: #f9f9f9}.cdp-copy-modal .cdp-modal-content{width: 850px!important;min-width: 850px!important;border-radius: 3px}.cdp-cp-pad{padding: 20px 65px}.cdp-modal-content h2{font-size: 16px;font-weight: 600}.cdp-modal-input-times{min-height: 36px!important;max-height: 36px!important;max-width: 60px!important;font-size: 15px!important;line-height: 36px!important}.cdp-modal-input-times{width: 55px;text-align: center;font-family: 'Montserrat',sans-serif;box-shadow: 0 0 0 transparent;padding: 5px 2px;border-radius: 3px;border: 1px solid #7e8993!important;background-color: #fff;color: #32373c;-webkit-appearance: none;-moz-appearance: textfield}.cdp-modal-input-times::-webkit-outer-spin-button,.cdp-modal-input-times::-webkit-inner-spin-button{-webkit-appearance: none;-moz-appearance: textfield}.cdp-modal-input-times-tooltip{width: 59px!important;font-family: 'Montserrat',sans-serif;margin: 0}.cdp-p-right-l{margin-left: 7px}.cdp-p-right-h{margin-left: 15px}.cdp-low-round{border-radius: 5px!important}.cdp-rl-round{border-radius: 2px!important}.cdp-no-round{border-radius: 0px!important}.cdp-copy-now-btn-tooltip{max-width: 88px;max-height: 13px;font-size: 16px!important;line-height: 14px;font-weight: 400!important}.cdp-f-w-thin{font-weight: 100!important}.cdp-f-w-extra-light{font-weight: 200!important}.cdp-f-w-light{font-weight: 300!important}.cdp-f-w-regular{font-weight: 400!important}.cdp-f-w-medium{font-weight: 500!important}.cdp-f-w-semi-bold{font-weight: 600!important}.cdp-f-w-bold{font-weight: 600!important}.cdp-f-w-extra-bold{font-weight: 700!important}.cdp-f-w-black{font-weight: 800!important}.cdp-f-s-10{font-size: 10px!important}.cdp-f-s-11{font-size: 11px!important}.cdp-f-s-12{font-size: 12px!important}.cdp-f-s-13{font-size: 13px!important}.cdp-f-s-14{font-size: 14px!important}.cdp-f-s-15{font-size: 15px!important}.cdp-f-s-16{font-size: 16px!important}.cdp-f-s-17{font-size: 17px!important}.cdp-f-s-18{font-size: 18px!important}.cdp-f-s-19{font-size: 19px!important}.cdp-f-s-20{font-size: 20px!important}.cdp-f-s-21{font-size: 21px!important}.cdp-f-s-22{font-size: 22px!important}.cdp-f-s-30{font-size: 30px!important}.cdp-tooltip-before{height: calc(190px - 20px - 16px);width: calc(246px - 6px - 20px);padding: 10px 3px}.cdp-below-tooltip-before{font-size: 12px}.cdp-sizes-profile-tooltip{width: 118px!important;max-width: 118px!important}.cdp-info-icon{position: absolute;top: calc(50% - 8px);width: 16px;height: 16px;background: url('../imgs/info.png');display: inline-block;line-height: 16px;background-repeat: no-repeat;background-position: center;background-size: cover;margin: 0;margin-left: 3px;cursor: pointer}.cdp-tbody-of-settings .cdp-info-icon{display: none!important;visibility: hidden}.cdp-premium-icon{position: absolute;width: 16px;height: 16px;top: calc(50% - 8px);background: url('../imgs/premium.png');display: inline-block;line-height: 16px;background-repeat: no-repeat;background-position: center;background-size: cover;padding: 0;margin-left: 7px;cursor: pointer}.cdp-big-icon{width: 22px;height: 22px;top: calc(50% - 11px);line-height: 22px}.cdp-relative{position: relative}.cdp-padding-20-h{padding-top: 20px;padding-bottom: 20px}.cdp-padding-10-h{padding-top: 10px;padding-bottom: 10px}.cdp-padding-5-h{padding-top: 5px;padding-bottom: 5px}.cdp-input-border{border-width: 1px!important;border-color: rgb(198,201,206)!important;outline: 0!important;box-shadow: none!important}.cdp-input-border:focus{border-color: #50b6a8!important;outline: 0!important;box-shadow: none!important}.cdp-lh-24{line-height: 24px}.cdp-lh-30{line-height: 30px}.cdp-lh-48{line-height: 48px}.cdp-p-20-b{padding-bottom: 20px!important}.cdp-p-35-b{padding-bottom: 35px!important}.cdp-checkboxes [type="checkbox"]{color: #555;clear: none;cursor: pointer;display: inline-block;margin: -.25rem .25rem 0 0;outline: 0;padding: 0;text-align: center;vertical-align: middle;-webkit-appearance: none;box-shadow: inset 0 1px 2px rgba(0,0,0,.1);border: 1px solid #50b6a8;height: 22px;width: 22px;margin-right: 5px;margin-top: -2px;background: #fff;transition: all .3s;border-radius: 6px;margin-right: 5px}.cdp-checkboxes [type="checkbox"]:checked{background: #50b6a8}.cdp-checkboxes [type="checkbox"]:checked::before{content: '';border-top: 2px solid white;border-left: 2px solid white;height: 9px!important;width: 5px!important;margin: -.1875rem 0 0 -.25rem;margin-top: 3px;margin-left: 7px;transform: rotate(220deg);float: left;display: inline-block;vertical-align: middle}.cdp-p-25-h{padding-top: 25px;padding-bottom: 25px}.cdp-tooltip-c-t{margin-left: -20px;width: calc(100% + 40px)}#toplevel_page_copy-delete-posts img{max-height: 22px;margin-left: 6px;margin-top: -1px}.cdp-copy-alert-success{display: block!important;position: fixed;left: 0;right: 0;text-align: center;z-index: 99998}.cdp-original-info-b{max-width: calc(76vw - 340px - 180px);text-overflow: ellipsis;word-wrap: break-word;overflow: hidden;max-height: 36px}
1
+ @import url('https://fonts.googleapis.com/css?family=Montserrat:200,300,400,400i,500,600,700,800,900&display=swap');.cdp-admin-bar-icon-noti::before{font-family: dashicons;content: '\f465';top: 5px;position: relative;color: rgba(240,245,250,.6);margin-right: 3px;font-size: 18px}.cdp-admin-bar-icon-noti{line-height: 1!important}.cdp-admin-bar-copy{line-height: 1!important}.cdp-ab-sub .ab-item[target="_self"]{display: none!important}.cdp-dropdown-submenu{padding-top: 0!important;padding: 0!important}.cdp-dropdown-submenu *{line-height: 25px!important}.cdp-dropdown-left-header{height: 25px!important;display: inline-block!important;width: calc(100% - 35px)!important;color: #eee!important;font-weight: bolder!important}.cdp-undone-notis .cdp-dropdown-left{cursor: progress}.cdp-dropdown-left{height: 25px!important;display: inline-block!important;width: calc(100% - 35px)!important}.cdp-dropdown-right{height: 25px!important;display: inline-block!important;width: 35px!important;text-align: right!important;cursor: pointer}.cdp-dropdown-hr{display: block;background: #035baa;border-color: #aaa;border-width: 1;margin-top: 4px;margin-bottom: 3px}.cdp-bnew-notis{font-style: italic}.cdp-tooltip-content{display: none}.cdp-copy-loader-overlay .cdp-text-overlay{position: absolute;left: calc(50% - 200px);top: calc(50% - 50px);height: 130px;width: 400px;margin: 0px auto;font-weight: bolder;overflow: hidden;color: #fff;text-align: center}.cdp-copy-loader-overlay{display: none;position: fixed;top: 0;left: 0;width: 100vw;height: 100vh;background: rgba(0,0,0,.4);z-index: 199999}.cdp-modal{display: none;position: fixed;width: 100vw;height: 100vh;top: 0;left: 0;background: rgba(80,182,168,.32);z-index: 100000}.cdp-modal input,.cdp-tooltip-content input{box-shadow: none!important;outline: 0!important}.cdp-modal input:focus,.cdp-tooltip-content input:focus{border-color: #50b6a8!important;box-shadow: none!important;outline: 0!important}.cdp-modal-content{position: absolute;top: 50%;left: 50%;line-height: normal;transform: translate(-50%,-50%);color: #333;background: #fff;z-index: 200000;min-width: 720px;max-width: 80vw;width: 35%;overflow-y: auto;max-height: 70vh}.cdp-modal-content .cdp-button{border-radius: 3px!important;font-size: 18px!important}.cdp-button.cdp-d-real-delete{border-radius: 3px;font-weight: 600;font-size: 19px!important;width: 569px!important;height: 53px!important}.cdp-modal-padding{padding: 10px 15px}.cdp-modal-title{color: #000;text-align: center;font-size: 22px;font-weight: bolder;background: #f2f2f2;border-bottom: 1px solid #31538f;min-width: 300px}.cdp-modal-bottom-margin{margin-bottom: 10px}.cdp-notification-box{position: fixed;top: 15px;right: 15px;min-width: 100px;max-width: 40vw;z-index: 1000000}.cdp-notification.is-info,.cdp-title.is-info{background-color: rgb(12,150,183)}.cdp-notification.is-danger,.cdp-title.is-danger{background-color: rgb(228,112,111)}.cdp-notification.is-success,.cdp-title.is-success{background-color: rgb(109,183,153)}.cdp-alert-icon{height: 100%;width: 25px}.cdp-alert-icon .cdp-icon-bg{width: 25px;height: 25px}.cdp-alert-msg-title{padding-left: 40px!important}.cdp-notification .cdp-icon-bg{background-position: center;background-repeat: no-repeat;position: absolute;height: calc(100% - 36px)}.cdp-notification.is-success .cdp-icon-bg{background-image: url('../imgs/alert_success.png')}.cdp-notification.is-warning .cdp-icon-bg{background-image: url('../imgs/alert_warning.png')}.cdp-notification.is-info .cdp-icon-bg{background-image: url('../imgs/alert_info.png')}.cdp-notification.is-danger .cdp-icon-bg{background-image: url('../imgs/alert_error.png')}.cdp-notification.is-warning,.cdp-title.is-warning{background-color: rgb(236,177,53)}.cdp-title{margin-bottom: 3px;font-weight: 500;font-size: 15px!important}.cdp-notification{border-radius: 3px;padding: 18px 36px 18px 20px!important;position: relative;margin-bottom: 15px;padding-left: 3px;font-family: 'Montserrat',sans-serif!important;font-size: 15px!important;font-weight: 300;color: white}.cdp-times-button{top: 2px;right: 1px;position: absolute;background: none!important;border: none;font-size: 24px;cursor: pointer;font-weight: 500;color: white;opacity: .6;transition: opacity .2s;padding: 2px 9px!important}.cdp-times-button:hover{cursor: pointer;opacity: 1}.cdp-noti-hide{display: none}.cdp-modal-times{position: absolute;top: 10px;right: 10px;transition: all .3s;cursor: pointer;background: url('../imgs/close.png');width: 20px;height: 20px;background-position: center;background-repeat: no-repeat;background-size: cover;opacity: .4}.cdp-modal-times.cdp-no-border{border: 0!important}.cdp-modal-times:hover{opacity: 1}.cdp-modal *{font-family: 'Montserrat',sans-serif!important;font-weight: 400}.cdp-modal a{color: #50b6a8}.cdp-modal a:hover{color: #48a598}.cdp-modal a:active{color: #429388}.cdp-modal-checkboxes,.cdp-modal-checkboxes-r{width: 100%}.cdp-modal-checkboxes span,.cdp-modal-checkboxes-r span{font-weight: 400!important;font-size: 15px;line-height: 33px!important;cursor: pointer;color: black}.cdp-modal-checkboxes label,.cdp-modal-checkboxes-r label{display: inline-block;width: calc(25% - 4px);line-height: 2.5}.cdp-modal-checkboxes-three label:nth-child(1){width: calc(25% - 4px)!important}.cdp-modal-checkboxes-three label:nth-child(2):not(.cdp-yoast){width: calc(25% - 4px)!important}.cdp-modal-checkboxes-three label:nth-child(3),label.cdp-yoast{width: calc(50% - 4px)!important;max-width: 175px}.cdp-modal-copy-times{margin-top: 10px;text-align: center}.cdp-modal-copy-times-tooltip{text-align: center}.cdp-modal-copy-times-content{position: relative;padding: 17px;background: #f9f9f9}.cdp-copy-modal .cdp-modal-content{width: 850px!important;min-width: 850px!important;border-radius: 3px}.cdp-cp-pad{padding: 20px 65px}.cdp-modal-content h2{font-size: 16px;font-weight: 600}.cdp-modal-input-times{min-height: 36px!important;max-height: 36px!important;max-width: 60px!important;font-size: 15px!important;line-height: 36px!important}.cdp-modal-input-times{width: 55px;text-align: center;font-family: 'Montserrat',sans-serif;box-shadow: 0 0 0 transparent;padding: 5px 2px;border-radius: 3px;border: 1px solid #7e8993!important;background-color: #fff;color: #32373c;-webkit-appearance: none;-moz-appearance: textfield}.cdp-modal-input-times::-webkit-outer-spin-button,.cdp-modal-input-times::-webkit-inner-spin-button{-webkit-appearance: none;-moz-appearance: textfield}.cdp-modal-input-times-tooltip{width: 59px!important;font-family: 'Montserrat',sans-serif;margin: 0}.cdp-p-right-l{margin-left: 7px}.cdp-p-right-h{margin-left: 15px}.cdp-low-round{border-radius: 5px!important}.cdp-rl-round{border-radius: 2px!important}.cdp-no-round{border-radius: 0px!important}.cdp-copy-now-btn-tooltip{max-width: 88px;max-height: 13px;font-size: 16px!important;line-height: 14px;font-weight: 400!important}.cdp-f-w-thin{font-weight: 100!important}.cdp-f-w-extra-light{font-weight: 200!important}.cdp-f-w-light{font-weight: 300!important}.cdp-f-w-regular{font-weight: 400!important}.cdp-f-w-medium{font-weight: 500!important}.cdp-f-w-semi-bold{font-weight: 600!important}.cdp-f-w-bold{font-weight: 600!important}.cdp-f-w-extra-bold{font-weight: 700!important}.cdp-f-w-black{font-weight: 800!important}.cdp-f-s-10{font-size: 10px!important}.cdp-f-s-11{font-size: 11px!important}.cdp-f-s-12{font-size: 12px!important}.cdp-f-s-13{font-size: 13px!important}.cdp-f-s-14{font-size: 14px!important}.cdp-f-s-15{font-size: 15px!important}.cdp-f-s-16{font-size: 16px!important}.cdp-f-s-17{font-size: 17px!important}.cdp-f-s-18{font-size: 18px!important}.cdp-f-s-19{font-size: 19px!important}.cdp-f-s-20{font-size: 20px!important}.cdp-f-s-21{font-size: 21px!important}.cdp-f-s-22{font-size: 22px!important}.cdp-f-s-30{font-size: 30px!important}.cdp-tooltip-before{height: calc(190px - 20px - 16px);width: calc(246px - 6px - 20px);padding: 10px 3px}.cdp-below-tooltip-before{font-size: 12px}.cdp-sizes-profile-tooltip{width: 118px!important;max-width: 118px!important}.cdp-info-icon{position: absolute;top: calc(50% - 8px);width: 16px;height: 16px;background: url('../imgs/info.png');display: inline-block;line-height: 16px;background-repeat: no-repeat;background-position: center;background-size: cover;margin: 0;margin-left: 3px;cursor: pointer}.cdp-tbody-of-settings .cdp-info-icon{display: none!important;visibility: hidden}.cdp-premium-icon{position: absolute;width: 16px;height: 16px;top: calc(50% - 8px);background: url('../imgs/premium.png');display: inline-block;line-height: 16px;background-repeat: no-repeat;background-position: center;background-size: cover;padding: 0;margin-left: 7px;cursor: pointer}.cdp-big-icon{width: 22px;height: 22px;top: calc(50% - 11px);line-height: 22px}.cdp-relative{position: relative}.cdp-padding-20-h{padding-top: 20px;padding-bottom: 20px}.cdp-padding-10-h{padding-top: 10px;padding-bottom: 10px}.cdp-padding-5-h{padding-top: 5px;padding-bottom: 5px}.cdp-input-border{border-width: 1px!important;border-color: rgb(198,201,206)!important;outline: 0!important;box-shadow: none!important}.cdp-input-border:focus{border-color: #50b6a8!important;outline: 0!important;box-shadow: none!important}.cdp-lh-24{line-height: 24px}.cdp-lh-30{line-height: 30px}.cdp-lh-42{line-height: 42px}.cdp-lh-48{line-height: 48px}.cdp-p-20-b{padding-bottom: 20px!important}.cdp-p-35-b{padding-bottom: 35px!important}.cdp-checkboxes [type="checkbox"]{color: #555;clear: none;cursor: pointer;display: inline-block;margin: -.25rem .25rem 0 0;outline: 0;padding: 0;text-align: center;vertical-align: middle;-webkit-appearance: none;box-shadow: inset 0 1px 2px rgba(0,0,0,.1);border: 1px solid #50b6a8;height: 22px;width: 22px;margin-right: 5px;margin-top: -2px;background: #fff;transition: all .3s;border-radius: 6px;margin-right: 5px}.cdp-checkboxes [type="checkbox"]:checked{background: #50b6a8}.cdp-checkboxes [type="checkbox"]:checked::before{content: '';border-top: 2px solid white;border-left: 2px solid white;height: 9px!important;width: 5px!important;margin: -.1875rem 0 0 -.25rem;margin-top: 3px;margin-left: 7px;transform: rotate(220deg);float: left;display: inline-block;vertical-align: middle}.cdp-p-25-h{padding-top: 25px;padding-bottom: 25px}.cdp-tooltip-c-t{margin-left: -20px;width: calc(100% + 40px)}#toplevel_page_copy-delete-posts img{max-height: 22px;margin-left: 6px;margin-top: -1px}.cdp-copy-alert-success{display: block!important;position: fixed;left: 0;right: 0;text-align: center;z-index: 99998}.cdp-original-info-b{max-width: calc(76vw - 340px - 180px);text-overflow: ellipsis;word-wrap: break-word;overflow: hidden;max-height: 36px}.cdp-black{color: black!important}.cdp-black-all *{color: black!important}
assets/css/cdp-select.min.css CHANGED
@@ -1 +1 @@
1
- .nice-select{-webkit-tap-highlight-color: transparent;background-color: #fff;border-radius: 3px;border: solid 2px rgb(198,201,206);box-sizing: border-box;cursor: pointer;font-family: inherit;font-size: 14px;font-weight: 400;height: 32px;line-height: 30px!important;outline: none;padding-left: 28px!important;padding-right: 37px!important;padding-top: 0px!important;padding-bottom: 0px!important;position: relative;-webkit-transition: all 0.2s ease-in-out;transition: all 0.2s ease-in-out;-webkit-user-select: none;-moz-user-select: none;-ms-user-select: none;user-select: none;white-space: nowrap;width: auto;outline: 0!important;display: inline-block!important;box-shadow: none!important;text-align: center;overflow: hidden!important;text-overflow: ellipsis;color: black!important}.nice-select:hover{border-color: #48a598!important}.nice-select:active,.nice-select.open,.nice-select:focus{border-color: #50b6a8!important}.nice-select.open{border-bottom-left-radius: 0;border-bottom-right-radius: 0}.cdp-sel-separat::before{content: '';border-left: 1px solid #c1c1c1;height: 34px;position: absolute;top: 9px;right: 38px}.nice-select:not(.cdp-select-padding):not(.cdp-modal-select):not(.cdp-tooltip-select):not(.cdp-per-page-select-show) .list,.cdp-sel-separat .list{margin-left: -29px!important}.nice-select:not(.cdp-select-padding):not(.cdp-tooltip-select):not(.cdp-dis-en-opt):not(.cdp-per-page-select-show):not(.cdp-pad-60-list) .option,.cdp-sel-separat:not(.cdp-pad-60-list) .option{padding-right: 40px}.nice-select:after{border-bottom: 1px solid #50b6a8;border-right: 1px solid #50b6a8;content: '';display: block;height: 8px;width: 8px;margin-top: -6px;pointer-events: none;position: absolute;right: 18px;top: 50%;-webkit-transform-origin: 66% 66%;-ms-transform-origin: 66% 66%;transform-origin: 66% 66%;-webkit-transform: rotate(45deg);-ms-transform: rotate(45deg);transform: rotate(45deg);-webkit-transition: all 0.15s ease-in-out;transition: all 0.15s ease-in-out}.nice-select:not(.cdp-select-padding):not(.cdp-tooltip-select):not(.cdp-per-page-select-show):not(.cdp-pad-49-list):not(.cdp-pad-60-list) .option{padding-left: 29px;padding-right: 34px}.nice-select.open:after{-webkit-transform: rotate(135deg);-ms-transform: rotate(135deg);transform: rotate(135deg)}.nice-select.open .list{opacity: 1;pointer-events: auto;-webkit-transform: scale(1) translateY(0);-ms-transform: scale(1) translateY(0);transform: scale(1) translateY(0)}.nice-select.disabled{border-color: rgba(198,201,206,0.5)!important;color: rgba(198,201,206,0.5)!important;pointer-events: none}.nice-select.disabled::before{border-color: rgba(198,201,206,0.7)!important}.nice-select.disabled:after{border-color: rgba(198,201,206,0.5)!important}.nice-select.wide{width: 100%}.nice-select.wide .list{left: 0!important;right: 0!important}.nice-select.right{float: right}.nice-select.right .list{left: auto;right: 0}.nice-select.small{font-size: 12px;height: 36px;line-height: 34px}.nice-select.small:after{height: 4px;width: 4px}.nice-select.small .option{line-height: 34px;min-height: 34px}.nice-select .list{background-color: #fff;border-radius: 5px;box-shadow: 0 0 0 1px rgba(68,68,68,0.11);box-sizing: border-box;margin-top: -2px;opacity: 0;padding: 0;pointer-events: none;position: fixed;margin-left: -10px;-webkit-transform-origin: 50% 0;-ms-transform-origin: 50% 0;transform-origin: 50% 0;-webkit-transform: scale(0.75) translateY(-21px);-ms-transform: scale(0.75) translateY(-21px);transform: scale(0.75) translateY(-21px);-webkit-transition: all 0.2s cubic-bezier(0.5,0,0,1.25),opacity 0.15s ease-out;transition: all 0.2s cubic-bezier(0.5,0,0,1.25),opacity 0.15s ease-out;z-index: 10000!important;max-height: 600px;overflow: auto;border-top-left-radius: 0;border-top-right-radius: 0;border: 1px solid #50b6a8;border-top: 1px solid #50b6a8}.nice-select .list:hover .option:not(:hover){background-color: transparent!important}.nice-select .option{cursor: pointer;font-weight: 400;line-height: 42px;list-style: none;min-height: 43px;outline: none;padding-left: 20px;padding-right: 44px;margin: 0!important;text-align: left;-webkit-transition: all 0.2s;transition: all 0.2s;border-bottom: 1px solid rgb(234,234,234)!important}.cdp-dd-p-43 .option{padding-right: 43px}.cdp-dd-p-40 .option{padding-right: 40px!important}.nice-select .option:last-child{border-bottom: 0}.nice-select .option:hover,.nice-select .option.focus,.nice-select .option.selected.focus{background-color: rgb(247,247,247);border-bottom: rgb(235,235,235)}.nice-select .option.selected{font-weight: 400}.nice-select .option.disabled{background-color: transparent;color: #999;cursor: default}.no-csspointerevents .nice-select .list{display: none}.no-csspointerevents .nice-select.open .list{display: block}.cdp-m-l-9-d .list{margin-left: -10px!important}.cdp-ow-border{border-width: 1px!important}.cdp-ow-border .list{border-width: 1px!important;margin-left: -21px}.cdp-select-black{color: black!important;font-size: 18px!important}.cdp-select-large{font-size: 18px!important;height: 56px!important;line-height: 56px!important;border-width: 1px!important;padding-right: 58px!important}.cdp-select-large .list{border-width: 1px!important;margin-left: 29px!important}.cdp-select-large:not(.cdp-pad-60-list):not(.cdp-tooltip-select) .list li{padding-right: 35px}.cdp-pad-49-list .option{padding-left: 49px!important}.cdp-pad-60-list .option{padding-right: 70px!important}.cdp-per-page-select-show{color: #292929!important}.cdp-per-page-select-show .list{margin-left: -21px!important;color: #292929!important}.cdp-per-page-select-show .option{padding-left: 21px!important}.cdp-dis-en-opt{width: 189px!important;height: 42px!important;text-align: center;line-height: 42px!important;font-size: 17px!important}.cdp-dis-en-opt:not(.cdp-tooltip-select) .option{padding-left: 52px!important;padding-right: 60px!important}.cdp-tooltip-select{min-height: 32px;max-height: 32px;max-width: 96px;min-width: 96px;border: 1px solid #d7d9dd!important;line-height: 30px!important;margin-top: 1px;padding-left: 10px!important;padding-right: 25px!important;text-align: left}.cdp-tooltip-select::before{content: '';border-left: 1px solid #c1c1c1;height: 20px;position: absolute;top: 5px;right: 20px}.cdp-tooltip-select::after{height: 5px;width: 5px;margin-top: -6px;right: 8px;top: calc(50% + 2px)}.cdp-tooltip-select .option{padding-left: 10px!important;padding-right: 28px!important;line-height: 30px!important;min-height: 30px!important}.cdp-tooltip-select .list{margin-left: -11px!important}.cdp-modal-select{min-height: 38px;max-height: 38px;max-width: 250px;border: 1px solid #d7d9dd!important;line-height: 38px!important;margin-top: 1px;padding-left: 10px!important;padding-right: 45px!important;text-align: left;margin-left: 5px;width: auto!important}.cdp-modal-select::before{content: '';border-left: 1px solid #c1c1c1;height: 26px;position: absolute;top: 6px;right: 30px}.cdp-modal-select::after{height: 5px;width: 5px;margin-top: -6px;right: 13px;top: calc(50% + 2px)}.cdp-modal-select .option{padding-left: 10px!important;padding-right: 12px!important;line-height: 29px!important;min-height: 29px!important}.cdp-modal-select-2 .option{min-width: 89px}.cdp-modal-select .list{margin-left: -11px!important}.cdp-max-600 .option{padding-left: 60px!important;padding-right: 85px!important}.cdp-premium-modal-dropdown .option{padding-right: 50px!important;text-align: center!important}
1
+ .nice-select{-webkit-tap-highlight-color: transparent;background-color: #fff;border-radius: 3px;border: solid 2px rgb(198,201,206);box-sizing: border-box;cursor: pointer;font-family: inherit;font-size: 14px;font-weight: 400;height: 32px;line-height: 30px!important;outline: none;padding-left: 28px!important;padding-right: 37px!important;padding-top: 0px!important;padding-bottom: 0px!important;position: relative;-webkit-transition: all 0.2s ease-in-out;transition: all 0.2s ease-in-out;-webkit-user-select: none;-moz-user-select: none;-ms-user-select: none;user-select: none;white-space: nowrap;width: auto;outline: 0!important;display: inline-block!important;box-shadow: none!important;text-align: center;overflow: hidden!important;text-overflow: ellipsis;color: black!important}.nice-select:hover{border-color: #48a598!important}.nice-select:active,.nice-select.open,.nice-select:focus{border-color: #50b6a8!important}.nice-select.open{border-bottom-left-radius: 0;border-bottom-right-radius: 0}.cdp-sel-separat::before{content: '';border-left: 1px solid #c1c1c1;height: 34px;position: absolute;top: 9px;right: 38px}.nice-select:not(.cdp-select-padding):not(.cdp-redirect-select):not(.cdp-redirect-select2):not(.cdp-modal-select):not(.cdp-tooltip-select):not(.cdp-per-page-select-show) .list,.cdp-sel-separat .list{margin-left: -29px!important}.nice-select:not(.cdp-select-padding):not(.cdp-redirect-select):not(.cdp-redirect-select2):not(.cdp-tooltip-select):not(.cdp-dis-en-opt):not(.cdp-per-page-select-show):not(.cdp-pad-60-list) .option,.cdp-sel-separat:not(.cdp-pad-60-list) .option{padding-right: 40px}.nice-select:after{border-bottom: 1px solid #50b6a8;border-right: 1px solid #50b6a8;content: '';display: block;height: 8px;width: 8px;margin-top: -6px;pointer-events: none;position: absolute;right: 18px;top: 50%;-webkit-transform-origin: 66% 66%;-ms-transform-origin: 66% 66%;transform-origin: 66% 66%;-webkit-transform: rotate(45deg);-ms-transform: rotate(45deg);transform: rotate(45deg);-webkit-transition: all 0.15s ease-in-out;transition: all 0.15s ease-in-out}.nice-select:not(.cdp-select-padding):not(.cdp-tooltip-select):not(.cdp-per-page-select-show):not(.cdp-pad-49-list):not(.cdp-pad-60-list) .option{padding-left: 29px;padding-right: 34px}.nice-select.open:after{-webkit-transform: rotate(135deg);-ms-transform: rotate(135deg);transform: rotate(135deg)}.nice-select.open .list{opacity: 1;pointer-events: auto;-webkit-transform: scale(1) translateY(0);-ms-transform: scale(1) translateY(0);transform: scale(1) translateY(0)}.nice-select.disabled{border-color: rgba(198,201,206,0.5)!important;color: rgba(198,201,206,0.5)!important;pointer-events: none}.nice-select.disabled::before{border-color: rgba(198,201,206,0.7)!important}.nice-select.disabled:after{border-color: rgba(198,201,206,0.5)!important}.nice-select.wide{width: 100%}.nice-select.wide .list{left: 0!important;right: 0!important}.nice-select.right{float: right}.nice-select.right .list{left: auto;right: 0}.nice-select.small{font-size: 12px;height: 36px;line-height: 34px}.nice-select.small:after{height: 4px;width: 4px}.nice-select.small .option{line-height: 34px;min-height: 34px}.nice-select .list{background-color: #fff;border-radius: 5px;box-shadow: 0 0 0 1px rgba(68,68,68,0.11);box-sizing: border-box;margin-top: -2px;opacity: 0;padding: 0;pointer-events: none;position: fixed;margin-left: -10px;-webkit-transform-origin: 50% 0;-ms-transform-origin: 50% 0;transform-origin: 50% 0;-webkit-transform: scale(0.75) translateY(-21px);-ms-transform: scale(0.75) translateY(-21px);transform: scale(0.75) translateY(-21px);-webkit-transition: all 0.2s cubic-bezier(0.5,0,0,1.25),opacity 0.15s ease-out;transition: all 0.2s cubic-bezier(0.5,0,0,1.25),opacity 0.15s ease-out;z-index: 10000!important;max-height: 600px;overflow: auto;border-top-left-radius: 0;border-top-right-radius: 0;border: 1px solid #50b6a8;border-top: 1px solid #50b6a8}.nice-select .list:hover .option:not(:hover){background-color: transparent!important}.nice-select .option{cursor: pointer;font-weight: 400;line-height: 42px;list-style: none;min-height: 43px;outline: none;padding-left: 20px;padding-right: 44px;margin: 0!important;text-align: left;-webkit-transition: all 0.2s;transition: all 0.2s;border-bottom: 1px solid rgb(234,234,234)!important}.cdp-dd-p-43 .option{padding-right: 43px}.cdp-dd-p-40 .option{padding-right: 40px!important}.nice-select .option:last-child{border-bottom: 0}.nice-select .option:hover,.nice-select .option.focus,.nice-select .option.selected.focus{background-color: rgb(247,247,247);border-bottom: rgb(235,235,235)}.nice-select .option.selected{font-weight: 400}.nice-select .option.disabled{background-color: transparent;color: #999;cursor: default}.no-csspointerevents .nice-select .list{display: none}.no-csspointerevents .nice-select.open .list{display: block}.cdp-m-l-9-d .list{margin-left: -10px!important}.cdp-ow-border{border-width: 1px!important}.cdp-ow-border .list{border-width: 1px!important;margin-left: -21px}.cdp-select-black{color: black!important;font-size: 18px!important}.cdp-select-large{font-size: 18px!important;height: 56px!important;line-height: 56px!important;border-width: 1px!important;padding-right: 58px!important}.cdp-select-large .list{border-width: 1px!important;margin-left: 29px!important}.cdp-select-large:not(.cdp-pad-60-list):not(.cdp-tooltip-select) .list li{padding-right: 35px}.cdp-pad-49-list .option{padding-left: 49px!important}.cdp-pad-60-list .option{padding-right: 70px!important}.cdp-per-page-select-show{color: #292929!important}.cdp-per-page-select-show .list{margin-left: -21px!important;color: #292929!important}.cdp-per-page-select-show .option{padding-left: 21px!important}.cdp-dis-en-opt{width: 189px!important;height: 42px!important;text-align: center;line-height: 42px!important;font-size: 17px!important}.cdp-dis-en-opt:not(.cdp-tooltip-select) .option{padding-left: 52px!important;padding-right: 60px!important}.cdp-tooltip-select{min-height: 32px;max-height: 32px;max-width: 96px;min-width: 96px;border: 1px solid #d7d9dd!important;line-height: 30px!important;margin-top: 1px;padding-left: 10px!important;padding-right: 25px!important;text-align: left}.cdp-tooltip-select::before{content: '';border-left: 1px solid #c1c1c1;height: 20px;position: absolute;top: 5px;right: 20px}.cdp-tooltip-select::after{height: 5px;width: 5px;margin-top: -6px;right: 8px;top: calc(50% + 2px)}.cdp-tooltip-select .option{padding-left: 10px!important;padding-right: 28px!important;line-height: 30px!important;min-height: 30px!important}.cdp-tooltip-select .list{margin-left: -11px!important}.cdp-modal-select{min-height: 38px;max-height: 38px;max-width: 250px;border: 1px solid #d7d9dd!important;line-height: 38px!important;margin-top: 1px;padding-left: 10px!important;padding-right: 45px!important;text-align: left;margin-left: 5px;width: auto!important}.cdp-modal-select::before{content: '';border-left: 1px solid #c1c1c1;height: 26px;position: absolute;top: 6px;right: 30px}.cdp-modal-select::after{height: 5px;width: 5px;margin-top: -6px;right: 13px;top: calc(50% + 2px)}.cdp-modal-select .option{padding-left: 10px!important;padding-right: 12px!important;line-height: 29px!important;min-height: 29px!important}.cdp-modal-select-2 .option{min-width: 89px}.cdp-modal-select .list{margin-left: -11px!important}.cdp-max-600 .option{padding-left: 60px!important;padding-right: 85px!important}.cdp-premium-modal-dropdown .option{padding-right: 50px!important;text-align: center!important}.cdp-redirect-select{height: 42px!important;line-height: 42px!important;width: 149px!important;padding-left: 20px!important;font-size: 17px!important;padding-right: 50px!important}.cdp-redirect-select .list{margin-left: -21px!important}.cdp-redirect-select .option{padding-left: 24px!important;padding-right: 48px!important}.cdp-redirect-select2 .option{padding-left: 24px!important;padding-right: 60px!important}
assets/css/cdp.min.css CHANGED
@@ -1 +1 @@
1
- [contenteditable]{-webkit-user-select: text;user-select: text}.cdp-preloader{width: 90%;height: 4px;background: linear-gradient(to right,#429388,#429388);background-color: #ccc;position: absolute;margin-top: 3px;padding-top: 2px;top: 60px;left: 0;right: 0;margin: auto;border-radius: 4px;background-size: 20%;background-repeat: repeat-y;background-position: -25% 0;animation: cdpscroll 1.2s ease-in-out infinite}@keyframes cdpscroll{50%{background-size: 80%}100%{background-position: 125% 0}}.cdp-content *{outline: 0;font-weight: 300}.cdp-preloader-c{padding: 30px!important}.cdp-container,.cdp-preloader-c{width: calc(100% - 40px);padding: 0 20px;max-width: 1286px;margin: 0 auto;-webkit-touch-callout: none;-webkit-user-select: none;-khtml-user-select: none;-moz-user-select: none;-ms-user-select: none;user-select: none}.cdp-f20{font-size: 20px;padding-bottom: 10px}.cdp-box{border-radius: 3px;margin-top: 23px}.cdp-cf::after{content: '';clear: both;display: block}.cdp-bg-green{background: #e1efd8}.cdp-bg-green-title{background: #00b050;border-bottom: 1px solid #31538f;color: white}.cdp-nm{margin: 0!important}.cdp-center{text-align: center}.cdp-left{float: left}.cdp-right{float: right}.cdp-text-left{text-align: left}.cdp-text-right{text-align: right}.cdp-inline{display: inline-block}.cdp-showcase-3{width: calc(100% / 3 - 37px - 32px);margin-right: 37px}.cdp-showcase-3:first-child{margin-left: 67px}.cdp-showcase-3:last-child{margin-right: 0}.cfg-img-sc-3{width: 100%;object-fit: cover;object-position: center}.cdp-font-heading{font-size: 24px;line-height: 1;padding-top: 50px;padding-left: 67px;padding-bottom: 66px}.cdp-font-title{color: black;padding-bottom: 25px}.cdp-font-footer{font-size: 18px;color: black;padding-top: calc(42px + 20px);padding-bottom: 26px}.cdp-ff-i{font-weight: 400;font-style: italic}.cdp-ff-b1{font-weight: 200}.cdp-ff-b2{font-weight: 400}.cdp-ff-b3{font-weight: 500}.cdp-ff-b4{font-weight: 600}.cdp-ff-b5{font-weight: 700}.cdp-ff-b6{font-weight: 800}.cdp-welcome-title{padding-top: 35px;padding-bottom: 10px}.cdp-welcome-title-after{padding: 0;margin: 0;padding-top: 40px;line-height: 53px}.cdp-welcome-title-after h1{padding: 0;margin: 0;line-height: normal}.cdp-intro{font-family: 'Montserrat',sans-serif!important;margin-bottom: 70px}.cdp-intro-options{padding-bottom: 50px}.cdp-intro-button{background: #50b6a8;border: 0;color: white;font-size: 24px;padding: 17px 117px;border-radius: 30px;transition: .3s;cursor: pointer}.cdp-button{background: #50b6a8!important;border: 0!important;color: white!important;font-size: 23px;padding: 12px 66px;font-weight: 600;border-radius: 29px;height: 58px;width: 317px;transition: .3s!important;cursor: pointer!important}.cdp-intro-button:hover,.cdp-button:hover{background: #48a598!important}.cdp-intro-button:active,.cdp-button:active{background: #429388!important;transition: 0s!important}.cdp-pointer{cursor: pointer}.cdp-manager-btns{line-height: 2}.cdp-arrow{border: solid #50b6a8;display: inline-block;border-width: 0 4px 4px 0;padding: 5px;border-radius: 2px;transition: all .3s;display: block}.cdp-arrow-down{transform: rotate(135deg);-webkit-transform: rotate(135deg);margin-top: 2px}.cdp-arrow-right{transform: rotate(-135deg);-webkit-transform: rotate(-135deg);margin-right: 3px}.cdp-arrow-left{transform: rotate(45deg);-webkit-transform: rotate(45deg)}.cdp-collapsibles{padding: 20px 0}.cdp-collapsible{margin-bottom: 15px}.cdp-collapsible-title{border: 0;font-size: 21px;background-color: #fff;padding: 24px 44px;color: black;transition: all .2s;cursor: pointer;border-radius: 3px}.cdp-collapsible-title:hover{background-color: #48a598;color: white}.cdp-collapsible-title:hover *{border-color: white}.cdp-collapsible-title:active{transition: all 0s;background-color: #429388}.cdp-collapsible-content{transition: height .3s ease-out,max-height .5s ease-out,border-bottom .5s .3s,padding .3s;border-bottom: 0!important;overflow: hidden;padding: 0 10px;border-top: 0;max-height: 0;background: #fff}.cdp-collapsible-content.cdp-active{padding: 10px;max-height: unset;border-bottom: 0!important}.cdp-collapsible-title.cdp-active *{border-color: white}.cdp-collapsible-title.cdp-active{background: #50b6a8;color: white}.cdp-collapsible:last-child{margin-bottom: 0}.cdp-supports{padding: 10px 0}.cdp-support-box{border: 1px solid #31538f;background: #ddeaf6;padding: 10px;color: black;min-height: 84px}.cdp-s-i-a{line-height: 53px}.cdp-third{width: calc(100% / 3 - 29px);margin-right: 10px}.cdp-third:not(.cdp-ignore):last-child{margin-right: 0}.cdp-fourth{width: calc(100% / 4 - 30px);margin-right: 10px}.cdp-fourth:not(.cdp-ignore):last-child{margin-right: 0}.cdp-projects{background: #fff;border: 1px solid #44546a;color: black;padding: 25px 30px;padding-top: 5px;margin-top: 10px}.cdp-project-box{padding: 10px;border: 1px solid #44546a;min-height: 261.78125px}.cdp-support-title{position: absolute;top: 50%;transform: translateY(-50%);width: calc(100% - 50px - 20px);padding: 0px 10px;margin-left: 50px}.cdp-support-header{position: relative}.cdp-support-img{height: 50px;width: 50px;object-position: center;object-fit: cover}.cdp-support-img-rd{height: 50px;width: 50px;object-position: center;object-fit: cover}.cdp-support-desc{padding: 5px 0}.cdp-tool{position: relative}.cdp-animated{transition: .3s all}.cdp-half-opacity{opacity: .5}span.cdp-green,.cdp-green{color: #50b6a8;transition: color .3s}.cdp-green.cdp-hover:hover{color: #48a598}.cdp-green.cdp-hover:active{transition: all 0s;color: #429388}.cdp-table{width: 100%;border-spacing: 0px;color: black}.cdp-table tr td:nth-child(1),.cdp-table tr th:nth-child(1),.cdp-table tr th:nth-child(2),.cdp-table tr th:nth-child(3),.cdp-table tr td:nth-child(2),.cdp-table tr td:nth-child(3){padding: 3px 20px}.cdp-table tr td:nth-child(1),.cdp-table tr th:nth-child(1){min-width: 192px;text-align: left;padding-left: 44px!important}.cdp-table tr td:nth-child(3),.cdp-table tr th:nth-child(3){padding-right: 44px!important}.cdp-table tr th:nth-child(2),.cdp-table tr th:nth-child(3),.cdp-table tr td:nth-child(2),.cdp-table tr td:nth-child(3){width: 50%;text-align: left}.cdp-table tr th:nth-child(2),.cdp-table tr td:nth-child(2){width: 50%;text-align: left;padding-right:}.cdp-table tr:nth-child(1) td{padding-top: 35px!important}.cdp-table tr td{padding: 16px 20px!important;line-height: 24px}.cdp-table .cdp-thead{background: #f7f7f7}.cdp-table tr th{border-bottom: 1px solid #e1e1e1;font-weight: 400;height: 33px;padding: 5px 10px;height: 58px}.cdp-padding{padding: 15px 20px}.cdp-nbp{padding-bottom: 0!important}.cdp-ntp{padding-top: 0!important}.cdp-padding-10{padding: 10px}.cdp-padding-10-h{padding-top: 10px;padding-bottom: 10px}.cdp-np{padding: 0!important}.cdp-nlh{line-height: inherit!important}.cdp-green-bg{background: #f7f7f7}.cdp-shadow{-moz-box-shadow: 3px 3px 15px 10px #eee!important;-webkit-box-shadow: 3px 3px 15px 10px #eee!important;box-shadow: 3px 3px 15px 10px #eee!important}.cdp-white-bg{background: #fff}.cdp-names-input{width: calc(50% - 97.5px)}.cdp-names-input input{width: 100%}.cdp-names-divider{font-size: 16px;line-height: 49px;padding: 0 10px;width: 175px;color: black;margin-top: 14px}.cdp-name-box{background-color: #50b6a8;width: 165px;padding: 5px;font-weight: 200;border-radius: 1px;text-align: center;color: white;font-size: 18px;cursor: pointer;transition: background-color .3s;height: 29px;line-height: 29px;border-radius: 3px}.cdp-name-box:hover{background-color: #48a598;cursor: pointer}.cdp-name-box-small{background: #50b6a8;font-size: 18px;font-weight: 200;border-radius: 1px;text-align: left;display: inline-block;position: relative;cursor: pointer;pointer-events: none;color: white;padding: 0px 19px!important;padding-right: 63px!important;margin-left: 1px;margin-right: 1px;height: 38px;border-radius: 3px}.cdp-name-box-small[data-cdp-val="0"]{width: 68px}.cdp-name-box-small[data-cdp-val="1"]{width: 108px}.cdp-name-box-small[data-cdp-val="2"]{width: 109px}.cdp-name-box-small::after{content: '\00d7';position: absolute;right: 0px;top: 0px;height: 100%;width: 22px;font-size: 28px;line-height: 38px;padding-right: 3px;padding-left: 9px;pointer-events: auto;background: #42a89a;border-top-right-radius: 3px;border-bottom-right-radius: 3px}.cdp-names-text-info{padding-left: 30px;line-height: 40px}.cdp-magic-input{text-align: left;line-height: 39px;font-size: 17px;box-shadow: 0 0 0 transparent;border-radius: 1px;background-color: #fff;color: #32373c;overflow-x: hidden;word-wrap: unset;white-space: nowrap;resize: none;padding: 6px;min-height: 39px;width: 100%;width: calc(100% - 12px);margin: 0 auto;margin-top: 14px;margin-bottom: 14px;border-radius: 3px}.cdp-magic-input br{display: none!important}.cdp-magic-input *:not(.cdp-drag){display: inline;white-space: nowrap}.cdp-magic-input i{font-style: normal}.cdp-magic-input:focus{border-color: #50b6a8;box-shadow: 0 0 0 1px #50b6a8;outline: 2px solid transparent}.cdp-novis{visibility: hidden}.tb-close-icon,.tb-close-icon:focus{outline: 0!important;outline-style: none}.cdp-gray-button{background: #f2f2f2;border: 1px solid #31538f;color: #000;padding: 5px 40px}.cdp-gray{color: #666}.cdp-h2{font-size: 16px;margin: 10px 0}.cdp-white{color: #fff!important}.cdp-error-span-tooltip{display: none;color: #991111;font-size: 10px}.tooltipster-box{border-color: #888!important;-webkit-box-shadow: 0px 0px 10px 3px rgba(0,0,0,.2);-moz-box-shadow: 0px 0px 10px 3px rgba(0,0,0,.2);box-shadow: 0px 0px 10px 3px rgba(0,0,0,.2)}.cdp-spinner{position: absolute;left: calc(50% - 40px);top: calc(50% - 120px);height: 60px;width: 60px;margin: 0px auto;-webkit-animation: cdp-rotation .9s infinite linear;-moz-animation: cdp-rotation .9s infinite linear;-o-animation: cdp-rotation .9s infinite linear;animation: cdp-rotation .9s infinite linear;border-left: 6px solid rgba(55,190,190,0.48);border-right: 6px solid rgba(55,190,190,0.48);border-bottom: 6px solid rgba(74,255,255,0.77);border-top: 6px solid rgba(74,255,255,0.77);border-radius: 100%;z-index: 200000}@-webkit-keyframes cdp-rotation{from {-webkit-transform: rotate(0deg)} to {-webkit-transform: rotate(359deg)}}@-moz-keyframes cdp-rotation{from {-moz-transform: rotate(0deg)} to {-moz-transform: rotate(359deg)}}@-o-keyframes cdp-rotation{from {-o-transform: rotate(0deg)} to {-o-transform: rotate(359deg)}}@keyframes cdp-rotation{from {transform: rotate(0deg)} to {transform: rotate(359deg)}}.cdp-blue-circle{background: #50b6a8;color: white;font-weight: 400;font-size: 14px;border-radius: 50%;width: 27px;height: 27px;text-align: center;margin-bottom: 20px;margin-right: 7px;line-height: 27px}.cdp-low-margin-bot{margin-bottom: 5px}.cdp-margin-left{margin-left: 5px}.cdp-margin-left-25{margin-left: 25px}.cdp-red-bg{background: #bf0000}.cdp-button.cdp-red-bg:hover{background: #ae0000}.cdp-button.cdp-red-bg:active{background: #9d0000}.cdp-d-header{font-size: 16px;font-weight: 600;margin-top: 13px;margin-bottom: 0px}.cdp-d-header-2{font-size: 14px;margin-top: 33px;margin-bottom: 18px}.cdp-delete-table{border-spacing: 0;padding-bottom: 20px!important}.cdp-delete-table tbody td{}.cdp-delete-table .cdp-h-tbe{padding-top: 15px;min-height: 15px;background: rgb(245,245,245)}.cdp-delete-table tbody td,.cdp-delete-table thead th{padding-bottom: 20px!important;padding-top: 20px;padding-left: 20px!important;padding-right: 10px;font-size: 19px!important;text-align: left!important}.cdp-delete-table thead th{padding: 20px!important;border-bottom: 2px solid rgb(223,223,223)!important}.cdp-delete-table tbody td{background: rgb(245,245,245)!important}.cdp-delete-table tbody td:nth-child(1),.cdp-delete-table thead th:nth-child(1){padding-left: 40px!important;width: 32px}.cdp-delete-table tbody td:nth-child(2),.cdp-delete-table thead th:nth-child(2){text-align: left!important}.cdp-delete-table tbody td:nth-child(3),.cdp-delete-table thead th:nth-child(3){text-align: left!important}.cdp-delete-table tbody td:nth-child(4),.cdp-delete-table thead th:nth-child(4){min-width: 110px;width: 110px}.cdp-delete-table tbody td:nth-child(5),.cdp-delete-table thead th:nth-child(5){min-width: 165px;width: 165px}.cdp-delete-table tbody td:nth-child(6),.cdp-delete-table thead th:nth-child(6){min-width: 88px;width: 88px;padding-right: 40px!important}.cdp-delete-table tbody{background: rgb(245,245. 245)!important}.cdp-delete-table tbody td:nth-child(2),.cdp-delete-table thead th:nth-child(2){padding-left: 7px!important}.cdp-delete-table tbody td:nth-child(1),.cdp-delete-table thead th:nth-child(1){padding-right: 0px!important}.cdp-table-cont{overflow-x: auto;max-width: 100%;width: 100%;overflow-y: hidden!important}.cdp-table-cont table{width: 100%}.cdp-multiple-tooltip-count{opacity: 0}.cdp-hide{display: none}.cdp-no-style{list-style: none}.pagination-link,.pagination-next,.pagination-previous{border-color:#dbdbdb;color:#363636}.pagination-link:hover,.pagination-next:hover,.pagination-previous:hover{border-color:#b5b5b5;color:#363636}.pagination-link:focus,.pagination-next:focus,.pagination-previous:focus{border-color:#3273dc}.pagination-link:active,.pagination-next:active,.pagination-previous:active{box-shadow:inset 0 1px 2px rgba(10,10,10,.2)}.pagination-link[disabled],.pagination-next[disabled],.pagination-previous[disabled]{background-color:#dbdbdb;border-color:#dbdbdb;box-shadow:none;color:#7a7a7a;opacity:.5}.pagination-next,.pagination-previous{white-space:nowrap}.pagination-link.is-current{background-color:#3273dc;border-color:#3273dc;color:#fff}.pagination-ellipsis{color:#b5b5b5;pointer-events:none}.pagination-list{flex-wrap:wrap}.cdp-pagination .page-btn.active a{transition: background-color .3s,color .3s;color: white}.cdp-pagination .page-btn{transition: background-color .3s,color .3s}.cdp-pagination .page-btn.active{transition: background-color .3s,color .3s;border-color: #50b6a8;background: #50b6a8;color: white}#cdp-d-table-tbody tr.cdp-del td:not(td:nth-child(1)),#cdp-d-table-tbody tr.cdp-del td:not(td:nth-child(1)) a{color: #c50000!important;text-decoration: none!important;text-decoration: line-through!important}.cdp-del td,.cdp-del a{text-decoration: line-through!important;color: red!important}.cdp-tab-list{width: 100%;margin: 0 auto;text-align: center;margin-top: 10px}.cdp-tab-element:not(:last-child){border-right: 0!important}.cdp-tab-element{width: calc(100% / 3 - 16px);color: black;background: #f6f6f6;padding: 8px;text-align: center;border-bottom: 4px solid #50b6a8;cursor: pointer;transition: all .3s;height: 25px;line-height: 25px;font-size: 20px}.cdp-tab-element span{font-weight: 500}.cdp-tab-element:hover:not(.cdp-tab-active):not([data-disabled="true"]){background: #eee}.cdp-tab-element[data-disabled="true"]{cursor: not-allowed}.cdp-tab-element:first-child{border-top-left-radius: 3px}.cdp-tab-element:last-child{border-top-right-radius: 3px}.cdp-tab-active{background: #50b6a8;color: white}.cdp-content *:not(.cdp-normal-font),.cdp-tooltip-content *:not(.cdp-normal-font){font-family: 'Montserrat',sans-serif!important}.cdp-content b{font-weight: 600}.cdp-content a{color: #50b6a8}.cdp-content a:hover{color: #48a598}.cdp-content a:active{color: #429388}.cdp-profile-bar{margin-bottom: 24px;margin-top: 16px}.cdp-select-styled,.cdp-select{font-size: 14px;color: #666;border-color: rgb(198,201,206);background: #fff}.cdp-select-padding{padding: 0 45px 0 20px!important;height: 48px;line-height: 48px!important;margin: 0 13px}.cdp-content [type="checkbox"],.cdp-other-inputs[type="checkbox"],.cdp-checkbox,input[type="checkbox"].cdp-data-set{color: #555;clear: none;cursor: pointer;display: inline-block;margin: -.25rem .25rem 0 0;outline: 0;padding: 0;text-align: center;vertical-align: middle;-webkit-appearance: none;box-shadow: inset 0 1px 2px rgba(0,0,0,.1);border: 1px solid #50b6a8;height: 29px;width: 29px;margin-right: 5px;margin-top: -2px;background: #fff;transition: all .3s;border-radius: 6px;margin-right: 12px}.cdp-content [type="checkbox"]:checked,.cdp-other-inputs[type="checkbox"]:checked,.cdp-checkbox:checked,input[type="checkbox"].cdp-data-set:checked{background: #50b6a8}.cdp-content [type="checkbox"]:checked::before,.cdp-other-inputs[type="checkbox"]:checked::before,.cdp-checkbox:checked::before,input[type="checkbox"].cdp-data-set:checked::before{content: '';border-top: 2px solid white;border-left: 2px solid white;height: 13px!important;width: 7px!important;margin: -.1875rem 0 0 -.25rem;margin-top: 4px;margin-left: 9px;transform: rotate(220deg);float: left;display: inline-block;vertical-align: middle}.cdp-table tbody td{color: gray}.cdp-table tbody td:nth-child(1){font-weight: 300}.cdp-table tbody td:nth-child(3){color: black;font-weight: 500}tr.cdp-selected-tr-opt td:nth-child(2){color: black!important;font-weight: 500!important}tr.cdp-selected-tr-opt td:nth-child(2) span{font-weight: 500!important}tr.cdp-selected-tr-opt td:nth-child(3){color: gray!important;font-weight: 300!important}tr.cdp-selected-tr-opt td:nth-child(1) span{font-weight: 500!important;color: black!important}.cdp-d-search{height: 110px;width: 644px;font-size: 30px}.cdp-d-searchbox-c{line-height: 30px!important;margin-left: 3px;padding-left: 15px!important;position: relative!important;background: url('../imgs/search.png');background-position: calc(100% - 13px) center;background-repeat: no-repeat;width: 193px;height: 42px;padding-right: 28px;background-size: 16px;font-size: 18px!important;border-radius: 3px!important;border-color: rgb(198,201,206)!important}.cdp-d-searchbox-c:focus,.cdp-content input:focus{border-color: #50b6a8!important;box-shadow: none!important;outline: 0!important}.cdp-padding-23{padding: 23px}.cdp-padding-23-h{padding-top: 23px;padding-bottom: 23px}.cdp-padding-15-h{padding-top: 15px;padding-bottom: 15px}.cdp-pad-lin{padding: 28px 44px}.cdp-curr-cont{padding-left: 3px;text-align: center;width: 90%;margin: 0 auto;margin-top: 7px!important}.cdp-con-cen{margin: 0 auto;text-align: center}.cdp-select-centered{width: 57%!important;max-width: 637px;text-align: center!important;margin: 0 auto;margin-bottom: 5px}.cdp-c-x-a-v{max-width: 661px!important}.cdp-special-cb-p label{margin-right: 60px;display: inline-block;line-height: 44px}.cdp-special-cb-p input[type="checkbox"]{margin-right: 8px!important}.cdp-special-cb-p label:last-child{margin-right: 0px!important}.cdp-special-cb-p h2{margin-bottom: 5px}.cdp-cont-d-box-tabed{background: #f9f9f9}.cdp-radio{border: 1px solid #50b6a8!important;transition: all .3s;margin-right: 15px;width: 25px!important;height: 25px!important}.cdp-radio:checked::before{margin: 0;content: "";border-radius: 50%;width: 13px!important;height: 13px!important;background-color: #1e8cbe;line-height: 1.14285714;margin-top: 5px!important;margin-left: 5px!important}.cdp-radio:checked::before{background-color: #50b6a8!important}.cdp-sm-d{font-size: 12px}.cdp-ff-20{font-size: 20px}.cdp-d-sel-all-con{display: inline-block;width: 305px;max-width: 305px;line-height: 30px}.cdp-d-pagi-cent{display: inline-block;padding-right: 334px;width: calc(100% - 394px - 245px)}.pagination-pages-section{margin: 0;margin-bottom: 25px;width: auto;float: right!important}.pagination-next{margin: 0;float: right!important}.pagination-previous{margin: 0;float: left;margin: 0 1px}.pagination-pages{display: inline-block;text-align: center;margin: 0 1px}#cdp-d-table-pagi{text-align: center}.page-btn{border: 1px solid #aaa;font-size: 18px;background: #fff;top: -0.5px;font-weight: 400;float: left;margin: 0 1px;min-width: 28px!important;text-align: center;height: 28px;line-height: 29px;color: #969696;cursor: not-allowed}.page-btn:not(.active){cursor: pointer!important}.page-btn:not(.active):hover{border: 1px solid #48a598;background: #48a598}.page-btn:not(.active):active{border: 1px solid #429388;background: #429388}.page-btn:not(.active):hover a{color: white!important}.page-btn:not(.active):active a{color: white!important}.page-btn a{color: #555;padding: 3px 10px!important}.cdp-pagi-arrows{width: 28px!important;border: 1px solid #aaa!important;height: 28px!important;font-size: 40px!important;position: relative!important;background: #fff;font-weight: 400!important;line-height: 26px!important;margin-left: 1px}.cdp-pagi-arrows a{position: absolute!important;right: 0!important;left: 0px!important;top: -2px!important;bottom: 0!important;color: #969696;height: 28px!important;width: 28px!important}.cdp-separator-dis{pointer-events: none;float: left;width: 28px;border: 1px solid #b8b8b8!important;height: 28px!important;font-size: 33px;position: relative;background: #fff;top: 0px;font-weight: 400;margin: 0 1px;line-height: 27px;cursor: not-allowed!important}.cdp-separator-dis a{color: #b8b8b8!important;position: absolute;right: 0;left: 1px;top: -2px;bottom: 0;height: 19px;width: 19px}.cdp-pagi-arrows .prev_page{left: 0px!important}.cdp-pagi-arrows .next_page{left: 1px!important}.cdp-width-166{width: 68px!important}.cdp-vtop-pad{vertical-align: top;padding-top: 15px;min-width: 230px;padding-left: 13px}.cdp-d-tp-pad{padding-top: 15px;padding-bottom: 45px}.cdp-even-more-th-info{padding-top: 7px}.cdp-number-field-styled{width: 70px!important;text-align: center;font-family: 'Montserrat',sans-serif;box-shadow: 0 0 0 transparent;padding: 5px 7px;appearance: none!important;-webkit-appearance: none!important;-moz-appearance: textfield!important}.cdp-number-field-styled::-webkit-inner-spin-button{-webkit-appearance: none!important;-moz-appearance: textfield!important}.cdp-number-field-styled::-webkit-outer-spin-button{-webkit-appearance: none!important;-moz-appearance: textfield!important}.cdp-custom-date-picking{border-color: rgb(198,201,206)!important;line-height: 48px!important;border-radius: 3px!important;height: 48px;font-size: 18px;width: 160px;margin-left: 15px}.cdp-color-p-i{}.cdp-p-hh{padding-bottom: 25px;padding-top: 25px}.cdp-p-25-40{padding-top: 25px;padding-bottom: 40px}.cdp-p-40-b{padding-bottom: 40px}.cdp-p-10-b{padding-bottom: 10px}.cdp-p-20-b{padding-bottom: 20px}.cdp-p-25-t{padding-top: 25px}.cdp-p-15-25{padding-top: 15px}.cdp-p-10-h{padding-top: 10px;padding-bottom: 10px}.cdp-p-15-h{padding-top: 15px;padding-bottom: 15px}.cdp-p-20-h{padding-top: 20px;padding-bottom: 20px}.cdp-p-30-h{padding-top: 30px;padding-bottom: 30px}.cdp-max-600{max-width: 637px!important;min-width: 637px!important;margin-left: 49px}.cdp-per-page-select-show{width: 96px!important;height: 42px;font-size: 17px!important;padding-right: 44px!important;padding: 0 45px 0 20px!important;line-height: 42px!important;text-align: left;margin-left: 10px;margin-right: 10px}.cdp-d-pad-sp{padding: 0 40px}.cdp-hr{border: 1px solid #dfdfdf!important;margin-bottom: 20px}.cdp-d-throttling-count{width: 85px!important;height: 42px!important;line-height: 40px!important;color: #32373c;border-color: rgb(198,201,206)!important;font-size: 17px!important}.cdp-date-picked{margin-right: 0px!important}.cdp-option-premium .option[data-value="3"],.cdp-premium-in-select .option[data-value="premium"]{position: relative}.cdp-option-premium .option[data-value="3"]::after,.cdp-premium-in-select .option[data-value="premium"]::after{content: '';display: inline-block;position: absolute;width: 19px;height: 19px;top: calc(50% - 10px);background: url('../imgs/premium.png');display: inline-block;line-height: 19px;background-repeat: no-repeat;background-position: center;background-size: cover;padding: 0;margin-left: 7px;cursor: pointer}.cdp-cont-d-box-tabed{display: none;overflow: hidden}.cdp-tbody-of-settings a{text-decoration: none}.cdp-tbody-of-settings a:hover,.cdp-tbody-of-settings a:hover span{color: #429388!important}.cdp-content ::placeholder{color: #ddd!important;opacity: 1}.cdp-content ::-moz-placeholder{color: #ddd!important;opacity: 1}.cdp-content :-moz-placeholder{color: #ddd!important;opacity: 1}.cdp-content ::-webkit-input-placeholder{color: #ddd!important;opacity: 1}.cdp-content ::-ms-input-placeholder{color: #ddd!important;opacity: 1}.cdp-content :-ms-input-placeholder{color: #ddd!important;opacity: 1}.cdp-backup-alert{background: #fcecec;color: black;border-radius: 1px;text-align: center;line-height: 23px;padding: 38px;font-size: 14px;border-radius: 3px}.cdp-delete-btn{margin-top: 10px;border: 0;border-radius: 7px}.cdp-delete-info b{font-weight: 500}.cdp-final-ask{background: #fbe4d4;line-height: 1.9;margin-top: 2px;margin-bottom: 5px;padding: 1px 5px;cursor: default}.cdp-small-btn{border: 0;border-radius: 2px}.cdp-delete-info{background: #e2edf7;text-align: center;padding: 10px;color: black;margin: 0 auto;font-weight: 300;width: 663px!important;height: 33px!important;line-height: 33px}.cdp-intro-image{width: 100%;border-radius: 6px;transition: all .3s;cursor: zoom-in}.cdp-intro-image:hover{-ms-transform: scale(2);-webkit-transform: scale(2);transform: scale(2)}.cdp-intro-img-1:hover{margin-left: calc(6vw + 5px)}.cdp-intro-img-1{background-image: url('../imgs/intro_1.gif');background-position: 41% 61%;background-size: 120% auto}.cdp-intro-img-2{background-image: url('../imgs/intro_2.gif');background-position: 44% 61%;background-size: 120% auto}.cdp-intro-img-3:hover{margin-left: calc(-6vw - 5px)}.cdp-intro-img-3{background-image: url('../imgs/intro_3.jpg');background-position: 52% 63%;background-size: 120% auto}.cdp-no-vis{visibility: hidden}.cdp-togglable-name-b{cursor: pointer}.cdp-tooltip-premium-spc-2{margin-bottom: 0;padding-bottom: 0;max-height: 32px}
1
+ [contenteditable]{-webkit-user-select: text;user-select: text}.cdp-preloader{width: 90%;height: 4px;background: linear-gradient(to right,#429388,#429388);background-color: #ccc;position: absolute;margin-top: 3px;padding-top: 2px;top: 60px;left: 0;right: 0;margin: auto;border-radius: 4px;background-size: 20%;background-repeat: repeat-y;background-position: -25% 0;animation: cdpscroll 1.2s ease-in-out infinite}@keyframes cdpscroll{50%{background-size: 80%}100%{background-position: 125% 0}}.cdp-content *{outline: 0;font-weight: 300}.cdp-preloader-c{padding: 30px!important}.cdp-container,.cdp-preloader-c{width: calc(100% - 40px);padding: 0 20px;max-width: 1286px;margin: 0 auto;-webkit-touch-callout: none;-webkit-user-select: none;-khtml-user-select: none;-moz-user-select: none;-ms-user-select: none;user-select: none}.cdp-f20{font-size: 20px;padding-bottom: 10px}.cdp-box{border-radius: 3px;margin-top: 23px}.cdp-cf::after{content: '';clear: both;display: block}.cdp-bg-green{background: #e1efd8}.cdp-bg-green-title{background: #00b050;border-bottom: 1px solid #31538f;color: white}.cdp-nm{margin: 0!important}.cdp-center{text-align: center}.cdp-left{float: left}.cdp-right{float: right}.cdp-text-left{text-align: left}.cdp-text-right{text-align: right}.cdp-inline{display: inline-block}.cdp-showcase-3{width: calc(100% / 3 - 37px - 32px);margin-right: 37px}.cdp-showcase-3:first-child{margin-left: 67px}.cdp-showcase-3:last-child{margin-right: 0}.cfg-img-sc-3{width: 100%;object-fit: cover;object-position: center}.cfg-img-sc-3-special{width: 93%!important;object-fit: cover;object-position: center}.cdp-font-heading{font-size: 24px;line-height: 1;padding-top: 50px;padding-left: 67px;padding-bottom: 66px}.cdp-font-title{color: black;padding-bottom: 25px}.cdp-font-footer{font-size: 18px;color: black;padding-top: calc(42px + 20px);padding-bottom: 26px}.cdp-ff-i{font-weight: 400;font-style: italic}.cdp-ff-b1{font-weight: 200}.cdp-ff-b2{font-weight: 400}.cdp-ff-b3{font-weight: 500}.cdp-ff-b4{font-weight: 600}.cdp-ff-b5{font-weight: 700}.cdp-ff-b6{font-weight: 800}.cdp-welcome-title{padding-top: 35px;padding-bottom: 10px}.cdp-welcome-title-after{padding: 0;margin: 0;padding-top: 40px;line-height: 53px}.cdp-welcome-title-after h1{padding: 0;margin: 0;line-height: normal}.cdp-intro{font-family: 'Montserrat',sans-serif!important;margin-bottom: 70px}.cdp-intro-options{padding-bottom: 50px}.cdp-intro-button{background: #50b6a8;border: 0;color: white;font-size: 24px;padding: 17px 117px;border-radius: 30px;transition: .3s;cursor: pointer}.cdp-button{background: #50b6a8!important;border: 0!important;color: white!important;font-size: 23px;padding: 12px 66px;font-weight: 600;border-radius: 29px;height: 58px;width: 317px;transition: .3s!important;cursor: pointer!important}.cdp-intro-button:hover,.cdp-button:hover{background: #48a598!important}.cdp-intro-button:active,.cdp-button:active{background: #429388!important;transition: 0s!important}.cdp-pointer{cursor: pointer}.cdp-manager-btns{line-height: 2}.cdp-arrow{border: solid #50b6a8;display: inline-block;border-width: 0 4px 4px 0;padding: 5px;border-radius: 2px;transition: all .3s;display: block}.cdp-arrow-down{transform: rotate(135deg);-webkit-transform: rotate(135deg);margin-top: 2px}.cdp-arrow-right{transform: rotate(-135deg);-webkit-transform: rotate(-135deg);margin-right: 3px}.cdp-arrow-left{transform: rotate(45deg);-webkit-transform: rotate(45deg)}.cdp-collapsibles{padding: 20px 0}.cdp-collapsible{margin-bottom: 15px}.cdp-collapsible-title{border: 0;font-size: 21px;background-color: #fff;padding: 24px 44px;color: black;transition: all .2s;cursor: pointer;border-radius: 3px}.cdp-collapsible-title:hover{background-color: #48a598;color: white}.cdp-collapsible-title:hover *{border-color: white}.cdp-collapsible-title:active{transition: all 0s;background-color: #429388}.cdp-collapsible-content{transition: height .3s ease-out,max-height .5s ease-out,border-bottom .5s .3s,padding .3s;border-bottom: 0!important;overflow: hidden;padding: 0 10px;border-top: 0;max-height: 0;background: #fff}.cdp-collapsible-content.cdp-active{padding: 10px;max-height: unset;border-bottom: 0!important}.cdp-collapsible-title.cdp-active *{border-color: white}.cdp-collapsible-title.cdp-active{background: #50b6a8;color: white}.cdp-collapsible:last-child{margin-bottom: 0}.cdp-supports{padding: 10px 0}.cdp-support-box{border: 1px solid #31538f;background: #ddeaf6;padding: 10px;color: black;min-height: 84px}.cdp-s-i-a{line-height: 53px}.cdp-third{width: calc(100% / 3 - 29px);margin-right: 10px}.cdp-third:not(.cdp-ignore):last-child{margin-right: 0}.cdp-fourth{width: calc(100% / 4 - 30px);margin-right: 10px}.cdp-fourth:not(.cdp-ignore):last-child{margin-right: 0}.cdp-projects{background: #fff;border: 1px solid #44546a;color: black;padding: 25px 30px;padding-top: 5px;margin-top: 10px}.cdp-project-box{padding: 10px;border: 1px solid #44546a;min-height: 261.78125px}.cdp-support-title{position: absolute;top: 50%;transform: translateY(-50%);width: calc(100% - 50px - 20px);padding: 0px 10px;margin-left: 50px}.cdp-support-header{position: relative}.cdp-support-img{height: 50px;width: 50px;object-position: center;object-fit: cover}.cdp-support-img-rd{height: 50px;width: 50px;object-position: center;object-fit: cover}.cdp-support-desc{padding: 5px 0}.cdp-tool{position: relative}.cdp-animated{transition: .3s all}.cdp-half-opacity{opacity: .5}span.cdp-green,.cdp-green{color: #50b6a8;transition: color .3s}.cdp-green.cdp-hover:hover{color: #48a598}.cdp-green.cdp-hover:active{transition: all 0s;color: #429388}.cdp-table{width: 100%;border-spacing: 0px;color: black}.cdp-table tr td:nth-child(1),.cdp-table tr th:nth-child(1),.cdp-table tr th:nth-child(2),.cdp-table tr th:nth-child(3),.cdp-table tr td:nth-child(2),.cdp-table tr td:nth-child(3){padding: 3px 20px}.cdp-table tr td:nth-child(1),.cdp-table tr th:nth-child(1){min-width: 192px;text-align: left;padding-left: 44px!important}.cdp-table tr td:nth-child(3),.cdp-table tr th:nth-child(3){padding-right: 44px!important}.cdp-table tr th:nth-child(2),.cdp-table tr th:nth-child(3),.cdp-table tr td:nth-child(2),.cdp-table tr td:nth-child(3){width: 50%;text-align: left}.cdp-table tr th:nth-child(2),.cdp-table tr td:nth-child(2){width: 50%;text-align: left;padding-right:}.cdp-table tr:nth-child(1) td{padding-top: 35px!important}.cdp-table tr td{padding: 16px 20px!important;line-height: 24px}.cdp-table .cdp-thead{background: #f7f7f7}.cdp-table tr th{border-bottom: 1px solid #e1e1e1;font-weight: 400;height: 33px;padding: 5px 10px;height: 58px}.cdp-padding{padding: 15px 20px}.cdp-nbp{padding-bottom: 0!important}.cdp-ntp{padding-top: 0!important}.cdp-padding-10{padding: 10px}.cdp-padding-10-h{padding-top: 10px;padding-bottom: 10px}.cdp-np{padding: 0!important}.cdp-nlh{line-height: inherit!important}.cdp-green-bg{background: #f7f7f7}.cdp-shadow{-moz-box-shadow: 3px 3px 15px 10px #eee!important;-webkit-box-shadow: 3px 3px 15px 10px #eee!important;box-shadow: 3px 3px 15px 10px #eee!important}.cdp-white-bg{background: #fff}.cdp-names-input{width: calc(50% - 97.5px)}.cdp-names-input input{width: 100%}.cdp-names-divider{font-size: 16px;line-height: 49px;padding: 0 10px;width: 175px;color: black;margin-top: 14px}.cdp-name-box{background-color: #50b6a8;width: 165px;padding: 5px;font-weight: 200;border-radius: 1px;text-align: center;color: white;font-size: 18px;cursor: pointer;transition: background-color .3s;height: 29px;line-height: 29px;border-radius: 3px}.cdp-name-box:hover{background-color: #48a598;cursor: pointer}.cdp-name-box-small{background: #50b6a8;font-size: 18px;font-weight: 200;border-radius: 1px;text-align: left;display: inline-block;position: relative;cursor: pointer;pointer-events: none;color: white;padding: 0px 19px!important;padding-right: 63px!important;margin-left: 1px;margin-right: 1px;height: 38px;border-radius: 3px}.cdp-name-box-small[data-cdp-val="0"]{width: 68px}.cdp-name-box-small[data-cdp-val="1"]{width: 108px}.cdp-name-box-small[data-cdp-val="2"]{width: 109px}.cdp-name-box-small::after{content: '\00d7';position: absolute;right: 0px;top: 0px;height: 100%;width: 22px;font-size: 28px;line-height: 38px;padding-right: 3px;padding-left: 9px;pointer-events: auto;background: #42a89a;border-top-right-radius: 3px;border-bottom-right-radius: 3px}.cdp-names-text-info{padding-left: 30px;line-height: 40px}.cdp-magic-input{text-align: left;line-height: 39px;font-size: 17px;box-shadow: 0 0 0 transparent;border-radius: 1px;background-color: #fff;color: #32373c;overflow-x: hidden;word-wrap: unset;white-space: nowrap;resize: none;padding: 6px;min-height: 39px;width: 100%;width: calc(100% - 12px);margin: 0 auto;margin-top: 14px;margin-bottom: 14px;border-radius: 3px}.cdp-magic-input br{display: none!important}.cdp-magic-input *:not(.cdp-drag){display: inline;white-space: nowrap}.cdp-magic-input i{font-style: normal}.cdp-magic-input:focus{border-color: #50b6a8;box-shadow: 0 0 0 1px #50b6a8;outline: 2px solid transparent}.cdp-novis{visibility: hidden}.tb-close-icon,.tb-close-icon:focus{outline: 0!important;outline-style: none}.cdp-gray-button{background: #f2f2f2;border: 1px solid #31538f;color: #000;padding: 5px 40px}.cdp-gray{color: #666}.cdp-h2{font-size: 16px;margin: 10px 0}.cdp-white{color: #fff!important}.cdp-error-span-tooltip{display: none;color: #991111;font-size: 10px}.tooltipster-box{border-color: #888!important;-webkit-box-shadow: 0px 0px 10px 3px rgba(0,0,0,.2);-moz-box-shadow: 0px 0px 10px 3px rgba(0,0,0,.2);box-shadow: 0px 0px 10px 3px rgba(0,0,0,.2)}.cdp-spinner{position: absolute;left: calc(50% - 40px);top: calc(50% - 120px);height: 60px;width: 60px;margin: 0px auto;-webkit-animation: cdp-rotation .9s infinite linear;-moz-animation: cdp-rotation .9s infinite linear;-o-animation: cdp-rotation .9s infinite linear;animation: cdp-rotation .9s infinite linear;border-left: 6px solid rgba(55,190,190,0.48);border-right: 6px solid rgba(55,190,190,0.48);border-bottom: 6px solid rgba(74,255,255,0.77);border-top: 6px solid rgba(74,255,255,0.77);border-radius: 100%;z-index: 200000}@-webkit-keyframes cdp-rotation{from {-webkit-transform: rotate(0deg)} to {-webkit-transform: rotate(359deg)}}@-moz-keyframes cdp-rotation{from {-moz-transform: rotate(0deg)} to {-moz-transform: rotate(359deg)}}@-o-keyframes cdp-rotation{from {-o-transform: rotate(0deg)} to {-o-transform: rotate(359deg)}}@keyframes cdp-rotation{from {transform: rotate(0deg)} to {transform: rotate(359deg)}}.cdp-blue-circle{background: #50b6a8;color: white;font-weight: 400;font-size: 14px;border-radius: 50%;width: 27px;height: 27px;text-align: center;margin-bottom: 20px;margin-right: 7px;line-height: 27px}.cdp-low-margin-bot{margin-bottom: 5px}.cdp-margin-left{margin-left: 5px}.cdp-margin-left-25{margin-left: 25px}.cdp-red-bg{background: #bf0000}.cdp-button.cdp-red-bg:hover{background: #ae0000}.cdp-button.cdp-red-bg:active{background: #9d0000}.cdp-d-header{font-size: 16px;font-weight: 600;margin-top: 13px;margin-bottom: 0px}.cdp-d-header-2{font-size: 14px;margin-top: 33px;margin-bottom: 18px}.cdp-delete-table{border-spacing: 0;padding-bottom: 20px!important}.cdp-delete-table tbody td{}.cdp-delete-table .cdp-h-tbe{padding-top: 15px;min-height: 15px;background: rgb(245,245,245)}.cdp-delete-table tbody td,.cdp-delete-table thead th{padding-bottom: 20px!important;padding-top: 20px;padding-left: 20px!important;padding-right: 10px;font-size: 19px!important;text-align: left!important}.cdp-delete-table thead th{padding: 20px!important;border-bottom: 2px solid rgb(223,223,223)!important;font-weight: 600}.cdp-delete-table tbody td{background: rgb(245,245,245)!important}.cdp-delete-table tbody td:nth-child(1),.cdp-delete-table thead th:nth-child(1){padding-left: 40px!important;width: 32px}.cdp-delete-table tbody td:nth-child(2),.cdp-delete-table thead th:nth-child(2){text-align: left!important}.cdp-delete-table tbody td:nth-child(3),.cdp-delete-table thead th:nth-child(3){text-align: left!important}.cdp-delete-table tbody td:nth-child(4),.cdp-delete-table thead th:nth-child(4){min-width: 110px;width: 110px}.cdp-delete-table tbody td:nth-child(5),.cdp-delete-table thead th:nth-child(5){min-width: 165px;width: 165px}.cdp-delete-table tbody td:nth-child(6),.cdp-delete-table thead th:nth-child(6){min-width: 88px;width: 88px;padding-right: 40px!important}.cdp-delete-table tbody{background: rgb(245,245. 245)!important}.cdp-delete-table tbody td:nth-child(2),.cdp-delete-table thead th:nth-child(2){padding-left: 7px!important}.cdp-delete-table tbody td:nth-child(1),.cdp-delete-table thead th:nth-child(1){padding-right: 0px!important}.cdp-table-cont{overflow-x: auto;max-width: 100%;width: 100%;overflow-y: hidden!important}.cdp-table-cont table{width: 100%}.cdp-multiple-tooltip-count{opacity: 0}.cdp-hide{display: none}.cdp-no-style{list-style: none}.pagination-link,.pagination-next,.pagination-previous{border-color:#dbdbdb;color:#363636}.pagination-link:hover,.pagination-next:hover,.pagination-previous:hover{border-color:#b5b5b5;color:#363636}.pagination-link:focus,.pagination-next:focus,.pagination-previous:focus{border-color:#3273dc}.pagination-link:active,.pagination-next:active,.pagination-previous:active{box-shadow:inset 0 1px 2px rgba(10,10,10,.2)}.pagination-link[disabled],.pagination-next[disabled],.pagination-previous[disabled]{background-color:#dbdbdb;border-color:#dbdbdb;box-shadow:none;color:#7a7a7a;opacity:.5}.pagination-next,.pagination-previous{white-space:nowrap}.pagination-link.is-current{background-color:#3273dc;border-color:#3273dc;color:#fff}.pagination-ellipsis{color:#b5b5b5;pointer-events:none}.pagination-list{flex-wrap:wrap}.cdp-pagination .page-btn.active a{transition: background-color .3s,color .3s;color: white}.cdp-pagination .page-btn{transition: background-color .3s,color .3s}.cdp-pagination .page-btn.active{transition: background-color .3s,color .3s;border-color: #50b6a8;background: #50b6a8;color: white}#cdp-d-table-tbody tr.cdp-del td:not(td:nth-child(1)),#cdp-d-table-tbody tr.cdp-del td:not(td:nth-child(1)) a{color: #c50000!important;text-decoration: none!important;text-decoration: line-through!important}.cdp-del td,.cdp-del a{text-decoration: line-through!important;color: red!important}.cdp-tab-list{width: 100%;margin: 0 auto;text-align: center;margin-top: 10px}.cdp-tab-element:not(:last-child){border-right: 0!important}.cdp-tab-element{width: calc(100% / 3 - 16px);color: black;background: #f6f6f6;padding: 8px;text-align: center;border-bottom: 4px solid #50b6a8;cursor: pointer;transition: all .3s;height: 25px;line-height: 25px;font-size: 20px}.cdp-tab-element span{font-weight: 500}.cdp-tab-element:hover:not(.cdp-tab-active):not([data-disabled="true"]){background: #eee}.cdp-tab-element[data-disabled="true"]{cursor: not-allowed}.cdp-tab-element:first-child{border-top-left-radius: 3px}.cdp-tab-element:last-child{border-top-right-radius: 3px}.cdp-tab-active{background: #50b6a8;color: white}.cdp-content *:not(.cdp-normal-font),.cdp-tooltip-content *:not(.cdp-normal-font){font-family: 'Montserrat',sans-serif!important}.cdp-content b{font-weight: 600}.cdp-content a{color: #50b6a8}.cdp-content a:hover{color: #48a598}.cdp-content a:active{color: #429388}.cdp-profile-bar{margin-bottom: 24px;margin-top: 16px}.cdp-select-styled,.cdp-select{font-size: 14px;color: #666;border-color: rgb(198,201,206);background: #fff}.cdp-select-padding{padding: 0 45px 0 20px!important;height: 48px;line-height: 48px!important;margin: 0 13px}.cdp-content [type="checkbox"],.cdp-other-inputs[type="checkbox"],.cdp-checkbox,input[type="checkbox"].cdp-data-set{color: #555;clear: none;cursor: pointer;display: inline-block;margin: -.25rem .25rem 0 0;outline: 0;padding: 0;text-align: center;vertical-align: middle;-webkit-appearance: none;box-shadow: inset 0 1px 2px rgba(0,0,0,.1);border: 1px solid #50b6a8;height: 29px;width: 29px;margin-right: 5px;margin-top: -2px;background: #fff;transition: all .3s;border-radius: 6px;margin-right: 12px}.cdp-content [type="checkbox"]:checked,.cdp-other-inputs[type="checkbox"]:checked,.cdp-checkbox:checked,input[type="checkbox"].cdp-data-set:checked{background: #50b6a8}.cdp-content [type="checkbox"]:checked::before,.cdp-other-inputs[type="checkbox"]:checked::before,.cdp-checkbox:checked::before,input[type="checkbox"].cdp-data-set:checked::before{content: '';border-top: 2px solid white;border-left: 2px solid white;height: 13px!important;width: 7px!important;margin: -.1875rem 0 0 -.25rem;margin-top: 4px;margin-left: 9px;transform: rotate(220deg);float: left;display: inline-block;vertical-align: middle}.cdp-table tbody td{color: gray}.cdp-table tbody td:nth-child(1){font-weight: 300}.cdp-table tbody td:nth-child(3){color: black;font-weight: 500}tr.cdp-selected-tr-opt td:nth-child(2){color: black!important;font-weight: 500!important}tr.cdp-selected-tr-opt td:nth-child(2) span{font-weight: 500!important}tr.cdp-selected-tr-opt td:nth-child(3){color: gray!important;font-weight: 300!important}tr.cdp-selected-tr-opt td:nth-child(1) span{font-weight: 500!important;color: black!important}.cdp-d-search{height: 110px;width: 644px;font-size: 30px}.cdp-d-searchbox-c{line-height: 30px!important;margin-left: 3px;padding-left: 15px!important;position: relative!important;background: url('../imgs/search.png');background-position: calc(100% - 13px) center;background-repeat: no-repeat;width: 193px;height: 42px;padding-right: 28px;background-size: 16px;font-size: 18px!important;border-radius: 3px!important;border-color: rgb(198,201,206)!important}.cdp-d-searchbox-c:focus,.cdp-content input:focus{border-color: #50b6a8!important;box-shadow: none!important;outline: 0!important}.cdp-padding-23{padding: 23px}.cdp-padding-23-h{padding-top: 23px;padding-bottom: 23px}.cdp-padding-15-h{padding-top: 15px;padding-bottom: 15px}.cdp-pad-lin{padding: 28px 44px}.cdp-curr-cont{padding-left: 3px;text-align: center;width: 90%;margin: 0 auto;margin-top: 7px!important}.cdp-con-cen{margin: 0 auto;text-align: center}.cdp-select-centered{width: 100%!important;max-width: 637px;text-align: center!important;margin: 0 auto;margin-bottom: 5px}.cdp-c-x-a-v{max-width: 661px!important}.cdp-special-cb-p label{margin-right: 60px;display: inline-block;line-height: 44px}.cdp-special-cb-p input[type="checkbox"]{margin-right: 8px!important}.cdp-special-cb-p label:last-child{margin-right: 0px!important}.cdp-special-cb-p h2{margin-bottom: 5px}.cdp-cont-d-box-tabed{background: #f9f9f9}.cdp-radio{border: 1px solid #50b6a8!important;transition: all .3s;margin-right: 15px;width: 25px!important;height: 25px!important}.cdp-radio:checked::before{margin: 0;content: "";border-radius: 50%;width: 13px!important;height: 13px!important;background-color: #1e8cbe;line-height: 1.14285714;margin-top: 5px!important;margin-left: 5px!important}.cdp-radio:checked::before{background-color: #50b6a8!important}.cdp-sm-d{font-size: 12px}.cdp-ff-20{font-size: 20px}.cdp-d-sel-all-con{display: inline-block;width: 305px;max-width: 305px;line-height: 30px}.cdp-d-pagi-cent{display: inline-block;padding-right: 334px;width: calc(100% - 394px - 245px)}.pagination-pages-section{margin: 0;margin-bottom: 25px;width: auto;float: right!important}.pagination-next{margin: 0;float: right!important}.pagination-previous{margin: 0;float: left;margin: 0 1px}.pagination-pages{display: inline-block;text-align: center;margin: 0 1px}#cdp-d-table-pagi{text-align: center}.page-btn{border: 1px solid #aaa;font-size: 18px;background: #fff;top: -0.5px;font-weight: 400;float: left;margin: 0 1px;min-width: 28px!important;text-align: center;height: 28px;line-height: 29px;color: #969696;cursor: not-allowed}.page-btn:not(.active){cursor: pointer!important}.page-btn:not(.active):hover{border: 1px solid #48a598;background: #48a598}.page-btn:not(.active):active{border: 1px solid #429388;background: #429388}.page-btn:not(.active):hover a{color: white!important}.page-btn:not(.active):active a{color: white!important}.page-btn a{color: #555;padding: 3px 10px!important}.cdp-pagi-arrows{width: 28px!important;border: 1px solid #aaa!important;height: 28px!important;font-size: 40px!important;position: relative!important;background: #fff;font-weight: 400!important;line-height: 26px!important;margin-left: 1px}.cdp-pagi-arrows a{position: absolute!important;right: 0!important;left: 0px!important;top: -2px!important;bottom: 0!important;color: #969696;height: 28px!important;width: 28px!important}.cdp-separator-dis{pointer-events: none;float: left;width: 28px;border: 1px solid #b8b8b8!important;height: 28px!important;font-size: 33px;position: relative;background: #fff;top: 0px;font-weight: 400;margin: 0 1px;line-height: 27px;cursor: not-allowed!important}.cdp-separator-dis a{color: #b8b8b8!important;position: absolute;right: 0;left: 1px;top: -2px;bottom: 0;height: 19px;width: 19px}.cdp-pagi-arrows .prev_page{left: 0px!important}.cdp-pagi-arrows .next_page{left: 1px!important}.cdp-width-166{width: 68px!important}.cdp-vtop-pad{vertical-align: top;padding-top: 15px;min-width: 230px;padding-left: 13px}.cdp-d-tp-pad{padding-top: 15px;padding-bottom: 45px}.cdp-even-more-th-info{padding-top: 7px}.cdp-number-field-styled{width: 70px!important;text-align: center;font-family: 'Montserrat',sans-serif;box-shadow: 0 0 0 transparent;padding: 5px 7px;appearance: none!important;-webkit-appearance: none!important;-moz-appearance: textfield!important}.cdp-number-field-styled::-webkit-inner-spin-button{-webkit-appearance: none!important;-moz-appearance: textfield!important}.cdp-number-field-styled::-webkit-outer-spin-button{-webkit-appearance: none!important;-moz-appearance: textfield!important}.cdp-custom-date-picking{border-color: rgb(198,201,206)!important;line-height: 48px!important;border-radius: 3px!important;height: 48px;font-size: 18px;width: 160px;margin-left: 15px}.cdp-color-p-i{}.cdp-p-hh{padding-bottom: 25px;padding-top: 25px}.cdp-p-25-40{padding-top: 25px;padding-bottom: 40px}.cdp-p-40-b{padding-bottom: 40px}.cdp-p-10-b{padding-bottom: 10px}.cdp-p-20-b{padding-bottom: 20px}.cdp-p-25-t{padding-top: 25px}.cdp-p-15-25{padding-top: 15px}.cdp-p-10-h{padding-top: 10px;padding-bottom: 10px}.cdp-p-15-h{padding-top: 15px;padding-bottom: 15px}.cdp-p-20-h{padding-top: 20px;padding-bottom: 20px}.cdp-p-30-h{padding-top: 30px;padding-bottom: 30px}.cdp-max-600{max-width: 637px!important;min-width: 637px!important;margin-left: 49px}.cdp-per-page-select-show{width: 96px!important;height: 42px;font-size: 17px!important;padding-right: 44px!important;padding: 0 45px 0 20px!important;line-height: 42px!important;text-align: left;margin-left: 10px;margin-right: 10px}.cdp-d-pad-sp{padding: 0 40px}.cdp-hr{border: 1px solid #dfdfdf!important;margin-bottom: 20px}.cdp-d-throttling-count{width: 85px!important;height: 42px!important;line-height: 40px!important;color: #32373c;border-color: rgb(198,201,206)!important;font-size: 17px!important}.cdp-date-picked{margin-right: 0px!important}.cdp-option-premium .option[data-value="3"],.cdp-premium-in-select .option[data-value="premium"]{position: relative}.cdp-option-premium .option[data-value="3"]::after,.cdp-premium-in-select .option[data-value="premium"]::after{content: '';display: inline-block;position: absolute;width: 19px;height: 19px;top: calc(50% - 10px);background: url('../imgs/premium.png');display: inline-block;line-height: 19px;background-repeat: no-repeat;background-position: center;background-size: cover;padding: 0;margin-left: 7px;cursor: pointer}.cdp-cont-d-box-tabed{display: none;overflow: hidden}.cdp-tbody-of-settings a{text-decoration: none}.cdp-tbody-of-settings a:hover,.cdp-tbody-of-settings a:hover span{color: #429388!important}.cdp-content ::placeholder{color: #ddd!important;opacity: 1}.cdp-content ::-moz-placeholder{color: #ddd!important;opacity: 1}.cdp-content :-moz-placeholder{color: #ddd!important;opacity: 1}.cdp-content ::-webkit-input-placeholder{color: #ddd!important;opacity: 1}.cdp-content ::-ms-input-placeholder{color: #ddd!important;opacity: 1}.cdp-content :-ms-input-placeholder{color: #ddd!important;opacity: 1}.cdp-backup-alert{background: #fcecec;color: black;border-radius: 1px;text-align: center;line-height: 23px;padding: 38px;font-size: 14px;border-radius: 3px}.cdp-delete-btn{margin-top: 10px;border: 0;border-radius: 7px}.cdp-delete-info b{font-weight: 500}.cdp-final-ask{background: #fbe4d4;line-height: 1.9;margin-top: 10px;margin-bottom: 0px;padding: 1px 5px;cursor: default}.cdp-small-btn{border: 0;border-radius: 2px}.cdp-delete-info{background: #e2edf7;text-align: center;padding: 10px;color: black;margin: 0 auto;font-weight: 300;width: 663px!important;height: 33px!important;line-height: 33px}.cdp-intro-image{width: 100%;border-radius: 6px;transition: all .3s;cursor: zoom-in}.cdp-intro-image:hover{-ms-transform: scale(2);-webkit-transform: scale(2);transform: scale(2)}.cdp-intro-img-1:hover{margin-left: calc(6vw + 5px)}.cdp-intro-img-1{background-image: url('../imgs/intro_1.gif');background-position: 41% 61%;background-size: 120% auto}.cdp-intro-img-2{background-image: url('../imgs/intro_2.gif');background-position: 44% 61%;background-size: 120% auto}.cdp-intro-img-3:hover{margin-left: calc(-6vw - 5px)}.cdp-intro-img-3{background-image: url('../imgs/intro_3.gif');background-position: 45% 15%;background-size: 102% auto}.cdp-no-vis{visibility: hidden}.cdp-togglable-name-b{cursor: pointer}.cdp-tooltip-premium-spc-2{margin-bottom: 0;padding-bottom: 0;max-height: 32px}
assets/imgs/intro_3.gif ADDED
Binary file
assets/imgs/redirections.png ADDED
Binary file
assets/js/cdp-icPagination.min.js CHANGED
@@ -1 +1 @@
1
- class IcPagination{constructor(e,s,t){this.options=t,this.table=jQuery(e),this.pagiElem=s,this.itemsOnPage=this.options.itemsOnPage||1,this.table.find('[data-empty-info="true"]').remove(),this.rows=this.loadRows(),this.pages=Math.ceil(this.rows.length/this.itemsOnPage),jQuery(this.pagiElem+"-ilosc-wynikow").text(this.rows.length),!0===this.options.useParams?(this.urlParams=new URLSearchParams(location.search),this.urlParams.has("strona")&&parseInt(this.urlParams.get("strona"))<=this.pages&&parseInt(this.urlParams.get("strona"))>=1?this.selected=parseInt(this.urlParams.get("strona"))-1:this.selected=0):this.selected=0,this.options.emptylist?this.emptylist=this.options.emptylist:this.emptylist="Brak wyników!",this.showElements(),this.generatePagination(),this.handleClicks(),jQuery(".cdp-d-sel-all-con").length>0&&(1==this.pages?jQuery(".cdp-d-sel-all-con").css({visibility:"hidden"}):jQuery(".cdp-d-sel-all-con").css({visibility:""})),0===this.rows.length?(this.table.find('tbody tr[data-ignore="true"]').hide(),this.table.find("tbody").append('<tr data-ignore="true" data-empty-info="true"><td colspan="100%">'+this.emptylist+"</td></tr>")):this.table.find('tbody tr[data-ignore="true"]').hide(),this.pagesStyle();let a=this;jQuery(document).keydown(function(e){if(0==jQuery("input:focus, .cdp-magic-input:focus").length)switch(e.which){case 37:e.preventDefault(),jQuery(a.prevPageElem).parents("li").hasClass("cdp-separator-dis")||a.changePage(a.selected-1);break;case 39:e.preventDefault(),jQuery(a.nextPageElem).parents("li").hasClass("cdp-separator-dis")||a.changePage(a.selected+1)}})}loadRows(){return this.table.find("tbody tr").not('[data-ignore="true"]')}generatePagination(e=!1){e||(jQuery(this.pagiElem).html('<nav class="pagination pagination-pages cdp-center"></nav>'),jQuery(this.pagiElem+" .pagination-pages").append('<li class="pagination-previous cdp-pagi-arrows cdp-no-style cdp-pointer cdp-left"><a class="prev_page">«</a></li>'),jQuery(this.pagiElem+" .pagination-pages").append('<li class="pagination-next cdp-pagi-arrows cdp-no-style cdp-pointer cdp-right"><a class="next_page">»</a></li>'),jQuery(this.pagiElem+" .pagination-pages").append('<ul class="pagination-pages-section pagination-list"><li class="cdp-separator-dis" data-separator="true"><a>···</a></li><li class="cdp-separator-dis" data-separator="true"><a>···</a></li></ul>'),this.prevPageElem=jQuery(this.pagiElem+" .pagination-pages").find("a.prev_page"),this.nextPageElem=jQuery(this.pagiElem+" .pagination-pages").find("a.next_page"),this.dataSeparators=jQuery(this.pagiElem+" .pagination-pages .pagination-pages-section").find('li[data-separator="true"]'),this.dataSeparators.addClass("cdp-hide")),jQuery(this.pagiElem+" .pagination-pages-section").find(".page-btn").remove(),jQuery(jQuery('<li class="page-btn"><a class="page_link pagination-link" data-page="0">1</a></li>')).insertBefore(jQuery(this.dataSeparators[0]));for(let e=1;e<this.pages;e++){let s=jQuery('<li class="page-btn"><a class="page_link pagination-link" data-page="'+e+'">'+(e+1)+"</a></li>");e<2&&this.pages>2?jQuery(s).insertBefore(jQuery(this.dataSeparators[0])):e<this.pages-2?jQuery(s).insertBefore(jQuery(this.dataSeparators[1])):jQuery(this.pagiElem+" .pagination-pages-section").append(jQuery(s))}this.pagesElems=jQuery(this.pagiElem+" .pagination-pages").find(".page-btn")}handleClicks(e=!1){e&&(jQuery(this.prevPageElem).off("click"),jQuery(this.nextPageElem).off("click"),jQuery(this.pagiElem+" .pagination-pages").find("a.page_link").off("click"));var s=this;jQuery(this.pagiElem+" .pagination-pages-section").find('[data-page="'+this.selected+'"]').parents("li").addClass("active is-current").addClass("off-clicks"),jQuery(this.prevPageElem).on("click",function(){jQuery(this).parents("li").hasClass("cdp-separator-dis")||s.changePage(s.selected-1)}),jQuery(this.nextPageElem).on("click",function(){jQuery(this).parents("li").hasClass("cdp-separator-dis")||s.changePage(s.selected+1)}),jQuery(this.pagiElem+" .pagination-pages").find("a.page_link").on("click",function(){s.changePage(jQuery(this).attr("data-page"))})}changePage(e){this.selected=parseInt(e),jQuery(this.pagiElem+" .pagination-pages").find(".active").removeClass("active is-current").removeClass("off-clicks"),jQuery(this.pagiElem+" .pagination-pages").find(`[data-page="${this.selected}"]`).parents("li").addClass("active is-current").addClass("off-clicks"),this.showElements(this.selected),this.pagesStyle(),jQuery(".cdp-d-section").length>0&&"0"!=jQuery("#cdp-d-table-pagi-ilosc-wynikow").text()&&(jQuery(".cdp-not-yet-search").is(":visible")&&(jQuery(".cdp-d-section").css({"max-height":""}),jQuery(".cdp-d-section").css({"max-height":jQuery(".cdp-d-section").height()})),jQuery(".cdp-input-d-id:visible:checked").length==jQuery(".cdp-input-d-id:visible").length?jQuery(".cdp-d-checkbox-all").prop("checked",!0):jQuery(".cdp-d-checkbox-all").prop("checked",!1))}changeUrlParam(e,s){!0===this.options.useParams&&(window.location.href.indexOf("?strona=")>-1?history.pushState({},null,window.location.href.replace(new RegExp(`(${e}=).*`),"jQuery1"+s)):history.pushState({},null,window.location.href+"?"+e+"="+s))}pagesStyle(){let e=this.getPages();if(this.selected+1>e-1?jQuery(this.nextPageElem).parents("li").addClass("cdp-separator-dis").addClass("off-clicks").parents(".right").css({cursor:"not-allowed"}):jQuery(this.nextPageElem).parents("li").removeClass("cdp-separator-dis").removeClass("off-clicks").parents(".right").css({cursor:""}),0===this.selected?jQuery(this.prevPageElem).parents("li").addClass("cdp-separator-dis").addClass("off-clicks").parents(".left").css({cursor:"not-allowed"}):jQuery(this.prevPageElem).parents("li").removeClass("cdp-separator-dis").removeClass("off-clicks").parents(".left").css({cursor:""}),this.pagesElems.hide(),this.pagesElems.eq(0).show(),e>=2){this.pagesElems.eq(-1).show();let s=parseInt(jQuery(this.pagiElem+" .pagination-pages").find(".active a").attr("data-page"));s-1!=-1&&this.pagesElems.eq(s-1).show(),s+1!==e&&this.pagesElems.eq(s+1).show(),this.pagesElems.eq(s).show(),e>3?(this.pagesElems.eq(1).is(":hidden")?jQuery(this.dataSeparators[0]).removeClass("cdp-hide"):jQuery(this.dataSeparators[0]).addClass("cdp-hide"),this.pagesElems.eq(-2).is(":hidden")?jQuery(this.dataSeparators[1]).removeClass("cdp-hide"):jQuery(this.dataSeparators[1]).addClass("cdp-hide")):(jQuery(this.dataSeparators[0]).addClass("cdp-hide"),jQuery(this.dataSeparators[1]).addClass("cdp-hide")),0==this.selected&&jQuery(this.dataSeparators[0]).addClass("cdp-hide")}else jQuery(this.dataSeparators[0]).addClass("cdp-hide"),jQuery(this.dataSeparators[1]).addClass("cdp-hide")}getPages(){return this.pages=Math.ceil(this.rows.length/this.itemsOnPage),Math.ceil(this.rows.length/this.itemsOnPage)}showElements(e=null){jQuery(this.rows).hide(),null!==e&&(this.selected=e);for(let e=this.selected*this.itemsOnPage,s=0;e<this.rows.length&&s<this.itemsOnPage;e++,s++)jQuery(this.rows[e]).show()}refresh(){let e=this.pages,s=this.selected===this.pages-1;this.table.find('[data-empty-info="true"]').remove(),this.rows=this.loadRows(),this.pages=Math.ceil(this.rows.length/this.itemsOnPage),jQuery(".cdp-d-sel-all-con").length>0&&(1==this.pages?jQuery(".cdp-d-sel-all-con").css({visibility:"hidden"}):jQuery(".cdp-d-sel-all-con").css({visibility:""})),this.showElements(this.selected),this.generatePagination(!0),this.handleClicks(!0),this.pagesStyle(),0===this.rows.length?this.firstPage():s&&e>this.pages&&this.lastPage(),0===this.rows.length?(this.table.find('tbody tr[data-ignore="true"]').hide(),this.table.find("tbody").append('<tr data-ignore="true" data-empty-info="true"><td colspan="100%">'+this.emptylist+"</td></tr>")):this.table.find('tbody tr[data-ignore="true"]').hide(),jQuery(this.pagiElem+"-ilosc-wynikow").text(this.rows.length),jQuery(".cdp-d-section").length>0&&"0"!=jQuery("#cdp-d-table-pagi-ilosc-wynikow").text()&&jQuery(".cdp-not-yet-search").is(":visible")&&(jQuery(".cdp-d-section").css({"max-height":""}),jQuery(".cdp-d-section").css({"max-height":jQuery(".cdp-d-section").height()}))}lastPage(){this.changePage(this.pages-1)}firstPage(){this.changePage(0)}changePageSize(e=1){!isNaN(parseInt(e))&&parseInt(e)>=1&&(this.itemsOnPage=parseInt(e),this.refresh())}}
1
+ class IcPagination{constructor(e,s,a){this.options=a,this.table=jQuery(e),this.pagiElem=s,this.itemsOnPage=this.options.itemsOnPage||1,this.table.find('[data-empty-info="true"]').remove(),this.rows=this.loadRows(),this.pages=Math.ceil(this.rows.length/this.itemsOnPage),jQuery(this.pagiElem+"-ilosc-wynikow").text(this.rows.length),!0===this.options.useParams?(this.urlParams=new URLSearchParams(location.search),this.urlParams.has("strona")&&parseInt(this.urlParams.get("strona"))<=this.pages&&parseInt(this.urlParams.get("strona"))>=1?this.selected=parseInt(this.urlParams.get("strona"))-1:this.selected=0):this.selected=0,this.options.emptylist?this.emptylist=this.options.emptylist:this.emptylist="Brak wyników!",this.showElements(),this.generatePagination(),this.handleClicks(),jQuery(".cdp-d-sel-all-con").length>0&&jQuery('[data-box="cdp-tabox-manual"]').hasClass("cdp-tab-active")&&(1==this.pages?jQuery(".cdp-d-sel-all-con").css({visibility:"hidden"}):jQuery(".cdp-d-sel-all-con").css({visibility:""})),0===this.rows.length?(this.table.find('tbody tr[data-ignore="true"]').hide(),this.table.find("tbody").append('<tr data-ignore="true" data-empty-info="true"><td colspan="100%">'+this.emptylist+"</td></tr>")):this.table.find('tbody tr[data-ignore="true"]').hide(),this.pagesStyle();let t=this;jQuery(document).keydown(function(e){if(0==jQuery("input:focus, .cdp-magic-input:focus").length)switch(e.which){case 37:e.preventDefault(),jQuery(t.prevPageElem).parents("li").hasClass("cdp-separator-dis")||t.changePage(t.selected-1);break;case 39:e.preventDefault(),jQuery(t.nextPageElem).parents("li").hasClass("cdp-separator-dis")||t.changePage(t.selected+1)}})}loadRows(){return this.table.find("tbody tr").not('[data-ignore="true"]')}generatePagination(e=!1){e||(jQuery(this.pagiElem).html('<nav class="pagination pagination-pages cdp-center"></nav>'),jQuery(this.pagiElem+" .pagination-pages").append('<li class="pagination-previous cdp-pagi-arrows cdp-no-style cdp-pointer cdp-left"><a class="prev_page">«</a></li>'),jQuery(this.pagiElem+" .pagination-pages").append('<li class="pagination-next cdp-pagi-arrows cdp-no-style cdp-pointer cdp-right"><a class="next_page">»</a></li>'),jQuery(this.pagiElem+" .pagination-pages").append('<ul class="pagination-pages-section pagination-list"><li class="cdp-separator-dis" data-separator="true"><a>···</a></li><li class="cdp-separator-dis" data-separator="true"><a>···</a></li></ul>'),this.prevPageElem=jQuery(this.pagiElem+" .pagination-pages").find("a.prev_page"),this.nextPageElem=jQuery(this.pagiElem+" .pagination-pages").find("a.next_page"),this.dataSeparators=jQuery(this.pagiElem+" .pagination-pages .pagination-pages-section").find('li[data-separator="true"]'),this.dataSeparators.addClass("cdp-hide")),jQuery(this.pagiElem+" .pagination-pages-section").find(".page-btn").remove(),jQuery(jQuery('<li class="page-btn"><a class="page_link pagination-link" data-page="0">1</a></li>')).insertBefore(jQuery(this.dataSeparators[0]));for(let e=1;e<this.pages;e++){let s=jQuery('<li class="page-btn"><a class="page_link pagination-link" data-page="'+e+'">'+(e+1)+"</a></li>");e<2&&this.pages>2?jQuery(s).insertBefore(jQuery(this.dataSeparators[0])):e<this.pages-2?jQuery(s).insertBefore(jQuery(this.dataSeparators[1])):jQuery(this.pagiElem+" .pagination-pages-section").append(jQuery(s))}this.pagesElems=jQuery(this.pagiElem+" .pagination-pages").find(".page-btn")}handleClicks(e=!1){e&&(jQuery(this.prevPageElem).off("click"),jQuery(this.nextPageElem).off("click"),jQuery(this.pagiElem+" .pagination-pages").find("a.page_link").off("click"));var s=this;jQuery(this.pagiElem+" .pagination-pages-section").find('[data-page="'+this.selected+'"]').parents("li").addClass("active is-current").addClass("off-clicks"),jQuery(this.prevPageElem).on("click",function(){jQuery(this).parents("li").hasClass("cdp-separator-dis")||s.changePage(s.selected-1)}),jQuery(this.nextPageElem).on("click",function(){jQuery(this).parents("li").hasClass("cdp-separator-dis")||s.changePage(s.selected+1)}),jQuery(this.pagiElem+" .pagination-pages").find("a.page_link").on("click",function(){s.changePage(jQuery(this).attr("data-page"))})}changePage(e){this.selected=parseInt(e),jQuery(this.pagiElem+" .pagination-pages").find(".active").removeClass("active is-current").removeClass("off-clicks"),jQuery(this.pagiElem+" .pagination-pages").find(`[data-page="${this.selected}"]`).parents("li").addClass("active is-current").addClass("off-clicks"),this.showElements(this.selected),this.pagesStyle(),jQuery(".cdp-d-section").length>0&&"0"!=jQuery("#cdp-d-table-pagi-ilosc-wynikow").text()&&(jQuery(".cdp-not-yet-search").is(":visible")&&(jQuery(".cdp-d-section").css({"max-height":"",height:""}),jQuery(".cdp-d-section").css({"max-height":jQuery(".cdp-d-section").height()})),jQuery(".cdp-input-d-id:visible:checked").length==jQuery(".cdp-input-d-id:visible").length?jQuery(".cdp-d-checkbox-all").prop("checked",!0):jQuery(".cdp-d-checkbox-all").prop("checked",!1))}changeUrlParam(e,s){!0===this.options.useParams&&(window.location.href.indexOf("?strona=")>-1?history.pushState({},null,window.location.href.replace(new RegExp(`(${e}=).*`),"jQuery1"+s)):history.pushState({},null,window.location.href+"?"+e+"="+s))}pagesStyle(){let e=this.getPages();if(this.selected+1>e-1?jQuery(this.nextPageElem).parents("li").addClass("cdp-separator-dis").addClass("off-clicks").parents(".right").css({cursor:"not-allowed"}):jQuery(this.nextPageElem).parents("li").removeClass("cdp-separator-dis").removeClass("off-clicks").parents(".right").css({cursor:""}),0===this.selected?jQuery(this.prevPageElem).parents("li").addClass("cdp-separator-dis").addClass("off-clicks").parents(".left").css({cursor:"not-allowed"}):jQuery(this.prevPageElem).parents("li").removeClass("cdp-separator-dis").removeClass("off-clicks").parents(".left").css({cursor:""}),this.pagesElems.hide(),this.pagesElems.eq(0).show(),e>=2){this.pagesElems.eq(-1).show();let s=parseInt(jQuery(this.pagiElem+" .pagination-pages").find(".active a").attr("data-page"));s-1!=-1&&this.pagesElems.eq(s-1).show(),s+1!==e&&this.pagesElems.eq(s+1).show(),this.pagesElems.eq(s).show(),e>3?(this.pagesElems.eq(1).is(":hidden")?jQuery(this.dataSeparators[0]).removeClass("cdp-hide"):jQuery(this.dataSeparators[0]).addClass("cdp-hide"),this.pagesElems.eq(-2).is(":hidden")?jQuery(this.dataSeparators[1]).removeClass("cdp-hide"):jQuery(this.dataSeparators[1]).addClass("cdp-hide")):(jQuery(this.dataSeparators[0]).addClass("cdp-hide"),jQuery(this.dataSeparators[1]).addClass("cdp-hide")),0==this.selected&&jQuery(this.dataSeparators[0]).addClass("cdp-hide")}else jQuery(this.dataSeparators[0]).addClass("cdp-hide"),jQuery(this.dataSeparators[1]).addClass("cdp-hide")}getPages(){return this.pages=Math.ceil(this.rows.length/this.itemsOnPage),Math.ceil(this.rows.length/this.itemsOnPage)}showElements(e=null){jQuery(this.rows).hide(),null!==e&&(this.selected=e);for(let e=this.selected*this.itemsOnPage,s=0;e<this.rows.length&&s<this.itemsOnPage;e++,s++)jQuery(this.rows[e]).show()}refresh(){let e=this.pages,s=this.selected===this.pages-1;this.table.find('[data-empty-info="true"]').remove(),this.rows=this.loadRows(),this.pages=Math.ceil(this.rows.length/this.itemsOnPage),jQuery(".cdp-d-sel-all-con").length>0&&jQuery('[data-box="cdp-tabox-manual"]').hasClass("cdp-tab-active")&&(1==this.pages?jQuery(".cdp-d-sel-all-con").css({visibility:"hidden"}):jQuery(".cdp-d-sel-all-con").css({visibility:""})),this.showElements(this.selected),this.generatePagination(!0),this.handleClicks(!0),this.pagesStyle(),0===this.rows.length?this.firstPage():s&&e>this.pages&&this.lastPage(),0===this.rows.length?(this.table.find('tbody tr[data-ignore="true"]').hide(),this.table.find("tbody").append('<tr data-ignore="true" data-empty-info="true"><td colspan="100%">'+this.emptylist+"</td></tr>")):this.table.find('tbody tr[data-ignore="true"]').hide(),jQuery(this.pagiElem+"-ilosc-wynikow").text(this.rows.length),jQuery(".cdp-d-section").length>0&&"0"!=jQuery("#cdp-d-table-pagi-ilosc-wynikow").text()&&jQuery(".cdp-not-yet-search").is(":visible")&&(jQuery(".cdp-d-section").css({"max-height":"",height:""}),jQuery(".cdp-d-section").css({"max-height":jQuery(".cdp-d-section").height()}))}lastPage(){this.changePage(this.pages-1)}firstPage(){this.changePage(0)}changePageSize(e=1){!isNaN(parseInt(e))&&parseInt(e)>=1&&(this.itemsOnPage=parseInt(e),this.refresh())}}
assets/js/cdp.min.js CHANGED
@@ -1 +1 @@
1
- function cdp_tooltips_update_content(){if(jQuery("select").niceSelect("update"),!(void 0!==jQuery.cdp&&void 0!==jQuery.cdp.isPremium)||!jQuery.cdp.isPremium()){jQuery(".cdp-premium-in-select").find('.option[data-value="premium"]').addClass("cdp-tooltip-premium disabled"),jQuery(".cdp-option-premium").find('.option[data-value="3"]').addClass("cdp-tooltip-premium disabled"),$prems=jQuery(".cdp-tooltip-premium");for(let t=0;t<$prems.length;t++){let e=$prems[t],o=-15;isNaN(parseInt(jQuery(e).attr("data-top")))||(o=parseInt(jQuery(e).attr("data-top"))),jQuery(e).tooltipster({delay:10,debug:!1,delayTouch:[100,200],interactive:!0,distance:o,side:"top",content:'This feature will come soon as part of the Premium Plugin. You can <a href="https://sellcodes.com/CylMIdJD" target="_blank">pre-order now</a> at a <b>huge discount</b>.',contentAsHTML:!0,maxWidth:290,theme:["tooltipster-noir","tooltipster-noir-customized","cdp-tooltip-premium-css"],repositionOnScroll:!0})}jQuery(".cdp-tooltip-premium-dc").tooltipster({delay:10,debug:!1,delayTouch:[100,200],interactive:!0,distance:3,side:"top",content:'This feature will come soon as part of the Premium Plugin. You can <a href="https://sellcodes.com/CylMIdJD" target="_blank">pre-order now</a> at a <b>huge discount</b>.',contentAsHTML:!0,maxWidth:290,theme:["tooltipster-noir","tooltipster-noir-customized","cdp-tooltip-premium-css"],repositionOnScroll:!0})}}function cdp_totally_know_what_i_am_doing(t){if("really"!=t)return"Are you REALLY sure?";console.log("You're crazy! – Here is the output:");let e=jQuery;e("#cdp-purl").val();e.post(ajaxurl,{action:"cdp_action_handling",token:"cdp",f:"debug_function"}).done(t=>{console.log(t),console.log("–––––––––––––- END OF THE DEBUG OUTPUT –––––––––––––- ")})}jQuery(document).ready(function(t){t("#cdp-purl").val();let e=null,o="default",i=null,c=null,n=null,d=null,p=null;const s=void 0!==t.cdp&&void 0!==t.cdp.isPremium;function a(e=null,o=!1){let i=this;"string"==typeof e&&(i=`.${e}`),0!=o&&(i=o),$parent=t(t(i).parents(".cdp-collapsible")[0]),$arrow=$parent.find(".cdp-arrow"),$body=$parent.find(".cdp-collapsible-content"),$title=$parent.find(".cdp-collapsible-title"),$titles=t(".cdp-collapsible-title"),group=$parent.attr("data-cdp-group"),height=$body.prop("scrollHeight"),$oArrows=t(`.cdp-collapsible[data-cdp-group="${group}"]`).not($parent).find(".cdp-arrow"),$oBodies=t(`.cdp-collapsible[data-cdp-group="${group}"]`).not($parent).find(".cdp-collapsible-content"),$body.hasClass("cdp-active")?($body.removeClass("cdp-active"),$titles.removeClass("cdp-active"),$oBodies.removeClass("cdp-active"),$arrow.removeClass("cdp-arrow-down").addClass("cdp-arrow-left"),$body.css({"max-height":""})):($titles.removeClass("cdp-active"),$body.addClass("cdp-active"),$title.addClass("cdp-active"),$oBodies.removeClass("cdp-active"),$arrow.removeClass("cdp-arrow-left").addClass("cdp-arrow-down"),$oArrows.removeClass("cdp-arrow-down").addClass("cdp-arrow-left"),$body.css({"max-height":`${height+30}px`}),$oBodies.css({"max-height":""}))}function l(){let e=t(".cdp-names-prefix").text(),o=t(".cdp-names-suffix").text(),i={year:(c=new Date).getFullYear(),month:("0"+(c.getMonth()+1)).slice(-2),day:c.getDate()<=9?"0"+c.getDate():c.getDate(),hour:c.getHours()<=9?"0"+c.getHours():c.getHours(),minute:c.getMinutes()<=9?"0"+c.getMinutes():c.getMinutes(),second:c.getSeconds()<=9?"0"+c.getSeconds():c.getSeconds(),week:c.getDay()};var c;let n="(blank)"==t(".cdp-togglable-name-b").text()?"":"(Name of original)",d=`${e.trim()} ${n} ${o.trim()}`;d=d.replace(/\[Counter\]/g,"2");let p=t(".cdp-date-picked").val();"1"==p?d=d.replace(/\[CurrentDate\]/g,`${i.month}/${i.day}/${i.year}`):"2"==p?d=d.replace(/\[CurrentDate\]/g,`${i.day}/${i.month}/${i.year}`):"3"==p&&function(e){let o=t(".cdp-custom-date-picking").val();t.post(ajaxurl,{action:"cdp_action_handling",token:"cdp",f:"get_formatted_time",format:o}).done(t=>{e(t)}).fail(()=>{e(!1)})}(e=>{d=d.replace(/\[CurrentDate\]/g,`${e}`),t(".cdp-example-name").text(d),d=(d=d.replace(/\[CurrentTime\]/g,`${i.hour}:${i.minute}:${i.second}`)).replace(/\s+/gim," "),t(".cdp-example-name").text(d)}),"3"!=p&&(d=(d=d.replace(/\[CurrentTime\]/g,`${i.hour}:${i.minute}:${i.second}`)).replace(/\s+/gim," "),t(".cdp-example-name").text(d))}function r(e=""){before=t(e).html(),text=t(e).html(),$picks=['<div class="cdp-name-box-small cdp-drag" data-cdp-val="0" contenteditable="false"><i class="cdp-novis">[</i>Counter<i class="cdp-novis">]</i></div>','<div class="cdp-name-box-small cdp-drag" data-cdp-val="1" contenteditable="false"><i class="cdp-novis">[</i>CurrentTime<i class="cdp-novis">]</i></div>','<div class="cdp-name-box-small cdp-drag" data-cdp-val="2" contenteditable="false"><i class="cdp-novis">[</i>CurrentDate<i class="cdp-novis">]</i></div>'],text=text.replace(/\[Counter\]/g,$picks[0]),text=text.replace(/\[CurrentDate\]/g,$picks[2]),text=text.replace(/\[CurrentTime\]/g,$picks[1]),text!=before&&t(e).html(text)}function u(){val=t('.cdp-other-options[name="after_copy"]').val(),2==val?t(".cdp-if-edit-page-selected").show(300):t(".cdp-if-edit-page-selected").is(":hidden")||t(".cdp-if-edit-page-selected").hide(300),setTimeout(()=>{jQuery(".cdp-oth-section").css({"max-height":""}),jQuery(".cdp-oth-section").css({"max-height":jQuery(".cdp-oth-section").height()})},310)}function h(i=!1){let c=t(this).attr("data-cdp-btn");1==i&&(c="copy-quick");let n=["copy-quick","copy-custom","copy-custom-link"],d=t(".cdp-modal-checkboxes").find(".cdp-input-dynamic");if(n.includes(c)){let i={type:c};if(c==n[0]){if(i.times=t(".cdp-modal-input-times-tooltip").val(),i.site=t('.cdp-input-dynamic[name="tooltip-which-site-first"]').val(),i.profile=t('.cdp-input-dynamic[name="tooltip-which-profile-first"]').val(),i.swap="2"==t(".cdp-swap").val()?"true":"false",!i.profile||"custom"==i.profile)return t.cdpNotification("warning","Please select settings for this copy."),void b()}else if(c==n[1]||c==n[2]){i.times=t('.cdp-modal-input-times[name="tooltip-which-times-second"]').val(),i.site=t('.cdp-input-dynamic[name="tooltip-which-site-second"]').val(),i.profile=t('.cdp-input-dynamic[name="tooltip-which-profile-second"]').val(),i.swap="2"==t(".cdp-swap").val()?"true":"false",i.custom={};for(let e=0;e<d.length;++e)i.custom[t(d[e]).attr("name")]=t(d[e]).is(":checked")}if(isNaN(parseInt(i.times))||parseInt(i.times)<=0)return void t.cdpNotification("warning","You need to insert positive number for copies.");i.profile&&!["custom","clear","custom_named"].includes(i.profile)||(i.profile=o),L(),function(e=(()=>{})){window.onbeforeunload=(()=>"Copy in progress..."),$e=t(".cdp-copy-loader-overlay"),$e.is(":hidden")&&($e.show(),$e.animate({opacity:1},300,function(){e(!0)}))}(()=>{t.post(ajaxurl,{action:"cdp_action_handling",token:"cdp",f:"copy_post",origin:"tooltip",id:[e],data:i}).done(e=>{b(),t.isJsonString(e)&&(e=t.cdpParse(e)),"error"==e.status?t.cdpNotification("error","Something went wrong and we couldn't copy this post – please try again!"):c==n[2]||void 0!==e.link&&e.link.length>0?"pConv"==e.link?(t.post(ajaxurl,{action:"cdp_action_handling",token:"cdp",f:"delete_success_img"}),"-28"==t(".cdp-copy-alert-success").position().top&&t(".cdp-copy-alert-success").animate({top:"32px",opacity:1},300),setTimeout(()=>{"32"==t(".cdp-copy-alert-success").position().top&&t(".cdp-copy-alert-success").animate({top:"-28px",opacity:0},300)},3e3)):window.location.href=e.link:location.reload()}).fail(e=>{t.cdpNotification("error","Something went wrong and we couldn't copy this post. – See dev console for more info."),b(),console.log(e),console.log(e.responseText)})})}else t.cdpNotification("Couldn't recognize that button, please try again.")}function m(e,i=!1){let c=t('.cdp-input-dynamic[name="tooltip-which-profile-second"]'),n=t(".cdp-modal-checkboxes").find(".cdp-input-dynamic"),d=c.length>1?t(t(c[1])):t(t(c[0]));t(c[1])&&t(c[1])||(null==t(c[1])&&t(c[0])?d=t(t(c[0])):null==t(c[0])&&t(c[1])&&(d=t(t(c[1]))));let p=d.val();0==e&&(p=i),"custom_named"==p?c.val("custom_named"):"custom"==p||null==p||null==p?c.val("custom"):"clear"==p?(0!=e&&e.preventDefault(),n.prop("checked",!1),c.val("custom")):!["clear","custom","custom_named"].includes(p)&&p.length>=1?g(p,function(e){for(let o in e)"object"!=typeof o&&t(`.cdp-input-dynamic[name="${o}"]`).prop("checked",f(e[o]))}):(0!=e&&e.preventDefault(),t.cdpNotification("warning","Unable to recognize selected profile, please try again.")),0==e&&c.val(p),["clear","custom","custom_named"].includes(p)||(o=p),cdp_tooltips_update_content()}function f(t){return"string"==typeof t&&"true"==t.trim().toLowerCase()}function g(e="default",o){t.post(ajaxurl,{action:"cdp_action_handling",token:"cdp",f:"get_settings",profile:e}).done(e=>{if(t.isJsonString(e)&&(e=t.cdpParse(e)),e.status&&"error_no_exists"==e.status){t.cdpNotification("warning","Profile you selected is just empty, please update this profile or use custom settings!");let e={},i=t(".cdp-modal-option-r");for(let o=0;o<i.length;o++)e[t(i[o]).attr("name")]=t(i[o]).is(":checked");o(!1)}else o(e)}).fail(e=>{t.cdpNotification("error","Something went wrong and we couldn't get profile settings. – Check console for more details"),console.log("Copy & Delete Post – Error"),console.log(e),console.log("––––––––––––––––––––––––––"),o(!1)})}function y(){t(this).attr("class");let e=parseInt(t(this).val());e<=0&&(e=1),e>9999&&(e=9999),isNaN(e)&&(e=1),e||(e=1),t(".cdp-modal-input-times").val(e),t(".cdp-modal-input-times-tooltip").val(e),e>50?(t(".cdp-error-span-tooltip").show(300),t(".cdp-tooltip-before").attr("style","height: calc(225px - 20px - 16px) !important")):(t(".cdp-error-span-tooltip").hide(300),t(".cdp-tooltip-before").attr("style","")),e>1?(t(".cdp-multiple-tooltip-count").animate({opacity:1},200),t('.cdp-tooltip-btn-copy[data-cdp-btn="copy-custom-link"]').hide()):(t(".cdp-multiple-tooltip-count").animate({opacity:0},200),t('.cdp-tooltip-btn-copy[data-cdp-btn="copy-custom-link"]').show()),setTimeout(()=>{A()},310)}function b(e=(()=>{})){window.onbeforeunload=null,$e=t(".cdp-copy-loader-overlay"),$e.is(":hidden")||$e.animate({opacity:0},300,function(){$e.hide(),e(!0)})}function v(){let e=t(".cdp-profile-selected").val();var o,i;g(e,c=>{if(t.isJsonString(c)||"object"==typeof c){"object"!=typeof c&&(c=JSON.parse(c));let n=["usmplugin","yoast"];for(k in c)"names"==k?(t(".cdp-names-prefix").html(c[k].prefix),t(".cdp-names-suffix").html(c[k].suffix),"3"!=c[k].format||s||(c[k].format="1"),t(".cdp-date-picked").val(c[k].format),t(".cdp-custom-date-picking").val(c[k].custom)):(!n.includes(k)||n.includes(k)&&s&&t.cdp.isPremium())&&t(`.cdp-data-set[data-cdp-opt="${k}"]`).prop("checked","true"==c[k]);cdp_tooltips_update_content(),l(),u(),s&&t.cdp.isPremium()&&t.cdp.premium.detectChangeOfCustom(),_(),r(".cdp-names-prefix"),r(".cdp-names-suffix"),o=e,i=(()=>{}),t.post(ajaxurl,{action:"cdp_action_handling",token:"cdp",f:"set_default_profile",selection:o}).done(t=>{i(t)}).fail(()=>{i(!1)})}else t.cdpNotification("warning","There was an error while getting data from server, please try again.")})}function x(){if("0"==t("#cdp-d-table-pagi-ilosc-wynikow").text())return;let e=t(".cdp-input-d-id").length,o=t(".cdp-input-d-id:checked").length;o==e?t(".cdp-d-select-all").text("Deselect all"):t(".cdp-d-select-all").text("Select all"),t(".cdp-t-d-ct").text(o),$visible=t(".cdp-input-d-id:visible").length,$visible_checked=t(".cdp-input-d-id:checked:visible").length,$visible==$visible_checked?t(".cdp-d-checkbox-all").prop("checked",!0):t(".cdp-d-checkbox-all").prop("checked",!1),function(){let e=t(".cdp-input-d-id").parents("tr"),o=t(".cdp-input-d-id:checked").parents("tr");e.removeClass("cdp-del"),o.addClass("cdp-del")}()}function w(e){t.post(ajaxurl,{action:"cdp_action_handling",token:"cdp",f:"give_me_current_tasks"}).done(o=>{t.isJsonString(o)&&(o=t.cdpParse(o)),"success"==o.status&&e(o.tasks)})}function $(e){let o=0,i=+new Date/1e3,c=t(".cdp-dd-item");for(let i=0;i<c.length;++i){e[t(c[i]).attr("data-token")]||t(c[i]).remove(),o++}for(task in e){let c=e[task],n=t(t(`.cdp-dd-item[data-token="${task}"]`)[0]);if(0==c.done){if(n.hasClass("cdp-dd-ud"))continue;{n.remove();let e=i-c.done>=86400;t(".cdp-dd-undone-list").append(D(c.shown,task,e,c.f)),o++}}else{if(n.hasClass("cdp-dd-d"))continue;n.remove(),t(".cdp-dd-done-list").append(P(c.shown,task,c.f)),o++}}(o>0||0==c.length)&&function(){let e=t(".cdp-dd-item").length,o=t(".cdp-dd-d").length,i=t(".cdp-dd-ud").length;o<=0?(t(".cdp-done-notis, .cdp-done-notis").addClass("cdp-noti-hide"),t(".cdp-done-hr").hide()):(t(".cdp-done-notis, .cdp-done-notis").removeClass("cdp-noti-hide"),t(".cdp-done-hr").show()),i<=0?(t(".cdp-undone-notis, .cdp-undone-notis").addClass("cdp-noti-hide"),t(".cdp-undone-hr").hide()):(t(".cdp-undone-notis, .cdp-undone-notis").removeClass("cdp-noti-hide"),t(".cdp-undone-hr").show()),e<=0?t(".cdp-admin-bar-noti").addClass("cdp-noti-hide"):t(".cdp-admin-bar-noti").removeClass("cdp-noti-hide"),t(".cdp-notis-counter").text(t(".cdp-bnew-notis").length)}()}function _(){$trs=t(".cdp-table tbody.cdp-ff-b1").find("tr");for(let e=0;e<$trs.length;e++){let o=t($trs[e]);o.find("input").is(":checked")?o.addClass("cdp-selected-tr-opt"):o.removeClass("cdp-selected-tr-opt")}}function C(e){if(t(".cdp-modal").is(":visible"))return;let o=window;0!=t("#wpbody").scrollTop()&&(o="#wpbody");let i=t(o).scrollTop()+2;i<=0&&(i=2),"click"!=e.type&&t(".nice-select, .nice-select .list").css({transition:"all 0s"}),t(".nice-select .list").css({"margin-top":`${-i}px`}),clearTimeout(d),d=setTimeout(()=>{t(".nice-select .list").css({transition:""})},100),clearTimeout(n),n=setTimeout(()=>{let i=t(o).scrollTop()+2;i<=0&&(i=2),"click"!=e.type&&t(".nice-select .list").css({transition:"all 0s !important"}),t(".nice-select .list").css({"margin-top":`${-i}px`}),clearTimeout(d),d=setTimeout(()=>{t(".nice-select .list").css({transition:""})},100)},100)}function T(){let e=t('.cdp-d-option[name="cdp-d-b-title"]').is(":checked"),o=t('.cdp-d-option[name="cdp-d-b-slug"]').is(":checked");e||o?t(".cdp-no-empty-text").html("<b>including</b> empty"):t(".cdp-no-empty-text").html("only if <u><b>not</b></u> empty")}function j(e){e.preventDefault(),$parent=t(this).parents(".cdp-collapsible"),$col=t(t($parent[0]).find(".cdp-collapsible-title")[0]),a("true",$col)}t(".cdp-intro-button").on("click",function(){let e=t(".cdp-intro").height();t(".cdp-intro").css({height:e+"px"}),t(".cdp-intro").animate({opacity:0,height:0},300,function(){t(".cdp-intro").hide(10),t("#cdp-never-intro").is(":checked")&&t.post(ajaxurl,{action:"cdp_action_handling",token:"cdp",f:"no_intro"}).done(e=>{"error"==e&&t.cdpNotification("error","Something went wrong and we couldn't save intro settings!")}).fail(e=>{t.cdpNotification("error","Something went wrong and we couldn't save intro settings.")})}),t(".cdp-s-i-a").show(),t(".cdp-s-i-a").animate({opacity:1},300)}),t(".cdp-save-options").on("click",function(){let e=t(".cdp-data-set"),o=t(".cdp-other-inputs"),i=t(".cdp-profile-selected").val(),c=t(".cdp-names-prefix").text().replace(/\s+/g," ").trim(),n=t(".cdp-names-suffix").text().replace(/\s+/g," ").trim(),d={names:{prefix:c,suffix:n,format:t(".cdp-date-picked").val(),custom:t(".cdp-custom-date-picking").val(),display:t(t(`option[value="${t(".cdp-profile-selected").val()}"]`)[0]).text()}},p={afterCopy:t('.cdp-other-options[name="after_copy"]').val(),postConverter:t('.cdp-other-options[name="post_converter"]').val(),others:{}},s={},a=t(".cdp-other-roles");for(let e=0;e<a.length;e++)s[t(a[e]).attr("name")]=t(a[e]).is(":checked");p.roles=s;for(let o=0;o<e.length;o++)d[t(e[o]).attr("data-cdp-opt")]=!!t(e[o]).is(":checked");for(let e=0;e<o.length;e++)p.others[t(o[e]).attr("name")]=!!t(o[e]).is(":checked");t.post(ajaxurl,{action:"cdp_action_handling",token:"cdp",f:"save_options",options:d,profile:i,entire:p}).done(e=>{"success"==e?t.cdpNotification("success","All your settings were saved!",2e3):"error"==e?t.cdpNotification("error","Something went wrong and we couldn't save your settings."):t.cdpNotification("success","All your settings were saved!",2e3)}).fail(e=>{t.cdpNotification("error","Something went wrong and we couldn't save your settings. – Please check console for more info."),console.log(e)})}),t("#cdp-show-into-again").on("click",function(){t.post(ajaxurl,{action:"cdp_action_handling",token:"cdp",f:"intro_again"}).done(e=>{"error"==e&&t.cdpNotification("error","Something went wrong and we couldn't update intro settings – try again!")}).fail(e=>{t.cdpNotification("error","Something went wrong and we couldn't update intro settings. – Please check console for more info.")}),t(".cdp-s-i-a").animate({opacity:0},300,function(){t(".cdp-s-i-a").hide()}),function(){t(".cdp-intro").show().css({height:""});let e=t(".cdp-intro").height();t(".cdp-intro").css({height:"0px"}),t(".cdp-intro").animate({opacity:1,height:e+"px"},300,function(){})}()}),t(".cdp-show-projects").on("click",function(){t(".cdp-projects").is(":hidden")&&t(".cdp-projects").show(300);t(".cdp-show-projects").removeClass("cdp-pointer").animate({opacity:.5},300)}),t(".cdp-project-box").on("mouseenter",function(){t(".cdp-project-box").not(t(this)).addClass("cdp-half-opacity")}),t(".cdp-project-box").on("mouseleave",function(){t(".cdp-project-box").removeClass("cdp-half-opacity")}),t(".cdp-collapsible-title").on("click",a),t(".cdp-magic-input").on("keyup change",function(){before=t(this).html(),text=t(this).html(),$picks=['<div class="cdp-name-box-small cdp-drag" data-cdp-val="0" contenteditable="false"><i class="cdp-novis">[</i>Counter<i class="cdp-novis">]</i></div>','<div class="cdp-name-box-small cdp-drag" data-cdp-val="1" contenteditable="false"><i class="cdp-novis">[</i>CurrentTime<i class="cdp-novis">]</i></div>','<div class="cdp-name-box-small cdp-drag" data-cdp-val="2" contenteditable="false"><i class="cdp-novis">[</i>CurrentDate<i class="cdp-novis">]</i></div>'],text=text.replace(/\[Counter\]/g,$picks[0]),text=text.replace(/\[CurrentDate\]/g,$picks[2]),text=text.replace(/\[CurrentTime\]/g,$picks[1]),text!=before&&t(this).html(text)}),t(".cdp-magic-input").on("focus",function(e,o){if(o)return;let i=t(this).text();" "!=i[0]&&(i="&nbsp;"+i);" "!=i[i.length-1]&&(i+="&nbsp;");t(this).html(i),r(this)}),t(".cdp-magic-input").on("mouseup",".cdp-name-box-small",function(){t(this).hide(300),setTimeout(()=>{t(this).remove(),l()},300)}),t(".cdp-support-animated").on("mouseenter",function(){t(".cdp-support-animated").not(t(this)).addClass("cdp-half-opacity")}),t(".cdp-name-clickable").on("mouseup",function(e){if(e.preventDefault(),$picks=['<div class="cdp-name-box-small cdp-drag" data-cdp-val="0" contenteditable="false"><i class="cdp-novis">[</i>Counter<i class="cdp-novis">]</i></div>','<div class="cdp-name-box-small cdp-drag" data-cdp-val="1" contenteditable="false"><i class="cdp-novis">[</i>CurrentTime<i class="cdp-novis">]</i></div>','<div class="cdp-name-box-small cdp-drag" data-cdp-val="2" contenteditable="false"><i class="cdp-novis">[</i>CurrentDate<i class="cdp-novis">]</i></div>'],$box={1:".cdp-names-prefix",2:".cdp-names-real-input",3:".cdp-names-suffix"},t($box[e.which]).append($picks[t(this).attr("data-cdp-val")]),l(),e.which==e)return!1}),t(".cdp-support-animated").on("mouseleave",function(){t(".cdp-support-animated").removeClass("cdp-half-opacity")}),t("body").on("change keyup",".cdp-input-dynamic",function(){$input=t(t(".cdp-tooltip-content, .cdp-modal-content").find(`[name="${t(this).attr("name")}"]`)),"checkbox"==t(this).attr("type")?$input.prop("checked",t(this).is(":checked")):t($input).is("select")?($input.val(t(this).val()),t($input).hasClass("cdp-modal-input-profiles-r")&&m(!1,t(this).val())):$input.val(t(this).val());cdp_tooltips_update_content()}),t(".cdp-names-real-input, .cdp-date-picked").on("keyup change",l),t('.cdp-other-options[name="after_copy"]').on("change",u),t("body").on("click",".cdp-tooltip-before-button",function(){let e=t('.cdp-input-dynamic[name="tooltip-which-profile-first"]').val();"custom"!=e&&m(!1,e);t(".cdp-tooltip-before-options").hide(200),setTimeout(()=>{t(".cdp-tooltip-full-options").show(200),setTimeout(()=>{A()},200)},200)}),t("body").on("click",".cdp-tooltip-btn-copy",h),t("body").on("change",'.cdp-input-dynamic[name="tooltip-which-profile-second"]',m),t("body").on("change",'.cdp-input-dynamic[name="tooltip-which-profile-first"]',function(){m(!1,t(this).val())}),t("body").on("change",".cdp-modal-checkboxes .cdp-input-dynamic",function(){t('.cdp-input-dynamic[name="tooltip-which-profile-second"]').val("custom_named"),cdp_tooltips_update_content(),m(!1,"custom_named")}),t("body").on("change",".cdp-modal-input-times-tooltip",y),t("body").on("change",".cdp-modal-input-times",y),t("body").on("click",".cdp-modal-times, .cdp-modal",t.cdpModalClose),t("body").on("click",".cdp-modal-open",t.cdpModal),t("body").on("change",".cdp-profile-selected",v),t("body").on("click",".cdp-show-more-d-title",function(e){e.preventDefault(),t(".cdp-d-section").css({"max-height":""}),t(".cdp-more-d-title").is(":hidden")?(t(".cdp-more-d-title").show(300),t(this).text("(hide more options)")):(t(".cdp-more-d-title").hide(300),t(this).text("(show more options)"));setTimeout(()=>{t(".cdp-d-section").css({"max-height":t(".cdp-d-section").height()})},310)}),t("body").on("change",".cdp-d-first-chapter-cb",function(){t(".cdp-d-section").css({"max-height":""});let e=t('.cdp-d-option[name="cdp-d-a-posts"]').is(":checked")+0,o=t('.cdp-d-option[name="cdp-d-a-pages"]').is(":checked")+0,i=t('.cdp-d-option[name="cdp-d-a-customs"]').is(":checked")+0;e+o+i>1?t(".cdp-d-option-select-parent").show(300):t(".cdp-d-option-select-parent").hide(300);setTimeout(()=>{t(".cdp-d-section").css({"max-height":t(".cdp-d-section").height()})},310)}),t("body").on("click",".cdp-d-search",function(){let e=t('.cdp-d-option[name="cdp-d-a-posts"]').is(":checked")?1:0,o=t('.cdp-d-option[name="cdp-d-a-pages"]').is(":checked")?1:0,n=t('.cdp-d-option[name="cdp-d-a-customs"]').is(":checked")?1:0;e+o+n<=0?t.cdpNotification("error","Please, check for: which duplicates you are looking for"):null==c?function(e=function(){}){t.post(ajaxurl,{action:"cdp_action_handling",token:"cdp",f:"get_all_posts"}).done(o=>{t.isJsonString(o)&&(o=t.cdpParse(o)),e(o)}).fail(o=>{t.cdpNotification("error","Something went wrong and we couldn't get post list. – Please check console for more info."),console.log(o),e(!1)})}(t=>{0!=t&&p(t)}):p(c);function d(t,e){let o=parseInt(e[e.length-1]);for(let i=e.length;i>=0&&(o=parseInt(e[i-1]),ext=!1,t.posts.findIndex(t=>t.ID==o)>=0?ext=!0:t.pages.findIndex(t=>t.ID==o)>=0?ext=!0:t.custom.findIndex(t=>t.ID==o)>=0?ext=!0:o=!1,1!=ext);--i);return o}function p(e){let o={posts:[],pages:[],custom:[]},n={},p={};null!=c&&(o=c);let l=!!t('.cdp-d-option[name="cdp-d-a-posts"]').is(":checked"),r=!!t('.cdp-d-option[name="cdp-d-a-pages"]').is(":checked"),u=!!t('.cdp-d-option[name="cdp-d-a-customs"]').is(":checked"),h=!!t('.cdp-d-option[name="cdp-d-b-title"]').is(":checked"),m=!!t('.cdp-d-option[name="cdp-d-b-slug"]').is(":checked"),f=!!t('.cdp-d-option[name="cdp-d-c-excerpt"]').is(":checked"),g=!!t('.cdp-d-option[name="cdp-d-c-count"]').is(":checked"),y=t('.cdp-d-option-select[name="cdp-d-d-sel-which"]').val(),b=null,v=null;if(l+r+u>1&&(b=t('.cdp-d-option-select[name="cdp-d-sels-diftyp"]').val()),1==h&&(v="1"==t('.cdp-d-option[name="cdp-radio-btn-dtitles"]:checked').val()),null==c)for(post_type in e)if("meta"!=post_type)for(post in e[post_type]){post=e[post_type][post],post.post_type=post.post_type[0].toUpperCase()+post.post_type.slice(1);let t=e.meta[post.ID]._cdp_origin,i=e.meta[post.ID]._cdp_counter,c={id:post.ID,url:post.guid,slug:post.post_name,type:post.post_type,date:post.post_date,title:post.post_title,edit:post.post_modified,excerpt:post.post_excerpt,words:a(s(post.post_content)),origin:"object"==typeof t&&d(e,t),counter:"object"==typeof i&&i[i.length-1]};if(1301==c.id&&console.log(c,t),"object"==typeof t){let e=parseInt(t[t.length-1]);void 0===p[e]?p[e]=1:p[e]++}o[post_type].push(c)}o=function(t){let e=JSON.parse(JSON.stringify(t));return e.posts.sort((t,e)=>!1===t.origin?-1:!1===e.origin?1:0),e.pages.sort((t,e)=>!1===t.origin?-1:!1===e.origin?1:0),e.custom.sort((t,e)=>!1===t.origin?-1:!1===e.origin?1:0),e}(o),null==c&&(c=o);let k=[],w=[];if("2"==b){let t=[],e=[],i=[];1==l&&(t=o.posts),1==r&&(e=o.pages),1==u&&(i=o.custom),k=(k=[].concat(t,e,i)).sort((t,e)=>t.id<e.id?-1:t.id>e.id?1:0),w=$(k)}else{let t=[],e=[],i=[];o.posts=o.posts.sort((t,e)=>t.id<e.id?-1:t.id>e.id?1:0),1==l&&(t=$(o.posts)),o.pages=o.pages.sort((t,e)=>t.id<e.id?-1:t.id>e.id?1:0),1==r&&(e=$(o.pages)),o.custom=o.custom.sort((t,e)=>t.id<e.id?-1:t.id>e.id?1:0),1==u&&(i=$(o.custom)),w=[].concat(t,e,i)}function $(t){let e=[],o=[],i=!(h||m||f||g);if(!t)return e;for(let e=0;e<t.length;e++){let n=t[e];if(!o.includes(n.id))for(let d=i?0:e;d<t.length;d++){if(!t[d])continue;if(o.includes(t[d].id))continue;if(d==e)continue;let p=1==h&&(n.title==t[d].title||1==v&&n.id==t[d].origin&&t[d].date==t[d].edit),s=1==m&&I(n.slug,t[d].slug)>=.85,a=!1;a=1==p||1==s?1==f&&(""==n.excerpt||n.excerpt==t[d].excerpt):1==f&&""!=n.excerpt&&n.excerpt==t[d].excerpt;let l=1==g&&n.words==t[d].words,r=1==i&&n.id==t[d].origin&&t.findIndex(e=>e.origin==t[d].id)<=-1;!p&&h||!s&&m||!a&&f||!l&&g||!r&&i||(c(n,!0,!1),c(t[d],!1,n.id))}}function c(t,i=!1,c=!1){o.includes(t.id)||(1==i?n[t.id]=[]:0!=c&&n[c].push(t.id),o.push(t.id),e.push(t))}return e}for(post in $tbody=t("#cdp-d-table-tbody"),$tbody.html(""),w)$tbody.append((_=w[post],t(`<tr data-id="${_.id}">\n <td><input type="checkbox" id="cdp_in_${_.id}" class="cdp-input-d-id" name="${_.id}"/></td>\n <td><label for="cdp_in_${_.id}">${_.title}</label></td>\n <td><a href="${_.url}" target="_blank">${""!=_.slug?_.slug:_.url}</a></td>\n <td>${_.type}</td>\n <td>${_.date.slice(0,-8)}</td>\n <td>${_.words}</td>\n </tr>`)));var _;if("1"==y)for(parent in n)for(child in n[parent])t(`.cdp-input-d-id[name="${n[parent][child]}"]`).prop("checked",!0);else if("2"==y)for(parent in n){t(`.cdp-input-d-id[name="${parent}"]`).prop("checked",!0);let e=Math.max(...n[parent]);for(child in n[parent])n[parent][child]!=e&&t(`.cdp-input-d-id[name="${n[parent][child]}"]`).prop("checked",!0)}else"3"==y&&t(".cdp-input-d-id").prop("checked",!0);let C=!(h||m||f||g),T=t('.cdp-d-option[name="cdp-d-a-posts"]').is(":checked")+0,j=t('.cdp-d-option[name="cdp-d-a-pages"]').is(":checked")+0,D=t('.cdp-d-option[name="cdp-d-a-customs"]').is(":checked")+0;C&&T+j+D>0&&w.length>0?(t("#cdp-d-table-tbody").find("tr").attr("data-ignore",!0),i.refresh(),t(".cdp-delete-info").hide(300),t('[data-empty-info="true"]').find("div").html('You did not select any filter.<br>Click <a href="#" class="cdp-show-the-copies">here</a> to show all copies (of the selected post type) made by this plugin.'),t('[data-empty-info="true"]').addClass("cdp-customized")):i.refresh(),t(".cdp-d-searchbox-c").val(""),x(),0==w.length?(t.cdpNotification("warning","No posts/pages meeting the current filter conditions."),t(".cdp-delete-info").hide(300)):t(".cdp-not-yet-search").is(":visible")||(t(".cdp-d-section").css({"max-height":""}),t(".cdp-not-yet-search").show(300),t('[data-empty-info="true"]').hasClass("cdp-customized")||t(".cdp-delete-info").show(300),setTimeout(()=>{t(".cdp-d-section").css({"max-height":""}),t(".cdp-d-section").css({"max-height":`${t(".cdp-d-section").height()}px`})},320))}function s(t){return(t=(t=(t=t.replace(/\<\!\-\-(.*?)\-\-\>/gim,"")).replace(/<[^>]*>/gim," ")).replace(/\s+/gim," ")).trim()}function a(t){return(t=t.split(" ")).length}}),t("body").on("change",".cdp-input-d-id",function(){if("0"==t("#cdp-d-table-pagi-ilosc-wynikow").text())return;let e=parseInt(t("#cdp-d-table-pagi-ilosc-wynikow").text()),o=parseInt(t(".cdp-t-d-ct").text());t(this).is(":checked")?(o++,t(this).parents("tr").addClass("cdp-del")):(o--,t(this).parents("tr").removeClass("cdp-del"));if(t(".cdp-t-d-ct").text(o),o==e)t(".cdp-d-select-all").text("Deselect all"),t(".cdp-d-checkbox-all").prop("checked",!0);else{t(".cdp-d-select-all").text("Select all");let e=t(".cdp-input-d-id:visible");for(let o=0;o<e.length;++o){if(!t(e[o]).is(":checked")){t(".cdp-d-checkbox-all").prop("checked",!1);break}o==e.length-1&&t(".cdp-d-checkbox-all").prop("checked",!0)}}}),t("body").on("change",".cdp-d-checkbox-all",function(e){if("0"==t("#cdp-d-table-pagi-ilosc-wynikow").text())return e.preventDefault(),void t(this).prop("checked",!1);let o=parseInt(t("#cdp-d-table-pagi-ilosc-wynikow").text()),i=t(".cdp-d-checkbox-all").is(":checked"),c=t(".cdp-input-d-id:visible"),n=0;for(let e=0;e<c.length;++e)t(c[e]).is(":checked")&&!i?n--:!t(c[e]).is(":checked")&&i&&n++,t(c[e]).prop("checked",i);let d=parseInt(t(".cdp-t-d-ct").text())+n;t(".cdp-t-d-ct").text(d),d==o?t(".cdp-d-select-all").text("Deselect all"):t(".cdp-d-select-all").text("Select all");let p=t(".cdp-input-d-id:visible").parents("tr"),s=t(".cdp-input-d-id:visible:checked").parents("tr");p.removeClass("cdp-del"),s.addClass("cdp-del")}),t("body").on("click",".cdp-d-select-all",function(){if("0"==t("#cdp-d-table-pagi-ilosc-wynikow").text())return;let e=parseInt(t("#cdp-d-table-pagi-ilosc-wynikow").text()),o=parseInt(t(".cdp-t-d-ct").text()),i=!0;e==o&&(i=!1);$chbs=t(".cdp-input-d-id");for(let e=0;e<$chbs.length;++e)t($chbs[e]).prop("checked",i);t(".cdp-t-d-ct").text(1==i?e:"0"),0==i?(t(".cdp-d-select-all").text("Select all"),t(".cdp-d-checkbox-all").prop("checked",!1),t(".cdp-input-d-id").parents("tr").removeClass("cdp-del")):(t(".cdp-d-checkbox-all").prop("checked",!0),t(".cdp-d-select-all").text("Deselect all"),t(".cdp-input-d-id").parents("tr").addClass("cdp-del"))}),t("body").on("click",".prev_page, .next_page, .page_link",function(){if("0"==t("#cdp-d-table-pagi-ilosc-wynikow").text())return;t(".cdp-input-d-id:visible:checked").length==t(".cdp-input-d-id:visible").length?t(".cdp-d-checkbox-all").prop("checked",!0):t(".cdp-d-checkbox-all").prop("checked",!1)}),t("body").on("click",".cdp-d-real-delete",function e(o=!1,n=null,d=0){if(!t(".cdp-d-just-check-it").is(":checked"))return void t.cdpNotification("warning","Please check that you completed all steps, before this task!");let p=[];if(null===n){let e=t(".cdp-input-d-id:checked");for(let o=0;o<e.length;++o)p.push(parseInt(t(e[o]).attr("name")));if(0==p.length)return void t.cdpNotification("warning","Nothing to do here, please select at least one post to delete.")}else p=n;let s=t(".cdp-d-throttling").val(),l=t(".cdp-d-throttling-count").val(),r=t(".cdp-p-redirections").val(),u=!!t(".cdp-p-just-trash-them").is(":checked");if("1"==s&&(!l||0==l||""==l))return void t.cdpNotification("warning","You have wrong count in throttling field, please fix.");if(p.length>801&&!0!==o){let t=Math.ceil(p.length/800);for(let o=0,i=!0;o<t;++o)o==t-1&&(i=!1),e(i,p.slice(800*o,800*o+800),o);return}t.post(ajaxurl,{action:"cdp_action_handling",token:"cdp",f:"delete_them",ids:p,throttling:s,thc:l,redi:r,thrs:u}).done(e=>{if(t.isJsonString(e)&&(e=t.cdpParse(e)),"success"==e.status){t("#cdp-d-table-tbody").find(".cdp-del").remove();let e=c.posts.filter(t=>!p.includes(t.id)),n=c.pages.filter(t=>!p.includes(t.id)),s=c.custom.filter(t=>!p.includes(t.id));c={posts:e,pages:n,custom:s},!0!==o&&i.refresh(),x(),0==d&&t.cdpNotification("success","Deletion process started, you can close this page now and wait till the process ends!"),w($),!0!==o&&($parent=t(".cdp-d-section").parents(".cdp-collapsible"),$col=t(t($parent[0]).find(".cdp-collapsible-title")[0]),a("true",$col))}else!0!==o&&t.cdpNotification("error",`Something went wrong and we couldn't setup the deletion task. ${"1"==s?"– Please try without throttling.":""}`)}).fail(e=>{!0!==o&&t.cdpNotification("error","Something went wrong and we couldn't setup the deletion task. – Please check console for more info."),console.log(e)})}),t("body").on("change",".cdp-d-throttling",function(){t(".cdp-d-section").css({"max-height":""}),"1"==t(this).val()?t(".cdp-d-throttling-count-p, .cdp-even-more-th-info").show(300):t(".cdp-d-throttling-count-p, .cdp-even-more-th-info").hide(300);setTimeout(()=>{t(".cdp-d-section").css({"max-height":t(".cdp-d-section").height()})},310)}),t("body").on("change",".cdp-d-throttling-count",function(){let e=parseInt(t(this).val());isNaN(e)?t(this).val(1):e>=1&&e<=10240?e>=1&&e<=1&&t(this).val(1):e<1?t(this).val(1):t(this).val(10240)}),t("body").on("change",".cdp-custom-date-picking",l),t("body").on("mouseover",".cdp-tooltip-copy",function(){t(this).hasClass("tooltipstered")||(t(this).tooltipster({delay:100,timer:400,debug:!1,delayTouch:[100,200],interactive:!0,distance:4,side:"bottom",contentAsHTML:!0,content:t(".cdp-tooltip-content").html(),repositionOnScroll:!0,selfDestruction:!1,trigger:"custom",triggerOpen:{mouseenter:!0,touchstart:!0},triggerClose:{mouseleave:!0,click:!0,tap:!0},functionBefore:S,functionReady:N,functionAfter:Q,functionFormat:M}),t(this).tooltipster("open"))}),t("body").on("keyup",".cdp-d-searchbox-c",function(){if(t('[data-empty-info="true"].cdp-customized').length>0)return;let e=t(this).val();e.length>100&&(e=e.substr(0,100));if(e=(e=e.trim().replace(/\s+/gim," ").toLowerCase()).split(" "),$trs=t("#cdp-d-table-tbody").find("tr"),$trs.length<=0)return;$trs.removeAttr("data-ignore");for(let o=0;o<$trs.length;++o){$tr=t($trs[o]),$title=t($tr.find("td")[1]).text().toLowerCase(),$url=t($tr.find("td")[2]).text().toLowerCase();let i=!1;for(let t=0;t<e.length;++t)if($title.includes(e[t]))i=!0;else{if(!$url.includes(e[t])){i=!1;break}i=!0}0==i&&$tr.attr("data-ignore","true")}clearTimeout(p),p=setTimeout(()=>{i.refresh()},20)}),t("body").on("change",".cdp-data-set",_),t("#wpbody").on("scroll",C),t(window).on("scroll",C),t("body").on("click",".nice-select",C),t("body").on("click",".cdp-show-the-copies",function(e){e.preventDefault(),t("#cdp-d-table-tbody").find("tr").not('[data-empty-info="true"]').removeAttr("data-ignore"),t(".cdp-d-searchbox-c").val(""),i.refresh(),x(),t('[data-empty-info="true"]').addClass("cdp-customized"),parseInt(t("#cdp-d-table-pagi-ilosc-wynikow").text())>0?t(".cdp-delete-info").show(300):console.log(parseInt(t("#cdp-d-table-pagi-ilosc-wynikow").text()))}),t("body").on("change",".cdp-per-page-select-show",function(){let e=t(this).val();i.changePageSize(e)}),t("body").on("change",'.cdp-d-option[name="cdp-d-b-title"]',T),t("body").on("change",'.cdp-d-option[name="cdp-d-b-slug"]',T),t("body").on("click",".cdp-tab-element",function(){if(t(this).hasClass("cdp-tab-active"))return;if("true"==t(this).attr("data-disabled"))return;let e=t(t(`#${t(this).attr("data-box")}`)[0]),o=t(t(`#${t(".cdp-tab-active").attr("data-box")}`)[0]);if(!e||e.length<=0)return;t(".cdp-tab-active").removeClass("cdp-tab-active"),t(this).addClass("cdp-tab-active"),t(".cdp-d-section").css({height:"","max-height":""}),o.css({"max-height":o.height()+"px",opacity:1}),o.animate({"max-height":"0px",opacity:0},500,function(){o.hide()}),e.show(),e.css({"max-height":"",height:""});let i=e.height();e.css({"max-height":"0px",opacity:0}),e.animate({"max-height":i+"px",opacity:1},500,function(){let e=t(".cdp-d-section").height();t(".cdp-d-section").css({height:e+"px","max-height":e+"px"})});let c=parseInt(t(window).height()/8);t("#wpbody").animate({scrollTop:t(".cdp-d-section").offset().top-c},500)}),t("body").on("click",".cdp-premium-element",function(t){t.preventDefault()}),t("body").on("click",".cdp-go-to-names-chapter",function(e){e.preventDefault(),L(),a("cdp-name-section-cnx"),setTimeout(()=>{let e=parseInt(t(window).height()/4);t("#wpbody").animate({scrollTop:t(".cdp-name-section-cnx").offset().top-e},500)},400)}),t("body").on("click",".cdp-close-chapter",j),t("body").on("click",".cdp-save-options",j),t("body").on("click",".cdp-togglable-name-b",function(){"(Name of original)"==t(".cdp-togglable-name-b").text()?(t(".cdp-togglable-name-b").text("(blank)"),t(".cdp-togglable-name-b").tooltipster("content","Change it to (Name of original)")):(t(".cdp-togglable-name-b").text("(Name of original)"),t(".cdp-togglable-name-b").tooltipster("content","Change it to blank"));l()}),t(".cdp-select").niceSelect(),t(".cdp-tooltip").tooltipster({delay:10,debug:!1,delayTouch:[100,200],interactive:!0,distance:4,side:"top",contentAsHTML:!0,maxWidth:600,theme:["tooltipster-noir","tooltipster-noir-customized"],repositionOnScroll:!0}),t(".cdp-tooltip-top").tooltipster({delay:10,debug:!1,delayTouch:[100,200],interactive:!0,distance:6,side:"top",contentAsHTML:!0,maxWidth:400,theme:["tooltipster-noir","tooltipster-noir-customized","cdp-center"],repositionOnScroll:!0}),t("#cdp-d-table").length>0&&(i=new IcPagination(t("#cdp-d-table"),"#cdp-d-table-pagi",{itemsOnPage:25,useParams:!1,emptylist:'<div class="cdp-center">No items to show, try with other filters!</div>'})),t(".cdp-copy-button").on("mouseup",function(){h(!0)});let D=(e,o,i,c)=>t(`<a class="ab-item cdp-dropdown-menu cdp-dd-item cdp-dd-ud${0==e?" cdp-bnew-notis":""}" data-token="${o}">\n <div style="display: block; width: calc(100% - 3px);">\n <div class="cdp-dropdown-left${1==i?" cdp-red":""}">${"delete"==c?"Deleting Posts":"Copying Posts"}</div>\n <div class="cdp-dropdown-right cdp-noti-kill-btn">Kill</div>\n </div>\n </a>`),P=(e,o,i)=>t(`<a class="ab-item cdp-dropdown-menu cdp-dd-item cdp-dd-d${0==e?" cdp-bnew-notis":""}" data-token="${o}">\n <div style="display: block; width: calc(100% - 3px);">\n <div class="cdp-dropdown-left">${"delete"==i?"Deleting Posts":"Copying Posts"}</div>\n <div class="cdp-dropdown-right cdp-noti-hide-btn">Hide</div>\n </div>\n </a>`);function I(t,e){let o=t,i=e;t.length<e.length&&(o=e,i=t);let c=o.length;return 0==c?1:(c-function(t,e){t=t.toLowerCase(),e=e.toLowerCase();let o=new Array;for(let i=0;i<=t.length;i++){let c=i;for(let n=0;n<=e.length;n++)if(0==i)o[n]=n;else if(n>0){let d=o[n-1];t.charAt(i-1)!=e.charAt(n-1)&&(d=Math.min(Math.min(d,c),o[n])+1),o[n-1]=c,c=d}i>0&&(o[e.length]=c)}return o[e.length]}(o,i))/parseFloat(c)}function S(o,i){L(!0),t(".cdp-tooltip-before-options").show(),t(".cdp-tooltip-full-options").hide(),$inputs=t(t(".cdp-tooltip-content").find("input, select"));for(let e=0;e<$inputs.length;++e){let o=t($inputs[e]);if("checkbox"==o.attr("type"))o.is(":checked")?o.attr("checked","checked"):o.removeAttr("checked");else if(t(o).is("select"))if("tooltip-which-profile-first"==t(o).attr("name")){let e=t(t('[name="tooltip-which-profile-first"]')[0]).val();"custom"==e||null==e?setTimeout(()=>{t('[name="tooltip-which-profile-first"]').val("custom")},50):setTimeout(()=>{t('[name="tooltip-which-profile-first"]').val(e)},50)}else{let e=t('[name="tooltip-which-profile-second"] option:selected').map(function(t,e){return this.value}).get()[0];"custom"==e||null==e?setTimeout(()=>{t('[name="tooltip-which-profile-second"]').val("custom")},50):setTimeout(()=>{t('[name="tooltip-which-profile-second"]').val(e)},50)}else o.attr("value",o.val())}return cdp_tooltips_update_content(),e=t(i.origin).attr("data-cdp-id"),!0}function N(e,o){$parent=t(o.origin).parents(".row-actions"),$parent.css({left:0});let i=t(t("a.menu-top.toplevel_page_copy-delete-posts")[0]).attr("href");t(".cdp-tooltip-info-intt").tooltipster({delay:10,debug:!1,delayTouch:[100,200],interactive:!0,distance:6,side:"top",contentAsHTML:!0,content:`Define your copy settings <a href="${i}">here</a>.`,maxWidth:400,theme:["tooltipster-noir","tooltipster-noir-customized","cdp-center"],repositionOnScroll:!0}),s&&jQuery.cdp.isPremium()?t(".cdp-tooltip-premium-spc-3").tooltipster({delay:10,debug:!1,delayTouch:[100,200],interactive:!0,distance:3,side:"top",content:"If you’re on a multisite you can copy it to other sites.",contentAsHTML:!0,maxWidth:290,theme:["tooltipster-noir","tooltipster-noir-customized","cdp-tooltip-premium-css"],repositionOnScroll:!0}):(t(".cdp-tooltip-premium-spc-2").tooltipster({delay:10,debug:!1,delayTouch:[100,200],interactive:!0,distance:3,side:"top",content:'If you’re on a multisite you can copy it to other sites with the Premium Plugin. <a href="https://sellcodes.com/CylMIdJD" target="_blank">Pre-order it now</a>',contentAsHTML:!0,maxWidth:290,theme:["tooltipster-noir","tooltipster-noir-customized","cdp-tooltip-premium-css"],repositionOnScroll:!0}),t(".cdp-tooltip-premium-spc").tooltipster({delay:10,debug:!1,delayTouch:[100,200],interactive:!0,distance:3,side:"top",content:'This feature will come soon as part of the Premium Plugin. You can <a href="https://sellcodes.com/CylMIdJD" target="_blank">pre-order now</a> at a <b>huge discount</b>.',contentAsHTML:!0,maxWidth:290,theme:["tooltipster-noir","tooltipster-noir-customized","cdp-tooltip-premium-css"],repositionOnScroll:!0}),t(".cdp-tooltip-premium-spc, .cdp-tooltip-premium-spc-2").addClass("cdp-premium-element"),t(".cdp-tooltip-premium-spc, .cdp-tooltip-premium-spc-2").find("input, select").prop("disabled",!0),t(".cdp-tooltip-premium-spc-4").tooltipster("content",'You can copy it to other sites with the Premium Plugin.<br><a href="https://sellcodes.com/CylMIdJD" target="_blank">Pre-order it now</a>'),cdp_tooltips_update_content())}function Q(e,o){return $parent=t(o.origin).parents(".row-actions"),$parent.css({left:""}),!1}function M(){return t(t(".cdp-tooltip-content").html())}function A(){setTimeout(()=>{let e=t.tooltipster.instances();for(instance in e)e[instance].reposition()},10)}function L(e=!1){if(e){let e=t.tooltipster.instances();for(instance in e)e[instance].close()}else setTimeout(()=>{let e=t.tooltipster.instances();for(instance in e)e[instance].close()},10)}if(t(".cdp-admin-bar-noti").length>0&&setInterval(w($),7e3),t(".cdp-drag-name").draggable({containment:".cdp-drags-cont",scroll:!1,helper:"clone",revert:"invalid"}),t(".cdp-names-real-input").droppable({drop:function(e,o){$picks=['<div class="cdp-name-box-small cdp-drag" data-cdp-val="0" contenteditable="false"><i class="cdp-novis">[</i>Counter<i class="cdp-novis">]</i></div>','<div class="cdp-name-box-small cdp-drag" data-cdp-val="1" contenteditable="false"><i class="cdp-novis">[</i>CurrentTime<i class="cdp-novis">]</i></div>','<div class="cdp-name-box-small cdp-drag" data-cdp-val="2" contenteditable="false"><i class="cdp-novis">[</i>CurrentDate<i class="cdp-novis">]</i></div>'],t(this).html(`${t(this).html()}${$picks[t(o.helper).attr("data-cdp-val")]}`),l()}}),"undefined"!=typeof pagenow&&["edit-page","edit-post"].includes(pagenow)&&t(".column-cb, .check-column").find("input").prop("checked",!1),t("#titlediv").find(".inside").length>0&&t("#cdp-original-post").length>0){let e=t("#cdp-original-post").attr("data-cdp-parent"),o=t("#cdp-original-post").attr("data-cdp-parent-url");t("#titlediv").find(".inside").append(t(`<div style="padding-left: 10px">This post is a duplicate of <a href="${o}" target="_blank">${e}</a></div>`))}t(".cdp-preloader-c").length>0&&(l(),u(),v(),setTimeout(()=>{r(".cdp-names-prefix"),r(".cdp-names-suffix")},1e3),function(){let e=t(".cdp-tab-active");for(let o=0;o<e.length;o++){let i=t(`#${t(e[o]).attr("data-box")}`);i.show(),i.css({"max-height":"",height:""});let c=i.height();t(c).css({"max-height":c+"px",height:c+"px"})}}()),setTimeout(()=>{t(".cdp-container").is(":hidden")&&setTimeout(()=>{jQuery(".cdp-preloader-c").hide(),jQuery(".cdp-container").css({opacity:0}),jQuery(".cdp-container").show(),jQuery(".cdp-container").animate({opacity:1},300)},400)},5e3)}),jQuery(window).on("load",function(){setTimeout(()=>{jQuery(".cdp-preloader-c").hide(),jQuery(".cdp-container").css({opacity:0}),jQuery(".cdp-container").show(),jQuery(".cdp-container").animate({opacity:1},300);const t=void 0!==jQuery.cdp&&void 0!==jQuery.cdp.isPremium;jQuery(".cdp-tooltip-premium-dc").tooltipster({delay:10,debug:!1,delayTouch:[100,200],interactive:!0,distance:3,side:"top",content:'This feature will come soon as part of the Premium Plugin. You can <a href="https://sellcodes.com/CylMIdJD" target="_blank">pre-order now</a> at a <b>huge discount</b>.',contentAsHTML:!0,maxWidth:290,theme:["tooltipster-noir","tooltipster-noir-customized","cdp-tooltip-premium-css"],repositionOnScroll:!0}),t&&jQuery.cdp.isPremium()?(jQuery(".cdp-tooltip-premium-spc-3").tooltipster({delay:10,debug:!1,delayTouch:[100,200],interactive:!0,distance:3,side:"top",content:"If you’re on a multisite you can copy it to other sites.",contentAsHTML:!0,maxWidth:290,theme:["tooltipster-noir","tooltipster-noir-customized","cdp-tooltip-premium-css"],repositionOnScroll:!0}),jQuery(".cdp-tooltip-premium-spc-3").addClass("cdp-premium-element"),jQuery(".cdp-tooltip-premium-spc-3").find("input, select").prop("disabled",!0)):(jQuery('.cdp-option-premium [value="3"]').prop("disabled",!0),setTimeout(()=>{jQuery(".cdp-premium-in-select").find('.option[data-value="premium"]').addClass("cdp-tooltip-premium disabled"),jQuery(".cdp-option-premium").find('.option[data-value="3"]').addClass("cdp-tooltip-premium disabled"),jQuery(".cdp-tooltip-premium-spc-2").tooltipster({delay:10,debug:!1,delayTouch:[100,200],interactive:!0,distance:3,side:"top",content:'If you’re on a multisite you can copy it to other sites with the Premium Plugin. <a href="https://sellcodes.com/CylMIdJD" target="_blank">Pre-order it now</a>',contentAsHTML:!0,maxWidth:290,theme:["tooltipster-noir","tooltipster-noir-customized","cdp-tooltip-premium-css"],repositionOnScroll:!0}),jQuery(".cdp-tooltip-premium-spc, .cdp-tooltip-premium-spc-2").addClass("cdp-premium-element"),jQuery(".cdp-tooltip-premium-spc, .cdp-tooltip-premium-spc-2").find("input, select").prop("disabled",!0),jQuery(".cdp-tooltip-premium-spc-4").tooltipster("content",'You can copy it to other sites with the Premium Plugin.<br><a href="https://sellcodes.com/CylMIdJD" target="_blank">Pre-order it now</a>'),function(t){let e=void 0!==t?t:".cdp-tooltip-premium",o=-15;isNaN(parseInt(jQuery(e).attr("data-top")))||(o=parseInt(jQuery(e).attr("data-top")));jQuery(e).tooltipster({delay:10,debug:!1,delayTouch:[100,200],interactive:!0,distance:o,side:"top",content:'This feature will come soon as part of the Premium Plugin. You can <a href="https://sellcodes.com/CylMIdJD" target="_blank">pre-order now</a> at a <b>huge discount</b>.',contentAsHTML:!0,maxWidth:290,theme:["tooltipster-noir","tooltipster-noir-customized","cdp-tooltip-premium-css"],repositionOnScroll:!0}),i=e,jQuery(i).addClass("cdp-premium-element"),jQuery(i).find("input, select").prop("disabled",!0);var i}(),cdp_tooltips_update_content()},1e3))},400)}),function(t){function e(t,e){if(!(t.originalEvent.touches.length>1)){t.preventDefault();let o=t.originalEvent.changedTouches[0],i=document.createEvent("MouseEvents");i.initMouseEvent(e,!0,!0,window,1,o.screenX,o.screenY,o.clientX,o.clientY,!1,!1,!1,!1,0,null),t.target.dispatchEvent(i)}}if(t.support.touch="ontouchend"in document,t.support.touch){let o,i=t.ui.mouse.prototype,c=i._mouseInit,n=i._mouseDestroy;i._touchStart=function(t){!o&&this._mouseCapture(t.originalEvent.changedTouches[0])&&(o=!0,this._touchMoved=!1,e(t,"mouseover"),e(t,"mousemove"),e(t,"mousedown"))},i._touchMove=function(t){o&&(this._touchMoved=!0,e(t,"mousemove"))},i._touchEnd=function(t){o&&(e(t,"mouseup"),e(t,"mouseout"),this._touchMoved||e(t,"click"),o=!1)},i._mouseInit=function(){let e=this;e.element.bind({touchstart:t.proxy(e,"_touchStart"),touchmove:t.proxy(e,"_touchMove"),touchend:t.proxy(e,"_touchEnd")}),c.call(e)},i._mouseDestroy=function(){let e=this;e.element.unbind({touchstart:t.proxy(e,"_touchStart"),touchmove:t.proxy(e,"_touchMove"),touchend:t.proxy(e,"_touchEnd")}),n.call(e)}}}(jQuery);
1
+ function cdp_tooltips_update_content(){if(jQuery("select").niceSelect("update"),!(void 0!==jQuery.cdp&&void 0!==jQuery.cdp.isPremium)||!jQuery.cdp.isPremium()){jQuery(".cdp-premium-in-select").find('.option[data-value="premium"]').addClass("cdp-tooltip-premium disabled"),jQuery(".cdp-option-premium").find('.option[data-value="3"]').addClass("cdp-tooltip-premium disabled"),$prems=jQuery(".cdp-tooltip-premium");for(let t=0;t<$prems.length;t++){let e=$prems[t],o=-15;isNaN(parseInt(jQuery(e).attr("data-top")))||(o=parseInt(jQuery(e).attr("data-top"))),jQuery(e).tooltipster({delay:10,debug:!1,delayTouch:[100,200],interactive:!0,distance:o,side:"top",content:'This feature will come soon as part of the Premium Plugin. You can <a href="https://sellcodes.com/CylMIdJD" target="_blank">pre-order now</a> at a <b>huge discount</b>.',contentAsHTML:!0,maxWidth:290,theme:["tooltipster-noir","tooltipster-noir-customized","cdp-tooltip-premium-css"],repositionOnScroll:!0})}jQuery(".cdp-tooltip-premium-dc").tooltipster({delay:10,debug:!1,delayTouch:[100,200],interactive:!0,distance:3,side:"top",content:'This feature will come soon as part of the Premium Plugin. You can <a href="https://sellcodes.com/CylMIdJD" target="_blank">pre-order now</a> at a <b>huge discount</b>.',contentAsHTML:!0,maxWidth:290,theme:["tooltipster-noir","tooltipster-noir-customized","cdp-tooltip-premium-css"],repositionOnScroll:!0})}}function cdp_totally_know_what_i_am_doing(t){if("really"!=t)return"Are you REALLY sure?";console.log("You're crazy! – Here is the output:");let e=jQuery;e("#cdp-purl").val();e.post(ajaxurl,{action:"cdp_action_handling",token:"cdp",f:"debug_function"}).done(t=>{console.log(t),console.log("–––––––––––––- END OF THE DEBUG OUTPUT –––––––––––––- ")})}jQuery(document).ready(function(t){t("#cdp-purl").val();let e=null,o="default",i=null,c=null,n=null,d=null,p=null;const s=void 0!==t.cdp&&void 0!==t.cdp.isPremium;function a(e=null,o=!1){let i=this;"string"==typeof e&&(i=`.${e}`),0!=o&&(i=o),$parent=t(t(i).parents(".cdp-collapsible")[0]),$arrow=$parent.find(".cdp-arrow"),$body=$parent.find(".cdp-collapsible-content"),$title=$parent.find(".cdp-collapsible-title"),$titles=t(".cdp-collapsible-title"),group=$parent.attr("data-cdp-group"),height=$body.prop("scrollHeight"),$oArrows=t(`.cdp-collapsible[data-cdp-group="${group}"]`).not($parent).find(".cdp-arrow"),$oBodies=t(`.cdp-collapsible[data-cdp-group="${group}"]`).not($parent).find(".cdp-collapsible-content"),$body.hasClass("cdp-active")?($body.removeClass("cdp-active"),$titles.removeClass("cdp-active"),$oBodies.removeClass("cdp-active"),$arrow.removeClass("cdp-arrow-down").addClass("cdp-arrow-left"),$body.css({"max-height":""})):($titles.removeClass("cdp-active"),$body.addClass("cdp-active"),$title.addClass("cdp-active"),$oBodies.removeClass("cdp-active"),$arrow.removeClass("cdp-arrow-left").addClass("cdp-arrow-down"),$oArrows.removeClass("cdp-arrow-down").addClass("cdp-arrow-left"),$body.css({"max-height":`${height+30}px`}),$oBodies.css({"max-height":""}))}function l(){let e=t(".cdp-names-prefix").text(),o=t(".cdp-names-suffix").text(),i={year:(c=new Date).getFullYear(),month:("0"+(c.getMonth()+1)).slice(-2),day:c.getDate()<=9?"0"+c.getDate():c.getDate(),hour:c.getHours()<=9?"0"+c.getHours():c.getHours(),minute:c.getMinutes()<=9?"0"+c.getMinutes():c.getMinutes(),second:c.getSeconds()<=9?"0"+c.getSeconds():c.getSeconds(),week:c.getDay()};var c;let n="(blank)"==t(".cdp-togglable-name-b").text()?"":"(Name of original)",d=`${e.trim()} ${n} ${o.trim()}`;d=d.replace(/\[Counter\]/g,"2");let p=t(".cdp-date-picked").val();"1"==p?d=d.replace(/\[CurrentDate\]/g,`${i.month}/${i.day}/${i.year}`):"2"==p?d=d.replace(/\[CurrentDate\]/g,`${i.day}/${i.month}/${i.year}`):"3"==p&&function(e){let o=t(".cdp-custom-date-picking").val();t.post(ajaxurl,{action:"cdp_action_handling",token:"cdp",f:"get_formatted_time",format:o}).done(t=>{e(t)}).fail(()=>{e(!1)})}(e=>{d=d.replace(/\[CurrentDate\]/g,`${e}`),t(".cdp-example-name").text(d),d=(d=d.replace(/\[CurrentTime\]/g,`${i.hour}:${i.minute}:${i.second}`)).replace(/\s+/gim," "),t(".cdp-example-name").text(d)}),"3"!=p&&(d=(d=d.replace(/\[CurrentTime\]/g,`${i.hour}:${i.minute}:${i.second}`)).replace(/\s+/gim," "),t(".cdp-example-name").text(d))}function r(e=""){before=t(e).html(),text=t(e).html(),$picks=['<div class="cdp-name-box-small cdp-drag" data-cdp-val="0" contenteditable="false"><i class="cdp-novis">[</i>Counter<i class="cdp-novis">]</i></div>','<div class="cdp-name-box-small cdp-drag" data-cdp-val="1" contenteditable="false"><i class="cdp-novis">[</i>CurrentTime<i class="cdp-novis">]</i></div>','<div class="cdp-name-box-small cdp-drag" data-cdp-val="2" contenteditable="false"><i class="cdp-novis">[</i>CurrentDate<i class="cdp-novis">]</i></div>'],text=text.replace(/\[Counter\]/g,$picks[0]),text=text.replace(/\[CurrentDate\]/g,$picks[2]),text=text.replace(/\[CurrentTime\]/g,$picks[1]),text!=before&&t(e).html(text)}function u(){val=t('.cdp-other-options[name="after_copy"]').val(),2==val?t(".cdp-if-edit-page-selected").show(300):t(".cdp-if-edit-page-selected").is(":hidden")||t(".cdp-if-edit-page-selected").hide(300),setTimeout(()=>{jQuery(".cdp-oth-section").css({"max-height":""}),jQuery(".cdp-oth-section").css({"max-height":jQuery(".cdp-oth-section").height()})},310)}function h(i=!1){let c=t(this).attr("data-cdp-btn");1==i&&(c="copy-quick");let n=["copy-quick","copy-custom","copy-custom-link"],d=t(".cdp-modal-checkboxes").find(".cdp-input-dynamic");if(n.includes(c)){let i={type:c};if(c==n[0]){if(i.times=t(".cdp-modal-input-times-tooltip").val(),i.site=t('.cdp-input-dynamic[name="tooltip-which-site-first"]').val(),i.profile=t('.cdp-input-dynamic[name="tooltip-which-profile-first"]').val(),i.swap="2"==t(".cdp-swap").val()?"true":"false",!i.profile||"custom"==i.profile)return t.cdpNotification("warning","Please select settings for this copy."),void b()}else if(c==n[1]||c==n[2]){i.times=t('.cdp-modal-input-times[name="tooltip-which-times-second"]').val(),i.site=t('.cdp-input-dynamic[name="tooltip-which-site-second"]').val(),i.profile=t('.cdp-input-dynamic[name="tooltip-which-profile-second"]').val(),i.swap="2"==t(".cdp-swap").val()?"true":"false",i.custom={};for(let e=0;e<d.length;++e)i.custom[t(d[e]).attr("name")]=t(d[e]).is(":checked")}if(isNaN(parseInt(i.times))||parseInt(i.times)<=0)return void t.cdpNotification("warning","You need to insert positive number for copies.");i.profile&&!["custom","clear","custom_named"].includes(i.profile)||(i.profile=o),L(),function(e=(()=>{})){window.onbeforeunload=(()=>"Copy in progress..."),$e=t(".cdp-copy-loader-overlay"),$e.is(":hidden")&&($e.show(),$e.animate({opacity:1},300,function(){e(!0)}))}(()=>{t.post(ajaxurl,{action:"cdp_action_handling",token:"cdp",f:"copy_post",origin:"tooltip",id:[e],data:i}).done(e=>{b(),t.isJsonString(e)&&(e=t.cdpParse(e)),"error"==e.status?t.cdpNotification("error","Something went wrong and we couldn't copy this post – please try again!"):c==n[2]||void 0!==e.link&&e.link.length>0?"pConv"==e.link?(t.post(ajaxurl,{action:"cdp_action_handling",token:"cdp",f:"delete_success_img"}),"-28"==t(".cdp-copy-alert-success").position().top&&t(".cdp-copy-alert-success").animate({top:"32px",opacity:1},300),setTimeout(()=>{"32"==t(".cdp-copy-alert-success").position().top&&t(".cdp-copy-alert-success").animate({top:"-28px",opacity:0},300)},3e3)):window.location.href=e.link:location.reload()}).fail(e=>{t.cdpNotification("error","Something went wrong and we couldn't copy this post. – See dev console for more info."),b(),console.log(e),console.log(e.responseText)})})}else t.cdpNotification("Couldn't recognize that button, please try again.")}function m(e,i=!1){let c=t('.cdp-input-dynamic[name="tooltip-which-profile-second"]'),n=t(".cdp-modal-checkboxes").find(".cdp-input-dynamic"),d=c.length>1?t(t(c[1])):t(t(c[0]));t(c[1])&&t(c[1])||(null==t(c[1])&&t(c[0])?d=t(t(c[0])):null==t(c[0])&&t(c[1])&&(d=t(t(c[1]))));let p=d.val();0==e&&(p=i),"custom_named"==p?c.val("custom_named"):"custom"==p||null==p||null==p?c.val("custom"):"clear"==p?(0!=e&&e.preventDefault(),n.prop("checked",!1),c.val("custom")):!["clear","custom","custom_named"].includes(p)&&p.length>=1?g(p,function(e){for(let o in e)"object"!=typeof o&&t(`.cdp-input-dynamic[name="${o}"]`).prop("checked",f(e[o]))}):(0!=e&&e.preventDefault(),t.cdpNotification("warning","Unable to recognize selected profile, please try again.")),0==e&&c.val(p),["clear","custom","custom_named"].includes(p)||(o=p),cdp_tooltips_update_content()}function f(t){return"string"==typeof t&&"true"==t.trim().toLowerCase()}function g(e="default",o){t.post(ajaxurl,{action:"cdp_action_handling",token:"cdp",f:"get_settings",profile:e}).done(e=>{if(t.isJsonString(e)&&(e=t.cdpParse(e)),e.status&&"error_no_exists"==e.status){t.cdpNotification("warning","Profile you selected is just empty, please update this profile or use custom settings!");let e={},i=t(".cdp-modal-option-r");for(let o=0;o<i.length;o++)e[t(i[o]).attr("name")]=t(i[o]).is(":checked");o(!1)}else o(e)}).fail(e=>{t.cdpNotification("error","Something went wrong and we couldn't get profile settings. – Check console for more details"),console.log("Copy & Delete Post – Error"),console.log(e),console.log("––––––––––––––––––––––––––"),o(!1)})}function y(){t(this).attr("class");let e=parseInt(t(this).val());e<=0&&(e=1),e>9999&&(e=9999),isNaN(e)&&(e=1),e||(e=1),t(".cdp-modal-input-times").val(e),t(".cdp-modal-input-times-tooltip").val(e),e>50?(t(".cdp-error-span-tooltip").show(300),t(".cdp-tooltip-before").attr("style","height: calc(225px - 20px - 16px) !important")):(t(".cdp-error-span-tooltip").hide(300),t(".cdp-tooltip-before").attr("style","")),e>1?(t(".cdp-multiple-tooltip-count").animate({opacity:1},200),t('.cdp-tooltip-btn-copy[data-cdp-btn="copy-custom-link"]').hide()):(t(".cdp-multiple-tooltip-count").animate({opacity:0},200),t('.cdp-tooltip-btn-copy[data-cdp-btn="copy-custom-link"]').show()),setTimeout(()=>{A()},310)}function b(e=(()=>{})){window.onbeforeunload=null,$e=t(".cdp-copy-loader-overlay"),$e.is(":hidden")||$e.animate({opacity:0},300,function(){$e.hide(),e(!0)})}function v(){let e=t(".cdp-profile-selected").val();var o,i;g(e,c=>{if(t.isJsonString(c)||"object"==typeof c){"object"!=typeof c&&(c=JSON.parse(c));let n=["usmplugin","yoast"];for(k in c)"names"==k?(t(".cdp-names-prefix").html(c[k].prefix),t(".cdp-names-suffix").html(c[k].suffix),"3"!=c[k].format||s||(c[k].format="1"),t(".cdp-date-picked").val(c[k].format),t(".cdp-custom-date-picking").val(c[k].custom)):(!n.includes(k)||n.includes(k)&&s&&t.cdp.isPremium())&&t(`.cdp-data-set[data-cdp-opt="${k}"]`).prop("checked","true"==c[k]);cdp_tooltips_update_content(),l(),u(),s&&t.cdp.isPremium()&&t.cdp.premium.detectChangeOfCustom(),_(),r(".cdp-names-prefix"),r(".cdp-names-suffix"),o=e,i=(()=>{}),t.post(ajaxurl,{action:"cdp_action_handling",token:"cdp",f:"set_default_profile",selection:o}).done(t=>{i(t)}).fail(()=>{i(!1)})}else t.cdpNotification("warning","There was an error while getting data from server, please try again.")})}function x(){if("0"==t("#cdp-d-table-pagi-ilosc-wynikow").text())return;let e=t(".cdp-input-d-id").length,o=t(".cdp-input-d-id:checked").length;o==e?t(".cdp-d-select-all").text("Deselect all"):t(".cdp-d-select-all").text("Select all"),t(".cdp-t-d-ct").text(o),$visible=t(".cdp-input-d-id:visible").length,$visible_checked=t(".cdp-input-d-id:checked:visible").length,$visible==$visible_checked?t(".cdp-d-checkbox-all").prop("checked",!0):t(".cdp-d-checkbox-all").prop("checked",!1),function(){let e=t(".cdp-input-d-id").parents("tr"),o=t(".cdp-input-d-id:checked").parents("tr");e.removeClass("cdp-del"),o.addClass("cdp-del")}()}function w(e){t.post(ajaxurl,{action:"cdp_action_handling",token:"cdp",f:"give_me_current_tasks"}).done(o=>{t.isJsonString(o)&&(o=t.cdpParse(o)),"success"==o.status&&e(o.tasks)})}function $(e){let o=0,i=+new Date/1e3,c=t(".cdp-dd-item");for(let i=0;i<c.length;++i){e[t(c[i]).attr("data-token")]||t(c[i]).remove(),o++}for(task in e){let c=e[task],n=t(t(`.cdp-dd-item[data-token="${task}"]`)[0]);if(0==c.done){if(n.hasClass("cdp-dd-ud"))continue;{n.remove();let e=i-c.done>=86400;t(".cdp-dd-undone-list").append(D(c.shown,task,e,c.f)),o++}}else{if(n.hasClass("cdp-dd-d"))continue;n.remove(),t(".cdp-dd-done-list").append(P(c.shown,task,c.f)),o++}}(o>0||0==c.length)&&function(){let e=t(".cdp-dd-item").length,o=t(".cdp-dd-d").length,i=t(".cdp-dd-ud").length;o<=0?(t(".cdp-done-notis, .cdp-done-notis").addClass("cdp-noti-hide"),t(".cdp-done-hr").hide()):(t(".cdp-done-notis, .cdp-done-notis").removeClass("cdp-noti-hide"),t(".cdp-done-hr").show()),i<=0?(t(".cdp-undone-notis, .cdp-undone-notis").addClass("cdp-noti-hide"),t(".cdp-undone-hr").hide()):(t(".cdp-undone-notis, .cdp-undone-notis").removeClass("cdp-noti-hide"),t(".cdp-undone-hr").show()),e<=0?t(".cdp-admin-bar-noti").addClass("cdp-noti-hide"):t(".cdp-admin-bar-noti").removeClass("cdp-noti-hide"),t(".cdp-notis-counter").text(t(".cdp-bnew-notis").length)}()}function _(){$trs=t(".cdp-table tbody.cdp-ff-b1").find("tr");for(let e=0;e<$trs.length;e++){let o=t($trs[e]);o.find("input").is(":checked")?o.addClass("cdp-selected-tr-opt"):o.removeClass("cdp-selected-tr-opt")}}function C(e){if(t(".cdp-modal").is(":visible"))return;let o=window;0!=t("#wpbody").scrollTop()&&(o="#wpbody");let i=t(o).scrollTop()+2;i<=0&&(i=2),"click"!=e.type&&t(".nice-select, .nice-select .list").css({transition:"all 0s"}),t(".nice-select .list").css({"margin-top":`${-i}px`}),clearTimeout(d),d=setTimeout(()=>{t(".nice-select .list").css({transition:""})},100),clearTimeout(n),n=setTimeout(()=>{let i=t(o).scrollTop()+2;i<=0&&(i=2),"click"!=e.type&&t(".nice-select .list").css({transition:"all 0s !important"}),t(".nice-select .list").css({"margin-top":`${-i}px`}),clearTimeout(d),d=setTimeout(()=>{t(".nice-select .list").css({transition:""})},100)},100)}function T(){let e=t('.cdp-d-option[name="cdp-d-b-title"]').is(":checked"),o=t('.cdp-d-option[name="cdp-d-b-slug"]').is(":checked");e||o?t(".cdp-no-empty-text").html("<b>including</b> empty"):t(".cdp-no-empty-text").html("only if <u><b>not</b></u> empty")}function j(e){e.preventDefault(),$parent=t(this).parents(".cdp-collapsible"),$col=t(t($parent[0]).find(".cdp-collapsible-title")[0]),a("true",$col)}t(".cdp-intro-button").on("click",function(){let e=t(".cdp-intro").height();t(".cdp-intro").css({height:e+"px"}),t(".cdp-intro").animate({opacity:0,height:0},300,function(){t(".cdp-intro").hide(10),t("#cdp-never-intro").is(":checked")&&t.post(ajaxurl,{action:"cdp_action_handling",token:"cdp",f:"no_intro"}).done(e=>{"error"==e&&t.cdpNotification("error","Something went wrong and we couldn't save intro settings!")}).fail(e=>{t.cdpNotification("error","Something went wrong and we couldn't save intro settings.")})}),t(".cdp-s-i-a").show(),t(".cdp-s-i-a").animate({opacity:1},300)}),t(".cdp-save-options").on("click",function(){let e=t(".cdp-data-set"),o=t(".cdp-other-inputs"),i=t(".cdp-profile-selected").val(),c=t(".cdp-names-prefix").text().replace(/\s+/g," ").trim(),n=t(".cdp-names-suffix").text().replace(/\s+/g," ").trim(),d={names:{prefix:c,suffix:n,format:t(".cdp-date-picked").val(),custom:t(".cdp-custom-date-picking").val(),display:t(t(`option[value="${t(".cdp-profile-selected").val()}"]`)[0]).text()}},p={afterCopy:t('.cdp-other-options[name="after_copy"]').val(),postConverter:t('.cdp-other-options[name="post_converter"]').val(),others:{}},s={},a=t(".cdp-other-roles");for(let e=0;e<a.length;e++)s[t(a[e]).attr("name")]=t(a[e]).is(":checked");p.roles=s;for(let o=0;o<e.length;o++)d[t(e[o]).attr("data-cdp-opt")]=!!t(e[o]).is(":checked");for(let e=0;e<o.length;e++)p.others[t(o[e]).attr("name")]=!!t(o[e]).is(":checked");t.post(ajaxurl,{action:"cdp_action_handling",token:"cdp",f:"save_options",options:d,profile:i,entire:p}).done(e=>{"success"==e?t.cdpNotification("success","All your settings were saved!",2e3):"error"==e?t.cdpNotification("error","Something went wrong and we couldn't save your settings."):t.cdpNotification("success","All your settings were saved!",2e3)}).fail(e=>{t.cdpNotification("error","Something went wrong and we couldn't save your settings. – Please check console for more info."),console.log(e)})}),t("#cdp-show-into-again").on("click",function(){t.post(ajaxurl,{action:"cdp_action_handling",token:"cdp",f:"intro_again"}).done(e=>{"error"==e&&t.cdpNotification("error","Something went wrong and we couldn't update intro settings – try again!")}).fail(e=>{t.cdpNotification("error","Something went wrong and we couldn't update intro settings. – Please check console for more info.")}),t(".cdp-s-i-a").animate({opacity:0},300,function(){t(".cdp-s-i-a").hide()}),function(){t(".cdp-intro").show().css({height:""});let e=t(".cdp-intro").height();t(".cdp-intro").css({height:"0px"}),t(".cdp-intro").animate({opacity:1,height:e+"px"},300,function(){})}()}),t(".cdp-show-projects").on("click",function(){t(".cdp-projects").is(":hidden")&&t(".cdp-projects").show(300);t(".cdp-show-projects").removeClass("cdp-pointer").animate({opacity:.5},300)}),t(".cdp-project-box").on("mouseenter",function(){t(".cdp-project-box").not(t(this)).addClass("cdp-half-opacity")}),t(".cdp-project-box").on("mouseleave",function(){t(".cdp-project-box").removeClass("cdp-half-opacity")}),t(".cdp-collapsible-title").on("click",a),t(".cdp-magic-input").on("keyup change",function(){before=t(this).html(),text=t(this).html(),$picks=['<div class="cdp-name-box-small cdp-drag" data-cdp-val="0" contenteditable="false"><i class="cdp-novis">[</i>Counter<i class="cdp-novis">]</i></div>','<div class="cdp-name-box-small cdp-drag" data-cdp-val="1" contenteditable="false"><i class="cdp-novis">[</i>CurrentTime<i class="cdp-novis">]</i></div>','<div class="cdp-name-box-small cdp-drag" data-cdp-val="2" contenteditable="false"><i class="cdp-novis">[</i>CurrentDate<i class="cdp-novis">]</i></div>'],text=text.replace(/\[Counter\]/g,$picks[0]),text=text.replace(/\[CurrentDate\]/g,$picks[2]),text=text.replace(/\[CurrentTime\]/g,$picks[1]),text!=before&&t(this).html(text)}),t(".cdp-magic-input").on("focus",function(e,o){if(o)return;let i=t(this).text();" "!=i[0]&&(i="&nbsp;"+i);" "!=i[i.length-1]&&(i+="&nbsp;");t(this).html(i),r(this)}),t(".cdp-magic-input").on("mouseup",".cdp-name-box-small",function(){t(this).hide(300),setTimeout(()=>{t(this).remove(),l()},300)}),t(".cdp-support-animated").on("mouseenter",function(){t(".cdp-support-animated").not(t(this)).addClass("cdp-half-opacity")}),t(".cdp-name-clickable").on("mouseup",function(e){if(e.preventDefault(),$picks=['<div class="cdp-name-box-small cdp-drag" data-cdp-val="0" contenteditable="false"><i class="cdp-novis">[</i>Counter<i class="cdp-novis">]</i></div>','<div class="cdp-name-box-small cdp-drag" data-cdp-val="1" contenteditable="false"><i class="cdp-novis">[</i>CurrentTime<i class="cdp-novis">]</i></div>','<div class="cdp-name-box-small cdp-drag" data-cdp-val="2" contenteditable="false"><i class="cdp-novis">[</i>CurrentDate<i class="cdp-novis">]</i></div>'],$box={1:".cdp-names-prefix",2:".cdp-names-real-input",3:".cdp-names-suffix"},t($box[e.which]).append($picks[t(this).attr("data-cdp-val")]),l(),e.which==e)return!1}),t(".cdp-support-animated").on("mouseleave",function(){t(".cdp-support-animated").removeClass("cdp-half-opacity")}),t("body").on("change keyup",".cdp-input-dynamic",function(){$input=t(t(".cdp-tooltip-content, .cdp-modal-content").find(`[name="${t(this).attr("name")}"]`)),"checkbox"==t(this).attr("type")?$input.prop("checked",t(this).is(":checked")):t($input).is("select")?($input.val(t(this).val()),t($input).hasClass("cdp-modal-input-profiles-r")&&m(!1,t(this).val())):$input.val(t(this).val());cdp_tooltips_update_content()}),t(".cdp-names-real-input, .cdp-date-picked").on("keyup change",l),t('.cdp-other-options[name="after_copy"]').on("change",u),t("body").on("click",".cdp-tooltip-before-button",function(){let e=t('.cdp-input-dynamic[name="tooltip-which-profile-first"]').val();"custom"!=e&&m(!1,e);t(".cdp-tooltip-before-options").hide(200),setTimeout(()=>{t(".cdp-tooltip-full-options").show(200),setTimeout(()=>{A()},200)},200)}),t("body").on("click",".cdp-tooltip-btn-copy",h),t("body").on("change",'.cdp-input-dynamic[name="tooltip-which-profile-second"]',m),t("body").on("change",'.cdp-input-dynamic[name="tooltip-which-profile-first"]',function(){m(!1,t(this).val())}),t("body").on("change",".cdp-modal-checkboxes .cdp-input-dynamic",function(){t('.cdp-input-dynamic[name="tooltip-which-profile-second"]').val("custom_named"),cdp_tooltips_update_content(),m(!1,"custom_named")}),t("body").on("change",".cdp-modal-input-times-tooltip",y),t("body").on("change",".cdp-modal-input-times",y),t("body").on("click",".cdp-modal-times, .cdp-modal",t.cdpModalClose),t("body").on("click",".cdp-modal-open",t.cdpModal),t("body").on("change",".cdp-profile-selected",v),t("body").on("click",".cdp-show-more-d-title",function(e){e.preventDefault(),t(".cdp-d-section").css({"max-height":"",height:""}),t(".cdp-more-d-title").is(":hidden")?(t(".cdp-more-d-title").show(300),t(this).text("(hide more options)")):(t(".cdp-more-d-title").hide(300),t(this).text("(show more options)"));setTimeout(()=>{t(".cdp-d-section").css({"max-height":t(".cdp-d-section").height()})},310)}),t("body").on("change",".cdp-d-first-chapter-cb",function(){t(".cdp-d-section").css({"max-height":"",height:""});let e=t('.cdp-d-option[name="cdp-d-a-posts"]').is(":checked")+0,o=t('.cdp-d-option[name="cdp-d-a-pages"]').is(":checked")+0,i=t('.cdp-d-option[name="cdp-d-a-customs"]').is(":checked")+0;e+o+i>1?t(".cdp-d-option-select-parent").show(300):t(".cdp-d-option-select-parent").hide(300);setTimeout(()=>{t(".cdp-d-section").css({"max-height":t(".cdp-d-section").height()})},310)}),t("body").on("click",".cdp-d-search",function(){let e=t('.cdp-d-option[name="cdp-d-a-posts"]').is(":checked")?1:0,o=t('.cdp-d-option[name="cdp-d-a-pages"]').is(":checked")?1:0,n=t('.cdp-d-option[name="cdp-d-a-customs"]').is(":checked")?1:0;e+o+n<=0?t.cdpNotification("error","Please, check for: which duplicates you are looking for"):null==c?function(e=function(){}){t.post(ajaxurl,{action:"cdp_action_handling",token:"cdp",f:"get_all_posts"}).done(o=>{t.isJsonString(o)&&(o=t.cdpParse(o)),e(o)}).fail(o=>{t.cdpNotification("error","Something went wrong and we couldn't get post list. – Please check console for more info."),console.log(o),e(!1)})}(t=>{0!=t&&p(t)}):p(c);function d(t,e){let o=parseInt(e[e.length-1]);for(let i=e.length;i>=0&&(o=parseInt(e[i-1]),ext=!1,t.posts.findIndex(t=>t.ID==o)>=0?ext=!0:t.pages.findIndex(t=>t.ID==o)>=0?ext=!0:t.custom.findIndex(t=>t.ID==o)>=0?ext=!0:o=!1,1!=ext);--i);return o}function p(e){let o={posts:[],pages:[],custom:[]},n={},p={};null!=c&&(o=c);let l=!!t('.cdp-d-option[name="cdp-d-a-posts"]').is(":checked"),r=!!t('.cdp-d-option[name="cdp-d-a-pages"]').is(":checked"),u=!!t('.cdp-d-option[name="cdp-d-a-customs"]').is(":checked"),h=!!t('.cdp-d-option[name="cdp-d-b-title"]').is(":checked"),m=!!t('.cdp-d-option[name="cdp-d-b-slug"]').is(":checked"),f=!!t('.cdp-d-option[name="cdp-d-c-excerpt"]').is(":checked"),g=!!t('.cdp-d-option[name="cdp-d-c-count"]').is(":checked"),y=t('.cdp-d-option-select[name="cdp-d-d-sel-which"]').val(),b=null,v=null;if(l+r+u>1&&(b=t('.cdp-d-option-select[name="cdp-d-sels-diftyp"]').val()),1==h&&(v="1"==t('.cdp-d-option[name="cdp-radio-btn-dtitles"]:checked').val()),null==c)for(post_type in e)if("meta"!=post_type)for(post in e[post_type]){post=e[post_type][post],post.post_type=post.post_type[0].toUpperCase()+post.post_type.slice(1);let t=e.meta[post.ID]._cdp_origin,i=e.meta[post.ID]._cdp_counter,c={id:post.ID,url:post.guid,slug:post.post_name,type:post.post_type,date:post.post_date,title:post.post_title,edit:post.post_modified,excerpt:post.post_excerpt,words:a(s(post.post_content)),origin:"object"==typeof t&&d(e,t),counter:"object"==typeof i&&i[i.length-1]};if(1301==c.id&&console.log(c,t),"object"==typeof t){let e=parseInt(t[t.length-1]);void 0===p[e]?p[e]=1:p[e]++}o[post_type].push(c)}o=function(t){let e=JSON.parse(JSON.stringify(t));return e.posts.sort((t,e)=>!1===t.origin?-1:!1===e.origin?1:0),e.pages.sort((t,e)=>!1===t.origin?-1:!1===e.origin?1:0),e.custom.sort((t,e)=>!1===t.origin?-1:!1===e.origin?1:0),e}(o),null==c&&(c=o);let k=[],w=[];if("2"==b){let t=[],e=[],i=[];1==l&&(t=o.posts),1==r&&(e=o.pages),1==u&&(i=o.custom),k=(k=[].concat(t,e,i)).sort((t,e)=>t.id<e.id?-1:t.id>e.id?1:0),w=$(k)}else{let t=[],e=[],i=[];o.posts=o.posts.sort((t,e)=>t.id<e.id?-1:t.id>e.id?1:0),1==l&&(t=$(o.posts)),o.pages=o.pages.sort((t,e)=>t.id<e.id?-1:t.id>e.id?1:0),1==r&&(e=$(o.pages)),o.custom=o.custom.sort((t,e)=>t.id<e.id?-1:t.id>e.id?1:0),1==u&&(i=$(o.custom)),w=[].concat(t,e,i)}function $(t){let e=[],o=[],i=!(h||m||f||g);if(!t)return e;for(let e=0;e<t.length;e++){let n=t[e];if(!o.includes(n.id))for(let d=i?0:e;d<t.length;d++){if(!t[d])continue;if(o.includes(t[d].id))continue;if(d==e)continue;let p=1==h&&(n.title==t[d].title||1==v&&n.id==t[d].origin&&t[d].date==t[d].edit),s=1==m&&I(n.slug,t[d].slug)>=.85,a=!1;a=1==p||1==s?1==f&&(""==n.excerpt||n.excerpt==t[d].excerpt):1==f&&""!=n.excerpt&&n.excerpt==t[d].excerpt;let l=1==g&&n.words==t[d].words,r=1==i&&n.id==t[d].origin&&t.findIndex(e=>e.origin==t[d].id)<=-1;!p&&h||!s&&m||!a&&f||!l&&g||!r&&i||(c(n,!0,!1),c(t[d],!1,n.id))}}function c(t,i=!1,c=!1){o.includes(t.id)||(1==i?n[t.id]=[]:0!=c&&n[c].push(t.id),o.push(t.id),e.push(t))}return e}for(post in $tbody=t("#cdp-d-table-tbody"),$tbody.html(""),w)$tbody.append((_=w[post],t(`<tr data-id="${_.id}">\n <td><input type="checkbox" id="cdp_in_${_.id}" class="cdp-input-d-id" name="${_.id}"/></td>\n <td><label for="cdp_in_${_.id}">${_.title}</label></td>\n <td><a href="${_.url}" target="_blank">${""!=_.slug?_.slug:_.url}</a></td>\n <td>${_.type}</td>\n <td>${_.date.slice(0,-8)}</td>\n <td>${_.words}</td>\n </tr>`)));var _;if("1"==y)for(parent in n)for(child in n[parent])t(`.cdp-input-d-id[name="${n[parent][child]}"]`).prop("checked",!0);else if("2"==y)for(parent in n){t(`.cdp-input-d-id[name="${parent}"]`).prop("checked",!0);let e=Math.max(...n[parent]);for(child in n[parent])n[parent][child]!=e&&t(`.cdp-input-d-id[name="${n[parent][child]}"]`).prop("checked",!0)}else"3"==y&&t(".cdp-input-d-id").prop("checked",!0);let C=!(h||m||f||g),T=t('.cdp-d-option[name="cdp-d-a-posts"]').is(":checked")+0,j=t('.cdp-d-option[name="cdp-d-a-pages"]').is(":checked")+0,D=t('.cdp-d-option[name="cdp-d-a-customs"]').is(":checked")+0;C&&T+j+D>0&&w.length>0?(t("#cdp-d-table-tbody").find("tr").attr("data-ignore",!0),i.refresh(),t(".cdp-delete-info").hide(300),t('[data-empty-info="true"]').find("div").html('You did not select any filter.<br>Click <a href="#" class="cdp-show-the-copies">here</a> to show all copies (of the selected post type) made by this plugin.'),t('[data-empty-info="true"]').addClass("cdp-customized")):i.refresh(),t(".cdp-d-searchbox-c").val(""),x(),0==w.length?(t.cdpNotification("warning","No posts/pages meeting the current filter conditions."),t(".cdp-delete-info").hide(300)):t(".cdp-not-yet-search").is(":visible")||(t(".cdp-d-section").css({"max-height":"",height:""}),t(".cdp-not-yet-search").show(300),t('[data-empty-info="true"]').hasClass("cdp-customized")||t(".cdp-delete-info").show(300),setTimeout(()=>{t(".cdp-d-section").css({"max-height":"",height:""}),t(".cdp-d-section").css({"max-height":`${t(".cdp-d-section").height()}px`})},320))}function s(t){return(t=(t=(t=t.replace(/\<\!\-\-(.*?)\-\-\>/gim,"")).replace(/<[^>]*>/gim," ")).replace(/\s+/gim," ")).trim()}function a(t){return(t=t.split(" ")).length}}),t("body").on("change",".cdp-input-d-id",function(){if("0"==t("#cdp-d-table-pagi-ilosc-wynikow").text())return;let e=parseInt(t("#cdp-d-table-pagi-ilosc-wynikow").text()),o=parseInt(t(".cdp-t-d-ct").text());t(this).is(":checked")?(o++,t(this).parents("tr").addClass("cdp-del")):(o--,t(this).parents("tr").removeClass("cdp-del"));if(t(".cdp-t-d-ct").text(o),o==e)t(".cdp-d-select-all").text("Deselect all"),t(".cdp-d-checkbox-all").prop("checked",!0);else{t(".cdp-d-select-all").text("Select all");let e=t(".cdp-input-d-id:visible");for(let o=0;o<e.length;++o){if(!t(e[o]).is(":checked")){t(".cdp-d-checkbox-all").prop("checked",!1);break}o==e.length-1&&t(".cdp-d-checkbox-all").prop("checked",!0)}}}),t("body").on("change",".cdp-d-checkbox-all",function(e){if("0"==t("#cdp-d-table-pagi-ilosc-wynikow").text())return e.preventDefault(),void t(this).prop("checked",!1);let o=parseInt(t("#cdp-d-table-pagi-ilosc-wynikow").text()),i=t(".cdp-d-checkbox-all").is(":checked"),c=t(".cdp-input-d-id:visible"),n=0;for(let e=0;e<c.length;++e)t(c[e]).is(":checked")&&!i?n--:!t(c[e]).is(":checked")&&i&&n++,t(c[e]).prop("checked",i);let d=parseInt(t(".cdp-t-d-ct").text())+n;t(".cdp-t-d-ct").text(d),d==o?t(".cdp-d-select-all").text("Deselect all"):t(".cdp-d-select-all").text("Select all");let p=t(".cdp-input-d-id:visible").parents("tr"),s=t(".cdp-input-d-id:visible:checked").parents("tr");p.removeClass("cdp-del"),s.addClass("cdp-del")}),t("body").on("click",".cdp-d-select-all",function(){if("0"==t("#cdp-d-table-pagi-ilosc-wynikow").text())return;let e=parseInt(t("#cdp-d-table-pagi-ilosc-wynikow").text()),o=parseInt(t(".cdp-t-d-ct").text()),i=!0;e==o&&(i=!1);$chbs=t(".cdp-input-d-id");for(let e=0;e<$chbs.length;++e)t($chbs[e]).prop("checked",i);t(".cdp-t-d-ct").text(1==i?e:"0"),0==i?(t(".cdp-d-select-all").text("Select all"),t(".cdp-d-checkbox-all").prop("checked",!1),t(".cdp-input-d-id").parents("tr").removeClass("cdp-del")):(t(".cdp-d-checkbox-all").prop("checked",!0),t(".cdp-d-select-all").text("Deselect all"),t(".cdp-input-d-id").parents("tr").addClass("cdp-del"))}),t("body").on("click",".prev_page, .next_page, .page_link",function(){if("0"==t("#cdp-d-table-pagi-ilosc-wynikow").text())return;t(".cdp-input-d-id:visible:checked").length==t(".cdp-input-d-id:visible").length?t(".cdp-d-checkbox-all").prop("checked",!0):t(".cdp-d-checkbox-all").prop("checked",!1)}),t("body").on("click",".cdp-d-real-delete",function e(o=!1,n=null,d=0){if(!t(".cdp-d-just-check-it").is(":checked"))return void t.cdpNotification("warning","Please check that you completed all steps, before this task!");let p=[];if(null===n){let e=t(".cdp-input-d-id:checked");for(let o=0;o<e.length;++o)p.push(parseInt(t(e[o]).attr("name")));if(0==p.length)return void t.cdpNotification("warning","Nothing to do here, please select at least one post to delete.")}else p=n;let s=t(".cdp-d-throttling").val(),l=t(".cdp-d-throttling-count").val(),r=t(".cdp-p-redirections").val(),u=!!t(".cdp-p-just-trash-them").is(":checked");if("1"==s&&(!l||0==l||""==l))return void t.cdpNotification("warning","You have wrong count in throttling field, please fix.");if(p.length>801&&!0!==o){let t=Math.ceil(p.length/800);for(let o=0,i=!0;o<t;++o)o==t-1&&(i=!1),e(i,p.slice(800*o,800*o+800),o);return}t.post(ajaxurl,{action:"cdp_action_handling",token:"cdp",f:"delete_them",ids:p,throttling:s,thc:l,redi:r,thrs:u}).done(e=>{if(t.isJsonString(e)&&(e=t.cdpParse(e)),"success"==e.status){t("#cdp-d-table-tbody").find(".cdp-del").remove();let e=c.posts.filter(t=>!p.includes(t.id)),n=c.pages.filter(t=>!p.includes(t.id)),s=c.custom.filter(t=>!p.includes(t.id));c={posts:e,pages:n,custom:s},!0!==o&&i.refresh(),x(),0==d&&t.cdpNotification("success","Deletion process started, you can close this page now and wait till the process ends!"),w($),!0!==o&&($parent=t(".cdp-d-section").parents(".cdp-collapsible"),$col=t(t($parent[0]).find(".cdp-collapsible-title")[0]),a("true",$col))}else!0!==o&&t.cdpNotification("error",`Something went wrong and we couldn't setup the deletion task. ${"1"==s?"– Please try without throttling.":""}`)}).fail(e=>{!0!==o&&t.cdpNotification("error","Something went wrong and we couldn't setup the deletion task. – Please check console for more info."),console.log(e)})}),t("body").on("change",".cdp-d-throttling",function(){t(".cdp-d-section").css({"max-height":"",height:""}),"1"==t(this).val()?t(".cdp-d-throttling-count-p, .cdp-even-more-th-info").show(300):t(".cdp-d-throttling-count-p, .cdp-even-more-th-info").hide(300);setTimeout(()=>{t(".cdp-d-section").css({"max-height":t(".cdp-d-section").height()})},310)}),t("body").on("change",".cdp-d-throttling-count",function(){let e=parseInt(t(this).val());isNaN(e)?t(this).val(1):e>=1&&e<=10240?e>=1&&e<=1&&t(this).val(1):e<1?t(this).val(1):t(this).val(10240)}),t("body").on("change",".cdp-custom-date-picking",l),t("body").on("mouseover",".cdp-tooltip-copy",function(){t(this).hasClass("tooltipstered")||(t(this).tooltipster({delay:100,timer:400,debug:!1,delayTouch:[100,200],interactive:!0,distance:4,side:"bottom",contentAsHTML:!0,content:t(".cdp-tooltip-content").html(),repositionOnScroll:!0,selfDestruction:!1,trigger:"custom",triggerOpen:{mouseenter:!0,touchstart:!0},triggerClose:{mouseleave:!0,click:!0,tap:!0},functionBefore:S,functionReady:N,functionAfter:Q,functionFormat:M}),t(this).tooltipster("open"))}),t("body").on("keyup",".cdp-d-searchbox-c",function(){if(t('[data-empty-info="true"].cdp-customized').length>0)return;let e=t(this).val();e.length>100&&(e=e.substr(0,100));if(e=(e=e.trim().replace(/\s+/gim," ").toLowerCase()).split(" "),$trs=t("#cdp-d-table-tbody").find("tr"),$trs.length<=0)return;$trs.removeAttr("data-ignore");for(let o=0;o<$trs.length;++o){$tr=t($trs[o]),$title=t($tr.find("td")[1]).text().toLowerCase(),$url=t($tr.find("td")[2]).text().toLowerCase();let i=!1;for(let t=0;t<e.length;++t)if($title.includes(e[t]))i=!0;else{if(!$url.includes(e[t])){i=!1;break}i=!0}0==i&&$tr.attr("data-ignore","true")}clearTimeout(p),p=setTimeout(()=>{i.refresh()},20)}),t("body").on("change",".cdp-data-set",_),t("#wpbody").on("scroll",C),t(window).on("scroll",C),t("body").on("click",".nice-select",C),t("body").on("click",".cdp-show-the-copies",function(e){e.preventDefault(),t(".cdp-d-section").css({"max-height":"",height:""}),t("#cdp-d-table-tbody").find("tr").not('[data-empty-info="true"]').removeAttr("data-ignore"),t(".cdp-d-searchbox-c").val(""),t('[data-empty-info="true"]').addClass("cdp-customized"),parseInt(t("#cdp-d-table-pagi-ilosc-wynikow").text())>0&&t(".cdp-delete-info").show(300);i.refresh(),x(),setTimeout(()=>{t(".cdp-d-section").css({"max-height":t(".cdp-d-section").height()})},310)}),t("body").on("change",".cdp-per-page-select-show",function(){let e=t(this).val();i.changePageSize(e)}),t("body").on("change",'.cdp-d-option[name="cdp-d-b-title"]',T),t("body").on("change",'.cdp-d-option[name="cdp-d-b-slug"]',T),t("body").on("click",".cdp-tab-element",function(){if(t(this).hasClass("cdp-tab-active"))return;if("true"==t(this).attr("data-disabled"))return;let e=t(t(`#${t(this).attr("data-box")}`)[0]),o=t(t(`#${t(".cdp-tab-active").attr("data-box")}`)[0]);if(!e||e.length<=0)return;t(".cdp-tab-active").removeClass("cdp-tab-active"),t(this).addClass("cdp-tab-active"),e.show(),e.css({"max-height":"",height:""});let i=e.height();e.css({"max-height":"0px",opacity:0}),e.animate({"max-height":i+"px",opacity:1},500,function(){let e=t(".cdp-d-section").height();t(".cdp-d-section").css({height:e+"px","max-height":e+"px"})}),t(".cdp-d-section").css({height:"","max-height":""}),o.css({"max-height":o.height()+"px",opacity:1}),o.animate({"max-height":"0px",opacity:0},500,function(){o.hide()}),setTimeout(()=>{o.css({"max-height":"",height:""}),e.css({"max-height":"",height:""})},510);let c=parseInt(t(window).height()/8);t("#wpbody").animate({scrollTop:jQuery(".cdp-d-section")[0].offsetTop-c},500)}),t("body").on("click",".cdp-premium-element",function(t){t.preventDefault()}),t("body").on("click",".cdp-go-to-names-chapter",function(e){e.preventDefault(),L(),a("cdp-name-section-cnx"),setTimeout(()=>{let e=parseInt(t(window).height()/4);t("#wpbody").animate({scrollTop:t(".cdp-name-section-cnx")[0].offsetTop-e},500)},400)}),t("body").on("click",".cdp-close-chapter",j),t("body").on("click",".cdp-save-options",j),t("body").on("click",".cdp-togglable-name-b",function(){"(Name of original)"==t(".cdp-togglable-name-b").text()?(t(".cdp-togglable-name-b").text("(blank)"),t(".cdp-togglable-name-b").tooltipster("content","Change it to (Name of original)")):(t(".cdp-togglable-name-b").text("(Name of original)"),t(".cdp-togglable-name-b").tooltipster("content","Change it to blank"));l()}),t(".cdp-select").niceSelect(),t(".cdp-tooltip").tooltipster({delay:10,debug:!1,delayTouch:[100,200],interactive:!0,distance:4,side:"top",contentAsHTML:!0,maxWidth:600,theme:["tooltipster-noir","tooltipster-noir-customized"],repositionOnScroll:!0}),t(".cdp-tooltip-top").tooltipster({delay:10,debug:!1,delayTouch:[100,200],interactive:!0,distance:6,side:"top",contentAsHTML:!0,maxWidth:400,theme:["tooltipster-noir","tooltipster-noir-customized","cdp-center"],repositionOnScroll:!0}),t("#cdp-d-table").length>0&&(i=new IcPagination(t("#cdp-d-table"),"#cdp-d-table-pagi",{itemsOnPage:25,useParams:!1,emptylist:'<div class="cdp-center">No items to show, try with other filters!</div>'})),t(".cdp-copy-button").on("mouseup",function(){h(!0)});let D=(e,o,i,c)=>t(`<a class="ab-item cdp-dropdown-menu cdp-dd-item cdp-dd-ud${0==e?" cdp-bnew-notis":""}" data-token="${o}">\n <div style="display: block; width: calc(100% - 3px);">\n <div class="cdp-dropdown-left${1==i?" cdp-red":""}">${"delete"==c?"Deleting Posts":"Copying Posts"}</div>\n <div class="cdp-dropdown-right cdp-noti-kill-btn">Kill</div>\n </div>\n </a>`),P=(e,o,i)=>t(`<a class="ab-item cdp-dropdown-menu cdp-dd-item cdp-dd-d${0==e?" cdp-bnew-notis":""}" data-token="${o}">\n <div style="display: block; width: calc(100% - 3px);">\n <div class="cdp-dropdown-left">${"delete"==i?"Deleting Posts":"Copying Posts"}</div>\n <div class="cdp-dropdown-right cdp-noti-hide-btn">Hide</div>\n </div>\n </a>`);function I(t,e){let o=t,i=e;t.length<e.length&&(o=e,i=t);let c=o.length;return 0==c?1:(c-function(t,e){t=t.toLowerCase(),e=e.toLowerCase();let o=new Array;for(let i=0;i<=t.length;i++){let c=i;for(let n=0;n<=e.length;n++)if(0==i)o[n]=n;else if(n>0){let d=o[n-1];t.charAt(i-1)!=e.charAt(n-1)&&(d=Math.min(Math.min(d,c),o[n])+1),o[n-1]=c,c=d}i>0&&(o[e.length]=c)}return o[e.length]}(o,i))/parseFloat(c)}function S(o,i){L(!0),t(".cdp-tooltip-before-options").show(),t(".cdp-tooltip-full-options").hide(),$inputs=t(t(".cdp-tooltip-content").find("input, select"));for(let e=0;e<$inputs.length;++e){let o=t($inputs[e]);if("checkbox"==o.attr("type"))o.is(":checked")?o.attr("checked","checked"):o.removeAttr("checked");else if(t(o).is("select"))if("tooltip-which-profile-first"==t(o).attr("name")){let e=t(t('[name="tooltip-which-profile-first"]')[0]).val();"custom"==e||null==e?setTimeout(()=>{t('[name="tooltip-which-profile-first"]').val("custom")},50):setTimeout(()=>{t('[name="tooltip-which-profile-first"]').val(e)},50)}else{let e=t('[name="tooltip-which-profile-second"] option:selected').map(function(t,e){return this.value}).get()[0];"custom"==e||null==e?setTimeout(()=>{t('[name="tooltip-which-profile-second"]').val("custom")},50):setTimeout(()=>{t('[name="tooltip-which-profile-second"]').val(e)},50)}else o.attr("value",o.val())}return cdp_tooltips_update_content(),e=t(i.origin).attr("data-cdp-id"),!0}function N(e,o){$parent=t(o.origin).parents(".row-actions"),$parent.css({left:0});let i=t(t("a.menu-top.toplevel_page_copy-delete-posts")[0]).attr("href");t(".cdp-tooltip-info-intt").tooltipster({delay:10,debug:!1,delayTouch:[100,200],interactive:!0,distance:6,side:"top",contentAsHTML:!0,content:`Define your copy settings <a href="${i}">here</a>.`,maxWidth:400,theme:["tooltipster-noir","tooltipster-noir-customized","cdp-center"],repositionOnScroll:!0}),s&&jQuery.cdp.isPremium()?t(".cdp-tooltip-premium-spc-3").tooltipster({delay:800,debug:!1,delayTouch:[100,200],interactive:!0,distance:3,side:"top",content:"If you’re on a multisite you can copy it to other sites.",contentAsHTML:!0,maxWidth:290,theme:["tooltipster-noir","tooltipster-noir-customized","cdp-tooltip-premium-css"],repositionOnScroll:!0}):(t(".cdp-tooltip-premium-spc-2").tooltipster({delay:800,debug:!1,delayTouch:[100,200],interactive:!0,distance:3,side:"top",content:'If you’re on a multisite you can copy it to other sites with the Premium Plugin. <a href="https://sellcodes.com/CylMIdJD" target="_blank">Pre-order it now</a>',contentAsHTML:!0,maxWidth:290,theme:["tooltipster-noir","tooltipster-noir-customized","cdp-tooltip-premium-css"],repositionOnScroll:!0}),t(".cdp-tooltip-premium-spc").tooltipster({delay:10,debug:!1,delayTouch:[100,200],interactive:!0,distance:3,side:"top",content:'This feature will come soon as part of the Premium Plugin. You can <a href="https://sellcodes.com/CylMIdJD" target="_blank">pre-order now</a> at a <b>huge discount</b>.',contentAsHTML:!0,maxWidth:290,theme:["tooltipster-noir","tooltipster-noir-customized","cdp-tooltip-premium-css"],repositionOnScroll:!0}),t(".cdp-tooltip-premium-spc, .cdp-tooltip-premium-spc-2").addClass("cdp-premium-element"),t(".cdp-tooltip-premium-spc, .cdp-tooltip-premium-spc-2").find("input, select").prop("disabled",!0),t(".cdp-tooltip-premium-spc-4").tooltipster("content",'You can copy it to other sites with the Premium Plugin.<br><a href="https://sellcodes.com/CylMIdJD" target="_blank">Pre-order it now</a>'),cdp_tooltips_update_content())}function Q(e,o){return $parent=t(o.origin).parents(".row-actions"),$parent.css({left:""}),!1}function M(){return t(t(".cdp-tooltip-content").html())}function A(){setTimeout(()=>{let e=t.tooltipster.instances();for(instance in e)e[instance].reposition()},10)}function L(e=!1){if(e){let e=t.tooltipster.instances();for(instance in e)e[instance].close()}else setTimeout(()=>{let e=t.tooltipster.instances();for(instance in e)e[instance].close()},10)}if(t(".cdp-admin-bar-noti").length>0&&setInterval(w($),7e3),t(".cdp-drag-name").draggable({containment:".cdp-drags-cont",scroll:!1,helper:"clone",revert:"invalid"}),t(".cdp-names-real-input").droppable({drop:function(e,o){$picks=['<div class="cdp-name-box-small cdp-drag" data-cdp-val="0" contenteditable="false"><i class="cdp-novis">[</i>Counter<i class="cdp-novis">]</i></div>','<div class="cdp-name-box-small cdp-drag" data-cdp-val="1" contenteditable="false"><i class="cdp-novis">[</i>CurrentTime<i class="cdp-novis">]</i></div>','<div class="cdp-name-box-small cdp-drag" data-cdp-val="2" contenteditable="false"><i class="cdp-novis">[</i>CurrentDate<i class="cdp-novis">]</i></div>'],t(this).html(`${t(this).html()}${$picks[t(o.helper).attr("data-cdp-val")]}`),l()}}),"undefined"!=typeof pagenow&&["edit-page","edit-post"].includes(pagenow)&&t(".column-cb, .check-column").find("input").prop("checked",!1),t("#titlediv").find(".inside").length>0&&t("#cdp-original-post").length>0){let e=t("#cdp-original-post").attr("data-cdp-parent"),o=t("#cdp-original-post").attr("data-cdp-parent-url");t("#titlediv").find(".inside").append(t(`<div style="padding-left: 10px">This post is a duplicate of <a href="${o}" target="_blank">${e}</a></div>`))}t(".cdp-preloader-c").length>0&&(l(),u(),v(),setTimeout(()=>{r(".cdp-names-prefix"),r(".cdp-names-suffix")},1e3),function(){let e=t(".cdp-tab-active");for(let o=0;o<e.length;o++){let i=t(`#${t(e[o]).attr("data-box")}`);i.show(),i.css({"max-height":"",height:""});let c=i.height();t(c).css({"max-height":c+"px",height:c+"px"})}}()),setTimeout(()=>{t(".cdp-container").is(":hidden")&&setTimeout(()=>{jQuery(".cdp-preloader-c").hide(),jQuery(".cdp-container").css({opacity:0}),jQuery(".cdp-container").show(),jQuery(".cdp-container").animate({opacity:1},300)},400)},5e3)}),jQuery(window).on("load",function(){setTimeout(()=>{jQuery(".cdp-preloader-c").hide(),jQuery(".cdp-container").css({opacity:0}),jQuery(".cdp-container").show(),jQuery(".cdp-container").animate({opacity:1},300);const t=void 0!==jQuery.cdp&&void 0!==jQuery.cdp.isPremium;jQuery(".cdp-tooltip-premium-dc").tooltipster({delay:10,debug:!1,delayTouch:[100,200],interactive:!0,distance:3,side:"top",content:'This feature will come soon as part of the Premium Plugin. You can <a href="https://sellcodes.com/CylMIdJD" target="_blank">pre-order now</a> at a <b>huge discount</b>.',contentAsHTML:!0,maxWidth:290,theme:["tooltipster-noir","tooltipster-noir-customized","cdp-tooltip-premium-css"],repositionOnScroll:!0}),t&&jQuery.cdp.isPremium()?(jQuery(".cdp-tooltip-premium-spc-3").tooltipster({delay:800,debug:!1,delayTouch:[100,200],interactive:!0,distance:3,side:"top",content:"If you’re on a multisite you can copy it to other sites.",contentAsHTML:!0,maxWidth:290,theme:["tooltipster-noir","tooltipster-noir-customized","cdp-tooltip-premium-css"],repositionOnScroll:!0}),jQuery(".cdp-tooltip-premium-spc-3").addClass("cdp-premium-element"),jQuery(".cdp-tooltip-premium-spc-3").find("input, select").prop("disabled",!0)):(jQuery('.cdp-option-premium [value="3"]').prop("disabled",!0),setTimeout(()=>{jQuery(".cdp-premium-in-select").find('.option[data-value="premium"]').addClass("cdp-tooltip-premium disabled"),jQuery(".cdp-option-premium").find('.option[data-value="3"]').addClass("cdp-tooltip-premium disabled"),jQuery(".cdp-tooltip-premium-spc-2").tooltipster({delay:800,debug:!1,delayTouch:[100,200],interactive:!0,distance:3,side:"top",content:'If you’re on a multisite you can copy it to other sites with the Premium Plugin. <a href="https://sellcodes.com/CylMIdJD" target="_blank">Pre-order it now</a>',contentAsHTML:!0,maxWidth:290,theme:["tooltipster-noir","tooltipster-noir-customized","cdp-tooltip-premium-css"],repositionOnScroll:!0}),jQuery(".cdp-tooltip-premium-spc, .cdp-tooltip-premium-spc-2").addClass("cdp-premium-element"),jQuery(".cdp-tooltip-premium-spc, .cdp-tooltip-premium-spc-2").find("input, select").prop("disabled",!0),jQuery(".cdp-tooltip-premium-spc-4").tooltipster("content",'You can copy it to other sites with the Premium Plugin.<br><a href="https://sellcodes.com/CylMIdJD" target="_blank">Pre-order it now</a>'),function(t){let e=void 0!==t?t:".cdp-tooltip-premium",o=-15;isNaN(parseInt(jQuery(e).attr("data-top")))||(o=parseInt(jQuery(e).attr("data-top")));jQuery(e).tooltipster({delay:10,debug:!1,delayTouch:[100,200],interactive:!0,distance:o,side:"top",content:'This feature will come soon as part of the Premium Plugin. You can <a href="https://sellcodes.com/CylMIdJD" target="_blank">pre-order now</a> at a <b>huge discount</b>.',contentAsHTML:!0,maxWidth:290,theme:["tooltipster-noir","tooltipster-noir-customized","cdp-tooltip-premium-css"],repositionOnScroll:!0}),i=e,jQuery(i).addClass("cdp-premium-element"),jQuery(i).find("input, select").prop("disabled",!0);var i}(),cdp_tooltips_update_content()},1e3))},400)}),function(t){function e(t,e){if(!(t.originalEvent.touches.length>1)){t.preventDefault();let o=t.originalEvent.changedTouches[0],i=document.createEvent("MouseEvents");i.initMouseEvent(e,!0,!0,window,1,o.screenX,o.screenY,o.clientX,o.clientY,!1,!1,!1,!1,0,null),t.target.dispatchEvent(i)}}if(t.support.touch="ontouchend"in document,t.support.touch){let o,i=t.ui.mouse.prototype,c=i._mouseInit,n=i._mouseDestroy;i._touchStart=function(t){!o&&this._mouseCapture(t.originalEvent.changedTouches[0])&&(o=!0,this._touchMoved=!1,e(t,"mouseover"),e(t,"mousemove"),e(t,"mousedown"))},i._touchMove=function(t){o&&(this._touchMoved=!0,e(t,"mousemove"))},i._touchEnd=function(t){o&&(e(t,"mouseup"),e(t,"mouseout"),this._touchMoved||e(t,"click"),o=!1)},i._mouseInit=function(){let e=this;e.element.bind({touchstart:t.proxy(e,"_touchStart"),touchmove:t.proxy(e,"_touchMove"),touchend:t.proxy(e,"_touchEnd")}),c.call(e)},i._mouseDestroy=function(){let e=this;e.element.unbind({touchstart:t.proxy(e,"_touchStart"),touchmove:t.proxy(e,"_touchMove"),touchend:t.proxy(e,"_touchEnd")}),n.call(e)}}}(jQuery);
copy-delete-posts.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Copy & Delete Posts
4
  * Plugin URI: https://copy-delete-posts.com
5
  * Description: The best solution to easily make duplicates of your posts & pages, and delete them in one go.
6
- * Version: 1.0.1
7
  * Author: Copy Delete Posts
8
  * Author URI: https://copy-delete-posts.com
9
  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
@@ -16,7 +16,7 @@ if (!defined('ABSPATH')) exit;
16
  * @since 1.0.0
17
  */
18
  // Plugin constants
19
- define('CDP_VERSION', '1.0.1');
20
  define('CDP_WP_VERSION', get_bloginfo('version'));
21
  define('CDP_SCRIPT_DEBUG', false);
22
  $cdp_plug_url = plugins_url('', __FILE__);
@@ -439,6 +439,7 @@ if (!defined('ABSPATH')) exit;
439
  echo cdp_vars($cdp_plug_url, $post_id, $hasParent);
440
  echo cdp_tooltip_content($profiles);
441
  echo cdp_modal($screen, $profiles);
 
442
  });
443
  /** –– **/
444
 
3
  * Plugin Name: Copy & Delete Posts
4
  * Plugin URI: https://copy-delete-posts.com
5
  * Description: The best solution to easily make duplicates of your posts & pages, and delete them in one go.
6
+ * Version: 1.0.2
7
  * Author: Copy Delete Posts
8
  * Author URI: https://copy-delete-posts.com
9
  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
16
  * @since 1.0.0
17
  */
18
  // Plugin constants
19
+ define('CDP_VERSION', '1.0.2');
20
  define('CDP_WP_VERSION', get_bloginfo('version'));
21
  define('CDP_SCRIPT_DEBUG', false);
22
  $cdp_plug_url = plugins_url('', __FILE__);
439
  echo cdp_vars($cdp_plug_url, $post_id, $hasParent);
440
  echo cdp_tooltip_content($profiles);
441
  echo cdp_modal($screen, $profiles);
442
+
443
  });
444
  /** –– **/
445
 
menu/configuration.php CHANGED
@@ -124,7 +124,7 @@ function cdp_configuration() {
124
  <div class="cdp-showcase-3 cdp-left">
125
  <div class="cdp-font-title cdp-f-s-22 cdp-f-w-bold cdp-center">Admin bar</div>
126
  <div class="cfg-img-sc-3 cdp-intro-image cdp-intro-img-3" alt="adminbar">
127
- <img src="<?php echo $cdp_plug_url; ?>/assets/imgs/intro_3.jpg" class="cdp-no-vis cfg-img-sc-3" alt="adminbar">
128
  </div>
129
  </div>
130
  </div>
@@ -174,7 +174,9 @@ function cdp_configuration() {
174
  </div>
175
  </div>
176
  </div>
177
- <div class="cdp-collapsibles" style="padding-top: 5px;">
 
 
178
  <div class="cdp-collapsible" data-cdp-group="mains">
179
  <div class="cdp-collapsible-title">
180
  <div class="cdp-cf">
@@ -353,7 +355,9 @@ function cdp_configuration() {
353
  </div>
354
  </div>
355
  </div>
356
- </div>
 
 
357
  <div class="cdp-collapsible" data-cdp-group="mains">
358
  <div class="cdp-collapsible-title cdp-name-section-cnx">
359
  <div class="cdp-cf">
@@ -444,6 +448,7 @@ function cdp_configuration() {
444
  </div>
445
  </div>
446
 
 
447
  <div class="cdp-collapsible" data-cdp-group="mains">
448
  <div class="cdp-collapsible-title">
449
  <div class="cdp-cf">
@@ -475,12 +480,12 @@ function cdp_configuration() {
475
  <p class="cdp-f-s-18 cdp-f-w-light">However, if you want it as a <b class="cdp-f-w-bold">default setting option</b>, then please select it below: </p>
476
  </div>
477
  <div class="cdp-con-cen">
478
- <span class="cdp-tooltip-premium" data-top="-5" style="padding: 20px 0">
479
  <select class="cdp-other-options cdp-select cdp-select-centered cdp-sel-separat cdp-select-large cdp-c-x-a-v" name="post_converter">
480
  <option value="1"<?php echo ($post_converter == '1' || $post_converter == false)?' selected':''; ?>>Copies will be the same type as the original</option>
481
  <option value="2"<?php echo ($post_converter == '2')?' selected':''; ?>>ALWAYS change the type when copied (posts will become pages, pages will become posts)</option>
482
  </select>
483
- </span>
484
  </div>
485
  <div class=""><h2><b class="cdp-f-s-18 cdp-f-w-bold">User level permissions</b></h2></div>
486
  <div class="cdp-f-s-18 cdp-p-15-25 cdp-f-w-light">Which user role(s) should be able to copy & delete? <i style="color: gray">– The role also must have access to the dashboard.</i></div>
@@ -537,7 +542,6 @@ function cdp_configuration() {
537
  </div>
538
 
539
  <!-- DELETE SECTION -->
540
-
541
  <div class="cdp-collapsible" data-cdp-group="mains">
542
  <div class="cdp-collapsible-title">
543
  <div class="cdp-cf">
@@ -559,12 +563,38 @@ function cdp_configuration() {
559
  <div class="cdp-left cdp-tab-element cdp-tooltip-premium" data-top="-4" data-box="cdp-tabox-automatic" data-disabled="true">
560
  <span class="cdp-relative">Automatic Cleanup <span class="cdp-premium-icon cdp-big-icon"></span></span>
561
  </div>
562
- <div class="cdp-left cdp-tab-element cdp-tooltip-premium" data-top="-4" data-box="cdp-tabox-redirects" data-disabled="true">
563
  <span class="cdp-relative">Redirection <span class="cdp-premium-icon cdp-big-icon"></span></span>
564
  </div>
565
  </div>
566
  <div class="cdp-cont-d-box-tabed" id="cdp-tabox-redirects">
567
- TEST TEST 3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
568
  </div>
569
  <div class="cdp-cont-d-box-tabed" id="cdp-tabox-automatic">
570
  TEST TEST 2
@@ -693,7 +723,7 @@ function cdp_configuration() {
693
  <table id="cdp-d-table" class="cdp-delete-table">
694
  <thead>
695
  <tr class="cdp-f-s-19 cdp-f-w-medium">
696
- <th><input type="checkbox" class="cdp-d-checkbox-all"/></th>
697
  <th>Title</th>
698
  <th>Slug/URL</th>
699
  <th>Type</th>
@@ -833,13 +863,16 @@ function cdp_configuration() {
833
 
834
  </div>
835
  </div>
 
836
  </div>
 
 
837
  <div class="cdp-supports cdp-hide">
838
  <div class="cdp-cf">
839
  <a href="#" target="_blank">
840
  <div class="cdp-left cdp-third cdp-support-box cdp-animated cdp-support-animated cdp-ignore">
841
  <div class="cdp-support-header">
842
- <img class="cdp-support-img" src="https://via.placeholder.com/50" alt="">
843
  <div class="cdp-support-title"><b>Issues? Ask us in the Support Forum!</b></div>
844
  </div>
845
  <div class="cdp-support-desc">Your first port of call. We’ll try to respond quickly!</div>
@@ -848,7 +881,7 @@ function cdp_configuration() {
848
  <a href="#" target="_blank">
849
  <div class="cdp-left cdp-third cdp-support-box cdp-animated cdp-support-animated cdp-ignore">
850
  <div class="cdp-support-header">
851
- <img class="cdp-support-img" src="https://via.placeholder.com/50" alt="">
852
  <div class="cdp-support-title"><b>Get the Premium Plugin</b></div>
853
  </div>
854
  <div class="cdp-support-desc">…which many fancy features and hands-on support.</div>
@@ -857,10 +890,10 @@ function cdp_configuration() {
857
  <div class="cdp-left cdp-third cdp-support-box cdp-show-projects cdp-pointer">
858
  <div class="cdp-center cdp-f20"><b>Check out our other projects</b></div>
859
  <div class="cdp-center">
860
- <div class="cdp-inline cdp-fourth"><img class="cdp-support-img" src="https://via.placeholder.com/50" alt=""></div>
861
- <div class="cdp-inline cdp-fourth"><img class="cdp-support-img" src="https://via.placeholder.com/50" alt=""></div>
862
- <div class="cdp-inline cdp-fourth"><img class="cdp-support-img" src="https://via.placeholder.com/50" alt=""></div>
863
- <div class="cdp-inline cdp-fourth"><img class="cdp-support-img" src="https://via.placeholder.com/50" alt=""></div>
864
  </div>
865
  </div>
866
  </div>
@@ -875,7 +908,7 @@ function cdp_configuration() {
875
  <div class="cdp-cf">
876
  <a href="#" target="_blank">
877
  <div class="cdp-left cdp-fourth cdp-ignore cdp-animated cdp-project-box cdp-center">
878
- <img src="https://via.placeholder.com/170" alt="">
879
  <h3>Backup & Migration</h3>
880
  <div>The best Backup plugin for WordPress!</div>
881
  </div>
@@ -883,27 +916,28 @@ function cdp_configuration() {
883
 
884
  <a href="#" target="_blank">
885
  <div class="cdp-left cdp-fourth cdp-ignore cdp-animated cdp-project-box cdp-center">
886
- <img src="https://via.placeholder.com/170" alt="">
887
  <h3>Ultimatelysocial</h3>
888
  <div>The best Social Media plugin for WordPress!</div>
889
  </div>
890
  </a>
891
  <a href="#" target="_blank">
892
  <div class="cdp-left cdp-fourth cdp-ignore cdp-animated cdp-project-box cdp-center">
893
- <img src="https://via.placeholder.com/170" alt="">
894
  <h3>follow.it</h3>
895
  <div>Get more traffic for your website & follow the news!</div>
896
  </div>
897
  </a>
898
  <a href="#" target="_blank">
899
  <div class="cdp-left cdp-fourth cdp-animated cdp-project-box cdp-center">
900
- <img src="https://via.placeholder.com/170" alt="">
901
  <h3>MyPopUps</h3>
902
  <div>Create the best pop-ups for highest conversion!</div>
903
  </div>
904
  </a>
905
  </div>
906
  </div>
 
907
  </div>
908
  </div>
909
 
124
  <div class="cdp-showcase-3 cdp-left">
125
  <div class="cdp-font-title cdp-f-s-22 cdp-f-w-bold cdp-center">Admin bar</div>
126
  <div class="cfg-img-sc-3 cdp-intro-image cdp-intro-img-3" alt="adminbar">
127
+ <img src="<?php echo $cdp_plug_url; ?>/assets/imgs/intro_3.gif" class="cdp-no-vis cfg-img-sc-3 cfg-img-sc-3-special" alt="adminbar">
128
  </div>
129
  </div>
130
  </div>
174
  </div>
175
  </div>
176
  </div>
177
+ <div class="cdp-collapsibles" style="padding-top: 5px; padding-bottom: 35vh;">
178
+
179
+ <!-- SETTINGS PROFILE SECTION -->
180
  <div class="cdp-collapsible" data-cdp-group="mains">
181
  <div class="cdp-collapsible-title">
182
  <div class="cdp-cf">
355
  </div>
356
  </div>
357
  </div>
358
+ </div>
359
+
360
+ <!-- OTHER SETTINGS PROFILE SECTION -->
361
  <div class="cdp-collapsible" data-cdp-group="mains">
362
  <div class="cdp-collapsible-title cdp-name-section-cnx">
363
  <div class="cdp-cf">
448
  </div>
449
  </div>
450
 
451
+ <!-- GLOBAL SECTION -->
452
  <div class="cdp-collapsible" data-cdp-group="mains">
453
  <div class="cdp-collapsible-title">
454
  <div class="cdp-cf">
480
  <p class="cdp-f-s-18 cdp-f-w-light">However, if you want it as a <b class="cdp-f-w-bold">default setting option</b>, then please select it below: </p>
481
  </div>
482
  <div class="cdp-con-cen">
483
+ <div class="cdp-tooltip-premium" style="width: 663px; margin: 0 auto; height: 60px;" data-top="-10">
484
  <select class="cdp-other-options cdp-select cdp-select-centered cdp-sel-separat cdp-select-large cdp-c-x-a-v" name="post_converter">
485
  <option value="1"<?php echo ($post_converter == '1' || $post_converter == false)?' selected':''; ?>>Copies will be the same type as the original</option>
486
  <option value="2"<?php echo ($post_converter == '2')?' selected':''; ?>>ALWAYS change the type when copied (posts will become pages, pages will become posts)</option>
487
  </select>
488
+ </div>
489
  </div>
490
  <div class=""><h2><b class="cdp-f-s-18 cdp-f-w-bold">User level permissions</b></h2></div>
491
  <div class="cdp-f-s-18 cdp-p-15-25 cdp-f-w-light">Which user role(s) should be able to copy & delete? <i style="color: gray">– The role also must have access to the dashboard.</i></div>
542
  </div>
543
 
544
  <!-- DELETE SECTION -->
 
545
  <div class="cdp-collapsible" data-cdp-group="mains">
546
  <div class="cdp-collapsible-title">
547
  <div class="cdp-cf">
563
  <div class="cdp-left cdp-tab-element cdp-tooltip-premium" data-top="-4" data-box="cdp-tabox-automatic" data-disabled="true">
564
  <span class="cdp-relative">Automatic Cleanup <span class="cdp-premium-icon cdp-big-icon"></span></span>
565
  </div>
566
+ <div class="cdp-left cdp-tab-element" data-box="cdp-tabox-redirects">
567
  <span class="cdp-relative">Redirection <span class="cdp-premium-icon cdp-big-icon"></span></span>
568
  </div>
569
  </div>
570
  <div class="cdp-cont-d-box-tabed" id="cdp-tabox-redirects">
571
+ <?php if ($areWePro && function_exists('cdpp_automated_redirects')) { ?>
572
+ <?php cdpp_automated_redirects($cdp_plug_url); ?>
573
+ <?php } else { ?>
574
+ <div class="cdp-con-cen">
575
+ <div class="cdp-center cdp-padding" style="padding-top: 50px; padding-bottom: 30px;">
576
+ <img src="<?php echo $cdp_plug_url; ?>/assets/imgs/redirections.png" alt="">
577
+ </div>
578
+ <div class="cdp-lh-24 cdp-black-all" style="max-width: 82%; margin: 0 auto;">
579
+ <div class="cdp-f-s-19 cdp-f-w-regular cdp-padding">
580
+ As part of the <span class="cdp-green">premium plugin</span> you can enable redirects, so that the URLs of your deleted posts/pages automatically take visitors to the version which you decided to keep.
581
+ </div>
582
+ <div class="cdp-f-s-19 cdp-f-w-regular cdp-padding">
583
+ This isn’t just good for your visitors, but also for SEO: the “link juice” from your old (deleted) articles will be forwarded to the versions you keep, helping you to rank higher in search engines.
584
+ </div>
585
+ <div class="cdp-f-s-19 cdp-f-w-regular cdp-padding">
586
+ And: you can also use this feature for any other redirections you may need
587
+ (not only redirects from deleted posts/pages)!
588
+ </div>
589
+ </div>
590
+ <br />
591
+ <div class="cdp-center cdp-padding-15-h" style="padding-bottom: 60px;">
592
+ <a href="https://sellcodes.com/CylMIdJD" target="_blank">
593
+ <button class="cdp-button cdp-f-s-21 cdp-f-w-medium" style="width: 465px; height: 70px; border-radius: 35px;">Go premium now</button>
594
+ </a>
595
+ </div>
596
+ </div>
597
+ <?php } ?>
598
  </div>
599
  <div class="cdp-cont-d-box-tabed" id="cdp-tabox-automatic">
600
  TEST TEST 2
723
  <table id="cdp-d-table" class="cdp-delete-table">
724
  <thead>
725
  <tr class="cdp-f-s-19 cdp-f-w-medium">
726
+ <th><label><input type="checkbox" class="cdp-d-checkbox-all"/></label></th>
727
  <th>Title</th>
728
  <th>Slug/URL</th>
729
  <th>Type</th>
863
 
864
  </div>
865
  </div>
866
+
867
  </div>
868
+
869
+ <!-- SUPPORTS – FOR FUTURE – ONLY CONCEPT -->
870
  <div class="cdp-supports cdp-hide">
871
  <div class="cdp-cf">
872
  <a href="#" target="_blank">
873
  <div class="cdp-left cdp-third cdp-support-box cdp-animated cdp-support-animated cdp-ignore">
874
  <div class="cdp-support-header">
875
+ <img class="cdp-support-img" src="" alt="">
876
  <div class="cdp-support-title"><b>Issues? Ask us in the Support Forum!</b></div>
877
  </div>
878
  <div class="cdp-support-desc">Your first port of call. We’ll try to respond quickly!</div>
881
  <a href="#" target="_blank">
882
  <div class="cdp-left cdp-third cdp-support-box cdp-animated cdp-support-animated cdp-ignore">
883
  <div class="cdp-support-header">
884
+ <img class="cdp-support-img" src="" alt="">
885
  <div class="cdp-support-title"><b>Get the Premium Plugin</b></div>
886
  </div>
887
  <div class="cdp-support-desc">…which many fancy features and hands-on support.</div>
890
  <div class="cdp-left cdp-third cdp-support-box cdp-show-projects cdp-pointer">
891
  <div class="cdp-center cdp-f20"><b>Check out our other projects</b></div>
892
  <div class="cdp-center">
893
+ <div class="cdp-inline cdp-fourth"><img class="cdp-support-img" src="" alt=""></div>
894
+ <div class="cdp-inline cdp-fourth"><img class="cdp-support-img" src="" alt=""></div>
895
+ <div class="cdp-inline cdp-fourth"><img class="cdp-support-img" src="" alt=""></div>
896
+ <div class="cdp-inline cdp-fourth"><img class="cdp-support-img" src="" alt=""></div>
897
  </div>
898
  </div>
899
  </div>
908
  <div class="cdp-cf">
909
  <a href="#" target="_blank">
910
  <div class="cdp-left cdp-fourth cdp-ignore cdp-animated cdp-project-box cdp-center">
911
+ <img src="" alt="">
912
  <h3>Backup & Migration</h3>
913
  <div>The best Backup plugin for WordPress!</div>
914
  </div>
916
 
917
  <a href="#" target="_blank">
918
  <div class="cdp-left cdp-fourth cdp-ignore cdp-animated cdp-project-box cdp-center">
919
+ <img src="" alt="">
920
  <h3>Ultimatelysocial</h3>
921
  <div>The best Social Media plugin for WordPress!</div>
922
  </div>
923
  </a>
924
  <a href="#" target="_blank">
925
  <div class="cdp-left cdp-fourth cdp-ignore cdp-animated cdp-project-box cdp-center">
926
+ <img src="" alt="">
927
  <h3>follow.it</h3>
928
  <div>Get more traffic for your website & follow the news!</div>
929
  </div>
930
  </a>
931
  <a href="#" target="_blank">
932
  <div class="cdp-left cdp-fourth cdp-animated cdp-project-box cdp-center">
933
+ <img src="" alt="">
934
  <h3>MyPopUps</h3>
935
  <div>Create the best pop-ups for highest conversion!</div>
936
  </div>
937
  </a>
938
  </div>
939
  </div>
940
+
941
  </div>
942
  </div>
943
 
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: CopyDeletePosts
3
  Tags: Copy posts, Delete posts, Copy pages, Delete pages, Duplicate pages
4
  Requires at least: 4.9
5
  Tested up to: 5.3.2
6
- Stable tag: 1.0.1
7
  License: GPLv3
8
  Requires PHP: 7.0
9
 
@@ -80,15 +80,27 @@ It should fix the issue :)
80
 
81
 
82
  == Screenshots ==
83
- 1. This is the description for the first screenshot
 
 
 
 
 
 
 
84
 
85
  == Changelog ==
86
 
 
 
 
 
 
87
  = 1.0.1 =
88
  * Improved deletion process above 800 posts
89
  * Fixed sorting issues
90
  * Fixed specified copies options (via tooltip)
91
- * Fixed tooltip (flashing) issues on smaller screens
92
 
93
  = 1.0.0 =
94
  * Initial release
3
  Tags: Copy posts, Delete posts, Copy pages, Delete pages, Duplicate pages
4
  Requires at least: 4.9
5
  Tested up to: 5.3.2
6
+ Stable tag: 1.0.2
7
  License: GPLv3
8
  Requires PHP: 7.0
9
 
80
 
81
 
82
  == Screenshots ==
83
+ 1. Plugin settings page
84
+ 2. Copy preset settings
85
+ 3. Customizable naming system
86
+ 4. Global settings & permission system
87
+ 5. Manual clean up
88
+ 6. Quick-copy tooltip
89
+ 7. Tooltip individual copy
90
+ 8. Copy from Gutenberg editor
91
 
92
  == Changelog ==
93
 
94
+ = 1.0.2 =
95
+ * Added new cool GIF inside the intro
96
+ * Added photos to the screenshots library
97
+ * Removed unnecessary stuff in code
98
+
99
  = 1.0.1 =
100
  * Improved deletion process above 800 posts
101
  * Fixed sorting issues
102
  * Fixed specified copies options (via tooltip)
103
+ * Fixed tooltip (flashing) issues on smaller screens
104
 
105
  = 1.0.0 =
106
  * Initial release