Visual Portfolio, Photo Gallery & Post Grid - Version 2.13.2

Version Description

Download this release

Release Info

Developer nko
Plugin Icon 128x128 Visual Portfolio, Photo Gallery & Post Grid
Version 2.13.2
Comparing to
See all releases

Code changes from version 2.13.1 to 2.13.2

assets/admin/css/style-rtl.min.css CHANGED
@@ -2,4 +2,4 @@
2
  * Name : Visual Portfolio
3
  * Version : @@plugin_version
4
  * Author : nK https://nkdev.info
5
- */#adminmenu a[href*="page=visual_portfolio_go_pro"],.wp-list-table.plugins a[href*="page=visual_portfolio_go_pro"],.vpf-admin-toolbar a[href*="page=visual_portfolio_go_pro"]{font-weight:700;color:#ff6a38}#adminmenu a[href*="page=visual_portfolio_go_pro"] .dashicons,.wp-list-table.plugins a[href*="page=visual_portfolio_go_pro"] .dashicons,.vpf-admin-toolbar a[href*="page=visual_portfolio_go_pro"] .dashicons{-webkit-transition:none;-o-transition:none;transition:none}#adminmenu a[href*="page=visual_portfolio_go_pro"]:hover,#adminmenu a[href*="page=visual_portfolio_go_pro"]:focus,.wp-list-table.plugins a[href*="page=visual_portfolio_go_pro"]:hover,.wp-list-table.plugins a[href*="page=visual_portfolio_go_pro"]:focus,.vpf-admin-toolbar a[href*="page=visual_portfolio_go_pro"]:hover,.vpf-admin-toolbar a[href*="page=visual_portfolio_go_pro"]:focus{color:#f59372}.dashicons-visual-portfolio,.mce-widget .mce-i-visual-portfolio{background-image:url("../images/icon.svg");background-repeat:no-repeat;background-position:center center;background-size:18px;opacity:.6}.mce-widget .mce-i-visual-portfolio{background-image:url("../images/icon-mce.svg");opacity:1}.menu-top.current .dashicons-visual-portfolio,.menu-top:hover .dashicons-visual-portfolio,.wp-has-current-submenu .dashicons-visual-portfolio{opacity:1}.vc_element-icon[data-is-container=true].icon-visual-portfolio,.vc_element-icon.icon-visual-portfolio{background-position:50% 50%}.vc_element-icon.icon-visual-portfolio,.vc_control-visual-portfolio{position:relative;overflow:hidden;background-image:url("../images/icon-gutenberg.svg");background-position:50% 50%;background-size:cover;border-radius:3px}.vc_add-element-container .icon-visual-portfolio{position:absolute}.vc_control-visual-portfolio{display:inline-block;width:18px;height:18px;margin:0 2px;cursor:pointer}.vc_controls-row .vc_control-visual-portfolio{float:left;margin:4px}.vc_control-visual-portfolio-overlay{position:absolute;top:0;left:0;bottom:0;right:0;z-index:2}.vpf-admin-toolbar{background-color:#fff;border-bottom:1px solid #d7dbde}@media screen and (max-width: 600px){.vpf-admin-toolbar{display:none}}#wpcontent .vpf-admin-toolbar{padding-right:20px;margin-right:-20px}.vpf-admin-toolbar h2{display:inline-block;padding:5px 0;margin:0 0 0 10px;font-size:14px;line-height:2.57143}.vpf-admin-toolbar h2 i{display:inline-block;width:20px;height:20px;margin-top:-5px;margin-left:5px;vertical-align:middle;-webkit-filter:invert(1);filter:invert(1);opacity:1}.vpf-admin-toolbar .vpf-admin-toolbar-tab{display:inline-block;padding:5px 10px;margin:0 2px;font-size:14px;line-height:2.57143;color:inherit;text-decoration:none}.vpf-admin-toolbar .vpf-admin-toolbar-tab.is-active{padding-bottom:2px;border-bottom:#007cba solid 3px}.vpf-admin-toolbar .vpf-admin-toolbar-tab:hover,.vpf-admin-toolbar .vpf-admin-toolbar-tab:focus{color:#007cba}.vpf-admin-toolbar .vpf-admin-toolbar-tab .dashicons{line-height:2}.vp-row{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-sizing:border-box;box-sizing:border-box;margin-left:-15px;margin-right:-15px}.vp-col-1,.vp-col-2,.vp-col-3,.vp-col-4,.vp-col-5,.vp-col-6,.vp-col-7,.vp-col-8,.vp-col-9,.vp-col-10,.vp-col-11,.vp-col-12{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;-webkit-box-sizing:border-box;box-sizing:border-box;padding-left:15px;padding-right:15px}.vp-col-1{-ms-flex-preferred-size:8.3333333333%;flex-basis:8.3333333333%;max-width:8.3333333333%}.vp-col-2{-ms-flex-preferred-size:16.6666666667%;flex-basis:16.6666666667%;max-width:16.6666666667%}.vp-col-3{-ms-flex-preferred-size:25%;flex-basis:25%;max-width:25%}.vp-col-4{-ms-flex-preferred-size:33.3333333333%;flex-basis:33.3333333333%;max-width:33.3333333333%}.vp-col-5{-ms-flex-preferred-size:41.6666666667%;flex-basis:41.6666666667%;max-width:41.6666666667%}.vp-col-6{-ms-flex-preferred-size:50%;flex-basis:50%;max-width:50%}.vp-col-7{-ms-flex-preferred-size:58.3333333333%;flex-basis:58.3333333333%;max-width:58.3333333333%}.vp-col-8{-ms-flex-preferred-size:66.6666666667%;flex-basis:66.6666666667%;max-width:66.6666666667%}.vp-col-9{-ms-flex-preferred-size:75%;flex-basis:75%;max-width:75%}.vp-col-10{-ms-flex-preferred-size:83.3333333333%;flex-basis:83.3333333333%;max-width:83.3333333333%}.vp-col-11{-ms-flex-preferred-size:91.6666666667%;flex-basis:91.6666666667%;max-width:91.6666666667%}.vp-col-12{-ms-flex-preferred-size:100%;flex-basis:100%;max-width:100%}.vp-col-clearfix{-ms-flex-preferred-size:100%;flex-basis:100%;max-width:100%}.vp-col-clearfix .vp-control-html{margin-bottom:0}.vp-oembed-preview{position:relative;width:100%;padding-top:56.25%;color:#a2a2a2;background-color:#f1f1f1;border:1px solid #e8e8e8}.vp-oembed-preview::after{content:"";position:absolute;display:block;top:50%;right:50%;width:20px;height:20px;margin-top:-10px;margin-right:-10px;font-family:dashicons;font-size:20px;font-style:normal;font-weight:400;line-height:1;text-align:center;text-decoration:inherit;z-index:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.vp-oembed-preview>iframe{position:absolute;top:0;right:0;width:100%;height:100%;z-index:2}.vpf-post-image-focal-point-panel .components-focal-point-picker_position-display-container .components-base-control__label{max-width:100%}.vpf-post-image-focal-point-panel .components-focal-point-picker_position-display-container .components-base-control{margin-bottom:0}.vpf-post-image-focal-point-panel~.editor-post-featured-image .editor-post-featured-image__preview{display:none}.vp-input{width:100%}.vp-portfolio__thumbnail{position:relative;display:block;max-width:70px;padding-top:100%;overflow:hidden;border-radius:3px}.vp-portfolio__thumbnail img{position:absolute;display:block;top:0;right:0;width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.vp-portfolio__thumbnail:empty{background-color:#f1f1f1;border:1px solid #e8e8e8}.vp-portfolio__thumbnail:empty,.vp-portfolio__thumbnail:empty:hover,.vp-portfolio__thumbnail:empty:active,.vp-portfolio__thumbnail:empty:focus{color:#a2a2a2}.vp-portfolio__thumbnail:empty::after{content:"";position:absolute;display:block;top:50%;right:50%;width:20px;height:20px;margin-top:-10px;margin-right:-10px;font-family:dashicons;font-size:20px;font-style:normal;font-weight:400;line-height:1;text-align:center;text-decoration:inherit;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.wp-list-table th.column-portfolio_post_thumbs{width:70px}.wp-list-table th.column-vp_lists_post_icon{width:28px}.wp-list-table th.column-vp_lists_post_shortcode{width:250px}@media screen and (max-width: 782px){.wp-list-table th.column-portfolio_post_thumbs,.wp-list-table th.column-vp_lists_post_icon{display:none}.wp-list-table tr:not(.inline-edit-row):not(.no-items) td.column-portfolio_post_thumbs,.wp-list-table tr:not(.inline-edit-row):not(.no-items) td.column-vp_lists_post_icon{float:right;width:70px !important;min-width:70px}.wp-list-table tr:not(.inline-edit-row):not(.no-items) td.column-vp_lists_post_icon{width:40px !important}.wp-list-table tr:not(.inline-edit-row):not(.no-items) td.column-portfolio_post_thumbs::before{content:none}.wp-list-table tr:not(.inline-edit-row):not(.no-items) td.column-title{overflow:hidden;clear:left}}.notice.vpf-saved-layouts-notice{padding:11px 15px;margin-top:15px;font-size:14px;line-height:1.4}.notice.vpf-saved-layouts-notice h2{margin-top:5px;margin-bottom:12px}.notice.vpf-saved-layouts-notice p{font-size:15px}.notice.vpf-saved-layouts-notice svg{display:inline-block;width:1.3em;height:1.3em;margin-left:.2em;vertical-align:-0.28em}.vp-portfolio-list__icon{position:relative;display:block;max-width:70px;padding-top:100%;overflow:hidden;color:inherit;color:#868686;background-color:#f1f1f1;border:1px solid #e8e8e8;border-radius:3px}.vp-portfolio-list__icon:hover,.vp-portfolio-list__icon:active,.vp-portfolio-list__icon:focus{color:#5f5f5f}.vp-portfolio-list__icon svg{position:absolute;display:block;top:15%;right:15%;width:70%;height:70%;-o-object-fit:cover;object-fit:cover}@media(min-width: 782px){.portfolio_page_visual-portfolio-settings h2.nav-tab-wrapper{position:relative;margin-left:-1px;border:none}.portfolio_page_visual-portfolio-settings .nav-tab-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;float:right;width:220px}.portfolio_page_visual-portfolio-settings .nav-tab-wrapper .nav-tab{padding:10px 15px;margin-bottom:-1px;margin-right:0;background:none;border:1px solid transparent;border-left:none;border-right:2px solid transparent}.portfolio_page_visual-portfolio-settings .nav-tab-wrapper .nav-tab:hover,.portfolio_page_visual-portfolio-settings .nav-tab-wrapper .nav-tab:focus,.portfolio_page_visual-portfolio-settings .nav-tab-wrapper .nav-tab-active{background:#fff;border-color:#d7dbde;border-right-color:#007cba}.portfolio_page_visual-portfolio-settings .metabox-holder{float:right;width:calc(100% - 222px);min-height:362px;margin-top:9px}.portfolio_page_visual-portfolio-settings .metabox-holder>div,.portfolio_page_visual-portfolio-settings .metabox-holder>div>form{min-height:340px}}.portfolio_page_visual-portfolio-settings .nav-tab-wrapper svg{width:1.2em;height:1.2em;margin-left:.5em;vertical-align:-0.2em}.portfolio_page_visual-portfolio-settings .metabox-holder{-webkit-box-sizing:border-box;box-sizing:border-box;padding:10px 20px;background-color:#fff;border:1px solid #d7dbde}.portfolio_page_visual-portfolio-settings .metabox-holder form{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.portfolio_page_visual-portfolio-settings .metabox-holder .metabox-holder-footer{position:sticky;bottom:0;padding:15px 20px;margin-top:auto;margin-left:-20px;margin-bottom:-10px;margin-right:-20px;background-color:#f5f5f5;border-top:1px solid #ddd}.portfolio_page_visual-portfolio-settings .metabox-holder .metabox-holder-footer>p{padding:0;margin:0}.portfolio_page_visual-portfolio-settings .form-table tr{display:block}.portfolio_page_visual-portfolio-settings .form-table th{display:block;width:100%;padding:0;margin-bottom:10px}.portfolio_page_visual-portfolio-settings .form-table td{display:block;padding:0;margin-bottom:20px}.portfolio_page_visual-portfolio-settings .submit{margin:0}.portfolio_page_visual-portfolio-settings .description{opacity:.7}.portfolio_page_visual-portfolio-settings .vpf-setting-type-section_title::before{content:"";display:block;padding-top:15px;margin-left:-20px;margin-right:-20px;border-top:1px solid #d7dbde}.portfolio_page_visual-portfolio-settings .vpf-setting-type-section_title label{font-size:15px}.portfolio_page_visual-portfolio-settings .vpf-setting-type-section_title label:empty{display:block;margin-top:-20px}.portfolio_page_visual-portfolio-settings .vpf-setting-type-section_title .description{margin-top:-5px}.portfolio_page_visual-portfolio-settings .wpsa-image-remove{display:none;margin-right:10px}.portfolio_page_visual-portfolio-settings .metabox-holder .notice{padding:15px}.portfolio_page_visual-portfolio-settings .vpf-settings-control-pro>td{pointer-events:none}.portfolio_page_visual-portfolio-settings .vpf-settings-control-pro .description{opacity:.3}.portfolio_page_visual-portfolio-settings .vpf-settings-control-pro .vpf-settings-control-pro-label{position:relative;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:18px;height:18px;margin-right:10px;font-family:sans-serif;font-size:11px;line-height:18px;color:#fff;text-align:center;cursor:pointer;background-color:#4c4c4c;border-radius:10px}.portfolio_page_visual-portfolio-settings .vpf-settings-control-pro .vpf-settings-control-pro-label>span{position:absolute;display:none;bottom:100%;width:130px;padding:5px;margin-bottom:10px;background-color:rgba(0,0,0,.8);border-radius:4px;z-index:9990}.portfolio_page_visual-portfolio-settings .vpf-settings-control-pro .vpf-settings-control-pro-label:hover>span,.portfolio_page_visual-portfolio-settings .vpf-settings-control-pro .vpf-settings-control-pro-label:focus>span{display:block}.portfolio_page_visual-portfolio-settings .vpf-settings-control-pro.breakpoint_xs .vpf-settings-control-pro-label,.portfolio_page_visual-portfolio-settings .vpf-settings-control-pro.breakpoint_sm .vpf-settings-control-pro-label,.portfolio_page_visual-portfolio-settings .vpf-settings-control-pro.breakpoint_md .vpf-settings-control-pro-label,.portfolio_page_visual-portfolio-settings .vpf-settings-control-pro.breakpoint_lg .vpf-settings-control-pro-label,.portfolio_page_visual-portfolio-settings .vpf-settings-control-pro.breakpoint_xl .vpf-settings-control-pro-label{display:none}.portfolio_page_visual-portfolio-settings .vp-toggle-field{position:relative;display:inline-block}.portfolio_page_visual-portfolio-settings .vp-toggle-field input{width:0;height:0;opacity:0}.portfolio_page_visual-portfolio-settings .vp-toggle-field .vp-toggle-field-slider-round{position:absolute;top:0;left:0;bottom:0;right:0;width:36px;height:18px;cursor:pointer;background-color:#ccc;border-radius:34px;-webkit-transition:.4s;-o-transition:.4s;transition:.4s}.portfolio_page_visual-portfolio-settings .vp-toggle-field .vp-toggle-field-slider-round::before{content:"";position:absolute;bottom:3px;right:3px;width:12px;height:12px;background-color:#fff;border-radius:50%;-webkit-transition:.4s;-o-transition:.4s;transition:.4s}.portfolio_page_visual-portfolio-settings .vp-toggle-field input:checked+.vp-toggle-field-slider-round{background-color:#007cba}.portfolio_page_visual-portfolio-settings .vp-toggle-field input:focus+.vp-toggle-field-slider-round{-webkit-box-shadow:0 0 1px #007cba;box-shadow:0 0 1px #007cba}.portfolio_page_visual-portfolio-settings .vp-toggle-field input:checked+.vp-toggle-field-slider-round::before{-webkit-transform:translateX(-18px);-ms-transform:translateX(-18px);transform:translateX(-18px)}.portfolio_page_visual-portfolio-settings .vp-toggle-field .description{margin-right:22px}.portfolio_page_visual-portfolio-settings .vp-range-field{width:183px;height:3px;vertical-align:middle;cursor:pointer;background:#007cba;outline:none;-webkit-box-shadow:none;box-shadow:none;-webkit-appearance:none}.portfolio_page_visual-portfolio-settings .vp-range-field::-webkit-slider-thumb{width:20px;height:20px;background:#fff;border:1px solid #7e8993;border-radius:20px;-webkit-transition:border-width .2s cubic-bezier(0.26, 0.08, 0.15, 1);transition:border-width .2s cubic-bezier(0.26, 0.08, 0.15, 1);-webkit-appearance:none;appearance:none}.portfolio_page_visual-portfolio-settings .vp-range-field:active::-webkit-slider-thumb{border-color:#007cba;-webkit-box-shadow:0 0 0 1px #007cba;box-shadow:0 0 0 1px #007cba}.portfolio_page_visual-portfolio-settings .vp-range-number-field{-webkit-box-sizing:border-box;box-sizing:border-box;width:55px;margin-right:9px;vertical-align:middle;background:#fff;border:1px solid #8f969f;border-radius:4px}.portfolio_page_visual-portfolio-settings .social_pro_info>th,.portfolio_page_vpf_proofing_page .social_pro_info>th{display:none}.portfolio_page_visual-portfolio-settings .vpf-settings-info-pro,.portfolio_page_vpf_proofing_page .vpf-settings-info-pro{max-width:240px;padding:20px;text-align:center;background-color:#fff;border:2px solid #2540cc}.portfolio_page_visual-portfolio-settings .vpf-settings-info-pro h3,.portfolio_page_vpf_proofing_page .vpf-settings-info-pro h3{margin-top:0;margin-bottom:13px;font-size:15px}.portfolio_page_visual-portfolio-settings .vpf-settings-info-pro p,.portfolio_page_vpf_proofing_page .vpf-settings-info-pro p{margin-bottom:13px;font-size:13px}.portfolio_page_visual-portfolio-settings .vpf-settings-info-pro-button,.portfolio_page_vpf_proofing_page .vpf-settings-info-pro-button{display:inline-block;padding:7px 15px;margin-top:5px;text-decoration:none;background:#2540cc;border-radius:3px}.portfolio_page_visual-portfolio-settings .vpf-settings-info-pro-button,.portfolio_page_visual-portfolio-settings .vpf-settings-info-pro-button:hover,.portfolio_page_visual-portfolio-settings .vpf-settings-info-pro-button:focus,.portfolio_page_visual-portfolio-settings .vpf-settings-info-pro-button:active,.portfolio_page_vpf_proofing_page .vpf-settings-info-pro-button,.portfolio_page_vpf_proofing_page .vpf-settings-info-pro-button:hover,.portfolio_page_vpf_proofing_page .vpf-settings-info-pro-button:focus,.portfolio_page_vpf_proofing_page .vpf-settings-info-pro-button:active{color:#fff}.portfolio_page_visual-portfolio-settings .vpf-settings-info-pro-button:hover,.portfolio_page_visual-portfolio-settings .vpf-settings-info-pro-button:focus,.portfolio_page_vpf_proofing_page .vpf-settings-info-pro-button:hover,.portfolio_page_vpf_proofing_page .vpf-settings-info-pro-button:focus{background:#314cda}#vp_social_integrations .metabox-holder-footer,#vp_watermarks .metabox-holder-footer,#vp_white_label .metabox-holder-footer{display:none}.vpf-welcome-screen{-webkit-box-sizing:border-box;box-sizing:border-box;padding-left:20px;padding-right:20px;margin-right:-20px;font-size:16px;line-height:1.6}.vpf-welcome-screen *,.vpf-welcome-screen *::before,.vpf-welcome-screen *::after{-webkit-box-sizing:inherit;box-sizing:inherit}@media screen and (max-width: 782px){.vpf-welcome-screen{margin-right:-10px}}.vpf-welcome-screen p{font-size:inherit;line-height:1.6}.vpf-welcome-screen h2{margin-top:0;font-size:1.8em;font-weight:700;line-height:1.4;text-align:center}.vpf-welcome-screen .vpf-welcome-head{position:relative;padding:120px 0;margin-bottom:120px;color:#fff;background-color:#000;z-index:0}@media screen and (max-width: 600px){.vpf-welcome-screen .vpf-welcome-head{margin-bottom:60px}}.vpf-welcome-screen .vpf-welcome-head .vpf-welcome-head-background{position:absolute;display:block;top:0;left:-20px;width:calc(100% + 40px);height:100%;-o-object-fit:cover;object-fit:cover;z-index:-1}.vpf-welcome-screen .vpf-welcome-head .vpf-welcome-head-logo{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin:0;margin-bottom:20px;color:#fff}@media screen and (max-width: 600px){.vpf-welcome-screen .vpf-welcome-head .vpf-welcome-head-logo{font-size:20px}}.vpf-welcome-screen .vpf-welcome-head .dashicons-visual-portfolio{display:inline-block;width:60px;height:60px;margin-top:3px;margin-left:20px;background-size:60px;opacity:1}@media screen and (max-width: 600px){.vpf-welcome-screen .vpf-welcome-head .dashicons-visual-portfolio{width:30px;height:30px;margin-left:10px;background-size:30px}}.vpf-welcome-screen .vpf-welcome-head .vpf-welcome-subtitle{max-width:480px;margin:0 auto;font-weight:500;line-height:1.7;color:#c1c1c1;text-align:center}.vpf-welcome-screen .vpf-welcome-head .vpf-welcome-head-pro-info{position:absolute;bottom:-50px;right:50%;width:100%;max-width:570px;padding:25px 45px;color:#131313;text-align:center;background-color:#fff;border-radius:3px;-webkit-box-shadow:0 5px 10px 0 rgba(0,0,0,.1);box-shadow:0 5px 10px 0 rgba(0,0,0,.1);-webkit-transform:translateX(50%);-ms-transform:translateX(50%);transform:translateX(50%)}@media screen and (max-width: 1120px){.vpf-welcome-screen .vpf-welcome-head .vpf-welcome-head-pro-info{max-width:530px}}@media screen and (max-width: 600px){.vpf-welcome-screen .vpf-welcome-head .vpf-welcome-head-pro-info{position:relative}}.vpf-welcome-screen .vpf-welcome-content{max-width:700px;margin:0 auto}.vpf-welcome-screen .vpf-welcome-content .vpf-welcome-content-title{max-width:600px;margin:0 auto;margin-bottom:50px}.vpf-welcome-screen .vpf-welcome-content .vpf-welcome-content-features{display:grid;grid-template-columns:1fr 1fr;grid-gap:30px;list-style:none}@media screen and (max-width: 600px){.vpf-welcome-screen .vpf-welcome-content .vpf-welcome-content-features{grid-template-columns:1fr}}.vpf-welcome-screen .vpf-welcome-content .vpf-welcome-content-features li{position:relative;padding-right:30px}.vpf-welcome-screen .vpf-welcome-content .vpf-welcome-content-features li>span{position:absolute;display:block;top:0;right:0}.vpf-welcome-screen .vpf-welcome-content .vpf-welcome-content-features li>strong{color:#000}.vpf-welcome-screen .vpf-welcome-content hr{max-width:200px;margin-top:30px;margin-bottom:60px}.vpf-welcome-screen .vpf-welcome-content .vpf-welcome-content-buttons{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;max-width:450px;margin:0 auto;margin-bottom:50px;text-align:center}@media screen and (max-width: 600px){.vpf-welcome-screen .vpf-welcome-content .vpf-welcome-content-buttons{grid-template-columns:1fr}}.vpf-welcome-screen .vpf-welcome-content .vpf-welcome-content-buttons a{padding:11px;font-size:14px;font-weight:600;color:#fff;text-decoration:none;text-transform:uppercase;background-color:#2540cc;border-radius:3px}.vpf-welcome-screen .vpf-welcome-content .vpf-welcome-content-buttons a:hover,.vpf-welcome-screen .vpf-welcome-content .vpf-welcome-content-buttons a:focus{background-color:#13289a}.vpf-welcome-screen .vpf-welcome-content .vpf-welcome-content-buttons a:last-child{color:#000;background-color:#d2d2d2}.vpf-welcome-screen .vpf-welcome-content .vpf-welcome-content-buttons a:last-child:hover,.vpf-welcome-screen .vpf-welcome-content .vpf-welcome-content-buttons a:last-child:focus{background-color:#bdbdbd}.vpf-welcome-screen .vpf-welcome-foot-pro-info{max-width:700px;padding:40px;margin:60px auto;background-color:#fff;border:1px solid #e0e0e0}.vpf-welcome-screen .vpf-welcome-foot-pro-info ul{max-width:500px;margin:40px auto;-webkit-column-count:2;-moz-column-count:2;column-count:2;font-weight:500}@media screen and (max-width: 600px){.vpf-welcome-screen .vpf-welcome-foot-pro-info ul{-webkit-column-count:1;-moz-column-count:1;column-count:1}}.vpf-welcome-screen .vpf-welcome-foot-pro-info ul>li::before{content:"";display:inline-block;width:20px;height:20px;margin-left:6px;vertical-align:-0.25em;background-image:url('data:image/svg+xml,%3csvg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="%231e9059"%3e%3cpath stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7" /%3e%3c/svg%3e')}.vpf-welcome-screen .vpf-welcome-foot-pro-info>a{display:block;padding:16px;font-size:16px;font-weight:600;color:#fff;text-align:center;text-decoration:none;text-transform:uppercase;background-color:#1e9059;border-radius:3px}.vpf-welcome-screen .vpf-welcome-foot-pro-info>a:hover,.vpf-welcome-screen .vpf-welcome-foot-pro-info>a:focus{background-color:#0f7544}
2
  * Name : Visual Portfolio
3
  * Version : @@plugin_version
4
  * Author : nK https://nkdev.info
