first commit

This commit is contained in:
2024-12-23 22:14:28 +01:00
commit f4cedfc60e
6641 changed files with 2890956 additions and 0 deletions

View File

@@ -0,0 +1 @@
#delete-action,#publishing-action{float: none!important;line-height: 1.5}#delete-action{width: calc(100% - 121px)!important}#publishing-action{position: absolute!important;right: 10px!important;bottom: 12px!important}@media screen and (max-width: 782px){#delete-action,#publishing-action{line-height: 1.6!important}#publishing-action{bottom: 7px!important}}#duplicate-action{display: none}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
.editor-post-trash{margin-left: 5px!important}.cdp-editor-gutenberg-copy{margin-right: 5px!important;border: 1px solid blue;border-radius: 3px;color: blue}.cdp-red{color: red!important;font-style: italic!important;pointer-events: none!important}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
.cdp-admin-bar-icon::before{font-family: dashicons;content: '\f105';top: 4px;position: relative;color: rgba(240,245,250,.6);margin-right: 3px;font-size: 18px}.cdp-admin-bar-icon{line-height: 1!important}.cdp-admin-bar-copy{line-height: 1!important}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 463 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 507 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 538 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 524 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 843 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 502 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 416 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 485 B

View File

@@ -0,0 +1,44 @@
<svg width="171" height="77" viewBox="0 0 171 77" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="86.5658" cy="43.9003" r="33.0263" fill="#77D501"/>
<path d="M101.758 48.5241H71.3738C74.0159 53.8083 77.3185 61.0741 86.5659 61.0741C95.8132 61.0741 99.7764 52.9276 101.758 48.5241Z" fill="white"/>
<path d="M70.7135 39.9373C70.7135 38.6163 71.5061 35.9742 74.6767 35.9742C77.8472 35.9742 78.6398 38.6163 78.6398 39.9373" stroke="#000500" stroke-width="2.6421" stroke-linecap="round"/>
<path d="M93.1713 39.9373C93.1713 38.6163 93.9639 35.9742 97.1344 35.9742C100.305 35.9742 101.098 38.6163 101.098 39.9373" stroke="#000500" stroke-width="2.6421" stroke-linecap="round"/>
<path d="M3.43707 29.3057L1.27364 28.7538L2.76858 24.7226L5.92317 23.9845L3.43707 29.3057Z" fill="#9DE8FF"/>
<path d="M127.346 0.090332C128.251 1.54276 129.899 1.3648 131.104 0.707937C130.919 0.807383 131.138 2.1342 130.938 2.24149C129.732 2.89836 128.085 3.07631 127.179 1.62388C127 1.33863 127.516 0.365116 127.346 0.090332Z" fill="#78D500"/>
<path d="M133.083 39.7929C131.374 39.6973 130.57 41.1467 130.414 42.5101C130.439 42.3013 129.228 41.7165 129.256 41.4911C129.412 40.1276 130.216 38.6782 131.925 38.7738C132.261 38.7917 132.76 39.7742 133.083 39.7929Z" fill="#77D501"/>
<path d="M45.8559 60.828C46.9933 61.5943 48.1401 60.9256 48.8069 60.0512C48.7038 60.1846 49.2977 61.0835 49.1864 61.2274C48.5197 62.1018 47.3728 62.7705 46.2354 62.0042C46.0112 61.8541 46.0705 60.9732 45.8559 60.828Z" fill="#76FFA2"/>
<path d="M29.4909 2.00425L28.0653 5.37453L26.8488 3.76672L27.8777 0.090332L29.4909 2.00425Z" fill="#FFC887"/>
<path d="M71.3705 4.08609L72.0804 1.68428L73.869 0.345451L74.2727 6.11676L71.3705 4.08609Z" fill="url(#paint0_linear_2_882)"/>
<path d="M87.4414 26.3795L87.1276 28.3197L84.1297 27.1508L83.4653 24.3801L87.4414 26.3795Z" fill="#E94C93"/>
<path d="M169.175 1.3237L170.513 2.76289L167.749 4.4109L165.155 3.23361L169.175 1.3237Z" fill="#E94C93"/>
<path d="M32.86 39.0054L31.5857 38.9204L31.7591 35.8406L33.3714 34.8691L32.86 39.0054Z" fill="#E94C93"/>
<path d="M113.713 12.3042L112.713 11.5103L114.605 9.07421L116.484 9.19054L113.713 12.3042Z" fill="#E94C4C"/>
<path d="M165.773 40.5307L167.5 41.1844L166.123 45.2027L163.537 45.8149L165.773 40.5307Z" fill="#3B4DF0"/>
<path d="M36.4262 75.1937L35.9293 77L32.3428 75.5788L31.6922 72.8829L36.4262 75.1937Z" fill="url(#paint1_linear_2_882)"/>
<path d="M146.995 71.2653L148.385 71.5018L147.682 74.4758L145.743 75.2284L146.995 71.2653Z" fill="#D886FF"/>
<path d="M49.6672 19.4817L48.8837 18.4327L51.0626 17.1708L52.778 18.0055L49.6672 19.4817Z" fill="#FFE68D"/>
<defs>
<linearGradient id="paint0_linear_2_882" x1="140.08" y1="-150.3" x2="-16.8617" y2="203.176" gradientUnits="userSpaceOnUse">
<stop offset="0.1124" stop-color="#F0C83B"/>
<stop offset="0.2416" stop-color="#F1563C"/>
<stop offset="0.2688" stop-color="#E65352"/>
<stop offset="0.3232" stop-color="#D34F7A"/>
<stop offset="0.3666" stop-color="#C74C92"/>
<stop offset="0.3933" stop-color="#C34B9B"/>
<stop offset="0.7865" stop-color="#00B3C1"/>
<stop offset="0.8146" stop-color="#00B36C"/>
<stop offset="1" stop-color="#00B3C1"/>
</linearGradient>
<linearGradient id="paint1_linear_2_882" x1="-7.63982" y1="174.969" x2="244.551" y2="-448.84" gradientUnits="userSpaceOnUse">
<stop offset="0.1124" stop-color="#F0C83B"/>
<stop offset="0.2416" stop-color="#F1563C"/>
<stop offset="0.2688" stop-color="#E65352"/>
<stop offset="0.3232" stop-color="#D34F7A"/>
<stop offset="0.3666" stop-color="#C74C92"/>
<stop offset="0.3933" stop-color="#C34B9B"/>
<stop offset="0.7865" stop-color="#00B3C1"/>
<stop offset="0.8146" stop-color="#00B36C"/>
<stop offset="1" stop-color="#00B3C1"/>
</linearGradient>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

