first
This commit is contained in:
@ -0,0 +1 @@
|
||||
<?php return array('dependencies' => array('jquery'), 'version' => 'a5acab910f687a1d18d9');
|
@ -0,0 +1 @@
|
||||
!function(){"use strict";var e={n:function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,{a:n}),n},d:function(t,n){for(var r in n)e.o(n,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})},o:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}},t=window.jQuery,n=e.n(t);const{ajaxurl:r,VPAdminVariables:a}=window;n()('select[name="vp_general[portfolio_archive_page]"]').select2({ajax:{url:r,dataType:"json",delay:250,data(e){return{q:e.term,selected:this[0].value,nonce:a.nonce,action:"vp_get_pages_list"}},processResults(e){const t=[],r=this.$element.select2("data");let a=!1;return r&&r[0]&&r[0].selected&&(a=Number(r[0].id),t.push({id:a,text:r[0].text})),e&&n().each(e,((e,n)=>{a&&a===n[0]||t.push({id:n[0],text:n[1]})})),{results:t}},cache:!0}})}();
|
@ -0,0 +1 @@
|
||||
<?php return array('dependencies' => array('jquery'), 'version' => '9c6d0bd9ffc24de033f3');
|
@ -0,0 +1 @@
|
||||
!function(){"use strict";var e={n:function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return e.d(t,{a:t}),t},d:function(n,t){for(var o in t)e.o(t,o)&&!e.o(n,o)&&Object.defineProperty(n,o,{enumerable:!0,get:t[o]})},o:function(e,n){return Object.prototype.hasOwnProperty.call(e,n)}},n=window.jQuery,t=e.n(n);const{ajaxurl:o,VPAskReviewNotice:i}=window;t()("body").on("click",".vpf-review-plugin-notice-dismiss",(function(e){const n=t()(this),r=n.attr("data-vpf-review-action");"yes"!==r&&e.preventDefault(),n.closest(".notice").slideUp("slow"),t().post(o,{action:"vpf_dismiss_ask_review_notice",type:r,nonce:i.nonce})}))}();
|
@ -0,0 +1 @@
|
||||
<?php return array('dependencies' => array('jquery'), 'version' => '04e0dbca72c32ccb2701');
|
@ -0,0 +1 @@
|
||||
!function(){"use strict";var e={n:function(n){var i=n&&n.__esModule?function(){return n.default}:function(){return n};return e.d(i,{a:i}),i},d:function(n,i){for(var o in i)e.o(i,o)&&!e.o(n,o)&&Object.defineProperty(n,o,{enumerable:!0,get:i[o]})},o:function(e,n){return Object.prototype.hasOwnProperty.call(e,n)}},n=window.jQuery,i=e.n(n);const{elementorFrontend:o,VPAdminElementorVariables:r}=window,t=i()(window);t.on("elementor/frontend/init",(e=>{if(!r)return;const{target:n}=e;function a(){const e=n.jQuery(n.document).width();n.jQuery.find(".visual-portfolio-elementor-preview iframe").forEach((n=>{const o=i()(n),r=o.parent().width();o.css({width:e}),n.iFrameResizer&&(n.iFrameResizer.sendMessage({name:"resize",width:r}),n.iFrameResizer.resize())}))}var c,u,l,d;t.on("resize",function(e,n,i){var o,r=i||{},t=r.noTrailing,a=void 0!==t&&t,c=r.noLeading,u=void 0!==c&&c,l=r.debounceMode,d=void 0===l?void 0:l,s=!1,f=0;function m(){o&&clearTimeout(o)}function v(){for(var i=arguments.length,r=new Array(i),t=0;t<i;t++)r[t]=arguments[t];var c=this,l=Date.now()-f;function v(){f=Date.now(),n.apply(c,r)}function p(){o=void 0}s||(u||!d||o||v(),m(),void 0===d&&l>e?u?(f=Date.now(),a||(o=setTimeout(d?p:v,e))):v():!0!==a&&(o=setTimeout(d?p:v,void 0===d?e-l:e)))}return v.cancel=function(e){var n=(e||{}).upcomingOnly,i=void 0!==n&&n;m(),s=!i},v}(300,(c=a,u=[],l=null,d=function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];u=n,l||(l=requestAnimationFrame((function(){l=null,c.apply(void 0,u)})))},d.cancel=function(){l&&(cancelAnimationFrame(l),l=null)},d))),o.hooks.addAction("frontend/element_ready/visual-portfolio.default",(e=>{const n=i()(e).find(".visual-portfolio-elementor-preview"),o=n.find("iframe"),t=n.attr("data-id"),c=`${r.preview_url+(r.preview_url.split("?")[1]?"&":"?")}vp_preview_frame=true&vp_preview_type=elementor&vp_preview_frame_id=${t}&vp_preview_nonce=${r.nonce}`;o.attr("src",c),i().fn.iFrameResize&&o.iFrameResize({onInit(){a()},onMessage({message:e}){"clicked"===e&&(o.closest(".elementor-element").find(".elementor-editor-element-edit").click(),window.focus())}})}))}))}();
|
@ -0,0 +1 @@
|
||||
<?php return array('dependencies' => array(), 'version' => '540fe6b74d5bdff27971');
|
@ -0,0 +1 @@
|
||||
!function(){const{tinymce:t,VPTinyMCEData:i}=window;if(void 0!==i&&i.layouts.length){const l=[{text:"",value:""}];Object.keys(i.layouts).forEach((t=>{l.push({text:i.layouts[t].title,value:i.layouts[t].id})})),t.create("tinymce.plugins.visual_portfolio",{init(t){t.addButton("visual_portfolio",{type:"listbox",title:i.plugin_name,icon:"visual-portfolio",classes:"visual-portfolio-btn",onclick(){this.menu&&this.menu.$el.find(".mce-first").hide()},onselect(){this.value()&&t.insertContent(`[visual_portfolio id="${this.value()}"]`),this.value("")},values:l,value:""})}}),t.PluginManager.add("visual_portfolio",t.plugins.visual_portfolio)}}();
|
@ -0,0 +1 @@
|
||||
<?php return array('dependencies' => array(), 'version' => '31d6cfe0d16ae931b73c');
|
@ -0,0 +1 @@
|
||||
<?php return array('dependencies' => array('jquery', 'wp-compose'), 'version' => '6387ffe7069208ed46b3');
|
@ -0,0 +1 @@
|
||||
!function(){"use strict";var e={n:function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return e.d(t,{a:t}),t},d:function(n,t){for(var o in t)e.o(t,o)&&!e.o(n,o)&&Object.defineProperty(n,o,{enumerable:!0,get:t[o]})},o:function(e,n){return Object.prototype.hasOwnProperty.call(e,n)}},n=window.jQuery,t=e.n(n),o=window.wp.compose;const{ajaxurl:i,VPAdminVariables:r}=window,c=t()("body");c.on("focus",'[name="vp_list_shortcode"], [name="vp_filter_shortcode"], [name="vp_sort_shortcode"]',(function(){this.select()})),c.on("click",".vp-onclick-selection",(function(){window.getSelection().selectAllChildren(this)})),c.on("copy cut",".vp-onclick-selection",(e=>{const n=window.getSelection().toString().replace(/[\n\r]+/g,"");e.originalEvent.clipboardData.setData("text/plain",n),e.originalEvent.preventDefault()}));const l=t()("#vp_format_video"),a=t()("#post-format-video");let u=null;function s(e){null!==u&&u===e||(u=e,l[e?"show":"hide"]())}l.length&&a.length&&(s(a.is(":checked")),c.on("change","[name=post_format]",(()=>{s(a.is(":checked"))})));let p=null,d=function(e){p=t().ajax({url:i,method:"POST",dataType:"json",data:{action:"vp_find_oembed",q:e.val(),nonce:r.nonce},complete(n){const t=n.responseJSON;t&&void 0!==t.html&&e.next(".vp-oembed-preview").html(t.html)}})};var f,h,m,v;d=(0,o.debounce)(300,(f=d,h=[],m=null,v=function(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];h=n,m||(m=requestAnimationFrame((function(){m=null,f.apply(void 0,h)})))},v.cancel=function(){m&&(cancelAnimationFrame(m),m=null)},v)),c.on("change input",'.vp-input[name="_vp_format_video_url"]',(function(){null!==p&&p.abort();const e=t()(this);e.next(".vp-oembed-preview").html(""),d(e)})),c.on("change","input[name='vp_general[register_portfolio_post_type]']",(function(){t()(this).is(":checked")||confirm("Are you sure you want to turn off the Portfolio custom post type and related taxonomies? Make sure you don't use this post type on your site, otherwise you might see errors on the frontend.")||t()(this).prop("checked",!0)}))}();
|
@ -0,0 +1 @@
|
||||
<?php return array('dependencies' => array('jquery'), 'version' => 'b8cbac7aeb677e894b20');
|
@ -0,0 +1 @@
|
||||
!function(){"use strict";var e={n:function(n){var o=n&&n.__esModule?function(){return n.default}:function(){return n};return e.d(o,{a:o}),o},d:function(n,o){for(var t in o)e.o(o,t)&&!e.o(n,t)&&Object.defineProperty(n,t,{enumerable:!0,get:o[t]})},o:function(e,n){return Object.prototype.hasOwnProperty.call(e,n)}},n=window.jQuery,o=e.n(n);const{vc:t}=window;o()((()=>{void 0!==t&&t.events.on("shortcodes:add shortcodeView:updated",(e=>{if("visual_portfolio"!==e.settings.base)return;const n=t.$frame[0].contentWindow,o=!!n&&n.jQuery;if(o){const n=o(e.view.el).children(".vp-portfolio");n.length&&void 0!==n.vpf&&n.vpf()}}))}))}();
|
Reference in New Issue
Block a user