5
+ */#adminmenu a[href*="page=visual_portfolio_go_pro"],.wp-list-table.plugins a[href*="page=visual_portfolio_go_pro"],.vpf-admin-toolbar a[href*="page=visual_portfolio_go_pro"]{font-weight:700;color:#11b916}#adminmenu a[href*="page=visual_portfolio_go_pro"] .dashicons,.wp-list-table.plugins a[href*="page=visual_portfolio_go_pro"] .dashicons,.vpf-admin-toolbar a[href*="page=visual_portfolio_go_pro"] .dashicons{-webkit-transition:none;-o-transition:none;transition:none}#adminmenu a[href*="page=visual_portfolio_go_pro"]:hover,#adminmenu a[href*="page=visual_portfolio_go_pro"]:focus,.wp-list-table.plugins a[href*="page=visual_portfolio_go_pro"]:hover,.wp-list-table.plugins a[href*="page=visual_portfolio_go_pro"]:focus,.vpf-admin-toolbar a[href*="page=visual_portfolio_go_pro"]:hover,.vpf-admin-toolbar a[href*="page=visual_portfolio_go_pro"]:focus{color:#22e429}.dashicons-visual-portfolio,.mce-widget .mce-i-visual-portfolio{background-image:url("../images/icon.svg");background-repeat:no-repeat;background-position:center center;background-size:18px;opacity:.6}.mce-widget .mce-i-visual-portfolio{background-image:url("../images/icon-mce.svg");opacity:1}.menu-top.current .dashicons-visual-portfolio,.menu-top:hover .dashicons-visual-portfolio,.wp-has-current-submenu .dashicons-visual-portfolio{opacity:1}.vc_element-icon[data-is-container=true].icon-visual-portfolio,.vc_element-icon.icon-visual-portfolio{background-position:50% 50%}.vc_element-icon.icon-visual-portfolio,.vc_control-visual-portfolio{position:relative;overflow:hidden;background-image:url("../images/icon-gutenberg.svg");background-position:50% 50%;background-size:cover;border-radius:3px}.vc_add-element-container .icon-visual-portfolio{position:absolute}.vc_control-visual-portfolio{display:inline-block;width:18px;height:18px;margin:0 2px;cursor:pointer}.vc_controls-row .vc_control-visual-portfolio{float:left;margin:4px}.vc_control-visual-portfolio-overlay{position:absolute;top:0;left:0;bottom:0;right:0;z-index:2}.vpf-admin-toolbar{background-color:#fff;border-bottom:1px solid #d7dbde}@media screen and (max-width: 600px){.vpf-admin-toolbar{display:none}}#wpcontent .vpf-admin-toolbar{padding-right:20px;margin-right:-20px}.vpf-admin-toolbar h2{display:inline-block;padding:5px 0;margin:0 0 0 10px;font-size:14px;line-height:2.57143}.vpf-admin-toolbar h2 i{display:inline-block;width:20px;height:20px;margin-top:-5px;margin-left:5px;vertical-align:middle;-webkit-filter:invert(1);filter:invert(1);opacity:1}.vpf-admin-toolbar .vpf-admin-toolbar-tab{display:inline-block;padding:5px 10px;margin:0 2px;font-size:14px;line-height:2.57143;color:inherit;text-decoration:none}.vpf-admin-toolbar .vpf-admin-toolbar-tab.is-active{padding-bottom:2px;border-bottom:#007cba solid 3px}.vpf-admin-toolbar .vpf-admin-toolbar-tab:hover,.vpf-admin-toolbar .vpf-admin-toolbar-tab:focus{color:#007cba}.vpf-admin-toolbar .vpf-admin-toolbar-tab .dashicons{line-height:2}.vp-row{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-sizing:border-box;box-sizing:border-box;margin-left:-15px;margin-right:-15px}.vp-col-1,.vp-col-2,.vp-col-3,.vp-col-4,.vp-col-5,.vp-col-6,.vp-col-7,.vp-col-8,.vp-col-9,.vp-col-10,.vp-col-11,.vp-col-12{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;-webkit-box-sizing:border-box;box-sizing:border-box;padding-left:15px;padding-right:15px}.vp-col-1{-ms-flex-preferred-size:8.3333333333%;flex-basis:8.3333333333%;max-width:8.3333333333%}.vp-col-2{-ms-flex-preferred-size:16.6666666667%;flex-basis:16.6666666667%;max-width:16.6666666667%}.vp-col-3{-ms-flex-preferred-size:25%;flex-basis:25%;max-width:25%}.vp-col-4{-ms-flex-preferred-size:33.3333333333%;flex-basis:33.3333333333%;max-width:33.3333333333%}.vp-col-5{-ms-flex-preferred-size:41.6666666667%;flex-basis:41.6666666667%;max-width:41.6666666667%}.vp-col-6{-ms-flex-preferred-size:50%;flex-basis:50%;max-width:50%}.vp-col-7{-ms-flex-preferred-size:58.3333333333%;flex-basis:58.3333333333%;max-width:58.3333333333%}.vp-col-8{-ms-flex-preferred-size:66.6666666667%;flex-basis:66.6666666667%;max-width:66.6666666667%}.vp-col-9{-ms-flex-preferred-size:75%;flex-basis:75%;max-width:75%}.vp-col-10{-ms-flex-preferred-size:83.3333333333%;flex-basis:83.3333333333%;max-width:83.3333333333%}.vp-col-11{-ms-flex-preferred-size:91.6666666667%;flex-basis:91.6666666667%;max-width:91.6666666667%}.vp-col-12{-ms-flex-preferred-size:100%;flex-basis:100%;max-width:100%}.vp-col-clearfix{-ms-flex-preferred-size:100%;flex-basis:100%;max-width:100%}.vp-col-clearfix .vp-control-html{margin-bottom:0}.vp-oembed-preview{position:relative;width:100%;padding-top:56.25%;color:#a2a2a2;background-color:#f1f1f1;border:1px solid #e8e8e8}.vp-oembed-preview::after{content:"";position:absolute;display:block;top:50%;right:50%;width:20px;height:20px;margin-top:-10px;margin-right:-10px;font-family:dashicons;font-size:20px;font-style:normal;font-weight:400;line-height:1;text-align:center;text-decoration:inherit;z-index:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.vp-oembed-preview>iframe{position:absolute;top:0;right:0;width:100%;height:100%;z-index:2}.vpf-post-image-focal-point-panel .components-focal-point-picker_position-display-container .components-base-control__label{max-width:100%}.vpf-post-image-focal-point-panel .components-focal-point-picker_position-display-container .components-base-control{margin-bottom:0}.vpf-post-image-focal-point-panel~.editor-post-featured-image .editor-post-featured-image__preview{display:none}.vp-input{width:100%}.vp-portfolio__thumbnail{position:relative;display:block;max-width:70px;padding-top:100%;overflow:hidden;border-radius:3px}.vp-portfolio__thumbnail img{position:absolute;display:block;top:0;right:0;width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.vp-portfolio__thumbnail:empty{background-color:#f1f1f1;border:1px solid #e8e8e8}.vp-portfolio__thumbnail:empty,.vp-portfolio__thumbnail:empty:hover,.vp-portfolio__thumbnail:empty:active,.vp-portfolio__thumbnail:empty:focus{color:#a2a2a2}.vp-portfolio__thumbnail:empty::after{content:"";position:absolute;display:block;top:50%;right:50%;width:20px;height:20px;margin-top:-10px;margin-right:-10px;font-family:dashicons;font-size:20px;font-style:normal;font-weight:400;line-height:1;text-align:center;text-decoration:inherit;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.wp-list-table th.column-portfolio_post_thumbs{width:70px}.wp-list-table th.column-vp_lists_post_icon{width:28px}.wp-list-table th.column-vp_lists_post_shortcode{width:250px}@media screen and (max-width: 782px){.wp-list-table th.column-portfolio_post_thumbs,.wp-list-table th.column-vp_lists_post_icon{display:none}.wp-list-table tr:not(.inline-edit-row):not(.no-items) td.column-portfolio_post_thumbs,.wp-list-table tr:not(.inline-edit-row):not(.no-items) td.column-vp_lists_post_icon{float:right;width:70px !important;min-width:70px}.wp-list-table tr:not(.inline-edit-row):not(.no-items) td.column-vp_lists_post_icon{width:40px !important}.wp-list-table tr:not(.inline-edit-row):not(.no-items) td.column-portfolio_post_thumbs::before{content:none}.wp-list-table tr:not(.inline-edit-row):not(.no-items) td.column-title{overflow:hidden;clear:left}}.notice.vpf-saved-layouts-notice{padding:11px 15px;margin-top:15px;font-size:14px;line-height:1.4}.notice.vpf-saved-layouts-notice h2{margin-top:5px;margin-bottom:12px}.notice.vpf-saved-layouts-notice p{font-size:15px}.notice.vpf-saved-layouts-notice svg{display:inline-block;width:1.3em;height:1.3em;margin-left:.2em;vertical-align:-0.28em}.vp-portfolio-list__icon{position:relative;display:block;max-width:70px;padding-top:100%;overflow:hidden;color:inherit;color:#868686;background-color:#f1f1f1;border:1px solid #e8e8e8;border-radius:3px}.vp-portfolio-list__icon:hover,.vp-portfolio-list__icon:active,.vp-portfolio-list__icon:focus{color:#5f5f5f}.vp-portfolio-list__icon svg{position:absolute;display:block;top:15%;right:15%;width:70%;height:70%;-o-object-fit:cover;object-fit:cover}@media(min-width: 782px){.portfolio_page_visual-portfolio-settings h2.nav-tab-wrapper{position:relative;margin-left:-1px;border:none}.portfolio_page_visual-portfolio-settings .nav-tab-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;float:right;width:220px}.portfolio_page_visual-portfolio-settings .nav-tab-wrapper .nav-tab{padding:10px 15px;margin-bottom:-1px;margin-right:0;background:none;border:1px solid transparent;border-left:none;border-right:2px solid transparent}.portfolio_page_visual-portfolio-settings .nav-tab-wrapper .nav-tab:hover,.portfolio_page_visual-portfolio-settings .nav-tab-wrapper .nav-tab:focus,.portfolio_page_visual-portfolio-settings .nav-tab-wrapper .nav-tab-active{background:#fff;border-color:#d7dbde;border-right-color:#007cba}.portfolio_page_visual-portfolio-settings .metabox-holder{float:right;width:calc(100% - 222px);min-height:362px;margin-top:9px}.portfolio_page_visual-portfolio-settings .metabox-holder>div,.portfolio_page_visual-portfolio-settings .metabox-holder>div>form{min-height:340px}}.portfolio_page_visual-portfolio-settings .nav-tab-wrapper svg{width:1.2em;height:1.2em;margin-left:.5em;vertical-align:-0.2em}.portfolio_page_visual-portfolio-settings .metabox-holder{-webkit-box-sizing:border-box;box-sizing:border-box;padding:10px 20px;background-color:#fff;border:1px solid #d7dbde}.portfolio_page_visual-portfolio-settings .metabox-holder form{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.portfolio_page_visual-portfolio-settings .metabox-holder .metabox-holder-footer{position:sticky;bottom:0;padding:15px 20px;margin-top:auto;margin-left:-20px;margin-bottom:-10px;margin-right:-20px;background-color:#f5f5f5;border-top:1px solid #ddd}.portfolio_page_visual-portfolio-settings .metabox-holder .metabox-holder-footer>p{padding:0;margin:0}.portfolio_page_visual-portfolio-settings .form-table tr{display:block}.portfolio_page_visual-portfolio-settings .form-table th{display:block;width:100%;padding:0;margin-bottom:10px}.portfolio_page_visual-portfolio-settings .form-table td{display:block;padding:0;margin-bottom:20px}.portfolio_page_visual-portfolio-settings .submit{margin:0}.portfolio_page_visual-portfolio-settings .description{opacity:.7}.portfolio_page_visual-portfolio-settings .vpf-setting-type-section_title::before{content:"";display:block;padding-top:15px;margin-left:-20px;margin-right:-20px;border-top:1px solid #d7dbde}.portfolio_page_visual-portfolio-settings .vpf-setting-type-section_title label{font-size:15px}.portfolio_page_visual-portfolio-settings .vpf-setting-type-section_title label:empty{display:block;margin-top:-20px}.portfolio_page_visual-portfolio-settings .vpf-setting-type-section_title .description{margin-top:-5px}.portfolio_page_visual-portfolio-settings .wpsa-image-remove{display:none;margin-right:10px}.portfolio_page_visual-portfolio-settings .metabox-holder .notice{padding:15px}.portfolio_page_visual-portfolio-settings .vpf-settings-control-pro>td{pointer-events:none}.portfolio_page_visual-portfolio-settings .vpf-settings-control-pro .description{opacity:.3}.portfolio_page_visual-portfolio-settings .vpf-settings-control-pro .vpf-settings-control-pro-label{position:relative;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:18px;height:18px;margin-right:10px;font-family:sans-serif;font-size:11px;line-height:18px;color:#fff;text-align:center;cursor:pointer;background-color:#4c4c4c;border-radius:10px}.portfolio_page_visual-portfolio-settings .vpf-settings-control-pro .vpf-settings-control-pro-label>span{position:absolute;display:none;bottom:100%;width:130px;padding:5px;margin-bottom:10px;background-color:rgba(0,0,0,.8);border-radius:4px;z-index:9990}.portfolio_page_visual-portfolio-settings .vpf-settings-control-pro .vpf-settings-control-pro-label:hover>span,.portfolio_page_visual-portfolio-settings .vpf-settings-control-pro .vpf-settings-control-pro-label:focus>span{display:block}.portfolio_page_visual-portfolio-settings .vpf-settings-control-pro.breakpoint_xs .vpf-settings-control-pro-label,.portfolio_page_visual-portfolio-settings .vpf-settings-control-pro.breakpoint_sm .vpf-settings-control-pro-label,.portfolio_page_visual-portfolio-settings .vpf-settings-control-pro.breakpoint_md .vpf-settings-control-pro-label,.portfolio_page_visual-portfolio-settings .vpf-settings-control-pro.breakpoint_lg .vpf-settings-control-pro-label,.portfolio_page_visual-portfolio-settings .vpf-settings-control-pro.breakpoint_xl .vpf-settings-control-pro-label{display:none}.portfolio_page_visual-portfolio-settings .vp-toggle-field{position:relative;display:inline-block}.portfolio_page_visual-portfolio-settings .vp-toggle-field input{width:0;height:0;opacity:0}.portfolio_page_visual-portfolio-settings .vp-toggle-field .vp-toggle-field-slider-round{position:absolute;top:0;left:0;bottom:0;right:0;width:36px;height:18px;cursor:pointer;background-color:#ccc;border-radius:34px;-webkit-transition:.4s;-o-transition:.4s;transition:.4s}.portfolio_page_visual-portfolio-settings .vp-toggle-field .vp-toggle-field-slider-round::before{content:"";position:absolute;bottom:3px;right:3px;width:12px;height:12px;background-color:#fff;border-radius:50%;-webkit-transition:.4s;-o-transition:.4s;transition:.4s}.portfolio_page_visual-portfolio-settings .vp-toggle-field input:checked+.vp-toggle-field-slider-round{background-color:#007cba}.portfolio_page_visual-portfolio-settings .vp-toggle-field input:focus+.vp-toggle-field-slider-round{-webkit-box-shadow:0 0 1px #007cba;box-shadow:0 0 1px #007cba}.portfolio_page_visual-portfolio-settings .vp-toggle-field input:checked+.vp-toggle-field-slider-round::before{-webkit-transform:translateX(-18px);-ms-transform:translateX(-18px);transform:translateX(-18px)}.portfolio_page_visual-portfolio-settings .vp-toggle-field .description{margin-right:22px}.portfolio_page_visual-portfolio-settings .vp-range-field{width:183px;height:3px;vertical-align:middle;cursor:pointer;background:#007cba;outline:none;-webkit-box-shadow:none;box-shadow:none;-webkit-appearance:none}.portfolio_page_visual-portfolio-settings .vp-range-field::-webkit-slider-thumb{width:20px;height:20px;background:#fff;border:1px solid #7e8993;border-radius:20px;-webkit-transition:border-width .2s cubic-bezier(0.26, 0.08, 0.15, 1);transition:border-width .2s cubic-bezier(0.26, 0.08, 0.15, 1);-webkit-appearance:none;appearance:none}.portfolio_page_visual-portfolio-settings .vp-range-field:active::-webkit-slider-thumb{border-color:#007cba;-webkit-box-shadow:0 0 0 1px #007cba;box-shadow:0 0 0 1px #007cba}.portfolio_page_visual-portfolio-settings .vp-range-number-field{-webkit-box-sizing:border-box;box-sizing:border-box;width:55px;margin-right:9px;vertical-align:middle;background:#fff;border:1px solid #8f969f;border-radius:4px}.portfolio_page_visual-portfolio-settings .social_pro_info>th,.portfolio_page_vpf_proofing_page .social_pro_info>th{display:none}.portfolio_page_visual-portfolio-settings .vpf-settings-info-pro,.portfolio_page_vpf_proofing_page .vpf-settings-info-pro{max-width:240px;padding:20px;text-align:center;background-color:#fff;border:2px solid #2540cc}.portfolio_page_visual-portfolio-settings .vpf-settings-info-pro h3,.portfolio_page_vpf_proofing_page .vpf-settings-info-pro h3{margin-top:0;margin-bottom:13px;font-size:15px}.portfolio_page_visual-portfolio-settings .vpf-settings-info-pro p,.portfolio_page_vpf_proofing_page .vpf-settings-info-pro p{margin-bottom:13px;font-size:13px}.portfolio_page_visual-portfolio-settings .vpf-settings-info-pro-button,.portfolio_page_vpf_proofing_page .vpf-settings-info-pro-button{display:inline-block;padding:7px 15px;margin-top:5px;text-decoration:none;background:#2540cc;border-radius:3px}.portfolio_page_visual-portfolio-settings .vpf-settings-info-pro-button,.portfolio_page_visual-portfolio-settings .vpf-settings-info-pro-button:hover,.portfolio_page_visual-portfolio-settings .vpf-settings-info-pro-button:focus,.portfolio_page_visual-portfolio-settings .vpf-settings-info-pro-button:active,.portfolio_page_vpf_proofing_page .vpf-settings-info-pro-button,.portfolio_page_vpf_proofing_page .vpf-settings-info-pro-button:hover,.portfolio_page_vpf_proofing_page .vpf-settings-info-pro-button:focus,.portfolio_page_vpf_proofing_page .vpf-settings-info-pro-button:active{color:#fff}.portfolio_page_visual-portfolio-settings .vpf-settings-info-pro-button:hover,.portfolio_page_visual-portfolio-settings .vpf-settings-info-pro-button:focus,.portfolio_page_vpf_proofing_page .vpf-settings-info-pro-button:hover,.portfolio_page_vpf_proofing_page .vpf-settings-info-pro-button:focus{background:#314cda}#vp_social_integrations .metabox-holder-footer,#vp_watermarks .metabox-holder-footer,#vp_white_label .metabox-holder-footer{display:none}.vpf-welcome-screen{-webkit-box-sizing:border-box;box-sizing:border-box;padding-left:20px;padding-right:20px;margin-right:-20px;font-size:16px;line-height:1.6}.vpf-welcome-screen *,.vpf-welcome-screen *::before,.vpf-welcome-screen *::after{-webkit-box-sizing:inherit;box-sizing:inherit}@media screen and (max-width: 782px){.vpf-welcome-screen{margin-right:-10px}}.vpf-welcome-screen p{font-size:inherit;line-height:1.6}.vpf-welcome-screen h2{margin-top:0;font-size:1.8em;font-weight:700;line-height:1.4;text-align:center}.vpf-welcome-screen .vpf-welcome-head{position:relative;padding:120px 0;margin-bottom:120px;color:#fff;background-color:#000;z-index:0}@media screen and (max-width: 600px){.vpf-welcome-screen .vpf-welcome-head{margin-bottom:60px}}.vpf-welcome-screen .vpf-welcome-head .vpf-welcome-head-background{position:absolute;display:block;top:0;left:-20px;width:calc(100% + 40px);height:100%;-o-object-fit:cover;object-fit:cover;z-index:-1}.vpf-welcome-screen .vpf-welcome-head .vpf-welcome-head-logo{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin:0;margin-bottom:20px;color:#fff}@media screen and (max-width: 600px){.vpf-welcome-screen .vpf-welcome-head .vpf-welcome-head-logo{font-size:20px}}.vpf-welcome-screen .vpf-welcome-head .dashicons-visual-portfolio{display:inline-block;width:60px;height:60px;margin-top:3px;margin-left:20px;background-size:60px;opacity:1}@media screen and (max-width: 600px){.vpf-welcome-screen .vpf-welcome-head .dashicons-visual-portfolio{width:30px;height:30px;margin-left:10px;background-size:30px}}.vpf-welcome-screen .vpf-welcome-head .vpf-welcome-subtitle{max-width:480px;margin:0 auto;font-weight:500;line-height:1.7;color:#c1c1c1;text-align:center}.vpf-welcome-screen .vpf-welcome-head .vpf-welcome-head-pro-info{position:absolute;bottom:-50px;right:50%;width:100%;max-width:570px;padding:25px 45px;color:#131313;text-align:center;background-color:#fff;border-radius:3px;-webkit-box-shadow:0 5px 10px 0 rgba(0,0,0,.1);box-shadow:0 5px 10px 0 rgba(0,0,0,.1);-webkit-transform:translateX(50%);-ms-transform:translateX(50%);transform:translateX(50%)}@media screen and (max-width: 1120px){.vpf-welcome-screen .vpf-welcome-head .vpf-welcome-head-pro-info{max-width:530px}}@media screen and (max-width: 600px){.vpf-welcome-screen .vpf-welcome-head .vpf-welcome-head-pro-info{position:relative}}.vpf-welcome-screen .vpf-welcome-content{max-width:700px;margin:0 auto}.vpf-welcome-screen .vpf-welcome-content .vpf-welcome-content-title{max-width:600px;margin:0 auto;margin-bottom:50px}.vpf-welcome-screen .vpf-welcome-content .vpf-welcome-content-features{display:grid;grid-template-columns:1fr 1fr;grid-gap:30px;list-style:none}@media screen and (max-width: 600px){.vpf-welcome-screen .vpf-welcome-content .vpf-welcome-content-features{grid-template-columns:1fr}}.vpf-welcome-screen .vpf-welcome-content .vpf-welcome-content-features li{position:relative;padding-right:30px}.vpf-welcome-screen .vpf-welcome-content .vpf-welcome-content-features li>span{position:absolute;display:block;top:0;right:0}.vpf-welcome-screen .vpf-welcome-content .vpf-welcome-content-features li>strong{color:#000}.vpf-welcome-screen .vpf-welcome-content hr{max-width:200px;margin-top:30px;margin-bottom:60px}.vpf-welcome-screen .vpf-welcome-content .vpf-welcome-content-buttons{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;max-width:450px;margin:0 auto;margin-bottom:50px;text-align:center}@media screen and (max-width: 600px){.vpf-welcome-screen .vpf-welcome-content .vpf-welcome-content-buttons{grid-template-columns:1fr}}.vpf-welcome-screen .vpf-welcome-content .vpf-welcome-content-buttons a{padding:11px;font-size:14px;font-weight:600;color:#fff;text-decoration:none;text-transform:uppercase;background-color:#2540cc;border-radius:3px}.vpf-welcome-screen .vpf-welcome-content .vpf-welcome-content-buttons a:hover,.vpf-welcome-screen .vpf-welcome-content .vpf-welcome-content-buttons a:focus{background-color:#13289a}.vpf-welcome-screen .vpf-welcome-content .vpf-welcome-content-buttons a:last-child{color:#000;background-color:#d2d2d2}.vpf-welcome-screen .vpf-welcome-content .vpf-welcome-content-buttons a:last-child:hover,.vpf-welcome-screen .vpf-welcome-content .vpf-welcome-content-buttons a:last-child:focus{background-color:#bdbdbd}.vpf-welcome-screen .vpf-welcome-foot-pro-info{max-width:700px;padding:40px;margin:60px auto;background-color:#fff;border:1px solid #e0e0e0}.vpf-welcome-screen .vpf-welcome-foot-pro-info ul{max-width:500px;margin:40px auto;-webkit-column-count:2;-moz-column-count:2;column-count:2;font-weight:500}@media screen and (max-width: 600px){.vpf-welcome-screen .vpf-welcome-foot-pro-info ul{-webkit-column-count:1;-moz-column-count:1;column-count:1}}.vpf-welcome-screen .vpf-welcome-foot-pro-info ul>li::before{content:"";display:inline-block;width:20px;height:20px;margin-left:6px;vertical-align:-0.25em;background-image:url('data:image/svg+xml,%3csvg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="%231e9059"%3e%3cpath stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7" /%3e%3c/svg%3e')}.vpf-welcome-screen .vpf-welcome-foot-pro-info>a{display:block;padding:16px;font-size:16px;font-weight:600;color:#fff;text-align:center;text-decoration:none;text-transform:uppercase;background-color:#1e9059;border-radius:3px}.vpf-welcome-screen .vpf-welcome-foot-pro-info>a:hover,.vpf-welcome-screen .vpf-welcome-foot-pro-info>a:focus{background-color:#0f7544}
assets/admin/css/style.min.css CHANGED
@@ -2,4 +2,4 @@
2
  * Name : Visual Portfolio
3
  * Version : @@plugin_version
4
  * Author : nK https://nkdev.info