View File

@@ -0,0 +1 @@
jQuery(document).ready(function(o){["edit-page","edit-post"].includes(pagenow)||($bulktop=o("#bulk-action-selector-top"),$bulkbot=o("#bulk-action-selector-bottom"),($bulktop.length>0||$bulkbot.length>0)&&(0==$bulktop.find('[value="cdp_bulk_copy"]').length&&$bulktop.append('<option value="cdp_bulk_copy">'+cdpBulkJS.strOptCopy+"</option>"),0==$bulkbot.find('[value="cdp_bulk_copy"]').length&&$bulkbot.append('<option value="cdp_bulk_copy">'+cdpBulkJS.strOptCopy+"</option>"),o("#cdp-current-post-id").remove()))});

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
jQuery(document).ready(function(t){if(t(document).on("readystatechange",function(){e(10)}),e(10),e(100),e(300),$button=t(t(".edit-post-header__settings").find('.components-button.components-icon-button[aria-label="Settings"]')[0]),$button.on("click",e),t(".edit-post-sidebar__panel-tab").on("click",e),t("#cdp-original-post").length>0){let e=t("#cdp-original-post").attr("data-cdp-parent"),n=t("#cdp-original-post").attr("data-cdp-parent-url");t(".edit-post-header-toolbar").append(t(`<div class="cdp-original-info-b">This post is a duplicate of <a href="${n}" target="_blank">${e}</a></div>`))}function e(e=100){"number"!=typeof e&&(e=100),setTimeout(()=>{0==t(".cdp-editor-gutenberg-copy").length&&($parent=t(".editor-post-trash").parents(".components-panel__row"),$html='<button type="button" class="components-button cdp-editor-gutenberg-copy is-button is-default is-large">'+cdpGutenbergJS.cdpCopy+"</button>",t($parent).prepend($html),t($html).insertBefore(".interface-pinned-items"))},e)}setInterval(()=>{t(".cdp-editor-gutenberg-copy").length<=0&&e(10)},3e3),t(window).on("resize",e)});

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
jQuery(document).ready(function(o){o("#cdp-purl").val();let t="default";function e(){o.cdpModal("cdp-copy-modal-global");let t=o("select.cdp-modal-input-profiles-r").val();void 0!==t&&null!=t&&"alloptions"!=t||(t="default"),o('select.cdp-input-dynamic[name="tooltip-which-profile-second-modal"]').val(t),o('select.cdp-input-dynamic[name="tooltip-which-profile-second-modal"]').trigger("change")}function c(){if(o("#cdp-current-post-id").length>0)return[o("#cdp-current-post-id").val()];$rows=o("#the-list").find("tr"),$ids=[];for(var t=0;t<$rows.length;t++){let e=o($rows[t]);e.find('input[name="post[]"]').is(":checked")&&$ids.push(e.find('input[name="post[]"]').attr("value"))}return $ids}function n(t=(()=>{})){window.onbeforeunload=null,$e=o(".cdp-copy-loader-overlay"),$e.is(":hidden")||$e.animate({opacity:0},300,function(){$e.hide(),t(!0)})}o(".cdp-admin-bar-copy").on("click",e),o("body").on("click",".cdp-editor-gutenberg-copy",e),o("body").on("click",".cdp-copy-btn-editor",e),o("body").on("click",".cdp-copy-modal-button",function(){let e=o(this).attr("data-cdp-btn"),i=["copy-quick","copy-custom","copy-custom-link"];if(i.includes(e)){let d={type:e},l=c(),p=o(".cdp-modal-checkboxes").find(".cdp-modal-option-r");if(l.length<=0)return void o.cdpNotification("warning",cdpModalJS.strRowCopyTryAgain);let a=o(".cdp-modal-input-profiles-r").val();d.custom={},d.times=o(".cdp-modal-input-times").val(),d.swap="2"==o(".cdp-swap").val()?"true":"false",d.profile=a,o(".cdp-multiple-sites-selector").is(":hidden")?d.site=o(".cdp-multi-site-at-once-selector select").val():d.site=o('.cdp-input-dynamic[name="tooltip-which-site-second-modal"]').val();let s=["clear","alloptions","custom","custom_named","null","undefined",null,void 0];if(a&&!s.includes(a)&&(t=a),!d.profile){if(!t||s.includes(t))return o.cdpNotification("warning",cdpModalJS.strSettCopyIssue),void n();d.profile=t}for(let t=0;t<p.length;++t)d.custom[o(p[t]).attr("name")]=o(p[t]).is(":checked");d.custom.taxonomy=d.custom.cdp_taxonomy,delete d.custom.cdp_taxonomy,setTimeout(()=>{let t=o.cdptipster.instances();for(instance in t)t[instance].close()},10),function(t=(()=>{})){window.onbeforeunload=(()=>cdpModalJS.strCopyInProgress),$e=o(".cdp-copy-loader-overlay"),$e.is(":hidden")&&($e.show(),$e.animate({opacity:1},300,function(){t(!0)}))}(()=>{o.ajax({type:"POST",url:ajaxurl,data:{action:"cdp_action_handling",token:"cdp",f:"copy_post",nonce:cdpGlobalJS.ajaxNonce,origin:"modal",id:l,data:d},timeout:0}).done(function(t){o.isJsonString(t)&&(t=o.cdpParse(t));"error"==t.status?o.cdpNotification("error",cdpModalJS.strPostCopyIssue):(n(),e==i[2]||t.link&&t.link.length>0?"pConv"==t.link?(o.post(ajaxurl,{action:"cdp_action_handling",nonce:cdpGlobalJS.ajaxNonce,token:"cdp",f:"delete_success_img"}),"-28"==o(".cdp-copy-alert-success").position().top&&o(".cdp-copy-alert-success").animate({top:"32px",opacity:1},300),setTimeout(()=>{"32"==o(".cdp-copy-alert-success").position().top&&o(".cdp-copy-alert-success").animate({top:"-28px",opacity:0},300)},3e3),o.cdpModalClose("cdp-copy-modal-global")):window.location.href=t.link:"undefined"==typeof pagenow||"post"==pagenow||"page"==pagenow?(o.post(ajaxurl,{action:"cdp_action_handling",nonce:cdpGlobalJS.ajaxNonce,token:"cdp",f:"delete_success_img"}),"-28"==o(".cdp-copy-alert-success").position().top&&o(".cdp-copy-alert-success").animate({top:"32px",opacity:1},300),setTimeout(()=>{"32"==o(".cdp-copy-alert-success").position().top&&o(".cdp-copy-alert-success").animate({top:"-28px",opacity:0},300)},3e3),o("#cdp_notice_error_modal").length>0&&(o("#cdp_notice_error_modal").show(),o("#cdp_notice_error_modal").fadeIn(300),o("#cdp_notice_error_modal").animate({opacity:1},500),o("#cdp_notice_error_modal .cdp_notice_content").animate({opacity:1,top:"50%"},500)),o.cdpModalClose("cdp-copy-modal-global")):location.reload())}).fail(function(t){o.cdpNotification("error",cdpModalJS.strPostCopyIssueConsoleInfo),n(),console.log(t),console.log(t.responseText)})})}else o.cdpNotification(cdpModalJS.strRecogBtnIssue)}),o("body").on("click",".cdp-modal-copy-times-content .cdp-multiple-sites-selector",function(){o(".cdp-modal-copy-times-content .cdp-modal-select-2").fadeOut(300),o(".cdp-modal-copy-times-content .cdp-multiple-sites-selector").hide(300),o(".cdp-modal-copy-times-content .cdp-multi-site-at-once-selector").show(300)}),o("body").on("change","select.cdp-modal-input-profiles-r",function(){let e=["clear","alloptions","custom","custom_named","null","undefined",null,void 0];o(this).val()&&!e.includes(o(this).val())&&(t=o(this).val())}),o("#posts-filter").on("submit",function(t){"cdp_bulk_copy"==o("#bulk-action-selector-top").val()&&(t.preventDefault(),$ids=c(),$ids.length<=0?o.cdpNotification("warning",cdpModalJS.strRowCopyIssue):e())})});