5
- */#adminmenu a[href*="page=visual_portfolio_go_pro"],.wp-list-table.plugins a[href*="page=visual_portfolio_go_pro"],.vpf-admin-toolbar a[href*="page=visual_portfolio_go_pro"]{font-weight:700;color:#ff6a38}#adminmenu a[href*="page=visual_portfolio_go_pro"] .dashicons,.wp-list-table.plugins a[href*="page=visual_portfolio_go_pro"] .dashicons,.vpf-admin-toolbar a[href*="page=visual_portfolio_go_pro"] .dashicons{-webkit-transition:none;-o-transition:none;transition:none}#adminmenu a[href*="page=visual_portfolio_go_pro"]:hover,#adminmenu a[href*="page=visual_portfolio_go_pro"]:focus,.wp-list-table.plugins a[href*="page=visual_portfolio_go_pro"]:hover,.wp-list-table.plugins a[href*="page=visual_portfolio_go_pro"]:focus,.vpf-admin-toolbar a[href*="page=visual_portfolio_go_pro"]:hover,.vpf-admin-toolbar a[href*="page=visual_portfolio_go_pro"]:focus{color:#f59372}.dashicons-visual-portfolio,.mce-widget .mce-i-visual-portfolio{background-image:url("../images/icon.svg");background-repeat:no-repeat;background-position:center center;background-size:18px;opacity:.6}.mce-widget .mce-i-visual-portfolio{background-image:url("../images/icon-mce.svg");opacity:1}.menu-top.current .dashicons-visual-portfolio,.menu-top:hover .dashicons-visual-portfolio,.wp-has-current-submenu .dashicons-visual-portfolio{opacity:1}.vc_element-icon[data-is-container=true].icon-visual-portfolio,.vc_element-icon.icon-visual-portfolio{background-position:50% 50%}.vc_element-icon.icon-visual-portfolio,.vc_control-visual-portfolio{position:relative;overflow:hidden;background-image:url("../images/icon-gutenberg.svg");background-position:50% 50%;background-size:cover;border-radius:3px}.vc_add-element-container .icon-visual-portfolio{position:absolute}.vc_control-visual-portfolio{display:inline-block;width:18px;height:18px;margin:0 2px;cursor:pointer}.vc_controls-row .vc_control-visual-portfolio{float:right;margin:4px}.vc_control-visual-portfolio-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:2}.vpf-admin-toolbar{background-color:#fff;border-bottom:1px solid #d7dbde}@media screen and (max-width: 600px){.vpf-admin-toolbar{display:none}}#wpcontent .vpf-admin-toolbar{padding-left:20px;margin-left:-20px}.vpf-admin-toolbar h2{display:inline-block;padding:5px 0;margin:0 10px 0 0;font-size:14px;line-height:2.57143}.vpf-admin-toolbar h2 i{display:inline-block;width:20px;height:20px;margin-top:-5px;margin-right:5px;vertical-align:middle;-webkit-filter:invert(1);filter:invert(1);opacity:1}.vpf-admin-toolbar .vpf-admin-toolbar-tab{display:inline-block;padding:5px 10px;margin:0 2px;font-size:14px;line-height:2.57143;color:inherit;text-decoration:none}.vpf-admin-toolbar .vpf-admin-toolbar-tab.is-active{padding-bottom:2px;border-bottom:#007cba solid 3px}.vpf-admin-toolbar .vpf-admin-toolbar-tab:hover,.vpf-admin-toolbar .vpf-admin-toolbar-tab:focus{color:#007cba}.vpf-admin-toolbar .vpf-admin-toolbar-tab .dashicons{line-height:2}.vp-row{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-sizing:border-box;box-sizing:border-box;margin-right:-15px;margin-left:-15px}.vp-col-1,.vp-col-2,.vp-col-3,.vp-col-4,.vp-col-5,.vp-col-6,.vp-col-7,.vp-col-8,.vp-col-9,.vp-col-10,.vp-col-11,.vp-col-12{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;-webkit-box-sizing:border-box;box-sizing:border-box;padding-right:15px;padding-left:15px}.vp-col-1{-ms-flex-preferred-size:8.3333333333%;flex-basis:8.3333333333%;max-width:8.3333333333%}.vp-col-2{-ms-flex-preferred-size:16.6666666667%;flex-basis:16.6666666667%;max-width:16.6666666667%}.vp-col-3{-ms-flex-preferred-size:25%;flex-basis:25%;max-width:25%}.vp-col-4{-ms-flex-preferred-size:33.3333333333%;flex-basis:33.3333333333%;max-width:33.3333333333%}.vp-col-5{-ms-flex-preferred-size:41.6666666667%;flex-basis:41.6666666667%;max-width:41.6666666667%}.vp-col-6{-ms-flex-preferred-size:50%;flex-basis:50%;max-width:50%}.vp-col-7{-ms-flex-preferred-size:58.3333333333%;flex-basis:58.3333333333%;max-width:58.3333333333%}.vp-col-8{-ms-flex-preferred-size:66.6666666667%;flex-basis:66.6666666667%;max-width:66.6666666667%}.vp-col-9{-ms-flex-preferred-size:75%;flex-basis:75%;max-width:75%}.vp-col-10{-ms-flex-preferred-size:83.3333333333%;flex-basis:83.3333333333%;max-width:83.3333333333%}.vp-col-11{-ms-flex-preferred-size:91.6666666667%;flex-basis:91.6666666667%;max-width:91.6666666667%}.vp-col-12{-ms-flex-preferred-size:100%;flex-basis:100%;max-width:100%}.vp-col-clearfix{-ms-flex-preferred-size:100%;flex-basis:100%;max-width:100%}.vp-col-clearfix .vp-control-html{margin-bottom:0}.vp-oembed-preview{position:relative;width:100%;padding-top:56.25%;color:#a2a2a2;background-color:#f1f1f1;border:1px solid #e8e8e8}.vp-oembed-preview::after{content:"";position:absolute;display:block;top:50%;left:50%;width:20px;height:20px;margin-top:-10px;margin-left:-10px;font-family:dashicons;font-size:20px;font-style:normal;font-weight:400;line-height:1;text-align:center;text-decoration:inherit;z-index:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.vp-oembed-preview>iframe{position:absolute;top:0;left:0;width:100%;height:100%;z-index:2}.vpf-post-image-focal-point-panel .components-focal-point-picker_position-display-container .components-base-control__label{max-width:100%}.vpf-post-image-focal-point-panel .components-focal-point-picker_position-display-container .components-base-control{margin-bottom:0}.vpf-post-image-focal-point-panel~.editor-post-featured-image .editor-post-featured-image__preview{display:none}.vp-input{width:100%}.vp-portfolio__thumbnail{position:relative;display:block;max-width:70px;padding-top:100%;overflow:hidden;border-radius:3px}.vp-portfolio__thumbnail img{position:absolute;display:block;top:0;left:0;width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.vp-portfolio__thumbnail:empty{background-color:#f1f1f1;border:1px solid #e8e8e8}.vp-portfolio__thumbnail:empty,.vp-portfolio__thumbnail:empty:hover,.vp-portfolio__thumbnail:empty:active,.vp-portfolio__thumbnail:empty:focus{color:#a2a2a2}.vp-portfolio__thumbnail:empty::after{content:"";position:absolute;display:block;top:50%;left:50%;width:20px;height:20px;margin-top:-10px;margin-left:-10px;font-family:dashicons;font-size:20px;font-style:normal;font-weight:400;line-height:1;text-align:center;text-decoration:inherit;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.wp-list-table th.column-portfolio_post_thumbs{width:70px}.wp-list-table th.column-vp_lists_post_icon{width:28px}.wp-list-table th.column-vp_lists_post_shortcode{width:250px}@media screen and (max-width: 782px){.wp-list-table th.column-portfolio_post_thumbs,.wp-list-table th.column-vp_lists_post_icon{display:none}.wp-list-table tr:not(.inline-edit-row):not(.no-items) td.column-portfolio_post_thumbs,.wp-list-table tr:not(.inline-edit-row):not(.no-items) td.column-vp_lists_post_icon{float:left;width:70px !important;min-width:70px}.wp-list-table tr:not(.inline-edit-row):not(.no-items) td.column-vp_lists_post_icon{width:40px !important}.wp-list-table tr:not(.inline-edit-row):not(.no-items) td.column-portfolio_post_thumbs::before{content:none}.wp-list-table tr:not(.inline-edit-row):not(.no-items) td.column-title{overflow:hidden;clear:right}}.notice.vpf-saved-layouts-notice{padding:11px 15px;margin-top:15px;font-size:14px;line-height:1.4}.notice.vpf-saved-layouts-notice h2{margin-top:5px;margin-bottom:12px}.notice.vpf-saved-layouts-notice p{font-size:15px}.notice.vpf-saved-layouts-notice svg{display:inline-block;width:1.3em;height:1.3em;margin-right:.2em;vertical-align:-0.28em}.vp-portfolio-list__icon{position:relative;display:block;max-width:70px;padding-top:100%;overflow:hidden;color:inherit;color:#868686;background-color:#f1f1f1;border:1px solid #e8e8e8;border-radius:3px}.vp-portfolio-list__icon:hover,.vp-portfolio-list__icon:active,.vp-portfolio-list__icon:focus{color:#5f5f5f}.vp-portfolio-list__icon svg{position:absolute;display:block;top:15%;left:15%;width:70%;height:70%;-o-object-fit:cover;object-fit:cover}@media(min-width: 782px){.portfolio_page_visual-portfolio-settings h2.nav-tab-wrapper{position:relative;margin-right:-1px;border:none}.portfolio_page_visual-portfolio-settings .nav-tab-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;float:left;width:220px}.portfolio_page_visual-portfolio-settings .nav-tab-wrapper .nav-tab{padding:10px 15px;margin-bottom:-1px;margin-left:0;background:none;border:1px solid transparent;border-right:none;border-left:2px solid transparent}.portfolio_page_visual-portfolio-settings .nav-tab-wrapper .nav-tab:hover,.portfolio_page_visual-portfolio-settings .nav-tab-wrapper .nav-tab:focus,.portfolio_page_visual-portfolio-settings .nav-tab-wrapper .nav-tab-active{background:#fff;border-color:#d7dbde;border-left-color:#007cba}.portfolio_page_visual-portfolio-settings .metabox-holder{float:left;width:calc(100% - 222px);min-height:362px;margin-top:9px}.portfolio_page_visual-portfolio-settings .metabox-holder>div,.portfolio_page_visual-portfolio-settings .metabox-holder>div>form{min-height:340px}}.portfolio_page_visual-portfolio-settings .nav-tab-wrapper svg{width:1.2em;height:1.2em;margin-right:.5em;vertical-align:-0.2em}.portfolio_page_visual-portfolio-settings .metabox-holder{-webkit-box-sizing:border-box;box-sizing:border-box;padding:10px 20px;background-color:#fff;border:1px solid #d7dbde}.portfolio_page_visual-portfolio-settings .metabox-holder form{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.portfolio_page_visual-portfolio-settings .metabox-holder .metabox-holder-footer{position:sticky;bottom:0;padding:15px 20px;margin-top:auto;margin-right:-20px;margin-bottom:-10px;margin-left:-20px;background-color:#f5f5f5;border-top:1px solid #ddd}.portfolio_page_visual-portfolio-settings .metabox-holder .metabox-holder-footer>p{padding:0;margin:0}.portfolio_page_visual-portfolio-settings .form-table tr{display:block}.portfolio_page_visual-portfolio-settings .form-table th{display:block;width:100%;padding:0;margin-bottom:10px}.portfolio_page_visual-portfolio-settings .form-table td{display:block;padding:0;margin-bottom:20px}.portfolio_page_visual-portfolio-settings .submit{margin:0}.portfolio_page_visual-portfolio-settings .description{opacity:.7}.portfolio_page_visual-portfolio-settings .vpf-setting-type-section_title::before{content:"";display:block;padding-top:15px;margin-right:-20px;margin-left:-20px;border-top:1px solid #d7dbde}.portfolio_page_visual-portfolio-settings .vpf-setting-type-section_title label{font-size:15px}.portfolio_page_visual-portfolio-settings .vpf-setting-type-section_title label:empty{display:block;margin-top:-20px}.portfolio_page_visual-portfolio-settings .vpf-setting-type-section_title .description{margin-top:-5px}.portfolio_page_visual-portfolio-settings .wpsa-image-remove{display:none;margin-left:10px}.portfolio_page_visual-portfolio-settings .metabox-holder .notice{padding:15px}.portfolio_page_visual-portfolio-settings .vpf-settings-control-pro>td{pointer-events:none}.portfolio_page_visual-portfolio-settings .vpf-settings-control-pro .description{opacity:.3}.portfolio_page_visual-portfolio-settings .vpf-settings-control-pro .vpf-settings-control-pro-label{position:relative;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:18px;height:18px;margin-left:10px;font-family:sans-serif;font-size:11px;line-height:18px;color:#fff;text-align:center;cursor:pointer;background-color:#4c4c4c;border-radius:10px}.portfolio_page_visual-portfolio-settings .vpf-settings-control-pro .vpf-settings-control-pro-label>span{position:absolute;display:none;bottom:100%;width:130px;padding:5px;margin-bottom:10px;background-color:rgba(0,0,0,.8);border-radius:4px;z-index:9990}.portfolio_page_visual-portfolio-settings .vpf-settings-control-pro .vpf-settings-control-pro-label:hover>span,.portfolio_page_visual-portfolio-settings .vpf-settings-control-pro .vpf-settings-control-pro-label:focus>span{display:block}.portfolio_page_visual-portfolio-settings .vpf-settings-control-pro.breakpoint_xs .vpf-settings-control-pro-label,.portfolio_page_visual-portfolio-settings .vpf-settings-control-pro.breakpoint_sm .vpf-settings-control-pro-label,.portfolio_page_visual-portfolio-settings .vpf-settings-control-pro.breakpoint_md .vpf-settings-control-pro-label,.portfolio_page_visual-portfolio-settings .vpf-settings-control-pro.breakpoint_lg .vpf-settings-control-pro-label,.portfolio_page_visual-portfolio-settings .vpf-settings-control-pro.breakpoint_xl .vpf-settings-control-pro-label{display:none}.portfolio_page_visual-portfolio-settings .vp-toggle-field{position:relative;display:inline-block}.portfolio_page_visual-portfolio-settings .vp-toggle-field input{width:0;height:0;opacity:0}.portfolio_page_visual-portfolio-settings .vp-toggle-field .vp-toggle-field-slider-round{position:absolute;top:0;right:0;bottom:0;left:0;width:36px;height:18px;cursor:pointer;background-color:#ccc;border-radius:34px;-webkit-transition:.4s;-o-transition:.4s;transition:.4s}.portfolio_page_visual-portfolio-settings .vp-toggle-field .vp-toggle-field-slider-round::before{content:"";position:absolute;bottom:3px;left:3px;width:12px;height:12px;background-color:#fff;border-radius:50%;-webkit-transition:.4s;-o-transition:.4s;transition:.4s}.portfolio_page_visual-portfolio-settings .vp-toggle-field input:checked+.vp-toggle-field-slider-round{background-color:#007cba}.portfolio_page_visual-portfolio-settings .vp-toggle-field input:focus+.vp-toggle-field-slider-round{-webkit-box-shadow:0 0 1px #007cba;box-shadow:0 0 1px #007cba}.portfolio_page_visual-portfolio-settings .vp-toggle-field input:checked+.vp-toggle-field-slider-round::before{-webkit-transform:translateX(18px);-ms-transform:translateX(18px);transform:translateX(18px)}.portfolio_page_visual-portfolio-settings .vp-toggle-field .description{margin-left:22px}.portfolio_page_visual-portfolio-settings .vp-range-field{width:183px;height:3px;vertical-align:middle;cursor:pointer;background:#007cba;outline:none;-webkit-box-shadow:none;box-shadow:none;-webkit-appearance:none}.portfolio_page_visual-portfolio-settings .vp-range-field::-webkit-slider-thumb{width:20px;height:20px;background:#fff;border:1px solid #7e8993;border-radius:20px;-webkit-transition:border-width .2s cubic-bezier(0.26, 0.08, 0.15, 1);transition:border-width .2s cubic-bezier(0.26, 0.08, 0.15, 1);-webkit-appearance:none;appearance:none}.portfolio_page_visual-portfolio-settings .vp-range-field:active::-webkit-slider-thumb{border-color:#007cba;-webkit-box-shadow:0 0 0 1px #007cba;box-shadow:0 0 0 1px #007cba}.portfolio_page_visual-portfolio-settings .vp-range-number-field{-webkit-box-sizing:border-box;box-sizing:border-box;width:55px;margin-left:9px;vertical-align:middle;background:#fff;border:1px solid #8f969f;border-radius:4px}.portfolio_page_visual-portfolio-settings .social_pro_info>th,.portfolio_page_vpf_proofing_page .social_pro_info>th{display:none}.portfolio_page_visual-portfolio-settings .vpf-settings-info-pro,.portfolio_page_vpf_proofing_page .vpf-settings-info-pro{max-width:240px;padding:20px;text-align:center;background-color:#fff;border:2px solid #2540cc}.portfolio_page_visual-portfolio-settings .vpf-settings-info-pro h3,.portfolio_page_vpf_proofing_page .vpf-settings-info-pro h3{margin-top:0;margin-bottom:13px;font-size:15px}.portfolio_page_visual-portfolio-settings .vpf-settings-info-pro p,.portfolio_page_vpf_proofing_page .vpf-settings-info-pro p{margin-bottom:13px;font-size:13px}.portfolio_page_visual-portfolio-settings .vpf-settings-info-pro-button,.portfolio_page_vpf_proofing_page .vpf-settings-info-pro-button{display:inline-block;padding:7px 15px;margin-top:5px;text-decoration:none;background:#2540cc;border-radius:3px}.portfolio_page_visual-portfolio-settings .vpf-settings-info-pro-button,.portfolio_page_visual-portfolio-settings .vpf-settings-info-pro-button:hover,.portfolio_page_visual-portfolio-settings .vpf-settings-info-pro-button:focus,.portfolio_page_visual-portfolio-settings .vpf-settings-info-pro-button:active,.portfolio_page_vpf_proofing_page .vpf-settings-info-pro-button,.portfolio_page_vpf_proofing_page .vpf-settings-info-pro-button:hover,.portfolio_page_vpf_proofing_page .vpf-settings-info-pro-button:focus,.portfolio_page_vpf_proofing_page .vpf-settings-info-pro-button:active{color:#fff}.portfolio_page_visual-portfolio-settings .vpf-settings-info-pro-button:hover,.portfolio_page_visual-portfolio-settings .vpf-settings-info-pro-button:focus,.portfolio_page_vpf_proofing_page .vpf-settings-info-pro-button:hover,.portfolio_page_vpf_proofing_page .vpf-settings-info-pro-button:focus{background:#314cda}#vp_social_integrations .metabox-holder-footer,#vp_watermarks .metabox-holder-footer,#vp_white_label .metabox-holder-footer{display:none}.vpf-welcome-screen{-webkit-box-sizing:border-box;box-sizing:border-box;padding-right:20px;padding-left:20px;margin-left:-20px;font-size:16px;line-height:1.6}.vpf-welcome-screen *,.vpf-welcome-screen *::before,.vpf-welcome-screen *::after{-webkit-box-sizing:inherit;box-sizing:inherit}@media screen and (max-width: 782px){.vpf-welcome-screen{margin-left:-10px}}.vpf-welcome-screen p{font-size:inherit;line-height:1.6}.vpf-welcome-screen h2{margin-top:0;font-size:1.8em;font-weight:700;line-height:1.4;text-align:center}.vpf-welcome-screen .vpf-welcome-head{position:relative;padding:120px 0;margin-bottom:120px;color:#fff;background-color:#000;z-index:0}@media screen and (max-width: 600px){.vpf-welcome-screen .vpf-welcome-head{margin-bottom:60px}}.vpf-welcome-screen .vpf-welcome-head .vpf-welcome-head-background{position:absolute;display:block;top:0;right:-20px;width:calc(100% + 40px);height:100%;-o-object-fit:cover;object-fit:cover;z-index:-1}.vpf-welcome-screen .vpf-welcome-head .vpf-welcome-head-logo{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin:0;margin-bottom:20px;color:#fff}@media screen and (max-width: 600px){.vpf-welcome-screen .vpf-welcome-head .vpf-welcome-head-logo{font-size:20px}}.vpf-welcome-screen .vpf-welcome-head .dashicons-visual-portfolio{display:inline-block;width:60px;height:60px;margin-top:3px;margin-right:20px;background-size:60px;opacity:1}@media screen and (max-width: 600px){.vpf-welcome-screen .vpf-welcome-head .dashicons-visual-portfolio{width:30px;height:30px;margin-right:10px;background-size:30px}}.vpf-welcome-screen .vpf-welcome-head .vpf-welcome-subtitle{max-width:480px;margin:0 auto;font-weight:500;line-height:1.7;color:#c1c1c1;text-align:center}.vpf-welcome-screen .vpf-welcome-head .vpf-welcome-head-pro-info{position:absolute;bottom:-50px;left:50%;width:100%;max-width:570px;padding:25px 45px;color:#131313;text-align:center;background-color:#fff;border-radius:3px;-webkit-box-shadow:0 5px 10px 0 rgba(0,0,0,.1);box-shadow:0 5px 10px 0 rgba(0,0,0,.1);-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%)}@media screen and (max-width: 1120px){.vpf-welcome-screen .vpf-welcome-head .vpf-welcome-head-pro-info{max-width:530px}}@media screen and (max-width: 600px){.vpf-welcome-screen .vpf-welcome-head .vpf-welcome-head-pro-info{position:relative}}.vpf-welcome-screen .vpf-welcome-content{max-width:700px;margin:0 auto}.vpf-welcome-screen .vpf-welcome-content .vpf-welcome-content-title{max-width:600px;margin:0 auto;margin-bottom:50px}.vpf-welcome-screen .vpf-welcome-content .vpf-welcome-content-features{display:grid;grid-template-columns:1fr 1fr;grid-gap:30px;list-style:none}@media screen and (max-width: 600px){.vpf-welcome-screen .vpf-welcome-content .vpf-welcome-content-features{grid-template-columns:1fr}}.vpf-welcome-screen .vpf-welcome-content .vpf-welcome-content-features li{position:relative;padding-left:30px}.vpf-welcome-screen .vpf-welcome-content .vpf-welcome-content-features li>span{position:absolute;display:block;top:0;left:0}.vpf-welcome-screen .vpf-welcome-content .vpf-welcome-content-features li>strong{color:#000}.vpf-welcome-screen .vpf-welcome-content hr{max-width:200px;margin-top:30px;margin-bottom:60px}.vpf-welcome-screen .vpf-welcome-content .vpf-welcome-content-buttons{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;max-width:450px;margin:0 auto;margin-bottom:50px;text-align:center}@media screen and (max-width: 600px){.vpf-welcome-screen .vpf-welcome-content .vpf-welcome-content-buttons{grid-template-columns:1fr}}.vpf-welcome-screen .vpf-welcome-content .vpf-welcome-content-buttons a{padding:11px;font-size:14px;font-weight:600;color:#fff;text-decoration:none;text-transform:uppercase;background-color:#2540cc;border-radius:3px}.vpf-welcome-screen .vpf-welcome-content .vpf-welcome-content-buttons a:hover,.vpf-welcome-screen .vpf-welcome-content .vpf-welcome-content-buttons a:focus{background-color:#13289a}.vpf-welcome-screen .vpf-welcome-content .vpf-welcome-content-buttons a:last-child{color:#000;background-color:#d2d2d2}.vpf-welcome-screen .vpf-welcome-content .vpf-welcome-content-buttons a:last-child:hover,.vpf-welcome-screen .vpf-welcome-content .vpf-welcome-content-buttons a:last-child:focus{background-color:#bdbdbd}.vpf-welcome-screen .vpf-welcome-foot-pro-info{max-width:700px;padding:40px;margin:60px auto;background-color:#fff;border:1px solid #e0e0e0}.vpf-welcome-screen .vpf-welcome-foot-pro-info ul{max-width:500px;margin:40px auto;-webkit-column-count:2;-moz-column-count:2;column-count:2;font-weight:500}@media screen and (max-width: 600px){.vpf-welcome-screen .vpf-welcome-foot-pro-info ul{-webkit-column-count:1;-moz-column-count:1;column-count:1}}.vpf-welcome-screen .vpf-welcome-foot-pro-info ul>li::before{content:"";display:inline-block;width:20px;height:20px;margin-right:6px;vertical-align:-0.25em;background-image:url('data:image/svg+xml,%3csvg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="%231e9059"%3e%3cpath stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7" /%3e%3c/svg%3e')}.vpf-welcome-screen .vpf-welcome-foot-pro-info>a{display:block;padding:16px;font-size:16px;font-weight:600;color:#fff;text-align:center;text-decoration:none;text-transform:uppercase;background-color:#1e9059;border-radius:3px}.vpf-welcome-screen .vpf-welcome-foot-pro-info>a:hover,.vpf-welcome-screen .vpf-welcome-foot-pro-info>a:focus{background-color:#0f7544}
2
  * Name : Visual Portfolio
3
  * Version : @@plugin_version
4
  * Author : nK https://nkdev.info
5
+ */#adminmenu a[href*="page=visual_portfolio_go_pro"],.wp-list-table.plugins a[href*="page=visual_portfolio_go_pro"],.vpf-admin-toolbar a[href*="page=visual_portfolio_go_pro"]{font-weight:700;color:#11b916}#adminmenu a[href*="page=visual_portfolio_go_pro"] .dashicons,.wp-list-table.plugins a[href*="page=visual_portfolio_go_pro"] .dashicons,.vpf-admin-toolbar a[href*="page=visual_portfolio_go_pro"] .dashicons{-webkit-transition:none;-o-transition:none;transition:none}#adminmenu a[href*="page=visual_portfolio_go_pro"]:hover,#adminmenu a[href*="page=visual_portfolio_go_pro"]:focus,.wp-list-table.plugins a[href*="page=visual_portfolio_go_pro"]:hover,.wp-list-table.plugins a[href*="page=visual_portfolio_go_pro"]:focus,.vpf-admin-toolbar a[href*="page=visual_portfolio_go_pro"]:hover,.vpf-admin-toolbar a[href*="page=visual_portfolio_go_pro"]:focus{color:#22e429}.dashicons-visual-portfolio,.mce-widget .mce-i-visual-portfolio{background-image:url("../images/icon.svg");background-repeat:no-repeat;background-position:center center;background-size:18px;opacity:.6}.mce-widget .mce-i-visual-portfolio{background-image:url("../images/icon-mce.svg");opacity:1}.menu-top.current .dashicons-visual-portfolio,.menu-top:hover .dashicons-visual-portfolio,.wp-has-current-submenu .dashicons-visual-portfolio{opacity:1}.vc_element-icon[data-is-container=true].icon-visual-portfolio,.vc_element-icon.icon-visual-portfolio{background-position:50% 50%}.vc_element-icon.icon-visual-portfolio,.vc_control-visual-portfolio{position:relative;overflow:hidden;background-image:url("../images/icon-gutenberg.svg");background-position:50% 50%;background-size:cover;border-radius:3px}.vc_add-element-container .icon-visual-portfolio{position:absolute}.vc_control-visual-portfolio{display:inline-block;width:18px;height:18px;margin:0 2px;cursor:pointer}.vc_controls-row .vc_control-visual-portfolio{float:right;margin:4px}.vc_control-visual-portfolio-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:2}.vpf-admin-toolbar{background-color:#fff;border-bottom:1px solid #d7dbde}@media screen and (max-width: 600px){.vpf-admin-toolbar{display:none}}#wpcontent .vpf-admin-toolbar{padding-left:20px;margin-left:-20px}.vpf-admin-toolbar h2{display:inline-block;padding:5px 0;margin:0 10px 0 0;font-size:14px;line-height:2.57143}.vpf-admin-toolbar h2 i{display:inline-block;width:20px;height:20px;margin-top:-5px;margin-right:5px;vertical-align:middle;-webkit-filter:invert(1);filter:invert(1);opacity:1}.vpf-admin-toolbar .vpf-admin-toolbar-tab{display:inline-block;padding:5px 10px;margin:0 2px;font-size:14px;line-height:2.57143;color:inherit;text-decoration:none}.vpf-admin-toolbar .vpf-admin-toolbar-tab.is-active{padding-bottom:2px;border-bottom:#007cba solid 3px}.vpf-admin-toolbar .vpf-admin-toolbar-tab:hover,.vpf-admin-toolbar .vpf-admin-toolbar-tab:focus{color:#007cba}.vpf-admin-toolbar .vpf-admin-toolbar-tab .dashicons{line-height:2}.vp-row{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-sizing:border-box;box-sizing:border-box;margin-right:-15px;margin-left:-15px}.vp-col-1,.vp-col-2,.vp-col-3,.vp-col-4,.vp-col-5,.vp-col-6,.vp-col-7,.vp-col-8,.vp-col-9,.vp-col-10,.vp-col-11,.vp-col-12{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;-webkit-box-sizing:border-box;box-sizing:border-box;padding-right:15px;padding-left:15px}.vp-col-1{-ms-flex-preferred-size:8.3333333333%;flex-basis:8.3333333333%;max-width:8.3333333333%}.vp-col-2{-ms-flex-preferred-size:16.6666666667%;flex-basis:16.6666666667%;max-width:16.6666666667%}.vp-col-3{-ms-flex-preferred-size:25%;flex-basis:25%;max-width:25%}.vp-col-4{-ms-flex-preferred-size:33.3333333333%;flex-basis:33.3333333333%;max-width:33.3333333333%}.vp-col-5{-ms-flex-preferred-size:41.6666666667%;flex-basis:41.6666666667%;max-width:41.6666666667%}.vp-col-6{-ms-flex-preferred-size:50%;flex-basis:50%;max-width:50%}.vp-col-7{-ms-flex-preferred-size:58.3333333333%;flex-basis:58.3333333333%;max-width:58.3333333333%}.vp-col-8{-ms-flex-preferred-size:66.6666666667%;flex-basis:66.6666666667%;max-width:66.6666666667%}.vp-col-9{-ms-flex-preferred-size:75%;flex-basis:75%;max-width:75%}.vp-col-10{-ms-flex-preferred-size:83.3333333333%;flex-basis:83.3333333333%;max-width:83.3333333333%}.vp-col-11{-ms-flex-preferred-size:91.6666666667%;flex-basis:91.6666666667%;max-width:91.6666666667%}.vp-col-12{-ms-flex-preferred-size:100%;flex-basis:100%;max-width:100%}.vp-col-clearfix{-ms-flex-preferred-size:100%;flex-basis:100%;max-width:100%}.vp-col-clearfix .vp-control-html{margin-bottom:0}.vp-oembed-preview{position:relative;width:100%;padding-top:56.25%;color:#a2a2a2;background-color:#f1f1f1;border:1px solid #e8e8e8}.vp-oembed-preview::after{content:"";position:absolute;display:block;top:50%;left:50%;width:20px;height:20px;margin-top:-10px;margin-left:-10px;font-family:dashicons;font-size:20px;font-style:normal;font-weight:400;line-height:1;text-align:center;text-decoration:inherit;z-index:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.vp-oembed-preview>iframe{position:absolute;top:0;left:0;width:100%;height:100%;z-index:2}.vpf-post-image-focal-point-panel .components-focal-point-picker_position-display-container .components-base-control__label{max-width:100%}.vpf-post-image-focal-point-panel .components-focal-point-picker_position-display-container .components-base-control{margin-bottom:0}.vpf-post-image-focal-point-panel~.editor-post-featured-image .editor-post-featured-image__preview{display:none}.vp-input{width:100%}.vp-portfolio__thumbnail{position:relative;display:block;max-width:70px;padding-top:100%;overflow:hidden;border-radius:3px}.vp-portfolio__thumbnail img{position:absolute;display:block;top:0;left:0;width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.vp-portfolio__thumbnail:empty{background-color:#f1f1f1;border:1px solid #e8e8e8}.vp-portfolio__thumbnail:empty,.vp-portfolio__thumbnail:empty:hover,.vp-portfolio__thumbnail:empty:active,.vp-portfolio__thumbnail:empty:focus{color:#a2a2a2}.vp-portfolio__thumbnail:empty::after{content:"";position:absolute;display:block;top:50%;left:50%;width:20px;height:20px;margin-top:-10px;margin-left:-10px;font-family:dashicons;font-size:20px;font-style:normal;font-weight:400;line-height:1;text-align:center;text-decoration:inherit;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.wp-list-table th.column-portfolio_post_thumbs{width:70px}.wp-list-table th.column-vp_lists_post_icon{width:28px}.wp-list-table th.column-vp_lists_post_shortcode{width:250px}@media screen and (max-width: 782px){.wp-list-table th.column-portfolio_post_thumbs,.wp-list-table th.column-vp_lists_post_icon{display:none}.wp-list-table tr:not(.inline-edit-row):not(.no-items) td.column-portfolio_post_thumbs,.wp-list-table tr:not(.inline-edit-row):not(.no-items) td.column-vp_lists_post_icon{float:left;width:70px !important;min-width:70px}.wp-list-table tr:not(.inline-edit-row):not(.no-items) td.column-vp_lists_post_icon{width:40px !important}.wp-list-table tr:not(.inline-edit-row):not(.no-items) td.column-portfolio_post_thumbs::before{content:none}.wp-list-table tr:not(.inline-edit-row):not(.no-items) td.column-title{overflow:hidden;clear:right}}.notice.vpf-saved-layouts-notice{padding:11px 15px;margin-top:15px;font-size:14px;line-height:1.4}.notice.vpf-saved-layouts-notice h2{margin-top:5px;margin-bottom:12px}.notice.vpf-saved-layouts-notice p{font-size:15px}.notice.vpf-saved-layouts-notice svg{display:inline-block;width:1.3em;height:1.3em;margin-right:.2em;vertical-align:-0.28em}.vp-portfolio-list__icon{position:relative;display:block;max-width:70px;padding-top:100%;overflow:hidden;color:inherit;color:#868686;background-color:#f1f1f1;border:1px solid #e8e8e8;border-radius:3px}.vp-portfolio-list__icon:hover,.vp-portfolio-list__icon:active,.vp-portfolio-list__icon:focus{color:#5f5f5f}.vp-portfolio-list__icon svg{position:absolute;display:block;top:15%;left:15%;width:70%;height:70%;-o-object-fit:cover;object-fit:cover}@media(min-width: 782px){.portfolio_page_visual-portfolio-settings h2.nav-tab-wrapper{position:relative;margin-right:-1px;border:none}.portfolio_page_visual-portfolio-settings .nav-tab-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;float:left;width:220px}.portfolio_page_visual-portfolio-settings .nav-tab-wrapper .nav-tab{padding:10px 15px;margin-bottom:-1px;margin-left:0;background:none;border:1px solid transparent;border-right:none;border-left:2px solid transparent}.portfolio_page_visual-portfolio-settings .nav-tab-wrapper .nav-tab:hover,.portfolio_page_visual-portfolio-settings .nav-tab-wrapper .nav-tab:focus,.portfolio_page_visual-portfolio-settings .nav-tab-wrapper .nav-tab-active{background:#fff;border-color:#d7dbde;border-left-color:#007cba}.portfolio_page_visual-portfolio-settings .metabox-holder{float:left;width:calc(100% - 222px);min-height:362px;margin-top:9px}.portfolio_page_visual-portfolio-settings .metabox-holder>div,.portfolio_page_visual-portfolio-settings .metabox-holder>div>form{min-height:340px}}.portfolio_page_visual-portfolio-settings .nav-tab-wrapper svg{width:1.2em;height:1.2em;margin-right:.5em;vertical-align:-0.2em}.portfolio_page_visual-portfolio-settings .metabox-holder{-webkit-box-sizing:border-box;box-sizing:border-box;padding:10px 20px;background-color:#fff;border:1px solid #d7dbde}.portfolio_page_visual-portfolio-settings .metabox-holder form{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.portfolio_page_visual-portfolio-settings .metabox-holder .metabox-holder-footer{position:sticky;bottom:0;padding:15px 20px;margin-top:auto;margin-right:-20px;margin-bottom:-10px;margin-left:-20px;background-color:#f5f5f5;border-top:1px solid #ddd}.portfolio_page_visual-portfolio-settings .metabox-holder .metabox-holder-footer>p{padding:0;margin:0}.portfolio_page_visual-portfolio-settings .form-table tr{display:block}.portfolio_page_visual-portfolio-settings .form-table th{display:block;width:100%;padding:0;margin-bottom:10px}.portfolio_page_visual-portfolio-settings .form-table td{display:block;padding:0;margin-bottom:20px}.portfolio_page_visual-portfolio-settings .submit{margin:0}.portfolio_page_visual-portfolio-settings .description{opacity:.7}.portfolio_page_visual-portfolio-settings .vpf-setting-type-section_title::before{content:"";display:block;padding-top:15px;margin-right:-20px;margin-left:-20px;border-top:1px solid #d7dbde}.portfolio_page_visual-portfolio-settings .vpf-setting-type-section_title label{font-size:15px}.portfolio_page_visual-portfolio-settings .vpf-setting-type-section_title label:empty{display:block;margin-top:-20px}.portfolio_page_visual-portfolio-settings .vpf-setting-type-section_title .description{margin-top:-5px}.portfolio_page_visual-portfolio-settings .wpsa-image-remove{display:none;margin-left:10px}.portfolio_page_visual-portfolio-settings .metabox-holder .notice{padding:15px}.portfolio_page_visual-portfolio-settings .vpf-settings-control-pro>td{pointer-events:none}.portfolio_page_visual-portfolio-settings .vpf-settings-control-pro .description{opacity:.3}.portfolio_page_visual-portfolio-settings .vpf-settings-control-pro .vpf-settings-control-pro-label{position:relative;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:18px;height:18px;margin-left:10px;font-family:sans-serif;font-size:11px;line-height:18px;color:#fff;text-align:center;cursor:pointer;background-color:#4c4c4c;border-radius:10px}.portfolio_page_visual-portfolio-settings .vpf-settings-control-pro .vpf-settings-control-pro-label>span{position:absolute;display:none;bottom:100%;width:130px;padding:5px;margin-bottom:10px;background-color:rgba(0,0,0,.8);border-radius:4px;z-index:9990}.portfolio_page_visual-portfolio-settings .vpf-settings-control-pro .vpf-settings-control-pro-label:hover>span,.portfolio_page_visual-portfolio-settings .vpf-settings-control-pro .vpf-settings-control-pro-label:focus>span{display:block}.portfolio_page_visual-portfolio-settings .vpf-settings-control-pro.breakpoint_xs .vpf-settings-control-pro-label,.portfolio_page_visual-portfolio-settings .vpf-settings-control-pro.breakpoint_sm .vpf-settings-control-pro-label,.portfolio_page_visual-portfolio-settings .vpf-settings-control-pro.breakpoint_md .vpf-settings-control-pro-label,.portfolio_page_visual-portfolio-settings .vpf-settings-control-pro.breakpoint_lg .vpf-settings-control-pro-label,.portfolio_page_visual-portfolio-settings .vpf-settings-control-pro.breakpoint_xl .vpf-settings-control-pro-label{display:none}.portfolio_page_visual-portfolio-settings .vp-toggle-field{position:relative;display:inline-block}.portfolio_page_visual-portfolio-settings .vp-toggle-field input{width:0;height:0;opacity:0}.portfolio_page_visual-portfolio-settings .vp-toggle-field .vp-toggle-field-slider-round{position:absolute;top:0;right:0;bottom:0;left:0;width:36px;height:18px;cursor:pointer;background-color:#ccc;border-radius:34px;-webkit-transition:.4s;-o-transition:.4s;transition:.4s}.portfolio_page_visual-portfolio-settings .vp-toggle-field .vp-toggle-field-slider-round::before{content:"";position:absolute;bottom:3px;left:3px;width:12px;height:12px;background-color:#fff;border-radius:50%;-webkit-transition:.4s;-o-transition:.4s;transition:.4s}.portfolio_page_visual-portfolio-settings .vp-toggle-field input:checked+.vp-toggle-field-slider-round{background-color:#007cba}.portfolio_page_visual-portfolio-settings .vp-toggle-field input:focus+.vp-toggle-field-slider-round{-webkit-box-shadow:0 0 1px #007cba;box-shadow:0 0 1px #007cba}.portfolio_page_visual-portfolio-settings .vp-toggle-field input:checked+.vp-toggle-field-slider-round::before{-webkit-transform:translateX(18px);-ms-transform:translateX(18px);transform:translateX(18px)}.portfolio_page_visual-portfolio-settings .vp-toggle-field .description{margin-left:22px}.portfolio_page_visual-portfolio-settings .vp-range-field{width:183px;height:3px;vertical-align:middle;cursor:pointer;background:#007cba;outline:none;-webkit-box-shadow:none;box-shadow:none;-webkit-appearance:none}.portfolio_page_visual-portfolio-settings .vp-range-field::-webkit-slider-thumb{width:20px;height:20px;background:#fff;border:1px solid #7e8993;border-radius:20px;-webkit-transition:border-width .2s cubic-bezier(0.26, 0.08, 0.15, 1);transition:border-width .2s cubic-bezier(0.26, 0.08, 0.15, 1);-webkit-appearance:none;appearance:none}.portfolio_page_visual-portfolio-settings .vp-range-field:active::-webkit-slider-thumb{border-color:#007cba;-webkit-box-shadow:0 0 0 1px #007cba;box-shadow:0 0 0 1px #007cba}.portfolio_page_visual-portfolio-settings .vp-range-number-field{-webkit-box-sizing:border-box;box-sizing:border-box;width:55px;margin-left:9px;vertical-align:middle;background:#fff;border:1px solid #8f969f;border-radius:4px}.portfolio_page_visual-portfolio-settings .social_pro_info>th,.portfolio_page_vpf_proofing_page .social_pro_info>th{display:none}.portfolio_page_visual-portfolio-settings .vpf-settings-info-pro,.portfolio_page_vpf_proofing_page .vpf-settings-info-pro{max-width:240px;padding:20px;text-align:center;background-color:#fff;border:2px solid #2540cc}.portfolio_page_visual-portfolio-settings .vpf-settings-info-pro h3,.portfolio_page_vpf_proofing_page .vpf-settings-info-pro h3{margin-top:0;margin-bottom:13px;font-size:15px}.portfolio_page_visual-portfolio-settings .vpf-settings-info-pro p,.portfolio_page_vpf_proofing_page .vpf-settings-info-pro p{margin-bottom:13px;font-size:13px}.portfolio_page_visual-portfolio-settings .vpf-settings-info-pro-button,.portfolio_page_vpf_proofing_page .vpf-settings-info-pro-button{display:inline-block;padding:7px 15px;margin-top:5px;text-decoration:none;background:#2540cc;border-radius:3px}.portfolio_page_visual-portfolio-settings .vpf-settings-info-pro-button,.portfolio_page_visual-portfolio-settings .vpf-settings-info-pro-button:hover,.portfolio_page_visual-portfolio-settings .vpf-settings-info-pro-button:focus,.portfolio_page_visual-portfolio-settings .vpf-settings-info-pro-button:active,.portfolio_page_vpf_proofing_page .vpf-settings-info-pro-button,.portfolio_page_vpf_proofing_page .vpf-settings-info-pro-button:hover,.portfolio_page_vpf_proofing_page .vpf-settings-info-pro-button:focus,.portfolio_page_vpf_proofing_page .vpf-settings-info-pro-button:active{color:#fff}.portfolio_page_visual-portfolio-settings .vpf-settings-info-pro-button:hover,.portfolio_page_visual-portfolio-settings .vpf-settings-info-pro-button:focus,.portfolio_page_vpf_proofing_page .vpf-settings-info-pro-button:hover,.portfolio_page_vpf_proofing_page .vpf-settings-info-pro-button:focus{background:#314cda}#vp_social_integrations .metabox-holder-footer,#vp_watermarks .metabox-holder-footer,#vp_white_label .metabox-holder-footer{display:none}.vpf-welcome-screen{-webkit-box-sizing:border-box;box-sizing:border-box;padding-right:20px;padding-left:20px;margin-left:-20px;font-size:16px;line-height:1.6}.vpf-welcome-screen *,.vpf-welcome-screen *::before,.vpf-welcome-screen *::after{-webkit-box-sizing:inherit;box-sizing:inherit}@media screen and (max-width: 782px){.vpf-welcome-screen{margin-left:-10px}}.vpf-welcome-screen p{font-size:inherit;line-height:1.6}.vpf-welcome-screen h2{margin-top:0;font-size:1.8em;font-weight:700;line-height:1.4;text-align:center}.vpf-welcome-screen .vpf-welcome-head{position:relative;padding:120px 0;margin-bottom:120px;color:#fff;background-color:#000;z-index:0}@media screen and (max-width: 600px){.vpf-welcome-screen .vpf-welcome-head{margin-bottom:60px}}.vpf-welcome-screen .vpf-welcome-head .vpf-welcome-head-background{position:absolute;display:block;top:0;right:-20px;width:calc(100% + 40px);height:100%;-o-object-fit:cover;object-fit:cover;z-index:-1}.vpf-welcome-screen .vpf-welcome-head .vpf-welcome-head-logo{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin:0;margin-bottom:20px;color:#fff}@media screen and (max-width: 600px){.vpf-welcome-screen .vpf-welcome-head .vpf-welcome-head-logo{font-size:20px}}.vpf-welcome-screen .vpf-welcome-head .dashicons-visual-portfolio{display:inline-block;width:60px;height:60px;margin-top:3px;margin-right:20px;background-size:60px;opacity:1}@media screen and (max-width: 600px){.vpf-welcome-screen .vpf-welcome-head .dashicons-visual-portfolio{width:30px;height:30px;margin-right:10px;background-size:30px}}.vpf-welcome-screen .vpf-welcome-head .vpf-welcome-subtitle{max-width:480px;margin:0 auto;font-weight:500;line-height:1.7;color:#c1c1c1;text-align:center}.vpf-welcome-screen .vpf-welcome-head .vpf-welcome-head-pro-info{position:absolute;bottom:-50px;left:50%;width:100%;max-width:570px;padding:25px 45px;color:#131313;text-align:center;background-color:#fff;border-radius:3px;-webkit-box-shadow:0 5px 10px 0 rgba(0,0,0,.1);box-shadow:0 5px 10px 0 rgba(0,0,0,.1);-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%)}@media screen and (max-width: 1120px){.vpf-welcome-screen .vpf-welcome-head .vpf-welcome-head-pro-info{max-width:530px}}@media screen and (max-width: 600px){.vpf-welcome-screen .vpf-welcome-head .vpf-welcome-head-pro-info{position:relative}}.vpf-welcome-screen .vpf-welcome-content{max-width:700px;margin:0 auto}.vpf-welcome-screen .vpf-welcome-content .vpf-welcome-content-title{max-width:600px;margin:0 auto;margin-bottom:50px}.vpf-welcome-screen .vpf-welcome-content .vpf-welcome-content-features{display:grid;grid-template-columns:1fr 1fr;grid-gap:30px;list-style:none}@media screen and (max-width: 600px){.vpf-welcome-screen .vpf-welcome-content .vpf-welcome-content-features{grid-template-columns:1fr}}.vpf-welcome-screen .vpf-welcome-content .vpf-welcome-content-features li{position:relative;padding-left:30px}.vpf-welcome-screen .vpf-welcome-content .vpf-welcome-content-features li>span{position:absolute;display:block;top:0;left:0}.vpf-welcome-screen .vpf-welcome-content .vpf-welcome-content-features li>strong{color:#000}.vpf-welcome-screen .vpf-welcome-content hr{max-width:200px;margin-top:30px;margin-bottom:60px}.vpf-welcome-screen .vpf-welcome-content .vpf-welcome-content-buttons{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;max-width:450px;margin:0 auto;margin-bottom:50px;text-align:center}@media screen and (max-width: 600px){.vpf-welcome-screen .vpf-welcome-content .vpf-welcome-content-buttons{grid-template-columns:1fr}}.vpf-welcome-screen .vpf-welcome-content .vpf-welcome-content-buttons a{padding:11px;font-size:14px;font-weight:600;color:#fff;text-decoration:none;text-transform:uppercase;background-color:#2540cc;border-radius:3px}.vpf-welcome-screen .vpf-welcome-content .vpf-welcome-content-buttons a:hover,.vpf-welcome-screen .vpf-welcome-content .vpf-welcome-content-buttons a:focus{background-color:#13289a}.vpf-welcome-screen .vpf-welcome-content .vpf-welcome-content-buttons a:last-child{color:#000;background-color:#d2d2d2}.vpf-welcome-screen .vpf-welcome-content .vpf-welcome-content-buttons a:last-child:hover,.vpf-welcome-screen .vpf-welcome-content .vpf-welcome-content-buttons a:last-child:focus{background-color:#bdbdbd}.vpf-welcome-screen .vpf-welcome-foot-pro-info{max-width:700px;padding:40px;margin:60px auto;background-color:#fff;border:1px solid #e0e0e0}.vpf-welcome-screen .vpf-welcome-foot-pro-info ul{max-width:500px;margin:40px auto;-webkit-column-count:2;-moz-column-count:2;column-count:2;font-weight:500}@media screen and (max-width: 600px){.vpf-welcome-screen .vpf-welcome-foot-pro-info ul{-webkit-column-count:1;-moz-column-count:1;column-count:1}}.vpf-welcome-screen .vpf-welcome-foot-pro-info ul>li::before{content:"";display:inline-block;width:20px;height:20px;margin-right:6px;vertical-align:-0.25em;background-image:url('data:image/svg+xml,%3csvg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="%231e9059"%3e%3cpath stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7" /%3e%3c/svg%3e')}.vpf-welcome-screen .vpf-welcome-foot-pro-info>a{display:block;padding:16px;font-size:16px;font-weight:600;color:#fff;text-align:center;text-decoration:none;text-transform:uppercase;background-color:#1e9059;border-radius:3px}.vpf-welcome-screen .vpf-welcome-foot-pro-info>a:hover,.vpf-welcome-screen .vpf-welcome-foot-pro-info>a:focus{background-color:#0f7544}
assets/admin/js/elementor.js CHANGED
@@ -2,7 +2,7 @@
2
  * Additional js for Elementor
3
  *
4
  * Name : Visual Portfolio
5
- * Version : 2.13.1
6
  * Author : nK https://nkdev.info
7
  */
8
  import { throttle } from 'throttle-debounce';
2
  * Additional js for Elementor
3
  *
4
  * Name : Visual Portfolio
5
+ * Version : 2.13.2
6
  * Author : nK https://nkdev.info
7
  */
8
  import { throttle } from 'throttle-debounce';
assets/admin/js/mce-dropdown.js CHANGED
@@ -1,6 +1,6 @@
1
  /*!
2
  * Name : Visual Portfolio
3
- * Version : 2.13.1
4
  * Author : nK https://nkdev.info
5
  */
6
  const {
1
  /*!
2
  * Name : Visual Portfolio
3
+ * Version : 2.13.2
4
  * Author : nK https://nkdev.info
5
  */
6
  const {
assets/admin/js/script.js CHANGED
@@ -1,6 +1,6 @@
1
  /*!
2
  * Name : Visual Portfolio
3
- * Version : 2.13.1
4
  * Author : nK https://nkdev.info
5
  */
6
  import { debounce } from 'throttle-debounce';
1
  /*!
2
  * Name : Visual Portfolio
3
+ * Version : 2.13.2
4
  * Author : nK https://nkdev.info
5
  */
6
  import { debounce } from 'throttle-debounce';
assets/admin/js/vc-frontend.js CHANGED
@@ -2,7 +2,7 @@
2
  * Additional js for frontend VC
3
  *
4
  * Name : Visual Portfolio
5
- * Version : 2.13.1
6
  * Author : nK https://nkdev.info
7
  */
8
  const {
2
  * Additional js for frontend VC
3
  *
4
  * Name : Visual Portfolio
5
+ * Version : 2.13.2
6
  * Author : nK https://nkdev.info
7
  */
8
  const {
assets/js/lazyload.js CHANGED
@@ -27,6 +27,11 @@ if ( 'undefined' !== typeof objectFitImages ) {
27
 
28
  // recalculate image size if parent is <picture>
29
  $doc.on( 'lazybeforesizes', ( e ) => {
 
 
 
 
 
30
  e.detail.width = $( e.target ).parents( ':not(picture)' ).innerWidth() || e.detail.width;
31
  } );
32
 
27
 
28
  // recalculate image size if parent is <picture>
29
  $doc.on( 'lazybeforesizes', ( e ) => {
30
+ // for some reason sometimes e.detail is undefined, so we need to check it.
31
+ if ( ! e.detail || ! e.detail.width || ! e.target ) {
32
+ return;
33
+ }
34
+
35
  e.detail.width = $( e.target ).parents( ':not(picture)' ).innerWidth() || e.detail.width;
36
  } );
37
 
assets/js/lazyload.min.js CHANGED
@@ -1 +1 @@
1
- !function(){var o=window,i=o.jQuery,t=o.objectFitImages,l=i(document);void 0!==t&&(t(".vp-portfolio img:not(.vp-lazyload)"),l.on("lazybeforeunveil",(function(o){var l=i(o.target);l.closest(".vp-portfolio").length&&l.one("load",(function(){t(l[0])}))}))),l.on("lazybeforesizes",(function(o){o.detail.width=i(o.target).parents(":not(picture)").innerWidth()||o.detail.width})),l.on("lazybeforeunveil",(function(o){var t=i(o.target);t.closest(".vp-portfolio__item-img").addClass("vp-portfolio__item-img-lazyloading"),t.closest(".vp-portfolio__thumbnail-img").addClass("vp-portfolio__thumbnail-img-lazyloading"),t.prev("noscript").remove()})),l.on("lazyloaded",(function(o){var t=i(o.target);t.closest(".vp-portfolio__item-img").removeClass("vp-portfolio__item-img-lazyloading").addClass("vp-portfolio__item-img-lazyloaded"),t.closest(".vp-portfolio__thumbnail-img").removeClass("vp-portfolio__thumbnail-img-lazyloading").addClass("vp-portfolio__thumbnail-img-lazyloaded")}))}();
1
+ !function(){var o=window,i=o.jQuery,t=o.objectFitImages,l=i(document);void 0!==t&&(t(".vp-portfolio img:not(.vp-lazyload)"),l.on("lazybeforeunveil",(function(o){var l=i(o.target);l.closest(".vp-portfolio").length&&l.one("load",(function(){t(l[0])}))}))),l.on("lazybeforesizes",(function(o){o.detail&&o.detail.width&&o.target&&(o.detail.width=i(o.target).parents(":not(picture)").innerWidth()||o.detail.width)})),l.on("lazybeforeunveil",(function(o){var t=i(o.target);t.closest(".vp-portfolio__item-img").addClass("vp-portfolio__item-img-lazyloading"),t.closest(".vp-portfolio__thumbnail-img").addClass("vp-portfolio__thumbnail-img-lazyloading"),t.prev("noscript").remove()})),l.on("lazyloaded",(function(o){var t=i(o.target);t.closest(".vp-portfolio__item-img").removeClass("vp-portfolio__item-img-lazyloading").addClass("vp-portfolio__item-img-lazyloaded"),t.closest(".vp-portfolio__thumbnail-img").removeClass("vp-portfolio__thumbnail-img-lazyloading").addClass("vp-portfolio__thumbnail-img-lazyloaded")}))}();
assets/js/lazysizes-object-fit-cover.js CHANGED
@@ -41,7 +41,8 @@
41
  lazySizes.objectFitCover = objectFitCover;
42
 
43
  document.addEventListener( 'lazybeforesizes', ( e ) => {
44
- if ( e.defaultPrevented || e.detail.instance !== lazySizes ) {
 
45
  return;
46
  }
47
 
41
  lazySizes.objectFitCover = objectFitCover;
42
 
43
  document.addEventListener( 'lazybeforesizes', ( e ) => {
44
+ // for some reason sometimes e.detail is undefined, so we need to check it.
45
+ if ( e.defaultPrevented || ! e.detail || ! e.detail.width || ! e.target || e.detail.instance !== lazySizes ) {
46
  return;
47
  }
48
 
assets/js/lazysizes-object-fit-cover.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,t){var i=function i(){t(e.lazySizes),e.removeEventListener("lazyunveilread",i,!0)};t=t.bind(null,e,e.document),e.lazySizes?i():e.addEventListener("lazyunveilread",i,!0)}(window,(function(e,t,i){if(e.addEventListener){var n={calculateSize:function(t,i){var n,a=(n=t,e.getComputedStyle(n,null)||{});if(a&&a.objectFit&&"cover"===a.objectFit){var r=parseInt(t.getAttribute("height"),10),l=parseInt(t.getAttribute("width"),10);r&&l/r>t.clientWidth/t.clientHeight&&(i=parseInt(t.clientHeight*l/r,10))}return i}};i.objectFitCover=n,t.addEventListener("lazybeforesizes",(function(e){if(!e.defaultPrevented&&e.detail.instance===i){var t=e.target;e.detail.width=n.calculateSize(t,e.detail.width)}}))}}));
1
+ !function(e,t){var i=function i(){t(e.lazySizes),e.removeEventListener("lazyunveilread",i,!0)};t=t.bind(null,e,e.document),e.lazySizes?i():e.addEventListener("lazyunveilread",i,!0)}(window,(function(e,t,i){if(e.addEventListener){var n={calculateSize:function(t,i){var n,a=(n=t,e.getComputedStyle(n,null)||{});if(a&&a.objectFit&&"cover"===a.objectFit){var l=parseInt(t.getAttribute("height"),10),r=parseInt(t.getAttribute("width"),10);l&&r/l>t.clientWidth/t.clientHeight&&(i=parseInt(t.clientHeight*r/l,10))}return i}};i.objectFitCover=n,t.addEventListener("lazybeforesizes",(function(e){if(!e.defaultPrevented&&e.detail&&e.detail.width&&e.target&&e.detail.instance===i){var t=e.target;e.detail.width=n.calculateSize(t,e.detail.width)}}))}}));
assets/js/main.js CHANGED
@@ -701,8 +701,8 @@ class VP {
701
  }
702
 
703
  // load to invisible container, then append to posts container
704
- content = content.replace( '<body', '<body><div id="vp-infinite-load-body"' ).replace( '</body>', '</div></body>' );
705
- const $body = $( content ).filter( '#vp-infinite-load-body' );
706
 
707
  // find current block on new page
708
  const $newVP = $body.find( `.vp-portfolio.vp-uid-${ self.uid }` );
701
  }
702
 
703
  // load to invisible container, then append to posts container
704
+ content = content.replace( '<body', '<body><div id="vp-ajax-load-body"' ).replace( '</body>', '</div></body>' );
705
+ const $body = $( content ).filter( '#vp-ajax-load-body' );
706
 
707
  // find current block on new page
708
  const $newVP = $body.find( `.vp-portfolio.vp-uid-${ self.uid }` );
assets/js/main.min.js CHANGED
@@ -1 +1 @@
1
- !function(){"use strict";function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}function e(t,e){for(var i=0;i<e.length;i++){var o=e[i];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}var i=window,o=i.jQuery,n=i.VPData.__,a=o(window);function s(){if("function"==typeof window.Event)window.dispatchEvent(new window.Event("resize"));else{var t=window.document.createEvent("UIEvents");t.initUIEvent("resize",!0,!1,window,0),window.dispatchEvent(t)}}var r={},l=!1,c=!1;function v(){if(clearTimeout(c),l){var t=o(".vp-portfolio__ready");if(t.length){var e=!1;t.each((function(){var t=this.vpf;if(t){var i=r[t.uid]||"none";r[t.uid]=null===this.offsetParent?"hidden":"visible","hidden"===i&&"visible"===r[t.uid]&&(e=!0)}})),e&&s()}else l=!1;c=setTimeout(v,500)}}o(document).on("inited.vpf",(function(t){"vpf"===t.namespace&&(l=!0,v())}));var p=function(){function t(e,i){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);var o=this;o.$item=e;for(var a=e[0].className.split(/\s+/),s=0;s<a.length;s+=1)a[s]&&/^vp-uid-/.test(a[s])&&(o.uid=a[s].replace(/^vp-uid-/,"")),a[s]&&/^vp-id-/.test(a[s])&&(o.id=a[s].replace(/^vp-id-/,""));o.uid?(o.href=window.location.href,o.$items_wrap=e.find(".vp-portfolio__items"),o.$slider_thumbnails_wrap=e.find(".vp-portfolio__thumbnails"),o.$pagination=e.find(".vp-portfolio__pagination-wrap"),o.$filter=e.find(".vp-portfolio__filter-wrap"),o.$sort=e.find(".vp-portfolio__sort-wrap"),o.id&&(o.$filter=o.$filter.add(".vp-single-filter.vp-id-".concat(o.id," .vp-portfolio__filter-wrap"))),o.id&&(o.$sort=o.$sort.add(".vp-single-sort.vp-id-".concat(o.id," .vp-portfolio__sort-wrap"))),o.userOptions=i,o.firstRun=!0,o.init()):console.error(n.couldnt_retrieve_vp)}var i,r;return i=t,(r=[{key:"emitEvent",value:function(t,e){e=e?[this].concat(e):[this],this.$item.trigger("".concat(t,".vpf"),e),this.$item.trigger("".concat(t,".vpf-uid-").concat(this.uid),e)}},{key:"init",value:function(){var t=this;t.firstRun||t.destroy(),t.destroyed=!1,t.initOptions(),t.initEvents(),t.initLayout(),t.initCustomColors(),t.emitEvent("init"),t.$item.addClass("vp-portfolio__ready"),t.id&&(o(".vp-single-filter.vp-id-".concat(t.id)).addClass("vp-single-filter__ready"),o(".vp-single-sort.vp-id-".concat(t.id)).addClass("vp-single-sort__ready")),t.resized(),t.imagesLoaded(),t.emitEvent("inited"),t.firstRun=!1}},{key:"isPreview",value:function(){return!!this.$item.closest("#vp_preview").length}},{key:"resized",value:function(){s(),this.emitEvent("resized")}},{key:"imagesLoaded",value:function(){var t=this;this.$items_wrap.imagesLoaded&&this.$items_wrap.imagesLoaded().progress((function(){t.emitEvent("imagesLoaded")}))}},{key:"destroy",value:function(){var t=this;t.$item.removeClass("vp-portfolio__ready"),t.id&&(o(".vp-single-filter.vp-id-".concat(t.id)).removeClass("vp-single-filter__ready"),o(".vp-single-sort.vp-id-".concat(t.id)).removeClass("vp-single-sort__ready")),t.destroyEvents(),t.removeStyle(),t.renderStyle(),t.emitEvent("destroy"),t.destroyed=!0}},{key:"addStyle",value:function(t,e,i){i=i||"";var n=this,a=n.uid;n.stylesList||(n.stylesList={}),void 0===n.stylesList[a]&&(n.stylesList[a]={}),void 0===n.stylesList[a][i]&&(n.stylesList[a][i]={}),void 0===n.stylesList[a][i][t]&&(n.stylesList[a][i][t]={}),n.stylesList[a][i][t]=o.extend(n.stylesList[a][i][t],e),n.emitEvent("addStyle",[t,e,i,n.stylesList])}},{key:"removeStyle",value:function(t,e,i){i=i||"";var o=this,n=o.uid;o.stylesList||(o.stylesList={}),void 0===o.stylesList[n]||t||(o.stylesList[n]={}),void 0!==o.stylesList[n]&&void 0!==o.stylesList[n][i]&&void 0!==o.stylesList[n][i][t]&&t&&delete o.stylesList[n][i][t],o.emitEvent("removeStyle",[t,e,o.stylesList])}},{key:"renderStyle",value:function(){var t=this,e=t.uid,i="";t.stylesList||(t.stylesList={}),void 0!==t.stylesList[e]&&Object.keys(t.stylesList[e]).forEach((function(o){o&&(i+="@media ".concat(o," {")),Object.keys(t.stylesList[e][o]).forEach((function(n){var a=".vp-uid-".concat(e),s="".concat(a," ").concat(n);s=s.replace(/, |,/g,", ".concat(a," ")),i+="".concat(s," {"),Object.keys(t.stylesList[e][o][n]).forEach((function(a){i+="".concat(a,":").concat(t.stylesList[e][o][n][a],";")})),i+="}"})),o&&(i+="}")}));var n=o("#vp-style-".concat(e));n.length||(n=o("<style>").attr("id","vp-style-".concat(e)).appendTo("head")),n.html(i),t.emitEvent("renderStyle",[i,t.stylesList,n])}},{key:"firstToLowerCase",value:function(t){return t.substr(0,1).toLowerCase()+t.substr(1)}},{key:"initOptions",value:function(t){var e=this;e.defaults={layout:"tile",itemsGap:0,pagination:"load-more"},t&&(e.userOptions=t);var i=e.$item[0].dataset,n={};Object.keys(i).forEach((function(t){t&&"vp"===t.substring(0,2)&&(n[e.firstToLowerCase(t.substring(2))]=i[t])})),e.options=o.extend({},e.defaults,n,e.userOptions),e.emitEvent("initOptions")}},{key:"initEvents",value:function(){var t,e=this,i=".vpf-uid-".concat(e.uid);function n(){var t=e.$item[0].getBoundingClientRect(),i=t.left,o=window.innerWidth-t.right,n=parseFloat(e.$item.css("margin-left")||0),a=parseFloat(e.$item.css("margin-right")||0);e.$item.css({marginLeft:n-i,marginRight:a-o,maxWidth:"none",width:"auto"})}function s(){var i=e.$item[0].getBoundingClientRect();0<i.bottom&&i.bottom-250<=window.innerHeight&&e.loadNewItems(e.options.nextPageUrl,!1,(function(){clearTimeout(t),t=setTimeout((function(){s()}),300)}))}e.$item.hasClass("vp-portfolio__stretch")&&!e.isPreview()&&(a.on("load".concat(i," resize").concat(i," orientationchange").concat(i),(function(){n()})),n()),e.$item.on("focus".concat(i),".vp-portfolio__item a",(function(){o(this).closest(".vp-portfolio__item").addClass("vp-portfolio__item-focus")})),e.$item.on("blur".concat(i),".vp-portfolio__item a",(function(){o(this).closest(".vp-portfolio__item").removeClass("vp-portfolio__item-focus")})),e.$filter.on("click".concat(i),".vp-filter .vp-filter__item a",(function(t){t.preventDefault();var i=o(this);e.loading||i.closest(".vp-filter__item").addClass("vp-filter__item-active").siblings().removeClass("vp-filter__item-active"),e.loadNewItems(i.attr("href"),!0)})),e.$sort.on("click".concat(i),".vp-sort .vp-sort__item a",(function(t){t.preventDefault();var i=o(this);e.loading||i.closest(".vp-sort__item").addClass("vp-sort__item-active").siblings().removeClass("vp-sort__item-active"),e.loadNewItems(i.attr("href"),!0)})),e.$filter.add(e.$sort).on("change".concat(i),".vp-filter select, .vp-sort select",(function(){var t=o(this),i=t.val(),n=t.find('[value="'.concat(i,'"]'));n.length&&e.loadNewItems(n.attr("data-vp-url"),!0)})),e.$item.on("click".concat(i),".vp-pagination .vp-pagination__item a",(function(t){t.preventDefault();var i=o(this),n=i.closest(".vp-pagination");if((!n.hasClass("vp-pagination__no-more")||"paged"===e.options.pagination)&&(e.loadNewItems(i.attr("href"),"paged"===e.options.pagination),"paged"===e.options.pagination&&n.hasClass("vp-pagination__scroll-top"))){var a=o("#wpadminbar"),s=window.pageYOffset||document.documentElement.scrollTop,r=e.$item.offset().top;n.attr("data-vp-pagination-scroll-top")&&(r-=parseInt(n.attr("data-vp-pagination-scroll-top"),10)||0),a.length&&"fixed"===a.css("position")&&(r-=a.outerHeight()),s>(r=Math.max(0,r))&&window.scrollTo({top:r,behavior:"smooth"})}})),e.$item.on("click".concat(i),".vp-portfolio__items .vp-portfolio__item-meta-category a",(function(t){t.preventDefault(),t.stopPropagation(),e.loadNewItems(o(this).attr("href"),!0)})),"infinite"===e.options.pagination&&(a.on("load".concat(i," scroll").concat(i," resize").concat(i," orientationchange").concat(i),(function(){clearTimeout(t),t=setTimeout((function(){s()}),60)})),s()),e.$item.on("transitionend".concat(i),".vp-portfolio__items",(function(t){t.currentTarget===t.target&&e.resized()})),e.emitEvent("initEvents")}},{key:"destroyEvents",value:function(){var t=this,e=".vpf-uid-".concat(t.uid);t.$item.off(e),t.$filter.off(e),t.$sort.off(e),a.off(e),t.emitEvent("destroyEvents")}},{key:"initLayout",value:function(){this.emitEvent("initLayout"),this.renderStyle()}},{key:"initCustomColors",value:function(){var t=this;t.$item.find("[data-vp-bg-color]").each((function(){var e=o(this).attr("data-vp-bg-color");t.addStyle('[data-vp-bg-color="'.concat(e,'"]'),{"background-color":"".concat(e," !important")})})),t.$item.find("[data-vp-text-color]").each((function(){var e=o(this).attr("data-vp-text-color");t.addStyle('[data-vp-text-color="'.concat(e,'"]'),{color:"".concat(e," !important")})})),t.renderStyle(),t.emitEvent("initCustomColors")}},{key:"addItems",value:function(t,e,i){this.emitEvent("addItems",[t,e,i])}},{key:"removeItems",value:function(t){this.emitEvent("removeItems",[t])}},{key:"loadNewItems",value:function(t,e,i){var n=this;if(!n.loading&&t&&n.href!==t){var a={method:"POST",url:t,data:{vpf_ajax_call:!0},complete:function(o){var a=o.responseText;n.href=t,n.replaceItems(a,e,i)}};n.loading=!0,n.$item.addClass("vp-portfolio__loading"),n.emitEvent("startLoadingNewItems",[t,a]),o.ajax(a)}}},{key:"replaceItems",value:function(t,e,i){var n=this;if(t){t=t.replace("<body",'<body><div id="vp-infinite-load-body"').replace("</body>","</div></body>");var a=o(t).filter("#vp-infinite-load-body"),s=a.find(".vp-portfolio.vp-uid-".concat(n.uid));if(s.length){var r=s.find(".vp-portfolio__items").html();s.hasClass("vp-portfolio-not-found")?(n.$item.find(".vp-portfolio__items-wrap").before(s.find(".vp-notice").clone()),n.$item.addClass("vp-portfolio-not-found")):(n.$item.find(".vp-notice").remove(),n.$item.removeClass("vp-portfolio-not-found")),n.$filter.length&&n.$filter.each((function(){var t,e=o(this);t=e.parent().hasClass("vp-single-filter")?a.find('[class="'.concat(e.parent().attr("class").replace(" vp-single-filter__ready",""),'"] .vp-portfolio__filter-wrap')).html():s.find(".vp-portfolio__filter-wrap").html(),e.html(t)})),n.$sort.length&&n.$sort.each((function(){var t,e=o(this);t=e.parent().hasClass("vp-single-sort")?a.find('[class="'.concat(e.parent().attr("class").replace(" vp-single-sort__ready",""),'"] .vp-portfolio__sort-wrap')).html():s.find(".vp-portfolio__sort-wrap").html(),e.html(t)})),n.$pagination.length&&n.$pagination.html(s.find(".vp-portfolio__pagination-wrap").html()),n.addItems(o(r),e,s),n.emitEvent("loadedNewItems",[s,e,t]),i&&i()}var l=s.attr("data-vp-next-page-url");n.options.nextPageUrl=l,n.$item.attr("data-vp-next-page-url",l),n.$item.removeClass("vp-portfolio__loading"),n.loading=!1,n.emitEvent("endLoadingNewItems"),n.imagesLoaded(),n.initCustomColors()}}}])&&e(i.prototype,r),t}();o(".elementor").length&&o(document).on("init.vpf addItems.vpf",(function(t,e){"vpf"===t.namespace&&e.$item.find(".vp-portfolio__item a").each((function(){/\.(png|jpe?g|gif|svg)(\?.*)?$/i.test(this.href)&&o(this).attr("data-elementor-open-lightbox","no")}))})),o(document).trigger("extendClass.vpf",[p]);var d=function(e){for(var i=arguments.length,n=new Array(i>1?i-1:0),a=1;a<i;a++)n[a-1]=arguments[a];var s;return this.each((function(){if(void 0===s)if("object"===t(e)||void 0===e)this.vpf||(this.vpf=new p(o(this),e));else if(this.vpf){var i;s=(i=this.vpf)[e].apply(i,n)}})),void 0!==s?s:this};d.constructor=p;var f=o.fn.vpf;o.fn.vpf=d,o.fn.vpf.noConflict=function(){return o.fn.vpf=f,this},o((function(){o(".vp-portfolio").vpf()}));var u,m,h,y,g=function(t,e,i,o){var n,a=!1,s=0;function r(){n&&clearTimeout(n)}function l(){for(var l=arguments.length,c=new Array(l),v=0;v<l;v++)c[v]=arguments[v];var p=this,d=Date.now()-s;function f(){s=Date.now(),i.apply(p,c)}function u(){n=void 0}a||(o&&!n&&f(),r(),void 0===o&&d>t?f():!0!==e&&(n=setTimeout(o?u:f,void 0===o?t-d:t)))}return"boolean"!=typeof e&&(o=i,i=e,e=void 0),l.cancel=function(){r(),a=!0},l}(200,(u=function(){o(".vp-portfolio:not(.vp-portfolio__ready)").vpf()},m=[],h=null,(y=function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];m=e,h||(h=requestAnimationFrame((function(){h=null,u.apply(void 0,m)})))}).cancel=function(){h&&(cancelAnimationFrame(h),h=null)},y));window.MutationObserver?new window.MutationObserver(g).observe(document.documentElement,{childList:!0,subtree:!0}):o(document).on("DOMContentLoaded DOMNodeInserted load",(function(){g()}))}();
1
+ !function(){"use strict";function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}function e(t,e){for(var i=0;i<e.length;i++){var o=e[i];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}var i=window,o=i.jQuery,n=i.VPData.__,a=o(window);function s(){if("function"==typeof window.Event)window.dispatchEvent(new window.Event("resize"));else{var t=window.document.createEvent("UIEvents");t.initUIEvent("resize",!0,!1,window,0),window.dispatchEvent(t)}}var r={},l=!1,c=!1;function v(){if(clearTimeout(c),l){var t=o(".vp-portfolio__ready");if(t.length){var e=!1;t.each((function(){var t=this.vpf;if(t){var i=r[t.uid]||"none";r[t.uid]=null===this.offsetParent?"hidden":"visible","hidden"===i&&"visible"===r[t.uid]&&(e=!0)}})),e&&s()}else l=!1;c=setTimeout(v,500)}}o(document).on("inited.vpf",(function(t){"vpf"===t.namespace&&(l=!0,v())}));var p=function(){function t(e,i){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);var o=this;o.$item=e;for(var a=e[0].className.split(/\s+/),s=0;s<a.length;s+=1)a[s]&&/^vp-uid-/.test(a[s])&&(o.uid=a[s].replace(/^vp-uid-/,"")),a[s]&&/^vp-id-/.test(a[s])&&(o.id=a[s].replace(/^vp-id-/,""));o.uid?(o.href=window.location.href,o.$items_wrap=e.find(".vp-portfolio__items"),o.$slider_thumbnails_wrap=e.find(".vp-portfolio__thumbnails"),o.$pagination=e.find(".vp-portfolio__pagination-wrap"),o.$filter=e.find(".vp-portfolio__filter-wrap"),o.$sort=e.find(".vp-portfolio__sort-wrap"),o.id&&(o.$filter=o.$filter.add(".vp-single-filter.vp-id-".concat(o.id," .vp-portfolio__filter-wrap"))),o.id&&(o.$sort=o.$sort.add(".vp-single-sort.vp-id-".concat(o.id," .vp-portfolio__sort-wrap"))),o.userOptions=i,o.firstRun=!0,o.init()):console.error(n.couldnt_retrieve_vp)}var i,r;return i=t,(r=[{key:"emitEvent",value:function(t,e){e=e?[this].concat(e):[this],this.$item.trigger("".concat(t,".vpf"),e),this.$item.trigger("".concat(t,".vpf-uid-").concat(this.uid),e)}},{key:"init",value:function(){var t=this;t.firstRun||t.destroy(),t.destroyed=!1,t.initOptions(),t.initEvents(),t.initLayout(),t.initCustomColors(),t.emitEvent("init"),t.$item.addClass("vp-portfolio__ready"),t.id&&(o(".vp-single-filter.vp-id-".concat(t.id)).addClass("vp-single-filter__ready"),o(".vp-single-sort.vp-id-".concat(t.id)).addClass("vp-single-sort__ready")),t.resized(),t.imagesLoaded(),t.emitEvent("inited"),t.firstRun=!1}},{key:"isPreview",value:function(){return!!this.$item.closest("#vp_preview").length}},{key:"resized",value:function(){s(),this.emitEvent("resized")}},{key:"imagesLoaded",value:function(){var t=this;this.$items_wrap.imagesLoaded&&this.$items_wrap.imagesLoaded().progress((function(){t.emitEvent("imagesLoaded")}))}},{key:"destroy",value:function(){var t=this;t.$item.removeClass("vp-portfolio__ready"),t.id&&(o(".vp-single-filter.vp-id-".concat(t.id)).removeClass("vp-single-filter__ready"),o(".vp-single-sort.vp-id-".concat(t.id)).removeClass("vp-single-sort__ready")),t.destroyEvents(),t.removeStyle(),t.renderStyle(),t.emitEvent("destroy"),t.destroyed=!0}},{key:"addStyle",value:function(t,e,i){i=i||"";var n=this,a=n.uid;n.stylesList||(n.stylesList={}),void 0===n.stylesList[a]&&(n.stylesList[a]={}),void 0===n.stylesList[a][i]&&(n.stylesList[a][i]={}),void 0===n.stylesList[a][i][t]&&(n.stylesList[a][i][t]={}),n.stylesList[a][i][t]=o.extend(n.stylesList[a][i][t],e),n.emitEvent("addStyle",[t,e,i,n.stylesList])}},{key:"removeStyle",value:function(t,e,i){i=i||"";var o=this,n=o.uid;o.stylesList||(o.stylesList={}),void 0===o.stylesList[n]||t||(o.stylesList[n]={}),void 0!==o.stylesList[n]&&void 0!==o.stylesList[n][i]&&void 0!==o.stylesList[n][i][t]&&t&&delete o.stylesList[n][i][t],o.emitEvent("removeStyle",[t,e,o.stylesList])}},{key:"renderStyle",value:function(){var t=this,e=t.uid,i="";t.stylesList||(t.stylesList={}),void 0!==t.stylesList[e]&&Object.keys(t.stylesList[e]).forEach((function(o){o&&(i+="@media ".concat(o," {")),Object.keys(t.stylesList[e][o]).forEach((function(n){var a=".vp-uid-".concat(e),s="".concat(a," ").concat(n);s=s.replace(/, |,/g,", ".concat(a," ")),i+="".concat(s," {"),Object.keys(t.stylesList[e][o][n]).forEach((function(a){i+="".concat(a,":").concat(t.stylesList[e][o][n][a],";")})),i+="}"})),o&&(i+="}")}));var n=o("#vp-style-".concat(e));n.length||(n=o("<style>").attr("id","vp-style-".concat(e)).appendTo("head")),n.html(i),t.emitEvent("renderStyle",[i,t.stylesList,n])}},{key:"firstToLowerCase",value:function(t){return t.substr(0,1).toLowerCase()+t.substr(1)}},{key:"initOptions",value:function(t){var e=this;e.defaults={layout:"tile",itemsGap:0,pagination:"load-more"},t&&(e.userOptions=t);var i=e.$item[0].dataset,n={};Object.keys(i).forEach((function(t){t&&"vp"===t.substring(0,2)&&(n[e.firstToLowerCase(t.substring(2))]=i[t])})),e.options=o.extend({},e.defaults,n,e.userOptions),e.emitEvent("initOptions")}},{key:"initEvents",value:function(){var t,e=this,i=".vpf-uid-".concat(e.uid);function n(){var t=e.$item[0].getBoundingClientRect(),i=t.left,o=window.innerWidth-t.right,n=parseFloat(e.$item.css("margin-left")||0),a=parseFloat(e.$item.css("margin-right")||0);e.$item.css({marginLeft:n-i,marginRight:a-o,maxWidth:"none",width:"auto"})}function s(){var i=e.$item[0].getBoundingClientRect();0<i.bottom&&i.bottom-250<=window.innerHeight&&e.loadNewItems(e.options.nextPageUrl,!1,(function(){clearTimeout(t),t=setTimeout((function(){s()}),300)}))}e.$item.hasClass("vp-portfolio__stretch")&&!e.isPreview()&&(a.on("load".concat(i," resize").concat(i," orientationchange").concat(i),(function(){n()})),n()),e.$item.on("focus".concat(i),".vp-portfolio__item a",(function(){o(this).closest(".vp-portfolio__item").addClass("vp-portfolio__item-focus")})),e.$item.on("blur".concat(i),".vp-portfolio__item a",(function(){o(this).closest(".vp-portfolio__item").removeClass("vp-portfolio__item-focus")})),e.$filter.on("click".concat(i),".vp-filter .vp-filter__item a",(function(t){t.preventDefault();var i=o(this);e.loading||i.closest(".vp-filter__item").addClass("vp-filter__item-active").siblings().removeClass("vp-filter__item-active"),e.loadNewItems(i.attr("href"),!0)})),e.$sort.on("click".concat(i),".vp-sort .vp-sort__item a",(function(t){t.preventDefault();var i=o(this);e.loading||i.closest(".vp-sort__item").addClass("vp-sort__item-active").siblings().removeClass("vp-sort__item-active"),e.loadNewItems(i.attr("href"),!0)})),e.$filter.add(e.$sort).on("change".concat(i),".vp-filter select, .vp-sort select",(function(){var t=o(this),i=t.val(),n=t.find('[value="'.concat(i,'"]'));n.length&&e.loadNewItems(n.attr("data-vp-url"),!0)})),e.$item.on("click".concat(i),".vp-pagination .vp-pagination__item a",(function(t){t.preventDefault();var i=o(this),n=i.closest(".vp-pagination");if((!n.hasClass("vp-pagination__no-more")||"paged"===e.options.pagination)&&(e.loadNewItems(i.attr("href"),"paged"===e.options.pagination),"paged"===e.options.pagination&&n.hasClass("vp-pagination__scroll-top"))){var a=o("#wpadminbar"),s=window.pageYOffset||document.documentElement.scrollTop,r=e.$item.offset().top;n.attr("data-vp-pagination-scroll-top")&&(r-=parseInt(n.attr("data-vp-pagination-scroll-top"),10)||0),a.length&&"fixed"===a.css("position")&&(r-=a.outerHeight()),s>(r=Math.max(0,r))&&window.scrollTo({top:r,behavior:"smooth"})}})),e.$item.on("click".concat(i),".vp-portfolio__items .vp-portfolio__item-meta-category a",(function(t){t.preventDefault(),t.stopPropagation(),e.loadNewItems(o(this).attr("href"),!0)})),"infinite"===e.options.pagination&&(a.on("load".concat(i," scroll").concat(i," resize").concat(i," orientationchange").concat(i),(function(){clearTimeout(t),t=setTimeout((function(){s()}),60)})),s()),e.$item.on("transitionend".concat(i),".vp-portfolio__items",(function(t){t.currentTarget===t.target&&e.resized()})),e.emitEvent("initEvents")}},{key:"destroyEvents",value:function(){var t=this,e=".vpf-uid-".concat(t.uid);t.$item.off(e),t.$filter.off(e),t.$sort.off(e),a.off(e),t.emitEvent("destroyEvents")}},{key:"initLayout",value:function(){this.emitEvent("initLayout"),this.renderStyle()}},{key:"initCustomColors",value:function(){var t=this;t.$item.find("[data-vp-bg-color]").each((function(){var e=o(this).attr("data-vp-bg-color");t.addStyle('[data-vp-bg-color="'.concat(e,'"]'),{"background-color":"".concat(e," !important")})})),t.$item.find("[data-vp-text-color]").each((function(){var e=o(this).attr("data-vp-text-color");t.addStyle('[data-vp-text-color="'.concat(e,'"]'),{color:"".concat(e," !important")})})),t.renderStyle(),t.emitEvent("initCustomColors")}},{key:"addItems",value:function(t,e,i){this.emitEvent("addItems",[t,e,i])}},{key:"removeItems",value:function(t){this.emitEvent("removeItems",[t])}},{key:"loadNewItems",value:function(t,e,i){var n=this;if(!n.loading&&t&&n.href!==t){var a={method:"POST",url:t,data:{vpf_ajax_call:!0},complete:function(o){var a=o.responseText;n.href=t,n.replaceItems(a,e,i)}};n.loading=!0,n.$item.addClass("vp-portfolio__loading"),n.emitEvent("startLoadingNewItems",[t,a]),o.ajax(a)}}},{key:"replaceItems",value:function(t,e,i){var n=this;if(t){t=t.replace("<body",'<body><div id="vp-ajax-load-body"').replace("</body>","</div></body>");var a=o(t).filter("#vp-ajax-load-body"),s=a.find(".vp-portfolio.vp-uid-".concat(n.uid));if(s.length){var r=s.find(".vp-portfolio__items").html();s.hasClass("vp-portfolio-not-found")?(n.$item.find(".vp-portfolio__items-wrap").before(s.find(".vp-notice").clone()),n.$item.addClass("vp-portfolio-not-found")):(n.$item.find(".vp-notice").remove(),n.$item.removeClass("vp-portfolio-not-found")),n.$filter.length&&n.$filter.each((function(){var t,e=o(this);t=e.parent().hasClass("vp-single-filter")?a.find('[class="'.concat(e.parent().attr("class").replace(" vp-single-filter__ready",""),'"] .vp-portfolio__filter-wrap')).html():s.find(".vp-portfolio__filter-wrap").html(),e.html(t)})),n.$sort.length&&n.$sort.each((function(){var t,e=o(this);t=e.parent().hasClass("vp-single-sort")?a.find('[class="'.concat(e.parent().attr("class").replace(" vp-single-sort__ready",""),'"] .vp-portfolio__sort-wrap')).html():s.find(".vp-portfolio__sort-wrap").html(),e.html(t)})),n.$pagination.length&&n.$pagination.html(s.find(".vp-portfolio__pagination-wrap").html()),n.addItems(o(r),e,s),n.emitEvent("loadedNewItems",[s,e,t]),i&&i()}var l=s.attr("data-vp-next-page-url");n.options.nextPageUrl=l,n.$item.attr("data-vp-next-page-url",l),n.$item.removeClass("vp-portfolio__loading"),n.loading=!1,n.emitEvent("endLoadingNewItems"),n.imagesLoaded(),n.initCustomColors()}}}])&&e(i.prototype,r),t}();o(".elementor").length&&o(document).on("init.vpf addItems.vpf",(function(t,e){"vpf"===t.namespace&&e.$item.find(".vp-portfolio__item a").each((function(){/\.(png|jpe?g|gif|svg)(\?.*)?$/i.test(this.href)&&o(this).attr("data-elementor-open-lightbox","no")}))})),o(document).trigger("extendClass.vpf",[p]);var d=function(e){for(var i=arguments.length,n=new Array(i>1?i-1:0),a=1;a<i;a++)n[a-1]=arguments[a];var s;return this.each((function(){if(void 0===s)if("object"===t(e)||void 0===e)this.vpf||(this.vpf=new p(o(this),e));else if(this.vpf){var i;s=(i=this.vpf)[e].apply(i,n)}})),void 0!==s?s:this};d.constructor=p;var f=o.fn.vpf;o.fn.vpf=d,o.fn.vpf.noConflict=function(){return o.fn.vpf=f,this},o((function(){o(".vp-portfolio").vpf()}));var u,m,h,y,g=function(t,e,i,o){var n,a=!1,s=0;function r(){n&&clearTimeout(n)}function l(){for(var l=arguments.length,c=new Array(l),v=0;v<l;v++)c[v]=arguments[v];var p=this,d=Date.now()-s;function f(){s=Date.now(),i.apply(p,c)}function u(){n=void 0}a||(o&&!n&&f(),r(),void 0===o&&d>t?f():!0!==e&&(n=setTimeout(o?u:f,void 0===o?t-d:t)))}return"boolean"!=typeof e&&(o=i,i=e,e=void 0),l.cancel=function(){r(),a=!0},l}(200,(u=function(){o(".vp-portfolio:not(.vp-portfolio__ready)").vpf()},m=[],h=null,(y=function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];m=e,h||(h=requestAnimationFrame((function(){h=null,u.apply(void 0,m)})))}).cancel=function(){h&&(cancelAnimationFrame(h),h=null)},y));window.MutationObserver?new window.MutationObserver(g).observe(document.documentElement,{childList:!0,subtree:!0}):o(document).on("DOMContentLoaded DOMNodeInserted load",(function(){g()}))}();
assets/js/preview.js CHANGED
@@ -1,6 +1,6 @@
1
  /*!
2
  * Name : Visual Portfolio
3
- * Version : 2.13.1
4
  * Author : nK https://nkdev.info
5
  */
6
  const $ = window.jQuery;
1
  /*!
2
  * Name : Visual Portfolio
3
+ * Version : 2.13.2
4
  * Author : nK https://nkdev.info
5
  */
6
  const $ = window.jQuery;
class-visual-portfolio.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Plugin Name: Visual Portfolio, Posts & Image Gallery
4
  * Description: Modern gallery and portfolio plugin with advanced layouts editor. Clean and powerful gallery styles with enormous settings in the Gutenberg block.
5
- * Version: 2.13.1
6
  * Author: nK
7
  * Author URI: https://nkdev.info
8
  * License: GPLv2 or later
@@ -170,6 +170,7 @@ class Visual_Portfolio {
170
  require_once $this->plugin_path . 'classes/3rd/plugins/class-ewww-image-optimizer.php';
171
  require_once $this->plugin_path . 'classes/3rd/plugins/class-imagify.php';
172
  require_once $this->plugin_path . 'classes/3rd/plugins/class-lazy-loading-responsive-images.php';
 
173
  require_once $this->plugin_path . 'classes/3rd/plugins/class-tinymce.php';
174
  require_once $this->plugin_path . 'classes/3rd/plugins/class-vc.php';
175
  require_once $this->plugin_path . 'classes/3rd/plugins/class-wpml.php';
2
  /**
3
  * Plugin Name: Visual Portfolio, Posts & Image Gallery
4
  * Description: Modern gallery and portfolio plugin with advanced layouts editor. Clean and powerful gallery styles with enormous settings in the Gutenberg block.
5
+ * Version: 2.13.2
6
  * Author: nK
7
  * Author URI: https://nkdev.info
8
  * License: GPLv2 or later
170
  require_once $this->plugin_path . 'classes/3rd/plugins/class-ewww-image-optimizer.php';
171
  require_once $this->plugin_path . 'classes/3rd/plugins/class-imagify.php';
172
  require_once $this->plugin_path . 'classes/3rd/plugins/class-lazy-loading-responsive-images.php';
173
+ require_once $this->plugin_path . 'classes/3rd/plugins/class-paid-memberships-pro.php';
174
  require_once $this->plugin_path . 'classes/3rd/plugins/class-tinymce.php';
175
  require_once $this->plugin_path . 'classes/3rd/plugins/class-vc.php';
176
  require_once $this->plugin_path . 'classes/3rd/plugins/class-wpml.php';
classes/3rd/plugins/class-elementor-widget.php CHANGED
@@ -33,9 +33,9 @@ class Visual_Portfolio_3rd_Elementor_Widget extends \Elementor\Widget_Base {
33
 
34
  if ( $this->is_preview_mode() ) {
35
  wp_register_script( 'iframe-resizer', visual_portfolio()->plugin_url . 'assets/vendor/iframe-resizer/js/iframeResizer.min.js', '', '4.2.11', true );
36
- wp_register_script( 'visual-portfolio-elementor', visual_portfolio()->plugin_url . 'assets/admin/js/elementor.min.js', array( 'elementor-frontend', 'iframe-resizer', 'jquery' ), '2.13.1', true );
37
 
38
- wp_register_style( 'visual-portfolio-elementor', visual_portfolio()->plugin_url . 'assets/admin/css/elementor.min.css', array(), '2.13.1' );
39
  wp_style_add_data( 'visual-portfolio-elementor', 'rtl', 'replace' );
40
  wp_style_add_data( 'visual-portfolio-elementor', 'suffix', '.min' );
41
  }
33
 
34
  if ( $this->is_preview_mode() ) {
35
  wp_register_script( 'iframe-resizer', visual_portfolio()->plugin_url . 'assets/vendor/iframe-resizer/js/iframeResizer.min.js', '', '4.2.11', true );
36
+ wp_register_script( 'visual-portfolio-elementor', visual_portfolio()->plugin_url . 'assets/admin/js/elementor.min.js', array( 'elementor-frontend', 'iframe-resizer', 'jquery' ), '2.13.2', true );
37
 
38
+ wp_register_style( 'visual-portfolio-elementor', visual_portfolio()->plugin_url . 'assets/admin/css/elementor.min.css', array(), '2.13.2' );
39
  wp_style_add_data( 'visual-portfolio-elementor', 'rtl', 'replace' );
40
  wp_style_add_data( 'visual-portfolio-elementor', 'suffix', '.min' );
41
  }
classes/3rd/plugins/class-paid-memberships-pro.php ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Paid Memberships Pro Plugin.
4
+ *
5
+ * @package visual-portfolio/pmp
6
+ */
7
+
8
+ if ( ! defined( 'ABSPATH' ) ) {
9
+ exit;
10
+ }
11
+
12
+ /**
13
+ * Class Visual_Portfolio_3rd_Paid_Memberships_Pro
14
+ */
15
+ class Visual_Portfolio_3rd_Paid_Memberships_Pro {
16
+ /**
17
+ * Visual_Portfolio_3rd_Paid_Memberships_Pro constructor.
18
+ */
19
+ public function __construct() {
20
+ add_action( 'init', array( $this, 'fix_pmpromh_redirect_in_preview' ) );
21
+ }
22
+
23
+ /**
24
+ * Remove redirect action from the preview frame.
25
+ * Because "Paid Memberships Pro - Member Homepages Add On" make their own redirect and our preview frame failed to load.
26
+ */
27
+ public function fix_pmpromh_redirect_in_preview() {
28
+ if ( ! function_exists( 'pmpromh_template_redirect_homepage' ) ) {
29
+ return;
30
+ }
31
+
32
+ // phpcs:ignore
33
+ if ( ! isset( $_GET['vp_preview'] ) ) {
34
+ return;
35
+ }
36
+
37
+ remove_action( 'template_redirect', 'pmpromh_template_redirect_homepage' );
38
+ }
39
+ }
40
+
41
+ new Visual_Portfolio_3rd_Paid_Memberships_Pro();
classes/3rd/plugins/class-tinymce.php CHANGED
@@ -72,7 +72,7 @@ class Visual_Portfolio_3rd_TinyMCE {
72
  return;
73
  }
74
 
75
- wp_enqueue_script( 'visual-portfolio-tinymce-localize', visual_portfolio()->plugin_url . 'assets/admin/js/mce-localize.min.js', array(), '2.13.1', true );
76
  wp_localize_script( 'visual-portfolio-tinymce-localize', 'VPTinyMCEData', $data_tiny_mce );
77
  }
78
  }