View File

@@ -0,0 +1 @@
!function(e){e.fn.cdpNiceSelect=function(t){function s(t){t.after(e("<div></div>").addClass("cdp-nice-select").addClass(t.attr("class")||"").addClass(t.attr("disabled")?"disabled":"").attr("tabindex",t.attr("disabled")?null:"0").html('<span class="current"></span><ul class="list"></ul>'));var s=t.next(),c=t.find("option"),n=t.find("option:selected");s.find(".current").html(n.data("display")||n.text()),c.each(function(t){var c=e(this),n=c.data("display");s.find("ul").append(e("<li></li>").attr("data-value",c.val()).attr("data-display",n||null).addClass("option"+(c.is(":selected")?" selected":"")+(c.is(":disabled")?" disabled":"")).html(c.text()))})}if("string"==typeof t)return"update"==t?this.each(function(){var t=e(this),c=e(this).next(".cdp-nice-select"),n=c.hasClass("open");c.length&&(c.remove(),s(t),n&&t.next().trigger("click"))}):"destroy"==t?(this.each(function(){var t=e(this),s=e(this).next(".cdp-nice-select");s.length&&(s.remove(),t.css("display",""))}),0==e(".cdp-nice-select").length&&e(document).off(".cdp_nice_select")):console.log('Method "'+t+'" does not exist.'),this;this.hide(),this.each(function(){var t=e(this);t.next().hasClass("cdp-nice-select")||s(t)}),e(document).off(".cdp_nice_select"),e(document).on("click.cdp_nice_select",".cdp-nice-select",function(t){var s=e(this);e(".cdp-nice-select").not(s).removeClass("open"),s.toggleClass("open"),s.hasClass("open")?(s.find(".option"),s.find(".focus").removeClass("focus"),s.find(".selected").addClass("focus")):s.focus()}),e(document).on("click.cdp_nice_select",function(t){0===e(t.target).closest(".cdp-nice-select").length&&e(".cdp-nice-select").removeClass("open").find(".option")}),e(document).on("click.cdp_nice_select",".cdp-nice-select .option:not(.disabled)",function(t){var s=e(this),c=s.closest(".cdp-nice-select");c.find(".selected").removeClass("selected"),s.addClass("selected");var n=s.data("display")||s.text();c.find(".current").text(n),c.prev("select").val(s.data("value")).trigger("change")}),e(document).on("keydown.cdp_nice_select",".cdp-nice-select",function(t){var s=e(this),c=e(s.find(".focus")||s.find(".list .option.selected"));if(32==t.keyCode||13==t.keyCode)return s.hasClass("open")?c.trigger("click"):s.trigger("click"),!1;if(40==t.keyCode){if(s.hasClass("open")){var n=c.nextAll(".option:not(.disabled)").first();n.length>0&&(s.find(".focus").removeClass("focus"),n.addClass("focus"))}else s.trigger("click");return!1}if(38==t.keyCode){if(s.hasClass("open")){var l=c.prevAll(".option:not(.disabled)").first();l.length>0&&(s.find(".focus").removeClass("focus"),l.addClass("focus"))}else s.trigger("click");return!1}if(27==t.keyCode)s.hasClass("open")&&s.trigger("click");else if(9==t.keyCode&&s.hasClass("open"))return!1});var c=document.createElement("a").style;return c.cssText="pointer-events:auto","auto"!==c.pointerEvents&&e("html").addClass("no-csspointerevents"),this}}(jQuery),jQuery(document).ready(function(e){e("body").on("mousewheel DOMMouseScroll",".cdp-nice-select .list, .cdp-content-with-scroll",function(t){let s=null;"mousewheel"==t.type?s=-1*t.originalEvent.wheelDelta:"DOMMouseScroll"==t.type&&(s=40*t.originalEvent.detail),s&&(t.preventDefault(),e(this).scrollTop(s+e(this).scrollTop()))})});

View File

@@ -0,0 +1 @@
jQuery(document).ready(function(e){});

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long