72
  return;
73
  }
74
 
75
+ wp_enqueue_script( 'visual-portfolio-tinymce-localize', visual_portfolio()->plugin_url . 'assets/admin/js/mce-localize.min.js', array(), '2.13.2', true );
76
  wp_localize_script( 'visual-portfolio-tinymce-localize', 'VPTinyMCEData', $data_tiny_mce );
77
  }
78
  }
classes/3rd/plugins/class-vc.php CHANGED
@@ -35,7 +35,7 @@ class Visual_Portfolio_3rd_VC {
35
  */
36
  public function admin_enqueue_scripts( $page ) {
37
  if ( 'post.php' === $page || 'post-new.php' === $page ) {
38
- wp_enqueue_script( 'visual-portfolio-vc-frontend', visual_portfolio()->plugin_url . 'assets/admin/js/vc-frontend.min.js', array( 'jquery' ), '2.13.1', true );
39
  }
40
  }
41
 
35
  */
36
  public function admin_enqueue_scripts( $page ) {
37
  if ( 'post.php' === $page || 'post-new.php' === $page ) {
38
+ wp_enqueue_script( 'visual-portfolio-vc-frontend', visual_portfolio()->plugin_url . 'assets/admin/js/vc-frontend.min.js', array( 'jquery' ), '2.13.2', true );
39
  }
40
  }
41
 
classes/class-admin.php CHANGED
@@ -44,9 +44,9 @@ class Visual_Portfolio_Admin {
44
  'nonce' => wp_create_nonce( 'vp-ajax-nonce' ),
45
  );
46
 
47
- wp_enqueue_script( 'visual-portfolio-admin', visual_portfolio()->plugin_url . 'assets/admin/js/script.min.js', array( 'jquery', 'wp-data' ), '2.13.1', true );
48
  wp_localize_script( 'visual-portfolio-admin', 'VPAdminVariables', $data_init );
49
- wp_enqueue_style( 'visual-portfolio-admin', visual_portfolio()->plugin_url . 'assets/admin/css/style.min.css', array(), '2.13.1' );
50
  wp_style_add_data( 'visual-portfolio-admin', 'rtl', 'replace' );
51
  wp_style_add_data( 'visual-portfolio-admin', 'suffix', '.min' );
52
  }
@@ -60,8 +60,8 @@ class Visual_Portfolio_Admin {
60
  );
61
 
62
  if ( 'vp_lists' === get_post_type() ) {
63
- wp_enqueue_script( 'visual-portfolio-saved-layouts', visual_portfolio()->plugin_url . 'gutenberg/layouts-editor.min.js', array( 'jquery' ), '2.13.1', true );
64
- wp_enqueue_style( 'visual-portfolio-saved-layouts', visual_portfolio()->plugin_url . 'gutenberg/layouts-editor.min.css', array(), '2.13.1' );
65
  wp_style_add_data( 'visual-portfolio-saved-layouts', 'rtl', 'replace' );
66
  wp_style_add_data( 'visual-portfolio-saved-layouts', 'suffix', '.min' );
67
 
@@ -216,7 +216,7 @@ class Visual_Portfolio_Admin {
216
  // phpcs:ignore
217
  if ( 'visual_portfolio_go_pro' === $_GET['page'] ) {
218
  // phpcs:ignore
219
- wp_redirect( 'https://visualportfolio.co/pro/?utm_source=freeplugin&utm_medium=link&utm_campaign=admin_page&utm_content=2.13.1' );
220
  exit();
221
  }
222
  }
@@ -1900,45 +1900,7 @@ class Visual_Portfolio_Admin {
1900
  * Items Style
1901
  */
1902
  // phpcs:ignore
1903
- /*
1904
- * Example:
1905
- array(
1906
- 'new_items_style' => array(
1907
- 'title' => esc_html__( 'New Items Style', 'visual-portfolio' ),
1908
- 'builtin_controls' => array(
1909
- 'images_rounded_corners' => true,
1910
- 'show_title' => true,
1911
- 'show_categories' => true,
1912
- 'show_date' => true,
1913
- 'show_author' => true,
1914
- 'show_comments_count' => true,
1915
- 'show_views_count' => true,
1916
- 'show_reading_time' => true,
1917
- 'show_excerpt' => true,
1918
- 'show_icons' => false,
1919
- 'align' => true,
1920
- ),
1921
- 'controls' => array(
1922
- ... controls ...
1923
- ),
1924
- ),
1925
- )
1926
- */
1927
- $items_styles = apply_filters( 'vpf_extend_items_styles', array() );
1928
-
1929
- // Extend specific item style controls.
1930
- foreach ( $items_styles as $name => $style ) {
1931
- if ( isset( $style['controls'] ) ) {
1932
- // phpcs:ignore
1933
- /*
1934
- * Example:
1935
- array(
1936
- ... controls ...
1937
- )
1938
- */
1939
- $items_styles[ $name ]['controls'] = apply_filters( 'vpf_extend_item_style_' . $name . '_controls', $style['controls'] );
1940
- }
1941
- }
1942
 
1943
  // Styles selector.
1944
  $items_styles_selector = array();
44
  'nonce' => wp_create_nonce( 'vp-ajax-nonce' ),
45
  );
46
 
47
+ wp_enqueue_script( 'visual-portfolio-admin', visual_portfolio()->plugin_url . 'assets/admin/js/script.min.js', array( 'jquery', 'wp-data' ), '2.13.2', true );
48
  wp_localize_script( 'visual-portfolio-admin', 'VPAdminVariables', $data_init );
49
+ wp_enqueue_style( 'visual-portfolio-admin', visual_portfolio()->plugin_url . 'assets/admin/css/style.min.css', array(), '2.13.2' );
50
  wp_style_add_data( 'visual-portfolio-admin', 'rtl', 'replace' );
51
  wp_style_add_data( 'visual-portfolio-admin', 'suffix', '.min' );
52
  }
60
  );
61
 
62
  if ( 'vp_lists' === get_post_type() ) {
63
+ wp_enqueue_script( 'visual-portfolio-saved-layouts', visual_portfolio()->plugin_url . 'gutenberg/layouts-editor.min.js', array( 'jquery' ), '2.13.2', true );
64
+ wp_enqueue_style( 'visual-portfolio-saved-layouts', visual_portfolio()->plugin_url . 'gutenberg/layouts-editor.min.css', array(), '2.13.2' );
65
  wp_style_add_data( 'visual-portfolio-saved-layouts', 'rtl', 'replace' );
66
  wp_style_add_data( 'visual-portfolio-saved-layouts', 'suffix', '.min' );
67
 
216
  // phpcs:ignore
217
  if ( 'visual_portfolio_go_pro' === $_GET['page'] ) {
218
  // phpcs:ignore
219
+ wp_redirect( 'https://visualportfolio.co/pro/?utm_source=freeplugin&utm_medium=link&utm_campaign=admin_page&utm_content=2.13.2' );
220
  exit();
221
  }
222
  }
1900
  * Items Style
1901
  */
1902
  // phpcs:ignore
1903
+ $items_styles = Visual_Portfolio_Get::get_all_items_styles();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1904
 
1905
  // Styles selector.
1906
  $items_styles_selector = array();
classes/class-ask-review.php CHANGED
@@ -93,7 +93,7 @@ class Visual_Portfolio_Ask_Review_Notice {
93
  return;
94
  }
95
 
96
- wp_enqueue_script( 'visual-portfolio-ask-review-notice', visual_portfolio()->plugin_url . 'assets/admin/js/ask-review-notice.min.js', array( 'jquery' ), '2.13.1', true );
97
  wp_localize_script(
98
  'visual-portfolio-ask-review-notice',
99
  'VPAskReviewNotice',
93
  return;
94
  }
95
 
96
+ wp_enqueue_script( 'visual-portfolio-ask-review-notice', visual_portfolio()->plugin_url . 'assets/admin/js/ask-review-notice.min.js', array( 'jquery' ), '2.13.2', true );
97
  wp_localize_script(
98
  'visual-portfolio-ask-review-notice',
99
  'VPAskReviewNotice',
classes/class-assets.php CHANGED
@@ -105,11 +105,11 @@ class Visual_Portfolio_Assets {
105
  foreach ( self::$stored_assets[ $type ] as $name => $data ) {
106
  if ( isset( $data['value'] ) && $data['value'] ) {
107
  if ( 'script' === $type ) {
108
- wp_enqueue_script( $name, '', array(), '2.13.1', true );
109
  } elseif ( is_string( $data['value'] ) ) {
110
- visual_portfolio()->include_template_style( $name, $data['value'], array(), '2.13.1' );
111
  } else {
112
- wp_enqueue_style( $name, '', array(), '2.13.1' );
113
  }
114
 
115
  self::$stored_assets[ $type ]['value'] = false;
@@ -272,13 +272,13 @@ class Visual_Portfolio_Assets {
272
 
273
  // Enqueue custom CSS.
274
  if ( ! self::$head_css_included ) {
275
- wp_register_style( $controls_css_handle, false, array(), '2.13.1' );
276
  wp_enqueue_style( $controls_css_handle );
277
  wp_add_inline_style( $controls_css_handle, $dynamic_styles ? $dynamic_styles : ' ' );
278
 
279
  // Enqueue JS instead of CSS when rendering in <body> to prevent W3C errors.
280
  } elseif ( ! wp_script_is( $controls_css_handle, 'enqueued' ) ) {
281
- wp_register_script( $controls_css_handle, false, array(), '2.13.1', true );
282
  wp_enqueue_script( $controls_css_handle );
283
  wp_add_inline_script(
284
  $controls_css_handle,
@@ -394,7 +394,7 @@ class Visual_Portfolio_Assets {
394
  // LazySizes.
395
  if ( apply_filters( 'vpf_enqueue_plugin_lazysizes', true ) ) {
396
  wp_register_script( 'lazysizes-object-fit-cover', visual_portfolio()->plugin_url . 'assets/js/lazysizes-object-fit-cover.min.js', array(), '4.1.0', true );
397
- wp_register_script( 'lazysizes-config', visual_portfolio()->plugin_url . 'assets/js/lazysizes-cfg.min.js', array(), '2.13.1', true );
398
  wp_register_script( 'lazysizes', visual_portfolio()->plugin_url . 'assets/vendor/lazysizes/lazysizes.min.js', array( 'lazysizes-object-fit-cover', 'lazysizes-config' ), '5.2.2', true );
399
  }
400
 
@@ -442,7 +442,7 @@ class Visual_Portfolio_Assets {
442
  );
443
 
444
  foreach ( $vp_styles as $name => $data ) {
445
- wp_register_style( $name, visual_portfolio()->plugin_url . $data[0], $data[1], '2.13.1' );
446
  wp_style_add_data( $name, 'rtl', 'replace' );
447
  wp_style_add_data( $name, 'suffix', '.min' );
448
  }
@@ -560,7 +560,7 @@ class Visual_Portfolio_Assets {
560
  );
561
 
562
  foreach ( $vp_scripts as $name => $data ) {
563
- wp_register_script( $name, visual_portfolio()->plugin_url . $data[0], $data[1], '2.13.1', true );
564
  }
565
 
566
  do_action( 'vpf_after_assets_register' );
105
  foreach ( self::$stored_assets[ $type ] as $name => $data ) {
106
  if ( isset( $data['value'] ) && $data['value'] ) {
107
  if ( 'script' === $type ) {
108
+ wp_enqueue_script( $name, '', array(), '2.13.2', true );
109
  } elseif ( is_string( $data['value'] ) ) {
110
+ visual_portfolio()->include_template_style( $name, $data['value'], array(), '2.13.2' );
111
  } else {
112
+ wp_enqueue_style( $name, '', array(), '2.13.2' );
113
  }
114
 
115
  self::$stored_assets[ $type ]['value'] = false;
272
 
273
  // Enqueue custom CSS.
274
  if ( ! self::$head_css_included ) {
275
+ wp_register_style( $controls_css_handle, false, array(), '2.13.2' );
276
  wp_enqueue_style( $controls_css_handle );
277
  wp_add_inline_style( $controls_css_handle, $dynamic_styles ? $dynamic_styles : ' ' );
278
 
279
  // Enqueue JS instead of CSS when rendering in <body> to prevent W3C errors.
280
  } elseif ( ! wp_script_is( $controls_css_handle, 'enqueued' ) ) {
281
+ wp_register_script( $controls_css_handle, false, array(), '2.13.2', true );
282
  wp_enqueue_script( $controls_css_handle );
283
  wp_add_inline_script(
284
  $controls_css_handle,
394
  // LazySizes.
395
  if ( apply_filters( 'vpf_enqueue_plugin_lazysizes', true ) ) {
396
  wp_register_script( 'lazysizes-object-fit-cover', visual_portfolio()->plugin_url . 'assets/js/lazysizes-object-fit-cover.min.js', array(), '4.1.0', true );
397
+ wp_register_script( 'lazysizes-config', visual_portfolio()->plugin_url . 'assets/js/lazysizes-cfg.min.js', array(), '2.13.2', true );
398
  wp_register_script( 'lazysizes', visual_portfolio()->plugin_url . 'assets/vendor/lazysizes/lazysizes.min.js', array( 'lazysizes-object-fit-cover', 'lazysizes-config' ), '5.2.2', true );
399
  }
400
 
442
  );
443
 
444
  foreach ( $vp_styles as $name => $data ) {
445
+ wp_register_style( $name, visual_portfolio()->plugin_url . $data[0], $data[1], '2.13.2' );
446
  wp_style_add_data( $name, 'rtl', 'replace' );
447
  wp_style_add_data( $name, 'suffix', '.min' );
448
  }
560
  );
561
 
562
  foreach ( $vp_scripts as $name => $data ) {
563
+ wp_register_script( $name, visual_portfolio()->plugin_url . $data[0], $data[1], '2.13.2', true );
564
  }
565
 
566
  do_action( 'vpf_after_assets_register' );
classes/class-custom-post-type.php CHANGED
@@ -36,10 +36,12 @@ class Visual_Portfolio_Custom_Post_Type {
36
 
37
  // show icon and shortcode columns in vp_lists table.
38
  add_filter( 'manage_vp_lists_posts_columns', array( $this, 'add_vp_lists_custom_columns' ) );
39
- add_filter( 'manage_vp_lists_posts_custom_column', array( $this, 'manage_vp_lists_custom_columns' ), 10, 2 );
 
 
40
 
41
  // change allowed blocks for vp_lists post type.
42
- add_filter( 'allowed_block_types', array( $this, 'vp_lists_allowed_block_types' ), 10, 2 );
43
 
44
  // force enable Gutenberg editor in 'vp_lists' for Classic Editor plugin.
45
  add_action( 'classic_editor_enabled_editors_for_post_type', array( $this, 'vp_lists_classic_plugin_force_gutenberg' ), 150, 2 );
@@ -252,7 +254,7 @@ class Visual_Portfolio_Custom_Post_Type {
252
 
253
  global $wp_version;
254
 
255
- $check_string = 'Plugin: 2.13.1 WP: ' . $wp_version;
256
 
257
  if ( get_option( 'visual_portfolio_updated_caps' ) === $check_string ) {
258
  return;
@@ -487,15 +489,118 @@ class Visual_Portfolio_Custom_Post_Type {
487
  }
488
  }
489
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
490
  /**
491
  * Allowed blocks for vp_lists post type.
492
  *
493
  * @param array $allowed_block_types - blocks.
494
- * @param object $post - post object.
495
  * @return array
496
  */
497
- public function vp_lists_allowed_block_types( $allowed_block_types, $post ) {
498
- if ( 'vp_lists' !== $post->post_type ) {
499
  return $allowed_block_types;
500
  }
501
 
36
 
37
  // show icon and shortcode columns in vp_lists table.
38
  add_filter( 'manage_vp_lists_posts_columns', array( $this, 'add_vp_lists_custom_columns' ) );
39
+ add_action( 'manage_vp_lists_posts_custom_column', array( $this, 'manage_vp_lists_custom_columns' ), 10, 2 );
40
+ add_action( 'restrict_manage_posts', array( $this, 'restrict_manage_posts_vp_lists' ) );
41
+ add_action( 'parse_query', array( $this, 'parse_query_vp_lists' ) );
42
 
43
  // change allowed blocks for vp_lists post type.
44
+ add_filter( 'allowed_block_types_all', array( $this, 'vp_lists_allowed_block_types_all' ), 10, 2 );
45
 
46
  // force enable Gutenberg editor in 'vp_lists' for Classic Editor plugin.
47
  add_action( 'classic_editor_enabled_editors_for_post_type', array( $this, 'vp_lists_classic_plugin_force_gutenberg' ), 150, 2 );
254
 
255
  global $wp_version;
256
 
257
+ $check_string = 'Plugin: 2.13.2 WP: ' . $wp_version;
258
 
259
  if ( get_option( 'visual_portfolio_updated_caps' ) === $check_string ) {
260
  return;
489
  }
490
  }
491
 
492
+ /**
493
+ * Add custom filtering selects for vp_lists admin screen.
494
+ */
495
+ public function restrict_manage_posts_vp_lists() {
496
+ global $typenow;
497
+
498
+ if ( 'vp_lists' === $typenow ) {
499
+ $all_layouts = Visual_Portfolio_Get::get_all_layouts();
500
+ $all_items_styles = Visual_Portfolio_Get::get_all_items_styles();
501
+ $all_content_sources = array(
502
+ 'post-based' => esc_html__( 'Posts', 'visual-portfolio' ),
503
+ 'images' => esc_html__( 'Images', 'visual-portfolio' ),
504
+ 'social-stream' => esc_html__( 'Social', 'visual-portfolio' ),
505
+ );
506
+
507
+ // phpcs:ignore
508
+ $selected_layout = isset( $_GET['vp_layout'] ) ? $_GET['vp_layout'] : '';
509
+ // phpcs:ignore
510
+ $selected_items_style = isset( $_GET['vp_items_style'] ) ? $_GET['vp_items_style'] : '';
511
+ // phpcs:ignore
512
+ $selected_content_source = isset( $_GET['vp_content_source'] ) ? $_GET['vp_content_source'] : '';
513
+
514
+ ?>
515
+ <select name="vp_layout" id="filter-by-vp_layout">
516
+ <option value="0"><?php echo esc_html__( 'All layouts', 'visual-portfolio' ); ?></option>
517
+ <?php
518
+ foreach ( $all_layouts as $name => $data ) {
519
+ ?>
520
+ <option value="<?php echo esc_attr( $name ); ?>" <?php echo $name === $selected_layout ? 'selected="selected"' : ''; ?>><?php echo esc_html( $data['title'] ); ?></option>
521
+ <?php
522
+ }
523
+ ?>
524
+ </select>
525
+ <select name="vp_items_style" id="filter-by-vp_items_style">
526
+ <option value="0"><?php echo esc_html__( 'All styles', 'visual-portfolio' ); ?></option>
527
+ <?php
528
+ foreach ( $all_items_styles as $name => $data ) {
529
+ ?>
530
+ <option value="<?php echo esc_attr( $name ); ?>" <?php echo $name === $selected_items_style ? 'selected="selected"' : ''; ?>><?php echo esc_html( $data['title'] ); ?></option>
531
+ <?php
532
+ }
533
+ ?>
534
+ </select>
535
+ <select name="vp_content_source" id="filter-by-vp_content_source">
536
+ <option value="0"><?php echo esc_html__( 'All sources', 'visual-portfolio' ); ?></option>
537
+ <?php
538
+ foreach ( $all_content_sources as $name => $title ) {
539
+ ?>
540
+ <option value="<?php echo esc_attr( $name ); ?>" <?php echo $name === $selected_content_source ? 'selected="selected"' : ''; ?>><?php echo esc_html( $title ); ?></option>
541
+ <?php
542
+ }
543
+ ?>
544
+ </select>
545
+ <?php
546
+ };
547
+ }
548
+
549
+ /**
550
+ * Custom filtering for vp_lists admin screen.
551
+ *
552
+ * @param object $query - current query data.
553
+ */
554
+ public function parse_query_vp_lists( $query ) {
555
+ global $pagenow;
556
+
557
+ $q_vars = &$query->query_vars;
558
+
559
+ if ( 'edit.php' === $pagenow && isset( $q_vars['post_type'] ) && 'vp_lists' === $q_vars['post_type'] ) {
560
+ $meta_query = array();
561
+
562
+ // phpcs:ignore
563
+ $filter_layout = isset( $_GET['vp_layout'] ) ? $_GET['vp_layout'] : '';
564
+ // phpcs:ignore
565
+ $filter_items_style = isset( $_GET['vp_items_style'] ) ? $_GET['vp_items_style'] : '';
566
+ // phpcs:ignore
567
+ $filter_content_source = isset( $_GET['vp_content_source'] ) ? $_GET['vp_content_source'] : '';
568
+
569
+ if ( $filter_layout ) {
570
+ $meta_query[] = array(
571
+ 'key' => 'vp_layout',
572
+ 'value' => $filter_layout,
573
+ );
574
+ }
575
+ if ( $filter_items_style ) {
576
+ $meta_query[] = array(
577
+ 'key' => 'vp_items_style',
578
+ 'value' => $filter_items_style,
579
+ );
580
+ }
581
+ if ( $filter_content_source ) {
582
+ $meta_query[] = array(
583
+ 'key' => 'vp_content_source',
584
+ 'value' => $filter_content_source,
585
+ );
586
+ }
587
+
588
+ if ( ! empty( $meta_query ) ) {
589
+ // phpcs:ignore
590
+ $q_vars['meta_query'] = $meta_query;
591
+ }
592
+ }
593
+ }
594
+
595
  /**
596
  * Allowed blocks for vp_lists post type.
597
  *
598
  * @param array $allowed_block_types - blocks.
599
+ * @param object $editor_context - editor context.
600
  * @return array
601
  */
602
+ public function vp_lists_allowed_block_types_all( $allowed_block_types, $editor_context ) {
603
+ if ( empty( $editor_context->post ) || 'vp_lists' !== $editor_context->post->post_type ) {
604
  return $allowed_block_types;
605
  }
606
 
classes/class-get-portfolio.php CHANGED
@@ -176,6 +176,56 @@ class Visual_Portfolio_Get {
176
  return $layouts;
177
  }
178
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
179
  /**
180
  * Get all available options of post.
181
  *
@@ -1543,7 +1593,9 @@ class Visual_Portfolio_Get {
1543
  }
1544
 
1545
  // Avoid duplicates.
1546
- if ( $options['posts_avoid_duplicate_posts'] ) {
 
 
1547
  $not_id = (array) ( isset( $query_opts['post__not_in'] ) ? $query_opts['post__not_in'] : array() );
1548
  $query_opts['post__not_in'] = array_merge( $not_id, self::get_all_used_posts() );
1549
 
176
  return $layouts;
177
  }
178
 
179
+ /**
180
+ * Get all available items styles.
181
+ *
182
+ * @return array
183
+ */
184
+ public static function get_all_items_styles() {
185
+ // phpcs:ignore
186
+ /*
187
+ * Example:
188
+ array(
189
+ 'new_items_style' => array(
190
+ 'title' => esc_html__( 'New Items Style', 'visual-portfolio' ),
191
+ 'builtin_controls' => array(
192
+ 'images_rounded_corners' => true,
193
+ 'show_title' => true,
194
+ 'show_categories' => true,
195
+ 'show_date' => true,
196
+ 'show_author' => true,
197
+ 'show_comments_count' => true,
198
+ 'show_views_count' => true,
199
+ 'show_reading_time' => true,
200
+ 'show_excerpt' => true,
201
+ 'show_icons' => false,
202
+ 'align' => true,
203
+ ),
204
+ 'controls' => array(
205
+ ... controls ...
206
+ ),
207
+ ),
208
+ )
209
+ */
210
+ $items_styles = apply_filters( 'vpf_extend_items_styles', array() );
211
+
212
+ // Extend specific item style controls.
213
+ foreach ( $items_styles as $name => $style ) {
214
+ if ( isset( $style['controls'] ) ) {
215
+ // phpcs:ignore
216
+ /*
217
+ * Example:
218
+ array(
219
+ ... controls ...
220
+ )
221
+ */
222
+ $items_styles[ $name ]['controls'] = apply_filters( 'vpf_extend_item_style_' . $name . '_controls', $style['controls'] );
223
+ }
224
+ }
225
+
226
+ return $items_styles;
227
+ }
228
+
229
  /**
230
  * Get all available options of post.
231
  *
1593
  }
1594
 
1595
  // Avoid duplicates.
1596
+ // We should prevent this when using filter, since all current posts will be excluded
1597
+ // from the filter query and we may not see all filter buttons.
1598
+ if ( ! $for_filter && $options['posts_avoid_duplicate_posts'] ) {
1599
  $not_id = (array) ( isset( $query_opts['post__not_in'] ) ? $query_opts['post__not_in'] : array() );
1600
  $query_opts['post__not_in'] = array_merge( $not_id, self::get_all_used_posts() );
1601
 
classes/class-gutenberg.php CHANGED
@@ -173,15 +173,15 @@ class Visual_Portfolio_Gutenberg_Block {
173
  wp_enqueue_script(
174
  'visual-portfolio-gutenberg',
175
  plugins_url( '../gutenberg/index.min.js', __FILE__ ),
176
- array( 'wp-editor', 'wp-i18n', 'wp-element', 'wp-components', 'jquery' ),
177
- '2.13.1',
178
  true
179
  );
180
  wp_enqueue_style(
181
  'visual-portfolio-gutenberg',
182
  plugins_url( '../gutenberg/style.min.css', __FILE__ ),
183
  array(),
184
- '2.13.1'
185
  );
186
  wp_style_add_data( 'visual-portfolio-gutenberg', 'rtl', 'replace' );
187
  wp_style_add_data( 'visual-portfolio-gutenberg', 'suffix', '.min' );
@@ -201,8 +201,8 @@ class Visual_Portfolio_Gutenberg_Block {
201
  wp_enqueue_script(
202
  'visual-portfolio-gutenberg-custom-post-meta',
203
  plugins_url( '../gutenberg/custom-post-meta.min.js', __FILE__ ),
204
- array( 'wp-editor', 'wp-i18n', 'wp-element', 'wp-components', 'wp-plugins', 'jquery' ),
205
- '2.13.1',
206
  true
207
  );
208
 
173
  wp_enqueue_script(
174
  'visual-portfolio-gutenberg',
175
  plugins_url( '../gutenberg/index.min.js', __FILE__ ),
176
+ array( 'wp-i18n', 'wp-element', 'wp-components', 'jquery' ),
177
+ '2.13.2',
178
  true
179
  );
180
  wp_enqueue_style(
181
  'visual-portfolio-gutenberg',
182
  plugins_url( '../gutenberg/style.min.css', __FILE__ ),
183
  array(),
184
+ '2.13.2'
185
  );
186
  wp_style_add_data( 'visual-portfolio-gutenberg', 'rtl', 'replace' );
187
  wp_style_add_data( 'visual-portfolio-gutenberg', 'suffix', '.min' );
201
  wp_enqueue_script(
202
  'visual-portfolio-gutenberg-custom-post-meta',
203
  plugins_url( '../gutenberg/custom-post-meta.min.js', __FILE__ ),
204
+ array( 'wp-i18n', 'wp-element', 'wp-components', 'wp-plugins', 'jquery' ),
205
+ '2.13.2',
206
  true
207
  );
208
 
classes/class-migration.php CHANGED
@@ -18,7 +18,7 @@ class Visual_Portfolio_Migrations {
18
  *
19
  * @var string
20
  */
21
- protected $version = '2.13.1';
22
 
23
  /**
24
  * Initial version.
18
  *
19
  * @var string
20
  */
21
+ protected $version = '2.13.2';
22
 
23
  /**
24
  * Initial version.
classes/class-preview.php CHANGED
@@ -232,7 +232,7 @@ class Visual_Portfolio_Preview {
232
 
233
  // Enqueue assets.
234
  wp_enqueue_script( 'iframe-resizer-content', visual_portfolio()->plugin_url . 'assets/vendor/iframe-resizer/js/iframeResizer.contentWindow.min.js', array(), '4.2.11', true );
235
- wp_enqueue_script( 'visual-portfolio-preview', visual_portfolio()->plugin_url . 'assets/js/preview.min.js', array( 'jquery', 'iframe-resizer-content' ), '2.13.1', true );
236
 
237
  // Post data for script.
238
  wp_localize_script(
@@ -275,7 +275,7 @@ class Visual_Portfolio_Preview {
275
  Visual_Portfolio_Assets::enqueue( $options );
276
 
277
  // Custom styles.
278
- visual_portfolio()->include_template_style( 'visual-portfolio-preview', 'preview/style', array(), '2.13.1' );
279
 
280
  // Output template.
281
  visual_portfolio()->include_template(
232
 
233
  // Enqueue assets.
234
  wp_enqueue_script( 'iframe-resizer-content', visual_portfolio()->plugin_url . 'assets/vendor/iframe-resizer/js/iframeResizer.contentWindow.min.js', array(), '4.2.11', true );
235
+ wp_enqueue_script( 'visual-portfolio-preview', visual_portfolio()->plugin_url . 'assets/js/preview.min.js', array( 'jquery', 'iframe-resizer-content' ), '2.13.2', true );
236
 
237
  // Post data for script.
238
  wp_localize_script(
275
  Visual_Portfolio_Assets::enqueue( $options );
276
 
277
  // Custom styles.
278
+ visual_portfolio()->include_template_style( 'visual-portfolio-preview', 'preview/style', array(), '2.13.2' );
279
 
280
  // Output template.
281
  visual_portfolio()->include_template(
classes/class-settings.php CHANGED
@@ -591,7 +591,7 @@ class Visual_Portfolio_Settings {
591
  <h3>' . esc_html__( 'Pro Feature', 'visual-portfolio' ) . '</h3>
592
  <div>
593
  <p>' . esc_html__( 'Protect your works using watermarks', 'visual-portfolio' ) . '</p>
594
- <a class="vpf-settings-info-pro-button" target="_blank" rel="noopener noreferrer" href="https://visualportfolio.co/pro/?utm_source=freeplugin&utm_medium=link&utm_campaign=plugin_settings&utm_content=2.13.1">' . esc_html__( 'Read More', 'visual-portfolio' ) . '</a>
595
  </div>
596
  </div>
597
  ',
@@ -606,7 +606,7 @@ class Visual_Portfolio_Settings {
606
  <h3>' . esc_html__( 'Pro Feature', 'visual-portfolio' ) . '</h3>
607
  <div>
608
  <p>' . esc_html__( 'Social feeds such as Instagram, Youtube, Flickr, Twitter, etc...', 'visual-portfolio' ) . '</p>
609
- <a class="vpf-settings-info-pro-button" target="_blank" rel="noopener noreferrer" href="https://visualportfolio.co/pro/?utm_source=freeplugin&utm_medium=link&utm_campaign=plugin_settings&utm_content=2.13.1">' . esc_html__( 'Read More', 'visual-portfolio' ) . '</a>
610
  </div>
611
  </div>
612
  ',
@@ -621,7 +621,7 @@ class Visual_Portfolio_Settings {
621
  <h3>' . esc_html__( 'Pro Feature', 'visual-portfolio' ) . '</h3>
622
  <div>
623
  <p>' . esc_html__( 'Remove our plugin brand and logos from Front and Admin areas', 'visual-portfolio' ) . '</p>
624
- <a class="vpf-settings-info-pro-button" target="_blank" rel="noopener noreferrer" href="https://visualportfolio.co/pro/?utm_source=freeplugin&utm_medium=link&utm_campaign=plugin_settings&utm_content=2.13.1">' . esc_html__( 'Read More', 'visual-portfolio' ) . '</a>
625
  </div>
626
  </div>
627
  ',
591
  <h3>' . esc_html__( 'Pro Feature', 'visual-portfolio' ) . '</h3>
592
  <div>
593
  <p>' . esc_html__( 'Protect your works using watermarks', 'visual-portfolio' ) . '</p>
594
+ <a class="vpf-settings-info-pro-button" target="_blank" rel="noopener noreferrer" href="https://visualportfolio.co/pro/?utm_source=freeplugin&utm_medium=link&utm_campaign=plugin_settings&utm_content=2.13.2">' . esc_html__( 'Read More', 'visual-portfolio' ) . '</a>
595
  </div>
596
  </div>
597
  ',
606
  <h3>' . esc_html__( 'Pro Feature', 'visual-portfolio' ) . '</h3>
607
  <div>
608
  <p>' . esc_html__( 'Social feeds such as Instagram, Youtube, Flickr, Twitter, etc...', 'visual-portfolio' ) . '</p>
609
+ <a class="vpf-settings-info-pro-button" target="_blank" rel="noopener noreferrer" href="https://visualportfolio.co/pro/?utm_source=freeplugin&utm_medium=link&utm_campaign=plugin_settings&utm_content=2.13.2">' . esc_html__( 'Read More', 'visual-portfolio' ) . '</a>
610
  </div>
611
  </div>
612
  ',
621
  <h3>' . esc_html__( 'Pro Feature', 'visual-portfolio' ) . '</h3>
622
  <div>
623
  <p>' . esc_html__( 'Remove our plugin brand and logos from Front and Admin areas', 'visual-portfolio' ) . '</p>
624
+ <a class="vpf-settings-info-pro-button" target="_blank" rel="noopener noreferrer" href="https://visualportfolio.co/pro/?utm_source=freeplugin&utm_medium=link&utm_campaign=plugin_settings&utm_content=2.13.2">' . esc_html__( 'Read More', 'visual-portfolio' ) . '</a>
625
  </div>
626
  </div>
627
  ',
classes/class-supported-themes.php CHANGED
@@ -80,7 +80,7 @@ class Visual_Portfolio_Supported_Themes {
80
  public function wp_enqueue_scripts() {
81
  $theme_compat = $this->get_theme_compatibility_style();
82
  if ( $theme_compat ) {
83
- wp_enqueue_style( $theme_compat['name'], $theme_compat['url'], array(), '2.13.1' );
84
  wp_style_add_data( $theme_compat['name'], 'rtl', 'replace' );
85
  wp_style_add_data( $theme_compat['name'], 'suffix', '.min' );
86
  }
80
  public function wp_enqueue_scripts() {
81
  $theme_compat = $this->get_theme_compatibility_style();
82
  if ( $theme_compat ) {
83
+ wp_enqueue_style( $theme_compat['name'], $theme_compat['url'], array(), '2.13.2' );
84
  wp_style_add_data( $theme_compat['name'], 'rtl', 'replace' );
85
  wp_style_add_data( $theme_compat['name'], 'suffix', '.min' );
86
  }
classes/class-welcome-screen.php CHANGED
@@ -88,7 +88,7 @@ class Visual_Portfolio_Welcome_Screen {
88
  <div>
89
  <?php
90
  // translators: %s - pro link.
91
- echo sprintf( esc_html__( 'Want to get more power with Pro? Visit %s', 'visual-portfolio' ), '<a target="_blank" rel="noopener noreferrer" href="https://visualportfolio.co/pro/?utm_source=plugin_welcome&utm_medium=link&utm_campaign=pro&utm_content=2.13.1">visualportfolio.co/pro</a>' );
92
  ?>
93
  </div>
94
  </div>
@@ -146,8 +146,8 @@ class Visual_Portfolio_Welcome_Screen {
146
  <hr>
147
 
148
  <div class="vpf-welcome-content-buttons">
149
- <a target="_blank" rel="noopener noreferrer" href="https://visualportfolio.co/?utm_source=plugin_welcome&utm_medium=link&utm_campaign=demo&utm_content=2.13.1"><?php echo esc_html__( 'More Features', 'visual-portfolio' ); ?></a>
150
- <a target="_blank" rel="noopener noreferrer" href="https://visualportfolio.co/documentation/getting-started/?utm_source=plugin_welcome&utm_medium=link&utm_campaign=docs&utm_content=2.13.1"><?php echo esc_html__( 'Documentation', 'visual-portfolio' ); ?></a>
151
  </div>
152
  </div>
153
 
@@ -169,7 +169,7 @@ class Visual_Portfolio_Welcome_Screen {
169
  <li><?php echo esc_html__( 'White Label', 'visual-portfolio' ); ?></li>
170
  <li><?php echo esc_html__( 'And much more...', 'visual-portfolio' ); ?></li>
171
  </ul>
172
- <a target="_blank" rel="noopener noreferrer" href="https://visualportfolio.co/pro/?utm_source=plugin_welcome&utm_medium=link&utm_campaign=pro&utm_content=2.13.1"><?php echo esc_html__( 'Upgrade to PRO Now', 'visual-portfolio' ); ?></a>
173
  </div>
174
  </div>
175
  <?php
88
  <div>
89
  <?php
90
  // translators: %s - pro link.
91
+ echo sprintf( esc_html__( 'Want to get more power with Pro? Visit %s', 'visual-portfolio' ), '<a target="_blank" rel="noopener noreferrer" href="https://visualportfolio.co/pro/?utm_source=plugin_welcome&utm_medium=link&utm_campaign=pro&utm_content=2.13.2">visualportfolio.co/pro</a>' );
92
  ?>
93
  </div>
94
  </div>
146
  <hr>
147
 
148
  <div class="vpf-welcome-content-buttons">
149
+ <a target="_blank" rel="noopener noreferrer" href="https://visualportfolio.co/?utm_source=plugin_welcome&utm_medium=link&utm_campaign=demo&utm_content=2.13.2"><?php echo esc_html__( 'More Features', 'visual-portfolio' ); ?></a>
150
+ <a target="_blank" rel="noopener noreferrer" href="https://visualportfolio.co/documentation/getting-started/?utm_source=plugin_welcome&utm_medium=link&utm_campaign=docs&utm_content=2.13.2"><?php echo esc_html__( 'Documentation', 'visual-portfolio' ); ?></a>
151
  </div>
152
  </div>
153
 
169
  <li><?php echo esc_html__( 'White Label', 'visual-portfolio' ); ?></li>
170
  <li><?php echo esc_html__( 'And much more...', 'visual-portfolio' ); ?></li>
171
  </ul>
172
+ <a target="_blank" rel="noopener noreferrer" href="https://visualportfolio.co/pro/?utm_source=plugin_welcome&utm_medium=link&utm_campaign=pro&utm_content=2.13.2"><?php echo esc_html__( 'Upgrade to PRO Now', 'visual-portfolio' ); ?></a>
173
  </div>
174
  </div>
175
  <?php
gutenberg/components/controls-render/index.js CHANGED
@@ -474,7 +474,7 @@ ControlsRender.Control = function( props ) {
474
  { renderControlHelp ? (
475
  <p>{ renderControlHelp }</p>
476
  ) : '' }
477
- <ProNote.Button target="_blank" rel="noopener noreferrer" href="https://visualportfolio.co/pro/?utm_source=freeplugin&amp;utm_medium=link&amp;utm_campaign=block_settings&amp;utm_content=2.13.1">
478
  { __( 'Read More', 'visual-portfolio' ) }
479
  </ProNote.Button>
480
  </ProNote>
474
  { renderControlHelp ? (
475
  <p>{ renderControlHelp }</p>
476
  ) : '' }
477
+ <ProNote.Button target="_blank" rel="noopener noreferrer" href="https://visualportfolio.co/pro/?utm_source=freeplugin&amp;utm_medium=link&amp;utm_campaign=block_settings&amp;utm_content=2.13.2">
478
  { __( 'Read More', 'visual-portfolio' ) }
479
  </ProNote.Button>
480
  </ProNote>
gutenberg/custom-post-meta.min.js CHANGED
@@ -1 +1 @@
1
- !function(){var e={8180:function(){function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(t)}function t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function r(t,n){return!n||"object"!==e(n)&&"function"!=typeof n?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(t):n}function i(e){return(i=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var a=wp.i18n.__,l=wp.compose,u=l.withInstanceId,c=l.compose,p=wp.data,f=p.withSelect,s=p.withDispatch,m=wp.element,d=m.Fragment,b=m.Component,y=wp.components,v=y.PanelRow,h=y.FocalPointPicker,w=wp.hooks.addFilter,_=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}(s,e);var l,u,c,p,f=(c=s,p=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=i(c);if(p){var n=i(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return r(this,e)});function s(){return t(this,s),f.apply(this,arguments)}return l=s,(u=[{key:"render",value:function(){var e=this.props,t=e.getMeta,n=e.thumbnailData,o=e.updateMeta,r="";if(n){var i="post-thumbnail";r=n.source_url,n.mime_type&&"image/gif"===n.mime_type||(n.media_details&&n.media_details.sizes&&n.media_details.sizes[i]?r=n.media_details.sizes[i].source_url:n.media_details&&n.media_details.sizes&&n.media_details.sizes.thumbnail&&(r=n.media_details.sizes.thumbnail.source_url))}if(!r)return null;var l=t("_vp_image_focal_point");return l&&l.x&&l.y||(l={x:"0.5",y:"0.5"}),wp.element.createElement("div",{className:"vpf-post-image-focal-point-panel"},wp.element.createElement(v,null,wp.element.createElement("p",{className:"description"},a("Focal point will be used in Visual Portfolio layouts only.","@@text_domain"))),wp.element.createElement(v,null,wp.element.createElement(h,{url:r,value:l,onChange:function(e){o("_vp_image_focal_point",e)}})))}}])&&n(l.prototype,u),s}(b),g=c([f((function(e){var t=e("core/editor").getEditedPostAttribute,n=e("core").getMedia,o=t("featured_media"),r=t("meta")||{};return{thumbnailData:o?n(o):null,getMeta:function(e){return r[e]}}})),s((function(e){return{updateMeta:function(t,n){var o,r,i;e("core/editor").editPost({meta:(o={},r=t,i=n,r in o?Object.defineProperty(o,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):o[r]=i,o)})}}})),u])(_);w("editor.PostFeaturedImage","vpf/post-featured-image-focal-point",(function(e){return function(t){return wp.element.createElement(d,null,wp.element.createElement(g,null),wp.element.createElement(e,t))}}))}},t={};function n(o){var r=t[o];if(void 0!==r)return r.exports;var i=t[o]={exports:{}};return e[o](i,i.exports,n),i.exports}!function(){"use strict";function e(e,t,n,o){var r,i=!1,a=0;function l(){r&&clearTimeout(r)}function u(){for(var u=arguments.length,c=new Array(u),p=0;p<u;p++)c[p]=arguments[p];var f=this,s=Date.now()-a;function m(){a=Date.now(),n.apply(f,c)}function d(){r=void 0}i||(o&&!r&&m(),l(),void 0===o&&s>e?m():!0!==t&&(r=setTimeout(o?d:m,void 0===o?e-s:e)))}return"boolean"!=typeof t&&(o=n,n=t,t=void 0),u.cancel=function(){l(),i=!0},u}function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function r(e,t){return(r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function i(e,n){return!n||"object"!==t(n)&&"function"!=typeof n?a(e):n}function a(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var u=wp.i18n,c=u.__,p=u.sprintf,f=wp.compose,s=f.withInstanceId,m=f.compose,d=wp.data,b=d.withSelect,y=d.withDispatch,v=wp.element.Component,h=wp.components,w=h.PanelRow,_=h.TextControl,g=wp.editPost.PluginDocumentSettingPanel,P=wp.plugins.registerPlugin,O=window,E=O.jQuery,j=O.ajaxurl,x=O.VPGutenbergMetaVariables,C=function(t){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}(d,t);var n,u,f,s,m=(f=d,s=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=l(f);if(s){var n=l(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return i(this,e)});function d(t){var n,o,r,i,l;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d),(n=m.call(this,t)).state={oembedQuery:"",oembedHTML:""},n.maybePrepareOembed=(300,o=n.maybePrepareOembed.bind(a(n)),r=[],i=null,(l=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];r=t,i||(i=requestAnimationFrame((function(){i=null,o.apply(void 0,r)})))}).cancel=function(){i&&(cancelAnimationFrame(i),i=null)},e(300,l,!1)),n}return n=d,(u=[{key:"componentDidMount",value:function(){this.maybePrepareOembed()}},{key:"componentDidUpdate",value:function(){this.maybePrepareOembed()}},{key:"maybePrepareOembed",value:function(){var e=this,t=this.state,n=t.oembedQuery,o=t.oembedHTML,r=this.props,i=r.getMeta;if("video"===r.postFormat){var a=i("_vp_format_video_url");n!==a&&(this.oembedAjax&&this.oembedAjax.abort&&this.oembedAjax.abort(),n||!o?this.oembedAjax=E.ajax({url:j,method:"POST",dataType:"json",data:{action:"vp_find_oembed",q:a,nonce:x.nonce},complete:function(t){var n=t.responseJSON,o={oembedQuery:a,oembedHTML:""};n&&void 0!==n.html&&(o.oembedHTML=n.html),e.setState(o),e.oembedAjax=null}}):this.setState({oembedHTML:""}))}}},{key:"render",value:function(){var e=this.props,t=e.getMeta,n=e.postFormat,o=e.updateMeta,r=this.state.oembedHTML;return"video"!==n?null:wp.element.createElement(g,{name:"VPVideo",title:c("Video","@@text_domain"),icon:wp.element.createElement("svg",{width:"14",height:"14",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{d:"M19.25 10C19.25 15.1086 15.1086 19.25 10 19.25C4.89137 19.25 0.75 15.1086 0.75 10C0.75 4.89137 4.89137 0.75 10 0.75C15.1086 0.75 19.25 4.89137 19.25 10Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",fill:"transparent"}),wp.element.createElement("path",{d:"M8 12.6326V7.36671C8.00011 7.30082 8.01856 7.23618 8.05342 7.17955C8.08828 7.12293 8.13826 7.0764 8.19812 7.04485C8.25798 7.0133 8.32552 6.99789 8.39367 7.00023C8.46181 7.00257 8.52805 7.02258 8.58544 7.05816L12.8249 9.69035C12.8786 9.72358 12.9228 9.76933 12.9534 9.82337C12.984 9.87742 13 9.93803 13 9.99963C13 10.0612 12.984 10.1218 12.9534 10.1759C12.9228 10.2299 12.8786 10.2757 12.8249 10.3089L8.58544 12.9418C8.52805 12.9774 8.46181 12.9974 8.39367 12.9998C8.32552 13.0021 8.25798 12.9867 8.19812 12.9551C8.13826 12.9236 8.08828 12.8771 8.05342 12.8204C8.01856 12.7638 8.00011 12.6992 8 12.6333V12.6326Z",fill:"currentColor"})),className:"vpf-meta-video-panel"},wp.element.createElement(w,null,wp.element.createElement("p",{className:"description"},p(c("Video will be used in %s layouts only. Full list of supported links","@@text_domain"),x.plugin_name)," ",wp.element.createElement("a",{href:"https://visualportfolio.co/documentation/portfolio-items/video-portfolio-item/#supported-video-vendors",target:"_blank",rel:"noopener noreferrer"},c("see here","@@text_domain")))),wp.element.createElement(w,null,wp.element.createElement(_,{label:c("Video URL","@@text_domain"),value:t("_vp_format_video_url")||"",onChange:function(e){o("_vp_format_video_url",e)},type:"url",placeholder:"https://"})),wp.element.createElement(w,null,wp.element.createElement("div",{className:"vp-oembed-preview",dangerouslySetInnerHTML:{__html:r}})))}}])&&o(n.prototype,u),d}(v);P("vp-video",{render:m([b((function(e){return{getMeta:function(t){return(e("core/editor").getEditedPostAttribute("meta")||{})[t]},postFormat:e("core/editor").getEditedPostAttribute("format")}})),y((function(e){return{updateMeta:function(t,n){var o,r,i;e("core/editor").editPost({meta:(o={},r=t,i=n,r in o?Object.defineProperty(o,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):o[r]=i,o)})}}})),s])(C)}),n(8180)}()}();
1
+ !function(){var e={8180:function(){function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(t)}function t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function r(t,n){return!n||"object"!==e(n)&&"function"!=typeof n?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(t):n}function i(e){return(i=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var a=wp.i18n.__,l=wp.compose,u=l.withInstanceId,c=l.compose,p=wp.data,f=p.withSelect,s=p.withDispatch,m=wp.element,d=m.Fragment,b=m.Component,y=wp.components,v=y.PanelRow,h=y.FocalPointPicker,w=wp.hooks.addFilter,_=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}(s,e);var l,u,c,p,f=(c=s,p=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=i(c);if(p){var n=i(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return r(this,e)});function s(){return t(this,s),f.apply(this,arguments)}return l=s,(u=[{key:"render",value:function(){var e=this.props,t=e.getMeta,n=e.thumbnailData,o=e.updateMeta,r="";if(n){var i="post-thumbnail";r=n.source_url,n.mime_type&&"image/gif"===n.mime_type||(n.media_details&&n.media_details.sizes&&n.media_details.sizes[i]?r=n.media_details.sizes[i].source_url:n.media_details&&n.media_details.sizes&&n.media_details.sizes.thumbnail&&(r=n.media_details.sizes.thumbnail.source_url))}if(!r)return null;var l=t("_vp_image_focal_point");return l&&l.x&&l.y||(l={x:"0.5",y:"0.5"}),wp.element.createElement("div",{className:"vpf-post-image-focal-point-panel"},wp.element.createElement(v,null,wp.element.createElement("p",{className:"description"},a("Focal point will be used in Visual Portfolio layouts only.","@@text_domain"))),wp.element.createElement(v,null,wp.element.createElement(h,{url:r,value:l,onChange:function(e){o("_vp_image_focal_point",e)}})))}}])&&n(l.prototype,u),s}(b),g=c([f((function(e){var t=e("core/editor").getEditedPostAttribute,n=e("core").getMedia,o=t("featured_media"),r=t("meta")||{};return{thumbnailData:o?n(o):null,getMeta:function(e){return r[e]}}})),s((function(e){return{updateMeta:function(t,n){var o,r,i;e("core/editor").editPost({meta:(o={},r=t,i=n,r in o?Object.defineProperty(o,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):o[r]=i,o)})}}})),u])(_);w("editor.PostFeaturedImage","vpf/post-featured-image-focal-point",(function(e){return function(t){return wp.element.createElement(d,null,wp.element.createElement(g,null),wp.element.createElement(e,t))}}))}},t={};function n(o){var r=t[o];if(void 0!==r)return r.exports;var i=t[o]={exports:{}};return e[o](i,i.exports,n),i.exports}!function(){"use strict";function e(e,t,n,o){var r,i=!1,a=0;function l(){r&&clearTimeout(r)}function u(){for(var u=arguments.length,c=new Array(u),p=0;p<u;p++)c[p]=arguments[p];var f=this,s=Date.now()-a;function m(){a=Date.now(),n.apply(f,c)}function d(){r=void 0}i||(o&&!r&&m(),l(),void 0===o&&s>e?m():!0!==t&&(r=setTimeout(o?d:m,void 0===o?e-s:e)))}return"boolean"!=typeof t&&(o=n,n=t,t=void 0),u.cancel=function(){l(),i=!0},u}function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function r(e,t){return(r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function i(e,n){return!n||"object"!==t(n)&&"function"!=typeof n?a(e):n}function a(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var u=wp.i18n,c=u.__,p=u.sprintf,f=wp.compose,s=f.withInstanceId,m=f.compose,d=wp.data,b=d.withSelect,y=d.withDispatch,v=wp.element.Component,h=wp.components,w=h.PanelRow,_=h.TextControl,g=(wp.editPost||{}).PluginDocumentSettingPanel,P=wp.plugins.registerPlugin,O=window,E=O.jQuery,j=O.ajaxurl,x=O.VPGutenbergMetaVariables,C=function(t){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}(d,t);var n,u,f,s,m=(f=d,s=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=l(f);if(s){var n=l(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return i(this,e)});function d(t){var n,o,r,i,l;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d),(n=m.call(this,t)).state={oembedQuery:"",oembedHTML:""},n.maybePrepareOembed=(300,o=n.maybePrepareOembed.bind(a(n)),r=[],i=null,(l=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];r=t,i||(i=requestAnimationFrame((function(){i=null,o.apply(void 0,r)})))}).cancel=function(){i&&(cancelAnimationFrame(i),i=null)},e(300,l,!1)),n}return n=d,(u=[{key:"componentDidMount",value:function(){this.maybePrepareOembed()}},{key:"componentDidUpdate",value:function(){this.maybePrepareOembed()}},{key:"maybePrepareOembed",value:function(){var e=this,t=this.state,n=t.oembedQuery,o=t.oembedHTML,r=this.props,i=r.getMeta;if("video"===r.postFormat){var a=i("_vp_format_video_url");n!==a&&(this.oembedAjax&&this.oembedAjax.abort&&this.oembedAjax.abort(),n||!o?this.oembedAjax=E.ajax({url:j,method:"POST",dataType:"json",data:{action:"vp_find_oembed",q:a,nonce:x.nonce},complete:function(t){var n=t.responseJSON,o={oembedQuery:a,oembedHTML:""};n&&void 0!==n.html&&(o.oembedHTML=n.html),e.setState(o),e.oembedAjax=null}}):this.setState({oembedHTML:""}))}}},{key:"render",value:function(){var e=this.props,t=e.getMeta,n=e.postFormat,o=e.updateMeta,r=this.state.oembedHTML;return"video"!==n?null:wp.element.createElement(g,{name:"VPVideo",title:c("Video","@@text_domain"),icon:wp.element.createElement("svg",{width:"14",height:"14",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{d:"M19.25 10C19.25 15.1086 15.1086 19.25 10 19.25C4.89137 19.25 0.75 15.1086 0.75 10C0.75 4.89137 4.89137 0.75 10 0.75C15.1086 0.75 19.25 4.89137 19.25 10Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",fill:"transparent"}),wp.element.createElement("path",{d:"M8 12.6326V7.36671C8.00011 7.30082 8.01856 7.23618 8.05342 7.17955C8.08828 7.12293 8.13826 7.0764 8.19812 7.04485C8.25798 7.0133 8.32552 6.99789 8.39367 7.00023C8.46181 7.00257 8.52805 7.02258 8.58544 7.05816L12.8249 9.69035C12.8786 9.72358 12.9228 9.76933 12.9534 9.82337C12.984 9.87742 13 9.93803 13 9.99963C13 10.0612 12.984 10.1218 12.9534 10.1759C12.9228 10.2299 12.8786 10.2757 12.8249 10.3089L8.58544 12.9418C8.52805 12.9774 8.46181 12.9974 8.39367 12.9998C8.32552 13.0021 8.25798 12.9867 8.19812 12.9551C8.13826 12.9236 8.08828 12.8771 8.05342 12.8204C8.01856 12.7638 8.00011 12.6992 8 12.6333V12.6326Z",fill:"currentColor"})),className:"vpf-meta-video-panel"},wp.element.createElement(w,null,wp.element.createElement("p",{className:"description"},p(c("Video will be used in %s layouts only. Full list of supported links","@@text_domain"),x.plugin_name)," ",wp.element.createElement("a",{href:"https://visualportfolio.co/documentation/portfolio-items/video-portfolio-item/#supported-video-vendors",target:"_blank",rel:"noopener noreferrer"},c("see here","@@text_domain")))),wp.element.createElement(w,null,wp.element.createElement(_,{label:c("Video URL","@@text_domain"),value:t("_vp_format_video_url")||"",onChange:function(e){o("_vp_format_video_url",e)},type:"url",placeholder:"https://"})),wp.element.createElement(w,null,wp.element.createElement("div",{className:"vp-oembed-preview",dangerouslySetInnerHTML:{__html:r}})))}}])&&o(n.prototype,u),d}(v),M=m([b((function(e){return{getMeta:function(t){return(e("core/editor").getEditedPostAttribute("meta")||{})[t]},postFormat:e("core/editor").getEditedPostAttribute("format")}})),y((function(e){return{updateMeta:function(t,n){var o,r,i;e("core/editor").editPost({meta:(o={},r=t,i=n,r in o?Object.defineProperty(o,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):o[r]=i,o)})}}})),s])(C);wp.editPost&&P("vp-video",{render:M}),n(8180)}()}();
gutenberg/custom-post-meta/video.js CHANGED
@@ -25,7 +25,7 @@ const {
25
 
26
  const {
27
  PluginDocumentSettingPanel,
28
- } = wp.editPost;
29
 
30
  const { registerPlugin } = wp.plugins;
31
 
@@ -192,6 +192,10 @@ const VpVideo = compose( [
192
  withInstanceId,
193
  ] )( VpVideoComponent );
194
 
195
- registerPlugin( 'vp-video', {
196
- render: VpVideo,
197
- } );
 
 
 
 
25
 
26
  const {
27
  PluginDocumentSettingPanel,
28
+ } = wp.editPost || {};
29
 
30
  const { registerPlugin } = wp.plugins;
31
 
192
  withInstanceId,
193
  ] )( VpVideoComponent );
194
 
195
+ // Check if editPost available.
196
+ // For example, on the Widgets screen this variable is not defined.
197
+ if ( wp.editPost ) {
198
+ registerPlugin( 'vp-video', {
199
+ render: VpVideo,
200
+ } );
201
+ }
languages/visual-portfolio.pot CHANGED
@@ -147,7 +147,7 @@ msgstr ""
147
  msgid "Free Scroll Sticky"
148
  msgstr ""
149
 
150
- #: dist/visual-portfolio/classes/class-admin.php:629, dist/visual-portfolio/classes/class-admin.php:2916, dist/visual-portfolio/classes/class-settings.php:443
151
  msgid "Display Arrows"
152
  msgstr ""
153
 
@@ -179,7 +179,7 @@ msgstr ""
179
  msgid "Thumbnails Per View"
180
  msgstr ""
181
 
182
- #: dist/visual-portfolio/classes/class-admin.php:776, dist/visual-portfolio/classes/class-admin.php:2392, dist/visual-portfolio/classes/class-admin.php:2521, dist/visual-portfolio/classes/class-admin.php:2643
183
  msgid "Classic"
184
  msgstr ""
185
 
@@ -187,7 +187,7 @@ msgstr ""
187
  msgid "Display Read More Button"
188
  msgstr ""
189
 
190
- #: dist/visual-portfolio/classes/class-admin.php:798, dist/visual-portfolio/classes/class-admin.php:1745, dist/visual-portfolio/classes/class-admin.php:2025
191
  msgid "Hide"
192
  msgstr ""
193
 
@@ -239,7 +239,7 @@ msgstr ""
239
  msgid "Caption Links Hover Color"
240
  msgstr ""
241
 
242
- #: dist/visual-portfolio/classes/class-admin.php:893, dist/visual-portfolio/classes/class-admin.php:955, dist/visual-portfolio/classes/class-admin.php:1006, dist/visual-portfolio/classes/class-admin.php:1115, dist/visual-portfolio/classes/class-admin.php:1515, dist/visual-portfolio/classes/class-admin.php:1682, dist/visual-portfolio/classes/class-admin.php:1702, dist/visual-portfolio/classes/class-admin.php:2291, dist/visual-portfolio/classes/class-admin.php:2624, dist/visual-portfolio/classes/class-custom-post-type.php:665, dist/visual-portfolio/classes/class-settings.php:591, dist/visual-portfolio/classes/class-settings.php:606, dist/visual-portfolio/classes/class-settings.php:621
243
  msgid "Pro Feature"
244
  msgstr ""
245
 
@@ -311,19 +311,19 @@ msgstr ""
311
  msgid "Custom CSS"
312
  msgstr ""
313
 
314
- #: dist/visual-portfolio/classes/class-admin.php:1212
315
  msgid "Posts"
316
  msgstr ""
317
 
318
- #: dist/visual-portfolio/classes/class-admin.php:1217, dist/visual-portfolio/classes/class-settings.php:144
319
  msgid "Images"
320
  msgstr ""
321
 
322
- #: dist/visual-portfolio/classes/class-admin.php:1222
323
  msgid "Social"
324
  msgstr ""
325
 
326
- #: dist/visual-portfolio/classes/class-admin.php:1251, dist/visual-portfolio/classes/class-admin.php:3066
327
  msgid "Custom Query"
328
  msgstr ""
329
 
@@ -388,7 +388,7 @@ msgstr ""
388
  msgid "Menu Order"
389
  msgstr ""
390
 
391
- #: dist/visual-portfolio/classes/class-admin.php:1403, dist/visual-portfolio/classes/class-admin.php:3061
392
  msgid "Manual Selection"
393
  msgstr ""
394
 
@@ -437,7 +437,7 @@ msgstr ""
437
  msgid "Description"
438
  msgstr ""
439
 
440
- #: dist/visual-portfolio/classes/class-admin.php:1556, dist/visual-portfolio/classes/class-custom-post-type.php:125
441
  msgid "Categories"
442
  msgstr ""
443
 
@@ -469,7 +469,7 @@ msgstr ""
469
  msgid "see here"
470
  msgstr ""
471
 
472
- #: dist/visual-portfolio/classes/class-admin.php:1583, dist/visual-portfolio/classes/class-admin.php:2192
473
  msgid "URL"
474
  msgstr ""
475
 
@@ -489,23 +489,23 @@ msgstr ""
489
  msgid "Titles Source"
490
  msgstr ""
491
 
492
- #: dist/visual-portfolio/classes/class-admin.php:1619, dist/visual-portfolio/classes/class-admin.php:1636, dist/visual-portfolio/classes/class-admin.php:2250, dist/visual-portfolio/classes/class-admin.php:2272
493
  msgid "None"
494
  msgstr ""
495
 
496
- #: dist/visual-portfolio/classes/class-admin.php:1621, dist/visual-portfolio/classes/class-admin.php:1638, dist/visual-portfolio/classes/class-admin.php:2251, dist/visual-portfolio/classes/class-admin.php:2273
497
  msgid "Image Title"
498
  msgstr ""
499
 
500
- #: dist/visual-portfolio/classes/class-admin.php:1622, dist/visual-portfolio/classes/class-admin.php:1639, dist/visual-portfolio/classes/class-admin.php:2252, dist/visual-portfolio/classes/class-admin.php:2274
501
  msgid "Image Caption"
502
  msgstr ""
503
 
504
- #: dist/visual-portfolio/classes/class-admin.php:1623, dist/visual-portfolio/classes/class-admin.php:1640, dist/visual-portfolio/classes/class-admin.php:2253, dist/visual-portfolio/classes/class-admin.php:2275
505
  msgid "Image Alt"
506
  msgstr ""
507
 
508
- #: dist/visual-portfolio/classes/class-admin.php:1624, dist/visual-portfolio/classes/class-admin.php:1641, dist/visual-portfolio/classes/class-admin.php:2254, dist/visual-portfolio/classes/class-admin.php:2276
509
  msgid "Image Description"
510
  msgstr ""
511
 
@@ -513,7 +513,7 @@ msgstr ""
513
  msgid "Descriptions Source"
514
  msgstr ""
515
 
516
- #: dist/visual-portfolio/classes/class-admin.php:1653, dist/visual-portfolio/classes/class-admin.php:2026, dist/visual-portfolio/classes/class-admin.php:2213
517
  msgid "Default"
518
  msgstr ""
519
 
@@ -569,229 +569,229 @@ msgstr ""
569
  msgid "When empty, used Gap option"
570
  msgstr ""
571
 
572
- #: dist/visual-portfolio/classes/class-admin.php:1975
573
  msgid "Images Rounded Corners"
574
  msgstr ""
575
 
576
- #: dist/visual-portfolio/classes/class-admin.php:1992
577
  msgid "Display Title"
578
  msgstr ""
579
 
580
- #: dist/visual-portfolio/classes/class-admin.php:2000
581
  msgid "Display Categories"
582
  msgstr ""
583
 
584
- #: dist/visual-portfolio/classes/class-admin.php:2006
585
  msgid "Categories Count"
586
  msgstr ""
587
 
588
- #: dist/visual-portfolio/classes/class-admin.php:2021
589
  msgid "Display Date"
590
  msgstr ""
591
 
592
- #: dist/visual-portfolio/classes/class-admin.php:2027
593
  msgid "Human Format"
594
  msgstr ""
595
 
596
- #: dist/visual-portfolio/classes/class-admin.php:2035
597
  msgid ""
598
  "Date format
599
  " Example: F j, Y"
600
  msgstr ""
601
 
602
- #: dist/visual-portfolio/classes/class-admin.php:2048
603
  msgid "Display Author"
604
  msgstr ""
605
 
606
- #: dist/visual-portfolio/classes/class-admin.php:2056
607
  msgid "Display Comments Count"
608
  msgstr ""
609
 
610
- #: dist/visual-portfolio/classes/class-admin.php:2070
611
  msgid "Display Views Count"
612
  msgstr ""
613
 
614
- #: dist/visual-portfolio/classes/class-admin.php:2084
615
  msgid "Display Reading Time"
616
  msgstr ""
617
 
618
- #: dist/visual-portfolio/classes/class-admin.php:2098
619
  msgid "Display Excerpt"
620
  msgstr ""
621
 
622
- #: dist/visual-portfolio/classes/class-admin.php:2104
623
  msgid "Excerpt Words Count"
624
  msgstr ""
625
 
626
- #: dist/visual-portfolio/classes/class-admin.php:2119
627
  msgid "Display Icon"
628
  msgstr ""
629
 
630
- #: dist/visual-portfolio/classes/class-admin.php:2127
631
  msgid "Caption Align"
632
  msgstr ""
633
 
634
- #: dist/visual-portfolio/classes/class-admin.php:2187, dist/visual-portfolio/classes/class-settings.php:297
635
  msgid "Disabled"
636
  msgstr ""
637
 
638
- #: dist/visual-portfolio/classes/class-admin.php:2197
639
  msgid "Popup"
640
  msgstr ""
641
 
642
- #: dist/visual-portfolio/classes/class-admin.php:2209
643
  msgid "Target"
644
  msgstr ""
645
 
646
- #: dist/visual-portfolio/classes/class-admin.php:2214
647
  msgid "New Tab (_blank)"
648
  msgstr ""
649
 
650
- #: dist/visual-portfolio/classes/class-admin.php:2215
651
  msgid "Top Frame (_top)"
652
  msgstr ""
653
 
654
- #: dist/visual-portfolio/classes/class-admin.php:2229
655
  msgid "Rel"
656
  msgstr ""
657
 
658
- #: dist/visual-portfolio/classes/class-admin.php:2246
659
  msgid "Title Source"
660
  msgstr ""
661
 
662
- #: dist/visual-portfolio/classes/class-admin.php:2268
663
  msgid "Description Source"
664
  msgstr ""
665
 
666
- #: dist/visual-portfolio/classes/class-admin.php:2292
667
  msgid "Display pages in popup iframe, not just images."
668
  msgstr ""
669
 
670
- #: dist/visual-portfolio/classes/class-admin.php:2312
671
  msgid "Top"
672
  msgstr ""
673
 
674
- #: dist/visual-portfolio/classes/class-admin.php:2322
675
  msgid "Bottom"
676
  msgstr ""
677
 
678
- #: dist/visual-portfolio/classes/class-admin.php:2346
679
  msgid "Filter"
680
  msgstr ""
681
 
682
- #: dist/visual-portfolio/classes/class-admin.php:2352
683
  msgid "Sort"
684
  msgstr ""
685
 
686
- #: dist/visual-portfolio/classes/class-admin.php:2358
687
  msgid "Search"
688
  msgstr ""
689
 
690
- #: dist/visual-portfolio/classes/class-admin.php:2364
691
  msgid "Items"
692
  msgstr ""
693
 
694
- #: dist/visual-portfolio/classes/class-admin.php:2369
695
  msgid "Pagination"
696
  msgstr ""
697
 
698
- #: dist/visual-portfolio/classes/class-admin.php:2385, dist/visual-portfolio/classes/class-admin.php:2514, dist/visual-portfolio/classes/class-admin.php:2636
699
  msgid "Minimal"
700
  msgstr ""
701
 
702
- #: dist/visual-portfolio/classes/class-admin.php:2399, dist/visual-portfolio/classes/class-admin.php:2528
703
  msgid "Dropdown"
704
  msgstr ""
705
 
706
- #: dist/visual-portfolio/classes/class-admin.php:2491
707
  msgid "Display Count"
708
  msgstr ""
709
 
710
- #: dist/visual-portfolio/classes/class-admin.php:2500
711
  msgid "All Button Text"
712
  msgstr ""
713
 
714
- #: dist/visual-portfolio/classes/class-admin.php:2502
715
  msgid "All"
716
  msgstr ""
717
 
718
- #: dist/visual-portfolio/classes/class-admin.php:2625
719
  msgid "The search module is only available for Pro users."
720
  msgstr ""
721
 
722
- #: dist/visual-portfolio/classes/class-admin.php:2730
723
  msgid "Type"
724
  msgstr ""
725
 
726
- #: dist/visual-portfolio/classes/class-admin.php:2737
727
  msgid "Paged"
728
  msgstr ""
729
 
730
- #: dist/visual-portfolio/classes/class-admin.php:2742, dist/visual-portfolio/classes/class-admin.php:2803, dist/visual-portfolio/classes/class-admin.php:2860
731
  msgid "Load More"
732
  msgstr ""
733
 
734
- #: dist/visual-portfolio/classes/class-admin.php:2747
735
  msgid "Infinite"
736
  msgstr ""
737
 
738
- #: dist/visual-portfolio/classes/class-admin.php:2757
739
  msgid "Note: you will see the \"Load More\" pagination in the preview. \"Infinite\" pagination will be visible on the site."
740
  msgstr ""
741
 
742
- #: dist/visual-portfolio/classes/class-admin.php:2772, dist/visual-portfolio/classes/class-admin.php:2787
743
  msgid "Texts"
744
  msgstr ""
745
 
746
- #: dist/visual-portfolio/classes/class-admin.php:2804, dist/visual-portfolio/classes/class-admin.php:2805, dist/visual-portfolio/classes/class-admin.php:2861, dist/visual-portfolio/classes/class-admin.php:2862
747
  msgid "Load more button label"
748
  msgstr ""
749
 
750
- #: dist/visual-portfolio/classes/class-admin.php:2822, dist/visual-portfolio/classes/class-admin.php:2879
751
  msgid "Loading More..."
752
  msgstr ""
753
 
754
- #: dist/visual-portfolio/classes/class-admin.php:2823, dist/visual-portfolio/classes/class-admin.php:2824, dist/visual-portfolio/classes/class-admin.php:2880, dist/visual-portfolio/classes/class-admin.php:2881
755
  msgid "Loading more button label"
756
  msgstr ""
757
 
758
- #: dist/visual-portfolio/classes/class-admin.php:2841, dist/visual-portfolio/classes/class-admin.php:2898
759
  msgid "You’ve reached the end of the list"
760
  msgstr ""
761
 
762
- #: dist/visual-portfolio/classes/class-admin.php:2842, dist/visual-portfolio/classes/class-admin.php:2843, dist/visual-portfolio/classes/class-admin.php:2899, dist/visual-portfolio/classes/class-admin.php:2900
763
  msgid "End of the list text"
764
  msgstr ""
765
 
766
- #: dist/visual-portfolio/classes/class-admin.php:2931
767
  msgid "Display Numbers"
768
  msgstr ""
769
 
770
- #: dist/visual-portfolio/classes/class-admin.php:2946
771
  msgid "Scroll to Top"
772
  msgstr ""
773
 
774
- #: dist/visual-portfolio/classes/class-admin.php:2961
775
  msgid "Scroll to Top Offset"
776
  msgstr ""
777
 
778
- #: dist/visual-portfolio/classes/class-admin.php:2979
779
  msgid "Hide on Reached End"
780
  msgstr ""
781
 
782
- #: dist/visual-portfolio/classes/class-admin.php:3009
783
  msgid "Use <code>selector</code> rule to change block styles."
784
  msgstr ""
785
 
786
- #: dist/visual-portfolio/classes/class-admin.php:3010
787
  msgid "Example:"
788
  msgstr ""
789
 
790
- #: dist/visual-portfolio/classes/class-admin.php:3056
791
  msgid "Post Types Set"
792
  msgstr ""
793
 
794
- #: dist/visual-portfolio/classes/class-admin.php:3071
795
  msgid "Current Query"
796
  msgstr ""
797
 
@@ -914,184 +914,196 @@ msgstr ""
914
  msgid "< 1"
915
  msgstr ""
916
 
917
- #: dist/visual-portfolio/classes/class-custom-post-type.php:71
918
  msgctxt "Post Type General Name"
919
  msgid "Portfolio Items"
920
  msgstr ""
921
 
922
- #: dist/visual-portfolio/classes/class-custom-post-type.php:72
923
  msgctxt "Post Type Singular Name"
924
  msgid "Portfolio Item"
925
  msgstr ""
926
 
927
- #: dist/visual-portfolio/classes/class-custom-post-type.php:74, dist/visual-portfolio/classes/class-custom-post-type.php:168
928
  msgid "Parent Portfolio Item"
929
  msgstr ""
930
 
931
- #: dist/visual-portfolio/classes/class-custom-post-type.php:75
932
  msgid "Portfolio Items"
933
  msgstr ""
934
 
935
- #: dist/visual-portfolio/classes/class-custom-post-type.php:76
936
  msgid "View Portfolio Item"
937
  msgstr ""
938
 
939
- #: dist/visual-portfolio/classes/class-custom-post-type.php:77
940
  msgid "Add New Portfolio Item"
941
  msgstr ""
942
 
943
- #: dist/visual-portfolio/classes/class-custom-post-type.php:78, dist/visual-portfolio/classes/class-custom-post-type.php:172
944
  msgid "Add New"
945
  msgstr ""
946
 
947
- #: dist/visual-portfolio/classes/class-custom-post-type.php:79
948
  msgid "Edit Portfolio Item"
949
  msgstr ""
950
 
951
- #: dist/visual-portfolio/classes/class-custom-post-type.php:80
952
  msgid "Update Portfolio Item"
953
  msgstr ""
954
 
955
- #: dist/visual-portfolio/classes/class-custom-post-type.php:81
956
  msgid "Search Portfolio Item"
957
  msgstr ""
958
 
959
- #: dist/visual-portfolio/classes/class-custom-post-type.php:82, dist/visual-portfolio/classes/class-custom-post-type.php:176
960
  msgid "Not Found"
961
  msgstr ""
962
 
963
- #: dist/visual-portfolio/classes/class-custom-post-type.php:83, dist/visual-portfolio/classes/class-custom-post-type.php:177
964
  msgid "Not found in Trash"
965
  msgstr ""
966
 
967
- #: dist/visual-portfolio/classes/class-custom-post-type.php:123
968
  msgid "Portfolio Categories"
969
  msgstr ""
970
 
971
- #: dist/visual-portfolio/classes/class-custom-post-type.php:143
972
  msgid "Portfolio Tags"
973
  msgstr ""
974
 
975
- #: dist/visual-portfolio/classes/class-custom-post-type.php:145
976
  msgid "Tags"
977
  msgstr ""
978
 
979
- #: dist/visual-portfolio/classes/class-custom-post-type.php:165
980
  msgctxt "Post Type General Name"
981
  msgid "Saved Layouts"
982
  msgstr ""
983
 
984
- #: dist/visual-portfolio/classes/class-custom-post-type.php:166
985
  msgctxt "Post Type Singular Name"
986
  msgid "Saved Layout"
987
  msgstr ""
988
 
989
- #: dist/visual-portfolio/classes/class-custom-post-type.php:169
990
  msgid "Saved Layouts"
991
  msgstr ""
992
 
993
- #: dist/visual-portfolio/classes/class-custom-post-type.php:170
994
  msgid "View Saved Layout"
995
  msgstr ""
996
 
997
- #: dist/visual-portfolio/classes/class-custom-post-type.php:171
998
  msgid "Add New Saved Layout"
999
  msgstr ""
1000
 
1001
- #: dist/visual-portfolio/classes/class-custom-post-type.php:173
1002
  msgid "Edit Saved Layout"
1003
  msgstr ""
1004
 
1005
- #: dist/visual-portfolio/classes/class-custom-post-type.php:174
1006
  msgid "Update Saved Layout"
1007
  msgstr ""
1008
 
1009
- #: dist/visual-portfolio/classes/class-custom-post-type.php:175
1010
  msgid "Search Saved Layout"
1011
  msgstr ""
1012
 
1013
  #. translators: %s - taxonomy name.
1014
- #: dist/visual-portfolio/classes/class-custom-post-type.php:230
1015
  msgid "Show All %s"
1016
  msgstr ""
1017
 
1018
- #: dist/visual-portfolio/classes/class-custom-post-type.php:271
1019
  msgid "Portfolio Manager"
1020
  msgstr ""
1021
 
1022
- #: dist/visual-portfolio/classes/class-custom-post-type.php:276
1023
  msgid "Portfolio Author"
1024
  msgstr ""
1025
 
1026
- #: dist/visual-portfolio/classes/class-custom-post-type.php:361
1027
  msgid "Thumbnail"
1028
  msgstr ""
1029
 
1030
- #: dist/visual-portfolio/classes/class-custom-post-type.php:399
1031
  msgid "When to use Saved Layouts"
1032
  msgstr ""
1033
 
1034
  #. translators: %1$s - url to documentation.
1035
- #: dist/visual-portfolio/classes/class-custom-post-type.php:407
1036
  msgid "If you are using the Gutenberg page builder for your pages and posts, you should <strong>avoid using Saved Layouts</strong>. See here more info about <a href=\"%1$s\" target=\"_blank\">%2$s Blocks</a>."
1037
  msgstr ""
1038
 
1039
  #. translators: %s - url to documentation.
1040
- #: dist/visual-portfolio/classes/class-custom-post-type.php:417
1041
  msgid "To reuse blocks, you can use the built-in Gutenberg feature - <a href=\"%s\" target=\"_blank\">Reusable Blocks</a>."
1042
  msgstr ""
1043
 
1044
  #. translators: %s - url to documentation.
1045
- #: dist/visual-portfolio/classes/class-custom-post-type.php:423
1046
  msgid "Saved Layouts may be only used for 3rd-party builders only (such as Elementor, WPBakery Page Builder, etc), <a href=\"%s\" target=\"_blank\">read more info in documentation</a>. Since WordPress moved from Shortcodes to Blocks system, we prepared for you advanced blocks."
1047
  msgstr ""
1048
 
1049
- #: dist/visual-portfolio/classes/class-custom-post-type.php:440
1050
  msgid "Icon"
1051
  msgstr ""
1052
 
1053
- #: dist/visual-portfolio/classes/class-custom-post-type.php:448
1054
  msgid "Shortcode"
1055
  msgstr ""
1056
 
1057
- #: dist/visual-portfolio/classes/class-custom-post-type.php:622, dist/visual-portfolio/classes/class-custom-post-type.php:623, dist/visual-portfolio/classes/class-welcome-screen.php:150
 
 
 
 
 
 
 
 
 
 
 
 
1058
  msgid "Documentation"
1059
  msgstr ""
1060
 
1061
- #: dist/visual-portfolio/classes/class-custom-post-type.php:638, dist/visual-portfolio/classes/class-custom-post-type.php:639
1062
  msgid "Proofing"
1063
  msgstr ""
1064
 
1065
- #: dist/visual-portfolio/classes/class-custom-post-type.php:668
1066
  msgid "Send a collection of photographs to your client for approval."
1067
  msgstr ""
1068
 
1069
- #: dist/visual-portfolio/classes/class-custom-post-type.php:670, dist/visual-portfolio/classes/class-settings.php:594, dist/visual-portfolio/classes/class-settings.php:609, dist/visual-portfolio/classes/class-settings.php:624
1070
  msgid "Read More"
1071
  msgstr ""
1072
 
1073
- #: dist/visual-portfolio/classes/class-get-portfolio.php:1913
1074
  msgid "Default sorting"
1075
  msgstr ""
1076
 
1077
- #: dist/visual-portfolio/classes/class-get-portfolio.php:1914
1078
  msgid "Sort by date (newest)"
1079
  msgstr ""
1080
 
1081
- #: dist/visual-portfolio/classes/class-get-portfolio.php:1915
1082
  msgid "Sort by date (oldest)"
1083
  msgstr ""
1084
 
1085
- #: dist/visual-portfolio/classes/class-get-portfolio.php:1916
1086
  msgid "Sort by title (A-Z)"
1087
  msgstr ""
1088
 
1089
- #: dist/visual-portfolio/classes/class-get-portfolio.php:1917
1090
  msgid "Sort by title (Z-A)"
1091
  msgstr ""
1092
 
1093
  #. translators: %s - published in human format.
1094
- #: dist/visual-portfolio/classes/class-get-portfolio.php:2043
1095
  msgid "%s ago"
1096
  msgstr ""
1097
 
147
  msgid "Free Scroll Sticky"
148
  msgstr ""
149
 
150
+ #: dist/visual-portfolio/classes/class-admin.php:629, dist/visual-portfolio/classes/class-admin.php:2878, dist/visual-portfolio/classes/class-settings.php:443
151
  msgid "Display Arrows"
152
  msgstr ""
153
 
179
  msgid "Thumbnails Per View"
180
  msgstr ""
181
 
182
+ #: dist/visual-portfolio/classes/class-admin.php:776, dist/visual-portfolio/classes/class-admin.php:2354, dist/visual-portfolio/classes/class-admin.php:2483, dist/visual-portfolio/classes/class-admin.php:2605
183
  msgid "Classic"
184
  msgstr ""
185
 
187
  msgid "Display Read More Button"
188
  msgstr ""
189
 
190
+ #: dist/visual-portfolio/classes/class-admin.php:798, dist/visual-portfolio/classes/class-admin.php:1745, dist/visual-portfolio/classes/class-admin.php:1987
191
  msgid "Hide"
192
  msgstr ""
193
 
239
  msgid "Caption Links Hover Color"
240
  msgstr ""
241
 
242
+ #: dist/visual-portfolio/classes/class-admin.php:893, dist/visual-portfolio/classes/class-admin.php:955, dist/visual-portfolio/classes/class-admin.php:1006, dist/visual-portfolio/classes/class-admin.php:1115, dist/visual-portfolio/classes/class-admin.php:1515, dist/visual-portfolio/classes/class-admin.php:1682, dist/visual-portfolio/classes/class-admin.php:1702, dist/visual-portfolio/classes/class-admin.php:2253, dist/visual-portfolio/classes/class-admin.php:2586, dist/visual-portfolio/classes/class-custom-post-type.php:770, dist/visual-portfolio/classes/class-settings.php:591, dist/visual-portfolio/classes/class-settings.php:606, dist/visual-portfolio/classes/class-settings.php:621
243
  msgid "Pro Feature"
244
  msgstr ""
245
 
311
  msgid "Custom CSS"
312
  msgstr ""
313
 
314
+ #: dist/visual-portfolio/classes/class-admin.php:1212, dist/visual-portfolio/classes/class-custom-post-type.php:502
315
  msgid "Posts"
316
  msgstr ""
317
 
318
+ #: dist/visual-portfolio/classes/class-admin.php:1217, dist/visual-portfolio/classes/class-custom-post-type.php:503, dist/visual-portfolio/classes/class-settings.php:144
319
  msgid "Images"
320
  msgstr ""
321
 
322
+ #: dist/visual-portfolio/classes/class-admin.php:1222, dist/visual-portfolio/classes/class-custom-post-type.php:504
323
  msgid "Social"
324
  msgstr ""
325
 
326
+ #: dist/visual-portfolio/classes/class-admin.php:1251, dist/visual-portfolio/classes/class-admin.php:3028
327
  msgid "Custom Query"
328
  msgstr ""
329
 
388
  msgid "Menu Order"
389
  msgstr ""
390
 
391
+ #: dist/visual-portfolio/classes/class-admin.php:1403, dist/visual-portfolio/classes/class-admin.php:3023
392
  msgid "Manual Selection"
393
  msgstr ""
394
 
437
  msgid "Description"
438
  msgstr ""
439
 
440
+ #: dist/visual-portfolio/classes/class-admin.php:1556, dist/visual-portfolio/classes/class-custom-post-type.php:127
441
  msgid "Categories"
442
  msgstr ""
443
 
469
  msgid "see here"
470
  msgstr ""
471
 
472
+ #: dist/visual-portfolio/classes/class-admin.php:1583, dist/visual-portfolio/classes/class-admin.php:2154
473
  msgid "URL"
474
  msgstr ""
475
 
489
  msgid "Titles Source"
490
  msgstr ""
491
 
492
+ #: dist/visual-portfolio/classes/class-admin.php:1619, dist/visual-portfolio/classes/class-admin.php:1636, dist/visual-portfolio/classes/class-admin.php:2212, dist/visual-portfolio/classes/class-admin.php:2234
493
  msgid "None"
494
  msgstr ""
495
 
496
+ #: dist/visual-portfolio/classes/class-admin.php:1621, dist/visual-portfolio/classes/class-admin.php:1638, dist/visual-portfolio/classes/class-admin.php:2213, dist/visual-portfolio/classes/class-admin.php:2235
497
  msgid "Image Title"
498
  msgstr ""
499
 
500
+ #: dist/visual-portfolio/classes/class-admin.php:1622, dist/visual-portfolio/classes/class-admin.php:1639, dist/visual-portfolio/classes/class-admin.php:2214, dist/visual-portfolio/classes/class-admin.php:2236
501
  msgid "Image Caption"
502
  msgstr ""
503
 
504
+ #: dist/visual-portfolio/classes/class-admin.php:1623, dist/visual-portfolio/classes/class-admin.php:1640, dist/visual-portfolio/classes/class-admin.php:2215, dist/visual-portfolio/classes/class-admin.php:2237
505
  msgid "Image Alt"
506
  msgstr ""
507
 
508
+ #: dist/visual-portfolio/classes/class-admin.php:1624, dist/visual-portfolio/classes/class-admin.php:1641, dist/visual-portfolio/classes/class-admin.php:2216, dist/visual-portfolio/classes/class-admin.php:2238
509
  msgid "Image Description"
510
  msgstr ""
511
 
513
  msgid "Descriptions Source"
514
  msgstr ""
515
 
516
+ #: dist/visual-portfolio/classes/class-admin.php:1653, dist/visual-portfolio/classes/class-admin.php:1988, dist/visual-portfolio/classes/class-admin.php:2175
517
  msgid "Default"
518
  msgstr ""
519
 
569
  msgid "When empty, used Gap option"
570
  msgstr ""
571
 
572
+ #: dist/visual-portfolio/classes/class-admin.php:1937
573
  msgid "Images Rounded Corners"
574
  msgstr ""
575
 
576
+ #: dist/visual-portfolio/classes/class-admin.php:1954
577
  msgid "Display Title"
578
  msgstr ""
579
 
580
+ #: dist/visual-portfolio/classes/class-admin.php:1962
581
  msgid "Display Categories"
582
  msgstr ""
583
 
584
+ #: dist/visual-portfolio/classes/class-admin.php:1968
585
  msgid "Categories Count"
586
  msgstr ""
587
 
588
+ #: dist/visual-portfolio/classes/class-admin.php:1983
589
  msgid "Display Date"
590
  msgstr ""
591
 
592
+ #: dist/visual-portfolio/classes/class-admin.php:1989
593
  msgid "Human Format"
594
  msgstr ""
595
 
596
+ #: dist/visual-portfolio/classes/class-admin.php:1997
597
  msgid ""
598
  "Date format
599
  " Example: F j, Y"
600
  msgstr ""
601
 
602
+ #: dist/visual-portfolio/classes/class-admin.php:2010
603
  msgid "Display Author"
604
  msgstr ""
605
 
606
+ #: dist/visual-portfolio/classes/class-admin.php:2018
607
  msgid "Display Comments Count"
608
  msgstr ""
609
 
610
+ #: dist/visual-portfolio/classes/class-admin.php:2032
611
  msgid "Display Views Count"
612
  msgstr ""
613
 
614
+ #: dist/visual-portfolio/classes/class-admin.php:2046
615
  msgid "Display Reading Time"
616
  msgstr ""
617
 
618
+ #: dist/visual-portfolio/classes/class-admin.php:2060
619
  msgid "Display Excerpt"
620
  msgstr ""
621
 
622
+ #: dist/visual-portfolio/classes/class-admin.php:2066
623
  msgid "Excerpt Words Count"
624
  msgstr ""
625
 
626
+ #: dist/visual-portfolio/classes/class-admin.php:2081
627
  msgid "Display Icon"
628
  msgstr ""
629
 
630
+ #: dist/visual-portfolio/classes/class-admin.php:2089
631
  msgid "Caption Align"
632
  msgstr ""
633
 
634
+ #: dist/visual-portfolio/classes/class-admin.php:2149, dist/visual-portfolio/classes/class-settings.php:297
635
  msgid "Disabled"
636
  msgstr ""
637
 
638
+ #: dist/visual-portfolio/classes/class-admin.php:2159
639
  msgid "Popup"
640
  msgstr ""
641
 
642
+ #: dist/visual-portfolio/classes/class-admin.php:2171
643
  msgid "Target"
644
  msgstr ""
645
 
646
+ #: dist/visual-portfolio/classes/class-admin.php:2176
647
  msgid "New Tab (_blank)"
648
  msgstr ""
649
 
650
+ #: dist/visual-portfolio/classes/class-admin.php:2177
651
  msgid "Top Frame (_top)"
652
  msgstr ""
653
 
654
+ #: dist/visual-portfolio/classes/class-admin.php:2191
655
  msgid "Rel"
656
  msgstr ""
657
 
658
+ #: dist/visual-portfolio/classes/class-admin.php:2208
659
  msgid "Title Source"
660
  msgstr ""
661
 
662
+ #: dist/visual-portfolio/classes/class-admin.php:2230
663
  msgid "Description Source"
664
  msgstr ""
665
 
666
+ #: dist/visual-portfolio/classes/class-admin.php:2254
667
  msgid "Display pages in popup iframe, not just images."
668
  msgstr ""
669
 
670
+ #: dist/visual-portfolio/classes/class-admin.php:2274
671
  msgid "Top"
672
  msgstr ""
673
 
674
+ #: dist/visual-portfolio/classes/class-admin.php:2284
675
  msgid "Bottom"
676
  msgstr ""
677
 
678
+ #: dist/visual-portfolio/classes/class-admin.php:2308
679
  msgid "Filter"
680
  msgstr ""
681
 
682
+ #: dist/visual-portfolio/classes/class-admin.php:2314
683
  msgid "Sort"
684
  msgstr ""
685
 
686
+ #: dist/visual-portfolio/classes/class-admin.php:2320
687
  msgid "Search"
688
  msgstr ""
689
 
690
+ #: dist/visual-portfolio/classes/class-admin.php:2326
691
  msgid "Items"
692
  msgstr ""
693
 
694
+ #: dist/visual-portfolio/classes/class-admin.php:2331
695
  msgid "Pagination"
696
  msgstr ""
697
 
698
+ #: dist/visual-portfolio/classes/class-admin.php:2347, dist/visual-portfolio/classes/class-admin.php:2476, dist/visual-portfolio/classes/class-admin.php:2598
699
  msgid "Minimal"
700
  msgstr ""
701
 
702
+ #: dist/visual-portfolio/classes/class-admin.php:2361, dist/visual-portfolio/classes/class-admin.php:2490
703
  msgid "Dropdown"
704
  msgstr ""
705
 
706
+ #: dist/visual-portfolio/classes/class-admin.php:2453
707
  msgid "Display Count"
708
  msgstr ""
709
 
710
+ #: dist/visual-portfolio/classes/class-admin.php:2462
711
  msgid "All Button Text"
712
  msgstr ""
713
 
714
+ #: dist/visual-portfolio/classes/class-admin.php:2464
715
  msgid "All"
716
  msgstr ""
717
 
718
+ #: dist/visual-portfolio/classes/class-admin.php:2587
719
  msgid "The search module is only available for Pro users."
720
  msgstr ""
721
 
722
+ #: dist/visual-portfolio/classes/class-admin.php:2692
723
  msgid "Type"
724
  msgstr ""
725
 
726
+ #: dist/visual-portfolio/classes/class-admin.php:2699
727
  msgid "Paged"
728
  msgstr ""
729
 
730
+ #: dist/visual-portfolio/classes/class-admin.php:2704, dist/visual-portfolio/classes/class-admin.php:2765, dist/visual-portfolio/classes/class-admin.php:2822
731
  msgid "Load More"
732
  msgstr ""
733
 
734
+ #: dist/visual-portfolio/classes/class-admin.php:2709
735
  msgid "Infinite"
736
  msgstr ""
737
 
738
+ #: dist/visual-portfolio/classes/class-admin.php:2719
739
  msgid "Note: you will see the \"Load More\" pagination in the preview. \"Infinite\" pagination will be visible on the site."
740
  msgstr ""
741
 
742
+ #: dist/visual-portfolio/classes/class-admin.php:2734, dist/visual-portfolio/classes/class-admin.php:2749
743
  msgid "Texts"
744
  msgstr ""
745
 
746
+ #: dist/visual-portfolio/classes/class-admin.php:2766, dist/visual-portfolio/classes/class-admin.php:2767, dist/visual-portfolio/classes/class-admin.php:2823, dist/visual-portfolio/classes/class-admin.php:2824
747
  msgid "Load more button label"
748
  msgstr ""
749
 
750
+ #: dist/visual-portfolio/classes/class-admin.php:2784, dist/visual-portfolio/classes/class-admin.php:2841
751
  msgid "Loading More..."
752
  msgstr ""
753
 
754
+ #: dist/visual-portfolio/classes/class-admin.php:2785, dist/visual-portfolio/classes/class-admin.php:2786, dist/visual-portfolio/classes/class-admin.php:2842, dist/visual-portfolio/classes/class-admin.php:2843
755
  msgid "Loading more button label"
756
  msgstr ""
757
 
758
+ #: dist/visual-portfolio/classes/class-admin.php:2803, dist/visual-portfolio/classes/class-admin.php:2860
759
  msgid "You’ve reached the end of the list"
760
  msgstr ""
761
 
762
+ #: dist/visual-portfolio/classes/class-admin.php:2804, dist/visual-portfolio/classes/class-admin.php:2805, dist/visual-portfolio/classes/class-admin.php:2861, dist/visual-portfolio/classes/class-admin.php:2862
763
  msgid "End of the list text"
764
  msgstr ""
765
 
766
+ #: dist/visual-portfolio/classes/class-admin.php:2893
767
  msgid "Display Numbers"
768
  msgstr ""
769
 
770
+ #: dist/visual-portfolio/classes/class-admin.php:2908
771
  msgid "Scroll to Top"
772
  msgstr ""
773
 
774
+ #: dist/visual-portfolio/classes/class-admin.php:2923
775
  msgid "Scroll to Top Offset"
776
  msgstr ""
777
 
778
+ #: dist/visual-portfolio/classes/class-admin.php:2941
779
  msgid "Hide on Reached End"
780
  msgstr ""
781
 
782
+ #: dist/visual-portfolio/classes/class-admin.php:2971
783
  msgid "Use <code>selector</code> rule to change block styles."
784
  msgstr ""
785
 
786
+ #: dist/visual-portfolio/classes/class-admin.php:2972
787
  msgid "Example:"
788
  msgstr ""
789
 
790
+ #: dist/visual-portfolio/classes/class-admin.php:3018
791
  msgid "Post Types Set"
792
  msgstr ""
793
 
794
+ #: dist/visual-portfolio/classes/class-admin.php:3033
795
  msgid "Current Query"
796
  msgstr ""
797
 
914
  msgid "< 1"
915
  msgstr ""
916
 
917
+ #: dist/visual-portfolio/classes/class-custom-post-type.php:73
918
  msgctxt "Post Type General Name"
919
  msgid "Portfolio Items"
920
  msgstr ""
921
 
922
+ #: dist/visual-portfolio/classes/class-custom-post-type.php:74
923
  msgctxt "Post Type Singular Name"
924
  msgid "Portfolio Item"
925
  msgstr ""
926
 
927
+ #: dist/visual-portfolio/classes/class-custom-post-type.php:76, dist/visual-portfolio/classes/class-custom-post-type.php:170
928
  msgid "Parent Portfolio Item"
929
  msgstr ""
930
 
931
+ #: dist/visual-portfolio/classes/class-custom-post-type.php:77
932
  msgid "Portfolio Items"
933
  msgstr ""
934
 
935
+ #: dist/visual-portfolio/classes/class-custom-post-type.php:78
936
  msgid "View Portfolio Item"
937
  msgstr ""
938
 
939
+ #: dist/visual-portfolio/classes/class-custom-post-type.php:79
940
  msgid "Add New Portfolio Item"
941
  msgstr ""
942
 
943
+ #: dist/visual-portfolio/classes/class-custom-post-type.php:80, dist/visual-portfolio/classes/class-custom-post-type.php:174
944
  msgid "Add New"
945
  msgstr ""
946
 
947
+ #: dist/visual-portfolio/classes/class-custom-post-type.php:81
948
  msgid "Edit Portfolio Item"
949
  msgstr ""
950
 
951
+ #: dist/visual-portfolio/classes/class-custom-post-type.php:82
952
  msgid "Update Portfolio Item"
953
  msgstr ""
954
 
955
+ #: dist/visual-portfolio/classes/class-custom-post-type.php:83
956
  msgid "Search Portfolio Item"
957
  msgstr ""
958
 
959
+ #: dist/visual-portfolio/classes/class-custom-post-type.php:84, dist/visual-portfolio/classes/class-custom-post-type.php:178
960
  msgid "Not Found"
961
  msgstr ""
962
 
963
+ #: dist/visual-portfolio/classes/class-custom-post-type.php:85, dist/visual-portfolio/classes/class-custom-post-type.php:179
964
  msgid "Not found in Trash"
965
  msgstr ""
966
 
967
+ #: dist/visual-portfolio/classes/class-custom-post-type.php:125
968
  msgid "Portfolio Categories"
969
  msgstr ""
970
 
971
+ #: dist/visual-portfolio/classes/class-custom-post-type.php:145
972
  msgid "Portfolio Tags"
973
  msgstr ""
974
 
975
+ #: dist/visual-portfolio/classes/class-custom-post-type.php:147
976
  msgid "Tags"
977
  msgstr ""
978
 
979
+ #: dist/visual-portfolio/classes/class-custom-post-type.php:167
980
  msgctxt "Post Type General Name"
981
  msgid "Saved Layouts"
982
  msgstr ""
983
 
984
+ #: dist/visual-portfolio/classes/class-custom-post-type.php:168
985
  msgctxt "Post Type Singular Name"
986
  msgid "Saved Layout"
987
  msgstr ""
988
 
989
+ #: dist/visual-portfolio/classes/class-custom-post-type.php:171
990
  msgid "Saved Layouts"
991
  msgstr ""
992
 
993
+ #: dist/visual-portfolio/classes/class-custom-post-type.php:172
994
  msgid "View Saved Layout"
995
  msgstr ""
996
 
997
+ #: dist/visual-portfolio/classes/class-custom-post-type.php:173
998
  msgid "Add New Saved Layout"
999
  msgstr ""
1000
 
1001
+ #: dist/visual-portfolio/classes/class-custom-post-type.php:175
1002
  msgid "Edit Saved Layout"
1003
  msgstr ""
1004
 
1005
+ #: dist/visual-portfolio/classes/class-custom-post-type.php:176
1006
  msgid "Update Saved Layout"
1007
  msgstr ""
1008
 
1009
+ #: dist/visual-portfolio/classes/class-custom-post-type.php:177
1010
  msgid "Search Saved Layout"
1011
  msgstr ""
1012
 
1013
  #. translators: %s - taxonomy name.
1014
+ #: dist/visual-portfolio/classes/class-custom-post-type.php:232
1015
  msgid "Show All %s"
1016
  msgstr ""
1017
 
1018
+ #: dist/visual-portfolio/classes/class-custom-post-type.php:273
1019
  msgid "Portfolio Manager"
1020
  msgstr ""
1021
 
1022
+ #: dist/visual-portfolio/classes/class-custom-post-type.php:278
1023
  msgid "Portfolio Author"
1024
  msgstr ""
1025
 
1026
+ #: dist/visual-portfolio/classes/class-custom-post-type.php:363
1027
  msgid "Thumbnail"
1028
  msgstr ""
1029
 
1030
+ #: dist/visual-portfolio/classes/class-custom-post-type.php:401
1031
  msgid "When to use Saved Layouts"
1032
  msgstr ""
1033
 
1034
  #. translators: %1$s - url to documentation.
1035
+ #: dist/visual-portfolio/classes/class-custom-post-type.php:409
1036
  msgid "If you are using the Gutenberg page builder for your pages and posts, you should <strong>avoid using Saved Layouts</strong>. See here more info about <a href=\"%1$s\" target=\"_blank\">%2$s Blocks</a>."
1037
  msgstr ""
1038
 
1039
  #. translators: %s - url to documentation.
1040
+ #: dist/visual-portfolio/classes/class-custom-post-type.php:419
1041
  msgid "To reuse blocks, you can use the built-in Gutenberg feature - <a href=\"%s\" target=\"_blank\">Reusable Blocks</a>."
1042
  msgstr ""
1043
 
1044
  #. translators: %s - url to documentation.
1045
+ #: dist/visual-portfolio/classes/class-custom-post-type.php:425
1046
  msgid "Saved Layouts may be only used for 3rd-party builders only (such as Elementor, WPBakery Page Builder, etc), <a href=\"%s\" target=\"_blank\">read more info in documentation</a>. Since WordPress moved from Shortcodes to Blocks system, we prepared for you advanced blocks."
1047
  msgstr ""
1048
 
1049
+ #: dist/visual-portfolio/classes/class-custom-post-type.php:442
1050
  msgid "Icon"
1051
  msgstr ""
1052
 
1053
+ #: dist/visual-portfolio/classes/class-custom-post-type.php:450
1054
  msgid "Shortcode"
1055
  msgstr ""
1056
 
1057
+ #: dist/visual-portfolio/classes/class-custom-post-type.php:516
1058
+ msgid "All layouts"
1059
+ msgstr ""
1060
+
1061
+ #: dist/visual-portfolio/classes/class-custom-post-type.php:526
1062
+ msgid "All styles"
1063
+ msgstr ""
1064
+
1065
+ #: dist/visual-portfolio/classes/class-custom-post-type.php:536
1066
+ msgid "All sources"
1067
+ msgstr ""
1068
+
1069
+ #: dist/visual-portfolio/classes/class-custom-post-type.php:727, dist/visual-portfolio/classes/class-custom-post-type.php:728, dist/visual-portfolio/classes/class-welcome-screen.php:150
1070
  msgid "Documentation"
1071
  msgstr ""
1072
 
1073
+ #: dist/visual-portfolio/classes/class-custom-post-type.php:743, dist/visual-portfolio/classes/class-custom-post-type.php:744
1074
  msgid "Proofing"
1075
  msgstr ""
1076
 
1077
+ #: dist/visual-portfolio/classes/class-custom-post-type.php:773
1078
  msgid "Send a collection of photographs to your client for approval."
1079
  msgstr ""
1080
 
1081
+ #: dist/visual-portfolio/classes/class-custom-post-type.php:775, dist/visual-portfolio/classes/class-settings.php:594, dist/visual-portfolio/classes/class-settings.php:609, dist/visual-portfolio/classes/class-settings.php:624
1082
  msgid "Read More"
1083
  msgstr ""
1084
 
1085
+ #: dist/visual-portfolio/classes/class-get-portfolio.php:1965
1086
  msgid "Default sorting"
1087
  msgstr ""
1088
 
1089
+ #: dist/visual-portfolio/classes/class-get-portfolio.php:1966
1090
  msgid "Sort by date (newest)"
1091
  msgstr ""
1092
 
1093
+ #: dist/visual-portfolio/classes/class-get-portfolio.php:1967
1094
  msgid "Sort by date (oldest)"
1095
  msgstr ""
1096
 
1097
+ #: dist/visual-portfolio/classes/class-get-portfolio.php:1968
1098
  msgid "Sort by title (A-Z)"
1099
  msgstr ""
1100
 
1101
+ #: dist/visual-portfolio/classes/class-get-portfolio.php:1969
1102
  msgid "Sort by title (Z-A)"
1103
  msgstr ""
1104
 
1105
  #. translators: %s - published in human format.
1106
+ #: dist/visual-portfolio/classes/class-get-portfolio.php:2095
1107
  msgid "%s ago"
1108
  msgstr ""
1109
 
readme.md CHANGED
@@ -5,7 +5,7 @@
5
  * Requires at least: 5.4
6
  * Tested up to: 5.8
7
  * Requires PHP: 5.5.9
8
- * Stable tag: 2.13.1
9
  * License: GPLv2 or later
10
  * License URI: <http://www.gnu.org/licenses/gpl-2.0.html>
11
 
@@ -310,6 +310,16 @@ For more information, feel free to visit [Visual Portfolio official website](htt
310
 
311
  ## Changelog ##
312
 
 
 
 
 
 
 
 
 
 
 
313
  = 2.13.1 =
314
 
315
  * fixed possible bug with inaccessible links on images in the Classic style
5
  * Requires at least: 5.4
6
  * Tested up to: 5.8
7
  * Requires PHP: 5.5.9
8
+ * Stable tag: 2.13.2
9
  * License: GPLv2 or later
10
  * License URI: <http://www.gnu.org/licenses/gpl-2.0.html>
11
 
310
 
311
  ## Changelog ##
312
 
313
+ = 2.13.2 =
314
+
315
+ * added filtering for Saved Layouts admin screen
316
+ * fixed filter categories bug when using Avoid Duplicates option
317
+ * fixed WP 5.8 deprecated filter usage
318
+ * fixed WP 5.8 Widgets editor conflict
319
+ * fixed possible js error when using SVG images and lazy loading
320
+ * fixed block preview loading when active plugin "Paid Memberships Pro - Member Homepages Add On"
321
+ * minor changes
322
+
323
  = 2.13.1 =
324
 
325
  * fixed possible bug with inaccessible links on images in the Classic style