Visual Portfolio, Photo Gallery & Post Grid - Version 1.7.0

Version Description

Download this release

Release Info

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

Code changes from version 1.6.5 to 1.7.0

assets/admin/css/style.min.css CHANGED
@@ -1,5 +1,5 @@
1
  /*!
2
  * Name : Visual Portfolio
3
- * Version : 1.6.5
4
  * Author : nK https://nkdev.info
5
  */.dashicons-visual-portfolio,.dashicons-visual-portfolio-gray,.mce-widget .mce-i-visual-portfolio{background-image:url("../images/icon.svg");background-repeat:no-repeat;background-position:center center;background-size:15px;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}.dashicons-visual-portfolio-gray,.mce-i-visual-portfolio-gray{background-image:url("../images/icon-gray.svg")}.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-vc.png");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}.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.33333%;flex-basis:8.33333%;max-width:8.33333%}.vp-col-2{-ms-flex-preferred-size:16.66667%;flex-basis:16.66667%;max-width:16.66667%}.vp-col-3{-ms-flex-preferred-size:25%;flex-basis:25%;max-width:25%}.vp-col-4{-ms-flex-preferred-size:33.33333%;flex-basis:33.33333%;max-width:33.33333%}.vp-col-5{-ms-flex-preferred-size:41.66667%;flex-basis:41.66667%;max-width:41.66667%}.vp-col-6{-ms-flex-preferred-size:50%;flex-basis:50%;max-width:50%}.vp-col-7{-ms-flex-preferred-size:58.33333%;flex-basis:58.33333%;max-width:58.33333%}.vp-col-8{-ms-flex-preferred-size:66.66667%;flex-basis:66.66667%;max-width:66.66667%}.vp-col-9{-ms-flex-preferred-size:75%;flex-basis:75%;max-width:75%}.vp-col-10{-ms-flex-preferred-size:83.33333%;flex-basis:83.33333%;max-width:83.33333%}.vp-col-11{-ms-flex-preferred-size:91.66667%;flex-basis:91.66667%;max-width:91.66667%}.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}.post-type-vp_lists.post-php,.post-type-vp_lists.post-new-php{background-color:#edeff0}.post-type-vp_lists.post-php #wpcontent,.post-type-vp_lists.post-new-php #wpcontent{padding-left:0}.post-type-vp_lists.post-php .wrap,.post-type-vp_lists.post-new-php .wrap{margin:0}.post-type-vp_lists.post-php #poststuff,.post-type-vp_lists.post-new-php #poststuff{padding-top:0}.post-type-vp_lists.post-php #wpfooter,.post-type-vp_lists.post-new-php #wpfooter{display:none}.post-type-vp_lists.post-php #wpbody-content,.post-type-vp_lists.post-new-php #wpbody-content{padding-bottom:0}.post-type-vp_lists.post-php #post-body.columns-2 #postbox-container-1,.post-type-vp_lists.post-new-php #post-body.columns-2 #postbox-container-1{position:fixed;top:0;right:300px;bottom:0;width:300px;overflow:auto;-webkit-overflow-scrolling:touch}html.wp-toolbar .post-type-vp_lists.post-php #post-body.columns-2 #postbox-container-1,html.wp-toolbar .post-type-vp_lists.post-new-php #post-body.columns-2 #postbox-container-1{top:32px}@media only screen and (max-width: 850px){.post-type-vp_lists.post-php #post-body.columns-2 #postbox-container-1,.post-type-vp_lists.post-new-php #post-body.columns-2 #postbox-container-1{position:relative;top:auto;right:auto;bottom:auto;width:100%;margin-right:0}}.post-type-vp_lists.post-php #postbox-container-2,.post-type-vp_lists.post-new-php #postbox-container-2{position:absolute;top:0;right:0;bottom:0;left:0;width:calc(100% - 300px);min-height:calc(100vh - 32px);overflow:auto;-webkit-overflow-scrolling:touch}@media only screen and (max-width: 850px){.post-type-vp_lists.post-php #postbox-container-2,.post-type-vp_lists.post-new-php #postbox-container-2{right:0;bottom:auto;width:100%}}.post-type-vp_lists.post-php .columns-2 #side-sortables,.post-type-vp_lists.post-new-php .columns-2 #side-sortables{width:auto}.post-type-vp_lists.post-php .notice,.post-type-vp_lists.post-new-php .notice{margin:0;margin-right:300px;margin-bottom:1px}@media only screen and (max-width: 850px){.post-type-vp_lists.post-php .notice,.post-type-vp_lists.post-new-php .notice{margin-right:0}}.post-type-vp_lists.post-php #poststuff .postbox,.post-type-vp_lists.post-new-php #poststuff .postbox{margin-bottom:0;border-color:#e2e4e7;border-top:0;border-right:0}.post-type-vp_lists.post-php #poststuff .postbox>h2,.post-type-vp_lists.post-new-php #poststuff .postbox>h2{padding:15px;border-bottom:none}.post-type-vp_lists.post-php #poststuff .postbox>.handlediv,.post-type-vp_lists.post-new-php #poststuff .postbox>.handlediv{height:50px}.post-type-vp_lists.post-php #poststuff .postbox>.inside,.post-type-vp_lists.post-new-php #poststuff .postbox>.inside{padding:15px;padding-top:0}.vp-control{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:19px}.vp-control>label{width:100%;margin-bottom:5px}.vp-control>.vp-control-description{width:100%;margin:2px 0 5px;font-size:13px;font-style:italic;color:#666}.vp-control.vp-control-checkbox,.vp-control.vp-control-toggle{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.vp-control.vp-control-checkbox>label,.vp-control.vp-control-toggle>label{margin-bottom:0}.vp-control.vp-control-textarea textarea{width:100%}.vp-image-picker{display:none}.vp-image-picker,.vp-image-picker *{-webkit-box-sizing:border-box;box-sizing:border-box}.vp-image-picker+ul.thumbnails.image_picker_selector li{margin:0 10px 10px 0}.vp-image-picker+ul.thumbnails.image_picker_selector li .thumbnail{padding:0;cursor:pointer;border:none}.vp-image-picker+ul.thumbnails.image_picker_selector li .thumbnail img{display:block;border:2px solid transparent}.vp-image-picker+ul.thumbnails.image_picker_selector li .thumbnail.selected{background-color:transparent}.vp-image-picker+ul.thumbnails.image_picker_selector li .thumbnail.selected img{border-color:#0073aa}.vp-image-picker+ul.thumbnails.image_picker_selector .group_title{padding-top:5px;padding-left:5px;font-weight:500}.vp-control-range [type="number"]{width:50px;margin-left:10px}.vp-control-range [type="range"]{-webkit-box-flex:1;-ms-flex:1;flex:1;width:100%;padding:0;background:transparent;-webkit-appearance:none;-moz-appearance:none;appearance:none}.vp-control-range [type="range"]::-webkit-slider-thumb{-webkit-box-sizing:border-box;box-sizing:border-box;width:18px;height:18px;margin-top:-7px;cursor:pointer;background:#555d66;background-clip:padding-box;border:4px solid transparent;border-radius:50%;-webkit-appearance:none;appearance:none}.vp-control-range [type="range"]::-moz-range-thumb{box-sizing:border-box;width:18px;height:18px;cursor:pointer;background:#555d66;background-clip:padding-box;border:4px solid transparent;border-radius:50%}.vp-control-range [type="range"]::-ms-thumb{box-sizing:border-box;width:14px;height:14px;margin-top:0;cursor:pointer;background:#555d66;background-clip:padding-box;border:2px solid transparent;border-radius:50%}.vp-control-range [type="range"]:focus{outline:none}.vp-control-range [type="range"]:focus::-webkit-slider-thumb{color:#191e23;background-color:#fff;outline:2px solid transparent;outline-offset:-2px;-webkit-box-shadow:inset 0 0 0 1px #6c7781, inset 0 0 0 2px #fff;box-shadow:inset 0 0 0 1px #6c7781, inset 0 0 0 2px #fff}.vp-control-range [type="range"]:focus::-moz-range-thumb{color:#191e23;background-color:#fff;outline:2px solid transparent;outline-offset:-2px;box-shadow:inset 0 0 0 1px #6c7781, inset 0 0 0 2px #fff}.vp-control-range [type="range"]:focus::-ms-thumb{color:#191e23;background-color:#fff;outline:2px solid transparent;outline-offset:-2px;box-shadow:inset 0 0 0 1px #6c7781, inset 0 0 0 2px #fff}.vp-control-range [type="range"]::-webkit-slider-runnable-track{height:3px;margin-top:-4px;cursor:pointer;background:#e2e4e7;border-radius:1.5px}.vp-control-range [type="range"]::-moz-range-track{height:3px;cursor:pointer;background:#e2e4e7;border-radius:1.5px}.vp-control-range [type="range"]::-ms-track{height:3px;margin-top:-4px;color:transparent;cursor:pointer;background:#e2e4e7;border-color:transparent;border-radius:1.5px}.vp-control-toggle,.vp-control-toggle *{-webkit-box-sizing:border-box;box-sizing:border-box}.vp-control-toggle .vp-toggle{position:relative}.vp-control-toggle .vp-toggle .vp-toggle__track{content:"";display:inline-block;-webkit-box-sizing:border-box;box-sizing:border-box;width:36px;height:18px;vertical-align:top;background-color:#fff;border:2px solid #6c7781;border-radius:9px;-webkit-transition:background .2s ease;transition:background .2s ease}.vp-control-toggle .vp-toggle .vp-toggle__track::after{content:"";position:absolute;display:block;top:50%;right:5px;width:3px;height:3px;margin-top:-3px;border:1.5px solid #6c7781;border-radius:3px}.vp-control-toggle .vp-toggle:hover .vp-toggle__track{background-color:#e2e4e7}.vp-control-toggle .vp-toggle [type="checkbox"]:checked ~ .vp-toggle__track{background-color:#33b3db;border:2px solid #33b3db}.vp-control-toggle .vp-toggle [type="checkbox"]:checked ~ .vp-toggle__track::after{top:50%;right:auto;left:8px;width:0;height:5px;margin-top:-3px;border:0;border-right:2px solid #fff;border-radius:0}.vp-control-toggle .vp-toggle .vp-toggle__thumb{position:absolute;display:block;top:4px;left:4px;width:10px;height:10px;background-color:#6c7781;border:5px solid #6c7781;border-radius:50%;-webkit-transition:-webkit-transform .1s ease;transition:-webkit-transform .1s ease;transition:transform .1s ease;transition:transform .1s ease, -webkit-transform .1s ease}.vp-control-toggle .vp-toggle [type="checkbox"]:focus ~ .vp-toggle__track{-webkit-box-shadow:0 0 0 2px #fff, 0 0 0 3px #6c7781;box-shadow:0 0 0 2px #fff, 0 0 0 3px #6c7781}.vp-control-toggle .vp-toggle [type="checkbox"]:checked ~ .vp-toggle__thumb{background-color:#fff;border-width:0;-webkit-transform:translateX(18px);transform:translateX(18px)}.vp-control-toggle .vp-toggle [type="checkbox"]{position:absolute;top:0;left:0;width:100%;height:100%;padding:0;margin:0;opacity:0;z-index:1}.vp-control-image-dropdown{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:100%;padding:5px 7px;cursor:pointer;background-color:#fff;border:1px solid #ddd;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.07);box-shadow:inset 0 1px 2px rgba(0,0,0,0.07)}.vp-control-image-dropdown,.vp-control-image-dropdown *{-webkit-box-sizing:border-box;box-sizing:border-box}.vp-control-image-dropdown::before{content:"";position:absolute;display:block;top:50%;right:6px;width:0;height:0;margin-top:-2px;border-color:#888 transparent transparent transparent;border-style:solid;border-width:5px 4px 0 4px}.vp-control-image-dropdown.active::before{border-color:transparent transparent #888 transparent;border-width:0 4px 5px 4px}.vp-control-image-dropdown .vp-control-image-dropdown__preview{display:block;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:32px}.vp-control-image-dropdown .vp-control-image-dropdown__preview img{display:block;width:100%;height:auto}.vp-control-image-dropdown .vp-control-image-dropdown__title{-webkit-box-flex:1;-ms-flex:1;flex:1;padding-left:10px}.vp-control-image-dropdown .vp-control-image-dropdown__content{position:absolute;display:none;top:100%;left:0;width:100%;max-width:285px;margin-top:7px;margin-left:-1px;cursor:default;background-color:#fff;border:1px solid #e5e5e5;-webkit-box-shadow:0 1px 1px rgba(0,0,0,0.04);box-shadow:0 1px 1px rgba(0,0,0,0.04);z-index:1}.vp-control-image-dropdown .vp-control-image-dropdown__content>div{width:100%;max-height:250px;padding:4px;overflow:auto}.vp-control-image-dropdown .vp-control-image-dropdown__content::before{content:"";position:absolute;display:block;top:-5px;left:10px;width:0;height:0;border-right:5px solid transparent;border-bottom:5px solid #e5e5e5;border-left:5px solid transparent}.vp-control-image-dropdown .vp-control-image-dropdown__content::after{content:"";position:absolute;display:block;top:-7px;right:0;left:0;height:7px}.vp-control-image-dropdown .vp-control-image-dropdown__content .vp-image-picker+ul.thumbnails.image_picker_selector,.vp-control-image-dropdown .vp-control-image-dropdown__content .vp-image-picker+ul.thumbnails.image_picker_selector .group>ul{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.vp-control-image-dropdown .vp-control-image-dropdown__content .vp-image-picker+ul.thumbnails.image_picker_selector li{display:block;-webkit-box-flex:0;-ms-flex:0 0 25%;flex:0 0 25%;float:none;max-width:25%;margin:0}.vp-control-image-dropdown .vp-control-image-dropdown__content .vp-image-picker+ul.thumbnails.image_picker_selector li.group,.vp-control-image-dropdown .vp-control-image-dropdown__content .vp-image-picker+ul.thumbnails.image_picker_selector li.group_title{-webkit-box-flex:0;-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.vp-control-image-dropdown .vp-control-image-dropdown__content .vp-image-picker+ul.thumbnails.image_picker_selector li .thumbnail{padding:3px}.vp-control-image-dropdown .vp-control-image-dropdown__content .vp-image-picker+ul.thumbnails.image_picker_selector li img{width:100%;height:auto}.vp-control-image-dropdown.active .vp-control-image-dropdown__content{display:block}.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:"\f126";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;vertical-align:top;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}.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:"\f128";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;vertical-align:top;-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_shortcode{width:250px}@media screen and (max-width: 782px){.wp-list-table th.column-portfolio_post_thumbs{display:none}.wp-list-table tr:not(.inline-edit-row):not(.no-items) td.column-portfolio_post_thumbs{float:left;width:70px !important;min-width:70px}.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}}.vp-portfolio-list .vp-portfolio-list__icon span{display:block;width:120px;height:120px;margin:0 auto;margin-top:60px;background-size:105px}.vp-portfolio-list .vp-portfolio-list__text{text-align:center}.vp-portfolio-list .vp-portfolio-list__text p{margin-top:30px;margin-bottom:30px;font-size:15px;font-weight:500;color:#8e8e8e}.vp-portfolio-list .vp-portfolio-list__text .button-hero{display:inline-block}.vp_list_preview{padding:0 12px;margin-right:-12px;margin-left:-12px}.vp_list_preview iframe{width:100%;min-height:120px;-webkit-transition:height .3s;transition:height .3s}.vp-content-source{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;padding-right:9px;padding-left:9px;margin-right:-15px;margin-left:-15px}.vp-content-source .vp-content-source__item{position:relative;width:70px;height:50px;padding:12px;margin:0 5px;color:#6c7781;text-align:center;cursor:pointer;border:1px solid transparent;border-radius:3px}.vp-content-source .vp-content-source__item.active,.vp-content-source .vp-content-source__item:hover{color:#555;background-color:#ecf0f4}.vp-content-source .vp-content-source__item.active{color:#fff;background-color:#6c7781;border-color:#6c7781}.vp-content-source .vp-content-source__item .vp-content-source__item-icon>span{width:24px;height:24px;margin-top:2px;font-size:24px}.vp-content-source .vp-content-source__item .vp-content-source__item-title{position:absolute;top:58%;right:8px;left:8px;font-weight:500}.vp-content-source .vp-content-source__item-content{-webkit-box-flex:1;-ms-flex:1;flex:1;min-width:100%}.vp-content-source .vp-content-source__item-content>div{position:relative;display:none;padding:0 15px;padding-bottom:1px;margin-top:12px;margin-right:-9px;margin-bottom:-14px;margin-left:-9px;overflow:hidden;background-color:#f9f9fa;border-top:1px solid #eee}.vp-content-source .vp-content-source__item-content>div:empty{display:none !important}.vp-content-source .vp-content-source__item-content>div.active{display:block}.vp-select2{width:100%}.vp-select2+.select2{width:100%}.post-attributes-label+.vp-select2+.select2{margin-top:5px}.vp-select2+.select2 ul,.vp-select2+.select2 li{margin-bottom:0}.vp-select2+.select2 .select2-selection{border:1px solid #ddd;border-radius:0;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.07);box-shadow:inset 0 1px 2px rgba(0,0,0,0.07)}.vp-select2+.select2.select2-container--open .select2-selection{outline:none}.vp-select2+.select2 .select2-selection--multiple{min-height:27px}.vp-select2+.select2 .select2-selection--multiple .select2-selection__choice{padding:3px 8px;margin-top:3px;color:#fff;background-color:#6c7781;border-color:#6c7781}.vp-select2+.select2 .select2-selection--multiple .select2-selection__choice__remove{float:right;margin-right:0;margin-left:3px;color:inherit;opacity:.5}.select2-vp-container ul,.select2-vp-container li{margin-bottom:0}.select2-vp-container .select2-dropdown{border-color:#ddd}.select2-vp-container .select2-search--dropdown .select2-search__field{padding:3px 4px;border:1px solid #ddd;outline:none;-webkit-box-shadow:none;box-shadow:none}.select2-vp-container .select2-results__option[aria-selected="true"]{background-color:#efeeee}.select2-vp-container .select2-results__option--highlighted[aria-selected]{background-color:#33b3db}.vp-select2-ajax__result{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}.vp-select2-ajax__result .vp-select2-ajax__result-img{position:relative;-webkit-box-flex:0;-ms-flex:0 0 35px;flex:0 0 35px;background-color:rgba(0,0,0,0.1);background-position:center center;background-size:cover;border-radius:3px}.vp-select2-ajax__result .vp-select2-ajax__result-img::after{content:"";display:block;width:100%;padding-top:100%}.vp-select2-ajax__result .vp-select2-ajax__result-data{padding-left:10px}.vp-select2-ajax__result .vp-select2-ajax__result-title{font-size:16px;font-weight:500;line-height:1}.vp-select2-ajax__result .vp-select2-ajax__result-post-type{font-size:12px;opacity:.5}.vp-control-gallery .vp-control-gallery-additional-data{position:absolute;-webkit-box-sizing:border-box;box-sizing:border-box;top:0;right:-350px;bottom:0;width:350px;padding:15px 13px;overflow:auto;background-color:#fff;border-left:1px solid #eaeaea;-webkit-transition:.15s right;transition:.15s right}.vp-control-gallery .vp-control-gallery-additional-data.active{right:0}.vp-control-gallery .vp-control-gallery-additional-data.active+.vp-control-gallery-items{margin-right:335px}@media (max-width: 910px){.vp-control-gallery .vp-control-gallery-additional-data{position:relative;display:none;right:0;width:120%;height:auto;margin-bottom:30px;border:1px solid #eaeaea}.vp-control-gallery .vp-control-gallery-additional-data.active{display:block}.vp-control-gallery .vp-control-gallery-additional-data.active+.vp-control-gallery-items{margin-right:-15px}}.vp-control-gallery .vp-control-gallery-additional-data .vp-control-gallery-additional-data-preview{display:-webkit-box;display:-ms-flexbox;display:flex;padding:15px 13px;margin:-15px -13px;margin-bottom:15px;border-bottom:1px solid #eaeaea}.vp-control-gallery .vp-control-gallery-additional-data .vp-control-gallery-additional-data-preview .vp-control-gallery-additional-data-preview-image{margin-right:15px}.vp-control-gallery .vp-control-gallery-additional-data .vp-control-gallery-additional-data-preview .vp-control-gallery-additional-data-preview-image img{display:block;width:70px;border-radius:3px;-webkit-box-shadow:0 0 0 1px #fff, 0 0 0 2px #eaeaea;box-shadow:0 0 0 1px #fff, 0 0 0 2px #eaeaea}.vp-control-gallery .vp-control-gallery-additional-data .vp-control-gallery-additional-data-preview .vp-control-gallery-additional-data-preview-size{color:#8f9498}.vp-control-gallery .vp-control-gallery-items{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-line-pack:start;align-content:flex-start;width:120%;height:325px;padding:7px;margin:-12px;margin-bottom:-25px;overflow:auto;-webkit-transition:.15s margin-right;transition:.15s margin-right}.vp-control-gallery .vp-control-gallery-items::after{content:"";display:block;width:100%}.vp-control-gallery .vp-control-gallery-items>div{position:relative;display:block;width:calc(12.5% - 10px);margin:5px;cursor:move;cursor:-webkit-grab;cursor:grab;border-radius:3px}@media (max-width: 1350px){.vp-control-gallery .vp-control-gallery-items>div{width:calc(14.22% - 10px)}}@media (max-width: 1250px){.vp-control-gallery .vp-control-gallery-items>div{width:calc(16.66% - 10px)}}@media (max-width: 1100px){.vp-control-gallery .vp-control-gallery-items>div{width:calc(25% - 10px)}}.vp-control-gallery .vp-control-gallery-items>div::after{content:"";display:block;padding-top:100%}.vp-control-gallery .vp-control-gallery-items>div.sortable-ghost{opacity:.4}.vp-control-gallery .vp-control-gallery-items>div img{position:absolute;display:block;top:0;left:0;width:100%;height:100%;border-radius:3px}.vp-control-gallery .vp-control-gallery-items>.vp-control-gallery-items-img .vp-control-gallery-items-remove{position:absolute;top:-5px;right:-5px;width:20px;height:20px;color:#fff;cursor:pointer;visibility:hidden;background-color:#dc3232;border-radius:50%;opacity:0;-webkit-transition:.15s visibility, .15s opacity;transition:.15s visibility, .15s opacity}.vp-control-gallery .vp-control-gallery-items>.vp-control-gallery-items-img .vp-control-gallery-items-remove span{width:20px;height:20px;font-size:10px;line-height:20px}.vp-control-gallery .vp-control-gallery-items>.vp-control-gallery-items-img:hover .vp-control-gallery-items-remove{visibility:visible;opacity:1}.vp-control-gallery .vp-control-gallery-items>.vp-control-gallery-items-img.active{-webkit-box-shadow:0 0 0 1px #fff, 0 0 0 4px #33b3db;box-shadow:0 0 0 1px #fff, 0 0 0 4px #33b3db}.vp-control-gallery .vp-control-gallery-items>.vp-control-gallery-items-add{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;-webkit-box-sizing:border-box;box-sizing:border-box;color:#6c7781;text-align:center;cursor:pointer;background-color:#fff;border:1px solid #ccd3da;border-radius:3px}.vp-control-gallery .vp-control-gallery-items>.vp-control-gallery-items-add>span{position:absolute;top:50%;left:50%;width:24px;height:24px;margin-top:-12px;margin-left:-12px;line-height:24px}.vp-control-gallery .vp-control-gallery-items>.vp-control-gallery-items-add:hover{color:#555;background-color:#f7f7f7}.vp-input{width:100%}.post-type-vp_lists .CodeMirror{width:100%;text-align:left;border:1px solid #ddd}.post-type-vp_lists .CodeMirror .CodeMirror-matchingbracket{color:inherit;background:rgba(255,150,0,0.3)}.post-type-vp_lists [class*="CodeMirror-lint-message"],.post-type-vp_lists .CodeMirror-lint-marker-multiple,.post-type-vp_lists [class*="CodeMirror-lint-marker"]{background-image:none}.post-type-vp_lists .CodeMirror-lint-marker-error,.post-type-vp_lists .CodeMirror-lint-marker-warning{cursor:help}.post-type-vp_lists .CodeMirror-lint-marker-multiple{position:absolute;top:0}.post-type-vp_lists [class*="CodeMirror-lint-marker"]::before{position:relative;top:-2px;font:400 18px/1 dashicons}.post-type-vp_lists [class*="CodeMirror-lint-message"]::before{position:absolute;left:16px;font:400 16px/1 dashicons}.post-type-vp_lists .CodeMirror-lint-message-error,.post-type-vp_lists .CodeMirror-lint-message-warning{padding:3px 12px 3px 28px;margin:5px 0 2px;-webkit-box-shadow:0 1px 1px 0 rgba(0,0,0,0.1);box-shadow:0 1px 1px 0 rgba(0,0,0,0.1)}.post-type-vp_lists .CodeMirror-lint-message-warning{background-color:#fff8e5;border-left:4px solid #ffb900}.post-type-vp_lists .CodeMirror-lint-message-warning::before,.post-type-vp_lists .CodeMirror-lint-marker-warning::before{content:"\f534";color:#f6a306}.post-type-vp_lists .CodeMirror-lint-message-error{background-color:#fbeaea;border-left:4px solid #dc3232}.post-type-vp_lists .CodeMirror-lint-message-error::before,.post-type-vp_lists .CodeMirror-lint-marker-error::before{content:"\f153";color:#dc3232}.post-type-vp_lists .CodeMirror-lint-tooltip{background:0 0;border:none;border-radius:0;direction:ltr}@media (max-width: 850px){.vp-steps__right,.vp-steps__step{float:none;width:100%}}.post-type-vp_lists #slugdiv,.post-type-vp_lists #postcustom{display:none}
1
  /*!
2
  * Name : Visual Portfolio
3
+ * Version : 1.7.0
4
  * Author : nK https://nkdev.info
5
  */.dashicons-visual-portfolio,.dashicons-visual-portfolio-gray,.mce-widget .mce-i-visual-portfolio{background-image:url("../images/icon.svg");background-repeat:no-repeat;background-position:center center;background-size:15px;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}.dashicons-visual-portfolio-gray,.mce-i-visual-portfolio-gray{background-image:url("../images/icon-gray.svg")}.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-vc.png");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}.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.33333%;flex-basis:8.33333%;max-width:8.33333%}.vp-col-2{-ms-flex-preferred-size:16.66667%;flex-basis:16.66667%;max-width:16.66667%}.vp-col-3{-ms-flex-preferred-size:25%;flex-basis:25%;max-width:25%}.vp-col-4{-ms-flex-preferred-size:33.33333%;flex-basis:33.33333%;max-width:33.33333%}.vp-col-5{-ms-flex-preferred-size:41.66667%;flex-basis:41.66667%;max-width:41.66667%}.vp-col-6{-ms-flex-preferred-size:50%;flex-basis:50%;max-width:50%}.vp-col-7{-ms-flex-preferred-size:58.33333%;flex-basis:58.33333%;max-width:58.33333%}.vp-col-8{-ms-flex-preferred-size:66.66667%;flex-basis:66.66667%;max-width:66.66667%}.vp-col-9{-ms-flex-preferred-size:75%;flex-basis:75%;max-width:75%}.vp-col-10{-ms-flex-preferred-size:83.33333%;flex-basis:83.33333%;max-width:83.33333%}.vp-col-11{-ms-flex-preferred-size:91.66667%;flex-basis:91.66667%;max-width:91.66667%}.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}.post-type-vp_lists.post-php,.post-type-vp_lists.post-new-php{background-color:#edeff0}.post-type-vp_lists.post-php #wpcontent,.post-type-vp_lists.post-new-php #wpcontent{padding-left:0}.post-type-vp_lists.post-php .wrap,.post-type-vp_lists.post-new-php .wrap{margin:0}.post-type-vp_lists.post-php #poststuff,.post-type-vp_lists.post-new-php #poststuff{padding-top:0}.post-type-vp_lists.post-php #wpfooter,.post-type-vp_lists.post-new-php #wpfooter{display:none}.post-type-vp_lists.post-php #wpbody-content,.post-type-vp_lists.post-new-php #wpbody-content{padding-bottom:0}.post-type-vp_lists.post-php #post-body.columns-2 #postbox-container-1,.post-type-vp_lists.post-new-php #post-body.columns-2 #postbox-container-1{position:fixed;top:0;right:300px;bottom:0;width:300px;overflow:auto;-webkit-overflow-scrolling:touch}html.wp-toolbar .post-type-vp_lists.post-php #post-body.columns-2 #postbox-container-1,html.wp-toolbar .post-type-vp_lists.post-new-php #post-body.columns-2 #postbox-container-1{top:32px}@media only screen and (max-width: 850px){.post-type-vp_lists.post-php #post-body.columns-2 #postbox-container-1,.post-type-vp_lists.post-new-php #post-body.columns-2 #postbox-container-1{position:relative;top:auto;right:auto;bottom:auto;width:100%;margin-right:0}}.post-type-vp_lists.post-php #postbox-container-2,.post-type-vp_lists.post-new-php #postbox-container-2{position:absolute;top:0;right:0;bottom:0;left:0;width:calc(100% - 300px);min-height:calc(100vh - 32px);overflow:auto;-webkit-overflow-scrolling:touch}@media only screen and (max-width: 850px){.post-type-vp_lists.post-php #postbox-container-2,.post-type-vp_lists.post-new-php #postbox-container-2{right:0;bottom:auto;width:100%}}.post-type-vp_lists.post-php .columns-2 #side-sortables,.post-type-vp_lists.post-new-php .columns-2 #side-sortables{width:auto}.post-type-vp_lists.post-php .notice,.post-type-vp_lists.post-new-php .notice{margin:0;margin-right:300px;margin-bottom:1px}@media only screen and (max-width: 850px){.post-type-vp_lists.post-php .notice,.post-type-vp_lists.post-new-php .notice{margin-right:0}}.post-type-vp_lists.post-php #poststuff .postbox,.post-type-vp_lists.post-new-php #poststuff .postbox{margin-bottom:0;border-color:#e2e4e7;border-top:0;border-right:0}.post-type-vp_lists.post-php #poststuff .postbox>h2,.post-type-vp_lists.post-new-php #poststuff .postbox>h2{padding:15px;border-bottom:none}.post-type-vp_lists.post-php #poststuff .postbox>.handlediv,.post-type-vp_lists.post-new-php #poststuff .postbox>.handlediv{height:50px}.post-type-vp_lists.post-php #poststuff .postbox>.inside,.post-type-vp_lists.post-new-php #poststuff .postbox>.inside{padding:15px;padding-top:0}.vp-control{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:19px}.vp-control>label{width:100%;margin-bottom:5px}.vp-control>.vp-control-description{width:100%;margin:2px 0 5px;font-size:13px;font-style:italic;color:#666}.vp-control.vp-control-checkbox,.vp-control.vp-control-toggle{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.vp-control.vp-control-checkbox>label,.vp-control.vp-control-toggle>label{margin-bottom:0}.vp-control.vp-control-textarea textarea{width:100%}.vp-image-picker{display:none}.vp-image-picker,.vp-image-picker *{-webkit-box-sizing:border-box;box-sizing:border-box}.vp-image-picker+ul.thumbnails.image_picker_selector li{margin:0 10px 10px 0}.vp-image-picker+ul.thumbnails.image_picker_selector li .thumbnail{padding:0;cursor:pointer;border:none}.vp-image-picker+ul.thumbnails.image_picker_selector li .thumbnail img{display:block;border:2px solid transparent}.vp-image-picker+ul.thumbnails.image_picker_selector li .thumbnail.selected{background-color:transparent}.vp-image-picker+ul.thumbnails.image_picker_selector li .thumbnail.selected img{border-color:#0073aa}.vp-image-picker+ul.thumbnails.image_picker_selector .group_title{padding-top:5px;padding-left:5px;font-weight:500}.vp-control-range [type="number"]{width:50px;margin-left:10px}.vp-control-range [type="range"]{-webkit-box-flex:1;-ms-flex:1;flex:1;width:100%;padding:0;background:transparent;-webkit-appearance:none;-moz-appearance:none;appearance:none}.vp-control-range [type="range"]::-webkit-slider-thumb{-webkit-box-sizing:border-box;box-sizing:border-box;width:18px;height:18px;margin-top:-7px;cursor:pointer;background:#555d66;background-clip:padding-box;border:4px solid transparent;border-radius:50%;-webkit-appearance:none;appearance:none}.vp-control-range [type="range"]::-moz-range-thumb{box-sizing:border-box;width:18px;height:18px;cursor:pointer;background:#555d66;background-clip:padding-box;border:4px solid transparent;border-radius:50%}.vp-control-range [type="range"]::-ms-thumb{box-sizing:border-box;width:14px;height:14px;margin-top:0;cursor:pointer;background:#555d66;background-clip:padding-box;border:2px solid transparent;border-radius:50%}.vp-control-range [type="range"]:focus{outline:none}.vp-control-range [type="range"]:focus::-webkit-slider-thumb{color:#191e23;background-color:#fff;outline:2px solid transparent;outline-offset:-2px;-webkit-box-shadow:inset 0 0 0 1px #6c7781, inset 0 0 0 2px #fff;box-shadow:inset 0 0 0 1px #6c7781, inset 0 0 0 2px #fff}.vp-control-range [type="range"]:focus::-moz-range-thumb{color:#191e23;background-color:#fff;outline:2px solid transparent;outline-offset:-2px;box-shadow:inset 0 0 0 1px #6c7781, inset 0 0 0 2px #fff}.vp-control-range [type="range"]:focus::-ms-thumb{color:#191e23;background-color:#fff;outline:2px solid transparent;outline-offset:-2px;box-shadow:inset 0 0 0 1px #6c7781, inset 0 0 0 2px #fff}.vp-control-range [type="range"]::-webkit-slider-runnable-track{height:3px;margin-top:-4px;cursor:pointer;background:#e2e4e7;border-radius:1.5px}.vp-control-range [type="range"]::-moz-range-track{height:3px;cursor:pointer;background:#e2e4e7;border-radius:1.5px}.vp-control-range [type="range"]::-ms-track{height:3px;margin-top:-4px;color:transparent;cursor:pointer;background:#e2e4e7;border-color:transparent;border-radius:1.5px}.vp-control-toggle,.vp-control-toggle *{-webkit-box-sizing:border-box;box-sizing:border-box}.vp-control-toggle .vp-toggle{position:relative}.vp-control-toggle .vp-toggle .vp-toggle__track{content:"";display:inline-block;-webkit-box-sizing:border-box;box-sizing:border-box;width:36px;height:18px;vertical-align:top;background-color:#fff;border:2px solid #6c7781;border-radius:9px;-webkit-transition:background .2s ease;transition:background .2s ease}.vp-control-toggle .vp-toggle .vp-toggle__track::after{content:"";position:absolute;display:block;top:50%;right:5px;width:3px;height:3px;margin-top:-3px;border:1.5px solid #6c7781;border-radius:3px}.vp-control-toggle .vp-toggle:hover .vp-toggle__track{background-color:#e2e4e7}.vp-control-toggle .vp-toggle [type="checkbox"]:checked ~ .vp-toggle__track{background-color:#33b3db;border:2px solid #33b3db}.vp-control-toggle .vp-toggle [type="checkbox"]:checked ~ .vp-toggle__track::after{top:50%;right:auto;left:8px;width:0;height:5px;margin-top:-3px;border:0;border-right:2px solid #fff;border-radius:0}.vp-control-toggle .vp-toggle .vp-toggle__thumb{position:absolute;display:block;top:4px;left:4px;width:10px;height:10px;background-color:#6c7781;border:5px solid #6c7781;border-radius:50%;-webkit-transition:-webkit-transform .1s ease;transition:-webkit-transform .1s ease;transition:transform .1s ease;transition:transform .1s ease, -webkit-transform .1s ease}.vp-control-toggle .vp-toggle [type="checkbox"]:focus ~ .vp-toggle__track{-webkit-box-shadow:0 0 0 2px #fff, 0 0 0 3px #6c7781;box-shadow:0 0 0 2px #fff, 0 0 0 3px #6c7781}.vp-control-toggle .vp-toggle [type="checkbox"]:checked ~ .vp-toggle__thumb{background-color:#fff;border-width:0;-webkit-transform:translateX(18px);transform:translateX(18px)}.vp-control-toggle .vp-toggle [type="checkbox"]{position:absolute;top:0;left:0;width:100%;height:100%;padding:0;margin:0;opacity:0;z-index:1}.vp-control-image-dropdown{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:100%;padding:5px 7px;cursor:pointer;background-color:#fff;border:1px solid #ddd;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.07);box-shadow:inset 0 1px 2px rgba(0,0,0,0.07)}.vp-control-image-dropdown,.vp-control-image-dropdown *{-webkit-box-sizing:border-box;box-sizing:border-box}.vp-control-image-dropdown::before{content:"";position:absolute;display:block;top:50%;right:6px;width:0;height:0;margin-top:-2px;border-color:#888 transparent transparent transparent;border-style:solid;border-width:5px 4px 0 4px}.vp-control-image-dropdown.active::before{border-color:transparent transparent #888 transparent;border-width:0 4px 5px 4px}.vp-control-image-dropdown .vp-control-image-dropdown__preview{display:block;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:32px}.vp-control-image-dropdown .vp-control-image-dropdown__preview img{display:block;width:100%;height:auto}.vp-control-image-dropdown .vp-control-image-dropdown__title{-webkit-box-flex:1;-ms-flex:1;flex:1;padding-left:10px}.vp-control-image-dropdown .vp-control-image-dropdown__content{position:absolute;display:none;top:100%;left:0;width:100%;max-width:285px;margin-top:7px;margin-left:-1px;cursor:default;background-color:#fff;border:1px solid #e5e5e5;-webkit-box-shadow:0 1px 1px rgba(0,0,0,0.04);box-shadow:0 1px 1px rgba(0,0,0,0.04);z-index:1}.vp-control-image-dropdown .vp-control-image-dropdown__content>div{width:100%;max-height:250px;padding:4px;overflow:auto}.vp-control-image-dropdown .vp-control-image-dropdown__content::before{content:"";position:absolute;display:block;top:-5px;left:10px;width:0;height:0;border-right:5px solid transparent;border-bottom:5px solid #e5e5e5;border-left:5px solid transparent}.vp-control-image-dropdown .vp-control-image-dropdown__content::after{content:"";position:absolute;display:block;top:-7px;right:0;left:0;height:7px}.vp-control-image-dropdown .vp-control-image-dropdown__content .vp-image-picker+ul.thumbnails.image_picker_selector,.vp-control-image-dropdown .vp-control-image-dropdown__content .vp-image-picker+ul.thumbnails.image_picker_selector .group>ul{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.vp-control-image-dropdown .vp-control-image-dropdown__content .vp-image-picker+ul.thumbnails.image_picker_selector li{display:block;-webkit-box-flex:0;-ms-flex:0 0 25%;flex:0 0 25%;float:none;max-width:25%;margin:0}.vp-control-image-dropdown .vp-control-image-dropdown__content .vp-image-picker+ul.thumbnails.image_picker_selector li.group,.vp-control-image-dropdown .vp-control-image-dropdown__content .vp-image-picker+ul.thumbnails.image_picker_selector li.group_title{-webkit-box-flex:0;-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.vp-control-image-dropdown .vp-control-image-dropdown__content .vp-image-picker+ul.thumbnails.image_picker_selector li .thumbnail{padding:3px}.vp-control-image-dropdown .vp-control-image-dropdown__content .vp-image-picker+ul.thumbnails.image_picker_selector li img{width:100%;height:auto}.vp-control-image-dropdown.active .vp-control-image-dropdown__content{display:block}.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:"\f126";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;vertical-align:top;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}.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:"\f128";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;vertical-align:top;-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_shortcode{width:250px}@media screen and (max-width: 782px){.wp-list-table th.column-portfolio_post_thumbs{display:none}.wp-list-table tr:not(.inline-edit-row):not(.no-items) td.column-portfolio_post_thumbs{float:left;width:70px !important;min-width:70px}.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}}.vp-portfolio-list .vp-portfolio-list__icon span{display:block;width:120px;height:120px;margin:0 auto;margin-top:60px;background-size:105px}.vp-portfolio-list .vp-portfolio-list__text{text-align:center}.vp-portfolio-list .vp-portfolio-list__text p{margin-top:30px;margin-bottom:30px;font-size:15px;font-weight:500;color:#8e8e8e}.vp-portfolio-list .vp-portfolio-list__text .button-hero{display:inline-block}.vp_list_preview{padding:0 12px;margin-right:-12px;margin-left:-12px}.vp_list_preview iframe{width:100%;min-height:120px;-webkit-transition:height .3s;transition:height .3s}.vp-content-source{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;padding-right:9px;padding-left:9px;margin-right:-15px;margin-left:-15px}.vp-content-source .vp-content-source__item{position:relative;width:70px;height:50px;padding:12px;margin:0 5px;color:#6c7781;text-align:center;cursor:pointer;border:1px solid transparent;border-radius:3px}.vp-content-source .vp-content-source__item.active,.vp-content-source .vp-content-source__item:hover{color:#555;background-color:#ecf0f4}.vp-content-source .vp-content-source__item.active{color:#fff;background-color:#6c7781;border-color:#6c7781}.vp-content-source .vp-content-source__item .vp-content-source__item-icon>span{width:24px;height:24px;margin-top:2px;font-size:24px}.vp-content-source .vp-content-source__item .vp-content-source__item-title{position:absolute;top:58%;right:8px;left:8px;font-weight:500}.vp-content-source .vp-content-source__item-content{-webkit-box-flex:1;-ms-flex:1;flex:1;min-width:100%}.vp-content-source .vp-content-source__item-content>div{position:relative;display:none;padding:0 15px;padding-bottom:1px;margin-top:12px;margin-right:-9px;margin-bottom:-14px;margin-left:-9px;overflow:hidden;background-color:#f9f9fa;border-top:1px solid #eee}.vp-content-source .vp-content-source__item-content>div:empty{display:none !important}.vp-content-source .vp-content-source__item-content>div.active{display:block}.vp-select2{width:100%}.vp-select2+.select2{width:100%}.post-attributes-label+.vp-select2+.select2{margin-top:5px}.vp-select2+.select2 ul,.vp-select2+.select2 li{margin-bottom:0}.vp-select2+.select2 .select2-selection{border:1px solid #ddd;border-radius:0;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.07);box-shadow:inset 0 1px 2px rgba(0,0,0,0.07)}.vp-select2+.select2.select2-container--open .select2-selection{outline:none}.vp-select2+.select2 .select2-selection--multiple{min-height:27px}.vp-select2+.select2 .select2-selection--multiple .select2-selection__choice{padding:3px 8px;margin-top:3px;color:#fff;background-color:#6c7781;border-color:#6c7781}.vp-select2+.select2 .select2-selection--multiple .select2-selection__choice__remove{float:right;margin-right:0;margin-left:3px;color:inherit;opacity:.5}.select2-vp-container ul,.select2-vp-container li{margin-bottom:0}.select2-vp-container .select2-dropdown{border-color:#ddd}.select2-vp-container .select2-search--dropdown .select2-search__field{padding:3px 4px;border:1px solid #ddd;outline:none;-webkit-box-shadow:none;box-shadow:none}.select2-vp-container .select2-results__option[aria-selected="true"]{background-color:#efeeee}.select2-vp-container .select2-results__option--highlighted[aria-selected]{background-color:#33b3db}.vp-select2-ajax__result{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}.vp-select2-ajax__result .vp-select2-ajax__result-img{position:relative;-webkit-box-flex:0;-ms-flex:0 0 35px;flex:0 0 35px;background-color:rgba(0,0,0,0.1);background-position:center center;background-size:cover;border-radius:3px}.vp-select2-ajax__result .vp-select2-ajax__result-img::after{content:"";display:block;width:100%;padding-top:100%}.vp-select2-ajax__result .vp-select2-ajax__result-data{padding-left:10px}.vp-select2-ajax__result .vp-select2-ajax__result-title{font-size:16px;font-weight:500;line-height:1}.vp-select2-ajax__result .vp-select2-ajax__result-post-type{font-size:12px;opacity:.5}.vp-control-gallery .vp-control-gallery-additional-data{position:absolute;-webkit-box-sizing:border-box;box-sizing:border-box;top:0;right:-350px;bottom:0;width:350px;padding:15px 13px;overflow:auto;background-color:#fff;border-left:1px solid #eaeaea;-webkit-transition:.15s right;transition:.15s right}.vp-control-gallery .vp-control-gallery-additional-data.active{right:0}.vp-control-gallery .vp-control-gallery-additional-data.active+.vp-control-gallery-items{margin-right:335px}@media (max-width: 910px){.vp-control-gallery .vp-control-gallery-additional-data{position:relative;display:none;right:0;width:120%;height:auto;margin-bottom:30px;border:1px solid #eaeaea}.vp-control-gallery .vp-control-gallery-additional-data.active{display:block}.vp-control-gallery .vp-control-gallery-additional-data.active+.vp-control-gallery-items{margin-right:-15px}}.vp-control-gallery .vp-control-gallery-additional-data .vp-control-gallery-additional-data-preview{display:-webkit-box;display:-ms-flexbox;display:flex;padding:15px 13px;margin:-15px -13px;margin-bottom:15px;border-bottom:1px solid #eaeaea}.vp-control-gallery .vp-control-gallery-additional-data .vp-control-gallery-additional-data-preview .vp-control-gallery-additional-data-preview-image{margin-right:15px}.vp-control-gallery .vp-control-gallery-additional-data .vp-control-gallery-additional-data-preview .vp-control-gallery-additional-data-preview-image img{display:block;width:70px;border-radius:3px;-webkit-box-shadow:0 0 0 1px #fff, 0 0 0 2px #eaeaea;box-shadow:0 0 0 1px #fff, 0 0 0 2px #eaeaea}.vp-control-gallery .vp-control-gallery-additional-data .vp-control-gallery-additional-data-preview .vp-control-gallery-additional-data-preview-size{color:#8f9498}.vp-control-gallery .vp-control-gallery-items{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-line-pack:start;align-content:flex-start;width:120%;height:325px;padding:7px;margin:-12px;margin-bottom:-25px;overflow:auto;-webkit-transition:.15s margin-right;transition:.15s margin-right}.vp-control-gallery .vp-control-gallery-items::after{content:"";display:block;width:100%}.vp-control-gallery .vp-control-gallery-items>div{position:relative;display:block;width:calc(12.5% - 10px);margin:5px;cursor:move;cursor:-webkit-grab;cursor:grab;border-radius:3px}@media (max-width: 1350px){.vp-control-gallery .vp-control-gallery-items>div{width:calc(14.22% - 10px)}}@media (max-width: 1250px){.vp-control-gallery .vp-control-gallery-items>div{width:calc(16.66% - 10px)}}@media (max-width: 1100px){.vp-control-gallery .vp-control-gallery-items>div{width:calc(25% - 10px)}}.vp-control-gallery .vp-control-gallery-items>div::after{content:"";display:block;padding-top:100%}.vp-control-gallery .vp-control-gallery-items>div.sortable-ghost{opacity:.4}.vp-control-gallery .vp-control-gallery-items>div img{position:absolute;display:block;top:0;left:0;width:100%;height:100%;border-radius:3px}.vp-control-gallery .vp-control-gallery-items>.vp-control-gallery-items-img .vp-control-gallery-items-remove{position:absolute;top:-5px;right:-5px;width:20px;height:20px;color:#fff;cursor:pointer;visibility:hidden;background-color:#dc3232;border-radius:50%;opacity:0;-webkit-transition:.15s visibility, .15s opacity;transition:.15s visibility, .15s opacity}.vp-control-gallery .vp-control-gallery-items>.vp-control-gallery-items-img .vp-control-gallery-items-remove span{width:20px;height:20px;font-size:10px;line-height:20px}.vp-control-gallery .vp-control-gallery-items>.vp-control-gallery-items-img:hover .vp-control-gallery-items-remove{visibility:visible;opacity:1}.vp-control-gallery .vp-control-gallery-items>.vp-control-gallery-items-img.active{-webkit-box-shadow:0 0 0 1px #fff, 0 0 0 4px #33b3db;box-shadow:0 0 0 1px #fff, 0 0 0 4px #33b3db}.vp-control-gallery .vp-control-gallery-items>.vp-control-gallery-items-add{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;-webkit-box-sizing:border-box;box-sizing:border-box;color:#6c7781;text-align:center;cursor:pointer;background-color:#fff;border:1px solid #ccd3da;border-radius:3px}.vp-control-gallery .vp-control-gallery-items>.vp-control-gallery-items-add>span{position:absolute;top:50%;left:50%;width:24px;height:24px;margin-top:-12px;margin-left:-12px;line-height:24px}.vp-control-gallery .vp-control-gallery-items>.vp-control-gallery-items-add:hover{color:#555;background-color:#f7f7f7}.vp-input{width:100%}.post-type-vp_lists .CodeMirror{width:100%;text-align:left;border:1px solid #ddd}.post-type-vp_lists .CodeMirror .CodeMirror-matchingbracket{color:inherit;background:rgba(255,150,0,0.3)}.post-type-vp_lists [class*="CodeMirror-lint-message"],.post-type-vp_lists .CodeMirror-lint-marker-multiple,.post-type-vp_lists [class*="CodeMirror-lint-marker"]{background-image:none}.post-type-vp_lists .CodeMirror-lint-marker-error,.post-type-vp_lists .CodeMirror-lint-marker-warning{cursor:help}.post-type-vp_lists .CodeMirror-lint-marker-multiple{position:absolute;top:0}.post-type-vp_lists [class*="CodeMirror-lint-marker"]::before{position:relative;top:-2px;font:400 18px/1 dashicons}.post-type-vp_lists [class*="CodeMirror-lint-message"]::before{position:absolute;left:16px;font:400 16px/1 dashicons}.post-type-vp_lists .CodeMirror-lint-message-error,.post-type-vp_lists .CodeMirror-lint-message-warning{padding:3px 12px 3px 28px;margin:5px 0 2px;-webkit-box-shadow:0 1px 1px 0 rgba(0,0,0,0.1);box-shadow:0 1px 1px 0 rgba(0,0,0,0.1)}.post-type-vp_lists .CodeMirror-lint-message-warning{background-color:#fff8e5;border-left:4px solid #ffb900}.post-type-vp_lists .CodeMirror-lint-message-warning::before,.post-type-vp_lists .CodeMirror-lint-marker-warning::before{content:"\f534";color:#f6a306}.post-type-vp_lists .CodeMirror-lint-message-error{background-color:#fbeaea;border-left:4px solid #dc3232}.post-type-vp_lists .CodeMirror-lint-message-error::before,.post-type-vp_lists .CodeMirror-lint-marker-error::before{content:"\f153";color:#dc3232}.post-type-vp_lists .CodeMirror-lint-tooltip{background:0 0;border:none;border-radius:0;direction:ltr}@media (max-width: 850px){.vp-steps__right,.vp-steps__step{float:none;width:100%}}.post-type-vp_lists #slugdiv,.post-type-vp_lists #postcustom{display:none}
assets/admin/js/gutenberg-block.min.js CHANGED
@@ -1,11 +1,11 @@
1
- !function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=61)}([function(e,t){var n=e.exports={version:"2.5.6"};"number"==typeof __e&&(__e=n)},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(10),o=n(36),i=n(19),a=Object.defineProperty;t.f=n(4)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){e.exports=!n(11)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(1),o=n(0),i=n(35),a=n(6),u=n(2),c=function e(t,n,c){var f,s,l,d=t&e.F,p=t&e.G,m=t&e.S,y=t&e.P,h=t&e.B,v=t&e.W,g=p?o:o[n]||(o[n]={}),b=g.prototype,w=p?r:m?r[n]:(r[n]||{}).prototype;p&&(c=n);for(f in c)(s=!d&&w&&void 0!==w[f])&&u(g,f)||(l=s?w[f]:c[f],g[f]=p&&"function"!=typeof w[f]?c[f]:h&&s?i(l,r):v&&w[f]==l?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(l):y&&"function"==typeof l?i(Function.call,l):l,y&&((g.virtual||(g.virtual={}))[f]=l,t&e.R&&b&&!b[f]&&a(b,f,l)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},function(e,t,n){var r=n(3),o=n(15);e.exports=n(4)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){var n="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.exports=function(e){return"object"===(void 0===e?"undefined":n(e))?null!==e:"function"==typeof e}},function(e,t,n){var r=n(82),o=n(16);e.exports=function(e){return r(o(e))}},function(e,t,n){var r=n(18)("wks"),o=n(14),i=n(1).Symbol,a="function"==typeof i;(e.exports=function(e){return r[e]||(r[e]=a&&i[e]||(a?i:o)("Symbol."+e))}).store=r},function(e,t,n){var r=n(7);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function o(e){if(s===setTimeout)return setTimeout(e,0);if((s===n||!s)&&setTimeout)return s=setTimeout,setTimeout(e,0);try{return s(e,0)}catch(t){try{return s.call(null,e,0)}catch(t){return s.call(this,e,0)}}}function i(e){if(l===clearTimeout)return clearTimeout(e);if((l===r||!l)&&clearTimeout)return l=clearTimeout,clearTimeout(e);try{return l(e)}catch(t){try{return l.call(null,e)}catch(t){return l.call(this,e)}}}function a(){y&&p&&(y=!1,p.length?m=p.concat(m):h=-1,m.length&&u())}function u(){if(!y){var e=o(a);y=!0;for(var t=m.length;t;){for(p=m,m=[];++h<t;)p&&p[h].run();h=-1,t=m.length}p=null,y=!1,i(e)}}function c(e,t){this.fun=e,this.array=t}function f(){}var s,l,d=e.exports={};!function(){try{s="function"==typeof setTimeout?setTimeout:n}catch(e){s=n}try{l="function"==typeof clearTimeout?clearTimeout:r}catch(e){l=r}}();var p,m=[],y=!1,h=-1;d.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];m.push(new c(e,t)),1!==m.length||y||o(u)},c.prototype.run=function(){this.fun.apply(null,this.array)},d.title="browser",d.browser=!0,d.env={},d.argv=[],d.version="",d.versions={},d.on=f,d.addListener=f,d.once=f,d.off=f,d.removeListener=f,d.removeAllListeners=f,d.emit=f,d.prependListener=f,d.prependOnceListener=f,d.listeners=function(e){return[]},d.binding=function(e){throw new Error("process.binding is not supported")},d.cwd=function(){return"/"},d.chdir=function(e){throw new Error("process.chdir is not supported")},d.umask=function(){return 0}},function(e,t){e.exports=!0},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(18)("keys"),o=n(14);e.exports=function(e){return r[e]||(r[e]=o(e))}},function(e,t,n){var r=n(0),o=n(1),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(13)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(e,t,n){var r=n(7);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t){e.exports={}},function(e,t,n){var r=n(10),o=n(81),i=n(24),a=n(17)("IE_PROTO"),u=function(){},c=function(){var e,t=n(37)("iframe"),r=i.length;for(t.style.display="none",n(86).appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write("<script>document.F=Object<\/script>"),e.close(),c=e.F;r--;)delete c.prototype[i[r]];return c()};e.exports=Object.create||function(e,t){var n;return null!==e?(u.prototype=r(e),n=new u,u.prototype=null,n[a]=e):n=c(),void 0===t?n:o(n,t)}},function(e,t,n){var r=n(41),o=n(24);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var r=n(3).f,o=n(2),i=n(9)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},function(e,t,n){t.f=n(9)},function(e,t,n){var r=n(1),o=n(0),i=n(13),a=n(26),u=n(3).f;e.exports=function(e){var t=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||u(t,e,{value:a.f(e)})}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){"use strict";function r(e){return function(){return e}}var o=function(){};o.thatReturns=r,o.thatReturnsFalse=r(!1),o.thatReturnsTrue=r(!0),o.thatReturnsNull=r(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(e){return e},e.exports=o},function(e,t,n){"use strict";(function(t){function n(e,t,n,o,i,a,u,c){if(r(t),!e){var f;if(void 0===t)f=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[n,o,i,a,u,c],l=0;f=new Error(t.replace(/%s/g,function(){return s[l++]})),f.name="Invariant Violation"}throw f.framesToPop=1,f}}var r=function(e){};"production"!==t.env.NODE_ENV&&(r=function(e){if(void 0===e)throw new Error("invariant requires an error message argument")}),e.exports=n}).call(t,n(12))},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t){(function(t){e.exports=t}).call(t,{})},function(e,t,n){var r=n(16);e.exports=function(e){return Object(r(e))}},function(e,t,n){var r=n(2),o=n(33),i=n(17)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=o(e),r(e,i)?e[i]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,n){var r=n(69);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){e.exports=!n(4)&&!n(11)(function(){return 7!=Object.defineProperty(n(37)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(7),o=n(1).document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var o="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.__esModule=!0;var i=n(76),a=r(i),u=n(91),c=r(u),f="function"==typeof c.default&&"symbol"===o(a.default)?function(e){return void 0===e?"undefined":o(e)}:function(e){return e&&"function"==typeof c.default&&e.constructor===c.default&&e!==c.default.prototype?"symbol":void 0===e?"undefined":o(e)};t.default="function"==typeof c.default&&"symbol"===f(a.default)?function(e){return void 0===e?"undefined":f(e)}:function(e){return e&&"function"==typeof c.default&&e.constructor===c.default&&e!==c.default.prototype?"symbol":void 0===e?"undefined":f(e)}},function(e,t,n){"use strict";var r=n(13),o=n(5),i=n(40),a=n(6),u=n(21),c=n(80),f=n(25),s=n(34),l=n(9)("iterator"),d=!([].keys&&"next"in[].keys()),p=function(){return this};e.exports=function(e,t,n,m,y,h,v){c(n,t,m);var g,b,w,O=function(e){if(!d&&e in T)return T[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},S=t+" Iterator",E="values"==y,x=!1,T=e.prototype,k=T[l]||T["@@iterator"]||y&&T[y],_=k||O(y),M=y?E?O("entries"):_:void 0,j="Array"==t?T.entries||k:k;if(j&&(w=s(j.call(new e)))!==Object.prototype&&w.next&&(f(w,S,!0),r||"function"==typeof w[l]||a(w,l,p)),E&&k&&"values"!==k.name&&(x=!0,_=function(){return k.call(this)}),r&&!v||!d&&!x&&T[l]||a(T,l,_),u[t]=_,u[S]=p,y)if(g={values:E?_:O("values"),keys:h?_:O("keys"),entries:M},v)for(b in g)b in T||i(T,b,g[b]);else o(o.P+o.F*(d||x),t,g);return g}},function(e,t,n){e.exports=n(6)},function(e,t,n){var r=n(2),o=n(8),i=n(83)(!1),a=n(17)("IE_PROTO");e.exports=function(e,t){var n,u=o(e),c=0,f=[];for(n in u)n!=a&&r(u,n)&&f.push(n);for(;t.length>c;)r(u,n=t[c++])&&(~i(f,n)||f.push(n));return f}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(41),o=n(24).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},function(e,t,n){var r=n(28),o=n(15),i=n(8),a=n(19),u=n(2),c=n(36),f=Object.getOwnPropertyDescriptor;t.f=n(4)?f:function(e,t){if(e=i(e),t=a(t,!0),c)try{return f(e,t)}catch(e){}if(u(e,t))return o(!r.f.call(e,t),e[t])}},function(e,t,n){"use strict";(function(t){var r=n(29),o=r;if("production"!==t.env.NODE_ENV){var i=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=0,i="Warning: "+e.replace(/%s/g,function(){return n[o++]});"undefined"!=typeof console&&console.error(i);try{throw new Error(i)}catch(e){}};o=function(e,t){if(void 0===t)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(0!==t.indexOf("Failed Composite propType: ")&&!e){for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];i.apply(void 0,[t].concat(r))}}}e.exports=o}).call(t,n(12))},,,,,,,,,,,,,,,function(e,t,n){e.exports=n(62)},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var a=n(63),u=n.n(a),c=n(64),f=n.n(c),s=n(120),l=n.n(s),d=n(121),p=n.n(d),m=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),y=window.VPAdminGutenbergVariables,h=wp.i18n.__,v=wp.element,g=v.Component,b=v.Fragment,w=v.RawHTML,O=wp.blocks.registerBlockType,S=wp.components,E=S.Placeholder,x=S.Spinner,T=S.SelectControl,k=S.withAPIData,_=function(e){function t(){return r(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),m(t,[{key:"shouldComponentUpdate",value:function(e){return this.props.attributes.id!==e.attributes.id||this.props.portfolioLayouts!==e.portfolioLayouts||this.props.className!==e.className}},{key:"render",value:function(){var e=this.props,t=e.portfolioLayouts,n=e.attributes,r=e.setAttributes,o=this.props.className,i=n.id,a=n.ghostkitClassname,c=!1,s=!1;a&&(o=u()(o,a)),t&&t.data&&t.data.success?(c=[{label:h("--- Select layout ---"),value:""}],Object.keys(t.data.response).map(function(e){var n=t.data.response[e];c.push({label:"#"+n.id+" - "+n.title,value:n.id}),i&&parseInt(i,10)===n.id&&(s=n.edit_url)})):i&&(c=[{label:"#"+i,value:i}]);var l=y.preview_url+(y.preview_url.split("?")[1]?"&":"?")+"vp_preview_frame=true&vp_preview_frame_id="+i;return wp.element.createElement("div",{className:o},wp.element.createElement(E,{className:"visual-portfolio-gutenberg-placeholder",icon:wp.element.createElement("img",{className:"visual-portfolio-gutenberg-icon",src:p.a,alt:"visual-portfolio-icon"}),label:h("Visual Portfolio")},!Array.isArray(c)&&wp.element.createElement(x,null),Array.isArray(c)&&c.length&&wp.element.createElement(b,null,s&&wp.element.createElement("a",{href:s,target:"_blank"},h("Edit Layout")),wp.element.createElement(T,{value:i,onChange:function(e){return r({id:e})},options:c})),Array.isArray(c)&&!c.length&&h("No portfolio layouts found.")),i?wp.element.createElement("div",{className:"visual-portfolio-gutenberg-preview"},wp.element.createElement(f.a,{src:l,iframeResizerOptions:{resizedCallback:function(e){e.iframe&&jQuery(e.iframe).css("margin-bottom",-jQuery(e.iframe).height()/2)}}})):"")}}]),t}(g);O("nk/visual-portfolio",{title:"Visual Portfolio",icon:wp.element.createElement("img",{className:"dashicon visual-portfolio-gutenberg-icon",src:l.a,alt:"visual-portfolio-icon"}),category:"common",keywords:["visual portfolio","vp","portfolio"],supports:{anchor:!0,className:!0,html:!1,align:["wide","full"],ghostkitIndents:!0,ghostkitDisplay:!0},attributes:{id:{type:"string"}},edit:k(function(){return{portfolioLayouts:"/visual-portfolio/v1/get_layouts/"}})(_),save:function(e){var t=e.attributes,n=e.className,r=t.id,o="[visual_portfolio";return r&&(o+=' id="'+r+'"'),n&&(o+=' class="'+n+'"'),o+="]",wp.element.createElement(w,null,o)}})},function(e,t,n){var r,o,i="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};/*!
2
  Copyright (c) 2016 Jed Watson.
3
  Licensed under the MIT License (MIT), see
4
  http://jedwatson.github.io/classnames
5
  */
6
- !function(){"use strict";var a=function(){function e(){}function t(e,t){for(var n=t.length,r=0;r<n;++r)a(e,t[r])}function n(e,t){e[t]=!0}function r(e,t){for(var n in t)c.call(t,n)&&(e[n]=!!t[n])}function o(e,t){for(var n=t.split(f),r=n.length,o=0;o<r;++o)e[n[o]]=!0}function a(e,a){if(a){var u=void 0===a?"undefined":i(a);"string"===u?o(e,a):Array.isArray(a)?t(e,a):"object"===u?r(e,a):"number"===u&&n(e,a)}}function u(){for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];var i=new e;t(i,r);var a=[];for(var u in i)i[u]&&a.push(u);return a.join(" ")}e.prototype=Object.create(null);var c={}.hasOwnProperty,f=/\s+/;return u}();void 0!==e&&e.exports?e.exports=a:"object"===i(n(32))&&n(32)?(r=[],void 0!==(o=function(){return a}.apply(t,r))&&(e.exports=o)):window.classNames=a}()},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(65),i=r(o),a=n(70),u=r(a),c=n(71),f=r(c),s=n(75),l=r(s),d=n(101),p=r(d),m=n(109),y=r(m),h=n(110),v=r(h),g=n(115),b=r(g),w=n(116),O=function(e){function t(){var e,n,r,o;(0,u.default)(this,t);for(var a=arguments.length,c=Array(a),f=0;f<a;f++)c[f]=arguments[f];return n=r=(0,l.default)(this,(e=t.__proto__||(0,i.default)(t)).call.apply(e,[this].concat(c))),r.updateIframe=function(e){if(!e.src){var t=e.content||e.children;if(t){var n=r.refs.frame;if(n){var o=n.contentDocument;o&&("string"==typeof t?(o.open(),o.write(t),o.close()):(o.open(),o.write('<div id="iframe-root"></div>'),o.close(),b.default.render(t,o.getElementById("iframe-root"))))}}}},r.injectIframeResizerUrl=function(){if(r.props.iframeResizerUrl){var e=r.refs.frame;if(e){var t=e.contentDocument;if(t){var n=null;if(["head","HEAD","body","BODY","div","DIV"].forEach(function(e){if(!n){var r=t.getElementsByTagName(e);r&&r.length&&(n=r[0])}}),!n)return void console.error("Unable to inject iframe resizer script");var o=document.createElement("script");o.type="text/javascript",o.src=r.props.iframeResizerUrl,n.appendChild(o)}}}},r.onLoad=function(){r.injectIframeResizerUrl()},r.resizeIframe=function(e){var t=r.refs.frame;t&&e.iframeResizerEnable&&(0,w.iframeResizer)(e.iframeResizerOptions,t)},o=n,(0,l.default)(r,o)}return(0,p.default)(t,e),(0,f.default)(t,[{key:"componentDidMount",value:function(){this.updateIframe(this.props),this.resizeIframe(this.props)}},{key:"componentWillReceiveProps",value:function(e){this.updateIframe(e),this.resizeIframe(e)}},{key:"render",value:function(){var e=this.props,t=e.src,n=e.id,r=e.frameBorder,o=e.className,i=e.style;return y.default.createElement("iframe",{ref:"frame",src:t,id:n,frameBorder:r,className:o,style:i,onLoad:this.onLoad})}}]),t}(y.default.Component);O.propTypes={content:v.default.oneOfType([v.default.string,v.default.element]),src:v.default.string,iframeResizerEnable:v.default.bool,iframeResizerOptions:v.default.object,iframeResizerUrl:v.default.oneOfType([v.default.string,v.default.bool]),id:v.default.string,frameBorder:v.default.number,className:v.default.string,style:v.default.object},O.defaultProps={iframeResizerEnable:!0,iframeResizerOptions:{},iframeResizerUrl:"https://cdnjs.cloudflare.com/ajax/libs/iframe-resizer/3.5.8/iframeResizer.contentWindow.min.js",frameBorder:0,style:{width:"100%",minHeight:20}},t.default=O},function(e,t,n){e.exports={default:n(66),__esModule:!0}},function(e,t,n){n(67),e.exports=n(0).Object.getPrototypeOf},function(e,t,n){var r=n(33),o=n(34);n(68)("getPrototypeOf",function(){return function(e){return o(r(e))}})},function(e,t,n){var r=n(5),o=n(0),i=n(11);e.exports=function(e,t){var n=(o.Object||{})[e]||Object[e],a={};a[e]=t(n),r(r.S+r.F*i(function(){n(1)}),"Object",a)}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,n){"use strict";t.__esModule=!0;var r=n(72),o=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,o.default)(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()},function(e,t,n){e.exports={default:n(73),__esModule:!0}},function(e,t,n){n(74);var r=n(0).Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},function(e,t,n){var r=n(5);r(r.S+r.F*!n(4),"Object",{defineProperty:n(3).f})},function(e,t,n){"use strict";t.__esModule=!0;var r=n(38),o=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==(void 0===t?"undefined":(0,o.default)(t))&&"function"!=typeof t?e:t}},function(e,t,n){e.exports={default:n(77),__esModule:!0}},function(e,t,n){n(78),n(87),e.exports=n(26).f("iterator")},function(e,t,n){"use strict";var r=n(79)(!0);n(39)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t,n){var r=n(20),o=n(16);e.exports=function(e){return function(t,n){var i,a,u=String(o(t)),c=r(n),f=u.length;return c<0||c>=f?e?"":void 0:(i=u.charCodeAt(c),i<55296||i>56319||c+1===f||(a=u.charCodeAt(c+1))<56320||a>57343?e?u.charAt(c):i:e?u.slice(c,c+2):a-56320+(i-55296<<10)+65536)}}},function(e,t,n){"use strict";var r=n(22),o=n(15),i=n(25),a={};n(6)(a,n(9)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(a,{next:o(1,n)}),i(e,t+" Iterator")}},function(e,t,n){var r=n(3),o=n(10),i=n(23);e.exports=n(4)?Object.defineProperties:function(e,t){o(e);for(var n,a=i(t),u=a.length,c=0;u>c;)r.f(e,n=a[c++],t[n]);return e}},function(e,t,n){var r=n(42);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){var r=n(8),o=n(84),i=n(85);e.exports=function(e){return function(t,n,a){var u,c=r(t),f=o(c.length),s=i(a,f);if(e&&n!=n){for(;f>s;)if((u=c[s++])!=u)return!0}else for(;f>s;s++)if((e||s in c)&&c[s]===n)return e||s||0;return!e&&-1}}},function(e,t,n){var r=n(20),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){var r=n(20),o=Math.max,i=Math.min;e.exports=function(e,t){return e=r(e),e<0?o(e+t,0):i(e,t)}},function(e,t,n){var r=n(1).document;e.exports=r&&r.documentElement},function(e,t,n){n(88);for(var r=n(1),o=n(6),i=n(21),a=n(9)("toStringTag"),u="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),c=0;c<u.length;c++){var f=u[c],s=r[f],l=s&&s.prototype;l&&!l[a]&&o(l,a,f),i[f]=i.Array}},function(e,t,n){"use strict";var r=n(89),o=n(90),i=n(21),a=n(8);e.exports=n(39)(Array,"Array",function(e,t){this._t=a(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,o(1)):"keys"==t?o(0,n):"values"==t?o(0,e[n]):o(0,[n,e[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){e.exports={default:n(92),__esModule:!0}},function(e,t,n){n(93),n(98),n(99),n(100),e.exports=n(0).Symbol},function(e,t,n){"use strict";var r="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},o=n(1),i=n(2),a=n(4),u=n(5),c=n(40),f=n(94).KEY,s=n(11),l=n(18),d=n(25),p=n(14),m=n(9),y=n(26),h=n(27),v=n(95),g=n(96),b=n(10),w=n(7),O=n(8),S=n(19),E=n(15),x=n(22),T=n(97),k=n(45),_=n(3),M=n(23),j=k.f,I=_.f,N=T.f,P=o.Symbol,C=o.JSON,R=C&&C.stringify,z=m("_hidden"),A=m("toPrimitive"),F={}.propertyIsEnumerable,L=l("symbol-registry"),D=l("symbols"),H=l("op-symbols"),W=Object.prototype,V="function"==typeof P,B=o.QObject,q=!B||!B.prototype||!B.prototype.findChild,U=a&&s(function(){return 7!=x(I({},"a",{get:function(){return I(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=j(W,t);r&&delete W[t],I(e,t,n),r&&e!==W&&I(W,t,r)}:I,J=function(e){var t=D[e]=x(P.prototype);return t._k=e,t},Y=V&&"symbol"==r(P.iterator)?function(e){return"symbol"==(void 0===e?"undefined":r(e))}:function(e){return e instanceof P},G=function(e,t,n){return e===W&&G(H,t,n),b(e),t=S(t,!0),b(n),i(D,t)?(n.enumerable?(i(e,z)&&e[z][t]&&(e[z][t]=!1),n=x(n,{enumerable:E(0,!1)})):(i(e,z)||I(e,z,E(1,{})),e[z][t]=!0),U(e,t,n)):I(e,t,n)},K=function(e,t){b(e);for(var n,r=v(t=O(t)),o=0,i=r.length;i>o;)G(e,n=r[o++],t[n]);return e},Q=function(e,t){return void 0===t?x(e):K(x(e),t)},X=function(e){var t=F.call(this,e=S(e,!0));return!(this===W&&i(D,e)&&!i(H,e))&&(!(t||!i(this,e)||!i(D,e)||i(this,z)&&this[z][e])||t)},$=function(e,t){if(e=O(e),t=S(t,!0),e!==W||!i(D,t)||i(H,t)){var n=j(e,t);return!n||!i(D,t)||i(e,z)&&e[z][t]||(n.enumerable=!0),n}},Z=function(e){for(var t,n=N(O(e)),r=[],o=0;n.length>o;)i(D,t=n[o++])||t==z||t==f||r.push(t);return r},ee=function(e){for(var t,n=e===W,r=N(n?H:O(e)),o=[],a=0;r.length>a;)!i(D,t=r[a++])||n&&!i(W,t)||o.push(D[t]);return o};V||(P=function(){if(this instanceof P)throw TypeError("Symbol is not a constructor!");var e=p(arguments.length>0?arguments[0]:void 0),t=function t(n){this===W&&t.call(H,n),i(this,z)&&i(this[z],e)&&(this[z][e]=!1),U(this,e,E(1,n))};return a&&q&&U(W,e,{configurable:!0,set:t}),J(e)},c(P.prototype,"toString",function(){return this._k}),k.f=$,_.f=G,n(44).f=T.f=Z,n(28).f=X,n(43).f=ee,a&&!n(13)&&c(W,"propertyIsEnumerable",X,!0),y.f=function(e){return J(m(e))}),u(u.G+u.W+u.F*!V,{Symbol:P});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ne=0;te.length>ne;)m(te[ne++]);for(var re=M(m.store),oe=0;re.length>oe;)h(re[oe++]);u(u.S+u.F*!V,"Symbol",{for:function(e){return i(L,e+="")?L[e]:L[e]=P(e)},keyFor:function(e){if(!Y(e))throw TypeError(e+" is not a symbol!");for(var t in L)if(L[t]===e)return t},useSetter:function(){q=!0},useSimple:function(){q=!1}}),u(u.S+u.F*!V,"Object",{create:Q,defineProperty:G,defineProperties:K,getOwnPropertyDescriptor:$,getOwnPropertyNames:Z,getOwnPropertySymbols:ee}),C&&u(u.S+u.F*(!V||s(function(){var e=P();return"[null]"!=R([e])||"{}"!=R({a:e})||"{}"!=R(Object(e))})),"JSON",{stringify:function(e){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=t=r[1],(w(t)||void 0!==e)&&!Y(e))return g(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!Y(t))return t}),r[1]=t,R.apply(C,r)}}),P.prototype[A]||n(6)(P.prototype,A,P.prototype.valueOf),d(P,"Symbol"),d(Math,"Math",!0),d(o.JSON,"JSON",!0)},function(e,t,n){var r="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},o=n(14)("meta"),i=n(7),a=n(2),u=n(3).f,c=0,f=Object.isExtensible||function(){return!0},s=!n(11)(function(){return f(Object.preventExtensions({}))}),l=function(e){u(e,o,{value:{i:"O"+ ++c,w:{}}})},d=function(e,t){if(!i(e))return"symbol"==(void 0===e?"undefined":r(e))?e:("string"==typeof e?"S":"P")+e;if(!a(e,o)){if(!f(e))return"F";if(!t)return"E";l(e)}return e[o].i},p=function(e,t){if(!a(e,o)){if(!f(e))return!0;if(!t)return!1;l(e)}return e[o].w},m=function(e){return s&&y.NEED&&f(e)&&!a(e,o)&&l(e),e},y=e.exports={KEY:o,NEED:!1,fastKey:d,getWeak:p,onFreeze:m}},function(e,t,n){var r=n(23),o=n(43),i=n(28);e.exports=function(e){var t=r(e),n=o.f;if(n)for(var a,u=n(e),c=i.f,f=0;u.length>f;)c.call(e,a=u[f++])&&t.push(a);return t}},function(e,t,n){var r=n(42);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r="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},o=n(8),i=n(44).f,a={}.toString,u="object"==("undefined"==typeof window?"undefined":r(window))&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],c=function(e){try{return i(e)}catch(e){return u.slice()}};e.exports.f=function(e){return u&&"[object Window]"==a.call(e)?c(e):i(o(e))}},function(e,t){},function(e,t,n){n(27)("asyncIterator")},function(e,t,n){n(27)("observable")},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(102),i=r(o),a=n(106),u=r(a),c=n(38),f=r(c);t.default=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":(0,f.default)(t)));e.prototype=(0,u.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(i.default?(0,i.default)(e,t):e.__proto__=t)}},function(e,t,n){e.exports={default:n(103),__esModule:!0}},function(e,t,n){n(104),e.exports=n(0).Object.setPrototypeOf},function(e,t,n){var r=n(5);r(r.S,"Object",{setPrototypeOf:n(105).set})},function(e,t,n){var r=n(7),o=n(10),i=function(e,t){if(o(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{r=n(35)(Function.call,n(45).f(Object.prototype,"__proto__").set,2),r(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return i(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:i}},function(e,t,n){e.exports={default:n(107),__esModule:!0}},function(e,t,n){n(108);var r=n(0).Object;e.exports=function(e,t){return r.create(e,t)}},function(e,t,n){var r=n(5);r(r.S,"Object",{create:n(22)})},function(e,t){e.exports=React},function(e,t,n){(function(t){var r="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};if("production"!==t.env.NODE_ENV){var o="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,i=function(e){return"object"===(void 0===e?"undefined":r(e))&&null!==e&&e.$$typeof===o};e.exports=n(111)(i,!0)}else e.exports=n(114)()}).call(t,n(12))},function(e,t,n){"use strict";(function(t){var r="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},o=n(29),i=n(30),a=n(46),u=n(112),c=n(31),f=n(113);e.exports=function(e,n){function s(e){var t=e&&(M&&e[M]||e[j]);if("function"==typeof t)return t}function l(e,t){return e===t?0!==e||1/e==1/t:e!==e&&t!==t}function d(e){this.message=e,this.stack=""}function p(e){function r(r,f,s,l,p,m,y){if(l=l||I,m=m||s,y!==c)if(n)i(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");else if("production"!==t.env.NODE_ENV&&"undefined"!=typeof console){var h=l+":"+s;!o[h]&&u<3&&(a(!1,"You are manually calling a React.PropTypes validation function for the `%s` prop on `%s`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.",m,l),o[h]=!0,u++)}return null==f[s]?r?new d(null===f[s]?"The "+p+" `"+m+"` is marked as required in `"+l+"`, but its value is `null`.":"The "+p+" `"+m+"` is marked as required in `"+l+"`, but its value is `undefined`."):null:e(f,s,l,p,m)}if("production"!==t.env.NODE_ENV)var o={},u=0;var f=r.bind(null,!1);return f.isRequired=r.bind(null,!0),f}function m(e){function t(t,n,r,o,i,a){var u=t[n];if(x(u)!==e)return new d("Invalid "+o+" `"+i+"` of type `"+T(u)+"` supplied to `"+r+"`, expected `"+e+"`.");return null}return p(t)}function y(e){function t(t,n,r,o,i){if("function"!=typeof e)return new d("Property `"+i+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var a=t[n];if(!Array.isArray(a)){return new d("Invalid "+o+" `"+i+"` of type `"+x(a)+"` supplied to `"+r+"`, expected an array.")}for(var u=0;u<a.length;u++){var f=e(a,u,r,o,i+"["+u+"]",c);if(f instanceof Error)return f}return null}return p(t)}function h(e){function t(t,n,r,o,i){if(!(t[n]instanceof e)){var a=e.name||I;return new d("Invalid "+o+" `"+i+"` of type `"+_(t[n])+"` supplied to `"+r+"`, expected instance of `"+a+"`.")}return null}return p(t)}function v(e){function n(t,n,r,o,i){for(var a=t[n],u=0;u<e.length;u++)if(l(a,e[u]))return null;return new d("Invalid "+o+" `"+i+"` of value `"+a+"` supplied to `"+r+"`, expected one of "+JSON.stringify(e)+".")}return Array.isArray(e)?p(n):("production"!==t.env.NODE_ENV&&a(!1,"Invalid argument supplied to oneOf, expected an instance of array."),o.thatReturnsNull)}function g(e){function t(t,n,r,o,i){if("function"!=typeof e)return new d("Property `"+i+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var a=t[n],u=x(a);if("object"!==u)return new d("Invalid "+o+" `"+i+"` of type `"+u+"` supplied to `"+r+"`, expected an object.");for(var f in a)if(a.hasOwnProperty(f)){var s=e(a,f,r,o,i+"."+f,c);if(s instanceof Error)return s}return null}return p(t)}function b(e){function n(t,n,r,o,i){for(var a=0;a<e.length;a++){if(null==(0,e[a])(t,n,r,o,i,c))return null}return new d("Invalid "+o+" `"+i+"` supplied to `"+r+"`.")}if(!Array.isArray(e))return"production"!==t.env.NODE_ENV&&a(!1,"Invalid argument supplied to oneOfType, expected an instance of array."),o.thatReturnsNull;for(var r=0;r<e.length;r++){var i=e[r];if("function"!=typeof i)return a(!1,"Invalid argument supplied to oneOfType. Expected an array of check functions, but received %s at index %s.",k(i),r),o.thatReturnsNull}return p(n)}function w(e){function t(t,n,r,o,i){var a=t[n],u=x(a);if("object"!==u)return new d("Invalid "+o+" `"+i+"` of type `"+u+"` supplied to `"+r+"`, expected `object`.");for(var f in e){var s=e[f];if(s){var l=s(a,f,r,o,i+"."+f,c);if(l)return l}}return null}return p(t)}function O(e){function t(t,n,r,o,i){var a=t[n],f=x(a);if("object"!==f)return new d("Invalid "+o+" `"+i+"` of type `"+f+"` supplied to `"+r+"`, expected `object`.");var s=u({},t[n],e);for(var l in s){var p=e[l];if(!p)return new d("Invalid "+o+" `"+i+"` key `"+l+"` supplied to `"+r+"`.\nBad object: "+JSON.stringify(t[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var m=p(a,l,r,o,i+"."+l,c);if(m)return m}return null}return p(t)}function S(t){switch(void 0===t?"undefined":r(t)){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(S);if(null===t||e(t))return!0;var n=s(t);if(!n)return!1;var o,i=n.call(t);if(n!==t.entries){for(;!(o=i.next()).done;)if(!S(o.value))return!1}else for(;!(o=i.next()).done;){var a=o.value;if(a&&!S(a[1]))return!1}return!0;default:return!1}}function E(e,t){return"symbol"===e||("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}function x(e){var t=void 0===e?"undefined":r(e);return Array.isArray(e)?"array":e instanceof RegExp?"object":E(t,e)?"symbol":t}function T(e){if(void 0===e||null===e)return""+e;var t=x(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function k(e){var t=T(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}function _(e){return e.constructor&&e.constructor.name?e.constructor.name:I}var M="function"==typeof Symbol&&Symbol.iterator,j="@@iterator",I="<<anonymous>>",N={array:m("array"),bool:m("boolean"),func:m("function"),number:m("number"),object:m("object"),string:m("string"),symbol:m("symbol"),any:function(){return p(o.thatReturnsNull)}(),arrayOf:y,element:function(){function t(t,n,r,o,i){var a=t[n];if(!e(a)){return new d("Invalid "+o+" `"+i+"` of type `"+x(a)+"` supplied to `"+r+"`, expected a single ReactElement.")}return null}return p(t)}(),instanceOf:h,node:function(){function e(e,t,n,r,o){return S(e[t])?null:new d("Invalid "+r+" `"+o+"` supplied to `"+n+"`, expected a ReactNode.")}return p(e)}(),objectOf:g,oneOf:v,oneOfType:b,shape:w,exact:O};return d.prototype=Error.prototype,N.checkPropTypes=f,N.PropTypes=N,N}}).call(t,n(12))},function(e,t,n){"use strict";function r(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}/*
7
  object-assign
8
  (c) Sindre Sorhus
9
  @license MIT
10
  */
11
- var o=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,u,c=r(e),f=1;f<arguments.length;f++){n=Object(arguments[f]);for(var s in n)i.call(n,s)&&(c[s]=n[s]);if(o){u=o(n);for(var l=0;l<u.length;l++)a.call(n,u[l])&&(c[u[l]]=n[u[l]])}}return c}},function(e,t,n){"use strict";(function(t){function r(e,n,r,f,s){if("production"!==t.env.NODE_ENV)for(var l in e)if(e.hasOwnProperty(l)){var d;try{i("function"==typeof e[l],"%s: %s type `%s` is invalid; it must be a function, usually from the `prop-types` package, but received `%s`.",f||"React class",r,l,o(e[l])),d=e[l](n,l,f,r,null,u)}catch(e){d=e}if(a(!d||d instanceof Error,"%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",f||"React class",r,l,void 0===d?"undefined":o(d)),d instanceof Error&&!(d.message in c)){c[d.message]=!0;var p=s?s():"";a(!1,"Failed %s type: %s%s",r,d.message,null!=p?p:"")}}}var o="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};if("production"!==t.env.NODE_ENV)var i=n(30),a=n(46),u=n(31),c={};e.exports=r}).call(t,n(12))},function(e,t,n){"use strict";var r=n(29),o=n(30),i=n(31);e.exports=function(){function e(e,t,n,r,a,u){u!==i&&o(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=r,n.PropTypes=n,n}},function(e,t){e.exports=ReactDOM},function(e,t,n){"use strict";e.exports=n(117)},function(e,t,n){t.iframeResizer=n(118),t.iframeResizerContentWindow=n(119)},function(e,t,n){var r,o,i,a="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};!function(n){"use strict";function u(e,t,n){"addEventListener"in window?e.addEventListener(t,n,!1):"attachEvent"in window&&e.attachEvent("on"+t,n)}function c(e,t,n){"removeEventListener"in window?e.removeEventListener(t,n,!1):"detachEvent"in window&&e.detachEvent("on"+t,n)}function f(){var e,t=["moz","webkit","o","ms"];for(e=0;e<t.length&&!q;e+=1)q=window[t[e]+"RequestAnimationFrame"];q||p("setup","RequestAnimationFrame not supported")}function s(e){var t="Host page: "+e;return window.top!==window.self&&(t=window.parentIFrame&&window.parentIFrame.getId?window.parentIFrame.getId()+": "+e:"Nested host page: "+e),t}function l(e){return W+"["+s(e)+"]"}function d(e){return J[e]?J[e].log:L}function p(e,t){h("log",e,t,d(e))}function m(e,t){h("info",e,t,d(e))}function y(e,t){h("warn",e,t,!0)}function h(e,t,n,r){!0===r&&"object"===a(window.console)&&console[e](l(t),n)}function v(e){function t(){function e(){x(P),O(C),M("resizedCallback",P)}n("Height"),n("Width"),T(e,P,"init")}function n(e){var t=Number(J[C]["max"+e]),n=Number(J[C]["min"+e]),r=e.toLowerCase(),o=Number(P[r]);p(C,"Checking "+r+" is in range "+n+"-"+t),o<n&&(o=n,p(C,"Set "+r+" to min value")),o>t&&(o=t,p(C,"Set "+r+" to max value")),P[r]=""+o}function r(e){return N.substr(N.indexOf(":")+H+e)}function o(e){p(C,"MessageCallback passed: {iframe: "+P.iframe.id+", message: "+e+"}"),M("messageCallback",{iframe:P.iframe,message:JSON.parse(e)}),p(C,"--")}function i(){var e=document.body.getBoundingClientRect(),t=P.iframe.getBoundingClientRect();return JSON.stringify({iframeHeight:t.height,iframeWidth:t.width,clientHeight:Math.max(document.documentElement.clientHeight,window.innerHeight||0),clientWidth:Math.max(document.documentElement.clientWidth,window.innerWidth||0),offsetTop:parseInt(t.top-e.top,10),offsetLeft:parseInt(t.left-e.left,10),scrollTop:window.pageYOffset,scrollLeft:window.pageXOffset})}function a(e,t){function n(){k("Send Page Info","pageInfo:"+i(),e,t)}I(n,32,t)}function f(){function e(e,r){function o(){J[n]?a(J[n].iframe,n):t()}["scroll","resize"].forEach(function(t){p(n,e+t+" listener for sendPageInfo"),r(window,t,o)})}function t(){e("Remove ",c)}var n=C;!function(){e("Add ",u)}(),J[n]&&(J[n].stopPageInfo=t)}function s(){J[C]&&J[C].stopPageInfo&&(J[C].stopPageInfo(),delete J[C].stopPageInfo)}function l(e){var t=e.getBoundingClientRect();return w(C),{x:Math.floor(Number(t.left)+Number(B.x)),y:Math.floor(Number(t.top)+Number(B.y))}}function d(e){var t=e?l(P.iframe):{x:0,y:0},n=function(){return{x:Number(P.width)+t.x,y:Number(P.height)+t.y}}();p(C,"Reposition requested from iFrame (offset x:"+t.x+" y:"+t.y+")"),window.top!==window.self?function(){window.parentIFrame?window.parentIFrame["scrollTo"+(e?"Offset":"")](n.x,n.y):y(C,"Unable to scroll to requested position, window.parentIFrame not found")}():function(){B=n,h(),p(C,"--")}()}function h(){!1!==M("scrollCallback",B)?O(C):S()}function v(e){var t=e.split("#")[1]||"",n=decodeURIComponent(t),r=document.getElementById(n)||document.getElementsByName(n)[0];r?function(){var e=l(r);p(C,"Moving to in page link (#"+t+") at x: "+e.x+" y: "+e.y),B={x:e.x,y:e.y},h(),p(C,"--")}():window.top!==window.self?function(){window.parentIFrame?window.parentIFrame.moveToAnchor(t):p(C,"In page link #"+t+" not found and window.parentIFrame not found")}():p(C,"In page link #"+t+" not found")}function M(e,t){return g(C,e,t)}function j(){J[C]&&(J[C].firstRun=!1)}var N=e.data,P={},C=null;"[iFrameResizerChild]Ready"===N?function(){for(var e in J)k("iFrame requested init",_(e),document.getElementById(e),e)}():function(){return W===(""+N).substr(0,V)&&N.substr(V).split(":")[0]in J}()?(P=function(){var e=N.substr(V).split(":");return{iframe:J[e[0]]&&J[e[0]].iframe,id:e[0],height:e[1],width:e[2],type:e[3]}}(),C=G=P.id,J[C]&&(J[C].loaded=!0),!function(){var e=P.type in{true:1,false:1,undefined:1};return e&&p(C,"Ignoring init message from meta parent page"),e}()&&function(e){var t=!0;return J[e]||(t=!1,y(P.type+" No settings for "+e+". Message was: "+N)),t}(C)&&(p(C,"Received: "+N),function(){var e=!0;return null===P.iframe&&(y(C,"IFrame ("+P.id+") not found"),e=!1),e}()&&function(){var t=e.origin,n=J[C]&&J[C].checkOrigin;if(n&&""+t!="null"&&!function(){return n.constructor===Array?function(){var e=0,r=!1;for(p(C,"Checking connection is from allowed list of origins: "+n);e<n.length;e++)if(n[e]===t){r=!0;break}return r}():function(){var e=J[C]&&J[C].remoteHost;return p(C,"Checking connection is from: "+e),t===e}()}())throw new Error("Unexpected message received from: "+t+" for "+P.iframe.id+". Message was: "+e.data+". This error can be disabled by setting the checkOrigin: false option or by providing of array of trusted domains.");return!0}()&&function(){switch(J[C]&&J[C].firstRun&&j(),P.type){case"close":J[C].closeRequestCallback?g(C,"closeRequestCallback",J[C].iframe):b(P.iframe);break;case"message":o(r(6));break;case"scrollTo":d(!1);break;case"scrollToOffset":d(!0);break;case"pageInfo":a(J[C]&&J[C].iframe,C),f();break;case"pageInfoStop":s();break;case"inPageLink":v(r(9));break;case"reset":E(P);break;case"init":t(),M("initCallback",P.iframe);break;default:t()}}())):m(C,"Ignored: "+N)}function g(e,t,n){var r=null,o=null;if(J[e]){if("function"!=typeof(r=J[e][t]))throw new TypeError(t+" on iFrame["+e+"] is not a function");o=r(n)}return o}function b(e){var t=e.id;p(t,"Removing iFrame: "+t),e.parentNode&&e.parentNode.removeChild(e),g(t,"closedCallback",t),p(t,"--"),delete J[t]}function w(e){null===B&&(B={x:window.pageXOffset!==n?window.pageXOffset:document.documentElement.scrollLeft,y:window.pageYOffset!==n?window.pageYOffset:document.documentElement.scrollTop},p(e,"Get page position: "+B.x+","+B.y))}function O(e){null!==B&&(window.scrollTo(B.x,B.y),p(e,"Set page position: "+B.x+","+B.y),S())}function S(){B=null}function E(e){function t(){x(e),k("reset","reset",e.iframe,e.id)}p(e.id,"Size reset requested by "+("init"===e.type?"host page":"iFrame")),w(e.id),T(t,e,"reset")}function x(e){function t(t){e.iframe.style[t]=e[t]+"px",p(e.id,"IFrame ("+o+") "+t+" set to "+e[t]+"px")}function n(t){D||"0"!==e[t]||(D=!0,p(o,"Hidden iFrame detected, creating visibility listener"),N())}function r(e){t(e),n(e)}var o=e.iframe.id;J[o]&&(J[o].sizeHeight&&r("height"),J[o].sizeWidth&&r("width"))}function T(e,t,n){n!==t.type&&q?(p(t.id,"Requesting animation frame"),q(e)):e()}function k(e,t,n,r,o){function i(){var o=J[r]&&J[r].targetOrigin;p(r,"["+e+"] Sending msg to iframe["+r+"] ("+t+") targetOrigin: "+o),n.contentWindow.postMessage(W+t,o)}function a(){y(r,"["+e+"] IFrame("+r+") not found")}var u=!1;r=r||n.id,J[r]&&(function(){n&&"contentWindow"in n&&null!==n.contentWindow?i():a()}(),function(){function e(){!J[r]||J[r].loaded||u||(u=!0,y(r,"IFrame has not responded within "+J[r].warningTimeout/1e3+" seconds. Check iFrameResizer.contentWindow.js has been loaded in iFrame. This message can be ingored if everything is working, or you can set the warningTimeout option to a higher value or zero to suppress this warning."))}o&&J[r]&&J[r].warningTimeout&&(J[r].msgTimeout=setTimeout(e,J[r].warningTimeout))}())}function _(e){return e+":"+J[e].bodyMarginV1+":"+J[e].sizeWidth+":"+J[e].log+":"+J[e].interval+":"+J[e].enablePublicMethods+":"+J[e].autoResize+":"+J[e].bodyMargin+":"+J[e].heightCalculationMethod+":"+J[e].bodyBackground+":"+J[e].bodyPadding+":"+J[e].tolerance+":"+J[e].inPageLinks+":"+J[e].resizeFrom+":"+J[e].widthCalculationMethod}function M(e,t){function r(){var e=t&&t.id||K.id+F++;return null!==document.getElementById(e)&&(e+=F++),e}function o(){var t=J[s]&&J[s].firstRun,n=J[s]&&J[s].heightCalculationMethod in U;!t&&n&&E({iframe:e,height:0,width:0,type:"init"})}function i(e){if("object"!==(void 0===e?"undefined":a(e)))throw new TypeError("Options is not an object")}function c(e){for(var t in K)K.hasOwnProperty(t)&&(J[s][t]=e.hasOwnProperty(t)?e[t]:K[t])}function f(e){return""===e||"file://"===e?"*":e}var s=function(n){return G=n,""===n&&(e.id=n=r(),L=(t||{}).log,G=n,p(n,"Added missing iframe ID: "+n+" ("+e.src+")")),n}(e.id);!function(){return s in J&&"iFrameResizer"in e}()?(function(t){t=t||{},J[s]={firstRun:!0,iframe:e,remoteHost:e.src.split("/").slice(0,3).join("/")},i(t),c(t),J[s]&&(J[s].targetOrigin=!0===J[s].checkOrigin?f(J[s].remoteHost):"*")}(t),function(){switch(p(s,"IFrame scrolling "+(J[s]&&J[s].scrolling?"enabled":"disabled")+" for "+s),e.style.overflow=!1===(J[s]&&J[s].scrolling)?"hidden":"auto",J[s]&&J[s].scrolling){case!0:e.scrolling="yes";break;case!1:e.scrolling="no";break;default:e.scrolling=J[s]?J[s].scrolling:"no"}}(),function(){function t(t){1/0!==J[s][t]&&0!==J[s][t]&&(e.style[t]=J[s][t]+"px",p(s,"Set "+t+" = "+J[s][t]+"px"))}function n(e){if(J[s]["min"+e]>J[s]["max"+e])throw new Error("Value for min"+e+" can not be greater than max"+e)}n("Height"),n("Width"),t("maxHeight"),t("minHeight"),t("maxWidth"),t("minWidth")}(),function(){"number"!=typeof(J[s]&&J[s].bodyMargin)&&"0"!==(J[s]&&J[s].bodyMargin)||(J[s].bodyMarginV1=J[s].bodyMargin,J[s].bodyMargin=J[s].bodyMargin+"px")}(),function(t){function r(){k("iFrame.onload",t,e,n,!0),o()}u(e,"load",r),k("init",t,e,n,!0)}(_(s)),function(){Function.prototype.bind&&J[s]&&(J[s].iframe.iFrameResizer={close:b.bind(null,J[s].iframe),resize:k.bind(null,"Window resize","resize",J[s].iframe),moveToAnchor:function(e){k("Move to anchor","moveToAnchor:"+e,J[s].iframe,s)},sendMessage:function(e){e=JSON.stringify(e),k("Send Message","message:"+e,J[s].iframe,s)}})}()):y(s,"Ignored iFrame, already setup.")}function j(e,t){null===Y&&(Y=setTimeout(function(){Y=null,e()},t))}function I(e,t,n){Q[n]||(Q[n]=setTimeout(function(){Q[n]=null,e()},t))}function N(){function e(){for(var e in J)!function(e){function t(t){return"0px"===(J[e]&&J[e].iframe.style[t])}J[e]&&function(e){return null!==e.offsetParent}(J[e].iframe)&&(t("height")||t("width"))&&k("Visibility change","resize",J[e].iframe,e)}(e)}function t(t){p("window","Mutation observed: "+t[0].target+" "+t[0].type),j(e,16)}var n=window.MutationObserver||window.WebKitMutationObserver;n&&function(){var e=document.querySelector("body"),r={attributes:!0,attributeOldValue:!1,characterData:!0,characterDataOldValue:!1,childList:!0,subtree:!0};new n(t).observe(e,r)}()}function P(e){function t(){R("Window "+e,"resize")}p("window","Trigger event: "+e),j(t,16)}function C(){function e(){R("Tab Visable","resize")}"hidden"!==document.visibilityState&&(p("document","Trigger event: Visiblity change"),j(e,16))}function R(e,t){for(var n in J)(function(e){return J[e]&&"parent"===J[e].resizeFrom&&J[e].autoResize&&!J[e].firstRun})(n)&&k(e,t,document.getElementById(n),n)}function z(){u(window,"message",v),u(window,"resize",function(){P("resize")}),u(document,"visibilitychange",C),u(document,"-webkit-visibilitychange",C),u(window,"focusin",function(){P("focus")}),u(window,"focus",function(){P("focus")})}function A(){function e(e,t){t&&(!function(){if(!t.tagName)throw new TypeError("Object is not a valid DOM element");if("IFRAME"!==t.tagName.toUpperCase())throw new TypeError("Expected <IFRAME> tag, found <"+t.tagName+">")}(),M(t,e),r.push(t))}function t(e){e&&e.enablePublicMethods&&y("enablePublicMethods option has been removed, public methods are now always available in the iFrame")}var r;return f(),z(),function(o,i){switch(r=[],t(o),void 0===i?"undefined":a(i)){case"undefined":case"string":Array.prototype.forEach.call(document.querySelectorAll(i||"iframe"),e.bind(n,o));break;case"object":e(o,i);break;default:throw new TypeError("Unexpected data type ("+(void 0===i?"undefined":a(i))+")")}return r}}if("undefined"!=typeof window){var F=0,L=!1,D=!1,H="message".length,W="[iFrameSizer]",V=W.length,B=null,q=window.requestAnimationFrame,U={max:1,scroll:1,bodyScroll:1,documentElementScroll:1},J={},Y=null,G="Host Page",K={autoResize:!0,bodyBackground:null,bodyMargin:null,bodyMarginV1:8,bodyPadding:null,checkOrigin:!0,inPageLinks:!1,enablePublicMethods:!0,heightCalculationMethod:"bodyOffset",id:"iFrameResizer",interval:32,log:!1,maxHeight:1/0,maxWidth:1/0,minHeight:0,minWidth:0,resizeFrom:"parent",scrolling:!1,sizeHeight:!0,sizeWidth:!1,warningTimeout:5e3,tolerance:0,widthCalculationMethod:"scroll",closedCallback:function(){},initCallback:function(){},messageCallback:function(){y("MessageCallback function not defined")},resizedCallback:function(){},scrollCallback:function(){return!0}},Q={};window.jQuery&&function(e){e.fn?e.fn.iFrameResize||(e.fn.iFrameResize=function(e){function t(t,n){M(n,e)}return this.filter("iframe").each(t).end()}):m("","Unable to bind to jQuery, it is not fully loaded.")}(window.jQuery),o=[],r=A,(i="function"==typeof r?r.apply(t,o):r)!==n&&(e.exports=i)}}()},function(e,t){var n="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};!function(t){"use strict";function r(e,t,n){"addEventListener"in window?e.addEventListener(t,n,!1):"attachEvent"in window&&e.attachEvent("on"+t,n)}function o(e,t,n){"removeEventListener"in window?e.removeEventListener(t,n,!1):"detachEvent"in window&&e.detachEvent("on"+t,n)}function i(e){return e.charAt(0).toUpperCase()+e.slice(1)}function a(e){return de+"["+me+"] "+e}function u(e){le&&"object"===n(window.console)&&console.log(a(e))}function c(e){"object"===n(window.console)&&console.warn(a(e))}function f(){s(),u("Initialising iFrame ("+location.href+")"),l(),m(),p("background",G),p("padding",$),_(),b(),w(),y(),j(),O(),ce=M(),H("init","Init message from host page"),je()}function s(){function e(e){return"true"===e}var n=ue.substr(pe).split(":");me=n[0],K=t!==n[1]?Number(n[1]):K,Z=t!==n[2]?e(n[2]):Z,le=t!==n[3]?e(n[3]):le,fe=t!==n[4]?Number(n[4]):fe,J=t!==n[6]?e(n[6]):J,Q=n[7],ie=t!==n[8]?n[8]:ie,G=n[9],$=n[10],we=t!==n[11]?Number(n[11]):we,ce.enable=t!==n[12]&&e(n[12]),he=t!==n[13]?n[13]:he,ke=t!==n[14]?n[14]:ke}function l(){function e(e,t){return"function"==typeof e&&(u("Setup custom "+t+"CalcMethod"),Ne[t]=e,e="custom"),e}"iFrameResizer"in window&&Object===window.iFrameResizer.constructor&&(!function(){var e=window.iFrameResizer;u("Reading data from page: "+JSON.stringify(e)),Me="messageCallback"in e?e.messageCallback:Me,je="readyCallback"in e?e.readyCallback:je,be="targetOrigin"in e?e.targetOrigin:be,ie="heightCalculationMethod"in e?e.heightCalculationMethod:ie,ke="widthCalculationMethod"in e?e.widthCalculationMethod:ke}(),ie=e(ie,"height"),ke=e(ke,"width")),u("TargetOrigin for parent set to: "+be)}function d(e,t){return-1!==t.indexOf("-")&&(c("Negative CSS value ignored for "+e),t=""),t}function p(e,n){t!==n&&""!==n&&"null"!==n&&(document.body.style[e]=n,u("Body "+e+' set to "'+n+'"'))}function m(){t===Q&&(Q=K+"px"),p("margin",d("margin",Q))}function y(){document.documentElement.style.height="",document.body.style.height="",u('HTML & body height set to "auto"')}function h(e){var t={add:function(t){function n(){H(e.eventName,e.eventType)}Pe[t]=n,r(window,t,n)},remove:function(e){var t=Pe[e];delete Pe[e],o(window,e,t)}};e.eventNames&&Array.prototype.map?(e.eventName=e.eventNames[0],e.eventNames.map(t[e.method])):t[e.method](e.eventName),u(i(e.method)+" event listener: "+e.eventType)}function v(e){h({method:e,eventType:"Animation Start",eventNames:["animationstart","webkitAnimationStart"]}),h({method:e,eventType:"Animation Iteration",eventNames:["animationiteration","webkitAnimationIteration"]}),h({method:e,eventType:"Animation End",eventNames:["animationend","webkitAnimationEnd"]}),h({method:e,eventType:"Input",eventName:"input"}),h({method:e,eventType:"Mouse Up",eventName:"mouseup"}),h({method:e,eventType:"Mouse Down",eventName:"mousedown"}),h({method:e,eventType:"Orientation Change",eventName:"orientationchange"}),h({method:e,eventType:"Print",eventName:["afterprint","beforeprint"]}),h({method:e,eventType:"Ready State Change",eventName:"readystatechange"}),h({method:e,eventType:"Touch Start",eventName:"touchstart"}),h({method:e,eventType:"Touch End",eventName:"touchend"}),h({method:e,eventType:"Touch Cancel",eventName:"touchcancel"}),h({method:e,eventType:"Transition Start",eventNames:["transitionstart","webkitTransitionStart","MSTransitionStart","oTransitionStart","otransitionstart"]}),h({method:e,eventType:"Transition Iteration",eventNames:["transitioniteration","webkitTransitionIteration","MSTransitionIteration","oTransitionIteration","otransitioniteration"]}),h({method:e,eventType:"Transition End",eventNames:["transitionend","webkitTransitionEnd","MSTransitionEnd","oTransitionEnd","otransitionend"]}),"child"===he&&h({method:e,eventType:"IFrame Resized",eventName:"resize"})}function g(e,t,n,r){return t!==e&&(e in n||(c(e+" is not a valid option for "+r+"CalculationMethod."),e=t),u(r+' calculation method set to "'+e+'"')),e}function b(){ie=g(ie,oe,Re,"height")}function w(){ke=g(ke,Te,ze,"width")}function O(){!0===J?(v("add"),P()):u("Auto Resize disabled")}function S(){u("Disable outgoing messages"),ve=!1}function E(){u("Remove event listener: Message"),o(window,"message",U)}function x(){null!==X&&X.disconnect()}function T(){v("remove"),x(),clearInterval(se)}function k(){S(),E(),!0===J&&T()}function _(){var e=document.createElement("div");e.style.clear="both",e.style.display="block",document.body.appendChild(e)}function M(){function e(){return{x:window.pageXOffset!==t?window.pageXOffset:document.documentElement.scrollLeft,y:window.pageYOffset!==t?window.pageYOffset:document.documentElement.scrollTop}}function n(t){var n=t.getBoundingClientRect(),r=e();return{x:parseInt(n.left,10)+parseInt(r.x,10),y:parseInt(n.top,10)+parseInt(r.y,10)}}function o(e){var r=e.split("#")[1]||e,o=decodeURIComponent(r),i=document.getElementById(o)||document.getElementsByName(o)[0];t!==i?function(e){var t=n(e);u("Moving to in page link (#"+r+") at x: "+t.x+" y: "+t.y),q(t.y,t.x,"scrollToOffset")}(i):(u("In page link (#"+r+") not found in iFrame, so sending to parent"),q(0,0,"inPageLink","#"+r))}function i(){""!==location.hash&&"#"!==location.hash&&o(location.href)}function a(){function e(e){function t(e){e.preventDefault(),o(this.getAttribute("href"))}"#"!==e.getAttribute("href")&&r(e,"click",t)}Array.prototype.forEach.call(document.querySelectorAll('a[href^="#"]'),e)}function f(){r(window,"hashchange",i)}function s(){setTimeout(i,te)}return ce.enable?function(){Array.prototype.forEach&&document.querySelectorAll?(u("Setting up location.hash handlers"),a(),f(),s()):c("In page linking not fully supported in this browser! (See README.md for IE8 workaround)")}():u("In page linking not enabled"),{findTarget:o}}function j(){u("Enable public methods"),_e.parentIFrame={autoResize:function(e){return!0===e&&!1===J?(J=!0,O()):!1===e&&!0===J&&(J=!1,T()),J},close:function(){q(0,0,"close"),k()},getId:function(){return me},getPageInfo:function(e){"function"==typeof e?(Ie=e,q(0,0,"pageInfo")):(Ie=function(){},q(0,0,"pageInfoStop"))},moveToAnchor:function(e){ce.findTarget(e)},reset:function(){B("parentIFrame.reset")},scrollTo:function(e,t){q(t,e,"scrollTo")},scrollToOffset:function(e,t){q(t,e,"scrollToOffset")},sendMessage:function(e,t){q(0,0,"message",JSON.stringify(e),t)},setHeightCalculationMethod:function(e){ie=e,b()},setWidthCalculationMethod:function(e){ke=e,w()},setTargetOrigin:function(e){u("Set targetOrigin: "+e),be=e},size:function(e,t){H("size","parentIFrame.size("+(e||"")+(t?","+t:"")+")",e,t)}}}function I(){0!==fe&&(u("setInterval: "+fe+"ms"),se=setInterval(function(){H("interval","setInterval: "+fe)},Math.abs(fe)))}function N(){function e(e){function t(e){!1===e.complete&&(u("Attach listeners to "+e.src),e.addEventListener("load",i,!1),e.addEventListener("error",a,!1),f.push(e))}"attributes"===e.type&&"src"===e.attributeName?t(e.target):"childList"===e.type&&Array.prototype.forEach.call(e.target.querySelectorAll("img"),t)}function n(e){f.splice(f.indexOf(e),1)}function r(e){u("Remove listeners from "+e.src),e.removeEventListener("load",i,!1),e.removeEventListener("error",a,!1),n(e)}function o(e,n,o){r(e.target),H(n,o+": "+e.target.src,t,t)}function i(e){o(e,"imageLoad","Image loaded")}function a(e){o(e,"imageLoadFailed","Image load failed")}function c(t){H("mutationObserver","mutationObserver: "+t[0].target+" "+t[0].type),t.forEach(e)}var f=[],s=window.MutationObserver||window.WebKitMutationObserver,l=function(){var e=document.querySelector("body"),t={attributes:!0,attributeOldValue:!1,characterData:!0,characterDataOldValue:!1,childList:!0,subtree:!0};return l=new s(c),u("Create body MutationObserver"),l.observe(e,t),l}();return{disconnect:function(){"disconnect"in l&&(u("Disconnect body MutationObserver"),l.disconnect(),f.forEach(r))}}}function P(){var e=0>fe;window.MutationObserver||window.WebKitMutationObserver?e?I():X=N():(u("MutationObserver not supported in this browser!"),I())}function C(e,t){var n=0;return t=t||document.body,"defaultView"in document&&"getComputedStyle"in document.defaultView?(n=document.defaultView.getComputedStyle(t,null),n=null!==n?n[e]:0):n=function(e){if(/^\d+(px)?$/i.test(e))return parseInt(e,Y);var n=t.style.left,r=t.runtimeStyle.left;return t.runtimeStyle.left=t.currentStyle.left,t.style.left=e||0,e=t.style.pixelLeft,t.style.left=n,t.runtimeStyle.left=r,e}(t.currentStyle[e]),parseInt(n,Y)}function R(e){e>Ee/2&&(Ee=2*e,u("Event throttle increased to "+Ee+"ms"))}function z(e,t){for(var n=t.length,r=0,o=0,a=i(e),c=Ce(),f=0;f<n;f++)(r=t[f].getBoundingClientRect()[e]+C("margin"+a,t[f]))>o&&(o=r);return c=Ce()-c,u("Parsed "+n+" HTML elements"),u("Element position calculated in "+c+"ms"),R(c),o}function A(e){return[e.bodyOffset(),e.bodyScroll(),e.documentElementOffset(),e.documentElementScroll()]}function F(e,t){var n=document.querySelectorAll("["+t+"]");return 0===n.length&&function(){c("No tagged elements ("+t+") found on page"),document.querySelectorAll("body *")}(),z(e,n)}function L(){return document.querySelectorAll("body *")}function D(e,n,r,o){function i(){return!(e in{init:1,interval:1,size:1})}function a(){return ie in ye||Z&&ke in ye}function c(){u("No change in size detected")}var f,s;!function(){function e(e,t){return!(Math.abs(e-t)<=we)}return f=t!==r?r:Re[ie](),s=t!==o?o:ze[ke](),e(re,f)||Z&&e(xe,s)}()&&"init"!==e?function(){i()&&a()?B(n):e in{interval:1}||c()}():(W(),function(){re=f,xe=s,q(re,xe,e)}())}function H(e,t,n,r){!function(){return Oe&&e in ee}()?(!function(){e in{reset:1,resetPage:1,init:1}||u("Trigger event: "+t)}(),"init"===e?D(e,t,n,r):Ae(e,t,n,r)):u("Trigger event cancelled: "+e)}function W(){Oe||(Oe=!0,u("Trigger event lock on")),clearTimeout(Se),Se=setTimeout(function(){Oe=!1,u("Trigger event lock off"),u("--")},te)}function V(e){re=Re[ie](),xe=ze[ke](),q(re,xe,e)}function B(e){var t=ie;ie=oe,u("Reset trigger event: "+e),W(),V("reset"),ie=t}function q(e,n,r,o,i){!0===ve&&(function(){t===i?i=be:u("Message targetOrigin: "+i)}(),function(){var a=e+":"+n,c=me+":"+a+":"+r+(t!==o?":"+o:"");u("Sending message to host page ("+c+")"),ge.postMessage(de+c,i)}())}function U(t){function n(){return t.data.split("]")[1].split(":")[0]}function o(){return t.data.substr(t.data.indexOf(":")+1)}function i(){return!(void 0!==e&&e.exports)&&"iFrameResize"in window}function a(){return t.data.split(":")[2]in{true:1,false:1}}function s(){var e=n();e in l?l[e]():i()||a()||c("Unexpected message ("+t.data+")")}var l={init:function(){"interactive"===document.readyState||"complete"===document.readyState?function(){ue=t.data,ge=t.source,f(),ne=!1,setTimeout(function(){ae=!1},te)}():(u("Waiting for page ready"),r(window,"readystatechange",l.initFromParent))},reset:function(){ae?u("Page reset ignored by init"):(u("Page size reset by host page"),V("resetPage"))},resize:function(){H("resizeParent","Parent window requested size check")},moveToAnchor:function(){ce.findTarget(o())},inPageLink:function(){this.moveToAnchor()},pageInfo:function(){var e=o();u("PageInfoFromParent called from parent: "+e),Ie(JSON.parse(e)),u(" --")},message:function(){var e=o();u("MessageCallback called from parent: "+e),Me(JSON.parse(e)),u(" --")}};(function(){return de===(""+t.data).substr(0,pe)})()&&function(){!1===ne?s():a()?l.init():u('Ignored message of type "'+n()+'". Received before initialization.')}()}if("undefined"!=typeof window){var J=!0,Y=10,G="",K=0,Q="",X=null,$="",Z=!1,ee={resize:1,click:1},te=128,ne=!0,re=1,oe="bodyOffset",ie=oe,ae=!0,ue="",ce={},fe=32,se=null,le=!1,de="[iFrameSizer]",pe=de.length,me="",ye={max:1,min:1,bodyScroll:1,documentElementScroll:1},he="child",ve=!0,ge=window.parent,be="*",we=0,Oe=!1,Se=null,Ee=16,xe=1,Te="scroll",ke=Te,_e=window,Me=function(){c("MessageCallback function not defined")},je=function(){},Ie=function(){},Ne={height:function(){return c("Custom height calculation function not defined"),document.documentElement.offsetHeight},width:function(){return c("Custom width calculation function not defined"),document.body.scrollWidth}},Pe={},Ce=Date.now||function(){return(new Date).getTime()},Re={bodyOffset:function(){return document.body.offsetHeight+C("marginTop")+C("marginBottom")},offset:function(){return Re.bodyOffset()},bodyScroll:function(){return document.body.scrollHeight},custom:function(){return Ne.height()},documentElementOffset:function(){return document.documentElement.offsetHeight},documentElementScroll:function(){return document.documentElement.scrollHeight},max:function(){return Math.max.apply(null,A(Re))},min:function(){return Math.min.apply(null,A(Re))},grow:function(){return Re.max()},lowestElement:function(){return Math.max(Re.bodyOffset()||Re.documentElementOffset(),z("bottom",L()))},taggedElement:function(){return F("bottom","data-iframe-height")}},ze={bodyScroll:function(){return document.body.scrollWidth},bodyOffset:function(){return document.body.offsetWidth},custom:function(){return Ne.width()},documentElementScroll:function(){return document.documentElement.scrollWidth},documentElementOffset:function(){return document.documentElement.offsetWidth},scroll:function(){return Math.max(ze.bodyScroll(),ze.documentElementScroll())},max:function(){return Math.max.apply(null,A(ze))},min:function(){return Math.min.apply(null,A(ze))},rightMostElement:function(){return z("right",L())},taggedElement:function(){return F("right","data-iframe-width")}},Ae=function(e){var t,n,r,o=null,i=0,a=function(){i=Ce(),o=null,r=e.apply(t,n),o||(t=n=null)};return function(){var u=Ce();i||(i=u);var c=Ee-(u-i);return t=this,n=arguments,c<=0||c>Ee?(o&&(clearTimeout(o),o=null),i=u,r=e.apply(t,n),o||(t=n=null)):o||(o=setTimeout(a,c)),r}}(D);r(window,"message",U),function(){"loading"!==document.readyState&&window.parent.postMessage("[iFrameResizerChild]Ready","*")}()}}()},function(e,t){e.exports="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%23000%7D%3C/style%3E%3C/defs%3E%3Cpath id='BR' class='cls-1' d='M0 6h7v9H0z'/%3E%3Cpath id='BL' class='cls-1' d='M8 10h7v5H8z'/%3E%3Cpath id='TR' class='cls-1' d='M0 0h7v5H0z'/%3E%3Cpath id='TL' class='cls-1' d='M8 0h7v9H8z'/%3E%3C/svg%3E"},function(e,t){e.exports="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%23bbb%7D%3C/style%3E%3C/defs%3E%3Cpath id='BR' class='cls-1' d='M0 6h7v9H0z'/%3E%3Cpath id='BL' class='cls-1' d='M8 10h7v5H8z'/%3E%3Cpath id='TR' class='cls-1' d='M0 0h7v5H0z'/%3E%3Cpath id='TL' class='cls-1' d='M8 0h7v9H8z'/%3E%3C/svg%3E"}]);
1
+ !function(t){function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}var e={};n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},n.p="",n(n.s=186)}([function(t,n,e){var r=e(2),o=e(18),i=e(11),u=e(12),c=e(19),a=function t(n,e,a){var f,s,l,p,d=n&t.F,h=n&t.G,v=n&t.S,y=n&t.P,m=n&t.B,g=h?r:v?r[e]||(r[e]={}):(r[e]||{}).prototype,b=h?o:o[e]||(o[e]={}),w=b.prototype||(b.prototype={});h&&(a=e);for(f in a)s=!d&&g&&void 0!==g[f],l=(s?g:a)[f],p=m&&s?c(l,r):y&&"function"==typeof l?c(Function.call,l):l,g&&u(g,f,l,n&t.U),b[f]!=l&&i(b,f,p),y&&w[f]!=l&&(w[f]=l)};r.core=o,a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,a.U=64,a.R=128,t.exports=a},function(t,n,e){var r=e(4);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,n){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n){var e="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};t.exports=function(t){return"object"===(void 0===t?"undefined":e(t))?null!==t:"function"==typeof t}},function(t,n,e){var r=e(62)("wks"),o=e(35),i=e(2).Symbol,u="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=u&&i[t]||(u?i:o)("Symbol."+t))}).store=r},function(t,n,e){t.exports=!e(3)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,n,e){var r=e(1),o=e(123),i=e(22),u=Object.defineProperty;n.f=e(6)?Object.defineProperty:function(t,n,e){if(r(t),n=i(n,!0),r(e),o)try{return u(t,n,e)}catch(t){}if("get"in e||"set"in e)throw TypeError("Accessors not supported!");return"value"in e&&(t[n]=e.value),t}},function(t,n,e){var r=e(24),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,n,e){var r=e(23);t.exports=function(t){return Object(r(t))}},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,n,e){var r=e(7),o=e(34);t.exports=e(6)?function(t,n,e){return r.f(t,n,o(1,e))}:function(t,n,e){return t[n]=e,t}},function(t,n,e){var r=e(2),o=e(11),i=e(14),u=e(35)("src"),c=Function.toString,a=(""+c).split("toString");e(18).inspectSource=function(t){return c.call(t)},(t.exports=function(t,n,e,c){var f="function"==typeof e;f&&(i(e,"name")||o(e,"name",n)),t[n]!==e&&(f&&(i(e,u)||o(e,u,t[n]?""+t[n]:a.join(String(n)))),t===r?t[n]=e:c?t[n]?t[n]=e:o(t,n,e):(delete t[n],o(t,n,e)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[u]||c.call(this)})},function(t,n,e){var r=e(0),o=e(3),i=e(23),u=/"/g,c=function(t,n,e,r){var o=String(i(t)),c="<"+n;return""!==e&&(c+=" "+e+'="'+String(r).replace(u,"&quot;")+'"'),c+">"+o+"</"+n+">"};t.exports=function(t,n){var e={};e[t]=n(c),r(r.P+r.F*o(function(){var n=""[t]('"');return n!==n.toLowerCase()||n.split('"').length>3}),"String",e)}},function(t,n){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},function(t,n,e){var r=e(56),o=e(23);t.exports=function(t){return r(o(t))}},function(t,n,e){var r=e(57),o=e(34),i=e(15),u=e(22),c=e(14),a=e(123),f=Object.getOwnPropertyDescriptor;n.f=e(6)?f:function(t,n){if(t=i(t),n=u(n,!0),a)try{return f(t,n)}catch(t){}if(c(t,n))return o(!r.f.call(t,n),t[n])}},function(t,n,e){var r=e(14),o=e(9),i=e(83)("IE_PROTO"),u=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,n){var e=t.exports={version:"2.5.7"};"number"==typeof __e&&(__e=e)},function(t,n,e){var r=e(10);t.exports=function(t,n,e){if(r(t),void 0===n)return t;switch(e){case 1:return function(e){return t.call(n,e)};case 2:return function(e,r){return t.call(n,e,r)};case 3:return function(e,r,o){return t.call(n,e,r,o)}}return function(){return t.apply(n,arguments)}}},function(t,n){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},function(t,n,e){"use strict";var r=e(3);t.exports=function(t,n){return!!t&&r(function(){n?t.call(null,function(){},1):t.call(null)})}},function(t,n,e){var r=e(4);t.exports=function(t,n){if(!r(t))return t;var e,o;if(n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;if("function"==typeof(e=t.valueOf)&&!r(o=e.call(t)))return o;if(!n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,n){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,n){var e=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:e)(t)}},function(t,n,e){var r=e(0),o=e(18),i=e(3);t.exports=function(t,n){var e=(o.Object||{})[t]||Object[t],u={};u[t]=n(e),r(r.S+r.F*i(function(){e(1)}),"Object",u)}},function(t,n,e){var r=e(19),o=e(56),i=e(9),u=e(8),c=e(100);t.exports=function(t,n){var e=1==t,a=2==t,f=3==t,s=4==t,l=6==t,p=5==t||l,d=n||c;return function(n,c,h){for(var v,y,m=i(n),g=o(m),b=r(c,h,3),w=u(g.length),S=0,x=e?d(n,w):a?d(n,0):void 0;w>S;S++)if((p||S in g)&&(v=g[S],y=b(v,S,m),t))if(e)x[S]=y;else if(y)switch(t){case 3:return!0;case 5:return v;case 6:return S;case 2:x.push(v)}else if(s)return!1;return l?-1:f||s?s:x}}},function(t,n,e){"use strict";var r="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};if(e(6)){var o=e(31),i=e(2),u=e(3),c=e(0),a=e(73),f=e(106),s=e(19),l=e(41),p=e(34),d=e(11),h=e(43),v=e(24),y=e(8),m=e(149),g=e(37),b=e(22),w=e(14),S=e(58),x=e(4),O=e(9),_=e(97),E=e(38),M=e(17),T=e(39).f,P=e(99),j=e(35),I=e(5),k=e(26),F=e(63),N=e(70),A=e(102),R=e(49),L=e(67),C=e(40),z=e(101),D=e(139),W=e(7),V=e(16),B=W.f,U=V.f,G=i.RangeError,H=i.TypeError,q=i.Uint8Array,Y=Array.prototype,J=f.ArrayBuffer,K=f.DataView,X=k(0),Q=k(2),$=k(3),Z=k(4),tt=k(5),nt=k(6),et=F(!0),rt=F(!1),ot=A.values,it=A.keys,ut=A.entries,ct=Y.lastIndexOf,at=Y.reduce,ft=Y.reduceRight,st=Y.join,lt=Y.sort,pt=Y.slice,dt=Y.toString,ht=Y.toLocaleString,vt=I("iterator"),yt=I("toStringTag"),mt=j("typed_constructor"),gt=j("def_constructor"),bt=a.CONSTR,wt=a.TYPED,St=a.VIEW,xt=k(1,function(t,n){return Tt(N(t,t[gt]),n)}),Ot=u(function(){return 1===new q(new Uint16Array([1]).buffer)[0]}),_t=!!q&&!!q.prototype.set&&u(function(){new q(1).set({})}),Et=function(t,n){var e=v(t);if(e<0||e%n)throw G("Wrong offset!");return e},Mt=function(t){if(x(t)&&wt in t)return t;throw H(t+" is not a typed array!")},Tt=function(t,n){if(!(x(t)&&mt in t))throw H("It is not a typed array constructor!");return new t(n)},Pt=function(t,n){return jt(N(t,t[gt]),n)},jt=function(t,n){for(var e=0,r=n.length,o=Tt(t,r);r>e;)o[e]=n[e++];return o},It=function(t,n,e){B(t,n,{get:function(){return this._d[e]}})},kt=function(t){var n,e,r,o,i,u,c=O(t),a=arguments.length,f=a>1?arguments[1]:void 0,l=void 0!==f,p=P(c);if(void 0!=p&&!_(p)){for(u=p.call(c),r=[],n=0;!(i=u.next()).done;n++)r.push(i.value);c=r}for(l&&a>2&&(f=s(f,arguments[2],2)),n=0,e=y(c.length),o=Tt(this,e);e>n;n++)o[n]=l?f(c[n],n):c[n];return o},Ft=function(){for(var t=0,n=arguments.length,e=Tt(this,n);n>t;)e[t]=arguments[t++];return e},Nt=!!q&&u(function(){ht.call(new q(1))}),At=function(){return ht.apply(Nt?pt.call(Mt(this)):Mt(this),arguments)},Rt={copyWithin:function(t,n){return D.call(Mt(this),t,n,arguments.length>2?arguments[2]:void 0)},every:function(t){return Z(Mt(this),t,arguments.length>1?arguments[1]:void 0)},fill:function(t){return z.apply(Mt(this),arguments)},filter:function(t){return Pt(this,Q(Mt(this),t,arguments.length>1?arguments[1]:void 0))},find:function(t){return tt(Mt(this),t,arguments.length>1?arguments[1]:void 0)},findIndex:function(t){return nt(Mt(this),t,arguments.length>1?arguments[1]:void 0)},forEach:function(t){X(Mt(this),t,arguments.length>1?arguments[1]:void 0)},indexOf:function(t){return rt(Mt(this),t,arguments.length>1?arguments[1]:void 0)},includes:function(t){return et(Mt(this),t,arguments.length>1?arguments[1]:void 0)},join:function(t){return st.apply(Mt(this),arguments)},lastIndexOf:function(t){return ct.apply(Mt(this),arguments)},map:function(t){return xt(Mt(this),t,arguments.length>1?arguments[1]:void 0)},reduce:function(t){return at.apply(Mt(this),arguments)},reduceRight:function(t){return ft.apply(Mt(this),arguments)},reverse:function(){for(var t,n=this,e=Mt(n).length,r=Math.floor(e/2),o=0;o<r;)t=n[o],n[o++]=n[--e],n[e]=t;return n},some:function(t){return $(Mt(this),t,arguments.length>1?arguments[1]:void 0)},sort:function(t){return lt.call(Mt(this),t)},subarray:function(t,n){var e=Mt(this),r=e.length,o=g(t,r);return new(N(e,e[gt]))(e.buffer,e.byteOffset+o*e.BYTES_PER_ELEMENT,y((void 0===n?r:g(n,r))-o))}},Lt=function(t,n){return Pt(this,pt.call(Mt(this),t,n))},Ct=function(t){Mt(this);var n=Et(arguments[1],1),e=this.length,r=O(t),o=y(r.length),i=0;if(o+n>e)throw G("Wrong length!");for(;i<o;)this[n+i]=r[i++]},zt={entries:function(){return ut.call(Mt(this))},keys:function(){return it.call(Mt(this))},values:function(){return ot.call(Mt(this))}},Dt=function(t,n){return x(t)&&t[wt]&&"symbol"!=(void 0===n?"undefined":r(n))&&n in t&&String(+n)==String(n)},Wt=function(t,n){return Dt(t,n=b(n,!0))?p(2,t[n]):U(t,n)},Vt=function(t,n,e){return!(Dt(t,n=b(n,!0))&&x(e)&&w(e,"value"))||w(e,"get")||w(e,"set")||e.configurable||w(e,"writable")&&!e.writable||w(e,"enumerable")&&!e.enumerable?B(t,n,e):(t[n]=e.value,t)};bt||(V.f=Wt,W.f=Vt),c(c.S+c.F*!bt,"Object",{getOwnPropertyDescriptor:Wt,defineProperty:Vt}),u(function(){dt.call({})})&&(dt=ht=function(){return st.call(this)});var Bt=h({},Rt);h(Bt,zt),d(Bt,vt,zt.values),h(Bt,{slice:Lt,set:Ct,constructor:function(){},toString:dt,toLocaleString:At}),It(Bt,"buffer","b"),It(Bt,"byteOffset","o"),It(Bt,"byteLength","l"),It(Bt,"length","e"),B(Bt,yt,{get:function(){return this[wt]}}),t.exports=function(t,n,e,r){r=!!r;var f=t+(r?"Clamped":"")+"Array",s="get"+t,p="set"+t,h=i[f],v=h||{},g=h&&M(h),b=!h||!a.ABV,w={},O=h&&h.prototype,_=function(t,e){var r=t._d;return r.v[s](e*n+r.o,Ot)},P=function(t,e,o){var i=t._d;r&&(o=(o=Math.round(o))<0?0:o>255?255:255&o),i.v[p](e*n+i.o,o,Ot)},j=function(t,n){B(t,n,{get:function(){return _(this,n)},set:function(t){return P(this,n,t)},enumerable:!0})};b?(h=e(function(t,e,r,o){l(t,h,f,"_d");var i,u,c,a,s=0,p=0;if(x(e)){if(!(e instanceof J||"ArrayBuffer"==(a=S(e))||"SharedArrayBuffer"==a))return wt in e?jt(h,e):kt.call(h,e);i=e,p=Et(r,n);var v=e.byteLength;if(void 0===o){if(v%n)throw G("Wrong length!");if((u=v-p)<0)throw G("Wrong length!")}else if((u=y(o)*n)+p>v)throw G("Wrong length!");c=u/n}else c=m(e),u=c*n,i=new J(u);for(d(t,"_d",{b:i,o:p,l:u,e:c,v:new K(i)});s<c;)j(t,s++)}),O=h.prototype=E(Bt),d(O,"constructor",h)):u(function(){h(1)})&&u(function(){new h(-1)})&&L(function(t){new h,new h(null),new h(1.5),new h(t)},!0)||(h=e(function(t,e,r,o){l(t,h,f);var i;return x(e)?e instanceof J||"ArrayBuffer"==(i=S(e))||"SharedArrayBuffer"==i?void 0!==o?new v(e,Et(r,n),o):void 0!==r?new v(e,Et(r,n)):new v(e):wt in e?jt(h,e):kt.call(h,e):new v(m(e))}),X(g!==Function.prototype?T(v).concat(T(g)):T(v),function(t){t in h||d(h,t,v[t])}),h.prototype=O,o||(O.constructor=h));var I=O[vt],k=!!I&&("values"==I.name||void 0==I.name),F=zt.values;d(h,mt,!0),d(O,wt,f),d(O,St,!0),d(O,gt,h),(r?new h(1)[yt]==f:yt in O)||B(O,yt,{get:function(){return f}}),w[f]=h,c(c.G+c.W+c.F*(h!=v),w),c(c.S,f,{BYTES_PER_ELEMENT:n}),c(c.S+c.F*u(function(){v.of.call(h,1)}),f,{from:kt,of:Ft}),"BYTES_PER_ELEMENT"in O||d(O,"BYTES_PER_ELEMENT",n),c(c.P,f,Rt),C(f),c(c.P+c.F*_t,f,{set:Ct}),c(c.P+c.F*!k,f,zt),o||O.toString==dt||(O.toString=dt),c(c.P+c.F*u(function(){new h(1).slice()}),f,{slice:Lt}),c(c.P+c.F*(u(function(){return[1,2].toLocaleString()!=new h([1,2]).toLocaleString()})||!u(function(){O.toLocaleString.call([1,2])})),f,{toLocaleString:At}),R[f]=k?I:F,o||k||d(O,vt,F)}}else t.exports=function(){}},function(t,n,e){var r="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},o=e(144),i=e(0),u=e(62)("metadata"),c=u.store||(u.store=new(e(147))),a=function(t,n,e){var r=c.get(t);if(!r){if(!e)return;c.set(t,r=new o)}var i=r.get(n);if(!i){if(!e)return;r.set(n,i=new o)}return i},f=function(t,n,e){var r=a(n,e,!1);return void 0!==r&&r.has(t)},s=function(t,n,e){var r=a(n,e,!1);return void 0===r?void 0:r.get(t)},l=function(t,n,e,r){a(e,r,!0).set(t,n)},p=function(t,n){var e=a(t,n,!1),r=[];return e&&e.forEach(function(t,n){r.push(n)}),r},d=function(t){return void 0===t||"symbol"==(void 0===t?"undefined":r(t))?t:String(t)},h=function(t){i(i.S,"Reflect",t)};t.exports={store:c,map:a,has:f,get:s,set:l,keys:p,key:d,exp:h}},function(t,n){var e=t.exports={version:"2.5.6"};"number"==typeof __e&&(__e=e)},function(t,n,e){var r="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},o=e(35)("meta"),i=e(4),u=e(14),c=e(7).f,a=0,f=Object.isExtensible||function(){return!0},s=!e(3)(function(){return f(Object.preventExtensions({}))}),l=function(t){c(t,o,{value:{i:"O"+ ++a,w:{}}})},p=function(t,n){if(!i(t))return"symbol"==(void 0===t?"undefined":r(t))?t:("string"==typeof t?"S":"P")+t;if(!u(t,o)){if(!f(t))return"F";if(!n)return"E";l(t)}return t[o].i},d=function(t,n){if(!u(t,o)){if(!f(t))return!0;if(!n)return!1;l(t)}return t[o].w},h=function(t){return s&&v.NEED&&f(t)&&!u(t,o)&&l(t),t},v=t.exports={KEY:o,NEED:!1,fastKey:p,getWeak:d,onFreeze:h}},function(t,n){t.exports=!1},function(t,n,e){var r=e(5)("unscopables"),o=Array.prototype;void 0==o[r]&&e(11)(o,r,{}),t.exports=function(t){o[r][t]=!0}},function(t,n){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n){var e=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++e+r).toString(36))}},function(t,n,e){var r=e(125),o=e(84);t.exports=Object.keys||function(t){return r(t,o)}},function(t,n,e){var r=e(24),o=Math.max,i=Math.min;t.exports=function(t,n){return t=r(t),t<0?o(t+n,0):i(t,n)}},function(t,n,e){var r=e(1),o=e(126),i=e(84),u=e(83)("IE_PROTO"),c=function(){},a=function(){var t,n=e(81)("iframe"),r=i.length;for(n.style.display="none",e(85).appendChild(n),n.src="javascript:",t=n.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),a=t.F;r--;)delete a.prototype[i[r]];return a()};t.exports=Object.create||function(t,n){var e;return null!==t?(c.prototype=r(t),e=new c,c.prototype=null,e[u]=t):e=a(),void 0===n?e:o(e,n)}},function(t,n,e){var r=e(125),o=e(84).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,n,e){"use strict";var r=e(2),o=e(7),i=e(6),u=e(5)("species");t.exports=function(t){var n=r[t];i&&n&&!n[u]&&o.f(n,u,{configurable:!0,get:function(){return this}})}},function(t,n){t.exports=function(t,n,e,r){if(!(t instanceof n)||void 0!==r&&r in t)throw TypeError(e+": incorrect invocation!");return t}},function(t,n,e){var r=e(19),o=e(137),i=e(97),u=e(1),c=e(8),a=e(99),f={},s={},n=t.exports=function(t,n,e,l,p){var d,h,v,y,m=p?function(){return t}:a(t),g=r(e,l,n?2:1),b=0;if("function"!=typeof m)throw TypeError(t+" is not iterable!");if(i(m)){for(d=c(t.length);d>b;b++)if((y=n?g(u(h=t[b])[0],h[1]):g(t[b]))===f||y===s)return y}else for(v=m.call(t);!(h=v.next()).done;)if((y=o(v,g,h.value,n))===f||y===s)return y};n.BREAK=f,n.RETURN=s},function(t,n,e){var r=e(12);t.exports=function(t,n,e){for(var o in n)r(t,o,n[o],e);return t}},function(t,n){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},function(t,n,e){var r=e(59),o=e(161),i=e(110),u=Object.defineProperty;n.f=e(46)?Object.defineProperty:function(t,n,e){if(r(t),n=i(n,!0),r(e),o)try{return u(t,n,e)}catch(t){}if("get"in e||"set"in e)throw TypeError("Accessors not supported!");return"value"in e&&(t[n]=e.value),t}},function(t,n,e){t.exports=!e(60)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,n,e){var r=e(7).f,o=e(14),i=e(5)("toStringTag");t.exports=function(t,n,e){t&&!o(t=e?t:t.prototype,i)&&r(t,i,{configurable:!0,value:n})}},function(t,n,e){var r=e(0),o=e(23),i=e(3),u=e(87),c="["+u+"]",a="​…",f=RegExp("^"+c+c+"*"),s=RegExp(c+c+"*$"),l=function(t,n,e){var o={},c=i(function(){return!!u[t]()||a[t]()!=a}),f=o[t]=c?n(p):u[t];e&&(o[e]=f),r(r.P+r.F*c,"String",o)},p=l.trim=function(t,n){return t=String(o(t)),1&n&&(t=t.replace(f,"")),2&n&&(t=t.replace(s,"")),t};t.exports=l},function(t,n){t.exports={}},function(t,n,e){var r=e(4);t.exports=function(t,n){if(!r(t)||t._t!==n)throw TypeError("Incompatible receiver, "+n+" required!");return t}},function(t,n,e){var r=e(33),o=e(29),i=e(160),u=e(52),c=e(44),a=function t(n,e,a){var f,s,l,p=n&t.F,d=n&t.G,h=n&t.S,v=n&t.P,y=n&t.B,m=n&t.W,g=d?o:o[e]||(o[e]={}),b=g.prototype,w=d?r:h?r[e]:(r[e]||{}).prototype;d&&(a=e);for(f in a)(s=!p&&w&&void 0!==w[f])&&c(g,f)||(l=s?w[f]:a[f],g[f]=d&&"function"!=typeof w[f]?a[f]:y&&s?i(l,r):m&&w[f]==l?function(t){var n=function(n,e,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(n);case 2:return new t(n,e)}return new t(n,e,r)}return t.apply(this,arguments)};return n.prototype=t.prototype,n}(l):v&&"function"==typeof l?i(Function.call,l):l,v&&((g.virtual||(g.virtual={}))[f]=l,n&t.R&&b&&!b[f]&&u(b,f,l)))};a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,a.U=64,a.R=128,t.exports=a},function(t,n,e){var r=e(45),o=e(79);t.exports=e(46)?function(t,n,e){return r.f(t,n,o(1,e))}:function(t,n,e){return t[n]=e,t}},function(t,n){var e="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};t.exports=function(t){return"object"===(void 0===t?"undefined":e(t))?null!==t:"function"==typeof t}},function(t,n,e){var r=e(410),o=e(107);t.exports=function(t){return r(o(t))}},function(t,n,e){var r=e(109)("wks"),o=e(78),i=e(33).Symbol,u="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=u&&i[t]||(u?i:o)("Symbol."+t))}).store=r},function(t,n,e){var r=e(20);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,n){n.f={}.propertyIsEnumerable},function(t,n,e){var r=e(20),o=e(5)("toStringTag"),i="Arguments"==r(function(){return arguments}()),u=function(t,n){try{return t[n]}catch(t){}};t.exports=function(t){var n,e,c;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=u(n=Object(t),o))?e:i?r(n):"Object"==(c=r(n))&&"function"==typeof n.callee?"Arguments":c}},function(t,n,e){var r=e(53);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n){function e(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function o(t){if(s===setTimeout)return setTimeout(t,0);if((s===e||!s)&&setTimeout)return s=setTimeout,setTimeout(t,0);try{return s(t,0)}catch(n){try{return s.call(null,t,0)}catch(n){return s.call(this,t,0)}}}function i(t){if(l===clearTimeout)return clearTimeout(t);if((l===r||!l)&&clearTimeout)return l=clearTimeout,clearTimeout(t);try{return l(t)}catch(n){try{return l.call(null,t)}catch(n){return l.call(this,t)}}}function u(){v&&d&&(v=!1,d.length?h=d.concat(h):y=-1,h.length&&c())}function c(){if(!v){var t=o(u);v=!0;for(var n=h.length;n;){for(d=h,h=[];++y<n;)d&&d[y].run();y=-1,n=h.length}d=null,v=!1,i(t)}}function a(t,n){this.fun=t,this.array=n}function f(){}var s,l,p=t.exports={};!function(){try{s="function"==typeof setTimeout?setTimeout:e}catch(t){s=e}try{l="function"==typeof clearTimeout?clearTimeout:r}catch(t){l=r}}();var d,h=[],v=!1,y=-1;p.nextTick=function(t){var n=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)n[e-1]=arguments[e];h.push(new a(t,n)),1!==h.length||v||o(c)},a.prototype.run=function(){this.fun.apply(null,this.array)},p.title="browser",p.browser=!0,p.env={},p.argv=[],p.version="",p.versions={},p.on=f,p.addListener=f,p.once=f,p.off=f,p.removeListener=f,p.removeAllListeners=f,p.emit=f,p.prependListener=f,p.prependOnceListener=f,p.listeners=function(t){return[]},p.binding=function(t){throw new Error("process.binding is not supported")},p.cwd=function(){return"/"},p.chdir=function(t){throw new Error("process.chdir is not supported")},p.umask=function(){return 0}},function(t,n,e){var r=e(18),o=e(2),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,n){return i[t]||(i[t]=void 0!==n?n:{})})("versions",[]).push({version:r.version,mode:e(31)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(t,n,e){var r=e(15),o=e(8),i=e(37);t.exports=function(t){return function(n,e,u){var c,a=r(n),f=o(a.length),s=i(u,f);if(t&&e!=e){for(;f>s;)if((c=a[s++])!=c)return!0}else for(;f>s;s++)if((t||s in a)&&a[s]===e)return t||s||0;return!t&&-1}}},function(t,n){n.f=Object.getOwnPropertySymbols},function(t,n,e){var r=e(20);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,n,e){var r=e(4),o=e(20),i=e(5)("match");t.exports=function(t){var n;return r(t)&&(void 0!==(n=t[i])?!!n:"RegExp"==o(t))}},function(t,n,e){var r=e(5)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,n){if(!n&&!o)return!1;var e=!1;try{var i=[7],u=i[r]();u.next=function(){return{done:e=!0}},i[r]=function(){return u},t(i)}catch(t){}return e}},function(t,n,e){"use strict";var r=e(1);t.exports=function(){var t=r(this),n="";return t.global&&(n+="g"),t.ignoreCase&&(n+="i"),t.multiline&&(n+="m"),t.unicode&&(n+="u"),t.sticky&&(n+="y"),n}},function(t,n,e){"use strict";var r=e(11),o=e(12),i=e(3),u=e(23),c=e(5);t.exports=function(t,n,e){var a=c(t),f=e(u,a,""[t]),s=f[0],l=f[1];i(function(){var n={};return n[a]=function(){return 7},7!=""[t](n)})&&(o(String.prototype,t,s),r(RegExp.prototype,a,2==n?function(t,n){return l.call(t,this,n)}:function(t){return l.call(t,this)}))}},function(t,n,e){var r=e(1),o=e(10),i=e(5)("species");t.exports=function(t,n){var e,u=r(t).constructor;return void 0===u||void 0==(e=r(u)[i])?n:o(e)}},function(t,n,e){var r=e(2),o=r.navigator;t.exports=o&&o.userAgent||""},function(t,n,e){"use strict";var r=e(2),o=e(0),i=e(12),u=e(43),c=e(30),a=e(42),f=e(41),s=e(4),l=e(3),p=e(67),d=e(47),h=e(88);t.exports=function(t,n,e,v,y,m){var g=r[t],b=g,w=y?"set":"add",S=b&&b.prototype,x={},O=function(t){var n=S[t];i(S,t,"delete"==t?function(t){return!(m&&!s(t))&&n.call(this,0===t?0:t)}:"has"==t?function(t){return!(m&&!s(t))&&n.call(this,0===t?0:t)}:"get"==t?function(t){return m&&!s(t)?void 0:n.call(this,0===t?0:t)}:"add"==t?function(t){return n.call(this,0===t?0:t),this}:function(t,e){return n.call(this,0===t?0:t,e),this})};if("function"==typeof b&&(m||S.forEach&&!l(function(){(new b).entries().next()}))){var _=new b,E=_[w](m?{}:-0,1)!=_,M=l(function(){_.has(1)}),T=p(function(t){new b(t)}),P=!m&&l(function(){for(var t=new b,n=5;n--;)t[w](n,n);return!t.has(-0)});T||(b=n(function(n,e){f(n,b,t);var r=h(new g,n,b);return void 0!=e&&a(e,y,r[w],r),r}),b.prototype=S,S.constructor=b),(M||P)&&(O("delete"),O("has"),y&&O("get")),(P||E)&&O(w),m&&S.clear&&delete S.clear}else b=v.getConstructor(n,t,y,w),u(b.prototype,e),c.NEED=!0;return d(b,t),x[t]=b,o(o.G+o.W+o.F*(b!=g),x),m||v.setStrong(b,t,y),b}},function(t,n,e){for(var r,o=e(2),i=e(11),u=e(35),c=u("typed_array"),a=u("view"),f=!(!o.ArrayBuffer||!o.DataView),s=f,l=0,p="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");l<9;)(r=o[p[l++]])?(i(r.prototype,c,!0),i(r.prototype,a,!0)):s=!1;t.exports={ABV:f,CONSTR:s,TYPED:c,VIEW:a}},function(t,n,e){"use strict";t.exports=e(31)||!e(3)(function(){var t=Math.random();__defineSetter__.call(null,t,function(){}),delete e(2)[t]})},function(t,n,e){"use strict";var r=e(0);t.exports=function(t){r(r.S,t,{of:function(){for(var t=arguments.length,n=new Array(t);t--;)n[t]=arguments[t];return new this(n)}})}},function(t,n,e){"use strict";var r=e(0),o=e(10),i=e(19),u=e(42);t.exports=function(t){r(r.S,t,{from:function(t){var n,e,r,c,a=arguments[1];return o(this),n=void 0!==a,n&&o(a),void 0==t?new this:(e=[],n?(r=0,c=i(a,arguments[2],2),u(t,!1,function(t){e.push(c(t,r++))})):u(t,!1,e.push,e),new this(e))}})}},function(t,n){t.exports=!0},function(t,n){var e=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++e+r).toString(36))}},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n){var e,r="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(){return this}();try{e=e||Function("return this")()||(0,eval)("this")}catch(t){"object"===("undefined"==typeof window?"undefined":r(window))&&(e=window)}t.exports=e},function(t,n,e){var r=e(4),o=e(2).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,n,e){var r=e(2),o=e(18),i=e(31),u=e(124),c=e(7).f;t.exports=function(t){var n=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==t.charAt(0)||t in n||c(n,t,{value:u.f(t)})}},function(t,n,e){var r=e(62)("keys"),o=e(35);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,n,e){var r=e(2).document;t.exports=r&&r.documentElement},function(t,n,e){var r=e(4),o=e(1),i=function(t,n){if(o(t),!r(n)&&null!==n)throw TypeError(n+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,n,r){try{r=e(19)(Function.call,e(16).f(Object.prototype,"__proto__").set,2),r(t,[]),n=!(t instanceof Array)}catch(t){n=!0}return function(t,e){return i(t,e),n?t.__proto__=e:r(t,e),t}}({},!1):void 0),check:i}},function(t,n){t.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},function(t,n,e){var r=e(4),o=e(86).set;t.exports=function(t,n,e){var i,u=n.constructor;return u!==e&&"function"==typeof u&&(i=u.prototype)!==e.prototype&&r(i)&&o&&o(t,i),t}},function(t,n,e){"use strict";var r=e(24),o=e(23);t.exports=function(t){var n=String(o(this)),e="",i=r(t);if(i<0||i==1/0)throw RangeError("Count can't be negative");for(;i>0;(i>>>=1)&&(n+=n))1&i&&(e+=n);return e}},function(t,n){t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},function(t,n){var e=Math.expm1;t.exports=!e||e(10)>22025.465794806718||e(10)<22025.465794806718||-2e-17!=e(-2e-17)?function(t){return 0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:Math.exp(t)-1}:e},function(t,n,e){var r=e(24),o=e(23);t.exports=function(t){return function(n,e){var i,u,c=String(o(n)),a=r(e),f=c.length;return a<0||a>=f?t?"":void 0:(i=c.charCodeAt(a),i<55296||i>56319||a+1===f||(u=c.charCodeAt(a+1))<56320||u>57343?t?c.charAt(a):i:t?c.slice(a,a+2):u-56320+(i-55296<<10)+65536)}}},function(t,n,e){"use strict";var r=e(31),o=e(0),i=e(12),u=e(11),c=e(49),a=e(94),f=e(47),s=e(17),l=e(5)("iterator"),p=!([].keys&&"next"in[].keys()),d=function(){return this};t.exports=function(t,n,e,h,v,y,m){a(e,n,h);var g,b,w,S=function(t){if(!p&&t in E)return E[t];switch(t){case"keys":case"values":return function(){return new e(this,t)}}return function(){return new e(this,t)}},x=n+" Iterator",O="values"==v,_=!1,E=t.prototype,M=E[l]||E["@@iterator"]||v&&E[v],T=M||S(v),P=v?O?S("entries"):T:void 0,j="Array"==n?E.entries||M:M;if(j&&(w=s(j.call(new t)))!==Object.prototype&&w.next&&(f(w,x,!0),r||"function"==typeof w[l]||u(w,l,d)),O&&M&&"values"!==M.name&&(_=!0,T=function(){return M.call(this)}),r&&!m||!p&&!_&&E[l]||u(E,l,T),c[n]=T,c[x]=d,v)if(g={values:O?T:S("values"),keys:y?T:S("keys"),entries:P},m)for(b in g)b in E||i(E,b,g[b]);else o(o.P+o.F*(p||_),n,g);return g}},function(t,n,e){"use strict";var r=e(38),o=e(34),i=e(47),u={};e(11)(u,e(5)("iterator"),function(){return this}),t.exports=function(t,n,e){t.prototype=r(u,{next:o(1,e)}),i(t,n+" Iterator")}},function(t,n,e){var r=e(66),o=e(23);t.exports=function(t,n,e){if(r(n))throw TypeError("String#"+e+" doesn't accept regex!");return String(o(t))}},function(t,n,e){var r=e(5)("match");t.exports=function(t){var n=/./;try{"/./"[t](n)}catch(e){try{return n[r]=!1,!"/./"[t](n)}catch(t){}}return!0}},function(t,n,e){var r=e(49),o=e(5)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||i[o]===t)}},function(t,n,e){"use strict";var r=e(7),o=e(34);t.exports=function(t,n,e){n in t?r.f(t,n,o(0,e)):t[n]=e}},function(t,n,e){var r=e(58),o=e(5)("iterator"),i=e(49);t.exports=e(18).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[r(t)]}},function(t,n,e){var r=e(280);t.exports=function(t,n){return new(r(t))(n)}},function(t,n,e){"use strict";var r=e(9),o=e(37),i=e(8);t.exports=function(t){for(var n=r(this),e=i(n.length),u=arguments.length,c=o(u>1?arguments[1]:void 0,e),a=u>2?arguments[2]:void 0,f=void 0===a?e:o(a,e);f>c;)n[c++]=t;return n}},function(t,n,e){"use strict";var r=e(32),o=e(140),i=e(49),u=e(15);t.exports=e(93)(Array,"Array",function(t,n){this._t=u(t),this._i=0,this._k=n},function(){var t=this._t,n=this._k,e=this._i++;return!t||e>=t.length?(this._t=void 0,o(1)):"keys"==n?o(0,e):"values"==n?o(0,t[e]):o(0,[e,t[e]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(t,n,e){var r,o,i,u=e(19),c=e(130),a=e(85),f=e(81),s=e(2),l=s.process,p=s.setImmediate,d=s.clearImmediate,h=s.MessageChannel,v=s.Dispatch,y=0,m={},g=function(){var t=+this;if(m.hasOwnProperty(t)){var n=m[t];delete m[t],n()}},b=function(t){g.call(t.data)};p&&d||(p=function(t){for(var n=[],e=1;arguments.length>e;)n.push(arguments[e++]);return m[++y]=function(){c("function"==typeof t?t:Function(t),n)},r(y),y},d=function(t){delete m[t]},"process"==e(20)(l)?r=function(t){l.nextTick(u(g,t,1))}:v&&v.now?r=function(t){v.now(u(g,t,1))}:h?(o=new h,i=o.port2,o.port1.onmessage=b,r=u(i.postMessage,i,1)):s.addEventListener&&"function"==typeof postMessage&&!s.importScripts?(r=function(t){s.postMessage(t+"","*")},s.addEventListener("message",b,!1)):r="onreadystatechange"in f("script")?function(t){a.appendChild(f("script")).onreadystatechange=function(){a.removeChild(this),g.call(t)}}:function(t){setTimeout(u(g,t,1),0)}),t.exports={set:p,clear:d}},function(t,n,e){var r=e(2),o=e(103).set,i=r.MutationObserver||r.WebKitMutationObserver,u=r.process,c=r.Promise,a="process"==e(20)(u);t.exports=function(){var t,n,e,f=function(){var r,o;for(a&&(r=u.domain)&&r.exit();t;){o=t.fn,t=t.next;try{o()}catch(r){throw t?e():n=void 0,r}}n=void 0,r&&r.enter()};if(a)e=function(){u.nextTick(f)};else if(!i||r.navigator&&r.navigator.standalone)if(c&&c.resolve){var s=c.resolve(void 0);e=function(){s.then(f)}}else e=function(){o.call(r,f)};else{var l=!0,p=document.createTextNode("");new i(f).observe(p,{characterData:!0}),e=function(){p.data=l=!l}}return function(r){var o={fn:r,next:void 0};n&&(n.next=o),t||(t=o,e()),n=o}}},function(t,n,e){"use strict";function r(t){var n,e;this.promise=new t(function(t,r){if(void 0!==n||void 0!==e)throw TypeError("Bad Promise constructor");n=t,e=r}),this.resolve=o(n),this.reject=o(e)}var o=e(10);t.exports.f=function(t){return new r(t)}},function(t,n,e){"use strict";function r(t,n,e){var r,o,i,u=new Array(e),c=8*e-n-1,a=(1<<c)-1,f=a>>1,s=23===n?z(2,-24)-z(2,-77):0,l=0,p=t<0||0===t&&1/t<0?1:0;for(t=C(t),t!=t||t===R?(o=t!=t?1:0,r=a):(r=D(W(t)/V),t*(i=z(2,-r))<1&&(r--,i*=2),t+=r+f>=1?s/i:s*z(2,1-f),t*i>=2&&(r++,i/=2),r+f>=a?(o=0,r=a):r+f>=1?(o=(t*i-1)*z(2,n),r+=f):(o=t*z(2,f-1)*z(2,n),r=0));n>=8;u[l++]=255&o,o/=256,n-=8);for(r=r<<n|o,c+=n;c>0;u[l++]=255&r,r/=256,c-=8);return u[--l]|=128*p,u}function o(t,n,e){var r,o=8*e-n-1,i=(1<<o)-1,u=i>>1,c=o-7,a=e-1,f=t[a--],s=127&f;for(f>>=7;c>0;s=256*s+t[a],a--,c-=8);for(r=s&(1<<-c)-1,s>>=-c,c+=n;c>0;r=256*r+t[a],a--,c-=8);if(0===s)s=1-u;else{if(s===i)return r?NaN:f?-R:R;r+=z(2,n),s-=u}return(f?-1:1)*r*z(2,s-n)}function i(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]}function u(t){return[255&t]}function c(t){return[255&t,t>>8&255]}function a(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function f(t){return r(t,52,8)}function s(t){return r(t,23,4)}function l(t,n,e){M(t[j],n,{get:function(){return this[e]}})}function p(t,n,e,r){var o=+e,i=_(o);if(i+n>t[U])throw A(I);var u=t[B]._b,c=i+t[G],a=u.slice(c,c+n);return r?a:a.reverse()}function d(t,n,e,r,o,i){var u=+e,c=_(u);if(c+n>t[U])throw A(I);for(var a=t[B]._b,f=c+t[G],s=r(+o),l=0;l<n;l++)a[f+l]=s[i?l:n-l-1]}var h=e(2),v=e(6),y=e(31),m=e(73),g=e(11),b=e(43),w=e(3),S=e(41),x=e(24),O=e(8),_=e(149),E=e(39).f,M=e(7).f,T=e(101),P=e(47),j="prototype",I="Wrong index!",k=h.ArrayBuffer,F=h.DataView,N=h.Math,A=h.RangeError,R=h.Infinity,L=k,C=N.abs,z=N.pow,D=N.floor,W=N.log,V=N.LN2,B=v?"_b":"buffer",U=v?"_l":"byteLength",G=v?"_o":"byteOffset";if(m.ABV){if(!w(function(){k(1)})||!w(function(){new k(-1)})||w(function(){return new k,new k(1.5),new k(NaN),"ArrayBuffer"!=k.name})){k=function(t){return S(this,k),new L(_(t))};for(var H,q=k[j]=L[j],Y=E(L),J=0;Y.length>J;)(H=Y[J++])in k||g(k,H,L[H]);y||(q.constructor=k)}var K=new F(new k(2)),X=F[j].setInt8;K.setInt8(0,2147483648),K.setInt8(1,2147483649),!K.getInt8(0)&&K.getInt8(1)||b(F[j],{setInt8:function(t,n){X.call(this,t,n<<24>>24)},setUint8:function(t,n){X.call(this,t,n<<24>>24)}},!0)}else k=function(t){S(this,k,"ArrayBuffer");var n=_(t);this._b=T.call(new Array(n),0),this[U]=n},F=function(t,n,e){S(this,F,"DataView"),S(t,k,"DataView");var r=t[U],o=x(n);if(o<0||o>r)throw A("Wrong offset!");if(e=void 0===e?r-o:O(e),o+e>r)throw A("Wrong length!");this[B]=t,this[G]=o,this[U]=e},v&&(l(k,"byteLength","_l"),l(F,"buffer","_b"),l(F,"byteLength","_l"),l(F,"byteOffset","_o")),b(F[j],{getInt8:function(t){return p(this,1,t)[0]<<24>>24},getUint8:function(t){return p(this,1,t)[0]},getInt16:function(t){var n=p(this,2,t,arguments[1]);return(n[1]<<8|n[0])<<16>>16},getUint16:function(t){var n=p(this,2,t,arguments[1]);return n[1]<<8|n[0]},getInt32:function(t){return i(p(this,4,t,arguments[1]))},getUint32:function(t){return i(p(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return o(p(this,4,t,arguments[1]),23,4)},getFloat64:function(t){return o(p(this,8,t,arguments[1]),52,8)},setInt8:function(t,n){d(this,1,t,u,n)},setUint8:function(t,n){d(this,1,t,u,n)},setInt16:function(t,n){d(this,2,t,c,n,arguments[2])},setUint16:function(t,n){d(this,2,t,c,n,arguments[2])},setInt32:function(t,n){d(this,4,t,a,n,arguments[2])},setUint32:function(t,n){d(this,4,t,a,n,arguments[2])},setFloat32:function(t,n){d(this,4,t,s,n,arguments[2])},setFloat64:function(t,n){d(this,8,t,f,n,arguments[2])}});P(k,"ArrayBuffer"),P(F,"DataView"),g(F[j],m.VIEW,!0),n.ArrayBuffer=k,n.DataView=F},function(t,n){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,n,e){var r=e(109)("keys"),o=e(78);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,n,e){var r=e(29),o=e(33),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,n){return i[t]||(i[t]=void 0!==n?n:{})})("versions",[]).push({version:r.version,mode:e(77)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(t,n,e){var r=e(53);t.exports=function(t,n){if(!r(t))return t;var e,o;if(n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;if("function"==typeof(e=t.valueOf)&&!r(o=e.call(t)))return o;if(!n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,n){var e=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:e)(t)}},function(t,n){t.exports={}},function(t,n,e){var r=e(59),o=e(409),i=e(115),u=e(108)("IE_PROTO"),c=function(){},a=function(){var t,n=e(162)("iframe"),r=i.length;for(n.style.display="none",e(414).appendChild(n),n.src="javascript:",t=n.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),a=t.F;r--;)delete a.prototype[i[r]];return a()};t.exports=Object.create||function(t,n){var e;return null!==t?(c.prototype=r(t),e=new c,c.prototype=null,e[u]=t):e=a(),void 0===n?e:o(e,n)}},function(t,n,e){var r=e(166),o=e(115);t.exports=Object.keys||function(t){return r(t,o)}},function(t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,n,e){var r=e(45).f,o=e(44),i=e(55)("toStringTag");t.exports=function(t,n,e){t&&!o(t=e?t:t.prototype,i)&&r(t,i,{configurable:!0,value:n})}},function(t,n,e){n.f=e(55)},function(t,n,e){var r=e(33),o=e(29),i=e(77),u=e(117),c=e(45).f;t.exports=function(t){var n=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==t.charAt(0)||t in n||c(n,t,{value:u.f(t)})}},function(t,n){n.f={}.propertyIsEnumerable},function(t,n,e){"use strict";function r(t){return function(){return t}}var o=function(){};o.thatReturns=r,o.thatReturnsFalse=r(!1),o.thatReturnsTrue=r(!0),o.thatReturnsNull=r(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(t){return t},t.exports=o},function(t,n,e){"use strict";(function(n){function e(t,n,e,o,i,u,c,a){if(r(n),!t){var f;if(void 0===n)f=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[e,o,i,u,c,a],l=0;f=new Error(n.replace(/%s/g,function(){return s[l++]})),f.name="Invariant Violation"}throw f.framesToPop=1,f}}var r=function(t){};"production"!==n.env.NODE_ENV&&(r=function(t){if(void 0===t)throw new Error("invariant requires an error message argument")}),t.exports=e}).call(n,e(61))},function(t,n,e){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(t,n,e){t.exports=!e(6)&&!e(3)(function(){return 7!=Object.defineProperty(e(81)("div"),"a",{get:function(){return 7}}).a})},function(t,n,e){n.f=e(5)},function(t,n,e){var r=e(14),o=e(15),i=e(63)(!1),u=e(83)("IE_PROTO");t.exports=function(t,n){var e,c=o(t),a=0,f=[];for(e in c)e!=u&&r(c,e)&&f.push(e);for(;n.length>a;)r(c,e=n[a++])&&(~i(f,e)||f.push(e));return f}},function(t,n,e){var r=e(7),o=e(1),i=e(36);t.exports=e(6)?Object.defineProperties:function(t,n){o(t);for(var e,u=i(n),c=u.length,a=0;c>a;)r.f(t,e=u[a++],n[e]);return t}},function(t,n,e){var r="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},o=e(15),i=e(39).f,u={}.toString,c="object"==("undefined"==typeof window?"undefined":r(window))&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(t){try{return i(t)}catch(t){return c.slice()}};t.exports.f=function(t){return c&&"[object Window]"==u.call(t)?a(t):i(o(t))}},function(t,n,e){"use strict";var r=e(36),o=e(64),i=e(57),u=e(9),c=e(56),a=Object.assign;t.exports=!a||e(3)(function(){var t={},n={},e=Symbol(),r="abcdefghijklmnopqrst";return t[e]=7,r.split("").forEach(function(t){n[t]=t}),7!=a({},t)[e]||Object.keys(a({},n)).join("")!=r})?function(t,n){for(var e=u(t),a=arguments.length,f=1,s=o.f,l=i.f;a>f;)for(var p,d=c(arguments[f++]),h=s?r(d).concat(s(d)):r(d),v=h.length,y=0;v>y;)l.call(d,p=h[y++])&&(e[p]=d[p]);return e}:a},function(t,n,e){"use strict";var r=e(10),o=e(4),i=e(130),u=[].slice,c={},a=function(t,n,e){if(!(n in c)){for(var r=[],o=0;o<n;o++)r[o]="a["+o+"]";c[n]=Function("F,a","return new F("+r.join(",")+")")}return c[n](t,e)};t.exports=Function.bind||function(t){var n=r(this),e=u.call(arguments,1),c=function r(){var o=e.concat(u.call(arguments));return this instanceof r?a(n,o.length,o):i(n,o,t)};return o(n.prototype)&&(c.prototype=n.prototype),c}},function(t,n){t.exports=function(t,n,e){var r=void 0===e;switch(n.length){case 0:return r?t():t.call(e);case 1:return r?t(n[0]):t.call(e,n[0]);case 2:return r?t(n[0],n[1]):t.call(e,n[0],n[1]);case 3:return r?t(n[0],n[1],n[2]):t.call(e,n[0],n[1],n[2]);case 4:return r?t(n[0],n[1],n[2],n[3]):t.call(e,n[0],n[1],n[2],n[3])}return t.apply(e,n)}},function(t,n,e){var r=e(2).parseInt,o=e(48).trim,i=e(87),u=/^[-+]?0[xX]/;t.exports=8!==r(i+"08")||22!==r(i+"0x16")?function(t,n){var e=o(String(t),3);return r(e,n>>>0||(u.test(e)?16:10))}:r},function(t,n,e){var r=e(2).parseFloat,o=e(48).trim;t.exports=1/r(e(87)+"-0")!=-1/0?function(t){var n=o(String(t),3),e=r(n);return 0===e&&"-"==n.charAt(0)?-0:e}:r},function(t,n,e){var r=e(20);t.exports=function(t,n){if("number"!=typeof t&&"Number"!=r(t))throw TypeError(n);return+t}},function(t,n,e){var r=e(4),o=Math.floor;t.exports=function(t){return!r(t)&&isFinite(t)&&o(t)===t}},function(t,n){t.exports=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:Math.log(1+t)}},function(t,n,e){var r=e(90),o=Math.pow,i=o(2,-52),u=o(2,-23),c=o(2,127)*(2-u),a=o(2,-126),f=function(t){return t+1/i-1/i};t.exports=Math.fround||function(t){var n,e,o=Math.abs(t),s=r(t);return o<a?s*f(o/a/u)*a*u:(n=(1+u/i)*o,e=n-(n-o),e>c||e!=e?s*(1/0):s*e)}},function(t,n,e){var r=e(1);t.exports=function(t,n,e,o){try{return o?n(r(e)[0],e[1]):n(e)}catch(n){var i=t.return;throw void 0!==i&&r(i.call(t)),n}}},function(t,n,e){var r=e(10),o=e(9),i=e(56),u=e(8);t.exports=function(t,n,e,c,a){r(n);var f=o(t),s=i(f),l=u(f.length),p=a?l-1:0,d=a?-1:1;if(e<2)for(;;){if(p in s){c=s[p],p+=d;break}if(p+=d,a?p<0:l<=p)throw TypeError("Reduce of empty array with no initial value")}for(;a?p>=0:l>p;p+=d)p in s&&(c=n(c,s[p],p,f));return c}},function(t,n,e){"use strict";var r=e(9),o=e(37),i=e(8);t.exports=[].copyWithin||function(t,n){var e=r(this),u=i(e.length),c=o(t,u),a=o(n,u),f=arguments.length>2?arguments[2]:void 0,s=Math.min((void 0===f?u:o(f,u))-a,u-c),l=1;for(a<c&&c<a+s&&(l=-1,a+=s-1,c+=s-1);s-- >0;)a in e?e[c]=e[a]:delete e[c],c+=l,a+=l;return e}},function(t,n){t.exports=function(t,n){return{value:n,done:!!t}}},function(t,n,e){e(6)&&"g"!=/./g.flags&&e(7).f(RegExp.prototype,"flags",{configurable:!0,get:e(68)})},function(t,n){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},function(t,n,e){var r=e(1),o=e(4),i=e(105);t.exports=function(t,n){if(r(t),o(n)&&n.constructor===t)return n;var e=i.f(t);return(0,e.resolve)(n),e.promise}},function(t,n,e){"use strict";var r=e(145),o=e(50);t.exports=e(72)("Map",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{get:function(t){var n=r.getEntry(o(this,"Map"),t);return n&&n.v},set:function(t,n){return r.def(o(this,"Map"),0===t?0:t,n)}},r,!0)},function(t,n,e){"use strict";var r=e(7).f,o=e(38),i=e(43),u=e(19),c=e(41),a=e(42),f=e(93),s=e(140),l=e(40),p=e(6),d=e(30).fastKey,h=e(50),v=p?"_s":"size",y=function(t,n){var e,r=d(n);if("F"!==r)return t._i[r];for(e=t._f;e;e=e.n)if(e.k==n)return e};t.exports={getConstructor:function(t,n,e,f){var s=t(function(t,r){c(t,s,n,"_i"),t._t=n,t._i=o(null),t._f=void 0,t._l=void 0,t[v]=0,void 0!=r&&a(r,e,t[f],t)});return i(s.prototype,{clear:function(){for(var t=h(this,n),e=t._i,r=t._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete e[r.i];t._f=t._l=void 0,t[v]=0},delete:function(t){var e=h(this,n),r=y(e,t);if(r){var o=r.n,i=r.p;delete e._i[r.i],r.r=!0,i&&(i.n=o),o&&(o.p=i),e._f==r&&(e._f=o),e._l==r&&(e._l=i),e[v]--}return!!r},forEach:function(t){h(this,n);for(var e,r=u(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.n:this._f;)for(r(e.v,e.k,this);e&&e.r;)e=e.p},has:function(t){return!!y(h(this,n),t)}}),p&&r(s.prototype,"size",{get:function(){return h(this,n)[v]}}),s},def:function(t,n,e){var r,o,i=y(t,n);return i?i.v=e:(t._l=i={i:o=d(n,!0),k:n,v:e,p:r=t._l,n:void 0,r:!1},t._f||(t._f=i),r&&(r.n=i),t[v]++,"F"!==o&&(t._i[o]=i)),t},getEntry:y,setStrong:function(t,n,e){f(t,n,function(t,e){this._t=h(t,n),this._k=e,this._l=void 0},function(){for(var t=this,n=t._k,e=t._l;e&&e.r;)e=e.p;return t._t&&(t._l=e=e?e.n:t._t._f)?"keys"==n?s(0,e.k):"values"==n?s(0,e.v):s(0,[e.k,e.v]):(t._t=void 0,s(1))},e?"entries":"values",!e,!0),l(n)}}},function(t,n,e){"use strict";var r=e(145),o=e(50);t.exports=e(72)("Set",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{add:function(t){return r.def(o(this,"Set"),t=0===t?0:t,t)}},r)},function(t,n,e){"use strict";var r,o=e(26)(0),i=e(12),u=e(30),c=e(128),a=e(148),f=e(4),s=e(3),l=e(50),p=u.getWeak,d=Object.isExtensible,h=a.ufstore,v={},y=function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},m={get:function(t){if(f(t)){var n=p(t);return!0===n?h(l(this,"WeakMap")).get(t):n?n[this._i]:void 0}},set:function(t,n){return a.def(l(this,"WeakMap"),t,n)}},g=t.exports=e(72)("WeakMap",y,m,a,!0,!0);s(function(){return 7!=(new g).set((Object.freeze||Object)(v),7).get(v)})&&(r=a.getConstructor(y,"WeakMap"),c(r.prototype,m),u.NEED=!0,o(["delete","has","get","set"],function(t){var n=g.prototype,e=n[t];i(n,t,function(n,o){if(f(n)&&!d(n)){this._f||(this._f=new r);var i=this._f[t](n,o);return"set"==t?this:i}return e.call(this,n,o)})}))},function(t,n,e){"use strict";var r=e(43),o=e(30).getWeak,i=e(1),u=e(4),c=e(41),a=e(42),f=e(26),s=e(14),l=e(50),p=f(5),d=f(6),h=0,v=function(t){return t._l||(t._l=new y)},y=function(){this.a=[]},m=function(t,n){return p(t.a,function(t){return t[0]===n})};y.prototype={get:function(t){var n=m(this,t);if(n)return n[1]},has:function(t){return!!m(this,t)},set:function(t,n){var e=m(this,t);e?e[1]=n:this.a.push([t,n])},delete:function(t){var n=d(this.a,function(n){return n[0]===t});return~n&&this.a.splice(n,1),!!~n}},t.exports={getConstructor:function(t,n,e,i){var f=t(function(t,r){c(t,f,n,"_i"),t._t=n,t._i=h++,t._l=void 0,void 0!=r&&a(r,e,t[i],t)});return r(f.prototype,{delete:function(t){if(!u(t))return!1;var e=o(t);return!0===e?v(l(this,n)).delete(t):e&&s(e,this._i)&&delete e[this._i]},has:function(t){if(!u(t))return!1;var e=o(t);return!0===e?v(l(this,n)).has(t):e&&s(e,this._i)}}),f},def:function(t,n,e){var r=o(i(n),!0);return!0===r?v(t).set(n,e):r[t._i]=e,t},ufstore:v}},function(t,n,e){var r=e(24),o=e(8);t.exports=function(t){if(void 0===t)return 0;var n=r(t),e=o(n);if(n!==e)throw RangeError("Wrong length!");return e}},function(t,n,e){var r=e(39),o=e(64),i=e(1),u=e(2).Reflect;t.exports=u&&u.ownKeys||function(t){var n=r.f(i(t)),e=o.f;return e?n.concat(e(t)):n}},function(t,n,e){"use strict";function r(t,n,e,f,s,l,p,d){for(var h,v,y=s,m=0,g=!!p&&c(p,d,3);m<f;){if(m in e){if(h=g?g(e[m],m,n):e[m],v=!1,i(h)&&(v=h[a],v=void 0!==v?!!v:o(h)),v&&l>0)y=r(t,n,h,u(h.length),y,l-1)-1;else{if(y>=9007199254740991)throw TypeError();t[y]=h}y++}m++}return y}var o=e(65),i=e(4),u=e(8),c=e(19),a=e(5)("isConcatSpreadable");t.exports=r},function(t,n,e){var r=e(8),o=e(89),i=e(23);t.exports=function(t,n,e,u){var c=String(i(t)),a=c.length,f=void 0===e?" ":String(e),s=r(n);if(s<=a||""==f)return c;var l=s-a,p=o.call(f,Math.ceil(l/f.length));return p.length>l&&(p=p.slice(0,l)),u?p+c:c+p}},function(t,n,e){var r=e(36),o=e(15),i=e(57).f;t.exports=function(t){return function(n){for(var e,u=o(n),c=r(u),a=c.length,f=0,s=[];a>f;)i.call(u,e=c[f++])&&s.push(t?[e,u[e]]:u[e]);return s}}},function(t,n,e){var r=e(58),o=e(155);t.exports=function(t){return function(){if(r(this)!=t)throw TypeError(t+"#toJSON isn't generic");return o(this)}}},function(t,n,e){var r=e(42);t.exports=function(t,n){var e=[];return r(t,!1,e.push,e,n),e}},function(t,n){t.exports=Math.scale||function(t,n,e,r,o){return 0===arguments.length||t!=t||n!=n||e!=e||r!=r||o!=o?NaN:t===1/0||t===-1/0?t:(t-n)*(o-r)/(e-n)+r}},function(t,n){(function(n){t.exports=n}).call(n,{})},function(t,n,e){var r=e(107);t.exports=function(t){return Object(r(t))}},function(t,n,e){var r=e(44),o=e(158),i=e(108)("IE_PROTO"),u=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,n,e){var r=e(397);t.exports=function(t,n,e){if(r(t),void 0===n)return t;switch(e){case 1:return function(e){return t.call(n,e)};case 2:return function(e,r){return t.call(n,e,r)};case 3:return function(e,r,o){return t.call(n,e,r,o)}}return function(){return t.apply(n,arguments)}}},function(t,n,e){t.exports=!e(46)&&!e(60)(function(){return 7!=Object.defineProperty(e(162)("div"),"a",{get:function(){return 7}}).a})},function(t,n,e){var r=e(53),o=e(33).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var o="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};n.__esModule=!0;var i=e(404),u=r(i),c=e(419),a=r(c),f="function"==typeof a.default&&"symbol"===o(u.default)?function(t){return void 0===t?"undefined":o(t)}:function(t){return t&&"function"==typeof a.default&&t.constructor===a.default&&t!==a.default.prototype?"symbol":void 0===t?"undefined":o(t)};n.default="function"==typeof a.default&&"symbol"===f(u.default)?function(t){return void 0===t?"undefined":f(t)}:function(t){return t&&"function"==typeof a.default&&t.constructor===a.default&&t!==a.default.prototype?"symbol":void 0===t?"undefined":f(t)}},function(t,n,e){"use strict";var r=e(77),o=e(51),i=e(165),u=e(52),c=e(112),a=e(408),f=e(116),s=e(159),l=e(55)("iterator"),p=!([].keys&&"next"in[].keys()),d=function(){return this};t.exports=function(t,n,e,h,v,y,m){a(e,n,h);var g,b,w,S=function(t){if(!p&&t in E)return E[t];switch(t){case"keys":case"values":return function(){return new e(this,t)}}return function(){return new e(this,t)}},x=n+" Iterator",O="values"==v,_=!1,E=t.prototype,M=E[l]||E["@@iterator"]||v&&E[v],T=M||S(v),P=v?O?S("entries"):T:void 0,j="Array"==n?E.entries||M:M;if(j&&(w=s(j.call(new t)))!==Object.prototype&&w.next&&(f(w,x,!0),r||"function"==typeof w[l]||u(w,l,d)),O&&M&&"values"!==M.name&&(_=!0,T=function(){return M.call(this)}),r&&!m||!p&&!_&&E[l]||u(E,l,T),c[n]=T,c[x]=d,v)if(g={values:O?T:S("values"),keys:y?T:S("keys"),entries:P},m)for(b in g)b in E||i(E,b,g[b]);else o(o.P+o.F*(p||_),n,g);return g}},function(t,n,e){t.exports=e(52)},function(t,n,e){var r=e(44),o=e(54),i=e(411)(!1),u=e(108)("IE_PROTO");t.exports=function(t,n){var e,c=o(t),a=0,f=[];for(e in c)e!=u&&r(c,e)&&f.push(e);for(;n.length>a;)r(c,e=n[a++])&&(~i(f,e)||f.push(e));return f}},function(t,n){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},function(t,n){n.f=Object.getOwnPropertySymbols},function(t,n,e){var r=e(166),o=e(115).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,n,e){var r=e(119),o=e(79),i=e(54),u=e(110),c=e(44),a=e(161),f=Object.getOwnPropertyDescriptor;n.f=e(46)?f:function(t,n){if(t=i(t),n=u(n,!0),a)try{return f(t,n)}catch(t){}if(c(t,n))return o(!r.f.call(t,n),t[n])}},function(t,n,e){"use strict";(function(n){var r=e(120),o=r;if("production"!==n.env.NODE_ENV){var i=function(t){for(var n=arguments.length,e=Array(n>1?n-1:0),r=1;r<n;r++)e[r-1]=arguments[r];var o=0,i="Warning: "+t.replace(/%s/g,function(){return e[o++]});"undefined"!=typeof console&&console.error(i);try{throw new Error(i)}catch(t){}};o=function(t,n){if(void 0===n)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(0!==n.indexOf("Failed Composite propType: ")&&!t){for(var e=arguments.length,r=Array(e>2?e-2:0),o=2;o<e;o++)r[o-2]=arguments[o];i.apply(void 0,[n].concat(r))}}}t.exports=o}).call(n,e(61))},,,,,,,,,,,,,,,function(t,n,e){t.exports=e(187)},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),function(t){function n(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}function r(t,n){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!n||"object"!=typeof n&&"function"!=typeof n?t:n}function o(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function, not "+typeof n);t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(t,n):t.__proto__=n)}var i=e(391),u=e.n(i),c=e(392),a=e.n(c),f=e(448),s=e.n(f),l=e(449),p=e.n(l),d=function(){function t(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(n,e,r){return e&&t(n.prototype,e),r&&t(n,r),n}}();t._babelPolyfill||e(188);var h=window.VPAdminGutenbergVariables,v=wp.i18n.__,y=wp.element,m=y.Component,g=y.Fragment,b=y.RawHTML,w=wp.blocks.registerBlockType,S=wp.components,x=S.Placeholder,O=S.Spinner,_=S.SelectControl,E=wp,M=E.apiFetch,T=wp.data,P=T.registerStore,j=T.withSelect,I={setPortfolioLayouts:function(t,n){return{type:"SET_PORTFOLIO_LAYOUTS",query:t,layouts:n}},getPortfolioLayouts:function(t){return{type:"GET_PORTFOLIO_LAYOUTS",query:t}}};P("nk/visual-portfolio",{reducer:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{layouts:{}},n=arguments[1];switch(n.type){case"SET_PORTFOLIO_LAYOUTS":return!t.layouts[n.query]&&n.layouts&&(t.layouts[n.query]=n.layouts),t;case"GET_PORTFOLIO_LAYOUTS":return n.layouts[n.query]}return t},actions:I,selectors:{getPortfolioLayouts:function(t,n){return t.layouts[n]}},resolvers:{getPortfolioLayouts:regeneratorRuntime.mark(function t(n,e){var r;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return r=M({path:e}).catch(function(t){return!(!t||!t.error||"no_layouts_found"!==t.error_code)&&{response:[],error:!1,success:!0}}).then(function(t){return!!(t&&t.success&&t.response)&&I.setPortfolioLayouts(e,t.response)}),t.next=3,r;case 3:case"end":return t.stop()}},t,this)})}});var k=function(t){function e(){return n(this,e),r(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return o(e,t),d(e,[{key:"shouldComponentUpdate",value:function(t){return this.props.attributes.id!==t.attributes.id||this.props.portfolioLayouts!==t.portfolioLayouts||this.props.className!==t.className}},{key:"render",value:function(){var t=this.props,n=t.portfolioLayouts,e=t.attributes,r=t.setAttributes,o=this.props.className,i=e.id,c=e.ghostkitClassname,f=!1,s=!1;c&&(o=u()(o,c)),n?(f=[{label:v("--- Select layout ---"),value:""}],Object.keys(n).map(function(t){var e=n[t];f.push({label:"#"+e.id+" - "+e.title,value:e.id}),i&&parseInt(i,10)===e.id&&(s=e.edit_url)})):i&&(f=[{label:"#"+i,value:i}]);var l=h.preview_url+(h.preview_url.split("?")[1]?"&":"?")+"vp_preview_frame=true&vp_preview_frame_id="+i;return wp.element.createElement("div",{className:o},wp.element.createElement(x,{className:"visual-portfolio-gutenberg-placeholder",icon:wp.element.createElement("img",{className:"visual-portfolio-gutenberg-icon",src:p.a,alt:"visual-portfolio-icon"}),label:v("Visual Portfolio")},!Array.isArray(f)&&wp.element.createElement(O,null),Array.isArray(f)&&f.length&&wp.element.createElement(g,null,s&&wp.element.createElement("a",{href:s,target:"_blank"},v("Edit Layout")),wp.element.createElement(_,{value:i,onChange:function(t){return r({id:t})},options:f})),Array.isArray(f)&&!f.length&&v("No portfolio layouts found.")),i?wp.element.createElement("div",{className:"visual-portfolio-gutenberg-preview"},wp.element.createElement(a.a,{src:l,iframeResizerOptions:{resizedCallback:function(t){t.iframe&&jQuery(t.iframe).css("margin-bottom",-jQuery(t.iframe).height()/2)}}})):"")}}]),e}(m);w("nk/visual-portfolio",{title:"Visual Portfolio",icon:wp.element.createElement("img",{className:"dashicon visual-portfolio-gutenberg-icon",src:s.a,alt:"visual-portfolio-icon"}),category:"common",keywords:["visual portfolio","vp","portfolio"],supports:{anchor:!0,className:!0,html:!1,align:["wide","full"],ghostkitIndents:!0,ghostkitDisplay:!0},attributes:{id:{type:"string"}},edit:j(function(t){return{portfolioLayouts:t("nk/visual-portfolio").getPortfolioLayouts("/visual-portfolio/v1/get_layouts/")}})(k),save:function(t){var n=t.attributes,e=t.className,r=n.id,o="[visual_portfolio";return r&&(o+=' id="'+r+'"'),e&&(o+=' class="'+e+'"'),o+="]",wp.element.createElement(b,null,o)}})}.call(n,e(80))},function(t,n,e){"use strict";(function(t){function n(t,n,e){t[n]||Object[r](t,n,{writable:!0,configurable:!0,value:e})}if(e(189),e(386),e(388),t._babelPolyfill)throw new Error("only one instance of babel-polyfill is allowed");t._babelPolyfill=!0;var r="defineProperty";n(String.prototype,"padLeft","".padStart),n(String.prototype,"padRight","".padEnd),"pop,reverse,shift,keys,values,entries,indexOf,every,some,forEach,map,filter,find,findIndex,includes,join,slice,concat,push,splice,unshift,sort,lastIndexOf,reduce,reduceRight,copyWithin,fill".split(",").forEach(function(t){[][t]&&n(Array,t,Function.call.bind([][t]))})}).call(n,e(80))},function(t,n,e){e(190),e(192),e(193),e(194),e(195),e(196),e(197),e(198),e(199),e(200),e(201),e(202),e(203),e(204),e(205),e(206),e(208),e(209),e(210),e(211),e(212),e(213),e(214),e(215),e(216),e(217),e(218),e(219),e(220),e(221),e(222),e(223),e(224),e(225),e(226),e(227),e(228),e(229),e(230),e(231),e(232),e(233),e(234),e(235),e(236),e(237),e(238),e(239),e(240),e(241),e(242),e(243),e(244),e(245),e(246),e(247),e(248),e(249),e(250),e(251),e(252),e(253),e(254),e(255),e(256),e(257),e(258),e(259),e(260),e(261),e(262),e(263),e(264),e(265),e(266),e(267),e(268),e(270),e(271),e(273),e(274),e(275),e(276),e(277),e(278),e(279),e(281),e(282),e(283),e(284),e(285),e(286),e(287),e(288),e(289),e(290),e(291),e(292),e(293),e(102),e(294),e(295),e(141),e(296),e(297),e(298),e(299),e(300),e(144),e(146),e(147),e(301),e(302),e(303),e(304),e(305),e(306),e(307),e(308),e(309),e(310),e(311),e(312),e(313),e(314),e(315),e(316),e(317),e(318),e(319),e(320),e(321),e(322),e(323),e(324),e(325),e(326),e(327),e(328),e(329),e(330),e(331),e(332),e(333),e(334),e(335),e(336),e(337),e(338),e(339),e(340),e(341),e(342),e(343),e(344),e(345),e(346),e(347),e(348),e(349),e(350),e(351),e(352),e(353),e(354),e(355),e(356),e(357),e(358),e(359),e(360),e(361),e(362),e(363),e(364),e(365),e(366),e(367),e(368),e(369),e(370),e(371),e(372),e(373),e(374),e(375),e(376),e(377),e(378),e(379),e(380),e(381),e(382),e(383),e(384),e(385),t.exports=e(18)},function(t,n,e){"use strict";var r="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},o=e(2),i=e(14),u=e(6),c=e(0),a=e(12),f=e(30).KEY,s=e(3),l=e(62),p=e(47),d=e(35),h=e(5),v=e(124),y=e(82),m=e(191),g=e(65),b=e(1),w=e(4),S=e(15),x=e(22),O=e(34),_=e(38),E=e(127),M=e(16),T=e(7),P=e(36),j=M.f,I=T.f,k=E.f,F=o.Symbol,N=o.JSON,A=N&&N.stringify,R=h("_hidden"),L=h("toPrimitive"),C={}.propertyIsEnumerable,z=l("symbol-registry"),D=l("symbols"),W=l("op-symbols"),V=Object.prototype,B="function"==typeof F,U=o.QObject,G=!U||!U.prototype||!U.prototype.findChild,H=u&&s(function(){return 7!=_(I({},"a",{get:function(){return I(this,"a",{value:7}).a}})).a})?function(t,n,e){var r=j(V,n);r&&delete V[n],I(t,n,e),r&&t!==V&&I(V,n,r)}:I,q=function(t){var n=D[t]=_(F.prototype);return n._k=t,n},Y=B&&"symbol"==r(F.iterator)?function(t){return"symbol"==(void 0===t?"undefined":r(t))}:function(t){return t instanceof F},J=function(t,n,e){return t===V&&J(W,n,e),b(t),n=x(n,!0),b(e),i(D,n)?(e.enumerable?(i(t,R)&&t[R][n]&&(t[R][n]=!1),e=_(e,{enumerable:O(0,!1)})):(i(t,R)||I(t,R,O(1,{})),t[R][n]=!0),H(t,n,e)):I(t,n,e)},K=function(t,n){b(t);for(var e,r=m(n=S(n)),o=0,i=r.length;i>o;)J(t,e=r[o++],n[e]);return t},X=function(t,n){return void 0===n?_(t):K(_(t),n)},Q=function(t){var n=C.call(this,t=x(t,!0));return!(this===V&&i(D,t)&&!i(W,t))&&(!(n||!i(this,t)||!i(D,t)||i(this,R)&&this[R][t])||n)},$=function(t,n){if(t=S(t),n=x(n,!0),t!==V||!i(D,n)||i(W,n)){var e=j(t,n);return!e||!i(D,n)||i(t,R)&&t[R][n]||(e.enumerable=!0),e}},Z=function(t){for(var n,e=k(S(t)),r=[],o=0;e.length>o;)i(D,n=e[o++])||n==R||n==f||r.push(n);return r},tt=function(t){for(var n,e=t===V,r=k(e?W:S(t)),o=[],u=0;r.length>u;)!i(D,n=r[u++])||e&&!i(V,n)||o.push(D[n]);return o};B||(F=function(){if(this instanceof F)throw TypeError("Symbol is not a constructor!");var t=d(arguments.length>0?arguments[0]:void 0),n=function n(e){this===V&&n.call(W,e),i(this,R)&&i(this[R],t)&&(this[R][t]=!1),H(this,t,O(1,e))};return u&&G&&H(V,t,{configurable:!0,set:n}),q(t)},a(F.prototype,"toString",function(){return this._k}),M.f=$,T.f=J,e(39).f=E.f=Z,e(57).f=Q,e(64).f=tt,u&&!e(31)&&a(V,"propertyIsEnumerable",Q,!0),v.f=function(t){return q(h(t))}),c(c.G+c.W+c.F*!B,{Symbol:F});for(var nt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),et=0;nt.length>et;)h(nt[et++]);for(var rt=P(h.store),ot=0;rt.length>ot;)y(rt[ot++]);c(c.S+c.F*!B,"Symbol",{for:function(t){return i(z,t+="")?z[t]:z[t]=F(t)},keyFor:function(t){if(!Y(t))throw TypeError(t+" is not a symbol!");for(var n in z)if(z[n]===t)return n},useSetter:function(){G=!0},useSimple:function(){G=!1}}),c(c.S+c.F*!B,"Object",{create:X,defineProperty:J,defineProperties:K,getOwnPropertyDescriptor:$,getOwnPropertyNames:Z,getOwnPropertySymbols:tt}),N&&c(c.S+c.F*(!B||s(function(){var t=F();return"[null]"!=A([t])||"{}"!=A({a:t})||"{}"!=A(Object(t))})),"JSON",{stringify:function(t){for(var n,e,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);if(e=n=r[1],(w(n)||void 0!==t)&&!Y(t))return g(n)||(n=function(t,n){if("function"==typeof e&&(n=e.call(this,t,n)),!Y(n))return n}),r[1]=n,A.apply(N,r)}}),F.prototype[L]||e(11)(F.prototype,L,F.prototype.valueOf),p(F,"Symbol"),p(Math,"Math",!0),p(o.JSON,"JSON",!0)},function(t,n,e){var r=e(36),o=e(64),i=e(57);t.exports=function(t){var n=r(t),e=o.f;if(e)for(var u,c=e(t),a=i.f,f=0;c.length>f;)a.call(t,u=c[f++])&&n.push(u);return n}},function(t,n,e){var r=e(0);r(r.S,"Object",{create:e(38)})},function(t,n,e){var r=e(0);r(r.S+r.F*!e(6),"Object",{defineProperty:e(7).f})},function(t,n,e){var r=e(0);r(r.S+r.F*!e(6),"Object",{defineProperties:e(126)})},function(t,n,e){var r=e(15),o=e(16).f;e(25)("getOwnPropertyDescriptor",function(){return function(t,n){return o(r(t),n)}})},function(t,n,e){var r=e(9),o=e(17);e(25)("getPrototypeOf",function(){return function(t){return o(r(t))}})},function(t,n,e){var r=e(9),o=e(36);e(25)("keys",function(){return function(t){return o(r(t))}})},function(t,n,e){e(25)("getOwnPropertyNames",function(){return e(127).f})},function(t,n,e){var r=e(4),o=e(30).onFreeze;e(25)("freeze",function(t){return function(n){return t&&r(n)?t(o(n)):n}})},function(t,n,e){var r=e(4),o=e(30).onFreeze;e(25)("seal",function(t){return function(n){return t&&r(n)?t(o(n)):n}})},function(t,n,e){var r=e(4),o=e(30).onFreeze;e(25)("preventExtensions",function(t){return function(n){return t&&r(n)?t(o(n)):n}})},function(t,n,e){var r=e(4);e(25)("isFrozen",function(t){return function(n){return!r(n)||!!t&&t(n)}})},function(t,n,e){var r=e(4);e(25)("isSealed",function(t){return function(n){return!r(n)||!!t&&t(n)}})},function(t,n,e){var r=e(4);e(25)("isExtensible",function(t){return function(n){return!!r(n)&&(!t||t(n))}})},function(t,n,e){var r=e(0);r(r.S+r.F,"Object",{assign:e(128)})},function(t,n,e){var r=e(0);r(r.S,"Object",{is:e(207)})},function(t,n){t.exports=Object.is||function(t,n){return t===n?0!==t||1/t==1/n:t!=t&&n!=n}},function(t,n,e){var r=e(0);r(r.S,"Object",{setPrototypeOf:e(86).set})},function(t,n,e){"use strict";var r=e(58),o={};o[e(5)("toStringTag")]="z",o+""!="[object z]"&&e(12)(Object.prototype,"toString",function(){return"[object "+r(this)+"]"},!0)},function(t,n,e){var r=e(0);r(r.P,"Function",{bind:e(129)})},function(t,n,e){var r=e(7).f,o=Function.prototype,i=/^\s*function ([^ (]*)/;"name"in o||e(6)&&r(o,"name",{configurable:!0,get:function(){try{return(""+this).match(i)[1]}catch(t){return""}}})},function(t,n,e){"use strict";var r=e(4),o=e(17),i=e(5)("hasInstance"),u=Function.prototype;i in u||e(7).f(u,i,{value:function(t){if("function"!=typeof this||!r(t))return!1;if(!r(this.prototype))return t instanceof this;for(;t=o(t);)if(this.prototype===t)return!0;return!1}})},function(t,n,e){var r=e(0),o=e(131);r(r.G+r.F*(parseInt!=o),{parseInt:o})},function(t,n,e){var r=e(0),o=e(132);r(r.G+r.F*(parseFloat!=o),{parseFloat:o})},function(t,n,e){"use strict";var r=e(2),o=e(14),i=e(20),u=e(88),c=e(22),a=e(3),f=e(39).f,s=e(16).f,l=e(7).f,p=e(48).trim,d=r.Number,h=d,v=d.prototype,y="Number"==i(e(38)(v)),m="trim"in String.prototype,g=function(t){var n=c(t,!1);if("string"==typeof n&&n.length>2){n=m?n.trim():p(n,3);var e,r,o,i=n.charCodeAt(0);if(43===i||45===i){if(88===(e=n.charCodeAt(2))||120===e)return NaN}else if(48===i){switch(n.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+n}for(var u,a=n.slice(2),f=0,s=a.length;f<s;f++)if((u=a.charCodeAt(f))<48||u>o)return NaN;return parseInt(a,r)}}return+n};if(!d(" 0o1")||!d("0b1")||d("+0x1")){d=function(t){var n=arguments.length<1?0:t,e=this;return e instanceof d&&(y?a(function(){v.valueOf.call(e)}):"Number"!=i(e))?u(new h(g(n)),e,d):g(n)};for(var b,w=e(6)?f(h):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),S=0;w.length>S;S++)o(h,b=w[S])&&!o(d,b)&&l(d,b,s(h,b));d.prototype=v,v.constructor=d,e(12)(r,"Number",d)}},function(t,n,e){"use strict";var r=e(0),o=e(24),i=e(133),u=e(89),c=1..toFixed,a=Math.floor,f=[0,0,0,0,0,0],s="Number.toFixed: incorrect invocation!",l=function(t,n){for(var e=-1,r=n;++e<6;)r+=t*f[e],f[e]=r%1e7,r=a(r/1e7)},p=function(t){for(var n=6,e=0;--n>=0;)e+=f[n],f[n]=a(e/t),e=e%t*1e7},d=function(){for(var t=6,n="";--t>=0;)if(""!==n||0===t||0!==f[t]){var e=String(f[t]);n=""===n?e:n+u.call("0",7-e.length)+e}return n},h=function t(n,e,r){return 0===e?r:e%2==1?t(n,e-1,r*n):t(n*n,e/2,r)},v=function(t){for(var n=0,e=t;e>=4096;)n+=12,e/=4096;for(;e>=2;)n+=1,e/=2;return n};r(r.P+r.F*(!!c&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!e(3)(function(){c.call({})})),"Number",{toFixed:function(t){var n,e,r,c,a=i(this,s),f=o(t),y="",m="0";if(f<0||f>20)throw RangeError(s);if(a!=a)return"NaN";if(a<=-1e21||a>=1e21)return String(a);if(a<0&&(y="-",a=-a),a>1e-21)if(n=v(a*h(2,69,1))-69,e=n<0?a*h(2,-n,1):a/h(2,n,1),e*=4503599627370496,(n=52-n)>0){for(l(0,e),r=f;r>=7;)l(1e7,0),r-=7;for(l(h(10,r,1),0),r=n-1;r>=23;)p(1<<23),r-=23;p(1<<r),l(1,1),p(2),m=d()}else l(0,e),l(1<<-n,0),m=d()+u.call("0",f);return f>0?(c=m.length,m=y+(c<=f?"0."+u.call("0",f-c)+m:m.slice(0,c-f)+"."+m.slice(c-f))):m=y+m,m}})},function(t,n,e){"use strict";var r=e(0),o=e(3),i=e(133),u=1..toPrecision;r(r.P+r.F*(o(function(){return"1"!==u.call(1,void 0)})||!o(function(){u.call({})})),"Number",{toPrecision:function(t){var n=i(this,"Number#toPrecision: incorrect invocation!");return void 0===t?u.call(n):u.call(n,t)}})},function(t,n,e){var r=e(0);r(r.S,"Number",{EPSILON:Math.pow(2,-52)})},function(t,n,e){var r=e(0),o=e(2).isFinite;r(r.S,"Number",{isFinite:function(t){return"number"==typeof t&&o(t)}})},function(t,n,e){var r=e(0);r(r.S,"Number",{isInteger:e(134)})},function(t,n,e){var r=e(0);r(r.S,"Number",{isNaN:function(t){return t!=t}})},function(t,n,e){var r=e(0),o=e(134),i=Math.abs;r(r.S,"Number",{isSafeInteger:function(t){return o(t)&&i(t)<=9007199254740991}})},function(t,n,e){var r=e(0);r(r.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},function(t,n,e){var r=e(0);r(r.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},function(t,n,e){var r=e(0),o=e(132);r(r.S+r.F*(Number.parseFloat!=o),"Number",{parseFloat:o})},function(t,n,e){var r=e(0),o=e(131);r(r.S+r.F*(Number.parseInt!=o),"Number",{parseInt:o})},function(t,n,e){var r=e(0),o=e(135),i=Math.sqrt,u=Math.acosh;r(r.S+r.F*!(u&&710==Math.floor(u(Number.MAX_VALUE))&&u(1/0)==1/0),"Math",{acosh:function(t){return(t=+t)<1?NaN:t>94906265.62425156?Math.log(t)+Math.LN2:o(t-1+i(t-1)*i(t+1))}})},function(t,n,e){function r(t){return isFinite(t=+t)&&0!=t?t<0?-r(-t):Math.log(t+Math.sqrt(t*t+1)):t}var o=e(0),i=Math.asinh;o(o.S+o.F*!(i&&1/i(0)>0),"Math",{asinh:r})},function(t,n,e){var r=e(0),o=Math.atanh;r(r.S+r.F*!(o&&1/o(-0)<0),"Math",{atanh:function(t){return 0==(t=+t)?t:Math.log((1+t)/(1-t))/2}})},function(t,n,e){var r=e(0),o=e(90);r(r.S,"Math",{cbrt:function(t){return o(t=+t)*Math.pow(Math.abs(t),1/3)}})},function(t,n,e){var r=e(0);r(r.S,"Math",{clz32:function(t){return(t>>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})},function(t,n,e){var r=e(0),o=Math.exp;r(r.S,"Math",{cosh:function(t){return(o(t=+t)+o(-t))/2}})},function(t,n,e){var r=e(0),o=e(91);r(r.S+r.F*(o!=Math.expm1),"Math",{expm1:o})},function(t,n,e){var r=e(0);r(r.S,"Math",{fround:e(136)})},function(t,n,e){var r=e(0),o=Math.abs;r(r.S,"Math",{hypot:function(t,n){for(var e,r,i=0,u=0,c=arguments.length,a=0;u<c;)e=o(arguments[u++]),a<e?(r=a/e,i=i*r*r+1,a=e):e>0?(r=e/a,i+=r*r):i+=e;return a===1/0?1/0:a*Math.sqrt(i)}})},function(t,n,e){var r=e(0),o=Math.imul;r(r.S+r.F*e(3)(function(){return-5!=o(4294967295,5)||2!=o.length}),"Math",{imul:function(t,n){var e=+t,r=+n,o=65535&e,i=65535&r;return 0|o*i+((65535&e>>>16)*i+o*(65535&r>>>16)<<16>>>0)}})},function(t,n,e){var r=e(0);r(r.S,"Math",{log10:function(t){return Math.log(t)*Math.LOG10E}})},function(t,n,e){var r=e(0);r(r.S,"Math",{log1p:e(135)})},function(t,n,e){var r=e(0);r(r.S,"Math",{log2:function(t){return Math.log(t)/Math.LN2}})},function(t,n,e){var r=e(0);r(r.S,"Math",{sign:e(90)})},function(t,n,e){var r=e(0),o=e(91),i=Math.exp;r(r.S+r.F*e(3)(function(){return-2e-17!=!Math.sinh(-2e-17)}),"Math",{sinh:function(t){return Math.abs(t=+t)<1?(o(t)-o(-t))/2:(i(t-1)-i(-t-1))*(Math.E/2)}})},function(t,n,e){var r=e(0),o=e(91),i=Math.exp;r(r.S,"Math",{tanh:function(t){var n=o(t=+t),e=o(-t);return n==1/0?1:e==1/0?-1:(n-e)/(i(t)+i(-t))}})},function(t,n,e){var r=e(0);r(r.S,"Math",{trunc:function(t){return(t>0?Math.floor:Math.ceil)(t)}})},function(t,n,e){var r=e(0),o=e(37),i=String.fromCharCode,u=String.fromCodePoint;r(r.S+r.F*(!!u&&1!=u.length),"String",{fromCodePoint:function(t){for(var n,e=[],r=arguments.length,u=0;r>u;){if(n=+arguments[u++],o(n,1114111)!==n)throw RangeError(n+" is not a valid code point");e.push(n<65536?i(n):i(55296+((n-=65536)>>10),n%1024+56320))}return e.join("")}})},function(t,n,e){var r=e(0),o=e(15),i=e(8);r(r.S,"String",{raw:function(t){for(var n=o(t.raw),e=i(n.length),r=arguments.length,u=[],c=0;e>c;)u.push(String(n[c++])),c<r&&u.push(String(arguments[c]));return u.join("")}})},function(t,n,e){"use strict";e(48)("trim",function(t){return function(){return t(this,3)}})},function(t,n,e){"use strict";var r=e(92)(!0);e(93)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,n=this._t,e=this._i;return e>=n.length?{value:void 0,done:!0}:(t=r(n,e),this._i+=t.length,{value:t,done:!1})})},function(t,n,e){"use strict";var r=e(0),o=e(92)(!1);r(r.P,"String",{codePointAt:function(t){return o(this,t)}})},function(t,n,e){"use strict";var r=e(0),o=e(8),i=e(95),u="".endsWith;r(r.P+r.F*e(96)("endsWith"),"String",{endsWith:function(t){var n=i(this,t,"endsWith"),e=arguments.length>1?arguments[1]:void 0,r=o(n.length),c=void 0===e?r:Math.min(o(e),r),a=String(t);return u?u.call(n,a,c):n.slice(c-a.length,c)===a}})},function(t,n,e){"use strict";var r=e(0),o=e(95);r(r.P+r.F*e(96)("includes"),"String",{includes:function(t){return!!~o(this,t,"includes").indexOf(t,arguments.length>1?arguments[1]:void 0)}})},function(t,n,e){var r=e(0);r(r.P,"String",{repeat:e(89)})},function(t,n,e){"use strict";var r=e(0),o=e(8),i=e(95),u="".startsWith;r(r.P+r.F*e(96)("startsWith"),"String",{startsWith:function(t){var n=i(this,t,"startsWith"),e=o(Math.min(arguments.length>1?arguments[1]:void 0,n.length)),r=String(t);return u?u.call(n,r,e):n.slice(e,e+r.length)===r}})},function(t,n,e){"use strict";e(13)("anchor",function(t){return function(n){return t(this,"a","name",n)}})},function(t,n,e){"use strict";e(13)("big",function(t){return function(){return t(this,"big","","")}})},function(t,n,e){"use strict";e(13)("blink",function(t){return function(){return t(this,"blink","","")}})},function(t,n,e){"use strict";e(13)("bold",function(t){return function(){return t(this,"b","","")}})},function(t,n,e){"use strict";e(13)("fixed",function(t){return function(){return t(this,"tt","","")}})},function(t,n,e){"use strict";e(13)("fontcolor",function(t){return function(n){return t(this,"font","color",n)}})},function(t,n,e){"use strict";e(13)("fontsize",function(t){return function(n){return t(this,"font","size",n)}})},function(t,n,e){"use strict";e(13)("italics",function(t){return function(){return t(this,"i","","")}})},function(t,n,e){"use strict";e(13)("link",function(t){return function(n){return t(this,"a","href",n)}})},function(t,n,e){"use strict";e(13)("small",function(t){return function(){return t(this,"small","","")}})},function(t,n,e){"use strict";e(13)("strike",function(t){return function(){return t(this,"strike","","")}})},function(t,n,e){"use strict";e(13)("sub",function(t){return function(){return t(this,"sub","","")}})},function(t,n,e){"use strict";e(13)("sup",function(t){return function(){return t(this,"sup","","")}})},function(t,n,e){var r=e(0);r(r.S,"Date",{now:function(){return(new Date).getTime()}})},function(t,n,e){"use strict";var r=e(0),o=e(9),i=e(22);r(r.P+r.F*e(3)(function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}),"Date",{toJSON:function(t){var n=o(this),e=i(n);return"number"!=typeof e||isFinite(e)?n.toISOString():null}})},function(t,n,e){var r=e(0),o=e(269);r(r.P+r.F*(Date.prototype.toISOString!==o),"Date",{toISOString:o})},function(t,n,e){"use strict";var r=e(3),o=Date.prototype.getTime,i=Date.prototype.toISOString,u=function(t){return t>9?t:"0"+t};t.exports=r(function(){return"0385-07-25T07:06:39.999Z"!=i.call(new Date(-5e13-1))})||!r(function(){i.call(new Date(NaN))})?function(){if(!isFinite(o.call(this)))throw RangeError("Invalid time value");var t=this,n=t.getUTCFullYear(),e=t.getUTCMilliseconds(),r=n<0?"-":n>9999?"+":"";return r+("00000"+Math.abs(n)).slice(r?-6:-4)+"-"+u(t.getUTCMonth()+1)+"-"+u(t.getUTCDate())+"T"+u(t.getUTCHours())+":"+u(t.getUTCMinutes())+":"+u(t.getUTCSeconds())+"."+(e>99?e:"0"+u(e))+"Z"}:i},function(t,n,e){var r=Date.prototype,o=r.toString,i=r.getTime;new Date(NaN)+""!="Invalid Date"&&e(12)(r,"toString",function(){var t=i.call(this);return t===t?o.call(this):"Invalid Date"})},function(t,n,e){var r=e(5)("toPrimitive"),o=Date.prototype;r in o||e(11)(o,r,e(272))},function(t,n,e){"use strict";var r=e(1),o=e(22);t.exports=function(t){if("string"!==t&&"number"!==t&&"default"!==t)throw TypeError("Incorrect hint");return o(r(this),"number"!=t)}},function(t,n,e){var r=e(0);r(r.S,"Array",{isArray:e(65)})},function(t,n,e){"use strict";var r=e(19),o=e(0),i=e(9),u=e(137),c=e(97),a=e(8),f=e(98),s=e(99);o(o.S+o.F*!e(67)(function(t){Array.from(t)}),"Array",{from:function(t){var n,e,o,l,p=i(t),d="function"==typeof this?this:Array,h=arguments.length,v=h>1?arguments[1]:void 0,y=void 0!==v,m=0,g=s(p);if(y&&(v=r(v,h>2?arguments[2]:void 0,2)),void 0==g||d==Array&&c(g))for(n=a(p.length),e=new d(n);n>m;m++)f(e,m,y?v(p[m],m):p[m]);else for(l=g.call(p),e=new d;!(o=l.next()).done;m++)f(e,m,y?u(l,v,[o.value,m],!0):o.value);return e.length=m,e}})},function(t,n,e){"use strict";var r=e(0),o=e(98);r(r.S+r.F*e(3)(function(){function t(){}return!(Array.of.call(t)instanceof t)}),"Array",{of:function(){for(var t=0,n=arguments.length,e=new("function"==typeof this?this:Array)(n);n>t;)o(e,t,arguments[t++]);return e.length=n,e}})},function(t,n,e){"use strict";var r=e(0),o=e(15),i=[].join;r(r.P+r.F*(e(56)!=Object||!e(21)(i)),"Array",{join:function(t){return i.call(o(this),void 0===t?",":t)}})},function(t,n,e){"use strict";var r=e(0),o=e(85),i=e(20),u=e(37),c=e(8),a=[].slice;r(r.P+r.F*e(3)(function(){o&&a.call(o)}),"Array",{slice:function(t,n){var e=c(this.length),r=i(this);if(n=void 0===n?e:n,"Array"==r)return a.call(this,t,n);for(var o=u(t,e),f=u(n,e),s=c(f-o),l=new Array(s),p=0;p<s;p++)l[p]="String"==r?this.charAt(o+p):this[o+p];return l}})},function(t,n,e){"use strict";var r=e(0),o=e(10),i=e(9),u=e(3),c=[].sort,a=[1,2,3];r(r.P+r.F*(u(function(){a.sort(void 0)})||!u(function(){a.sort(null)})||!e(21)(c)),"Array",{sort:function(t){return void 0===t?c.call(i(this)):c.call(i(this),o(t))}})},function(t,n,e){"use strict";var r=e(0),o=e(26)(0),i=e(21)([].forEach,!0);r(r.P+r.F*!i,"Array",{forEach:function(t){return o(this,t,arguments[1])}})},function(t,n,e){var r=e(4),o=e(65),i=e(5)("species");t.exports=function(t){var n;return o(t)&&(n=t.constructor,"function"!=typeof n||n!==Array&&!o(n.prototype)||(n=void 0),r(n)&&null===(n=n[i])&&(n=void 0)),void 0===n?Array:n}},function(t,n,e){"use strict";var r=e(0),o=e(26)(1);r(r.P+r.F*!e(21)([].map,!0),"Array",{map:function(t){return o(this,t,arguments[1])}})},function(t,n,e){"use strict";var r=e(0),o=e(26)(2);r(r.P+r.F*!e(21)([].filter,!0),"Array",{filter:function(t){return o(this,t,arguments[1])}})},function(t,n,e){"use strict";var r=e(0),o=e(26)(3);r(r.P+r.F*!e(21)([].some,!0),"Array",{some:function(t){return o(this,t,arguments[1])}})},function(t,n,e){"use strict";var r=e(0),o=e(26)(4);r(r.P+r.F*!e(21)([].every,!0),"Array",{every:function(t){return o(this,t,arguments[1])}})},function(t,n,e){"use strict";var r=e(0),o=e(138);r(r.P+r.F*!e(21)([].reduce,!0),"Array",{reduce:function(t){return o(this,t,arguments.length,arguments[1],!1)}})},function(t,n,e){"use strict";var r=e(0),o=e(138);r(r.P+r.F*!e(21)([].reduceRight,!0),"Array",{reduceRight:function(t){return o(this,t,arguments.length,arguments[1],!0)}})},function(t,n,e){"use strict";var r=e(0),o=e(63)(!1),i=[].indexOf,u=!!i&&1/[1].indexOf(1,-0)<0;r(r.P+r.F*(u||!e(21)(i)),"Array",{indexOf:function(t){return u?i.apply(this,arguments)||0:o(this,t,arguments[1])}})},function(t,n,e){"use strict";var r=e(0),o=e(15),i=e(24),u=e(8),c=[].lastIndexOf,a=!!c&&1/[1].lastIndexOf(1,-0)<0;r(r.P+r.F*(a||!e(21)(c)),"Array",{lastIndexOf:function(t){if(a)return c.apply(this,arguments)||0;var n=o(this),e=u(n.length),r=e-1;for(arguments.length>1&&(r=Math.min(r,i(arguments[1]))),r<0&&(r=e+r);r>=0;r--)if(r in n&&n[r]===t)return r||0;return-1}})},function(t,n,e){var r=e(0);r(r.P,"Array",{copyWithin:e(139)}),e(32)("copyWithin")},function(t,n,e){var r=e(0);r(r.P,"Array",{fill:e(101)}),e(32)("fill")},function(t,n,e){"use strict";var r=e(0),o=e(26)(5),i=!0;"find"in[]&&Array(1).find(function(){i=!1}),r(r.P+r.F*i,"Array",{find:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),e(32)("find")},function(t,n,e){"use strict";var r=e(0),o=e(26)(6),i="findIndex",u=!0;i in[]&&Array(1)[i](function(){u=!1}),r(r.P+r.F*u,"Array",{findIndex:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),e(32)(i)},function(t,n,e){e(40)("Array")},function(t,n,e){var r=e(2),o=e(88),i=e(7).f,u=e(39).f,c=e(66),a=e(68),f=r.RegExp,s=f,l=f.prototype,p=/a/g,d=/a/g,h=new f(p)!==p;if(e(6)&&(!h||e(3)(function(){return d[e(5)("match")]=!1,f(p)!=p||f(d)==d||"/a/i"!=f(p,"i")}))){f=function(t,n){var e=this instanceof f,r=c(t),i=void 0===n;return!e&&r&&t.constructor===f&&i?t:o(h?new s(r&&!i?t.source:t,n):s((r=t instanceof f)?t.source:t,r&&i?a.call(t):n),e?this:l,f)};for(var v=u(s),y=0;v.length>y;)!function(t){t in f||i(f,t,{configurable:!0,get:function(){return s[t]},set:function(n){s[t]=n}})}(v[y++]);l.constructor=f,f.prototype=l,e(12)(r,"RegExp",f)}e(40)("RegExp")},function(t,n,e){"use strict";e(141);var r=e(1),o=e(68),i=e(6),u=/./.toString,c=function(t){e(12)(RegExp.prototype,"toString",t,!0)};e(3)(function(){return"/a/b"!=u.call({source:"a",flags:"b"})})?c(function(){var t=r(this);return"/".concat(t.source,"/","flags"in t?t.flags:!i&&t instanceof RegExp?o.call(t):void 0)}):"toString"!=u.name&&c(function(){return u.call(this)})},function(t,n,e){e(69)("match",1,function(t,n,e){return[function(e){"use strict";var r=t(this),o=void 0==e?void 0:e[n];return void 0!==o?o.call(e,r):new RegExp(e)[n](String(r))},e]})},function(t,n,e){e(69)("replace",2,function(t,n,e){return[function(r,o){"use strict";var i=t(this),u=void 0==r?void 0:r[n];return void 0!==u?u.call(r,i,o):e.call(String(i),r,o)},e]})},function(t,n,e){e(69)("search",1,function(t,n,e){return[function(e){"use strict";var r=t(this),o=void 0==e?void 0:e[n];return void 0!==o?o.call(e,r):new RegExp(e)[n](String(r))},e]})},function(t,n,e){e(69)("split",2,function(t,n,r){"use strict";var o=e(66),i=r,u=[].push,c="length";if("c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1)[c]||2!="ab".split(/(?:ab)*/)[c]||4!=".".split(/(.?)(.?)/)[c]||".".split(/()()/)[c]>1||"".split(/.?/)[c]){var a=void 0===/()??/.exec("")[1];r=function(t,n){var e=String(this);if(void 0===t&&0===n)return[];if(!o(t))return i.call(e,t,n);var r,f,s,l,p,d=[],h=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),v=0,y=void 0===n?4294967295:n>>>0,m=new RegExp(t.source,h+"g");for(a||(r=new RegExp("^"+m.source+"$(?!\\s)",h));(f=m.exec(e))&&!((s=f.index+f[0][c])>v&&(d.push(e.slice(v,f.index)),!a&&f[c]>1&&f[0].replace(r,function(){for(p=1;p<arguments[c]-2;p++)void 0===arguments[p]&&(f[p]=void 0)}),f[c]>1&&f.index<e[c]&&u.apply(d,f.slice(1)),l=f[0][c],v=s,d[c]>=y));)m.lastIndex===f.index&&m.lastIndex++;return v===e[c]?!l&&m.test("")||d.push(""):d.push(e.slice(v)),d[c]>y?d.slice(0,y):d}}else"0".split(void 0,0)[c]&&(r=function(t,n){return void 0===t&&0===n?[]:i.call(this,t,n)});return[function(e,o){var i=t(this),u=void 0==e?void 0:e[n];return void 0!==u?u.call(e,i,o):r.call(String(i),e,o)},r]})},function(t,n,e){"use strict";var r,o,i,u,c=e(31),a=e(2),f=e(19),s=e(58),l=e(0),p=e(4),d=e(10),h=e(41),v=e(42),y=e(70),m=e(103).set,g=e(104)(),b=e(105),w=e(142),S=e(71),x=e(143),O=a.TypeError,_=a.process,E=_&&_.versions,M=E&&E.v8||"",T=a.Promise,P="process"==s(_),j=function(){},I=o=b.f,k=!!function(){try{var t=T.resolve(1),n=(t.constructor={})[e(5)("species")]=function(t){t(j,j)};return(P||"function"==typeof PromiseRejectionEvent)&&t.then(j)instanceof n&&0!==M.indexOf("6.6")&&-1===S.indexOf("Chrome/66")}catch(t){}}(),F=function(t){var n;return!(!p(t)||"function"!=typeof(n=t.then))&&n},N=function(t,n){if(!t._n){t._n=!0;var e=t._c;g(function(){for(var r=t._v,o=1==t._s,i=0;e.length>i;)!function(n){var e,i,u,c=o?n.ok:n.fail,a=n.resolve,f=n.reject,s=n.domain;try{c?(o||(2==t._h&&L(t),t._h=1),!0===c?e=r:(s&&s.enter(),e=c(r),s&&(s.exit(),u=!0)),e===n.promise?f(O("Promise-chain cycle")):(i=F(e))?i.call(e,a,f):a(e)):f(r)}catch(t){s&&!u&&s.exit(),f(t)}}(e[i++]);t._c=[],t._n=!1,n&&!t._h&&A(t)})}},A=function(t){m.call(a,function(){var n,e,r,o=t._v,i=R(t);if(i&&(n=w(function(){P?_.emit("unhandledRejection",o,t):(e=a.onunhandledrejection)?e({promise:t,reason:o}):(r=a.console)&&r.error&&r.error("Unhandled promise rejection",o)}),t._h=P||R(t)?2:1),t._a=void 0,i&&n.e)throw n.v})},R=function(t){return 1!==t._h&&0===(t._a||t._c).length},L=function(t){m.call(a,function(){var n;P?_.emit("rejectionHandled",t):(n=a.onrejectionhandled)&&n({promise:t,reason:t._v})})},C=function(t){var n=this;n._d||(n._d=!0,n=n._w||n,n._v=t,n._s=2,n._a||(n._a=n._c.slice()),N(n,!0))},z=function t(n){var e,r=this;if(!r._d){r._d=!0,r=r._w||r;try{if(r===n)throw O("Promise can't be resolved itself");(e=F(n))?g(function(){var o={_w:r,_d:!1};try{e.call(n,f(t,o,1),f(C,o,1))}catch(t){C.call(o,t)}}):(r._v=n,r._s=1,N(r,!1))}catch(t){C.call({_w:r,_d:!1},t)}}};k||(T=function(t){h(this,T,"Promise","_h"),d(t),r.call(this);try{t(f(z,this,1),f(C,this,1))}catch(t){C.call(this,t)}},r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=e(43)(T.prototype,{then:function(t,n){var e=I(y(this,T));return e.ok="function"!=typeof t||t,e.fail="function"==typeof n&&n,e.domain=P?_.domain:void 0,this._c.push(e),this._a&&this._a.push(e),this._s&&N(this,!1),e.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new r;this.promise=t,this.resolve=f(z,t,1),this.reject=f(C,t,1)},b.f=I=function(t){return t===T||t===u?new i(t):o(t)}),l(l.G+l.W+l.F*!k,{Promise:T}),e(47)(T,"Promise"),e(40)("Promise"),u=e(18).Promise,l(l.S+l.F*!k,"Promise",{reject:function(t){var n=I(this);return(0,n.reject)(t),n.promise}}),l(l.S+l.F*(c||!k),"Promise",{resolve:function(t){return x(c&&this===u?T:this,t)}}),l(l.S+l.F*!(k&&e(67)(function(t){T.all(t).catch(j)})),"Promise",{all:function(t){var n=this,e=I(n),r=e.resolve,o=e.reject,i=w(function(){var e=[],i=0,u=1;v(t,!1,function(t){var c=i++,a=!1;e.push(void 0),u++,n.resolve(t).then(function(t){a||(a=!0,e[c]=t,--u||r(e))},o)}),--u||r(e)});return i.e&&o(i.v),e.promise},race:function(t){var n=this,e=I(n),r=e.reject,o=w(function(){v(t,!1,function(t){n.resolve(t).then(e.resolve,r)})});return o.e&&r(o.v),e.promise}})},function(t,n,e){"use strict";var r=e(148),o=e(50);e(72)("WeakSet",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{add:function(t){return r.def(o(this,"WeakSet"),t,!0)}},r,!1,!0)},function(t,n,e){"use strict";var r=e(0),o=e(73),i=e(106),u=e(1),c=e(37),a=e(8),f=e(4),s=e(2).ArrayBuffer,l=e(70),p=i.ArrayBuffer,d=i.DataView,h=o.ABV&&s.isView,v=p.prototype.slice,y=o.VIEW;r(r.G+r.W+r.F*(s!==p),{ArrayBuffer:p}),r(r.S+r.F*!o.CONSTR,"ArrayBuffer",{isView:function(t){return h&&h(t)||f(t)&&y in t}}),r(r.P+r.U+r.F*e(3)(function(){return!new p(2).slice(1,void 0).byteLength}),"ArrayBuffer",{slice:function(t,n){if(void 0!==v&&void 0===n)return v.call(u(this),t);for(var e=u(this).byteLength,r=c(t,e),o=c(void 0===n?e:n,e),i=new(l(this,p))(a(o-r)),f=new d(this),s=new d(i),h=0;r<o;)s.setUint8(h++,f.getUint8(r++));return i}}),e(40)("ArrayBuffer")},function(t,n,e){var r=e(0);r(r.G+r.W+r.F*!e(73).ABV,{DataView:e(106).DataView})},function(t,n,e){e(27)("Int8",1,function(t){return function(n,e,r){return t(this,n,e,r)}})},function(t,n,e){e(27)("Uint8",1,function(t){return function(n,e,r){return t(this,n,e,r)}})},function(t,n,e){e(27)("Uint8",1,function(t){return function(n,e,r){return t(this,n,e,r)}},!0)},function(t,n,e){e(27)("Int16",2,function(t){return function(n,e,r){return t(this,n,e,r)}})},function(t,n,e){e(27)("Uint16",2,function(t){return function(n,e,r){return t(this,n,e,r)}})},function(t,n,e){e(27)("Int32",4,function(t){return function(n,e,r){return t(this,n,e,r)}})},function(t,n,e){e(27)("Uint32",4,function(t){return function(n,e,r){return t(this,n,e,r)}})},function(t,n,e){e(27)("Float32",4,function(t){return function(n,e,r){return t(this,n,e,r)}})},function(t,n,e){e(27)("Float64",8,function(t){return function(n,e,r){return t(this,n,e,r)}})},function(t,n,e){var r=e(0),o=e(10),i=e(1),u=(e(2).Reflect||{}).apply,c=Function.apply;r(r.S+r.F*!e(3)(function(){u(function(){})}),"Reflect",{apply:function(t,n,e){var r=o(t),a=i(e);return u?u(r,n,a):c.call(r,n,a)}})},function(t,n,e){var r=e(0),o=e(38),i=e(10),u=e(1),c=e(4),a=e(3),f=e(129),s=(e(2).Reflect||{}).construct,l=a(function(){function t(){}return!(s(function(){},[],t)instanceof t)}),p=!a(function(){s(function(){})});r(r.S+r.F*(l||p),"Reflect",{construct:function(t,n){i(t),u(n);var e=arguments.length<3?t:i(arguments[2]);if(p&&!l)return s(t,n,e);if(t==e){switch(n.length){case 0:return new t;case 1:return new t(n[0]);case 2:return new t(n[0],n[1]);case 3:return new t(n[0],n[1],n[2]);case 4:return new t(n[0],n[1],n[2],n[3])}var r=[null];return r.push.apply(r,n),new(f.apply(t,r))}var a=e.prototype,d=o(c(a)?a:Object.prototype),h=Function.apply.call(t,d,n);return c(h)?h:d}})},function(t,n,e){var r=e(7),o=e(0),i=e(1),u=e(22);o(o.S+o.F*e(3)(function(){Reflect.defineProperty(r.f({},1,{value:1}),1,{value:2})}),"Reflect",{defineProperty:function(t,n,e){i(t),n=u(n,!0),i(e);try{return r.f(t,n,e),!0}catch(t){return!1}}})},function(t,n,e){var r=e(0),o=e(16).f,i=e(1);r(r.S,"Reflect",{deleteProperty:function(t,n){var e=o(i(t),n);return!(e&&!e.configurable)&&delete t[n]}})},function(t,n,e){"use strict";var r=e(0),o=e(1),i=function(t){this._t=o(t),this._i=0;var n,e=this._k=[];for(n in t)e.push(n)};e(94)(i,"Object",function(){var t,n=this,e=n._k;do{if(n._i>=e.length)return{value:void 0,done:!0}}while(!((t=e[n._i++])in n._t));return{value:t,done:!1}}),r(r.S,"Reflect",{enumerate:function(t){return new i(t)}})},function(t,n,e){function r(t,n){var e,c,s=arguments.length<3?t:arguments[2];return f(t)===s?t[n]:(e=o.f(t,n))?u(e,"value")?e.value:void 0!==e.get?e.get.call(s):void 0:a(c=i(t))?r(c,n,s):void 0}var o=e(16),i=e(17),u=e(14),c=e(0),a=e(4),f=e(1);c(c.S,"Reflect",{get:r})},function(t,n,e){var r=e(16),o=e(0),i=e(1);o(o.S,"Reflect",{getOwnPropertyDescriptor:function(t,n){return r.f(i(t),n)}})},function(t,n,e){var r=e(0),o=e(17),i=e(1);r(r.S,"Reflect",{getPrototypeOf:function(t){return o(i(t))}})},function(t,n,e){var r=e(0);r(r.S,"Reflect",{has:function(t,n){return n in t}})},function(t,n,e){var r=e(0),o=e(1),i=Object.isExtensible;r(r.S,"Reflect",{isExtensible:function(t){return o(t),!i||i(t)}})},function(t,n,e){var r=e(0);r(r.S,"Reflect",{ownKeys:e(150)})},function(t,n,e){var r=e(0),o=e(1),i=Object.preventExtensions;r(r.S,"Reflect",{preventExtensions:function(t){o(t);try{return i&&i(t),!0}catch(t){return!1}}})},function(t,n,e){function r(t,n,e){var a,p,d=arguments.length<4?t:arguments[3],h=i.f(s(t),n);if(!h){if(l(p=u(t)))return r(p,n,e,d);h=f(0)}if(c(h,"value")){if(!1===h.writable||!l(d))return!1;if(a=i.f(d,n)){if(a.get||a.set||!1===a.writable)return!1;a.value=e,o.f(d,n,a)}else o.f(d,n,f(0,e));return!0}return void 0!==h.set&&(h.set.call(d,e),!0)}var o=e(7),i=e(16),u=e(17),c=e(14),a=e(0),f=e(34),s=e(1),l=e(4);a(a.S,"Reflect",{set:r})},function(t,n,e){var r=e(0),o=e(86);o&&r(r.S,"Reflect",{setPrototypeOf:function(t,n){o.check(t,n);try{return o.set(t,n),!0}catch(t){return!1}}})},function(t,n,e){"use strict";var r=e(0),o=e(63)(!0);r(r.P,"Array",{includes:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),e(32)("includes")},function(t,n,e){"use strict";var r=e(0),o=e(151),i=e(9),u=e(8),c=e(10),a=e(100);r(r.P,"Array",{flatMap:function(t){var n,e,r=i(this);return c(t),n=u(r.length),e=a(r,0),o(e,r,r,n,0,1,t,arguments[1]),e}}),e(32)("flatMap")},function(t,n,e){"use strict";var r=e(0),o=e(151),i=e(9),u=e(8),c=e(24),a=e(100);r(r.P,"Array",{flatten:function(){var t=arguments[0],n=i(this),e=u(n.length),r=a(n,0);return o(r,n,n,e,0,void 0===t?1:c(t)),r}}),e(32)("flatten")},function(t,n,e){"use strict";var r=e(0),o=e(92)(!0);r(r.P,"String",{at:function(t){return o(this,t)}})},function(t,n,e){"use strict";var r=e(0),o=e(152),i=e(71);r(r.P+r.F*/Version\/10\.\d+(\.\d+)? Safari\//.test(i),"String",{padStart:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0,!0)}})},function(t,n,e){"use strict";var r=e(0),o=e(152),i=e(71);r(r.P+r.F*/Version\/10\.\d+(\.\d+)? Safari\//.test(i),"String",{padEnd:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0,!1)}})},function(t,n,e){"use strict";e(48)("trimLeft",function(t){return function(){return t(this,1)}},"trimStart")},function(t,n,e){"use strict";e(48)("trimRight",function(t){return function(){return t(this,2)}},"trimEnd")},function(t,n,e){"use strict";var r=e(0),o=e(23),i=e(8),u=e(66),c=e(68),a=RegExp.prototype,f=function(t,n){this._r=t,this._s=n};e(94)(f,"RegExp String",function(){var t=this._r.exec(this._s);return{value:t,done:null===t}}),r(r.P,"String",{matchAll:function(t){if(o(this),!u(t))throw TypeError(t+" is not a regexp!");var n=String(this),e="flags"in a?String(t.flags):c.call(t),r=new RegExp(t.source,~e.indexOf("g")?e:"g"+e);return r.lastIndex=i(t.lastIndex),new f(r,n)}})},function(t,n,e){e(82)("asyncIterator")},function(t,n,e){e(82)("observable")},function(t,n,e){var r=e(0),o=e(150),i=e(15),u=e(16),c=e(98);r(r.S,"Object",{getOwnPropertyDescriptors:function(t){for(var n,e,r=i(t),a=u.f,f=o(r),s={},l=0;f.length>l;)void 0!==(e=a(r,n=f[l++]))&&c(s,n,e);return s}})},function(t,n,e){var r=e(0),o=e(153)(!1);r(r.S,"Object",{values:function(t){return o(t)}})},function(t,n,e){var r=e(0),o=e(153)(!0);r(r.S,"Object",{entries:function(t){return o(t)}})},function(t,n,e){"use strict";var r=e(0),o=e(9),i=e(10),u=e(7);e(6)&&r(r.P+e(74),"Object",{__defineGetter__:function(t,n){u.f(o(this),t,{get:i(n),enumerable:!0,configurable:!0})}})},function(t,n,e){"use strict";var r=e(0),o=e(9),i=e(10),u=e(7);e(6)&&r(r.P+e(74),"Object",{__defineSetter__:function(t,n){u.f(o(this),t,{set:i(n),enumerable:!0,configurable:!0})}})},function(t,n,e){"use strict";var r=e(0),o=e(9),i=e(22),u=e(17),c=e(16).f;e(6)&&r(r.P+e(74),"Object",{__lookupGetter__:function(t){var n,e=o(this),r=i(t,!0);do{if(n=c(e,r))return n.get}while(e=u(e))}})},function(t,n,e){"use strict";var r=e(0),o=e(9),i=e(22),u=e(17),c=e(16).f;e(6)&&r(r.P+e(74),"Object",{__lookupSetter__:function(t){var n,e=o(this),r=i(t,!0);do{if(n=c(e,r))return n.set}while(e=u(e))}})},function(t,n,e){var r=e(0);r(r.P+r.R,"Map",{toJSON:e(154)("Map")})},function(t,n,e){var r=e(0);r(r.P+r.R,"Set",{toJSON:e(154)("Set")})},function(t,n,e){e(75)("Map")},function(t,n,e){e(75)("Set")},function(t,n,e){e(75)("WeakMap")},function(t,n,e){e(75)("WeakSet")},function(t,n,e){e(76)("Map")},function(t,n,e){e(76)("Set")},function(t,n,e){e(76)("WeakMap")},function(t,n,e){e(76)("WeakSet")},function(t,n,e){var r=e(0);r(r.G,{global:e(2)})},function(t,n,e){var r=e(0);r(r.S,"System",{global:e(2)})},function(t,n,e){var r=e(0),o=e(20);r(r.S,"Error",{isError:function(t){return"Error"===o(t)}})},function(t,n,e){var r=e(0);r(r.S,"Math",{clamp:function(t,n,e){return Math.min(e,Math.max(n,t))}})},function(t,n,e){var r=e(0);r(r.S,"Math",{DEG_PER_RAD:Math.PI/180})},function(t,n,e){var r=e(0),o=180/Math.PI;r(r.S,"Math",{degrees:function(t){return t*o}})},function(t,n,e){var r=e(0),o=e(156),i=e(136);r(r.S,"Math",{fscale:function(t,n,e,r,u){return i(o(t,n,e,r,u))}})},function(t,n,e){var r=e(0);r(r.S,"Math",{iaddh:function(t,n,e,r){var o=t>>>0,i=n>>>0,u=e>>>0;return i+(r>>>0)+((o&u|(o|u)&~(o+u>>>0))>>>31)|0}})},function(t,n,e){var r=e(0);r(r.S,"Math",{isubh:function(t,n,e,r){var o=t>>>0,i=n>>>0,u=e>>>0;return i-(r>>>0)-((~o&u|~(o^u)&o-u>>>0)>>>31)|0}})},function(t,n,e){var r=e(0);r(r.S,"Math",{imulh:function(t,n){var e=+t,r=+n,o=65535&e,i=65535&r,u=e>>16,c=r>>16,a=(u*i>>>0)+(o*i>>>16);return u*c+(a>>16)+((o*c>>>0)+(65535&a)>>16)}})},function(t,n,e){var r=e(0);r(r.S,"Math",{RAD_PER_DEG:180/Math.PI})},function(t,n,e){var r=e(0),o=Math.PI/180;r(r.S,"Math",{radians:function(t){return t*o}})},function(t,n,e){var r=e(0);r(r.S,"Math",{scale:e(156)})},function(t,n,e){var r=e(0);r(r.S,"Math",{umulh:function(t,n){var e=+t,r=+n,o=65535&e,i=65535&r,u=e>>>16,c=r>>>16,a=(u*i>>>0)+(o*i>>>16);return u*c+(a>>>16)+((o*c>>>0)+(65535&a)>>>16)}})},function(t,n,e){var r=e(0);r(r.S,"Math",{signbit:function(t){return(t=+t)!=t?t:0==t?1/t==1/0:t>0}})},function(t,n,e){"use strict";var r=e(0),o=e(18),i=e(2),u=e(70),c=e(143);r(r.P+r.R,"Promise",{finally:function(t){var n=u(this,o.Promise||i.Promise),e="function"==typeof t;return this.then(e?function(e){return c(n,t()).then(function(){return e})}:t,e?function(e){return c(n,t()).then(function(){throw e})}:t)}})},function(t,n,e){"use strict";var r=e(0),o=e(105),i=e(142);r(r.S,"Promise",{try:function(t){var n=o.f(this),e=i(t);return(e.e?n.reject:n.resolve)(e.v),n.promise}})},function(t,n,e){var r=e(28),o=e(1),i=r.key,u=r.set;r.exp({defineMetadata:function(t,n,e,r){u(t,n,o(e),i(r))}})},function(t,n,e){var r=e(28),o=e(1),i=r.key,u=r.map,c=r.store;r.exp({deleteMetadata:function(t,n){var e=arguments.length<3?void 0:i(arguments[2]),r=u(o(n),e,!1);if(void 0===r||!r.delete(t))return!1;if(r.size)return!0;var a=c.get(n);return a.delete(e),!!a.size||c.delete(n)}})},function(t,n,e){var r=e(28),o=e(1),i=e(17),u=r.has,c=r.get,a=r.key,f=function t(n,e,r){if(u(n,e,r))return c(n,e,r);var o=i(e);return null!==o?t(n,o,r):void 0};r.exp({getMetadata:function(t,n){return f(t,o(n),arguments.length<3?void 0:a(arguments[2]))}})},function(t,n,e){var r=e(146),o=e(155),i=e(28),u=e(1),c=e(17),a=i.keys,f=i.key,s=function t(n,e){var i=a(n,e),u=c(n);if(null===u)return i;var f=t(u,e);return f.length?i.length?o(new r(i.concat(f))):f:i};i.exp({getMetadataKeys:function(t){return s(u(t),arguments.length<2?void 0:f(arguments[1]))}})},function(t,n,e){var r=e(28),o=e(1),i=r.get,u=r.key;r.exp({getOwnMetadata:function(t,n){return i(t,o(n),arguments.length<3?void 0:u(arguments[2]))}})},function(t,n,e){var r=e(28),o=e(1),i=r.keys,u=r.key;r.exp({getOwnMetadataKeys:function(t){return i(o(t),arguments.length<2?void 0:u(arguments[1]))}})},function(t,n,e){var r=e(28),o=e(1),i=e(17),u=r.has,c=r.key,a=function t(n,e,r){if(u(n,e,r))return!0;var o=i(e);return null!==o&&t(n,o,r)};r.exp({hasMetadata:function(t,n){return a(t,o(n),arguments.length<3?void 0:c(arguments[2]))}})},function(t,n,e){var r=e(28),o=e(1),i=r.has,u=r.key;r.exp({hasOwnMetadata:function(t,n){return i(t,o(n),arguments.length<3?void 0:u(arguments[2]))}})},function(t,n,e){var r=e(28),o=e(1),i=e(10),u=r.key,c=r.set;r.exp({metadata:function(t,n){return function(e,r){c(t,n,(void 0!==r?o:i)(e),u(r))}}})},function(t,n,e){var r=e(0),o=e(104)(),i=e(2).process,u="process"==e(20)(i);r(r.G,{asap:function(t){var n=u&&i.domain;o(n?n.bind(t):t)}})},function(t,n,e){"use strict";var r=e(0),o=e(2),i=e(18),u=e(104)(),c=e(5)("observable"),a=e(10),f=e(1),s=e(41),l=e(43),p=e(11),d=e(42),h=d.RETURN,v=function(t){return null==t?void 0:a(t)},y=function(t){var n=t._c;n&&(t._c=void 0,n())},m=function(t){return void 0===t._o},g=function(t){m(t)||(t._o=void 0,y(t))},b=function(t,n){f(t),this._c=void 0,this._o=t,t=new w(this);try{var e=n(t),r=e;null!=e&&("function"==typeof e.unsubscribe?e=function(){r.unsubscribe()}:a(e),this._c=e)}catch(n){return void t.error(n)}m(this)&&y(this)};b.prototype=l({},{unsubscribe:function(){g(this)}});var w=function(t){this._s=t};w.prototype=l({},{next:function(t){var n=this._s;if(!m(n)){var e=n._o;try{var r=v(e.next);if(r)return r.call(e,t)}catch(t){try{g(n)}finally{throw t}}}},error:function(t){var n=this._s;if(m(n))throw t;var e=n._o;n._o=void 0;try{var r=v(e.error);if(!r)throw t;t=r.call(e,t)}catch(t){try{y(n)}finally{throw t}}return y(n),t},complete:function(t){var n=this._s;if(!m(n)){var e=n._o;n._o=void 0;try{var r=v(e.complete);t=r?r.call(e,t):void 0}catch(t){try{y(n)}finally{throw t}}return y(n),t}}});var S=function(t){s(this,S,"Observable","_f")._f=a(t)};l(S.prototype,{subscribe:function(t){return new b(t,this._f)},forEach:function(t){var n=this;return new(i.Promise||o.Promise)(function(e,r){a(t);var o=n.subscribe({next:function(n){try{return t(n)}catch(t){r(t),o.unsubscribe()}},error:r,complete:e})})}}),l(S,{from:function(t){var n="function"==typeof this?this:S,e=v(f(t)[c]);if(e){var r=f(e.call(t));return r.constructor===n?r:new n(function(t){return r.subscribe(t)})}return new n(function(n){var e=!1;return u(function(){if(!e){try{if(d(t,!1,function(t){if(n.next(t),e)return h})===h)return}catch(t){if(e)throw t;return void n.error(t)}n.complete()}}),function(){e=!0}})},of:function(){for(var t=0,n=arguments.length,e=new Array(n);t<n;)e[t]=arguments[t++];return new("function"==typeof this?this:S)(function(t){var n=!1;return u(function(){if(!n){for(var r=0;r<e.length;++r)if(t.next(e[r]),n)return;t.complete()}}),function(){n=!0}})}}),p(S.prototype,c,function(){return this}),r(r.G,{Observable:S}),e(40)("Observable")},function(t,n,e){var r=e(2),o=e(0),i=e(71),u=[].slice,c=/MSIE .\./.test(i),a=function(t){return function(n,e){var r=arguments.length>2,o=!!r&&u.call(arguments,2);return t(r?function(){("function"==typeof n?n:Function(n)).apply(this,o)}:n,e)}};o(o.G+o.B+o.F*c,{setTimeout:a(r.setTimeout),setInterval:a(r.setInterval)})},function(t,n,e){var r=e(0),o=e(103);r(r.G+r.B,{setImmediate:o.set,clearImmediate:o.clear})},function(t,n,e){for(var r=e(102),o=e(36),i=e(12),u=e(2),c=e(11),a=e(49),f=e(5),s=f("iterator"),l=f("toStringTag"),p=a.Array,d={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},h=o(d),v=0;v<h.length;v++){var y,m=h[v],g=d[m],b=u[m],w=b&&b.prototype;if(w&&(w[s]||c(w,s,p),w[l]||c(w,l,m),a[m]=p,g))for(y in r)w[y]||i(w,y,r[y],!0)}},function(t,n,e){(function(t,n){var e="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};!function(t){"use strict";function r(t,n,e,r){var o=n&&n.prototype instanceof i?n:i,u=Object.create(o.prototype),c=new h(r||[]);return u._invoke=s(t,e,c),u}function o(t,n,e){try{return{type:"normal",arg:t.call(n,e)}}catch(t){return{type:"throw",arg:t}}}function i(){}function u(){}function c(){}function a(t){["next","throw","return"].forEach(function(n){t[n]=function(t){return this._invoke(n,t)}})}function f(n){function r(t,i,u,c){var a=o(n[t],n,i);if("throw"!==a.type){var f=a.arg,s=f.value;return s&&"object"===(void 0===s?"undefined":e(s))&&b.call(s,"__await")?Promise.resolve(s.__await).then(function(t){r("next",t,u,c)},function(t){r("throw",t,u,c)}):Promise.resolve(s).then(function(t){f.value=t,u(f)},c)}c(a.arg)}function i(t,n){function e(){return new Promise(function(e,o){r(t,n,e,o)})}return u=u?u.then(e,e):e()}"object"===e(t.process)&&t.process.domain&&(r=t.process.domain.bind(r));var u;this._invoke=i}function s(t,n,e){var r=M;return function(i,u){if(r===P)throw new Error("Generator is already running");if(r===j){if("throw"===i)throw u;return y()}for(e.method=i,e.arg=u;;){var c=e.delegate;if(c){var a=l(c,e);if(a){if(a===I)continue;return a}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if(r===M)throw r=j,e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);r=P;var f=o(t,n,e);if("normal"===f.type){if(r=e.done?j:T,f.arg===I)continue;return{value:f.arg,done:e.done}}"throw"===f.type&&(r=j,e.method="throw",e.arg=f.arg)}}}function l(t,n){var e=t.iterator[n.method];if(e===m){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=m,l(t,n),"throw"===n.method))return I;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return I}var r=o(e,t.iterator,n.arg);if("throw"===r.type)return n.method="throw",n.arg=r.arg,n.delegate=null,I;var i=r.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=m),n.delegate=null,I):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,I)}function p(t){var n={tryLoc:t[0]};1 in t&&(n.catchLoc=t[1]),2 in t&&(n.finallyLoc=t[2],n.afterLoc=t[3]),this.tryEntries.push(n)}function d(t){var n=t.completion||{};n.type="normal",delete n.arg,t.completion=n}function h(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(p,this),this.reset(!0)}function v(t){if(t){var n=t[S];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var e=-1,r=function n(){for(;++e<t.length;)if(b.call(t,e))return n.value=t[e],n.done=!1,n;return n.value=m,n.done=!0,n};return r.next=r}}return{next:y}}function y(){return{value:m,done:!0}}var m,g=Object.prototype,b=g.hasOwnProperty,w="function"==typeof Symbol?Symbol:{},S=w.iterator||"@@iterator",x=w.asyncIterator||"@@asyncIterator",O=w.toStringTag||"@@toStringTag",_="object"===e(n),E=t.regeneratorRuntime;if(E)return void(_&&(n.exports=E));E=t.regeneratorRuntime=_?n.exports:{},E.wrap=r;var M="suspendedStart",T="suspendedYield",P="executing",j="completed",I={},k={};k[S]=function(){return this};var F=Object.getPrototypeOf,N=F&&F(F(v([])));N&&N!==g&&b.call(N,S)&&(k=N);var A=c.prototype=i.prototype=Object.create(k);u.prototype=A.constructor=c,c.constructor=u,c[O]=u.displayName="GeneratorFunction",E.isGeneratorFunction=function(t){var n="function"==typeof t&&t.constructor;return!!n&&(n===u||"GeneratorFunction"===(n.displayName||n.name))},E.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,c):(t.__proto__=c,O in t||(t[O]="GeneratorFunction")),t.prototype=Object.create(A),t},E.awrap=function(t){return{__await:t}},a(f.prototype),f.prototype[x]=function(){return this},E.AsyncIterator=f,E.async=function(t,n,e,o){var i=new f(r(t,n,e,o));return E.isGeneratorFunction(n)?i:i.next().then(function(t){return t.done?t.value:i.next()})},a(A),A[O]="Generator",A[S]=function(){return this},A.toString=function(){return"[object Generator]"},E.keys=function(t){var n=[];for(var e in t)n.push(e);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},E.values=v,h.prototype={constructor:h,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=m,this.done=!1,this.delegate=null,this.method="next",this.arg=m,this.tryEntries.forEach(d),!t)for(var n in this)"t"===n.charAt(0)&&b.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=m)},stop:function(){this.done=!0;var t=this.tryEntries[0],n=t.completion;if("throw"===n.type)throw n.arg;return this.rval},dispatchException:function(t){function n(n,r){return i.type="throw",i.arg=t,e.next=n,r&&(e.method="next",e.arg=m),!!r}if(this.done)throw t;for(var e=this,r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],i=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var u=b.call(o,"catchLoc"),c=b.call(o,"finallyLoc");if(u&&c){if(this.prev<o.catchLoc)return n(o.catchLoc,!0);if(this.prev<o.finallyLoc)return n(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return n(o.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return n(o.finallyLoc)}}}},abrupt:function(t,n){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc<=this.prev&&b.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=n&&n<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=t,i.arg=n,o?(this.method="next",this.next=o.finallyLoc,I):this.complete(i)},complete:function(t,n){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&n&&(this.next=n),I},finish:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var e=this.tryEntries[n];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),d(e),I}},catch:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var e=this.tryEntries[n];if(e.tryLoc===t){var r=e.completion;if("throw"===r.type){var o=r.arg;d(e)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,e){return this.delegate={iterator:v(t),resultName:n,nextLoc:e},"next"===this.method&&(this.arg=m),I}}}("object"===(void 0===t?"undefined":e(t))?t:"object"===("undefined"==typeof window?"undefined":e(window))?window:"object"===("undefined"==typeof self?"undefined":e(self))?self:this)}).call(n,e(80),e(387)(t))},function(t,n){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,n,e){e(389),t.exports=e(18).RegExp.escape},function(t,n,e){var r=e(0),o=e(390)(/[\\^$*+?.()|[\]{}]/g,"\\$&");r(r.S,"RegExp",{escape:function(t){return o(t)}})},function(t,n){t.exports=function(t,n){var e=n===Object(n)?function(t){return n[t]}:n;return function(n){return String(n).replace(t,e)}}},function(t,n,e){var r,o,i="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};/*!
2
  Copyright (c) 2016 Jed Watson.
3
  Licensed under the MIT License (MIT), see
4
  http://jedwatson.github.io/classnames
5
  */
6
+ !function(){"use strict";var u=function(){function t(){}function n(t,n){for(var e=n.length,r=0;r<e;++r)u(t,n[r])}function e(t,n){t[n]=!0}function r(t,n){for(var e in n)a.call(n,e)&&(t[e]=!!n[e])}function o(t,n){for(var e=n.split(f),r=e.length,o=0;o<r;++o)t[e[o]]=!0}function u(t,u){if(u){var c=void 0===u?"undefined":i(u);"string"===c?o(t,u):Array.isArray(u)?n(t,u):"object"===c?r(t,u):"number"===c&&e(t,u)}}function c(){for(var e=arguments.length,r=Array(e),o=0;o<e;o++)r[o]=arguments[o];var i=new t;n(i,r);var u=[];for(var c in i)i[c]&&u.push(c);return u.join(" ")}t.prototype=Object.create(null);var a={}.hasOwnProperty,f=/\s+/;return c}();void 0!==t&&t.exports?t.exports=u:"object"===i(e(157))&&e(157)?(r=[],void 0!==(o=function(){return u}.apply(n,r))&&(t.exports=o)):window.classNames=u}()},function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(n,"__esModule",{value:!0});var o=e(393),i=r(o),u=e(398),c=r(u),a=e(399),f=r(a),s=e(403),l=r(s),p=e(429),d=r(p),h=e(437),v=r(h),y=e(438),m=r(y),g=e(443),b=r(g),w=e(444),S=function(t){function n(){var t,e,r,o;(0,c.default)(this,n);for(var u=arguments.length,a=Array(u),f=0;f<u;f++)a[f]=arguments[f];return e=r=(0,l.default)(this,(t=n.__proto__||(0,i.default)(n)).call.apply(t,[this].concat(a))),r.updateIframe=function(t){if(!t.src){var n=t.content||t.children;if(n){var e=r.refs.frame;if(e){var o=e.contentDocument;o&&("string"==typeof n?(o.open(),o.write(n),o.close()):(o.open(),o.write('<div id="iframe-root"></div>'),o.close(),b.default.render(n,o.getElementById("iframe-root"))))}}}},r.injectIframeResizerUrl=function(){if(r.props.iframeResizerUrl){var t=r.refs.frame;if(t){var n=t.contentDocument;if(n){var e=null;if(["head","HEAD","body","BODY","div","DIV"].forEach(function(t){if(!e){var r=n.getElementsByTagName(t);r&&r.length&&(e=r[0])}}),!e)return void console.error("Unable to inject iframe resizer script");var o=document.createElement("script");o.type="text/javascript",o.src=r.props.iframeResizerUrl,e.appendChild(o)}}}},r.onLoad=function(){r.injectIframeResizerUrl()},r.resizeIframe=function(t){var n=r.refs.frame;n&&t.iframeResizerEnable&&(0,w.iframeResizer)(t.iframeResizerOptions,n)},o=e,(0,l.default)(r,o)}return(0,d.default)(n,t),(0,f.default)(n,[{key:"componentDidMount",value:function(){this.updateIframe(this.props),this.resizeIframe(this.props)}},{key:"componentWillReceiveProps",value:function(t){this.updateIframe(t),this.resizeIframe(t)}},{key:"render",value:function(){var t=this.props,n=t.src,e=t.id,r=t.frameBorder,o=t.className,i=t.style;return v.default.createElement("iframe",{ref:"frame",src:n,id:e,frameBorder:r,className:o,style:i,onLoad:this.onLoad})}}]),n}(v.default.Component);S.propTypes={content:m.default.oneOfType([m.default.string,m.default.element]),src:m.default.string,iframeResizerEnable:m.default.bool,iframeResizerOptions:m.default.object,iframeResizerUrl:m.default.oneOfType([m.default.string,m.default.bool]),id:m.default.string,frameBorder:m.default.number,className:m.default.string,style:m.default.object},S.defaultProps={iframeResizerEnable:!0,iframeResizerOptions:{},iframeResizerUrl:"https://cdnjs.cloudflare.com/ajax/libs/iframe-resizer/3.5.8/iframeResizer.contentWindow.min.js",frameBorder:0,style:{width:"100%",minHeight:20}},n.default=S},function(t,n,e){t.exports={default:e(394),__esModule:!0}},function(t,n,e){e(395),t.exports=e(29).Object.getPrototypeOf},function(t,n,e){var r=e(158),o=e(159);e(396)("getPrototypeOf",function(){return function(t){return o(r(t))}})},function(t,n,e){var r=e(51),o=e(29),i=e(60);t.exports=function(t,n){var e=(o.Object||{})[t]||Object[t],u={};u[t]=n(e),r(r.S+r.F*i(function(){e(1)}),"Object",u)}},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,n,e){"use strict";n.__esModule=!0,n.default=function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}},function(t,n,e){"use strict";n.__esModule=!0;var r=e(400),o=function(t){return t&&t.__esModule?t:{default:t}}(r);n.default=function(){function t(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,o.default)(t,r.key,r)}}return function(n,e,r){return e&&t(n.prototype,e),r&&t(n,r),n}}()},function(t,n,e){t.exports={default:e(401),__esModule:!0}},function(t,n,e){e(402);var r=e(29).Object;t.exports=function(t,n,e){return r.defineProperty(t,n,e)}},function(t,n,e){var r=e(51);r(r.S+r.F*!e(46),"Object",{defineProperty:e(45).f})},function(t,n,e){"use strict";n.__esModule=!0;var r=e(163),o=function(t){return t&&t.__esModule?t:{default:t}}(r);n.default=function(t,n){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!n||"object"!==(void 0===n?"undefined":(0,o.default)(n))&&"function"!=typeof n?t:n}},function(t,n,e){t.exports={default:e(405),__esModule:!0}},function(t,n,e){e(406),e(415),t.exports=e(117).f("iterator")},function(t,n,e){"use strict";var r=e(407)(!0);e(164)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,n=this._t,e=this._i;return e>=n.length?{value:void 0,done:!0}:(t=r(n,e),this._i+=t.length,{value:t,done:!1})})},function(t,n,e){var r=e(111),o=e(107);t.exports=function(t){return function(n,e){var i,u,c=String(o(n)),a=r(e),f=c.length;return a<0||a>=f?t?"":void 0:(i=c.charCodeAt(a),i<55296||i>56319||a+1===f||(u=c.charCodeAt(a+1))<56320||u>57343?t?c.charAt(a):i:t?c.slice(a,a+2):u-56320+(i-55296<<10)+65536)}}},function(t,n,e){"use strict";var r=e(113),o=e(79),i=e(116),u={};e(52)(u,e(55)("iterator"),function(){return this}),t.exports=function(t,n,e){t.prototype=r(u,{next:o(1,e)}),i(t,n+" Iterator")}},function(t,n,e){var r=e(45),o=e(59),i=e(114);t.exports=e(46)?Object.defineProperties:function(t,n){o(t);for(var e,u=i(n),c=u.length,a=0;c>a;)r.f(t,e=u[a++],n[e]);return t}},function(t,n,e){var r=e(167);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,n,e){var r=e(54),o=e(412),i=e(413);t.exports=function(t){return function(n,e,u){var c,a=r(n),f=o(a.length),s=i(u,f);if(t&&e!=e){for(;f>s;)if((c=a[s++])!=c)return!0}else for(;f>s;s++)if((t||s in a)&&a[s]===e)return t||s||0;return!t&&-1}}},function(t,n,e){var r=e(111),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,n,e){var r=e(111),o=Math.max,i=Math.min;t.exports=function(t,n){return t=r(t),t<0?o(t+n,0):i(t,n)}},function(t,n,e){var r=e(33).document;t.exports=r&&r.documentElement},function(t,n,e){e(416);for(var r=e(33),o=e(52),i=e(112),u=e(55)("toStringTag"),c="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),a=0;a<c.length;a++){var f=c[a],s=r[f],l=s&&s.prototype;l&&!l[u]&&o(l,u,f),i[f]=i.Array}},function(t,n,e){"use strict";var r=e(417),o=e(418),i=e(112),u=e(54);t.exports=e(164)(Array,"Array",function(t,n){this._t=u(t),this._i=0,this._k=n},function(){var t=this._t,n=this._k,e=this._i++;return!t||e>=t.length?(this._t=void 0,o(1)):"keys"==n?o(0,e):"values"==n?o(0,t[e]):o(0,[e,t[e]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(t,n){t.exports=function(){}},function(t,n){t.exports=function(t,n){return{value:n,done:!!t}}},function(t,n,e){t.exports={default:e(420),__esModule:!0}},function(t,n,e){e(421),e(426),e(427),e(428),t.exports=e(29).Symbol},function(t,n,e){"use strict";var r="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},o=e(33),i=e(44),u=e(46),c=e(51),a=e(165),f=e(422).KEY,s=e(60),l=e(109),p=e(116),d=e(78),h=e(55),v=e(117),y=e(118),m=e(423),g=e(424),b=e(59),w=e(53),S=e(54),x=e(110),O=e(79),_=e(113),E=e(425),M=e(170),T=e(45),P=e(114),j=M.f,I=T.f,k=E.f,F=o.Symbol,N=o.JSON,A=N&&N.stringify,R=h("_hidden"),L=h("toPrimitive"),C={}.propertyIsEnumerable,z=l("symbol-registry"),D=l("symbols"),W=l("op-symbols"),V=Object.prototype,B="function"==typeof F,U=o.QObject,G=!U||!U.prototype||!U.prototype.findChild,H=u&&s(function(){return 7!=_(I({},"a",{get:function(){return I(this,"a",{value:7}).a}})).a})?function(t,n,e){var r=j(V,n);r&&delete V[n],I(t,n,e),r&&t!==V&&I(V,n,r)}:I,q=function(t){var n=D[t]=_(F.prototype);return n._k=t,n},Y=B&&"symbol"==r(F.iterator)?function(t){return"symbol"==(void 0===t?"undefined":r(t))}:function(t){return t instanceof F},J=function(t,n,e){return t===V&&J(W,n,e),b(t),n=x(n,!0),b(e),i(D,n)?(e.enumerable?(i(t,R)&&t[R][n]&&(t[R][n]=!1),e=_(e,{enumerable:O(0,!1)})):(i(t,R)||I(t,R,O(1,{})),t[R][n]=!0),H(t,n,e)):I(t,n,e)},K=function(t,n){b(t);for(var e,r=m(n=S(n)),o=0,i=r.length;i>o;)J(t,e=r[o++],n[e]);return t},X=function(t,n){return void 0===n?_(t):K(_(t),n)},Q=function(t){var n=C.call(this,t=x(t,!0));return!(this===V&&i(D,t)&&!i(W,t))&&(!(n||!i(this,t)||!i(D,t)||i(this,R)&&this[R][t])||n)},$=function(t,n){if(t=S(t),n=x(n,!0),t!==V||!i(D,n)||i(W,n)){var e=j(t,n);return!e||!i(D,n)||i(t,R)&&t[R][n]||(e.enumerable=!0),e}},Z=function(t){for(var n,e=k(S(t)),r=[],o=0;e.length>o;)i(D,n=e[o++])||n==R||n==f||r.push(n);return r},tt=function(t){for(var n,e=t===V,r=k(e?W:S(t)),o=[],u=0;r.length>u;)!i(D,n=r[u++])||e&&!i(V,n)||o.push(D[n]);return o};B||(F=function(){if(this instanceof F)throw TypeError("Symbol is not a constructor!");var t=d(arguments.length>0?arguments[0]:void 0),n=function n(e){this===V&&n.call(W,e),i(this,R)&&i(this[R],t)&&(this[R][t]=!1),H(this,t,O(1,e))};return u&&G&&H(V,t,{configurable:!0,set:n}),q(t)},a(F.prototype,"toString",function(){return this._k}),M.f=$,T.f=J,e(169).f=E.f=Z,e(119).f=Q,e(168).f=tt,u&&!e(77)&&a(V,"propertyIsEnumerable",Q,!0),v.f=function(t){return q(h(t))}),c(c.G+c.W+c.F*!B,{Symbol:F});for(var nt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),et=0;nt.length>et;)h(nt[et++]);for(var rt=P(h.store),ot=0;rt.length>ot;)y(rt[ot++]);c(c.S+c.F*!B,"Symbol",{for:function(t){return i(z,t+="")?z[t]:z[t]=F(t)},keyFor:function(t){if(!Y(t))throw TypeError(t+" is not a symbol!");for(var n in z)if(z[n]===t)return n},useSetter:function(){G=!0},useSimple:function(){G=!1}}),c(c.S+c.F*!B,"Object",{create:X,defineProperty:J,defineProperties:K,getOwnPropertyDescriptor:$,getOwnPropertyNames:Z,getOwnPropertySymbols:tt}),N&&c(c.S+c.F*(!B||s(function(){var t=F();return"[null]"!=A([t])||"{}"!=A({a:t})||"{}"!=A(Object(t))})),"JSON",{stringify:function(t){for(var n,e,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);if(e=n=r[1],(w(n)||void 0!==t)&&!Y(t))return g(n)||(n=function(t,n){if("function"==typeof e&&(n=e.call(this,t,n)),!Y(n))return n}),r[1]=n,A.apply(N,r)}}),F.prototype[L]||e(52)(F.prototype,L,F.prototype.valueOf),p(F,"Symbol"),p(Math,"Math",!0),p(o.JSON,"JSON",!0)},function(t,n,e){var r="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},o=e(78)("meta"),i=e(53),u=e(44),c=e(45).f,a=0,f=Object.isExtensible||function(){return!0},s=!e(60)(function(){return f(Object.preventExtensions({}))}),l=function(t){c(t,o,{value:{i:"O"+ ++a,w:{}}})},p=function(t,n){if(!i(t))return"symbol"==(void 0===t?"undefined":r(t))?t:("string"==typeof t?"S":"P")+t;if(!u(t,o)){if(!f(t))return"F";if(!n)return"E";l(t)}return t[o].i},d=function(t,n){if(!u(t,o)){if(!f(t))return!0;if(!n)return!1;l(t)}return t[o].w},h=function(t){return s&&v.NEED&&f(t)&&!u(t,o)&&l(t),t},v=t.exports={KEY:o,NEED:!1,fastKey:p,getWeak:d,onFreeze:h}},function(t,n,e){var r=e(114),o=e(168),i=e(119);t.exports=function(t){var n=r(t),e=o.f;if(e)for(var u,c=e(t),a=i.f,f=0;c.length>f;)a.call(t,u=c[f++])&&n.push(u);return n}},function(t,n,e){var r=e(167);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,n,e){var r="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},o=e(54),i=e(169).f,u={}.toString,c="object"==("undefined"==typeof window?"undefined":r(window))&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(t){try{return i(t)}catch(t){return c.slice()}};t.exports.f=function(t){return c&&"[object Window]"==u.call(t)?a(t):i(o(t))}},function(t,n){},function(t,n,e){e(118)("asyncIterator")},function(t,n,e){e(118)("observable")},function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var o=e(430),i=r(o),u=e(434),c=r(u),a=e(163),f=r(a);n.default=function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function, not "+(void 0===n?"undefined":(0,f.default)(n)));t.prototype=(0,c.default)(n&&n.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),n&&(i.default?(0,i.default)(t,n):t.__proto__=n)}},function(t,n,e){t.exports={default:e(431),__esModule:!0}},function(t,n,e){e(432),t.exports=e(29).Object.setPrototypeOf},function(t,n,e){var r=e(51);r(r.S,"Object",{setPrototypeOf:e(433).set})},function(t,n,e){var r=e(53),o=e(59),i=function(t,n){if(o(t),!r(n)&&null!==n)throw TypeError(n+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,n,r){try{r=e(160)(Function.call,e(170).f(Object.prototype,"__proto__").set,2),r(t,[]),n=!(t instanceof Array)}catch(t){n=!0}return function(t,e){return i(t,e),n?t.__proto__=e:r(t,e),t}}({},!1):void 0),check:i}},function(t,n,e){t.exports={default:e(435),__esModule:!0}},function(t,n,e){e(436);var r=e(29).Object;t.exports=function(t,n){return r.create(t,n)}},function(t,n,e){var r=e(51);r(r.S,"Object",{create:e(113)})},function(t,n){t.exports=React},function(t,n,e){(function(n){var r="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};if("production"!==n.env.NODE_ENV){var o="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,i=function(t){return"object"===(void 0===t?"undefined":r(t))&&null!==t&&t.$$typeof===o};t.exports=e(439)(i,!0)}else t.exports=e(442)()}).call(n,e(61))},function(t,n,e){"use strict";(function(n){var r="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},o=e(120),i=e(121),u=e(171),c=e(440),a=e(122),f=e(441);t.exports=function(t,e){function s(t){var n=t&&(P&&t[P]||t[j]);if("function"==typeof n)return n}function l(t,n){return t===n?0!==t||1/t==1/n:t!==t&&n!==n}function p(t){this.message=t,this.stack=""}function d(t){function r(r,f,s,l,d,h,v){if(l=l||I,h=h||s,v!==a)if(e)i(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");else if("production"!==n.env.NODE_ENV&&"undefined"!=typeof console){var y=l+":"+s;!o[y]&&c<3&&(u(!1,"You are manually calling a React.PropTypes validation function for the `%s` prop on `%s`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.",h,l),o[y]=!0,c++)}return null==f[s]?r?new p(null===f[s]?"The "+d+" `"+h+"` is marked as required in `"+l+"`, but its value is `null`.":"The "+d+" `"+h+"` is marked as required in `"+l+"`, but its value is `undefined`."):null:t(f,s,l,d,h)}if("production"!==n.env.NODE_ENV)var o={},c=0;var f=r.bind(null,!1);return f.isRequired=r.bind(null,!0),f}function h(t){function n(n,e,r,o,i,u){var c=n[e];if(_(c)!==t)return new p("Invalid "+o+" `"+i+"` of type `"+E(c)+"` supplied to `"+r+"`, expected `"+t+"`.");return null}return d(n)}function v(t){function n(n,e,r,o,i){if("function"!=typeof t)return new p("Property `"+i+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var u=n[e];if(!Array.isArray(u)){return new p("Invalid "+o+" `"+i+"` of type `"+_(u)+"` supplied to `"+r+"`, expected an array.")}for(var c=0;c<u.length;c++){var f=t(u,c,r,o,i+"["+c+"]",a);if(f instanceof Error)return f}return null}return d(n)}function y(t){function n(n,e,r,o,i){if(!(n[e]instanceof t)){var u=t.name||I;return new p("Invalid "+o+" `"+i+"` of type `"+T(n[e])+"` supplied to `"+r+"`, expected instance of `"+u+"`.")}return null}return d(n)}function m(t){function e(n,e,r,o,i){for(var u=n[e],c=0;c<t.length;c++)if(l(u,t[c]))return null;return new p("Invalid "+o+" `"+i+"` of value `"+u+"` supplied to `"+r+"`, expected one of "+JSON.stringify(t)+".")}return Array.isArray(t)?d(e):("production"!==n.env.NODE_ENV&&u(!1,"Invalid argument supplied to oneOf, expected an instance of array."),o.thatReturnsNull)}function g(t){function n(n,e,r,o,i){if("function"!=typeof t)return new p("Property `"+i+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var u=n[e],c=_(u);if("object"!==c)return new p("Invalid "+o+" `"+i+"` of type `"+c+"` supplied to `"+r+"`, expected an object.");for(var f in u)if(u.hasOwnProperty(f)){var s=t(u,f,r,o,i+"."+f,a);if(s instanceof Error)return s}return null}return d(n)}function b(t){function e(n,e,r,o,i){for(var u=0;u<t.length;u++){if(null==(0,t[u])(n,e,r,o,i,a))return null}return new p("Invalid "+o+" `"+i+"` supplied to `"+r+"`.")}if(!Array.isArray(t))return"production"!==n.env.NODE_ENV&&u(!1,"Invalid argument supplied to oneOfType, expected an instance of array."),o.thatReturnsNull;for(var r=0;r<t.length;r++){var i=t[r];if("function"!=typeof i)return u(!1,"Invalid argument supplied to oneOfType. Expected an array of check functions, but received %s at index %s.",M(i),r),o.thatReturnsNull}return d(e)}function w(t){function n(n,e,r,o,i){var u=n[e],c=_(u);if("object"!==c)return new p("Invalid "+o+" `"+i+"` of type `"+c+"` supplied to `"+r+"`, expected `object`.");for(var f in t){var s=t[f];if(s){var l=s(u,f,r,o,i+"."+f,a);if(l)return l}}return null}return d(n)}function S(t){function n(n,e,r,o,i){var u=n[e],f=_(u);if("object"!==f)return new p("Invalid "+o+" `"+i+"` of type `"+f+"` supplied to `"+r+"`, expected `object`.");var s=c({},n[e],t);for(var l in s){var d=t[l];if(!d)return new p("Invalid "+o+" `"+i+"` key `"+l+"` supplied to `"+r+"`.\nBad object: "+JSON.stringify(n[e],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(t),null," "));var h=d(u,l,r,o,i+"."+l,a);if(h)return h}return null}return d(n)}function x(n){switch(void 0===n?"undefined":r(n)){case"number":case"string":case"undefined":return!0;case"boolean":return!n;case"object":if(Array.isArray(n))return n.every(x);if(null===n||t(n))return!0;var e=s(n);if(!e)return!1;var o,i=e.call(n);if(e!==n.entries){for(;!(o=i.next()).done;)if(!x(o.value))return!1}else for(;!(o=i.next()).done;){var u=o.value;if(u&&!x(u[1]))return!1}return!0;default:return!1}}function O(t,n){return"symbol"===t||("Symbol"===n["@@toStringTag"]||"function"==typeof Symbol&&n instanceof Symbol)}function _(t){var n=void 0===t?"undefined":r(t);return Array.isArray(t)?"array":t instanceof RegExp?"object":O(n,t)?"symbol":n}function E(t){if(void 0===t||null===t)return""+t;var n=_(t);if("object"===n){if(t instanceof Date)return"date";if(t instanceof RegExp)return"regexp"}return n}function M(t){var n=E(t);switch(n){case"array":case"object":return"an "+n;case"boolean":case"date":case"regexp":return"a "+n;default:return n}}function T(t){return t.constructor&&t.constructor.name?t.constructor.name:I}var P="function"==typeof Symbol&&Symbol.iterator,j="@@iterator",I="<<anonymous>>",k={array:h("array"),bool:h("boolean"),func:h("function"),number:h("number"),object:h("object"),string:h("string"),symbol:h("symbol"),any:function(){return d(o.thatReturnsNull)}(),arrayOf:v,element:function(){function n(n,e,r,o,i){var u=n[e];if(!t(u)){return new p("Invalid "+o+" `"+i+"` of type `"+_(u)+"` supplied to `"+r+"`, expected a single ReactElement.")}return null}return d(n)}(),instanceOf:y,node:function(){function t(t,n,e,r,o){return x(t[n])?null:new p("Invalid "+r+" `"+o+"` supplied to `"+e+"`, expected a ReactNode.")}return d(t)}(),objectOf:g,oneOf:m,oneOfType:b,shape:w,exact:S};return p.prototype=Error.prototype,k.checkPropTypes=f,k.PropTypes=k,k}}).call(n,e(61))},function(t,n,e){"use strict";function r(t){if(null===t||void 0===t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}/*
7
  object-assign
8
  (c) Sindre Sorhus
9
  @license MIT
10
  */
11
+ var o=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable;t.exports=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var n={},e=0;e<10;e++)n["_"+String.fromCharCode(e)]=e;if("0123456789"!==Object.getOwnPropertyNames(n).map(function(t){return n[t]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(t){r[t]=t}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(t){return!1}}()?Object.assign:function(t,n){for(var e,c,a=r(t),f=1;f<arguments.length;f++){e=Object(arguments[f]);for(var s in e)i.call(e,s)&&(a[s]=e[s]);if(o){c=o(e);for(var l=0;l<c.length;l++)u.call(e,c[l])&&(a[c[l]]=e[c[l]])}}return a}},function(t,n,e){"use strict";(function(n){function r(t,e,r,f,s){if("production"!==n.env.NODE_ENV)for(var l in t)if(t.hasOwnProperty(l)){var p;try{i("function"==typeof t[l],"%s: %s type `%s` is invalid; it must be a function, usually from the `prop-types` package, but received `%s`.",f||"React class",r,l,o(t[l])),p=t[l](e,l,f,r,null,c)}catch(t){p=t}if(u(!p||p instanceof Error,"%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",f||"React class",r,l,void 0===p?"undefined":o(p)),p instanceof Error&&!(p.message in a)){a[p.message]=!0;var d=s?s():"";u(!1,"Failed %s type: %s%s",r,p.message,null!=d?d:"")}}}var o="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};if("production"!==n.env.NODE_ENV)var i=e(121),u=e(171),c=e(122),a={};t.exports=r}).call(n,e(61))},function(t,n,e){"use strict";var r=e(120),o=e(121),i=e(122);t.exports=function(){function t(t,n,e,r,u,c){c!==i&&o(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function n(){return t}t.isRequired=t;var e={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:n,element:t,instanceOf:n,node:t,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n};return e.checkPropTypes=r,e.PropTypes=e,e}},function(t,n){t.exports=ReactDOM},function(t,n,e){"use strict";t.exports=e(445)},function(t,n,e){n.iframeResizer=e(446),n.iframeResizerContentWindow=e(447)},function(t,n,e){var r,o,i,u="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};!function(e){"use strict";function c(t,n,e){"addEventListener"in window?t.addEventListener(n,e,!1):"attachEvent"in window&&t.attachEvent("on"+n,e)}function a(t,n,e){"removeEventListener"in window?t.removeEventListener(n,e,!1):"detachEvent"in window&&t.detachEvent("on"+n,e)}function f(){var t,n=["moz","webkit","o","ms"];for(t=0;t<n.length&&!G;t+=1)G=window[n[t]+"RequestAnimationFrame"];G||d("setup","RequestAnimationFrame not supported")}function s(t){var n="Host page: "+t;return window.top!==window.self&&(n=window.parentIFrame&&window.parentIFrame.getId?window.parentIFrame.getId()+": "+t:"Nested host page: "+t),n}function l(t){return V+"["+s(t)+"]"}function p(t){return q[t]?q[t].log:z}function d(t,n){y("log",t,n,p(t))}function h(t,n){y("info",t,n,p(t))}function v(t,n){y("warn",t,n,!0)}function y(t,n,e,r){!0===r&&"object"===u(window.console)&&console[t](l(n),e)}function m(t){function n(){function t(){_(F),S(N),P("resizedCallback",F)}e("Height"),e("Width"),E(t,F,"init")}function e(t){var n=Number(q[N]["max"+t]),e=Number(q[N]["min"+t]),r=t.toLowerCase(),o=Number(F[r]);d(N,"Checking "+r+" is in range "+e+"-"+n),o<e&&(o=e,d(N,"Set "+r+" to min value")),o>n&&(o=n,d(N,"Set "+r+" to max value")),F[r]=""+o}function r(t){return k.substr(k.indexOf(":")+W+t)}function o(t){d(N,"MessageCallback passed: {iframe: "+F.iframe.id+", message: "+t+"}"),P("messageCallback",{iframe:F.iframe,message:JSON.parse(t)}),d(N,"--")}function i(){var t=document.body.getBoundingClientRect(),n=F.iframe.getBoundingClientRect();return JSON.stringify({iframeHeight:n.height,iframeWidth:n.width,clientHeight:Math.max(document.documentElement.clientHeight,window.innerHeight||0),clientWidth:Math.max(document.documentElement.clientWidth,window.innerWidth||0),offsetTop:parseInt(n.top-t.top,10),offsetLeft:parseInt(n.left-t.left,10),scrollTop:window.pageYOffset,scrollLeft:window.pageXOffset})}function u(t,n){function e(){M("Send Page Info","pageInfo:"+i(),t,n)}I(e,32,n)}function f(){function t(t,r){function o(){q[e]?u(q[e].iframe,e):n()}["scroll","resize"].forEach(function(n){d(e,t+n+" listener for sendPageInfo"),r(window,n,o)})}function n(){t("Remove ",a)}var e=N;!function(){t("Add ",c)}(),q[e]&&(q[e].stopPageInfo=n)}function s(){q[N]&&q[N].stopPageInfo&&(q[N].stopPageInfo(),delete q[N].stopPageInfo)}function l(t){var n=t.getBoundingClientRect();return w(N),{x:Math.floor(Number(n.left)+Number(U.x)),y:Math.floor(Number(n.top)+Number(U.y))}}function p(t){var n=t?l(F.iframe):{x:0,y:0},e=function(){return{x:Number(F.width)+n.x,y:Number(F.height)+n.y}}();d(N,"Reposition requested from iFrame (offset x:"+n.x+" y:"+n.y+")"),window.top!==window.self?function(){window.parentIFrame?window.parentIFrame["scrollTo"+(t?"Offset":"")](e.x,e.y):v(N,"Unable to scroll to requested position, window.parentIFrame not found")}():function(){U=e,y(),d(N,"--")}()}function y(){!1!==P("scrollCallback",U)?S(N):x()}function m(t){var n=t.split("#")[1]||"",e=decodeURIComponent(n),r=document.getElementById(e)||document.getElementsByName(e)[0];r?function(){var t=l(r);d(N,"Moving to in page link (#"+n+") at x: "+t.x+" y: "+t.y),U={x:t.x,y:t.y},y(),d(N,"--")}():window.top!==window.self?function(){window.parentIFrame?window.parentIFrame.moveToAnchor(n):d(N,"In page link #"+n+" not found and window.parentIFrame not found")}():d(N,"In page link #"+n+" not found")}function P(t,n){return g(N,t,n)}function j(){q[N]&&(q[N].firstRun=!1)}var k=t.data,F={},N=null;"[iFrameResizerChild]Ready"===k?function(){for(var t in q)M("iFrame requested init",T(t),document.getElementById(t),t)}():function(){return V===(""+k).substr(0,B)&&k.substr(B).split(":")[0]in q}()?(F=function(){var t=k.substr(B).split(":");return{iframe:q[t[0]]&&q[t[0]].iframe,id:t[0],height:t[1],width:t[2],type:t[3]}}(),N=J=F.id,q[N]&&(q[N].loaded=!0),!function(){var t=F.type in{true:1,false:1,undefined:1};return t&&d(N,"Ignoring init message from meta parent page"),t}()&&function(t){var n=!0;return q[t]||(n=!1,v(F.type+" No settings for "+t+". Message was: "+k)),n}(N)&&(d(N,"Received: "+k),function(){var t=!0;return null===F.iframe&&(v(N,"IFrame ("+F.id+") not found"),t=!1),t}()&&function(){var n=t.origin,e=q[N]&&q[N].checkOrigin;if(e&&""+n!="null"&&!function(){return e.constructor===Array?function(){var t=0,r=!1;for(d(N,"Checking connection is from allowed list of origins: "+e);t<e.length;t++)if(e[t]===n){r=!0;break}return r}():function(){var t=q[N]&&q[N].remoteHost;return d(N,"Checking connection is from: "+t),n===t}()}())throw new Error("Unexpected message received from: "+n+" for "+F.iframe.id+". Message was: "+t.data+". This error can be disabled by setting the checkOrigin: false option or by providing of array of trusted domains.");return!0}()&&function(){switch(q[N]&&q[N].firstRun&&j(),F.type){case"close":q[N].closeRequestCallback?g(N,"closeRequestCallback",q[N].iframe):b(F.iframe);break;case"message":o(r(6));break;case"scrollTo":p(!1);break;case"scrollToOffset":p(!0);break;case"pageInfo":u(q[N]&&q[N].iframe,N),f();break;case"pageInfoStop":s();break;case"inPageLink":m(r(9));break;case"reset":O(F);break;case"init":n(),P("initCallback",F.iframe);break;default:n()}}())):h(N,"Ignored: "+k)}function g(t,n,e){var r=null,o=null;if(q[t]){if("function"!=typeof(r=q[t][n]))throw new TypeError(n+" on iFrame["+t+"] is not a function");o=r(e)}return o}function b(t){var n=t.id;d(n,"Removing iFrame: "+n),t.parentNode&&t.parentNode.removeChild(t),g(n,"closedCallback",n),d(n,"--"),delete q[n]}function w(t){null===U&&(U={x:window.pageXOffset!==e?window.pageXOffset:document.documentElement.scrollLeft,y:window.pageYOffset!==e?window.pageYOffset:document.documentElement.scrollTop},d(t,"Get page position: "+U.x+","+U.y))}function S(t){null!==U&&(window.scrollTo(U.x,U.y),d(t,"Set page position: "+U.x+","+U.y),x())}function x(){U=null}function O(t){function n(){_(t),M("reset","reset",t.iframe,t.id)}d(t.id,"Size reset requested by "+("init"===t.type?"host page":"iFrame")),w(t.id),E(n,t,"reset")}function _(t){function n(n){t.iframe.style[n]=t[n]+"px",d(t.id,"IFrame ("+o+") "+n+" set to "+t[n]+"px")}function e(n){D||"0"!==t[n]||(D=!0,d(o,"Hidden iFrame detected, creating visibility listener"),k())}function r(t){n(t),e(t)}var o=t.iframe.id;q[o]&&(q[o].sizeHeight&&r("height"),q[o].sizeWidth&&r("width"))}function E(t,n,e){e!==n.type&&G?(d(n.id,"Requesting animation frame"),G(t)):t()}function M(t,n,e,r,o){function i(){var o=q[r]&&q[r].targetOrigin;d(r,"["+t+"] Sending msg to iframe["+r+"] ("+n+") targetOrigin: "+o),e.contentWindow.postMessage(V+n,o)}function u(){v(r,"["+t+"] IFrame("+r+") not found")}var c=!1;r=r||e.id,q[r]&&(function(){e&&"contentWindow"in e&&null!==e.contentWindow?i():u()}(),function(){function t(){!q[r]||q[r].loaded||c||(c=!0,v(r,"IFrame has not responded within "+q[r].warningTimeout/1e3+" seconds. Check iFrameResizer.contentWindow.js has been loaded in iFrame. This message can be ingored if everything is working, or you can set the warningTimeout option to a higher value or zero to suppress this warning."))}o&&q[r]&&q[r].warningTimeout&&(q[r].msgTimeout=setTimeout(t,q[r].warningTimeout))}())}function T(t){return t+":"+q[t].bodyMarginV1+":"+q[t].sizeWidth+":"+q[t].log+":"+q[t].interval+":"+q[t].enablePublicMethods+":"+q[t].autoResize+":"+q[t].bodyMargin+":"+q[t].heightCalculationMethod+":"+q[t].bodyBackground+":"+q[t].bodyPadding+":"+q[t].tolerance+":"+q[t].inPageLinks+":"+q[t].resizeFrom+":"+q[t].widthCalculationMethod}function P(t,n){function r(){var t=n&&n.id||K.id+C++;return null!==document.getElementById(t)&&(t+=C++),t}function o(){var n=q[s]&&q[s].firstRun,e=q[s]&&q[s].heightCalculationMethod in H;!n&&e&&O({iframe:t,height:0,width:0,type:"init"})}function i(t){if("object"!==(void 0===t?"undefined":u(t)))throw new TypeError("Options is not an object")}function a(t){for(var n in K)K.hasOwnProperty(n)&&(q[s][n]=t.hasOwnProperty(n)?t[n]:K[n])}function f(t){return""===t||"file://"===t?"*":t}var s=function(e){return J=e,""===e&&(t.id=e=r(),z=(n||{}).log,J=e,d(e,"Added missing iframe ID: "+e+" ("+t.src+")")),e}(t.id);!function(){return s in q&&"iFrameResizer"in t}()?(function(n){n=n||{},q[s]={firstRun:!0,iframe:t,remoteHost:t.src.split("/").slice(0,3).join("/")},i(n),a(n),q[s]&&(q[s].targetOrigin=!0===q[s].checkOrigin?f(q[s].remoteHost):"*")}(n),function(){switch(d(s,"IFrame scrolling "+(q[s]&&q[s].scrolling?"enabled":"disabled")+" for "+s),t.style.overflow=!1===(q[s]&&q[s].scrolling)?"hidden":"auto",q[s]&&q[s].scrolling){case!0:t.scrolling="yes";break;case!1:t.scrolling="no";break;default:t.scrolling=q[s]?q[s].scrolling:"no"}}(),function(){function n(n){1/0!==q[s][n]&&0!==q[s][n]&&(t.style[n]=q[s][n]+"px",d(s,"Set "+n+" = "+q[s][n]+"px"))}function e(t){if(q[s]["min"+t]>q[s]["max"+t])throw new Error("Value for min"+t+" can not be greater than max"+t)}e("Height"),e("Width"),n("maxHeight"),n("minHeight"),n("maxWidth"),n("minWidth")}(),function(){"number"!=typeof(q[s]&&q[s].bodyMargin)&&"0"!==(q[s]&&q[s].bodyMargin)||(q[s].bodyMarginV1=q[s].bodyMargin,q[s].bodyMargin=q[s].bodyMargin+"px")}(),function(n){function r(){M("iFrame.onload",n,t,e,!0),o()}c(t,"load",r),M("init",n,t,e,!0)}(T(s)),function(){Function.prototype.bind&&q[s]&&(q[s].iframe.iFrameResizer={close:b.bind(null,q[s].iframe),resize:M.bind(null,"Window resize","resize",q[s].iframe),moveToAnchor:function(t){M("Move to anchor","moveToAnchor:"+t,q[s].iframe,s)},sendMessage:function(t){t=JSON.stringify(t),M("Send Message","message:"+t,q[s].iframe,s)}})}()):v(s,"Ignored iFrame, already setup.")}function j(t,n){null===Y&&(Y=setTimeout(function(){Y=null,t()},n))}function I(t,n,e){X[e]||(X[e]=setTimeout(function(){X[e]=null,t()},n))}function k(){function t(){for(var t in q)!function(t){function n(n){return"0px"===(q[t]&&q[t].iframe.style[n])}q[t]&&function(t){return null!==t.offsetParent}(q[t].iframe)&&(n("height")||n("width"))&&M("Visibility change","resize",q[t].iframe,t)}(t)}function n(n){d("window","Mutation observed: "+n[0].target+" "+n[0].type),j(t,16)}var e=window.MutationObserver||window.WebKitMutationObserver;e&&function(){var t=document.querySelector("body"),r={attributes:!0,attributeOldValue:!1,characterData:!0,characterDataOldValue:!1,childList:!0,subtree:!0};new e(n).observe(t,r)}()}function F(t){function n(){A("Window "+t,"resize")}d("window","Trigger event: "+t),j(n,16)}function N(){function t(){A("Tab Visable","resize")}"hidden"!==document.visibilityState&&(d("document","Trigger event: Visiblity change"),j(t,16))}function A(t,n){for(var e in q)(function(t){return q[t]&&"parent"===q[t].resizeFrom&&q[t].autoResize&&!q[t].firstRun})(e)&&M(t,n,document.getElementById(e),e)}function R(){c(window,"message",m),c(window,"resize",function(){F("resize")}),c(document,"visibilitychange",N),c(document,"-webkit-visibilitychange",N),c(window,"focusin",function(){F("focus")}),c(window,"focus",function(){F("focus")})}function L(){function t(t,n){n&&(!function(){if(!n.tagName)throw new TypeError("Object is not a valid DOM element");if("IFRAME"!==n.tagName.toUpperCase())throw new TypeError("Expected <IFRAME> tag, found <"+n.tagName+">")}(),P(n,t),r.push(n))}function n(t){t&&t.enablePublicMethods&&v("enablePublicMethods option has been removed, public methods are now always available in the iFrame")}var r;return f(),R(),function(o,i){switch(r=[],n(o),void 0===i?"undefined":u(i)){case"undefined":case"string":Array.prototype.forEach.call(document.querySelectorAll(i||"iframe"),t.bind(e,o));break;case"object":t(o,i);break;default:throw new TypeError("Unexpected data type ("+(void 0===i?"undefined":u(i))+")")}return r}}if("undefined"!=typeof window){var C=0,z=!1,D=!1,W="message".length,V="[iFrameSizer]",B=V.length,U=null,G=window.requestAnimationFrame,H={max:1,scroll:1,bodyScroll:1,documentElementScroll:1},q={},Y=null,J="Host Page",K={autoResize:!0,bodyBackground:null,bodyMargin:null,bodyMarginV1:8,bodyPadding:null,checkOrigin:!0,inPageLinks:!1,enablePublicMethods:!0,heightCalculationMethod:"bodyOffset",id:"iFrameResizer",interval:32,log:!1,maxHeight:1/0,maxWidth:1/0,minHeight:0,minWidth:0,resizeFrom:"parent",scrolling:!1,sizeHeight:!0,sizeWidth:!1,warningTimeout:5e3,tolerance:0,widthCalculationMethod:"scroll",closedCallback:function(){},initCallback:function(){},messageCallback:function(){v("MessageCallback function not defined")},resizedCallback:function(){},scrollCallback:function(){return!0}},X={};window.jQuery&&function(t){t.fn?t.fn.iFrameResize||(t.fn.iFrameResize=function(t){function n(n,e){P(e,t)}return this.filter("iframe").each(n).end()}):h("","Unable to bind to jQuery, it is not fully loaded.")}(window.jQuery),o=[],r=L,(i="function"==typeof r?r.apply(n,o):r)!==e&&(t.exports=i)}}()},function(t,n){var e="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};!function(n){"use strict";function r(t,n,e){"addEventListener"in window?t.addEventListener(n,e,!1):"attachEvent"in window&&t.attachEvent("on"+n,e)}function o(t,n,e){"removeEventListener"in window?t.removeEventListener(n,e,!1):"detachEvent"in window&&t.detachEvent("on"+n,e)}function i(t){return t.charAt(0).toUpperCase()+t.slice(1)}function u(t){return pt+"["+ht+"] "+t}function c(t){lt&&"object"===e(window.console)&&console.log(u(t))}function a(t){"object"===e(window.console)&&console.warn(u(t))}function f(){s(),c("Initialising iFrame ("+location.href+")"),l(),h(),d("background",J),d("padding",$),T(),b(),w(),v(),j(),S(),at=P(),W("init","Init message from host page"),jt()}function s(){function t(t){return"true"===t}var e=ct.substr(dt).split(":");ht=e[0],K=n!==e[1]?Number(e[1]):K,Z=n!==e[2]?t(e[2]):Z,lt=n!==e[3]?t(e[3]):lt,ft=n!==e[4]?Number(e[4]):ft,q=n!==e[6]?t(e[6]):q,X=e[7],it=n!==e[8]?e[8]:it,J=e[9],$=e[10],wt=n!==e[11]?Number(e[11]):wt,at.enable=n!==e[12]&&t(e[12]),yt=n!==e[13]?e[13]:yt,Mt=n!==e[14]?e[14]:Mt}function l(){function t(t,n){return"function"==typeof t&&(c("Setup custom "+n+"CalcMethod"),kt[n]=t,t="custom"),t}"iFrameResizer"in window&&Object===window.iFrameResizer.constructor&&(!function(){var t=window.iFrameResizer;c("Reading data from page: "+JSON.stringify(t)),Pt="messageCallback"in t?t.messageCallback:Pt,jt="readyCallback"in t?t.readyCallback:jt,bt="targetOrigin"in t?t.targetOrigin:bt,it="heightCalculationMethod"in t?t.heightCalculationMethod:it,Mt="widthCalculationMethod"in t?t.widthCalculationMethod:Mt}(),it=t(it,"height"),Mt=t(Mt,"width")),c("TargetOrigin for parent set to: "+bt)}function p(t,n){return-1!==n.indexOf("-")&&(a("Negative CSS value ignored for "+t),n=""),n}function d(t,e){n!==e&&""!==e&&"null"!==e&&(document.body.style[t]=e,c("Body "+t+' set to "'+e+'"'))}function h(){n===X&&(X=K+"px"),d("margin",p("margin",X))}function v(){document.documentElement.style.height="",document.body.style.height="",c('HTML & body height set to "auto"')}function y(t){var n={add:function(n){function e(){W(t.eventName,t.eventType)}Ft[n]=e,r(window,n,e)},remove:function(t){var n=Ft[t];delete Ft[t],o(window,t,n)}};t.eventNames&&Array.prototype.map?(t.eventName=t.eventNames[0],t.eventNames.map(n[t.method])):n[t.method](t.eventName),c(i(t.method)+" event listener: "+t.eventType)}function m(t){y({method:t,eventType:"Animation Start",eventNames:["animationstart","webkitAnimationStart"]}),y({method:t,eventType:"Animation Iteration",eventNames:["animationiteration","webkitAnimationIteration"]}),y({method:t,eventType:"Animation End",eventNames:["animationend","webkitAnimationEnd"]}),y({method:t,eventType:"Input",eventName:"input"}),y({method:t,eventType:"Mouse Up",eventName:"mouseup"}),y({method:t,eventType:"Mouse Down",eventName:"mousedown"}),y({method:t,eventType:"Orientation Change",eventName:"orientationchange"}),y({method:t,eventType:"Print",eventName:["afterprint","beforeprint"]}),y({method:t,eventType:"Ready State Change",eventName:"readystatechange"}),y({method:t,eventType:"Touch Start",eventName:"touchstart"}),y({method:t,eventType:"Touch End",eventName:"touchend"}),y({method:t,eventType:"Touch Cancel",eventName:"touchcancel"}),y({method:t,eventType:"Transition Start",eventNames:["transitionstart","webkitTransitionStart","MSTransitionStart","oTransitionStart","otransitionstart"]}),y({method:t,eventType:"Transition Iteration",eventNames:["transitioniteration","webkitTransitionIteration","MSTransitionIteration","oTransitionIteration","otransitioniteration"]}),y({method:t,eventType:"Transition End",eventNames:["transitionend","webkitTransitionEnd","MSTransitionEnd","oTransitionEnd","otransitionend"]}),"child"===yt&&y({method:t,eventType:"IFrame Resized",eventName:"resize"})}function g(t,n,e,r){return n!==t&&(t in e||(a(t+" is not a valid option for "+r+"CalculationMethod."),t=n),c(r+' calculation method set to "'+t+'"')),t}function b(){it=g(it,ot,At,"height")}function w(){Mt=g(Mt,Et,Rt,"width")}function S(){!0===q?(m("add"),F()):c("Auto Resize disabled")}function x(){c("Disable outgoing messages"),mt=!1}function O(){c("Remove event listener: Message"),o(window,"message",H)}function _(){null!==Q&&Q.disconnect()}function E(){m("remove"),_(),clearInterval(st)}function M(){x(),O(),!0===q&&E()}function T(){var t=document.createElement("div");t.style.clear="both",t.style.display="block",document.body.appendChild(t)}function P(){function t(){return{x:window.pageXOffset!==n?window.pageXOffset:document.documentElement.scrollLeft,y:window.pageYOffset!==n?window.pageYOffset:document.documentElement.scrollTop}}function e(n){var e=n.getBoundingClientRect(),r=t();return{x:parseInt(e.left,10)+parseInt(r.x,10),y:parseInt(e.top,10)+parseInt(r.y,10)}}function o(t){var r=t.split("#")[1]||t,o=decodeURIComponent(r),i=document.getElementById(o)||document.getElementsByName(o)[0];n!==i?function(t){var n=e(t);c("Moving to in page link (#"+r+") at x: "+n.x+" y: "+n.y),G(n.y,n.x,"scrollToOffset")}(i):(c("In page link (#"+r+") not found in iFrame, so sending to parent"),G(0,0,"inPageLink","#"+r))}function i(){""!==location.hash&&"#"!==location.hash&&o(location.href)}function u(){function t(t){function n(t){t.preventDefault(),o(this.getAttribute("href"))}"#"!==t.getAttribute("href")&&r(t,"click",n)}Array.prototype.forEach.call(document.querySelectorAll('a[href^="#"]'),t)}function f(){r(window,"hashchange",i)}function s(){setTimeout(i,nt)}return at.enable?function(){Array.prototype.forEach&&document.querySelectorAll?(c("Setting up location.hash handlers"),u(),f(),s()):a("In page linking not fully supported in this browser! (See README.md for IE8 workaround)")}():c("In page linking not enabled"),{findTarget:o}}function j(){c("Enable public methods"),Tt.parentIFrame={autoResize:function(t){return!0===t&&!1===q?(q=!0,S()):!1===t&&!0===q&&(q=!1,E()),q},close:function(){G(0,0,"close"),M()},getId:function(){return ht},getPageInfo:function(t){"function"==typeof t?(It=t,G(0,0,"pageInfo")):(It=function(){},G(0,0,"pageInfoStop"))},moveToAnchor:function(t){at.findTarget(t)},reset:function(){U("parentIFrame.reset")},scrollTo:function(t,n){G(n,t,"scrollTo")},scrollToOffset:function(t,n){G(n,t,"scrollToOffset")},sendMessage:function(t,n){G(0,0,"message",JSON.stringify(t),n)},setHeightCalculationMethod:function(t){it=t,b()},setWidthCalculationMethod:function(t){Mt=t,w()},setTargetOrigin:function(t){c("Set targetOrigin: "+t),bt=t},size:function(t,n){W("size","parentIFrame.size("+(t||"")+(n?","+n:"")+")",t,n)}}}function I(){0!==ft&&(c("setInterval: "+ft+"ms"),st=setInterval(function(){W("interval","setInterval: "+ft)},Math.abs(ft)))}function k(){function t(t){function n(t){!1===t.complete&&(c("Attach listeners to "+t.src),t.addEventListener("load",i,!1),t.addEventListener("error",u,!1),f.push(t))}"attributes"===t.type&&"src"===t.attributeName?n(t.target):"childList"===t.type&&Array.prototype.forEach.call(t.target.querySelectorAll("img"),n)}function e(t){f.splice(f.indexOf(t),1)}function r(t){c("Remove listeners from "+t.src),t.removeEventListener("load",i,!1),t.removeEventListener("error",u,!1),e(t)}function o(t,e,o){r(t.target),W(e,o+": "+t.target.src,n,n)}function i(t){o(t,"imageLoad","Image loaded")}function u(t){o(t,"imageLoadFailed","Image load failed")}function a(n){W("mutationObserver","mutationObserver: "+n[0].target+" "+n[0].type),n.forEach(t)}var f=[],s=window.MutationObserver||window.WebKitMutationObserver,l=function(){var t=document.querySelector("body"),n={attributes:!0,attributeOldValue:!1,characterData:!0,characterDataOldValue:!1,childList:!0,subtree:!0};return l=new s(a),c("Create body MutationObserver"),l.observe(t,n),l}();return{disconnect:function(){"disconnect"in l&&(c("Disconnect body MutationObserver"),l.disconnect(),f.forEach(r))}}}function F(){var t=0>ft;window.MutationObserver||window.WebKitMutationObserver?t?I():Q=k():(c("MutationObserver not supported in this browser!"),I())}function N(t,n){var e=0;return n=n||document.body,"defaultView"in document&&"getComputedStyle"in document.defaultView?(e=document.defaultView.getComputedStyle(n,null),e=null!==e?e[t]:0):e=function(t){if(/^\d+(px)?$/i.test(t))return parseInt(t,Y);var e=n.style.left,r=n.runtimeStyle.left;return n.runtimeStyle.left=n.currentStyle.left,n.style.left=t||0,t=n.style.pixelLeft,n.style.left=e,n.runtimeStyle.left=r,t}(n.currentStyle[t]),parseInt(e,Y)}function A(t){t>Ot/2&&(Ot=2*t,c("Event throttle increased to "+Ot+"ms"))}function R(t,n){for(var e=n.length,r=0,o=0,u=i(t),a=Nt(),f=0;f<e;f++)(r=n[f].getBoundingClientRect()[t]+N("margin"+u,n[f]))>o&&(o=r);return a=Nt()-a,c("Parsed "+e+" HTML elements"),c("Element position calculated in "+a+"ms"),A(a),o}function L(t){return[t.bodyOffset(),t.bodyScroll(),t.documentElementOffset(),t.documentElementScroll()]}function C(t,n){var e=document.querySelectorAll("["+n+"]");return 0===e.length&&function(){a("No tagged elements ("+n+") found on page"),document.querySelectorAll("body *")}(),R(t,e)}function z(){return document.querySelectorAll("body *")}function D(t,e,r,o){function i(){return!(t in{init:1,interval:1,size:1})}function u(){return it in vt||Z&&Mt in vt}function a(){c("No change in size detected")}var f,s;!function(){function t(t,n){return!(Math.abs(t-n)<=wt)}return f=n!==r?r:At[it](),s=n!==o?o:Rt[Mt](),t(rt,f)||Z&&t(_t,s)}()&&"init"!==t?function(){i()&&u()?U(e):t in{interval:1}||a()}():(V(),function(){rt=f,_t=s,G(rt,_t,t)}())}function W(t,n,e,r){!function(){return St&&t in tt}()?(!function(){t in{reset:1,resetPage:1,init:1}||c("Trigger event: "+n)}(),"init"===t?D(t,n,e,r):Lt(t,n,e,r)):c("Trigger event cancelled: "+t)}function V(){St||(St=!0,c("Trigger event lock on")),clearTimeout(xt),xt=setTimeout(function(){St=!1,c("Trigger event lock off"),c("--")},nt)}function B(t){rt=At[it](),_t=Rt[Mt](),G(rt,_t,t)}function U(t){var n=it;it=ot,c("Reset trigger event: "+t),V(),B("reset"),it=n}function G(t,e,r,o,i){!0===mt&&(function(){n===i?i=bt:c("Message targetOrigin: "+i)}(),function(){var u=t+":"+e,a=ht+":"+u+":"+r+(n!==o?":"+o:"");c("Sending message to host page ("+a+")"),gt.postMessage(pt+a,i)}())}function H(n){function e(){return n.data.split("]")[1].split(":")[0]}function o(){return n.data.substr(n.data.indexOf(":")+1)}function i(){return!(void 0!==t&&t.exports)&&"iFrameResize"in window}function u(){return n.data.split(":")[2]in{true:1,false:1}}function s(){var t=e();t in l?l[t]():i()||u()||a("Unexpected message ("+n.data+")")}var l={init:function(){"interactive"===document.readyState||"complete"===document.readyState?function(){ct=n.data,gt=n.source,f(),et=!1,setTimeout(function(){ut=!1},nt)}():(c("Waiting for page ready"),r(window,"readystatechange",l.initFromParent))},reset:function(){ut?c("Page reset ignored by init"):(c("Page size reset by host page"),B("resetPage"))},resize:function(){W("resizeParent","Parent window requested size check")},moveToAnchor:function(){at.findTarget(o())},inPageLink:function(){this.moveToAnchor()},pageInfo:function(){var t=o();c("PageInfoFromParent called from parent: "+t),It(JSON.parse(t)),c(" --")},message:function(){var t=o();c("MessageCallback called from parent: "+t),Pt(JSON.parse(t)),c(" --")}};(function(){return pt===(""+n.data).substr(0,dt)})()&&function(){!1===et?s():u()?l.init():c('Ignored message of type "'+e()+'". Received before initialization.')}()}if("undefined"!=typeof window){var q=!0,Y=10,J="",K=0,X="",Q=null,$="",Z=!1,tt={resize:1,click:1},nt=128,et=!0,rt=1,ot="bodyOffset",it=ot,ut=!0,ct="",at={},ft=32,st=null,lt=!1,pt="[iFrameSizer]",dt=pt.length,ht="",vt={max:1,min:1,bodyScroll:1,documentElementScroll:1},yt="child",mt=!0,gt=window.parent,bt="*",wt=0,St=!1,xt=null,Ot=16,_t=1,Et="scroll",Mt=Et,Tt=window,Pt=function(){a("MessageCallback function not defined")},jt=function(){},It=function(){},kt={height:function(){return a("Custom height calculation function not defined"),document.documentElement.offsetHeight},width:function(){return a("Custom width calculation function not defined"),document.body.scrollWidth}},Ft={},Nt=Date.now||function(){return(new Date).getTime()},At={bodyOffset:function(){return document.body.offsetHeight+N("marginTop")+N("marginBottom")},offset:function(){return At.bodyOffset()},bodyScroll:function(){return document.body.scrollHeight},custom:function(){return kt.height()},documentElementOffset:function(){return document.documentElement.offsetHeight},documentElementScroll:function(){return document.documentElement.scrollHeight},max:function(){return Math.max.apply(null,L(At))},min:function(){return Math.min.apply(null,L(At))},grow:function(){return At.max()},lowestElement:function(){return Math.max(At.bodyOffset()||At.documentElementOffset(),R("bottom",z()))},taggedElement:function(){return C("bottom","data-iframe-height")}},Rt={bodyScroll:function(){return document.body.scrollWidth},bodyOffset:function(){return document.body.offsetWidth},custom:function(){return kt.width()},documentElementScroll:function(){return document.documentElement.scrollWidth},documentElementOffset:function(){return document.documentElement.offsetWidth},scroll:function(){return Math.max(Rt.bodyScroll(),Rt.documentElementScroll())},max:function(){return Math.max.apply(null,L(Rt))},min:function(){return Math.min.apply(null,L(Rt))},rightMostElement:function(){return R("right",z())},taggedElement:function(){return C("right","data-iframe-width")}},Lt=function(t){var n,e,r,o=null,i=0,u=function(){i=Nt(),o=null,r=t.apply(n,e),o||(n=e=null)};return function(){var c=Nt();i||(i=c);var a=Ot-(c-i);return n=this,e=arguments,a<=0||a>Ot?(o&&(clearTimeout(o),o=null),i=c,r=t.apply(n,e),o||(n=e=null)):o||(o=setTimeout(u,a)),r}}(D);r(window,"message",H),function(){"loading"!==document.readyState&&window.parent.postMessage("[iFrameResizerChild]Ready","*")}()}}()},function(t,n){t.exports="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%23000%7D%3C/style%3E%3C/defs%3E%3Cpath id='BR' class='cls-1' d='M0 6h7v9H0z'/%3E%3Cpath id='BL' class='cls-1' d='M8 10h7v5H8z'/%3E%3Cpath id='TR' class='cls-1' d='M0 0h7v5H0z'/%3E%3Cpath id='TL' class='cls-1' d='M8 0h7v9H8z'/%3E%3C/svg%3E"},function(t,n){t.exports="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%23bbb%7D%3C/style%3E%3C/defs%3E%3Cpath id='BR' class='cls-1' d='M0 6h7v9H0z'/%3E%3Cpath id='BL' class='cls-1' d='M8 10h7v5H8z'/%3E%3Cpath id='TR' class='cls-1' d='M0 0h7v5H0z'/%3E%3Cpath id='TL' class='cls-1' d='M8 0h7v9H8z'/%3E%3C/svg%3E"}]);
assets/admin/js/mce-dropdown.min.js CHANGED
@@ -1,6 +1,6 @@
1
- !function(t){function i(n){if(o[n])return o[n].exports;var e=o[n]={i:n,l:!1,exports:{}};return t[n].call(e.exports,e,e.exports,i),e.l=!0,e.exports}var o={};i.m=t,i.c=o,i.d=function(t,o,n){i.o(t,o)||Object.defineProperty(t,o,{configurable:!1,enumerable:!0,get:n})},i.n=function(t){var o=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(o,"a",o),o},i.o=function(t,i){return Object.prototype.hasOwnProperty.call(t,i)},i.p="",i(i.s=53)}({53:function(t,i,o){t.exports=o(54)},54:function(t,i){/*!
2
  * Name : Visual Portfolio
3
- * Version : 1.6.5
4
  * Author : nK https://nkdev.info
5
  */
6
  var o=window,n=o.tinymce,e=o.VPTinyMCEOptions;if(void 0!==e&&e.length){var u=[{text:"",value:""}];Object.keys(e).forEach(function(t){u.push({text:e[t].title,value:e[t].id})}),n.create("tinymce.plugins.visual_portfolio",{init:function(t){t.addButton("visual_portfolio",{type:"listbox",title:"Visual Portfolio",icon:"visual-portfolio",classes:"visual-portfolio-btn",onclick:function(){this.menu&&this.menu.$el.find(".mce-first").hide()},onselect:function(){this.value()&&t.insertContent('[visual_portfolio id="'+this.value()+'"]'),this.value("")},values:u,value:""})}}),n.PluginManager.add("visual_portfolio",n.plugins.visual_portfolio)}}});
1
+ !function(t){function i(n){if(o[n])return o[n].exports;var e=o[n]={i:n,l:!1,exports:{}};return t[n].call(e.exports,e,e.exports,i),e.l=!0,e.exports}var o={};i.m=t,i.c=o,i.d=function(t,o,n){i.o(t,o)||Object.defineProperty(t,o,{configurable:!1,enumerable:!0,get:n})},i.n=function(t){var o=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(o,"a",o),o},i.o=function(t,i){return Object.prototype.hasOwnProperty.call(t,i)},i.p="",i(i.s=178)}({178:function(t,i,o){t.exports=o(179)},179:function(t,i){/*!
2
  * Name : Visual Portfolio
3
+ * Version : 1.7.0
4
  * Author : nK https://nkdev.info
5
  */
6
  var o=window,n=o.tinymce,e=o.VPTinyMCEOptions;if(void 0!==e&&e.length){var u=[{text:"",value:""}];Object.keys(e).forEach(function(t){u.push({text:e[t].title,value:e[t].id})}),n.create("tinymce.plugins.visual_portfolio",{init:function(t){t.addButton("visual_portfolio",{type:"listbox",title:"Visual Portfolio",icon:"visual-portfolio",classes:"visual-portfolio-btn",onclick:function(){this.menu&&this.menu.$el.find(".mce-first").hide()},onselect:function(){this.value()&&t.insertContent('[visual_portfolio id="'+this.value()+'"]'),this.value("")},values:u,value:""})}}),n.PluginManager.add("visual_portfolio",n.plugins.visual_portfolio)}}});
assets/admin/js/mce-localize.min.js CHANGED
@@ -1 +1 @@
1
- !function(n){function t(e){if(r[e])return r[e].exports;var o=r[e]={i:e,l:!1,exports:{}};return n[e].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var r={};t.m=n,t.c=r,t.d=function(n,r,e){t.o(n,r)||Object.defineProperty(n,r,{configurable:!1,enumerable:!0,get:e})},t.n=function(n){var r=n&&n.__esModule?function(){return n.default}:function(){return n};return t.d(r,"a",r),r},t.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},t.p="",t(t.s=55)}({55:function(n,t,r){n.exports=r(56)},56:function(n,t){}});
1
+ !function(n){function t(e){if(r[e])return r[e].exports;var o=r[e]={i:e,l:!1,exports:{}};return n[e].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var r={};t.m=n,t.c=r,t.d=function(n,r,e){t.o(n,r)||Object.defineProperty(n,r,{configurable:!1,enumerable:!0,get:e})},t.n=function(n){var r=n&&n.__esModule?function(){return n.default}:function(){return n};return t.d(r,"a",r),r},t.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},t.p="",t(t.s=180)}({180:function(n,t,r){n.exports=r(181)},181:function(n,t){}});
assets/admin/js/script.min.js CHANGED
@@ -1 +1 @@
1
- !function(e){function t(n){if(a[n])return a[n].exports;var i=a[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var a={};t.m=e,t.c=a,t.d=function(e,a,n){t.o(e,a)||Object.defineProperty(e,a,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(a,"a",a),a},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=57)}({57:function(e,t,a){e.exports=a(58)},58:function(e,t){function a(e){if(Array.isArray(e)){for(var t=0,a=Array(e.length);t<e.length;t++)a[t]=e[t];return a}return Array.from(e)}function n(){h[_.is(":checked")?"show":"hide"]()}var i="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},o=jQuery,r=window,l=r.ajaxurl,s=r.VPAdminVariables,c=r.Tooltip,d=r.CodeMirror,p=r.emmetCodeMirror,v=o("body"),m=o(window),u=o('form[name="post"]'),f=o('[name="post_type"]'),g=o("#postID, #post_ID").eq(0).val();v.on("focus",'[name="vp_list_shortcode"], [name="vp_filter_shortcode"]',function(){this.select()}),v.on("click",".vp-onclick-selection",function(){window.getSelection().selectAllChildren(this)});var h=o("#vp_format_video"),_=o("#post-format-video");h.length&&_.length&&(n(),v.on("change","[name=post_format]",function(){n()}));var y=null,b=void 0;v.on("change input",'.vp-input[name="video_url"]',function(){null!==y&&y.abort();var e=o(this);e.next(".vp-oembed-preview").html(""),clearTimeout(b),b=setTimeout(function(){y=o.ajax({url:l,method:"GET",dataType:"json",data:{action:"vp_find_oembed",q:e.val(),nonce:s.nonce},complete:function(t){var a=t.responseJSON;a&&void 0!==a.html&&e.next(".vp-oembed-preview").html(a.html)}})},250)}),void 0!==c&&o('[data-hint]:not([data-hint=""]):not([data-hint="false"])').each(function(){var e=o(this);new c(this,{placement:e.attr("data-hint-place")||"top",title:e.attr("data-hint"),container:o("body")[0],boundariesElement:"viewport"})}),function(){function e(){var e="",t=o('[name="vp_controls_styles"]'),a=".vp-id-"+g,n=t.val();o('.vp-control-style [type="hidden"]').each(function(){var t=o(this),n=t.closest(".vp-control");if("none"!==n.css("display")){var i=n.find(t.attr("data-style-from")).val();e&&(e+=" "),e+=a+" "+t.attr("data-style-element")+" { "+t.attr("data-style-property")+": "+i+"; }"}}),n!==e&&t.val(e).trigger("vp-fake-change")}function t(e,t){var a=e.find('[data-image-id="'+t+'"]'),n={id:t};return a.find("[data-additional]").each(function(){var e=o(this),t=e.attr("data-additional");if(n[t]=e.html(),"true"===e.attr("data-to-json"))try{n[t]=JSON.parse(n[t])}catch(e){n[t]=""}}),n}function n(e,t){var a=e.find('[data-image-id="'+t+'"]'),n={};return a.find("[data-meta]").each(function(){n[o(this).attr("data-meta")]=o(this).html()}),n}function r(e){var a=[];e.children(".vp-control-gallery-items").find(".vp-control-gallery-items-img").each(function(){a.push(t(e,o(this).attr("data-image-id")))});var n=JSON.stringify(a),i=e.children("textarea");n!==i.val()&&i.val(n).change()}function c(e,i){var r=e.children("textarea").attr("name"),l=e.children(".vp-control-gallery-additional-data"),s=l.children(".vp-control-gallery-additional-data-preview"),c=e.children(".vp-control-gallery-items").find('.vp-control-gallery-items-img[data-image-id="'+i+'"]'),d=t(e,i),p=n(e,i);d&&Object.keys(d).forEach(function(n){var i=l.find('[name="'+r+"_additional_"+n+'"], [name="'+r+"_additional_"+n+'[]"]').val(d[n]||"");if(i.hasClass("vp-select2")){if(i.hasClass("vp-select2-tags")){var s=[],c=[];e.children(".vp-control-gallery-items").find(".vp-control-gallery-items-img").each(function(){var i=t(e,o(this).attr("data-image-id"));i&&void 0!==i[n]&&i[n]&&(s=[].concat(a(new Set([].concat(a(s),a(i[n]))))))}),s.forEach(function(e){c.push(new window.Option(e,e,!1,!1))}),i.html(c.length?c:""),i.val(void 0!==d[n]&&d[n]?d[n]:"")}i.trigger("change")}}),s.find(".vp-control-gallery-additional-data-preview-image img").attr("src",c.children("img").attr("src")||""),s.find(".vp-control-gallery-additional-data-preview-name").html(p.filename),s.find(".vp-control-gallery-additional-data-preview-size").html(p.width+"x"+p.height+" ("+p.filesizeHumanReadable+")"),s.find(".vp-control-gallery-additional-data-preview-edit a").attr("href",p.editLink.replace("&amp;","&")),c.siblings().removeClass("active"),c.addClass("active"),l.addClass("active"),E=S.find(".vp-control-gallery-additional-data.active").length}function h(e,t){if(O&&(t=!1,O=!1),s&&s.css_editor_error_notice){var a=!1;if(1===e.length?a=s.css_editor_error_notice.singular.replace("%d","1"):e.length>1&&(a=s.css_editor_error_notice.plural.replace("%d",String(e.length))),a){var n=A.prev("#vp_custom_css_notice");if(n.length||t||(n=o('<div class="notice notice-error inline" id="vp_custom_css_notice"></div>'),A.before(n)),!n.length)return;var i='<p class="notification-message">'+a+'</p><p><input id="vp_custom_css_notice_prevent" type="checkbox"><label for="vp_custom_css_notice_prevent">'+s.css_editor_error_checkbox+"</label></p>";n.html(i)}else A.prev("#vp_custom_css_notice").remove()}}if("vp_lists"===f.val()&&u.length){var _=o(".vp-content-source"),y=_.find('[name="vp_content_source"]');_.on("click",".vp-content-source__item",function(){var e=o(this).attr("data-content");_.find('[data-content="'+e+'"]').addClass("active").siblings().removeClass("active"),y.val(e).change()}),_.children('[data-content="'+y.val()+'"]').click(),o.fn.conditionize&&u.conditionize(),o(".vp-control-range").each(function(){var e=o(this).find("input"),t=e.filter('[type="hidden"]');e.on("change input",function(a){e.val(o(this).val()),t.trigger("vp-fake-"+a.type)})}),o.fn.wpColorPicker&&o(".vp-color-picker").each(function(){function e(e){if(a)return void(a=!1);clearTimeout(t),t=setTimeout(function(){o(e.target).change()},300)}var t=void 0,a=!0;o(this).data("change",e).wpColorPicker()}),o.fn.imagepicker&&o(".vp-image-picker").imagepicker();var b=o(".vp_list_preview iframe"),w=!1,k=!1,C=o('<form target="vp_list_preview_iframe" method="post" style="display: none">').attr("action",b.attr("src")).insertAfter(u);o.fn.iFrameResize&&b.iFrameResize({interval:10});var x=void 0;u.on("change input vp-fake-change vp-fake-input",'[name*="vp_"]',function(t){var a=o(this);if(!a.closest(".vp-no-reload").length){if(o('[name="'+a.attr("name")+'__style[]"]').length)return void e();var n={name:a.attr("name"),value:a.is("[type=checkbox], [type=radio]")?a.is(":checked"):a.val(),reload:"change"===t.type||"vp-fake-change"===t.type,jQuery:k,$portfolio:w},i=C.find('[name="'+n.name+'"]');i.length||(i=o('<input type="hidden" name="'+n.name+'" />').appendTo(C)),i.attr("value",n.value),m.trigger("vp-preview-change",n),n.reload||e(),!n.reload&&w||(clearTimeout(x),x=setTimeout(function(){k=!1,w=!1,C.submit()},400))}}),b.on("load",function(){k=this.contentWindow.jQuery,w=k(".vp-portfolio"),e()}),m.on("vp-preview-change",function(e,t){if(t.$portfolio)switch(t.name){case"vp_layout":case"vp_tiles_type":case"vp_masonry_columns":case"vp_justified_row_height":case"vp_justified_row_height_tolerance":case"vp_slider_effect":case"vp_slider_speed":case"vp_slider_autoplay":case"vp_slider_centered_slides":case"vp_slider_loop":case"vp_slider_free_mode":case"vp_slider_arrows":case"vp_slider_arrows_icon_prev":case"vp_slider_arrows_icon_next":case"vp_slider_bullets":case"vp_slider_bullets_dynamic":case"vp_items_gap":var a=t.name;a=a.substring(3),a=a.replace(/_/g,"-"),t.$portfolio.attr("data-vp-"+a,t.value),t.$portfolio.vpf("init"),t.reload=!1;break;case"vp_filter_align":t.$portfolio.find(".vp-filter").removeClass("vp-filter__align-center vp-filter__align-left vp-filter__align-right").addClass("vp-filter__align-"+t.value),t.reload=!1;break;case"vp_pagination_align":t.$portfolio.find(".vp-pagination").removeClass("vp-pagination__align-center vp-pagination__align-left vp-pagination__align-right").addClass("vp-pagination__align-"+t.value),t.reload=!1;break;case"vp_controls_styles":var n=t.$portfolio.closest("html"),i="vp-controls-styles-"+g+"-inline-css",o=n.find("#"+i);o.length||(o=t.jQuery('<style id="'+i+'">'),n.find("body").prepend(o)),o.html(t.value),t.reload=!1;break;case"vp_custom_css":var r=t.$portfolio.closest("html"),l="vp-custom-css-"+g+"-inline-css",s=r.find("#"+l);s.length||(s=t.jQuery('<style id="'+l+'">'),r.find("body").prepend(s)),s.html(t.value),t.reload=!1;break;case"vp_list_name":case"vp_stretch":t.reload=!1}}),v.on("click",".vp-control-image-dropdown",function(e){o(e.target).closest(".vp-control-image-dropdown__content").length||o(this).toggleClass("active")}),v.on("mousedown",function(e){var t=o(e.target).closest(".vp-control-image-dropdown");o(".vp-control-image-dropdown.active").each(function(){this!==t[0]&&o(this).removeClass("active")})}),v.on("change",".vp-control-image-dropdown .vp-image-picker",function(){var e=o(this),t=e.data("picker");if(t){var a=t.select.find('option[value="'+t.select.val()+'"]'),n=a.parent("optgroup"),i=e.closest(".vp-control-image-dropdown"),r=a.attr("data-img-src");i.length&&(i.children(".vp-control-image-dropdown__preview").html('<img src="'+r+'" alt="">'),n.length&&i.children(".vp-control-image-dropdown__title").html(n.attr("label")))}});var j=o('[name="vp_list_name"]'),T=o('[name="post_title"]');j.length&&T.length&&(j.on("input",function(){T.val()!==j.val()&&T.val(j.val()).change()}),T.on("input",function(){j.val(T.val())})),o.fn.select2&&o(".vp-select2").each(function(){var e=o(this),t={width:"100%",minimumResultsForSearch:e.hasClass("vp-select2-nosearch")?-1:1,tags:e.hasClass("vp-select2-tags")},a=!!e.attr("data-post-type")&&o(e.attr("data-post-type"));e.closest(".vp-select2-posts-ajax").length&&(t=o.extend({minimumInputLength:1,ajax:{url:l,dataType:"json",delay:250,data:function(e){return{action:"vp_find_posts",q:e.term,post_type:!!a&&a.val(),nonce:s.nonce}},processResults:function(e){return{results:!(!e||!e.length)&&e}},cache:!0},escapeMarkup:function(e){return e},templateResult:function(e){if(e.loading)return e.text;var t="";e.title&&(t=e.title);var a="";e.post_type&&(a=e.post_type);var n="";return e.img&&(n="style=\"background-image: url('"+e.img+"');\""),'<div class="vp-select2-ajax__result"><div class="vp-select2-ajax__result-img" '+n+'></div><div class="vp-select2-ajax__result-data"><div class="vp-select2-ajax__result-title">'+t+'</div><div class="vp-select2-ajax__result-post-type">'+a+"</div></div></div>"},templateSelection:function(e){return e.title||e.text}},t)),e.closest(".vp-select2-taxonomies-ajax").length&&(t=o.extend({minimumInputLength:1,ajax:{url:l,dataType:"json",delay:250,data:function(e){return{action:"vp_find_taxonomies",q:e.term,post_type:!!a&&a.val(),nonce:s.nonce}},processResults:function(e){var t=[];return e&&Object.keys(e).forEach(function(a){t.push({text:a,children:e[a]})}),{results:t}},cache:!0}},t)),e.select2(t).data("select2").$dropdown.addClass("select2-vp-container")});var S=o(".vp-control-gallery"),E=0;if(o.fn.sortable&&(S.each(function(){var e=o(this),t=e.children(".vp-control-gallery-items-default");e.children(".vp-control-gallery-items").sortable({animation:150,draggable:".vp-control-gallery-items-img",onUpdate:function(){r(e)}}),e.on("click",".vp-control-gallery-items-remove",function(t){t.preventDefault(),o(this).parent().remove(),r(e)}),e.on("click",".vp-control-gallery-items-add",function(a){a.preventDefault();var n=e.data("wp-frame");return n?void n.open():wp.media?(n=wp.media({title:"Select or Upload Images",button:{text:"Use this images"},multiple:!0,library:{type:"image"}}),e.data("wp-frame",n),n.on("select",function(){var a=n.state().get("selection").models;a&&a.length&&(a.forEach(function(a){var n=a.changed.url;a.changed.sizes&&a.changed.sizes.thumbnail&&(n=a.changed.sizes.thumbnail.url);var i=t.children().clone();i.attr("data-image-id",a.id),i.children("img").attr("src",n),i.find('[data-meta="width"]').html(a.changed.width),i.find('[data-meta="height"]').html(a.changed.height),i.find('[data-meta="filename"]').html(a.changed.filename),i.find('[data-meta="editLink"]').html(a.changed.editLink),i.find('[data-meta="filesizeHumanReadable"]').html(a.changed.filesizeHumanReadable),e.find(".vp-control-gallery-items-add").before(i)}),r(e))}),void n.open()):void console.error("Can't access wp.media object.")}),e.on("click",".vp-control-gallery-items-img",function(t){t.preventDefault(),c(e,o(this).attr("data-image-id"))});var a=void 0;e.on("change input",".vp-control-gallery-additional-data [name]",function(){clearTimeout(a),a=setTimeout(function(){var t=e.children(".vp-control-gallery-additional-data"),a=e.children("textarea").attr("name"),n=e.children(".vp-control-gallery-items").find(".vp-control-gallery-items-img.active").attr("data-image-id");if(n){var l=e.children(".vp-control-gallery-items").find('[data-image-id="'+n+'"]');t.find('[name*="'+a+'_additional_"]').each(function(){var e=o(this).attr("name").replace(a+"_additional_","").replace("[]",""),t=o(this).val()||"";"object"===(void 0===t?"undefined":i(t))&&(t=JSON.stringify(t)),l.find('[data-additional="'+e+'"]').html(t||"")}),r(e)}},200)})}),S.length)){var z=S.children(".vp-control-gallery-additional-data");o(document).on("mousedown",function(e){if(E){var t=e.target;o(t).closest(".vp-control-gallery-additional-data, .vp-control-gallery-items-img, .select2-vp-container").length||(z.removeClass("active"),S.children(".vp-control-gallery-items").find(".vp-control-gallery-items-img.active").removeClass("active"),E=S.find(".vp-control-gallery-additional-data.active").length)}})}var A=o('[name="vp_custom_css"]'),L=!1,O=!0;if(void 0!==d&&A.length){if(s&&s.classnames){var $=d.hint.css;d.hint.css=function(e){var t=e.getCursor(),a=$(e)||{from:t,to:e.getCursor(),list:[]},n=e.getTokenAt(t);return"top"===n.state.state&&0===n.string.indexOf(".")&&(a={from:d.Pos(t.line,n.start),to:d.Pos(t.line,n.end),list:[]},s.classnames.forEach(function(e){-1!==e.indexOf(n.string)&&a.list.push(e)})),a}}var M=d.fromTextArea(A[0],{mode:"css",theme:"eclipse",indentUnit:4,autoCloseTags:!0,autoCloseBrackets:!0,matchBrackets:!0,foldGutter:!0,lint:{options:{errors:!0,"box-model":!0,"display-property-grouping":!0,"duplicate-properties":!0,"known-properties":!0,"outline-none":!0},onUpdateLinting:function(e,t,a){var n=[];e.forEach(function(e){"error"===e.severity&&n.push(e)}),a.vcLintErrors=n,L||h(a.vcLintErrors,!0)}},lineNumbers:!0,lineWrapping:!0,scrollPastEnd:!0,emmet_active:!0,emmet:!0,styleActiveLine:!0,continueComments:!0,scrollbarStyle:"simple",extraKeys:{"Ctrl-Space":"autocomplete","Ctrl-/":"toggleComment","Cmd-/":"toggleComment","Alt-F":"findPersistent"},gutters:["CodeMirror-lint-markers","CodeMirror-linenumbers","CodeMirror-foldgutter"]});p(M),A.data("CodeMirrorInstance",M),M.on("change",function(){M.save(),A.change()}),M.on("keyup",function(e,t){var a=/^[a-zA-Z]$/.test(t.key);if(!e.state.completionActive||!a){var n=e.getTokenAt(e.getCursor());if("string"!==n.type&&"comment"!==n.type){var i=e.doc.getLine(e.doc.getCursor().line).substr(0,e.doc.getCursor().ch);(a||":"===t.key||" "===t.key&&/:\s+$/.test(i))&&e.showHint({completeSingle:!1})}}})}var P=!1;v.on("click","#publish:not(.disabled)",function(e){if(P=!0,!L){var t=o(this),a=A.length&&A.data("CodeMirrorInstance");a&&a.vcLintErrors&&a.vcLintErrors.length&&(e.preventDefault(),t.addClass("disabled button-disabled button-primary-disabled"),setTimeout(function(){t.removeClass("disabled button-disabled button-primary-disabled")},1500),h(a.vcLintErrors,!1),o("html,body").animate({scrollTop:o("#vp_custom_css").offset().top-100},300),a.focus(),a.setCursor(a.vcLintErrors[0].from.line))}});var R=u.serialize();o(window).on("beforeunload",function(){return P?void(P=!1):R!==u.serialize()||void 0}),v.on("change","#vp_custom_css_notice_prevent",function(){L=!0,o(this).closest(".notice").slideUp()})}}()}});
1
+ !function(e){function t(n){if(a[n])return a[n].exports;var i=a[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var a={};t.m=e,t.c=a,t.d=function(e,a,n){t.o(e,a)||Object.defineProperty(e,a,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(a,"a",a),a},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=182)}({182:function(e,t,a){e.exports=a(183)},183:function(e,t){function a(e){if(Array.isArray(e)){for(var t=0,a=Array(e.length);t<e.length;t++)a[t]=e[t];return a}return Array.from(e)}function n(){_[y.is(":checked")?"show":"hide"]()}function i(){var e=r('[name="vp_popup_gallery[show_caption]"]');e.closest("tbody").find("tr.caption_title, tr.caption_description")[e.is(":checked")?"show":"hide"]()}var o="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},r=jQuery,l=window,s=l.ajaxurl,c=l.VPAdminVariables,d=l.Tooltip,p=l.CodeMirror,v=l.emmetCodeMirror,m=r("body"),u=r(window),f=r('form[name="post"]'),g=r('[name="post_type"]'),h=r("#postID, #post_ID").eq(0).val();m.on("focus",'[name="vp_list_shortcode"], [name="vp_filter_shortcode"]',function(){this.select()}),m.on("click",".vp-onclick-selection",function(){window.getSelection().selectAllChildren(this)});var _=r("#vp_format_video"),y=r("#post-format-video");_.length&&y.length&&(n(),m.on("change","[name=post_format]",function(){n()}));var b=null,w=void 0;m.on("change input",'.vp-input[name="video_url"]',function(){null!==b&&b.abort();var e=r(this);e.next(".vp-oembed-preview").html(""),clearTimeout(w),w=setTimeout(function(){b=r.ajax({url:s,method:"GET",dataType:"json",data:{action:"vp_find_oembed",q:e.val(),nonce:c.nonce},complete:function(t){var a=t.responseJSON;a&&void 0!==a.html&&e.next(".vp-oembed-preview").html(a.html)}})},250)}),void 0!==d&&r('[data-hint]:not([data-hint=""]):not([data-hint="false"])').each(function(){var e=r(this);new d(this,{placement:e.attr("data-hint-place")||"top",title:e.attr("data-hint"),container:r("body")[0],boundariesElement:"viewport"})}),function(){function e(){var e="",t=r('[name="vp_controls_styles"]'),a=".vp-id-"+h,n=t.val();r('.vp-control-style [type="hidden"]').each(function(){var t=r(this),n=t.closest(".vp-control");if("none"!==n.css("display")){var i=n.find(t.attr("data-style-from")).val();e&&(e+=" "),e+=a+" "+t.attr("data-style-element")+" { "+t.attr("data-style-property")+": "+i+"; }"}}),n!==e&&t.val(e).trigger("vp-fake-change")}function t(e,t){var a=e.find('[data-image-id="'+t+'"]'),n={id:t};return a.find("[data-additional]").each(function(){var e=r(this),t=e.attr("data-additional");if(n[t]=e.html(),"true"===e.attr("data-to-json"))try{n[t]=JSON.parse(n[t])}catch(e){n[t]=""}}),n}function n(e,t){var a=e.find('[data-image-id="'+t+'"]'),n={};return a.find("[data-meta]").each(function(){n[r(this).attr("data-meta")]=r(this).html()}),n}function i(e){var a=[];e.children(".vp-control-gallery-items").find(".vp-control-gallery-items-img").each(function(){a.push(t(e,r(this).attr("data-image-id")))});var n=JSON.stringify(a),i=e.children("textarea");n!==i.val()&&i.val(n).change()}function l(e,i){var o=e.children("textarea").attr("name"),l=e.children(".vp-control-gallery-additional-data"),s=l.children(".vp-control-gallery-additional-data-preview"),c=e.children(".vp-control-gallery-items").find('.vp-control-gallery-items-img[data-image-id="'+i+'"]'),d=t(e,i),p=n(e,i);d&&Object.keys(d).forEach(function(n){var i=l.find('[name="'+o+"_additional_"+n+'"], [name="'+o+"_additional_"+n+'[]"]').val(d[n]||"");if(i.hasClass("vp-select2")){if(i.hasClass("vp-select2-tags")){var s=[],c=[];e.children(".vp-control-gallery-items").find(".vp-control-gallery-items-img").each(function(){var i=t(e,r(this).attr("data-image-id"));i&&void 0!==i[n]&&i[n]&&(s=[].concat(a(new Set([].concat(a(s),a(i[n]))))))}),s.forEach(function(e){c.push(new window.Option(e,e,!1,!1))}),i.html(c.length?c:""),i.val(void 0!==d[n]&&d[n]?d[n]:"")}i.trigger("change")}}),s.find(".vp-control-gallery-additional-data-preview-image img").attr("src",c.children("img").attr("src")||""),s.find(".vp-control-gallery-additional-data-preview-name").html(p.filename),s.find(".vp-control-gallery-additional-data-preview-size").html(p.width+"x"+p.height+" ("+p.filesizeHumanReadable+")"),s.find(".vp-control-gallery-additional-data-preview-edit a").attr("href",p.editLink.replace("&amp;","&")),c.siblings().removeClass("active"),c.addClass("active"),l.addClass("active"),E=S.find(".vp-control-gallery-additional-data.active").length}function d(e,t){if(O&&(t=!1,O=!1),c&&c.css_editor_error_notice){var a=!1;if(1===e.length?a=c.css_editor_error_notice.singular.replace("%d","1"):e.length>1&&(a=c.css_editor_error_notice.plural.replace("%d",String(e.length))),a){var n=A.prev("#vp_custom_css_notice");if(n.length||t||(n=r('<div class="notice notice-error inline" id="vp_custom_css_notice"></div>'),A.before(n)),!n.length)return;var i='<p class="notification-message">'+a+'</p><p><input id="vp_custom_css_notice_prevent" type="checkbox"><label for="vp_custom_css_notice_prevent">'+c.css_editor_error_checkbox+"</label></p>";n.html(i)}else A.prev("#vp_custom_css_notice").remove()}}if("vp_lists"===g.val()&&f.length){var _=r(".vp-content-source"),y=_.find('[name="vp_content_source"]');_.on("click",".vp-content-source__item",function(){var e=r(this).attr("data-content");_.find('[data-content="'+e+'"]').addClass("active").siblings().removeClass("active"),y.val(e).change()}),_.children('[data-content="'+y.val()+'"]').click(),r.fn.conditionize&&f.conditionize(),r(".vp-control-range").each(function(){var e=r(this).find("input"),t=e.filter('[type="hidden"]');e.on("change input",function(a){e.val(r(this).val()),t.trigger("vp-fake-"+a.type)})}),r.fn.wpColorPicker&&r(".vp-color-picker").each(function(){function e(e){if(a)return void(a=!1);clearTimeout(t),t=setTimeout(function(){r(e.target).change()},300)}var t=void 0,a=!0;r(this).data("change",e).wpColorPicker()}),r.fn.imagepicker&&r(".vp-image-picker").imagepicker();var b=r(".vp_list_preview iframe"),w=!1,k=!1,C=r('<form target="vp_list_preview_iframe" method="post" style="display: none">').attr("action",b.attr("src")).insertAfter(f);r.fn.iFrameResize&&b.iFrameResize({interval:10});var x=void 0;f.on("change input vp-fake-change vp-fake-input",'[name*="vp_"]',function(t){var a=r(this);if(!a.closest(".vp-no-reload").length){if(r('[name="'+a.attr("name")+'__style[]"]').length)return void e();var n={name:a.attr("name"),value:a.is("[type=checkbox], [type=radio]")?a.is(":checked"):a.val(),reload:"change"===t.type||"vp-fake-change"===t.type,jQuery:k,$portfolio:w},i=C.find('[name="'+n.name+'"]');i.length||(i=r('<input type="hidden" name="'+n.name+'" />').appendTo(C)),i.attr("value",n.value),u.trigger("vp-preview-change",n),n.reload||e(),!n.reload&&w||(clearTimeout(x),x=setTimeout(function(){k=!1,w=!1,C.submit()},400))}}),b.on("load",function(){k=this.contentWindow.jQuery,w=k(".vp-portfolio"),e()}),u.on("vp-preview-change",function(e,t){if(t.$portfolio)switch(t.name){case"vp_layout":case"vp_tiles_type":case"vp_masonry_columns":case"vp_justified_row_height":case"vp_justified_row_height_tolerance":case"vp_slider_effect":case"vp_slider_speed":case"vp_slider_autoplay":case"vp_slider_centered_slides":case"vp_slider_loop":case"vp_slider_free_mode":case"vp_slider_arrows":case"vp_slider_arrows_icon_prev":case"vp_slider_arrows_icon_next":case"vp_slider_bullets":case"vp_slider_bullets_dynamic":case"vp_items_gap":var a=t.name;a=a.substring(3),a=a.replace(/_/g,"-"),t.$portfolio.attr("data-vp-"+a,t.value),t.$portfolio.vpf("init"),t.reload=!1;break;case"vp_filter_align":t.$portfolio.find(".vp-filter").removeClass("vp-filter__align-center vp-filter__align-left vp-filter__align-right").addClass("vp-filter__align-"+t.value),t.reload=!1;break;case"vp_pagination_align":t.$portfolio.find(".vp-pagination").removeClass("vp-pagination__align-center vp-pagination__align-left vp-pagination__align-right").addClass("vp-pagination__align-"+t.value),t.reload=!1;break;case"vp_controls_styles":var n=t.$portfolio.closest("html"),i="vp-controls-styles-"+h+"-inline-css",o=n.find("#"+i);o.length||(o=t.jQuery('<style id="'+i+'">'),n.find("body").prepend(o)),o.html(t.value),t.reload=!1;break;case"vp_custom_css":var r=t.$portfolio.closest("html"),l="vp-custom-css-"+h+"-inline-css",s=r.find("#"+l);s.length||(s=t.jQuery('<style id="'+l+'">'),r.find("body").prepend(s)),s.html(t.value),t.reload=!1;break;case"vp_list_name":case"vp_stretch":t.reload=!1}}),m.on("click",".vp-control-image-dropdown",function(e){r(e.target).closest(".vp-control-image-dropdown__content").length||r(this).toggleClass("active")}),m.on("mousedown",function(e){var t=r(e.target).closest(".vp-control-image-dropdown");r(".vp-control-image-dropdown.active").each(function(){this!==t[0]&&r(this).removeClass("active")})}),m.on("change",".vp-control-image-dropdown .vp-image-picker",function(){var e=r(this),t=e.data("picker");if(t){var a=t.select.find('option[value="'+t.select.val()+'"]'),n=a.parent("optgroup"),i=e.closest(".vp-control-image-dropdown"),o=a.attr("data-img-src");i.length&&(i.children(".vp-control-image-dropdown__preview").html('<img src="'+o+'" alt="">'),n.length&&i.children(".vp-control-image-dropdown__title").html(n.attr("label")))}});var j=r('[name="vp_list_name"]'),T=r('[name="post_title"]');j.length&&T.length&&(j.on("input",function(){T.val()!==j.val()&&T.val(j.val()).change()}),T.on("input",function(){j.val(T.val())})),r.fn.select2&&r(".vp-select2").each(function(){var e=r(this),t={width:"100%",minimumResultsForSearch:e.hasClass("vp-select2-nosearch")?-1:1,tags:e.hasClass("vp-select2-tags")},a=!!e.attr("data-post-type")&&r(e.attr("data-post-type"));e.closest(".vp-select2-posts-ajax").length&&(t=r.extend({minimumInputLength:1,ajax:{url:s,dataType:"json",delay:250,data:function(e){return{action:"vp_find_posts",q:e.term,post_type:!!a&&a.val(),nonce:c.nonce}},processResults:function(e){return{results:!(!e||!e.length)&&e}},cache:!0},escapeMarkup:function(e){return e},templateResult:function(e){if(e.loading)return e.text;var t="";e.title&&(t=e.title);var a="";e.post_type&&(a=e.post_type);var n="";return e.img&&(n="style=\"background-image: url('"+e.img+"');\""),'<div class="vp-select2-ajax__result"><div class="vp-select2-ajax__result-img" '+n+'></div><div class="vp-select2-ajax__result-data"><div class="vp-select2-ajax__result-title">'+t+'</div><div class="vp-select2-ajax__result-post-type">'+a+"</div></div></div>"},templateSelection:function(e){return e.title||e.text}},t)),e.closest(".vp-select2-taxonomies-ajax").length&&(t=r.extend({minimumInputLength:1,ajax:{url:s,dataType:"json",delay:250,data:function(e){return{action:"vp_find_taxonomies",q:e.term,post_type:!!a&&a.val(),nonce:c.nonce}},processResults:function(e){var t=[];return e&&Object.keys(e).forEach(function(a){t.push({text:a,children:e[a]})}),{results:t}},cache:!0}},t)),e.select2(t).data("select2").$dropdown.addClass("select2-vp-container")});var S=r(".vp-control-gallery"),E=0;if(r.fn.sortable&&(S.each(function(){var e=r(this),t=e.children(".vp-control-gallery-items-default");e.children(".vp-control-gallery-items").sortable({animation:150,draggable:".vp-control-gallery-items-img",onUpdate:function(){i(e)}}),e.on("click",".vp-control-gallery-items-remove",function(t){t.preventDefault(),r(this).parent().remove(),i(e)}),e.on("click",".vp-control-gallery-items-add",function(a){a.preventDefault();var n=e.data("wp-frame");return n?void n.open():wp.media?(n=wp.media({title:"Select or Upload Images",button:{text:"Use this images"},multiple:!0,library:{type:"image"}}),e.data("wp-frame",n),n.on("select",function(){var a=n.state().get("selection").models;a&&a.length&&(a.forEach(function(a){var n=a.changed.url;a.changed.sizes&&a.changed.sizes.thumbnail&&(n=a.changed.sizes.thumbnail.url);var i=t.children().clone();i.attr("data-image-id",a.id),i.children("img").attr("src",n),i.find('[data-meta="width"]').html(a.changed.width),i.find('[data-meta="height"]').html(a.changed.height),i.find('[data-meta="filename"]').html(a.changed.filename),i.find('[data-meta="editLink"]').html(a.changed.editLink),i.find('[data-meta="filesizeHumanReadable"]').html(a.changed.filesizeHumanReadable),e.find(".vp-control-gallery-items-add").before(i)}),i(e))}),void n.open()):void console.error("Can't access wp.media object.")}),e.on("click",".vp-control-gallery-items-img",function(t){t.preventDefault(),l(e,r(this).attr("data-image-id"))});var a=void 0;e.on("change input",".vp-control-gallery-additional-data [name]",function(){clearTimeout(a),a=setTimeout(function(){var t=e.children(".vp-control-gallery-additional-data"),a=e.children("textarea").attr("name"),n=e.children(".vp-control-gallery-items").find(".vp-control-gallery-items-img.active").attr("data-image-id");if(n){var l=e.children(".vp-control-gallery-items").find('[data-image-id="'+n+'"]');t.find('[name*="'+a+'_additional_"]').each(function(){var e=r(this).attr("name").replace(a+"_additional_","").replace("[]",""),t=r(this).val()||"";"object"===(void 0===t?"undefined":o(t))&&(t=JSON.stringify(t)),l.find('[data-additional="'+e+'"]').html(t||"")}),i(e)}},200)})}),S.length)){var z=S.children(".vp-control-gallery-additional-data");r(document).on("mousedown",function(e){if(E){var t=e.target;r(t).closest(".vp-control-gallery-additional-data, .vp-control-gallery-items-img, .select2-vp-container").length||(z.removeClass("active"),S.children(".vp-control-gallery-items").find(".vp-control-gallery-items-img.active").removeClass("active"),E=S.find(".vp-control-gallery-additional-data.active").length)}})}var A=r('[name="vp_custom_css"]'),L=!1,O=!0;if(void 0!==p&&A.length){if(c&&c.classnames){var $=p.hint.css;p.hint.css=function(e){var t=e.getCursor(),a=$(e)||{from:t,to:e.getCursor(),list:[]},n=e.getTokenAt(t);return"top"===n.state.state&&0===n.string.indexOf(".")&&(a={from:p.Pos(t.line,n.start),to:p.Pos(t.line,n.end),list:[]},c.classnames.forEach(function(e){-1!==e.indexOf(n.string)&&a.list.push(e)})),a}}var M=p.fromTextArea(A[0],{mode:"css",theme:"eclipse",indentUnit:4,autoCloseTags:!0,autoCloseBrackets:!0,matchBrackets:!0,foldGutter:!0,lint:{options:{errors:!0,"box-model":!0,"display-property-grouping":!0,"duplicate-properties":!0,"known-properties":!0,"outline-none":!0},onUpdateLinting:function(e,t,a){var n=[];e.forEach(function(e){"error"===e.severity&&n.push(e)}),a.vcLintErrors=n,L||d(a.vcLintErrors,!0)}},lineNumbers:!0,lineWrapping:!0,scrollPastEnd:!0,emmet_active:!0,emmet:!0,styleActiveLine:!0,continueComments:!0,scrollbarStyle:"simple",extraKeys:{"Ctrl-Space":"autocomplete","Ctrl-/":"toggleComment","Cmd-/":"toggleComment","Alt-F":"findPersistent"},gutters:["CodeMirror-lint-markers","CodeMirror-linenumbers","CodeMirror-foldgutter"]});v(M),A.data("CodeMirrorInstance",M),M.on("change",function(){M.save(),A.change()}),M.on("keyup",function(e,t){var a=/^[a-zA-Z]$/.test(t.key);if(!e.state.completionActive||!a){var n=e.getTokenAt(e.getCursor());if("string"!==n.type&&"comment"!==n.type){var i=e.doc.getLine(e.doc.getCursor().line).substr(0,e.doc.getCursor().ch);(a||":"===t.key||" "===t.key&&/:\s+$/.test(i))&&e.showHint({completeSingle:!1})}}})}var P=!1;m.on("click","#publish:not(.disabled)",function(e){if(P=!0,!L){var t=r(this),a=A.length&&A.data("CodeMirrorInstance");a&&a.vcLintErrors&&a.vcLintErrors.length&&(e.preventDefault(),t.addClass("disabled button-disabled button-primary-disabled"),setTimeout(function(){t.removeClass("disabled button-disabled button-primary-disabled")},1500),d(a.vcLintErrors,!1),r("html,body").animate({scrollTop:r("#vp_custom_css").offset().top-100},300),a.focus(),a.setCursor(a.vcLintErrors[0].from.line))}});var R=f.serialize();r(window).on("beforeunload",function(){return P?void(P=!1):R!==f.serialize()||void 0}),m.on("change","#vp_custom_css_notice_prevent",function(){L=!0,r(this).closest(".notice").slideUp()})}}(),m.hasClass("portfolio_page_visual-portfolio-settings")&&(m.on("change",'[name="vp_popup_gallery[show_caption]"]',i),u.on("ready",i),i())}});
assets/admin/js/vc-frontend.min.js CHANGED
@@ -1,8 +1,8 @@
1
- !function(e){function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}var t={};n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:o})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},n.p="",n(n.s=59)}({59:function(e,n,t){e.exports=t(60)},60:function(e,n){/*!
2
  * Additional js for frontend VC
3
  *
4
  * Name : Visual Portfolio
5
- * Version : 1.6.5
6
  * Author : nK https://nkdev.info
7
  */
8
  var t=window,o=t.vc;jQuery(function(){void 0!==o&&o.events.on("shortcodes:add shortcodeView:updated",function(e){if("visual_portfolio"===e.settings.base){var n=o.$frame[0].contentWindow,t=!!n&&n.jQuery;if(t){var r=t(e.view.el).children(".vp-portfolio");r.length&&void 0!==r.vpf&&r.vpf()}}})})}});
1
+ !function(e){function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}var t={};n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:o})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},n.p="",n(n.s=184)}({184:function(e,n,t){e.exports=t(185)},185:function(e,n){/*!
2
  * Additional js for frontend VC
3
  *
4
  * Name : Visual Portfolio
5
+ * Version : 1.7.0
6
  * Author : nK https://nkdev.info
7
  */
8
  var t=window,o=t.vc;jQuery(function(){void 0!==o&&o.events.on("shortcodes:add shortcodeView:updated",function(e){if("visual_portfolio"===e.settings.base){var n=o.$frame[0].contentWindow,t=!!n&&n.jQuery;if(t){var r=t(e.view.el).children(".vp-portfolio");r.length&&void 0!==r.vpf&&r.vpf()}}})})}});
assets/css/style.min.css CHANGED
@@ -1,5 +1,5 @@
1
  /*!
2
  * Name : Visual Portfolio
3
- * Version : 1.6.5
4
  * Author : nK https://nkdev.info
5
- */.vp-portfolio{position:relative;min-height:114px}.vp-portfolio,.vp-portfolio *{-webkit-box-sizing:border-box;box-sizing:border-box}.vp-portfolio__items{-webkit-transition:.3s height ease-in-out, .3s transform ease-in-out;transition:.3s height ease-in-out, .3s transform ease-in-out;will-change:height, transform}.vp-portfolio::after,.vp-portfolio__items::after{content:"";display:block;clear:both}.vp-portfolio__items-wrap,.vp-portfolio__filter-wrap,.vp-portfolio__pagination-wrap,.vp-portfolio__item{position:relative;overflow:hidden}.vp-portfolio__items-wrap,.vp-portfolio__filter-wrap,.vp-portfolio__pagination-wrap{visibility:hidden;opacity:0;-webkit-transition:.3s opacity, .3s visibility;transition:.3s opacity, .3s visibility;will-change:opacity, visibility}.vp-portfolio__item-wrap{position:relative;float:left;width:33.333%}.vp-portfolio__item .vp-portfolio__item-img img,.vp-portfolio__item .vp-portfolio__item-img a{display:block;width:100%;height:auto}.vp-portfolio__preloader-wrap{visibility:visible;opacity:1;-webkit-transition:.3s opacity, .3s visibility;transition:.3s opacity, .3s visibility;will-change:opacity, visibility}.vp-portfolio__preloader{position:absolute;left:50%;width:23px;height:24px;margin-top:45px;margin-left:-11px;-webkit-animation:vp-preloader 2s linear infinite;animation:vp-preloader 2s linear infinite}.vp-portfolio__preloader span{position:absolute;display:block;top:0;left:0;width:10px;height:7px;background-color:#8a8a8a}.vp-portfolio__preloader span:nth-of-type(1){height:14px}.vp-portfolio__preloader span:nth-of-type(2){left:12px}.vp-portfolio__preloader span:nth-of-type(3){top:16px}.vp-portfolio__preloader span:nth-of-type(4){top:9px;left:12px;height:14px}@-webkit-keyframes vp-preloader{0%,100%{opacity:.5}40%,60%{opacity:1}}@keyframes vp-preloader{0%,100%{opacity:.5}40%,60%{opacity:1}}[data-vp-layout="tiles"] .vp-portfolio__item-img img,[data-vp-layout="tiles"] .vp-portfolio__item-img{position:absolute;top:0;right:0;bottom:0;left:0}[data-vp-layout="tiles"] .vp-portfolio__item-img-wrap{position:relative;display:block;overflow:hidden}[data-vp-layout="tiles"] .vp-portfolio__item-img-wrap::before{content:"";display:block;margin-top:56%}[data-vp-layout="tiles"] .vp-portfolio__item-img img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;-o-object-position:50% 50%;object-position:50% 50%;font-family:"object-fit: cover; object-position: 50% 50%;"}[data-vp-layout="justified"] .vp-portfolio__items{-webkit-transition:.2s height ease-in-out;transition:.2s height ease-in-out;will-change:height}[data-vp-layout="justified"] .vp-portfolio__item-wrap{float:left;top:0;left:0;-webkit-transition:.2s transform ease-in-out, .2s width ease-in-out, .2s height ease-in-out;transition:.2s transform ease-in-out, .2s width ease-in-out, .2s height ease-in-out;will-change:transform, width, height}[data-vp-layout="slider"] .vp-portfolio__item-wrap{float:none;width:auto}[data-vp-layout="slider"] .vp-portfolio__item-img-wrap{position:relative;display:block;overflow:hidden}[data-vp-layout="slider"] .vp-portfolio__item-img-wrap::before{content:"";display:block}[data-vp-layout="slider"] .vp-portfolio__item-img img{-o-object-fit:cover;object-fit:cover;-o-object-position:50% 50%;object-position:50% 50%;font-family:"object-fit: cover; object-position: 50% 50%;"}[data-vp-layout="slider"] .vp-portfolio__items-arrow{position:absolute;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;top:50%;width:40px;height:40px;margin-top:-20px;color:#6c7781;cursor:pointer;background-color:#fff;border-radius:50%;-webkit-box-shadow:0 0 7px 2px rgba(0,0,0,0.04);box-shadow:0 0 7px 2px rgba(0,0,0,0.04);opacity:.5;-webkit-transition:.2s opacity ease-in-out, .2s box-shadow ease-in-out;transition:.2s opacity ease-in-out, .2s box-shadow ease-in-out;will-change:opacity, box-shadow;z-index:1}[data-vp-layout="slider"] .vp-portfolio__items-arrow::after{content:"";position:absolute;display:block;top:-10px;right:-10px;bottom:-10px;left:-10px}[data-vp-layout="slider"] .vp-portfolio__items-arrow:hover{-webkit-box-shadow:0 2px 15px 2px rgba(0,0,0,0.04);box-shadow:0 2px 15px 2px rgba(0,0,0,0.04);opacity:1}[data-vp-layout="slider"] .vp-portfolio__items-arrow-prev{left:10px}[data-vp-layout="slider"] .vp-portfolio__items-arrow-next{right:10px}[data-vp-layout="slider"][data-vp-slider-bullets="true"] .vp-portfolio__items-wrap{padding-bottom:25px}[data-vp-layout="slider"][data-vp-slider-bullets="true"] .vp-portfolio__items-wrap .vp-portfolio__items-arrow{margin-top:-32.5px}[data-vp-layout="slider"] .vp-portfolio__items-bullets{position:absolute;margin-bottom:-15px;text-align:center;z-index:1}[data-vp-layout="slider"] .vp-portfolio__items-bullets.swiper-pagination-bullets-dynamic{margin-bottom:-7px}[data-vp-layout="slider"] .vp-portfolio__items-bullets>span{position:relative;cursor:pointer;background-color:#6c7781;opacity:.2;-webkit-transition:.15s opacity ease-in-out;transition:.15s opacity ease-in-out;will-change:opacity}[data-vp-layout="slider"] .vp-portfolio__items-bullets>span:hover{opacity:.5}[data-vp-layout="slider"] .vp-portfolio__items-bullets>span.swiper-pagination-bullet-active{opacity:1}[data-vp-layout="slider"] .vp-portfolio__items-bullets>span::after{content:"";position:absolute;display:block;top:-4px;right:-4px;bottom:-4px;left:-4px}.vp-portfolio.vp-portfolio__ready{min-height:initial}.vp-portfolio.vp-portfolio__ready .vp-portfolio__items-wrap,.vp-portfolio.vp-portfolio__ready .vp-portfolio__filter-wrap,.vp-portfolio.vp-portfolio__ready .vp-portfolio__pagination-wrap{visibility:visible;opacity:1}.vp-portfolio.vp-portfolio__ready .vp-portfolio__preloader-wrap{visibility:hidden;opacity:0}.vp-portfolio.vp-portfolio__ready .vp-portfolio__preloader-wrap .vp-portfolio__preloader{-webkit-animation:none;animation:none}.vp-single-filter.vp-single-filter__ready .vp-portfolio__filter-wrap{visibility:visible;opacity:1}.vp-portfolio.vp-portfolio__loading::before{content:"";position:absolute;display:block;top:0;right:0;bottom:0;left:0;z-index:1}.vp-portfolio.vp-portfolio__loading .vp-portfolio__items-wrap,.vp-portfolio.vp-portfolio__loading .vp-portfolio__filter-wrap,.vp-portfolio.vp-portfolio__loading .vp-portfolio__pagination-wrap{opacity:.5}.vp-portfolio__item-popup{display:none}.vp-pswp{z-index:100000}.vp-pswp .pswp__caption{background-color:rgba(0,0,0,0.75)}.vp-pswp .pswp__caption>div{max-width:600px;font-size:12px;color:#fff}.vp-pswp .pswp__caption a{color:inherit}.vp-pswp .pswp__caption a:hover{opacity:.8}.vp-pswp .pswp__caption .vp-portfolio__item-meta-title{margin-top:0;margin-bottom:3px;font-size:14px;color:inherit}.vp-pswp .pswp__caption .vp-portfolio__item-meta-title a{text-decoration:none}.vp-pswp .pswp__preloader{position:absolute;right:0;bottom:0;z-index:1}.vp-pswp .vp-pswp-video{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:100%;max-width:1920px;height:100%;margin:0 auto;line-height:0;text-align:left;vertical-align:middle;z-index:1045}.vp-pswp .vp-pswp-video>div{position:relative;width:100%;height:0;padding-bottom:56.25%}.vp-pswp .vp-pswp-video>div iframe{position:absolute;top:0;left:0;width:100%;height:100%;margin:0}.vp-pswp .vp-pswp-video>div video{width:100% !important;height:auto !important;margin:0}img.visual-portfolio-lazyload:not(.lazyloaded){background-color:rgba(171,173,191,0.1)}
1
  /*!
2
  * Name : Visual Portfolio
3
+ * Version : 1.7.0
4
  * Author : nK https://nkdev.info
5
+ */.vp-portfolio{position:relative;min-height:114px}.vp-portfolio,.vp-portfolio *{-webkit-box-sizing:border-box;box-sizing:border-box}.vp-portfolio__items{-webkit-transition:.3s height ease-in-out, .3s transform ease-in-out;transition:.3s height ease-in-out, .3s transform ease-in-out;will-change:height, transform}.vp-portfolio::after,.vp-portfolio__items::after{content:"";display:block;clear:both}.vp-portfolio__items-wrap,.vp-portfolio__filter-wrap,.vp-portfolio__pagination-wrap,.vp-portfolio__item{position:relative;overflow:hidden}.vp-portfolio__items-wrap,.vp-portfolio__filter-wrap,.vp-portfolio__pagination-wrap{visibility:hidden;opacity:0;-webkit-transition:.3s opacity, .3s visibility;transition:.3s opacity, .3s visibility;will-change:opacity, visibility}.vp-portfolio__item-wrap{position:relative;float:left;width:33.333%}.vp-portfolio__item .vp-portfolio__item-img img,.vp-portfolio__item .vp-portfolio__item-img a{display:block;width:100%;height:auto}.vp-portfolio__preloader-wrap{visibility:visible;opacity:1;-webkit-transition:.3s opacity, .3s visibility;transition:.3s opacity, .3s visibility;will-change:opacity, visibility}.vp-portfolio__preloader{position:absolute;left:50%;width:23px;height:24px;margin-top:45px;margin-left:-11px;-webkit-animation:vp-preloader 2s linear infinite;animation:vp-preloader 2s linear infinite}.vp-portfolio__preloader span{position:absolute;display:block;top:0;left:0;width:10px;height:7px;background-color:#8a8a8a}.vp-portfolio__preloader span:nth-of-type(1){height:14px}.vp-portfolio__preloader span:nth-of-type(2){left:12px}.vp-portfolio__preloader span:nth-of-type(3){top:16px}.vp-portfolio__preloader span:nth-of-type(4){top:9px;left:12px;height:14px}@-webkit-keyframes vp-preloader{0%,100%{opacity:.5}40%,60%{opacity:1}}@keyframes vp-preloader{0%,100%{opacity:.5}40%,60%{opacity:1}}[data-vp-layout="tiles"] .vp-portfolio__item-img img,[data-vp-layout="tiles"] .vp-portfolio__item-img{position:absolute;top:0;right:0;bottom:0;left:0}[data-vp-layout="tiles"] .vp-portfolio__item-img-wrap{position:relative;display:block;overflow:hidden}[data-vp-layout="tiles"] .vp-portfolio__item-img-wrap::before{content:"";display:block;margin-top:56%}[data-vp-layout="tiles"] .vp-portfolio__item-img img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;-o-object-position:50% 50%;object-position:50% 50%;font-family:"object-fit: cover; object-position: 50% 50%;"}[data-vp-layout="justified"] .vp-portfolio__items{-webkit-transition:.2s height ease-in-out;transition:.2s height ease-in-out;will-change:height}[data-vp-layout="justified"] .vp-portfolio__item-wrap{float:left;top:0;left:0;-webkit-transition:.2s transform ease-in-out, .2s width ease-in-out, .2s height ease-in-out;transition:.2s transform ease-in-out, .2s width ease-in-out, .2s height ease-in-out;will-change:transform, width, height}[data-vp-layout="slider"] .vp-portfolio__item-wrap{float:none;width:auto}[data-vp-layout="slider"] .vp-portfolio__item-img-wrap{position:relative;display:block;overflow:hidden}[data-vp-layout="slider"] .vp-portfolio__item-img-wrap::before{content:"";display:block}[data-vp-layout="slider"] .vp-portfolio__item-img img{-o-object-fit:cover;object-fit:cover;-o-object-position:50% 50%;object-position:50% 50%;font-family:"object-fit: cover; object-position: 50% 50%;"}[data-vp-layout="slider"] .vp-portfolio__items-arrow{position:absolute;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;top:50%;width:40px;height:40px;margin-top:-20px;color:#6c7781;cursor:pointer;background-color:#fff;border-radius:50%;-webkit-box-shadow:0 0 7px 2px rgba(0,0,0,0.04);box-shadow:0 0 7px 2px rgba(0,0,0,0.04);opacity:.5;-webkit-transition:.2s opacity ease-in-out, .2s box-shadow ease-in-out;transition:.2s opacity ease-in-out, .2s box-shadow ease-in-out;will-change:opacity, box-shadow;z-index:1}[data-vp-layout="slider"] .vp-portfolio__items-arrow::after{content:"";position:absolute;display:block;top:-10px;right:-10px;bottom:-10px;left:-10px}[data-vp-layout="slider"] .vp-portfolio__items-arrow:hover{-webkit-box-shadow:0 2px 15px 2px rgba(0,0,0,0.04);box-shadow:0 2px 15px 2px rgba(0,0,0,0.04);opacity:1}[data-vp-layout="slider"] .vp-portfolio__items-arrow-prev{left:10px}[data-vp-layout="slider"] .vp-portfolio__items-arrow-next{right:10px}[data-vp-layout="slider"][data-vp-slider-bullets="true"] .vp-portfolio__items-wrap{padding-bottom:25px}[data-vp-layout="slider"][data-vp-slider-bullets="true"] .vp-portfolio__items-wrap .vp-portfolio__items-arrow{margin-top:-32.5px}[data-vp-layout="slider"] .vp-portfolio__items-bullets{position:absolute;margin-bottom:-15px;text-align:center;z-index:1}[data-vp-layout="slider"] .vp-portfolio__items-bullets.swiper-pagination-bullets-dynamic{margin-bottom:-7px}[data-vp-layout="slider"] .vp-portfolio__items-bullets>span{position:relative;cursor:pointer;background-color:#6c7781;opacity:.2;-webkit-transition:.15s opacity ease-in-out;transition:.15s opacity ease-in-out;will-change:opacity}[data-vp-layout="slider"] .vp-portfolio__items-bullets>span:hover{opacity:.5}[data-vp-layout="slider"] .vp-portfolio__items-bullets>span.swiper-pagination-bullet-active{opacity:1}[data-vp-layout="slider"] .vp-portfolio__items-bullets>span::after{content:"";position:absolute;display:block;top:-4px;right:-4px;bottom:-4px;left:-4px}.vp-portfolio.vp-portfolio__ready{min-height:initial}.vp-portfolio.vp-portfolio__ready .vp-portfolio__items-wrap,.vp-portfolio.vp-portfolio__ready .vp-portfolio__filter-wrap,.vp-portfolio.vp-portfolio__ready .vp-portfolio__pagination-wrap{visibility:visible;opacity:1}.vp-portfolio.vp-portfolio__ready .vp-portfolio__preloader-wrap{visibility:hidden;opacity:0}.vp-portfolio.vp-portfolio__ready .vp-portfolio__preloader-wrap .vp-portfolio__preloader{-webkit-animation:none;animation:none}.vp-single-filter.vp-single-filter__ready .vp-portfolio__filter-wrap{visibility:visible;opacity:1}.vp-portfolio.vp-portfolio__loading::before{content:"";position:absolute;display:block;top:0;right:0;bottom:0;left:0;z-index:1}.vp-portfolio.vp-portfolio__loading .vp-portfolio__items-wrap,.vp-portfolio.vp-portfolio__loading .vp-portfolio__filter-wrap,.vp-portfolio.vp-portfolio__loading .vp-portfolio__pagination-wrap{opacity:.5}.vp-portfolio__item-popup{display:none}.vp-pswp{z-index:100000}.vp-pswp .pswp__caption{background-color:rgba(0,0,0,0.75)}.vp-pswp .pswp__caption>div{max-width:600px;font-size:12px;color:#fff}.vp-pswp .pswp__caption h3{color:inherit}.vp-pswp .pswp__caption a{color:inherit}.vp-pswp .pswp__caption a:hover{opacity:.8}.vp-pswp .pswp__caption .vp-portfolio__item-meta-title{margin-top:0;margin-bottom:3px;font-size:14px;color:inherit}.vp-pswp .pswp__caption .vp-portfolio__item-meta-title a{text-decoration:none}.vp-pswp .pswp__preloader{position:absolute;right:0;bottom:0;z-index:1}.vp-pswp .vp-pswp-video{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:100%;max-width:1920px;height:100%;margin:0 auto;line-height:0;text-align:left;vertical-align:middle;z-index:1045}.vp-pswp .vp-pswp-video>div{position:relative;width:100%;height:0;padding-bottom:56.25%}.vp-pswp .vp-pswp-video>div iframe{position:absolute;top:0;left:0;width:100%;height:100%;margin:0}.vp-pswp .vp-pswp-video>div video{width:100% !important;height:auto !important;margin:0}img.visual-portfolio-lazyload:not(.lazyloaded){background-color:rgba(171,173,191,0.1)}
assets/js/lazysizes-object-fit-cover.min.js CHANGED
@@ -1 +1 @@
1
- !function(e){function t(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,i){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:i})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=47)}({47:function(e,t,n){e.exports=n(48)},48:function(e,t){!function(e,t){var n=function n(){t(e.lazySizes),e.removeEventListener("lazyunveilread",n,!0)};t=t.bind(null,e,e.document),e.lazySizes?n():e.addEventListener("lazyunveilread",n,!0)}(window,function(e,t,n){"use strict";if(e.addEventListener){var i=function(t){return e.getComputedStyle(t,null)||{}},r={calculateSize:function(e,t){var n=i(e);if(n&&n.objectFit&&"cover"===n.objectFit){var r=parseInt(e.getAttribute("height")),o=parseInt(e.getAttribute("width"));r&&o/r>e.clientWidth/e.clientHeight&&(t=parseInt(e.clientHeight*o/r,10))}return t}};n.objectFitCover=r,t.addEventListener("lazybeforesizes",function(e){if(!e.defaultPrevented&&e.detail.instance===n){var t=e.target;e.detail.width=r.calculateSize(t,e.detail.width)}})}})}});
1
+ !function(e){function t(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,i){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:i})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=172)}({172:function(e,t,n){e.exports=n(173)},173:function(e,t){!function(e,t){var n=function n(){t(e.lazySizes),e.removeEventListener("lazyunveilread",n,!0)};t=t.bind(null,e,e.document),e.lazySizes?n():e.addEventListener("lazyunveilread",n,!0)}(window,function(e,t,n){"use strict";if(e.addEventListener){var i=function(t){return e.getComputedStyle(t,null)||{}},r={calculateSize:function(e,t){var n=i(e);if(n&&n.objectFit&&"cover"===n.objectFit){var r=parseInt(e.getAttribute("height")),o=parseInt(e.getAttribute("width"));r&&o/r>e.clientWidth/e.clientHeight&&(t=parseInt(e.clientHeight*o/r,10))}return t}};n.objectFitCover=r,t.addEventListener("lazybeforesizes",function(e){if(!e.defaultPrevented&&e.detail.instance===n){var t=e.target;e.detail.width=r.calculateSize(t,e.detail.width)}})}})}});
assets/js/script-preview.min.js CHANGED
@@ -1,6 +1,6 @@
1
- !function(t){function e(n){if(o[n])return o[n].exports;var r=o[n]={i:n,l:!1,exports:{}};return t[n].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var o={};e.m=t,e.c=o,e.d=function(t,o,n){e.o(t,o)||Object.defineProperty(t,o,{configurable:!1,enumerable:!0,get:n})},e.n=function(t){var o=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(o,"a",o),o},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=49)}({49:function(t,e,o){t.exports=o(50)},50:function(t,e){/*!
2
  * Name : Visual Portfolio
3
- * Version : 1.6.5
4
  * Author : nK https://nkdev.info
5
  */
6
  !function(t){var e=t("#vp_preview > .vp-portfolio");e.on("click",".vp-portfolio__item, .vp-portfolio__item a",function(t){t.preventDefault(),t.stopPropagation()}),window.iFrameResizer={heightCalculationMethod:function(){return e.outerHeight(!0)}}}(jQuery)}});
1
+ !function(t){function e(n){if(o[n])return o[n].exports;var r=o[n]={i:n,l:!1,exports:{}};return t[n].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var o={};e.m=t,e.c=o,e.d=function(t,o,n){e.o(t,o)||Object.defineProperty(t,o,{configurable:!1,enumerable:!0,get:n})},e.n=function(t){var o=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(o,"a",o),o},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=174)}({174:function(t,e,o){t.exports=o(175)},175:function(t,e){/*!
2
  * Name : Visual Portfolio
3
+ * Version : 1.7.0
4
  * Author : nK https://nkdev.info
5
  */
6
  !function(t){var e=t("#vp_preview > .vp-portfolio");e.on("click",".vp-portfolio__item, .vp-portfolio__item a",function(t){t.preventDefault(),t.stopPropagation()}),window.iFrameResizer={heightCalculationMethod:function(){return e.outerHeight(!0)}}}(jQuery)}});
assets/js/script.min.js CHANGED
@@ -1 +1 @@
1
- !function(t){function e(o){if(i[o])return i[o].exports;var s=i[o]={i:o,l:!1,exports:{}};return t[o].call(s.exports,s,s.exports,e),s.l=!0,s.exports}var i={};e.m=t,e.c=i,e.d=function(t,i,o){e.o(t,i)||Object.defineProperty(t,i,{configurable:!1,enumerable:!0,get:o})},e.n=function(t){var i=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(i,"a",i),i},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=51)}({51:function(t,e,i){t.exports=i(52)},52:function(t,e){function i(t){if(Array.isArray(t)){for(var e=0,i=Array(t.length);e<t.length;e++)i[e]=t[e];return i}return Array.from(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(){_=c.width(),h=c.height()}var r="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},n=function(){function t(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)}}return function(e,i,o){return i&&t(e.prototype,i),o&&t(e,o),e}}(),a=jQuery,p=window,l=p.VPData,d=p.objectFitImages,v=p.PhotoSwipe,f=p.PhotoSwipeUI_Default,m=l.__,u=l.settingsPopupGallery,c=a(window),_=0,h=0;s(),c.on("resize load orientationchange",s);var w=[320,576,768,992,1200];void 0!==d&&d();var y=function(){function t(e,i){o(this,t);var s=this;s.$item=e;for(var r=e[0].className.split(/\s+/),n=0;n<r.length;n++)r[n]&&/^vp-uid-/.test(r[n])&&(s.uid=r[n].replace(/^vp-uid-/,"")),r[n]&&/^vp-id-/.test(r[n])&&(s.id=r[n].replace(/^vp-id-/,""));if(!s.uid)return void console.error(m.couldnt_retrieve_vp);s.$items_wrap=e.find(".vp-portfolio__items"),s.$pagination=e.find(".vp-portfolio__pagination-wrap"),s.$filter=e.find(".vp-portfolio__filter-wrap"),s.id&&(s.$filter=s.$filter.add(".vp-single-filter.vp-id-"+s.id+" .vp-portfolio__filter-wrap")),s.userOptions=i,s.firstRun=!0,s.init()}return n(t,[{key:"emitEvent",value:function(t,e){e=e?[this].concat(e):[this],this.$item.trigger(t+".vpf.vpf-uid-"+this.uid,e)}},{key:"init",value:function(){var t=this;t.firstRun||t.destroy(),t.destroyed=!1,t.initOptions(),t.initEvents(),t.prepareLazyLoad(),t.initLayout(),t.initCustomColors(),t.initPhotoswipe(),t.emitEvent("init"),t.$item.addClass("vp-portfolio__ready"),t.id&&a(".vp-single-filter.vp-id-"+t.id).addClass("vp-single-filter__ready"),t.initIsotope(),t.initFjGallery(),t.initSwiper(),t.resized(),t.firstRun=!1}},{key:"resized",value:function(){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)}this.emitEvent("resized")}},{key:"destroy",value:function(){var t=this;t.$item.removeClass("vp-portfolio__ready"),t.id&&a(".vp-single-filter.vp-id-"+t.id).removeClass("vp-single-filter__ready"),t.destroyEvents(),t.removeStyle(),t.renderStyle(),t.destroyPhotoswipe(),t.destroyIsotope(),t.destroyFjGallery(),t.destroySwiper(),t.emitEvent("destroy"),t.destroyed=!0}},{key:"addStyle",value:function(t,e,i){i=i||"";var o=this,s=o.uid;o.stylesList||(o.stylesList={}),void 0===o.stylesList[s]&&(o.stylesList[s]={}),void 0===o.stylesList[s][i]&&(o.stylesList[s][i]={}),void 0===o.stylesList[s][i][t]&&(o.stylesList[s][i][t]={}),o.stylesList[s][i][t]=a.extend(o.stylesList[s][i][t],e),o.emitEvent("addStyle",[t,e,i,o.stylesList])}},{key:"removeStyle",value:function(t,e,i){i=i||"";var o=this,s=o.uid;o.stylesList||(o.stylesList={}),void 0===o.stylesList[s]||t||(o.stylesList[s]={}),void 0!==o.stylesList[s]&&void 0!==o.stylesList[s][i]&&void 0!==o.stylesList[s][i][t]&&t&&delete o.stylesList[s][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 "+o+" {"),Object.keys(t.stylesList[e][o]).forEach(function(s){i+=".vp-uid-"+e+" "+s+" {",Object.keys(t.stylesList[e][o][s]).forEach(function(r){i+=r+":"+t.stylesList[e][o][s][r]+";"}),i+="}"}),o&&(i+="}")});var o=a("#vp-style-"+e);o.length||(o=a("<style>").attr("id","vp-style-"+e).appendTo("head")),o.html(i),t.emitEvent("renderStyle",[i,t.stylesList,o])}},{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,tilesType:"3|1,1|",masonryColumns:3,justifiedRowHeight:250,justifiedRowHeightTolerance:.25,pagination:"load-more"},t&&(e.userOptions=t);var i=e.$item[0].dataset,o={};Object.keys(i).forEach(function(t){t&&"vp"===t.substring(0,2)&&(o[e.firstToLowerCase(t.substring(2))]=i[t])}),e.options=a.extend({},e.defaults,o,e.userOptions),e.emitEvent("initOptions")}},{key:"isCrossLine",value:function(t,e,i,o){var s=(o.x-i.x)*(t.y-i.y)-(o.y-i.y)*(t.x-i.x),r=(o.x-i.x)*(e.y-i.y)-(o.y-i.y)*(e.x-i.x),n=(e.x-t.x)*(i.y-t.y)-(e.y-t.y)*(i.x-t.x),a=(e.x-t.x)*(o.y-t.y)-(e.y-t.y)*(o.x-t.x);return s*r<=0&&n*a<=0}},{key:"initEvents",value:function(){function t(){var t=i.$item[0].getBoundingClientRect(),e=t.left,o=_-t.right,s=parseFloat(i.$item.css("margin-left")||0),r=parseFloat(i.$item.css("margin-right")||0);i.$item.css({"margin-left":s-e,"margin-right":r-o})}function e(){var t=i.$item[0].getBoundingClientRect();t.bottom>0&&t.bottom-n<=h&&i.loadNewItems(i.options.nextPageUrl,!1,function(){e()})}var i=this,o=".vpf.vpf-uid-"+i.uid;if(i.$item.hasClass("vp-portfolio__stretch")&&(c.on("load"+o+" resize"+o+" orientationchange"+o,function(){t()}),t()),"fly"===i.options.itemsStyle){var s={};c.on("mousemove"+o,function(t){s={x:t.clientX,y:t.clientY}}),i.$item.on("mouseenter"+o+" mouseleave"+o,".vp-portfolio__item",function(t){var e=a(this),o=e[0].getBoundingClientRect(),r=e.find(".vp-portfolio__item-overlay"),n="mouseenter"===t.type,p="0%",l="0%",d={x:t.clientX,y:t.clientY},v=i.isCrossLine({x:o.left,y:o.top},{x:o.left+o.width,y:o.top},d,s),f=i.isCrossLine({x:o.left,y:o.top+o.height},{x:o.left+o.width,y:o.top+o.height},d,s),m=i.isCrossLine({x:o.left,y:o.top},{x:o.left,y:o.top+o.height},d,s),u=i.isCrossLine({x:o.left+o.width,y:o.top},{x:o.left+o.width,y:o.top+o.height},d,s);if(!(v||f||m||u)){var c=(o.width/2-d.x+o.left)/(o.width/2),_=(o.height/2-d.y+o.top)/(o.height/2);Math.abs(c)>Math.abs(_)?c>0?m=!0:u=!0:_>0?v=!0:f=!0}v?l="-10"+l:f?l="10"+l:m?p="-10"+p:u&&(p="10"+p),n&&(r.css({transition:"none",transform:"translateX("+p+") translateY("+l+") translateZ(0)"}),r[0].offsetHeight),r.css({transition:".2s transform ease-in-out",transform:"translateX("+(n?"0%":p)+") translateY("+(n?"0%":l)+") translateZ(0)"})})}i.$filter.on("click"+o,".vp-filter .vp-filter__item a",function(t){t.preventDefault();var e=a(this);i.loading||e.closest(".vp-filter__item").addClass("vp-filter__item-active").siblings().removeClass("vp-filter__item-active"),i.loadNewItems(e.attr("href"),!0)}),i.$item.on("click"+o,".vp-pagination .vp-pagination__item a",function(t){t.preventDefault();var e=a(this);e.hasClass("vp-pagination__no-more")&&"paged"!==i.options.pagination||i.loadNewItems(e.attr("href"),"paged"===i.options.pagination)}),i.$item.on("click"+o,".vp-portfolio__items .vp-portfolio__item-meta-category a",function(t){t.preventDefault(),t.stopPropagation(),i.loadNewItems(a(this).attr("href"),!0)});var r=void 0,n=250;"infinite"===i.options.pagination&&(c.on("load"+o+" scroll"+o+" resize"+o+" orientationchange"+o,function(){clearTimeout(r),r=setTimeout(function(){e()},60)}),e()),i.$item.on("transitionend"+o,".vp-portfolio__items",function(t){t.currentTarget===t.target&&i.resized()}),i.emitEvent("initEvents")}},{key:"destroyEvents",value:function(){var t=this,e=".vpf.vpf-uid-"+t.uid;t.$item.off(e),t.$filter.off(e),c.off(e),t.emitEvent("destroyEvents")}},{key:"prepareLazyLoad",value:function(){var t=this,e=window.lazySizesConfig;if(e){var i={"data-vpf-src":e.srcAttr,"data-vpf-sizes":e.sizesAttr,"data-vpf-srcset":e.srcsetAttr};t.$items_wrap.find(".visual-portfolio-lazyload:not(."+e.lazyClass+")").each(function(){var t=a(this);Object.keys(i).forEach(function(e){i[e]&&e!==i[e]&&t.attr(e)&&(t.attr(i[e],t.attr(e)),t.removeAttr(e))}),t.addClass(e.lazyClass)})}}},{key:"getTilesSettings",value:function(){var t=this,e=t.options.tilesType.split(/[:|]/);return void 0===e[e.length-1]||e[e.length-1]||e.pop(),e}},{key:"initLayout",value:function(){var t=this;if(t.options.layout)switch(t.options.layout){case"tiles":var e=t.getTilesSettings(),i=parseInt(e[0],10)||1;if(e.shift(),t.addStyle(".vp-portfolio__item-wrap",{width:100/i+"%"}),e&&e.length)for(var o=0;o<e.length;o++){var s=e[o].split(","),r=parseFloat(s[0])||1,n=parseFloat(s[1])||1,a=".vp-portfolio__item-wrap";e.length>1&&(a+=":nth-of-type("+e.length+"n+"+(o+1)+")"),r&&1!==r&&t.addStyle(a,{width:100*r/i+"%"}),t.addStyle(a+" .vp-portfolio__item-img-wrap::before",{"margin-top":100*n+"%"})}for(var p=i-1,l=Math.min(w.length-1,p);l>=0;l--)p>0&&void 0!==w[l]&&(t.addStyle(".vp-portfolio__item-wrap",{width:100/p+"%"},"screen and (max-width: "+w[l]+"px)"),t.addStyle(".vp-portfolio__item-wrap:nth-of-type(n)",{width:100/p+"%"},"screen and (max-width: "+w[l]+"px)")),p-=1;break;case"masonry":t.addStyle(".vp-portfolio__item-wrap",{width:100/t.options.masonryColumns+"%"});for(var d=t.options.masonryColumns,v=d-1,f=Math.min(w.length-1,v);f>=0;f--)v>0&&void 0!==w[f]&&t.addStyle(".vp-portfolio__item-wrap",{width:100/v+"%"},"screen and (max-width: "+w[f]+"px)"),v-=1;case"justified":break;case"slider":"auto"!==t.options.sliderItemsHeight&&("auto"===t.options.sliderSlidesPerView?t.options.sliderItemsHeight.indexOf("%")===t.options.sliderItemsHeight.length-1?(t.addStyle(".vp-portfolio__items-wrap::before",{content:'""',display:"block",width:"100%","margin-top":isNaN(t.options.sliderItemsHeight)?t.options.sliderItemsHeight:t.options.sliderItemsHeight+"px"}),t.addStyle(".vp-portfolio__items",{position:"absolute",top:0,left:0,right:0,bottom:0}),t.addStyle(".vp-portfolio__item-wrap",{height:"true"===t.options.sliderBullets?"calc( 100% - 25px )":"100%"}),t.addStyle(".vp-portfolio__item, .vp-portfolio__item-img-wrap, .vp-portfolio__item-img, .vp-portfolio__item-wrap .vp-portfolio__item .vp-portfolio__item-img a, .vp-portfolio__item-wrap .vp-portfolio__item .vp-portfolio__item-img img",{width:"auto",height:"100%"})):t.addStyle(".vp-portfolio__item .vp-portfolio__item-img img",{width:"auto",height:isNaN(t.options.sliderItemsHeight)?t.options.sliderItemsHeight:t.options.sliderItemsHeight+"px"}):(t.addStyle(".vp-portfolio__item-img-wrap::before",{"margin-top":isNaN(t.options.sliderItemsHeight)?t.options.sliderItemsHeight:t.options.sliderItemsHeight+"px"}),t.addStyle(".vp-portfolio__item-img img",{position:"absolute",top:0,right:0,bottom:0,left:0}),t.addStyle(".vp-portfolio__item-img",{position:"absolute",top:0,right:0,bottom:0,left:0}),t.addStyle(".vp-portfolio__item .vp-portfolio__item-img img",{width:"100%",height:"100%"})))}var m=parseInt(t.options.itemsGap,10);if(m&&("tiles"===t.options.layout||"masonry"===t.options.layout)){t.addStyle(".vp-portfolio__items",{"margin-left":"-"+m+"px","margin-top":"-"+m+"px"});var u=m+"px";t.addStyle(".vp-portfolio__item-wrap .vp-portfolio__item",{"margin-left":u,"margin-top":u}),"tiles"===t.options.layout&&(t.addStyle(".vp-portfolio__item-wrap .vp-portfolio__item-img-wrap",{"margin-left":"-"+u,"margin-top":"-"+u}),t.addStyle(".vp-portfolio__item-wrap .vp-portfolio__item-img",{left:u,top:u}))}t.renderStyle(),t.emitEvent("initLayout")}},{key:"initCustomColors",value:function(){var t=this;t.$item.find("[data-vp-bg-color]").each(function(){var e=a(this).attr("data-vp-bg-color");t.addStyle('[data-vp-bg-color="'+e+'"]',{"background-color":e+" !important"})}),t.$item.find("[data-vp-text-color]").each(function(){var e=a(this).attr("data-vp-text-color");t.addStyle('[data-vp-text-color="'+e+'"]',{color:e+" !important"})}),t.renderStyle(),t.emitEvent("initCustomColors")}},{key:"initIsotope",value:function(t){var e=this;!e.$items_wrap.isotope||"tiles"!==e.options.layout&&"masonry"!==e.options.layout||(e.$items_wrap.isotope(t||{itemSelector:".vp-portfolio__item-wrap",layoutMode:"masonry",transitionDuration:"0.3s",percentPosition:!0}),e.emitEvent("initIsotope",[t]))}},{key:"destroyIsotope",value:function(){var t=this;t.$items_wrap.data("isotope")&&(t.$items_wrap.isotope("destroy"),t.emitEvent("destroyIsotope"))}},{key:"initFjGallery",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=this;i.$items_wrap.fjGallery&&"justified"===i.options.layout&&(i.$items_wrap.fjGallery(!1!==t?t:{gutter:parseFloat(i.options.itemsGap)||0,rowHeight:parseFloat(i.options.justifiedRowHeight)||200,rowHeightTolerance:parseFloat(i.options.justifiedRowHeightTolerance)||0,itemSelector:".vp-portfolio__item-wrap",imageSelector:".vp-portfolio__item-img img"},e),i.emitEvent("initFjGallery",[t]))}},{key:"destroyFjGallery",value:function(){var t=this;t.$items_wrap.data("fjGallery")&&(t.$items_wrap.fjGallery("destroy"),t.emitEvent("destroyFjGallery"))}},{key:"initSwiper",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this;if("slider"===e.options.layout&&void 0!==window.Swiper){var i=e.$items_wrap.parent();i.addClass("swiper-container"),e.$items_wrap.addClass("swiper-wrapper"),e.$items_wrap.children().addClass("swiper-slide"),"true"!==e.options.sliderArrows||i.find(".vp-portfolio__items-arrow").length||i.append('\n <div class="vp-portfolio__items-arrow vp-portfolio__items-arrow-prev"><span class="'+e.options.sliderArrowsIconPrev+'"></span></div>\n <div class="vp-portfolio__items-arrow vp-portfolio__items-arrow-next"><span class="'+e.options.sliderArrowsIconNext+'"></span></div>\n '),"true"!==e.options.sliderBullets||i.find(".vp-portfolio__items-bullets").length||i.append('<div class="vp-portfolio__items-bullets"></div>');var o=e.options.sliderSlidesPerView||3,s={};if(!isNaN(o))for(var r=o-1,n=Math.min(w.length-1,r);n>=0;n--)r>0&&void 0!==w[n]&&(s[w[n]]={slidesPerView:r}),r-=1;new window.Swiper(i[0],t||{speed:1e3*(parseFloat(e.options.sliderSpeed)||0),autoHeight:"auto"===e.options.sliderItemsHeight,effect:e.options.sliderEffect||"slide",spaceBetween:parseFloat(e.options.itemsGap)||0,centeredSlides:"true"===e.options.sliderCenteredSlides,freeMode:"true"===e.options.sliderFreeMode,loop:"true"===e.options.sliderLoop,autoplay:parseFloat(e.options.sliderAutoplay)>0&&{delay:1e3*parseFloat(e.options.sliderAutoplay),disableOnInteraction:!1},navigation:"true"===e.options.sliderArrows&&{nextEl:".vp-portfolio__items-arrow-next",prevEl:".vp-portfolio__items-arrow-prev"},pagination:"true"===e.options.sliderBullets&&{el:".vp-portfolio__items-bullets",clickable:!0,dynamicBullets:"true"===e.options.sliderBulletsDynamic},slidesPerView:o,breakpoints:s,keyboard:!0,grabCursor:!0}),e.emitEvent("initSwiper",[t])}}},{key:"destroySwiper",value:function(){var t=this,e=t.$items_wrap.parent(),i=e[0].swiper;i&&(i.destroy(),e.removeClass("swiper-container"),t.$items_wrap.removeClass("swiper-wrapper"),t.$items_wrap.children().removeClass("swiper-slide"),e.find(".vp-portfolio__items-arrow, .vp-portfolio__items-bullets").remove(),t.emitEvent("destroySwiper"))}},{key:"initPhotoswipe",value:function(){function t(e,i){if(void 0===i)return void(e&&e.itemHolders.length&&e.itemHolders.forEach(function(i){i.item&&i.item.html&&t(e,i.item)}));var o=e.viewportSize.x,s=e.viewportSize.y,r=i.vw/i.vh,n=void 0,p=a(i.container),l=e.options.barsSize,d=0,v=0;l&&(d=l.top&&"auto"!==l.top?l.top:0,v=l.bottom&&"auto"!==l.bottom?l.bottom:0),s-=d+v,n=r>o/s?o:s*r,p.find(".vp-pswp-video").css("max-width",n),p.css({top:d,bottom:v})}var e=this;if(void 0!==v&&e.options.itemsClickAction&&"popup_gallery"===e.options.itemsClickAction&&!e.$item.closest("#vp_preview").length){if(!a(".vp-pswp").length){var i="\n <div class=\"pswp vp-pswp vp-pswp-uid-'}"+e.uid+'" tabindex="-1" role="dialog" aria-hidden="true">\n <div class="pswp__bg"></div>\n <div class="pswp__scroll-wrap">\n <div class="pswp__container">\n <div class="pswp__item"></div>\n <div class="pswp__item"></div>\n <div class="pswp__item"></div>\n </div>\n <div class="pswp__ui pswp__ui--hidden">\n <div class="pswp__top-bar">\n <div class="pswp__counter"></div>\n <a class="pswp__button pswp__button--close" title="'+m.pswp_close+'"></a>\n <a class="pswp__button pswp__button--share" title="'+m.pswp_share+'"></a>\n <a class="pswp__button pswp__button--fs" title="'+m.pswp_fs+'"></a>\n <a class="pswp__button pswp__button--zoom" title="'+m.pswp_zoom+'"></a>\n </div>\n <div class="pswp__preloader">\n <div class="pswp__preloader__icn">\n <div class="pswp__preloader__cut">\n <div class="pswp__preloader__donut"></div>\n </div>\n </div>\n </div>\n <div class="pswp__share-modal pswp__share-modal--hidden pswp__single-tap">\n <div class="pswp__share-tooltip"></div>\n </div>\n <a class="pswp__button pswp__button--arrow--left" title="'+m.pswp_prev+'"></a>\n <a class="pswp__button pswp__button--arrow--right" title="'+m.pswp_next+'"></a>\n <div class="pswp__caption">\n <div class="pswp__caption__center"></div>\n </div>\n </div>\n </div>\n </div>\n ';a("body").append(i)}var o=function(t){var e=a(t).find(".vp-portfolio__item-wrap"),i=[],o=void 0,s=void 0,r=void 0,n=void 0,p=void 0;return e.each(function(){if(o=a(this).find(".vp-portfolio__item-popup"),s=(o.attr("data-vp-popup-img-size")||"1920x1080").split("x"),r=(o.attr("data-vp-popup-video-size")||"1920x1080").split("x"),p=o.attr("data-vp-popup-video"))n={html:p,vw:parseInt(r[0],10),vh:parseInt(r[1],10)};else{n={src:o.attr("data-vp-popup-img"),w:parseInt(s[0],10),h:parseInt(s[1],10)};var t=o.html();t&&(n.title=t),n.el=this;var e=o.attr("data-vp-popup-md-img")||n.src;e&&(s=(o.attr("data-vp-popup-md-img-size")||o.attr("data-vp-popup-img-size")||"1920x1080").split("x"),n.m={src:e,w:parseInt(s[0],10),h:parseInt(s[1],10)}),n.o={src:n.src,w:n.w,h:n.h}}i.push(n)}),i},s=function(i,s,r,n){var p=a(".vp-pswp")[0],l=o(s),d={captionAndToolbarShowEmptyCaptions:!1,closeEl:u.show_close_button,captionEl:u.show_caption,fullscreenEl:u.show_fullscreen_button,zoomEl:u.show_zoom_button,shareEl:u.show_share_button,counterEl:u.show_counter,arrowEl:u.show_arrows,shareButtons:[{id:"facebook",label:m.pswp_share_fb,url:"https://www.facebook.com/sharer/sharer.php?u={{url}}"},{id:"twitter",label:m.pswp_share_tw,url:"https://twitter.com/intent/tweet?text={{text}}&url={{url}}"},{id:"pinterest",label:m.pswp_share_pin,url:"https://www.pinterest.com/pin/create/button/?url={{url}}&media={{image_url}}&description={{text}}"}],bgOpacity:1,tapToClose:!0,tapToToggleControls:!1,showHideOpacity:!0,galleryUID:e.uid};if(n)if(d.galleryPIDs){for(var c=0;c<l.length;c++)if(l[c].pid===i){d.index=c;break}}else d.index=parseInt(i,10)-1;else d.index=parseInt(i,10);if(!Number.isNaN(d.index)){r&&(d.showAnimationDuration=0);var _=new v(p,f,l,d),h=void 0,w=!1,y=!0,g=void 0;_.listen("beforeResize",function(){h=_.viewportSize.x*window.devicePixelRatio,w&&h<1e3?(w=!1,g=!0):!w&&h>=1e3&&(w=!0,g=!0),g&&!y&&_.invalidateCurrItems(),y&&(y=!1),g=!1}),_.listen("gettingData",function(t,e){e.html||(w?(e.src=e.o.src,e.w=e.o.w,e.h=e.o.h):(e.src=e.m.src,e.w=e.m.w,e.h=e.m.h))}),_.listen("resize",function(){t(this)}),_.listen("afterChange",function(){t(this)}),_.listen("destroy",function(){var t=this;t&&t.itemHolders.length&&t.itemHolders.forEach(function(t){t.el&&a(t.el).find(".vp-pswp-video").remove()})}),_.init()}};e.$item.on("click.vpf.vpf-uid-"+e.uid,".vp-portfolio__item",function(t){t.preventDefault();var i=0,o=this;e.$item.find(".vp-portfolio__item").each(function(t){return this!==o||(i=t,!1)}),s(i,e.$item[0])});var r=function(){var t=window.location.hash.substring(1),e={};if(t.length<5)return e;for(var i=t.split("&"),o=0;o<i.length;o++)if(i[o]){var s=i[o].split("=");s.length<2||(e[s[0]]=s[1])}return e}();r.pid&&r.gid===e.uid&&s(r.pid,e.$item[0],!0,!0)}}},{key:"destroyPhotoswipe",value:function(){var t=this;t.$item.off("click.vpf.vpf-uid-"+t.uid),a(".vp-pswp-uid-"+t.uid).remove()}},{key:"addItems",value:function(t,e){var i=this,o=i.$items_wrap.data("isotope"),s=i.$items_wrap.data("fjGallery"),r=i.$items_wrap.parent()[0].swiper;if(o){if(e){var n=i.$items_wrap.find(".vp-portfolio__item-wrap");i.$items_wrap.isotope("remove",n),i.$items_wrap.prepend(t).isotope("prepended",t)}else i.$items_wrap.append(t).isotope("appended",t);setTimeout(function(){i.initIsotope("layout")},0)}else if(s)e?(i.destroyFjGallery(),i.$items_wrap.find(".vp-portfolio__item-wrap").remove(),i.$items_wrap.prepend(t),i.initFjGallery()):(i.$items_wrap.append(t),i.initFjGallery("appendImages",t));else if(r){e&&r.removeAllSlides();var a=[];t.addClass("swiper-slide").each(function(){a.push(this)}),r.appendSlide(a)}i.emitEvent("addItems",[t,e])}},{key:"removeItems",value:function(t){var e=this;e.$items_wrap.data("isotope")&&e.$items_wrap.isotope("remove",t),e.emitEvent("removeItems",[t])}},{key:"loadNewItems",value:function(t,e,i){var o=this;!o.loading&&t&&(o.loading=!0,o.$item.addClass("vp-portfolio__loading"),o.emitEvent("startLoadingNewItems",[t]),a.get(t,{},function(t){t=t.replace("<body",'<body><div id="vp-infinite-load-body"').replace("</body>","</div></body>");var s=a(t).filter("#vp-infinite-load-body"),r=s.find(".vp-portfolio.vp-uid-"+o.uid);if(r.length){var n=r.find(".vp-portfolio__items").html();o.$filter.length&&o.$filter.each(function(){var t=a(this),e="";e=t.parent().hasClass("vp-single-filter")?s.find('[class="'+t.parent().attr("class").replace(" vp-single-filter__ready","")+'"] .vp-portfolio__filter-wrap').html():r.find(".vp-portfolio__filter-wrap").html(),t.html(e)}),o.$pagination.length&&o.$pagination.html(r.find(".vp-portfolio__pagination-wrap").html()),o.addItems(a(n),e),o.emitEvent("loadedNewItems",[r,r,t])}var p=r.attr("data-vp-next-page-url");o.options.nextPageUrl=p,o.$item.attr("data-vp-next-page-url",p),o.$item.removeClass("vp-portfolio__loading"),o.loading=!1,o.emitEvent("endLoadingNewItems"),o.prepareLazyLoad(),o.initCustomColors(),i&&i()}))}}]),t}(),g=function(t){var e=Array.prototype.slice.call(arguments,1),o=void 0;return this.each(function(){if(void 0===o)if("object"===(void 0===t?"undefined":r(t))||void 0===t)this.vpf||(this.vpf=new y(a(this),t));else if(this.vpf){var s;o=(s=this.vpf)[t].apply(s,i(e))}}),void 0!==o?o:this};g.constructor=y;var b=jQuery.fn.vpf;jQuery.fn.vpf=g,jQuery.fn.vpf.noConflict=function(){return jQuery.fn.vpf=b,this},a(".vp-portfolio").vpf(),a(function(){a(".vp-portfolio").vpf()})}});
1
+ !function(t){function e(o){if(i[o])return i[o].exports;var s=i[o]={i:o,l:!1,exports:{}};return t[o].call(s.exports,s,s.exports,e),s.l=!0,s.exports}var i={};e.m=t,e.c=i,e.d=function(t,i,o){e.o(t,i)||Object.defineProperty(t,i,{configurable:!1,enumerable:!0,get:o})},e.n=function(t){var i=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(i,"a",i),i},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=176)}({176:function(t,e,i){t.exports=i(177)},177:function(t,e){function i(t){if(Array.isArray(t)){for(var e=0,i=Array(t.length);e<t.length;e++)i[e]=t[e];return i}return Array.from(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(){_=c.width(),h=c.height()}var r="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},n=function(){function t(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)}}return function(e,i,o){return i&&t(e.prototype,i),o&&t(e,o),e}}(),a=jQuery,p=window,l=p.VPData,d=p.objectFitImages,v=p.PhotoSwipe,f=p.PhotoSwipeUI_Default,m=l.__,u=l.settingsPopupGallery,c=a(window),_=0,h=0;s(),c.on("resize load orientationchange",s);var w=[320,576,768,992,1200];void 0!==d&&d();var y=function(){function t(e,i){o(this,t);var s=this;s.$item=e;for(var r=e[0].className.split(/\s+/),n=0;n<r.length;n++)r[n]&&/^vp-uid-/.test(r[n])&&(s.uid=r[n].replace(/^vp-uid-/,"")),r[n]&&/^vp-id-/.test(r[n])&&(s.id=r[n].replace(/^vp-id-/,""));if(!s.uid)return void console.error(m.couldnt_retrieve_vp);s.$items_wrap=e.find(".vp-portfolio__items"),s.$pagination=e.find(".vp-portfolio__pagination-wrap"),s.$filter=e.find(".vp-portfolio__filter-wrap"),s.id&&(s.$filter=s.$filter.add(".vp-single-filter.vp-id-"+s.id+" .vp-portfolio__filter-wrap")),s.userOptions=i,s.firstRun=!0,s.init()}return n(t,[{key:"emitEvent",value:function(t,e){e=e?[this].concat(e):[this],this.$item.trigger(t+".vpf.vpf-uid-"+this.uid,e)}},{key:"init",value:function(){var t=this;t.firstRun||t.destroy(),t.destroyed=!1,t.initOptions(),t.initEvents(),t.prepareLazyLoad(),t.initLayout(),t.initCustomColors(),t.initPhotoswipe(),t.emitEvent("init"),t.$item.addClass("vp-portfolio__ready"),t.id&&a(".vp-single-filter.vp-id-"+t.id).addClass("vp-single-filter__ready"),t.initIsotope(),t.initFjGallery(),t.initSwiper(),t.resized(),t.firstRun=!1}},{key:"resized",value:function(){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)}this.emitEvent("resized")}},{key:"destroy",value:function(){var t=this;t.$item.removeClass("vp-portfolio__ready"),t.id&&a(".vp-single-filter.vp-id-"+t.id).removeClass("vp-single-filter__ready"),t.destroyEvents(),t.removeStyle(),t.renderStyle(),t.destroyPhotoswipe(),t.destroyIsotope(),t.destroyFjGallery(),t.destroySwiper(),t.emitEvent("destroy"),t.destroyed=!0}},{key:"addStyle",value:function(t,e,i){i=i||"";var o=this,s=o.uid;o.stylesList||(o.stylesList={}),void 0===o.stylesList[s]&&(o.stylesList[s]={}),void 0===o.stylesList[s][i]&&(o.stylesList[s][i]={}),void 0===o.stylesList[s][i][t]&&(o.stylesList[s][i][t]={}),o.stylesList[s][i][t]=a.extend(o.stylesList[s][i][t],e),o.emitEvent("addStyle",[t,e,i,o.stylesList])}},{key:"removeStyle",value:function(t,e,i){i=i||"";var o=this,s=o.uid;o.stylesList||(o.stylesList={}),void 0===o.stylesList[s]||t||(o.stylesList[s]={}),void 0!==o.stylesList[s]&&void 0!==o.stylesList[s][i]&&void 0!==o.stylesList[s][i][t]&&t&&delete o.stylesList[s][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 "+o+" {"),Object.keys(t.stylesList[e][o]).forEach(function(s){i+=".vp-uid-"+e+" "+s+" {",Object.keys(t.stylesList[e][o][s]).forEach(function(r){i+=r+":"+t.stylesList[e][o][s][r]+";"}),i+="}"}),o&&(i+="}")});var o=a("#vp-style-"+e);o.length||(o=a("<style>").attr("id","vp-style-"+e).appendTo("head")),o.html(i),t.emitEvent("renderStyle",[i,t.stylesList,o])}},{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,tilesType:"3|1,1|",masonryColumns:3,justifiedRowHeight:250,justifiedRowHeightTolerance:.25,pagination:"load-more"},t&&(e.userOptions=t);var i=e.$item[0].dataset,o={};Object.keys(i).forEach(function(t){t&&"vp"===t.substring(0,2)&&(o[e.firstToLowerCase(t.substring(2))]=i[t])}),e.options=a.extend({},e.defaults,o,e.userOptions),e.emitEvent("initOptions")}},{key:"isCrossLine",value:function(t,e,i,o){var s=(o.x-i.x)*(t.y-i.y)-(o.y-i.y)*(t.x-i.x),r=(o.x-i.x)*(e.y-i.y)-(o.y-i.y)*(e.x-i.x),n=(e.x-t.x)*(i.y-t.y)-(e.y-t.y)*(i.x-t.x),a=(e.x-t.x)*(o.y-t.y)-(e.y-t.y)*(o.x-t.x);return s*r<=0&&n*a<=0}},{key:"initEvents",value:function(){function t(){var t=i.$item[0].getBoundingClientRect(),e=t.left,o=_-t.right,s=parseFloat(i.$item.css("margin-left")||0),r=parseFloat(i.$item.css("margin-right")||0);i.$item.css({"margin-left":s-e,"margin-right":r-o})}function e(){var t=i.$item[0].getBoundingClientRect();t.bottom>0&&t.bottom-n<=h&&i.loadNewItems(i.options.nextPageUrl,!1,function(){e()})}var i=this,o=".vpf.vpf-uid-"+i.uid;if(i.$item.hasClass("vp-portfolio__stretch")&&(c.on("load"+o+" resize"+o+" orientationchange"+o,function(){t()}),t()),"fly"===i.options.itemsStyle){var s={};c.on("mousemove"+o,function(t){s={x:t.clientX,y:t.clientY}}),i.$item.on("mouseenter"+o+" mouseleave"+o,".vp-portfolio__item",function(t){var e=a(this),o=e[0].getBoundingClientRect(),r=e.find(".vp-portfolio__item-overlay"),n="mouseenter"===t.type,p="0%",l="0%",d={x:t.clientX,y:t.clientY},v=i.isCrossLine({x:o.left,y:o.top},{x:o.left+o.width,y:o.top},d,s),f=i.isCrossLine({x:o.left,y:o.top+o.height},{x:o.left+o.width,y:o.top+o.height},d,s),m=i.isCrossLine({x:o.left,y:o.top},{x:o.left,y:o.top+o.height},d,s),u=i.isCrossLine({x:o.left+o.width,y:o.top},{x:o.left+o.width,y:o.top+o.height},d,s);if(!(v||f||m||u)){var c=(o.width/2-d.x+o.left)/(o.width/2),_=(o.height/2-d.y+o.top)/(o.height/2);Math.abs(c)>Math.abs(_)?c>0?m=!0:u=!0:_>0?v=!0:f=!0}v?l="-10"+l:f?l="10"+l:m?p="-10"+p:u&&(p="10"+p),n&&(r.css({transition:"none",transform:"translateX("+p+") translateY("+l+") translateZ(0)"}),r[0].offsetHeight),r.css({transition:".2s transform ease-in-out",transform:"translateX("+(n?"0%":p)+") translateY("+(n?"0%":l)+") translateZ(0)"})})}i.$filter.on("click"+o,".vp-filter .vp-filter__item a",function(t){t.preventDefault();var e=a(this);i.loading||e.closest(".vp-filter__item").addClass("vp-filter__item-active").siblings().removeClass("vp-filter__item-active"),i.loadNewItems(e.attr("href"),!0)}),i.$item.on("click"+o,".vp-pagination .vp-pagination__item a",function(t){t.preventDefault();var e=a(this);e.hasClass("vp-pagination__no-more")&&"paged"!==i.options.pagination||i.loadNewItems(e.attr("href"),"paged"===i.options.pagination)}),i.$item.on("click"+o,".vp-portfolio__items .vp-portfolio__item-meta-category a",function(t){t.preventDefault(),t.stopPropagation(),i.loadNewItems(a(this).attr("href"),!0)});var r=void 0,n=250;"infinite"===i.options.pagination&&(c.on("load"+o+" scroll"+o+" resize"+o+" orientationchange"+o,function(){clearTimeout(r),r=setTimeout(function(){e()},60)}),e()),i.$item.on("transitionend"+o,".vp-portfolio__items",function(t){t.currentTarget===t.target&&i.resized()}),i.emitEvent("initEvents")}},{key:"destroyEvents",value:function(){var t=this,e=".vpf.vpf-uid-"+t.uid;t.$item.off(e),t.$filter.off(e),c.off(e),t.emitEvent("destroyEvents")}},{key:"prepareLazyLoad",value:function(){var t=this,e=window.lazySizesConfig;if(e){var i={"data-vpf-src":e.srcAttr,"data-vpf-sizes":e.sizesAttr,"data-vpf-srcset":e.srcsetAttr};t.$items_wrap.find(".visual-portfolio-lazyload:not(."+e.lazyClass+")").each(function(){var t=a(this);Object.keys(i).forEach(function(e){i[e]&&e!==i[e]&&t.attr(e)&&(t.attr(i[e],t.attr(e)),t.removeAttr(e))}),t.addClass(e.lazyClass)})}}},{key:"getTilesSettings",value:function(){var t=this,e=t.options.tilesType.split(/[:|]/);return void 0===e[e.length-1]||e[e.length-1]||e.pop(),e}},{key:"initLayout",value:function(){var t=this;if(t.options.layout)switch(t.options.layout){case"tiles":var e=t.getTilesSettings(),i=parseInt(e[0],10)||1;if(e.shift(),t.addStyle(".vp-portfolio__item-wrap",{width:100/i+"%"}),e&&e.length)for(var o=0;o<e.length;o++){var s=e[o].split(","),r=parseFloat(s[0])||1,n=parseFloat(s[1])||1,a=".vp-portfolio__item-wrap";e.length>1&&(a+=":nth-of-type("+e.length+"n+"+(o+1)+")"),r&&1!==r&&t.addStyle(a,{width:100*r/i+"%"}),t.addStyle(a+" .vp-portfolio__item-img-wrap::before",{"margin-top":100*n+"%"})}for(var p=i-1,l=Math.min(w.length-1,p);l>=0;l--)p>0&&void 0!==w[l]&&(t.addStyle(".vp-portfolio__item-wrap",{width:100/p+"%"},"screen and (max-width: "+w[l]+"px)"),t.addStyle(".vp-portfolio__item-wrap:nth-of-type(n)",{width:100/p+"%"},"screen and (max-width: "+w[l]+"px)")),p-=1;break;case"masonry":t.addStyle(".vp-portfolio__item-wrap",{width:100/t.options.masonryColumns+"%"});for(var d=t.options.masonryColumns,v=d-1,f=Math.min(w.length-1,v);f>=0;f--)v>0&&void 0!==w[f]&&t.addStyle(".vp-portfolio__item-wrap",{width:100/v+"%"},"screen and (max-width: "+w[f]+"px)"),v-=1;case"justified":break;case"slider":"auto"!==t.options.sliderItemsHeight&&("auto"===t.options.sliderSlidesPerView?t.options.sliderItemsHeight.indexOf("%")===t.options.sliderItemsHeight.length-1?(t.addStyle(".vp-portfolio__items-wrap::before",{content:'""',display:"block",width:"100%","margin-top":isNaN(t.options.sliderItemsHeight)?t.options.sliderItemsHeight:t.options.sliderItemsHeight+"px"}),t.addStyle(".vp-portfolio__items",{position:"absolute",top:0,left:0,right:0,bottom:0}),t.addStyle(".vp-portfolio__item-wrap",{height:"true"===t.options.sliderBullets?"calc( 100% - 25px )":"100%"}),t.addStyle(".vp-portfolio__item, .vp-portfolio__item-img-wrap, .vp-portfolio__item-img, .vp-portfolio__item-wrap .vp-portfolio__item .vp-portfolio__item-img a, .vp-portfolio__item-wrap .vp-portfolio__item .vp-portfolio__item-img img",{width:"auto",height:"100%"})):t.addStyle(".vp-portfolio__item .vp-portfolio__item-img img",{width:"auto",height:isNaN(t.options.sliderItemsHeight)?t.options.sliderItemsHeight:t.options.sliderItemsHeight+"px"}):(t.addStyle(".vp-portfolio__item-img-wrap::before",{"margin-top":isNaN(t.options.sliderItemsHeight)?t.options.sliderItemsHeight:t.options.sliderItemsHeight+"px"}),t.addStyle(".vp-portfolio__item-img img",{position:"absolute",top:0,right:0,bottom:0,left:0}),t.addStyle(".vp-portfolio__item-img",{position:"absolute",top:0,right:0,bottom:0,left:0}),t.addStyle(".vp-portfolio__item .vp-portfolio__item-img img",{width:"100%",height:"100%"})))}var m=parseInt(t.options.itemsGap,10);if(m&&("tiles"===t.options.layout||"masonry"===t.options.layout)){t.addStyle(".vp-portfolio__items",{"margin-left":"-"+m+"px","margin-top":"-"+m+"px"});var u=m+"px";t.addStyle(".vp-portfolio__item-wrap .vp-portfolio__item",{"margin-left":u,"margin-top":u}),"tiles"===t.options.layout&&(t.addStyle(".vp-portfolio__item-wrap .vp-portfolio__item-img-wrap",{"margin-left":"-"+u,"margin-top":"-"+u}),t.addStyle(".vp-portfolio__item-wrap .vp-portfolio__item-img",{left:u,top:u}))}t.renderStyle(),t.emitEvent("initLayout")}},{key:"initCustomColors",value:function(){var t=this;t.$item.find("[data-vp-bg-color]").each(function(){var e=a(this).attr("data-vp-bg-color");t.addStyle('[data-vp-bg-color="'+e+'"]',{"background-color":e+" !important"})}),t.$item.find("[data-vp-text-color]").each(function(){var e=a(this).attr("data-vp-text-color");t.addStyle('[data-vp-text-color="'+e+'"]',{color:e+" !important"})}),t.renderStyle(),t.emitEvent("initCustomColors")}},{key:"initIsotope",value:function(t){var e=this;!e.$items_wrap.isotope||"tiles"!==e.options.layout&&"masonry"!==e.options.layout||(e.$items_wrap.isotope(t||{itemSelector:".vp-portfolio__item-wrap",layoutMode:"masonry",transitionDuration:"0.3s",percentPosition:!0}),e.emitEvent("initIsotope",[t]))}},{key:"destroyIsotope",value:function(){var t=this;t.$items_wrap.data("isotope")&&(t.$items_wrap.isotope("destroy"),t.emitEvent("destroyIsotope"))}},{key:"initFjGallery",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=this;i.$items_wrap.fjGallery&&"justified"===i.options.layout&&(i.$items_wrap.fjGallery(!1!==t?t:{gutter:parseFloat(i.options.itemsGap)||0,rowHeight:parseFloat(i.options.justifiedRowHeight)||200,rowHeightTolerance:parseFloat(i.options.justifiedRowHeightTolerance)||0,itemSelector:".vp-portfolio__item-wrap",imageSelector:".vp-portfolio__item-img img"},e),i.emitEvent("initFjGallery",[t]))}},{key:"destroyFjGallery",value:function(){var t=this;t.$items_wrap.data("fjGallery")&&(t.$items_wrap.fjGallery("destroy"),t.emitEvent("destroyFjGallery"))}},{key:"initSwiper",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this;if("slider"===e.options.layout&&void 0!==window.Swiper){var i=e.$items_wrap.parent();i.addClass("swiper-container"),e.$items_wrap.addClass("swiper-wrapper"),e.$items_wrap.children().addClass("swiper-slide"),"true"!==e.options.sliderArrows||i.find(".vp-portfolio__items-arrow").length||i.append('\n <div class="vp-portfolio__items-arrow vp-portfolio__items-arrow-prev"><span class="'+e.options.sliderArrowsIconPrev+'"></span></div>\n <div class="vp-portfolio__items-arrow vp-portfolio__items-arrow-next"><span class="'+e.options.sliderArrowsIconNext+'"></span></div>\n '),"true"!==e.options.sliderBullets||i.find(".vp-portfolio__items-bullets").length||i.append('<div class="vp-portfolio__items-bullets"></div>');var o=e.options.sliderSlidesPerView||3,s={};if(!isNaN(o))for(var r=o-1,n=Math.min(w.length-1,r);n>=0;n--)r>0&&void 0!==w[n]&&(s[w[n]]={slidesPerView:r}),r-=1;new window.Swiper(i[0],t||{speed:1e3*(parseFloat(e.options.sliderSpeed)||0),autoHeight:"auto"===e.options.sliderItemsHeight,effect:e.options.sliderEffect||"slide",spaceBetween:parseFloat(e.options.itemsGap)||0,centeredSlides:"true"===e.options.sliderCenteredSlides,freeMode:"true"===e.options.sliderFreeMode,loop:"true"===e.options.sliderLoop,autoplay:parseFloat(e.options.sliderAutoplay)>0&&{delay:1e3*parseFloat(e.options.sliderAutoplay),disableOnInteraction:!1},navigation:"true"===e.options.sliderArrows&&{nextEl:".vp-portfolio__items-arrow-next",prevEl:".vp-portfolio__items-arrow-prev"},pagination:"true"===e.options.sliderBullets&&{el:".vp-portfolio__items-bullets",clickable:!0,dynamicBullets:"true"===e.options.sliderBulletsDynamic},slidesPerView:o,breakpoints:s,keyboard:!0,grabCursor:!0}),e.emitEvent("initSwiper",[t])}}},{key:"destroySwiper",value:function(){var t=this,e=t.$items_wrap.parent(),i=e[0].swiper;i&&(i.destroy(),e.removeClass("swiper-container"),t.$items_wrap.removeClass("swiper-wrapper"),t.$items_wrap.children().removeClass("swiper-slide"),e.find(".vp-portfolio__items-arrow, .vp-portfolio__items-bullets").remove(),t.emitEvent("destroySwiper"))}},{key:"initPhotoswipe",value:function(){function t(e,i){if(void 0===i)return void(e&&e.itemHolders.length&&e.itemHolders.forEach(function(i){i.item&&i.item.html&&t(e,i.item)}));var o=e.viewportSize.x,s=e.viewportSize.y,r=i.vw/i.vh,n=void 0,p=a(i.container),l=e.options.barsSize,d=0,v=0;l&&(d=l.top&&"auto"!==l.top?l.top:0,v=l.bottom&&"auto"!==l.bottom?l.bottom:0),s-=d+v,n=r>o/s?o:s*r,p.find(".vp-pswp-video").css("max-width",n),p.css({top:d,bottom:v})}var e=this;if(void 0!==v&&e.options.itemsClickAction&&"popup_gallery"===e.options.itemsClickAction&&!e.$item.closest("#vp_preview").length){if(!a(".vp-pswp").length){var i="\n <div class=\"pswp vp-pswp vp-pswp-uid-'}"+e.uid+'" tabindex="-1" role="dialog" aria-hidden="true">\n <div class="pswp__bg"></div>\n <div class="pswp__scroll-wrap">\n <div class="pswp__container">\n <div class="pswp__item"></div>\n <div class="pswp__item"></div>\n <div class="pswp__item"></div>\n </div>\n <div class="pswp__ui pswp__ui--hidden">\n <div class="pswp__top-bar">\n <div class="pswp__counter"></div>\n <a class="pswp__button pswp__button--close" title="'+m.pswp_close+'"></a>\n <a class="pswp__button pswp__button--share" title="'+m.pswp_share+'"></a>\n <a class="pswp__button pswp__button--fs" title="'+m.pswp_fs+'"></a>\n <a class="pswp__button pswp__button--zoom" title="'+m.pswp_zoom+'"></a>\n </div>\n <div class="pswp__preloader">\n <div class="pswp__preloader__icn">\n <div class="pswp__preloader__cut">\n <div class="pswp__preloader__donut"></div>\n </div>\n </div>\n </div>\n <div class="pswp__share-modal pswp__share-modal--hidden pswp__single-tap">\n <div class="pswp__share-tooltip"></div>\n </div>\n <a class="pswp__button pswp__button--arrow--left" title="'+m.pswp_prev+'"></a>\n <a class="pswp__button pswp__button--arrow--right" title="'+m.pswp_next+'"></a>\n <div class="pswp__caption">\n <div class="pswp__caption__center"></div>\n </div>\n </div>\n </div>\n </div>\n ';a("body").append(i)}var o=function(t){var e=a(t).find(".vp-portfolio__item-wrap"),i=[],o=void 0,s=void 0,r=void 0,n=void 0,p=void 0;return e.each(function(){if(o=a(this).find(".vp-portfolio__item-popup"),s=(o.attr("data-vp-popup-img-size")||"1920x1080").split("x"),r=(o.attr("data-vp-popup-video-size")||"1920x1080").split("x"),p=o.attr("data-vp-popup-video"))n={html:p,vw:parseInt(r[0],10),vh:parseInt(r[1],10)};else{n={src:o.attr("data-vp-popup-img"),w:parseInt(s[0],10),h:parseInt(s[1],10)};var t=o.html();t&&(n.title=t),n.el=this;var e=o.attr("data-vp-popup-md-img")||n.src;e&&(s=(o.attr("data-vp-popup-md-img-size")||o.attr("data-vp-popup-img-size")||"1920x1080").split("x"),n.m={src:e,w:parseInt(s[0],10),h:parseInt(s[1],10)}),n.o={src:n.src,w:n.w,h:n.h}}i.push(n)}),i},s=function(i,s,r,n){var p=a(".vp-pswp")[0],l=o(s),d={captionAndToolbarShowEmptyCaptions:!1,closeEl:u.show_close_button,captionEl:u.show_caption,fullscreenEl:u.show_fullscreen_button,zoomEl:u.show_zoom_button,shareEl:u.show_share_button,counterEl:u.show_counter,arrowEl:u.show_arrows,shareButtons:[{id:"facebook",label:m.pswp_share_fb,url:"https://www.facebook.com/sharer/sharer.php?u={{url}}"},{id:"twitter",label:m.pswp_share_tw,url:"https://twitter.com/intent/tweet?text={{text}}&url={{url}}"},{id:"pinterest",label:m.pswp_share_pin,url:"https://www.pinterest.com/pin/create/button/?url={{url}}&media={{image_url}}&description={{text}}"}],bgOpacity:1,tapToClose:!0,tapToToggleControls:!1,showHideOpacity:!0,galleryUID:e.uid};if(n)if(d.galleryPIDs){for(var c=0;c<l.length;c++)if(l[c].pid===i){d.index=c;break}}else d.index=parseInt(i,10)-1;else d.index=parseInt(i,10);if(!Number.isNaN(d.index)){r&&(d.showAnimationDuration=0);var _=new v(p,f,l,d),h=void 0,w=!1,y=!0,g=void 0;_.listen("beforeResize",function(){h=_.viewportSize.x*window.devicePixelRatio,w&&h<1e3?(w=!1,g=!0):!w&&h>=1e3&&(w=!0,g=!0),g&&!y&&_.invalidateCurrItems(),y&&(y=!1),g=!1}),_.listen("gettingData",function(t,e){e.html||(w?(e.src=e.o.src,e.w=e.o.w,e.h=e.o.h):(e.src=e.m.src,e.w=e.m.w,e.h=e.m.h))}),_.listen("resize",function(){t(this)}),_.listen("afterChange",function(){t(this)}),_.listen("beforeChange",function(){var t=this;if(t&&t.itemHolders.length){var e=t.getCurrentIndex();t.itemHolders.forEach(function(t){if(t.el&&t.index!==e){var i=a(t.el).find(".vp-pswp-video iframe");i.length&&i.attr("src",i.attr("src"))}})}}),_.listen("destroy",function(){var t=this;t&&t.itemHolders.length&&t.itemHolders.forEach(function(t){t.el&&a(t.el).find(".vp-pswp-video").remove()})}),_.init()}};e.$item.on("click.vpf.vpf-uid-"+e.uid,".vp-portfolio__item",function(t){t.preventDefault();var i=0,o=this;e.$item.find(".vp-portfolio__item").each(function(t){return this!==o||(i=t,!1)}),s(i,e.$item[0])});var r=function(){var t=window.location.hash.substring(1),e={};if(t.length<5)return e;for(var i=t.split("&"),o=0;o<i.length;o++)if(i[o]){var s=i[o].split("=");s.length<2||(e[s[0]]=s[1])}return e}();r.pid&&r.gid===e.uid&&s(r.pid,e.$item[0],!0,!0)}}},{key:"destroyPhotoswipe",value:function(){var t=this;t.$item.off("click.vpf.vpf-uid-"+t.uid),a(".vp-pswp-uid-"+t.uid).remove()}},{key:"addItems",value:function(t,e){var i=this,o=i.$items_wrap.data("isotope"),s=i.$items_wrap.data("fjGallery"),r=i.$items_wrap.parent()[0].swiper;if(o){if(e){var n=i.$items_wrap.find(".vp-portfolio__item-wrap");i.$items_wrap.isotope("remove",n),i.$items_wrap.prepend(t).isotope("prepended",t)}else i.$items_wrap.append(t).isotope("appended",t);setTimeout(function(){i.initIsotope("layout")},0)}else if(s)e?(i.destroyFjGallery(),i.$items_wrap.find(".vp-portfolio__item-wrap").remove(),i.$items_wrap.prepend(t),i.initFjGallery()):(i.$items_wrap.append(t),i.initFjGallery("appendImages",t));else if(r){e&&r.removeAllSlides();var a=[];t.addClass("swiper-slide").each(function(){a.push(this)}),r.appendSlide(a)}i.emitEvent("addItems",[t,e])}},{key:"removeItems",value:function(t){var e=this;e.$items_wrap.data("isotope")&&e.$items_wrap.isotope("remove",t),e.emitEvent("removeItems",[t])}},{key:"loadNewItems",value:function(t,e,i){var o=this;!o.loading&&t&&(o.loading=!0,o.$item.addClass("vp-portfolio__loading"),o.emitEvent("startLoadingNewItems",[t]),a.get(t,{},function(t){t=t.replace("<body",'<body><div id="vp-infinite-load-body"').replace("</body>","</div></body>");var s=a(t).filter("#vp-infinite-load-body"),r=s.find(".vp-portfolio.vp-uid-"+o.uid);if(r.length){var n=r.find(".vp-portfolio__items").html();o.$filter.length&&o.$filter.each(function(){var t=a(this),e="";e=t.parent().hasClass("vp-single-filter")?s.find('[class="'+t.parent().attr("class").replace(" vp-single-filter__ready","")+'"] .vp-portfolio__filter-wrap').html():r.find(".vp-portfolio__filter-wrap").html(),t.html(e)}),o.$pagination.length&&o.$pagination.html(r.find(".vp-portfolio__pagination-wrap").html()),o.addItems(a(n),e),o.emitEvent("loadedNewItems",[r,r,t])}var p=r.attr("data-vp-next-page-url");o.options.nextPageUrl=p,o.$item.attr("data-vp-next-page-url",p),o.$item.removeClass("vp-portfolio__loading"),o.loading=!1,o.emitEvent("endLoadingNewItems"),o.prepareLazyLoad(),o.initCustomColors(),i&&i()}))}}]),t}(),g=function(t){var e=Array.prototype.slice.call(arguments,1),o=void 0;return this.each(function(){if(void 0===o)if("object"===(void 0===t?"undefined":r(t))||void 0===t)this.vpf||(this.vpf=new y(a(this),t));else if(this.vpf){var s;o=(s=this.vpf)[t].apply(s,i(e))}}),void 0!==o?o:this};g.constructor=y;var b=jQuery.fn.vpf;jQuery.fn.vpf=g,jQuery.fn.vpf.noConflict=function(){return jQuery.fn.vpf=b,this},a(".vp-portfolio").vpf(),a(function(){a(".vp-portfolio").vpf()})}});
class-visual-portfolio.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Plugin Name: Visual Portfolio
4
  * Description: Portfolio post type with visual editor
5
- * Version: 1.6.5
6
  * Author: nK
7
  * Author URI: https://nkdev.info
8
  * License: GPLv2 or later
@@ -207,8 +207,8 @@ class Visual_Portfolio {
207
  }
208
 
209
  // Visual Portfolio.
210
- wp_register_script( 'visual-portfolio', visual_portfolio()->plugin_url . 'assets/js/script.min.js', $vp_deps, '1.6.5', true );
211
- wp_register_style( 'visual-portfolio', visual_portfolio()->plugin_url . 'assets/css/style.min.css', $vp_style_deps, '1.6.5' );
212
 
213
  // Visual Portfolio data.
214
  $data_init = array(
@@ -225,13 +225,13 @@ class Visual_Portfolio {
225
  'pswp_share_pin' => esc_attr( 'Pin it', 'visual-portfolio' ),
226
  ),
227
  'settingsPopupGallery' => array(
228
- 'show_arrows' => Visual_Portfolio_Settings::get_option( 'show_arrows', 'vp_popup_gallery', true ),
229
- 'show_caption' => Visual_Portfolio_Settings::get_option( 'show_caption', 'vp_popup_gallery', true ),
230
- 'show_counter' => Visual_Portfolio_Settings::get_option( 'show_counter', 'vp_popup_gallery', true ),
231
- 'show_zoom_button' => Visual_Portfolio_Settings::get_option( 'show_zoom_button', 'vp_popup_gallery', true ),
232
  'show_fullscreen_button' => Visual_Portfolio_Settings::get_option( 'show_fullscreen_button', 'vp_popup_gallery', true ),
233
- 'show_share_button' => Visual_Portfolio_Settings::get_option( 'show_share_button', 'vp_popup_gallery', true ),
234
- 'show_close_button' => Visual_Portfolio_Settings::get_option( 'show_close_button', 'vp_popup_gallery', true ),
235
  ),
236
  );
237
  wp_localize_script( 'visual-portfolio', 'VPData', $data_init );
2
  /**
3
  * Plugin Name: Visual Portfolio
4
  * Description: Portfolio post type with visual editor
5
+ * Version: 1.7.0
6
  * Author: nK
7
  * Author URI: https://nkdev.info
8
  * License: GPLv2 or later
207
  }
208
 
209
  // Visual Portfolio.
210
+ wp_register_script( 'visual-portfolio', visual_portfolio()->plugin_url . 'assets/js/script.min.js', $vp_deps, '1.7.0', true );
211
+ wp_register_style( 'visual-portfolio', visual_portfolio()->plugin_url . 'assets/css/style.min.css', $vp_style_deps, '1.7.0' );
212
 
213
  // Visual Portfolio data.
214
  $data_init = array(
225
  'pswp_share_pin' => esc_attr( 'Pin it', 'visual-portfolio' ),
226
  ),
227
  'settingsPopupGallery' => array(
228
+ 'show_arrows' => Visual_Portfolio_Settings::get_option( 'show_arrows', 'vp_popup_gallery', true ),
229
+ 'show_caption' => Visual_Portfolio_Settings::get_option( 'show_caption', 'vp_popup_gallery', true ),
230
+ 'show_counter' => Visual_Portfolio_Settings::get_option( 'show_counter', 'vp_popup_gallery', true ),
231
+ 'show_zoom_button' => Visual_Portfolio_Settings::get_option( 'show_zoom_button', 'vp_popup_gallery', true ),
232
  'show_fullscreen_button' => Visual_Portfolio_Settings::get_option( 'show_fullscreen_button', 'vp_popup_gallery', true ),
233
+ 'show_share_button' => Visual_Portfolio_Settings::get_option( 'show_share_button', 'vp_popup_gallery', true ),
234
+ 'show_close_button' => Visual_Portfolio_Settings::get_option( 'show_close_button', 'vp_popup_gallery', true ),
235
  ),
236
  );
237
  wp_localize_script( 'visual-portfolio', 'VPData', $data_init );
classes/class-admin.php CHANGED
@@ -53,6 +53,9 @@ class Visual_Portfolio_Admin {
53
  // highlight admin menu items.
54
  add_action( 'admin_menu', array( $this, 'admin_menu' ) );
55
 
 
 
 
56
  // register controls.
57
  add_action( 'init', array( $this, 'register_controls' ) );
58
 
@@ -149,8 +152,8 @@ class Visual_Portfolio_Admin {
149
  wp_enqueue_script( 'tooltip.js', visual_portfolio()->plugin_url . 'assets/vendor/popper.js/tooltip.min.js', array( 'popper.js' ), '1.14.3', true );
150
  wp_enqueue_style( 'popper.js', visual_portfolio()->plugin_url . 'assets/vendor/popper.js/popper.css', '', '1.14.3' );
151
 
152
- wp_enqueue_script( 'visual-portfolio-admin', visual_portfolio()->plugin_url . 'assets/admin/js/script.min.js', array( 'jquery' ), '1.6.5', true );
153
- wp_enqueue_style( 'visual-portfolio-admin', visual_portfolio()->plugin_url . 'assets/admin/css/style.min.css', '', '1.6.5' );
154
  wp_localize_script( 'visual-portfolio-admin', 'VPAdminVariables', $data_init );
155
  }
156
 
@@ -608,6 +611,51 @@ class Visual_Portfolio_Admin {
608
  }
609
  }
610
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
611
  /**
612
  * Add Admin Page
613
  */
@@ -1097,7 +1145,34 @@ class Visual_Portfolio_Admin {
1097
  'show_icons' => false,
1098
  'align' => true,
1099
  ),
1100
- 'controls' => array(),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1101
  ),
1102
 
1103
  // Fly.
53
  // highlight admin menu items.
54
  add_action( 'admin_menu', array( $this, 'admin_menu' ) );
55
 
56
+ // show admin menu dropdown with available portfolios on the current page.
57
+ add_action( 'wp_before_admin_bar_render', array( $this, 'wp_before_admin_bar_render' ) );
58
+
59
  // register controls.
60
  add_action( 'init', array( $this, 'register_controls' ) );
61
 
152
  wp_enqueue_script( 'tooltip.js', visual_portfolio()->plugin_url . 'assets/vendor/popper.js/tooltip.min.js', array( 'popper.js' ), '1.14.3', true );
153
  wp_enqueue_style( 'popper.js', visual_portfolio()->plugin_url . 'assets/vendor/popper.js/popper.css', '', '1.14.3' );
154
 
155
+ wp_enqueue_script( 'visual-portfolio-admin', visual_portfolio()->plugin_url . 'assets/admin/js/script.min.js', array( 'jquery' ), '1.7.0', true );
156
+ wp_enqueue_style( 'visual-portfolio-admin', visual_portfolio()->plugin_url . 'assets/admin/css/style.min.css', '', '1.7.0' );
157
  wp_localize_script( 'visual-portfolio-admin', 'VPAdminVariables', $data_init );
158
  }
159
 
611
  }
612
  }
613
 
614
+ /**
615
+ * Add admin dropdown menu with all used Layouts on the current page.
616
+ */
617
+ public function wp_before_admin_bar_render() {
618
+ global $wp_admin_bar;
619
+
620
+ if ( ! is_super_admin() || ! is_admin_bar_showing() ) {
621
+ return;
622
+ }
623
+
624
+ // add all nodes of all Slider.
625
+ $layouts = Visual_Portfolio_Get::get_all_currently_used_ids();
626
+ $layouts = array_unique( $layouts );
627
+
628
+ if ( ! empty( $layouts ) ) {
629
+ $wp_admin_bar->add_node( array(
630
+ 'parent' => false,
631
+ 'id' => 'visual_portfolio',
632
+ 'title' => esc_html__( 'Visual Portfolio', 'visual-portfolio' ),
633
+ 'href' => admin_url( 'edit.php?post_type=vp_lists' ),
634
+ ) );
635
+
636
+ // get visual-portfolio post types by IDs.
637
+ // Don't use WP_Query on the admin side https://core.trac.wordpress.org/ticket/18408 .
638
+ $vp_query = get_posts(
639
+ array(
640
+ 'post_type' => 'vp_lists',
641
+ // phpcs:ignore
642
+ 'posts_per_page' => -1,
643
+ 'showposts' => -1,
644
+ 'paged' => -1,
645
+ 'post__in' => $layouts,
646
+ )
647
+ );
648
+ foreach ( $vp_query as $post ) {
649
+ $wp_admin_bar->add_node( array(
650
+ 'parent' => 'visual_portfolio',
651
+ 'id' => 'vp_list_' . esc_html( $post->ID ),
652
+ 'title' => esc_html( $post->post_title ),
653
+ 'href' => admin_url( 'post.php?post=' . $post->ID ) . '&action=edit',
654
+ ) );
655
+ }
656
+ }
657
+ }
658
+
659
  /**
660
  * Add Admin Page
661
  */
1145
  'show_icons' => false,
1146
  'align' => true,
1147
  ),
1148
+ 'controls' => array(
1149
+ array(
1150
+ 'type' => 'select2',
1151
+ 'label' => esc_html__( 'Show Read more button', 'visual-portfolio' ),
1152
+ 'name' => 'show_read_more',
1153
+ 'default' => false,
1154
+ 'options' => array(
1155
+ 'false' => esc_html__( 'False', 'visual-portfolio' ),
1156
+ 'true' => esc_html__( 'Always show', 'visual-portfolio' ),
1157
+ 'more_tag' => esc_html__( 'Show when used "More tag" in the post', 'visual-portfolio' ),
1158
+ ),
1159
+ ),
1160
+ array(
1161
+ 'type' => 'text',
1162
+ 'name' => 'read_more_label',
1163
+ 'placeholder' => 'Read More',
1164
+ 'default' => 'Read More',
1165
+ 'hint' => esc_attr__( 'Read more button label', 'visual-portfolio' ),
1166
+ 'hint_place' => 'left',
1167
+ 'condition' => array(
1168
+ array(
1169
+ 'control' => 'show_read_more',
1170
+ 'operator' => '!=',
1171
+ 'value' => 'false',
1172
+ ),
1173
+ ),
1174
+ ),
1175
+ ),
1176
  ),
1177
 
1178
  // Fly.
classes/class-controls.php CHANGED
@@ -450,7 +450,7 @@ class Visual_Portfolio_Controls {
450
  $selected = true;
451
  }
452
  } else {
453
- $selected = $args['value'] == $check_val;
454
  }
455
 
456
  ?>
450
  $selected = true;
451
  }
452
  } else {
453
+ $selected = $args['value'] === $check_val;
454
  }
455
 
456
  ?>
classes/class-get-portfolio.php CHANGED
@@ -92,6 +92,34 @@ class Visual_Portfolio_Get {
92
  */
93
  static private $id = 0;
94
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
95
  /**
96
  * Print portfolio by post ID or options
97
  *
@@ -104,6 +132,8 @@ class Visual_Portfolio_Get {
104
  return '';
105
  }
106
 
 
 
107
  self::enqueue_scripts();
108
 
109
  // generate unique ID.
@@ -404,8 +434,8 @@ class Visual_Portfolio_Get {
404
  $categories = array();
405
  $all_taxonomies = get_object_taxonomies( get_post() );
406
  foreach ( $all_taxonomies as $cat ) {
407
- // allow only category taxonomies like category, portfolio_category, etc...
408
- if ( strpos( $cat, 'category' ) === false ) {
409
  continue;
410
  }
411
 
@@ -885,9 +915,8 @@ class Visual_Portfolio_Get {
885
  $all_taxonomies = get_object_taxonomies( get_post() );
886
 
887
  foreach ( $all_taxonomies as $cat ) {
888
- // allow only category taxonomies like category, portfolio_category, etc...
889
- // + support for jetpack portfolio-type.
890
- if ( strpos( $cat, 'category' ) === false && strpos( $cat, 'jetpack-portfolio-type' ) === false ) {
891
  continue;
892
  }
893
 
@@ -1036,6 +1065,8 @@ class Visual_Portfolio_Get {
1036
  * 'vp_opts' - vp options.
1037
  */
1038
  private static function each_item( $args ) {
 
 
1039
  // prepare image.
1040
  $args['image'] = Visual_Portfolio_Images::get_attachment_image( $args['image_id'], $args['img_size'] );
1041
 
@@ -1053,6 +1084,19 @@ class Visual_Portfolio_Get {
1053
  $args['published_human_format'] = $args['published'];
1054
  }
1055
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1056
  // add video format args.
1057
  $oembed = false;
1058
  if ( 'video' === $args['format'] && $args['video'] ) {
@@ -1088,14 +1132,16 @@ class Visual_Portfolio_Get {
1088
  $img_meta = wp_get_attachment_image_src( $args['image_id'], $args['img_size_popup'] );
1089
  $img_md_meta = wp_get_attachment_image_src( $args['image_id'], $args['img_size_md_popup'] );
1090
  $popup_image = array(
1091
- 'title' => $attachment->post_title,
1092
  'description' => $attachment->post_content,
1093
- 'url' => $img_meta[0],
1094
- 'width' => $img_meta[1],
1095
- 'height' => $img_meta[2],
1096
- 'md_url' => $img_md_meta[0],
1097
- 'md_width' => $img_md_meta[1],
1098
- 'md_height' => $img_md_meta[2],
 
 
1099
  );
1100
  }
1101
  }
@@ -1115,24 +1161,37 @@ class Visual_Portfolio_Get {
1115
  <div class="vp-portfolio__item-wrap" data-vp-filter="<?php echo esc_attr( $args['filter'] ); ?>">
1116
  <?php
1117
  if ( $popup_image ) {
 
 
 
1118
  ?>
1119
  <div class="vp-portfolio__item-popup"
1120
- style="display: none;"
1121
- data-vp-popup-img="<?php echo esc_url( $popup_image['url'] ); ?>"
1122
- data-vp-popup-img-size="<?php echo esc_attr( $popup_image['width'] . 'x' . $popup_image['height'] ); ?>"
1123
- data-vp-popup-md-img="<?php echo esc_url( $popup_image['md_url'] ); ?>"
1124
- data-vp-popup-md-img-size="<?php echo esc_attr( $popup_image['md_width'] . 'x' . $popup_image['md_height'] ); ?>"
1125
  >
1126
- <h3><?php echo esc_html( $popup_image['title'] ); ?></h3>
1127
- <?php echo wp_kses_post( $popup_image['description'] ); ?>
 
 
 
 
 
 
 
 
 
 
1128
  </div>
1129
  <?php
1130
  } else if ( $popup_video ) {
1131
  ?>
1132
  <div class="vp-portfolio__item-popup"
1133
- style="display: none;"
1134
- data-vp-popup-video="<?php echo esc_attr( $popup_video['html'] ); ?>"
1135
- data-vp-popup-video-size="<?php echo esc_attr( $popup_video['width'] . 'x' . $popup_video['height'] ); ?>"
1136
  ></div>
1137
  <?php
1138
  }
@@ -1359,6 +1418,22 @@ class Visual_Portfolio_Get {
1359
  return $slug;
1360
  }
1361
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1362
  /**
1363
  * Extract specific HTML tags and their attributes from a string.
1364
  *
92
  */
93
  static private $id = 0;
94
 
95
+ /**
96
+ * Allow taxonomies to show in Filter
97
+ *
98
+ * @param string $taxonomy taxonomy name.
99
+ *
100
+ * @return bool
101
+ */
102
+ public static function allow_taxonomies_for_filter( $taxonomy ) {
103
+ // check taxonomies from settings.
104
+ $custom_taxonomies = Visual_Portfolio_Settings::get_option( 'filter_taxonomies', 'vp_general', '' );
105
+ $custom_taxonomies = explode( ',', $custom_taxonomies );
106
+ $custom_taxonomies_result = false;
107
+ if ( $custom_taxonomies && ! empty( $custom_taxonomies ) ) {
108
+ foreach ( $custom_taxonomies as $tax ) {
109
+ $custom_taxonomies_result = $custom_taxonomies_result || 'product_cat' === $tax;
110
+ }
111
+ }
112
+
113
+ return apply_filters(
114
+ 'vpf_allow_taxonomy_for_filter',
115
+ $custom_taxonomies_result
116
+ || strpos( $taxonomy, 'category' )
117
+ || strpos( $taxonomy, 'jetpack-portfolio-type' )
118
+ || 'product_cat' === $taxonomy,
119
+ $taxonomy
120
+ );
121
+ }
122
+
123
  /**
124
  * Print portfolio by post ID or options
125
  *
132
  return '';
133
  }
134
 
135
+ self::$all_used_layout_ids[] = $atts['id'];
136
+
137
  self::enqueue_scripts();
138
 
139
  // generate unique ID.
434
  $categories = array();
435
  $all_taxonomies = get_object_taxonomies( get_post() );
436
  foreach ( $all_taxonomies as $cat ) {
437
+ // allow only specific taxonomies for filter.
438
+ if ( ! self::allow_taxonomies_for_filter( $cat ) ) {
439
  continue;
440
  }
441
 
915
  $all_taxonomies = get_object_taxonomies( get_post() );
916
 
917
  foreach ( $all_taxonomies as $cat ) {
918
+ // allow only specific taxonomies for filter.
919
+ if ( ! self::allow_taxonomies_for_filter( $cat ) ) {
 
920
  continue;
921
  }
922
 
1065
  * 'vp_opts' - vp options.
1066
  */
1067
  private static function each_item( $args ) {
1068
+ global $post;
1069
+
1070
  // prepare image.
1071
  $args['image'] = Visual_Portfolio_Images::get_attachment_image( $args['image_id'], $args['img_size'] );
1072
 
1084
  $args['published_human_format'] = $args['published'];
1085
  }
1086
 
1087
+ // prepare read more button.
1088
+ if ( isset( $args['opts']['show_read_more'] ) && $args['opts']['show_read_more'] ) {
1089
+ if ( 'more_tag' === $args['opts']['show_read_more'] ) {
1090
+ if ( strpos( $post->post_content, '<!--more-->' ) ) {
1091
+ $args['opts']['read_more_url'] = $args['url'] . '#more-' . get_the_ID();
1092
+ } else {
1093
+ $args['opts']['show_read_more'] = false;
1094
+ }
1095
+ } else {
1096
+ $args['opts']['read_more_url'] = $args['url'];
1097
+ }
1098
+ }
1099
+
1100
  // add video format args.
1101
  $oembed = false;
1102
  if ( 'video' === $args['format'] && $args['video'] ) {
1132
  $img_meta = wp_get_attachment_image_src( $args['image_id'], $args['img_size_popup'] );
1133
  $img_md_meta = wp_get_attachment_image_src( $args['image_id'], $args['img_size_md_popup'] );
1134
  $popup_image = array(
1135
+ 'title' => $attachment->post_title,
1136
  'description' => $attachment->post_content,
1137
+ 'caption' => wp_get_attachment_caption( $attachment->ID ),
1138
+ 'alt' => get_post_meta( $attachment->ID, '_wp_attachment_image_alt', true ),
1139
+ 'url' => $img_meta[0],
1140
+ 'width' => $img_meta[1],
1141
+ 'height' => $img_meta[2],
1142
+ 'md_url' => $img_md_meta[0],
1143
+ 'md_width' => $img_md_meta[1],
1144
+ 'md_height' => $img_md_meta[2],
1145
  );
1146
  }
1147
  }
1161
  <div class="vp-portfolio__item-wrap" data-vp-filter="<?php echo esc_attr( $args['filter'] ); ?>">
1162
  <?php
1163
  if ( $popup_image ) {
1164
+ $title_source = Visual_Portfolio_Settings::get_option( 'caption_title', 'vp_popup_gallery', 'title' );
1165
+ $description_source = Visual_Portfolio_Settings::get_option( 'caption_description', 'vp_popup_gallery', 'description' );
1166
+
1167
  ?>
1168
  <div class="vp-portfolio__item-popup"
1169
+ style="display: none;"
1170
+ data-vp-popup-img="<?php echo esc_url( $popup_image['url'] ); ?>"
1171
+ data-vp-popup-img-size="<?php echo esc_attr( $popup_image['width'] . 'x' . $popup_image['height'] ); ?>"
1172
+ data-vp-popup-md-img="<?php echo esc_url( $popup_image['md_url'] ); ?>"
1173
+ data-vp-popup-md-img-size="<?php echo esc_attr( $popup_image['md_width'] . 'x' . $popup_image['md_height'] ); ?>"
1174
  >
1175
+ <?php
1176
+ if ( isset( $popup_image[ $title_source ] ) && $popup_image[ $title_source ] ) {
1177
+ ?>
1178
+ <h3><?php echo esc_html( $popup_image[ $title_source ] ); ?></h3>
1179
+ <?php
1180
+ }
1181
+ if ( isset( $popup_image[ $description_source ] ) && $popup_image[ $description_source ] ) {
1182
+ ?>
1183
+ <div><?php echo wp_kses_post( $popup_image[ $description_source ] ); ?></div>
1184
+ <?php
1185
+ }
1186
+ ?>
1187
  </div>
1188
  <?php
1189
  } else if ( $popup_video ) {
1190
  ?>
1191
  <div class="vp-portfolio__item-popup"
1192
+ style="display: none;"
1193
+ data-vp-popup-video="<?php echo esc_attr( $popup_video['html'] ); ?>"
1194
+ data-vp-popup-video-size="<?php echo esc_attr( $popup_video['width'] . 'x' . $popup_video['height'] ); ?>"
1195
  ></div>
1196
  <?php
1197
  }
1418
  return $slug;
1419
  }
1420
 
1421
+ /**
1422
+ * Array with all used layout IDs
1423
+ *
1424
+ * @var array
1425
+ */
1426
+ static private $all_used_layout_ids = array();
1427
+
1428
+ /**
1429
+ * Get list with all used portfolios on the current page.
1430
+ *
1431
+ * @return array
1432
+ */
1433
+ public static function get_all_currently_used_ids() {
1434
+ return self::$all_used_layout_ids;
1435
+ }
1436
+
1437
  /**
1438
  * Extract specific HTML tags and their attributes from a string.
1439
  *
classes/class-images.php CHANGED
@@ -191,6 +191,12 @@ class Visual_Portfolio_Images {
191
  // The right Image Placeholder.
192
  $metadata = get_post_meta( $attachment_id, '_wp_attachment_metadata', true );
193
 
 
 
 
 
 
 
194
  if ( isset( $metadata['sizes'][ $size ]['placeholder'] ) ) {
195
  $placeholder = $metadata['sizes'][ $size ]['placeholder'];
196
  } elseif ( isset( $metadata['placeholder'] ) ) {
191
  // The right Image Placeholder.
192
  $metadata = get_post_meta( $attachment_id, '_wp_attachment_metadata', true );
193
 
194
+ // generate new placeholder.
195
+ if ( ! isset( $metadata['placeholder'] ) ) {
196
+ $metadata = self::generate_attachment_placeholder( $metadata );
197
+ update_post_meta( $attachment_id, '_wp_attachment_metadata', $metadata );
198
+ }
199
+
200
  if ( isset( $metadata['sizes'][ $size ]['placeholder'] ) ) {
201
  $placeholder = $metadata['sizes'][ $size ]['placeholder'];
202
  } elseif ( isset( $metadata['placeholder'] ) ) {
classes/class-settings.php CHANGED
@@ -122,10 +122,17 @@ class Visual_Portfolio_Settings {
122
  'type' => 'text',
123
  'default' => 'portfolio',
124
  ),
 
 
 
 
 
 
 
125
  array(
126
  'name' => 'no_image',
127
  'label' => esc_html__( 'No image', 'visual-portfolio' ),
128
- 'desc' => esc_html__( 'This image used if featured image of post is not specified.', 'visual-portfolio' ),
129
  'type' => 'image',
130
  'default' => '',
131
  'options' => array(
@@ -141,13 +148,41 @@ class Visual_Portfolio_Settings {
141
  'type' => 'checkbox',
142
  'default' => 'on',
143
  ),
 
144
  array(
145
  'name' => 'show_caption',
146
  'label' => esc_html__( 'Show caption', 'visual-portfolio' ),
147
- 'desc' => esc_html__( 'Below images will be showed caption with Title and Description.', 'visual-portfolio' ),
148
  'type' => 'checkbox',
149
  'default' => 'on',
150
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
151
  array(
152
  'name' => 'show_counter',
153
  'label' => esc_html__( 'Show images counter', 'visual-portfolio' ),
122
  'type' => 'text',
123
  'default' => 'portfolio',
124
  ),
125
+ array(
126
+ 'name' => 'filter_taxonomies',
127
+ 'label' => esc_html__( 'Filter Taxonomies', 'visual-portfolio' ),
128
+ 'desc' => esc_html__( 'You can show custom taxonomies in the portfolio Filter. Enter some taxonomies by "," separating values. Example: "product_cat,product_tag"', 'visual-portfolio' ),
129
+ 'type' => 'text',
130
+ 'default' => '',
131
+ ),
132
  array(
133
  'name' => 'no_image',
134
  'label' => esc_html__( 'No image', 'visual-portfolio' ),
135
+ 'desc' => esc_html__( 'This image used if the featured image of a post is not specified.', 'visual-portfolio' ),
136
  'type' => 'image',
137
  'default' => '',
138
  'options' => array(
148
  'type' => 'checkbox',
149
  'default' => 'on',
150
  ),
151
+
152
  array(
153
  'name' => 'show_caption',
154
  'label' => esc_html__( 'Show caption', 'visual-portfolio' ),
155
+ 'desc' => esc_html__( 'Below images will be showed caption.', 'visual-portfolio' ),
156
  'type' => 'checkbox',
157
  'default' => 'on',
158
  ),
159
+ array(
160
+ 'name' => 'caption_title',
161
+ 'desc' => esc_html__( 'Caption Title', 'visual-portfolio' ),
162
+ 'type' => 'select',
163
+ 'default' => 'title',
164
+ 'options' => array(
165
+ 'none' => esc_html__( 'None', 'visual-portfolio' ),
166
+ 'title' => esc_html__( 'Image Title', 'visual-portfolio' ),
167
+ 'caption' => esc_html__( 'Image Caption', 'visual-portfolio' ),
168
+ 'alt' => esc_html__( 'Image Alt', 'visual-portfolio' ),
169
+ 'description' => esc_html__( 'Image Description', 'visual-portfolio' ),
170
+ ),
171
+ ),
172
+ array(
173
+ 'name' => 'caption_description',
174
+ 'desc' => esc_html__( 'Caption Description', 'visual-portfolio' ),
175
+ 'type' => 'select',
176
+ 'default' => 'description',
177
+ 'options' => array(
178
+ 'none' => esc_html__( 'None', 'visual-portfolio' ),
179
+ 'title' => esc_html__( 'Image Title', 'visual-portfolio' ),
180
+ 'caption' => esc_html__( 'Image Caption', 'visual-portfolio' ),
181
+ 'alt' => esc_html__( 'Image Alt', 'visual-portfolio' ),
182
+ 'description' => esc_html__( 'Image Description', 'visual-portfolio' ),
183
+ ),
184
+ ),
185
+
186
  array(
187
  'name' => 'show_counter',
188
  'label' => esc_html__( 'Show images counter', 'visual-portfolio' ),
languages/visual-portfolio.pot CHANGED
@@ -33,609 +33,625 @@ msgstr ""
33
 
34
  #. translators: %d: error count
35
  #. translators: %d: error count
36
- #: dist/visual-portfolio/classes/class-admin.php:88, dist/visual-portfolio/classes/class-admin.php:90
37
  msgid "There is %d error which must be fixed before you can save."
38
  msgid_plural "There are %d errors which must be fixed before you can save."
39
  msgstr[0] ""
40
  msgstr[1] ""
41
 
42
- #: dist/visual-portfolio/classes/class-admin.php:92
43
  msgid "Update anyway, even though it might break your site?"
44
  msgstr ""
45
 
46
- #: dist/visual-portfolio/classes/class-admin.php:206
47
  msgctxt "Post Type General Name"
48
  msgid "Portfolio Items"
49
  msgstr ""
50
 
51
- #: dist/visual-portfolio/classes/class-admin.php:207
52
  msgctxt "Post Type Singular Name"
53
  msgid "Portfolio Item"
54
  msgstr ""
55
 
56
- #: dist/visual-portfolio/classes/class-admin.php:208, dist/visual-portfolio/classes/class-admin.php:304, dist/visual-portfolio/classes/class-vc.php:65
57
  msgid "Visual Portfolio"
58
  msgstr ""
59
 
60
- #: dist/visual-portfolio/classes/class-admin.php:209, dist/visual-portfolio/classes/class-admin.php:305
61
  msgid "Parent Portfolio Item"
62
  msgstr ""
63
 
64
- #: dist/visual-portfolio/classes/class-admin.php:210
65
  msgid "Portfolio Items"
66
  msgstr ""
67
 
68
- #: dist/visual-portfolio/classes/class-admin.php:211
69
  msgid "View Portfolio Item"
70
  msgstr ""
71
 
72
- #: dist/visual-portfolio/classes/class-admin.php:212
73
  msgid "Add New Portfolio Item"
74
  msgstr ""
75
 
76
- #: dist/visual-portfolio/classes/class-admin.php:213, dist/visual-portfolio/classes/class-admin.php:309
77
  msgid "Add New"
78
  msgstr ""
79
 
80
- #: dist/visual-portfolio/classes/class-admin.php:214
81
  msgid "Edit Portfolio Item"
82
  msgstr ""
83
 
84
- #: dist/visual-portfolio/classes/class-admin.php:215
85
  msgid "Update Portfolio Item"
86
  msgstr ""
87
 
88
- #: dist/visual-portfolio/classes/class-admin.php:216
89
  msgid "Search Portfolio Item"
90
  msgstr ""
91
 
92
- #: dist/visual-portfolio/classes/class-admin.php:217, dist/visual-portfolio/classes/class-admin.php:313
93
  msgid "Not Found"
94
  msgstr ""
95
 
96
- #: dist/visual-portfolio/classes/class-admin.php:218, dist/visual-portfolio/classes/class-admin.php:314
97
  msgid "Not found in Trash"
98
  msgstr ""
99
 
100
- #: dist/visual-portfolio/classes/class-admin.php:266
101
  msgid "Portfolio Categories"
102
  msgstr ""
103
 
104
- #: dist/visual-portfolio/classes/class-admin.php:268, dist/visual-portfolio/classes/class-controls.php:590
105
  msgid "Categories"
106
  msgstr ""
107
 
108
- #: dist/visual-portfolio/classes/class-admin.php:282
109
  msgid "Portfolio Tags"
110
  msgstr ""
111
 
112
- #: dist/visual-portfolio/classes/class-admin.php:284
113
  msgid "Tags"
114
  msgstr ""
115
 
116
- #: dist/visual-portfolio/classes/class-admin.php:302
117
  msgctxt "Post Type General Name"
118
  msgid "Portfolio Layouts"
119
  msgstr ""
120
 
121
- #: dist/visual-portfolio/classes/class-admin.php:303
122
  msgctxt "Post Type Singular Name"
123
  msgid "Portfolio Layout"
124
  msgstr ""
125
 
126
- #: dist/visual-portfolio/classes/class-admin.php:306
127
  msgid "Portfolio Layouts"
128
  msgstr ""
129
 
130
- #: dist/visual-portfolio/classes/class-admin.php:307
131
  msgid "View Portfolio Layout"
132
  msgstr ""
133
 
134
- #: dist/visual-portfolio/classes/class-admin.php:308
135
  msgid "Add New Portfolio Layout"
136
  msgstr ""
137
 
138
- #: dist/visual-portfolio/classes/class-admin.php:310
139
  msgid "Edit Portfolio Layout"
140
  msgstr ""
141
 
142
- #: dist/visual-portfolio/classes/class-admin.php:311
143
  msgid "Update Portfolio Layout"
144
  msgstr ""
145
 
146
- #: dist/visual-portfolio/classes/class-admin.php:312
147
  msgid "Search Portfolio Layout"
148
  msgstr ""
149
 
150
- #: dist/visual-portfolio/classes/class-admin.php:367, dist/visual-portfolio/classes/class-controls.php:602
151
  msgid "Video"
152
  msgstr ""
153
 
154
- #: dist/visual-portfolio/classes/class-admin.php:407
155
  msgid "https://"
156
  msgstr ""
157
 
158
- #: dist/visual-portfolio/classes/class-admin.php:506
159
  msgid "Ready to add your awesome portfolio?"
160
  msgstr ""
161
 
162
- #: dist/visual-portfolio/classes/class-admin.php:507
163
  msgid "Create your first portfolio list!"
164
  msgstr ""
165
 
166
- #: dist/visual-portfolio/classes/class-admin.php:546
167
  msgid "Thumbnail"
168
  msgstr ""
169
 
170
- #: dist/visual-portfolio/classes/class-admin.php:589, dist/visual-portfolio/classes/class-admin.php:2277
171
  msgid "Shortcode"
172
  msgstr ""
173
 
174
- #: dist/visual-portfolio/classes/class-admin.php:645
175
  msgid "Tiles"
176
  msgstr ""
177
 
178
- #: dist/visual-portfolio/classes/class-admin.php:660, dist/visual-portfolio/classes/class-admin.php:1606
179
  msgid "Type"
180
  msgstr ""
181
 
182
- #: dist/visual-portfolio/classes/class-admin.php:661
183
  msgid "Select tiles type"
184
  msgstr ""
185
 
186
- #: dist/visual-portfolio/classes/class-admin.php:780
187
  msgid "Masonry"
188
  msgstr ""
189
 
190
- #: dist/visual-portfolio/classes/class-admin.php:784
191
  msgid "Columns"
192
  msgstr ""
193
 
194
- #: dist/visual-portfolio/classes/class-admin.php:795
195
  msgid "Justified"
196
  msgstr ""
197
 
198
- #: dist/visual-portfolio/classes/class-admin.php:799
199
  msgid "Row height"
200
  msgstr ""
201
 
202
- #: dist/visual-portfolio/classes/class-admin.php:807
203
  msgid "Row height tolerance"
204
  msgstr ""
205
 
206
- #: dist/visual-portfolio/classes/class-admin.php:819
207
  msgid "Slider"
208
  msgstr ""
209
 
210
- #: dist/visual-portfolio/classes/class-admin.php:823
211
  msgid "Effect"
212
  msgstr ""
213
 
214
- #: dist/visual-portfolio/classes/class-admin.php:827
215
  msgid "Slide"
216
  msgstr ""
217
 
218
- #: dist/visual-portfolio/classes/class-admin.php:828
219
  msgid "Coverflow"
220
  msgstr ""
221
 
222
- #: dist/visual-portfolio/classes/class-admin.php:829, dist/visual-portfolio/classes/class-admin.php:1187
223
  msgid "Fade"
224
  msgstr ""
225
 
226
- #: dist/visual-portfolio/classes/class-admin.php:834
227
  msgid "Speed (seconds)"
228
  msgstr ""
229
 
230
- #: dist/visual-portfolio/classes/class-admin.php:843
231
  msgid "Autoplay (seconds)"
232
  msgstr ""
233
 
234
- #: dist/visual-portfolio/classes/class-admin.php:852
235
  msgid "Items height"
236
  msgstr ""
237
 
238
- #: dist/visual-portfolio/classes/class-admin.php:856, dist/visual-portfolio/classes/class-admin.php:895
239
  msgid "Auto"
240
  msgstr ""
241
 
242
- #: dist/visual-portfolio/classes/class-admin.php:857
243
  msgid "Static (px)"
244
  msgstr ""
245
 
246
- #: dist/visual-portfolio/classes/class-admin.php:858
247
  msgid "Dynamic (%)"
248
  msgstr ""
249
 
250
- #: dist/visual-portfolio/classes/class-admin.php:891
251
  msgid "Slides per view"
252
  msgstr ""
253
 
254
- #: dist/visual-portfolio/classes/class-admin.php:896
255
  msgid "Custom"
256
  msgstr ""
257
 
258
- #: dist/visual-portfolio/classes/class-admin.php:927
259
  msgid "Centered slides"
260
  msgstr ""
261
 
262
- #: dist/visual-portfolio/classes/class-admin.php:940
263
  msgid "Loop"
264
  msgstr ""
265
 
266
- #: dist/visual-portfolio/classes/class-admin.php:946
267
  msgid "Free scroll"
268
  msgstr ""
269
 
270
- #: dist/visual-portfolio/classes/class-admin.php:952, dist/visual-portfolio/classes/class-admin.php:1852, dist/visual-portfolio/classes/class-settings.php:139
271
  msgid "Show arrows"
272
  msgstr ""
273
 
274
- #: dist/visual-portfolio/classes/class-admin.php:960, dist/visual-portfolio/classes/class-admin.php:961, dist/visual-portfolio/classes/class-admin.php:1874, dist/visual-portfolio/classes/class-admin.php:1875
275
  msgid "Prev arrow icon"
276
  msgstr ""
277
 
278
- #: dist/visual-portfolio/classes/class-admin.php:973, dist/visual-portfolio/classes/class-admin.php:974, dist/visual-portfolio/classes/class-admin.php:1899, dist/visual-portfolio/classes/class-admin.php:1900
279
  msgid "Next arrow icon"
280
  msgstr ""
281
 
282
- #: dist/visual-portfolio/classes/class-admin.php:984
283
  msgid "Show bullets"
284
  msgstr ""
285
 
286
- #: dist/visual-portfolio/classes/class-admin.php:990
287
  msgid "Dynamic bullets"
288
  msgstr ""
289
 
290
- #: dist/visual-portfolio/classes/class-admin.php:1053
291
  msgid "Gap"
292
  msgstr ""
293
 
294
- #: dist/visual-portfolio/classes/class-admin.php:1065
295
  msgid "Items per page"
296
  msgstr ""
297
 
298
- #: dist/visual-portfolio/classes/class-admin.php:1077
299
  msgid "Stretch"
300
  msgstr ""
301
 
302
- #: dist/visual-portfolio/classes/class-admin.php:1080
303
  msgid "Break container and display it wide"
304
  msgstr ""
305
 
306
- #: dist/visual-portfolio/classes/class-admin.php:1091, dist/visual-portfolio/classes/class-admin.php:1435, dist/visual-portfolio/classes/class-admin.php:1552
307
  msgid "Default"
308
  msgstr ""
309
 
310
- #: dist/visual-portfolio/classes/class-admin.php:1105
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
311
  msgid "Fly"
312
  msgstr ""
313
 
314
- #: dist/visual-portfolio/classes/class-admin.php:1117, dist/visual-portfolio/classes/class-admin.php:1158, dist/visual-portfolio/classes/class-admin.php:1199
315
  msgid "Overlay background color"
316
  msgstr ""
317
 
318
- #: dist/visual-portfolio/classes/class-admin.php:1130, dist/visual-portfolio/classes/class-admin.php:1171, dist/visual-portfolio/classes/class-admin.php:1212
319
  msgid "Overlay text color"
320
  msgstr ""
321
 
322
- #: dist/visual-portfolio/classes/class-admin.php:1146
323
  msgid "Emerge"
324
  msgstr ""
325
 
326
- #: dist/visual-portfolio/classes/class-admin.php:1254
327
  msgid "Show title"
328
  msgstr ""
329
 
330
- #: dist/visual-portfolio/classes/class-admin.php:1262
331
  msgid "Show categories"
332
  msgstr ""
333
 
334
- #: dist/visual-portfolio/classes/class-admin.php:1268
335
  msgid "Categories count"
336
  msgstr ""
337
 
338
- #: dist/visual-portfolio/classes/class-admin.php:1283
339
  msgid "Show date"
340
  msgstr ""
341
 
342
- #: dist/visual-portfolio/classes/class-admin.php:1287
343
- msgid "False"
344
- msgstr ""
345
-
346
- #: dist/visual-portfolio/classes/class-admin.php:1288
347
  msgid "Show"
348
  msgstr ""
349
 
350
- #: dist/visual-portfolio/classes/class-admin.php:1289
351
  msgid "Human Format"
352
  msgstr ""
353
 
354
- #: dist/visual-portfolio/classes/class-admin.php:1297
355
  msgid ""
356
  "Date format
357
  " Example: F j, Y"
358
  msgstr ""
359
 
360
- #: dist/visual-portfolio/classes/class-admin.php:1309
361
  msgid "Show excerpt"
362
  msgstr ""
363
 
364
- #: dist/visual-portfolio/classes/class-admin.php:1315
365
  msgid "Excerpt words count"
366
  msgstr ""
367
 
368
- #: dist/visual-portfolio/classes/class-admin.php:1330
369
  msgid "Show icon"
370
  msgstr ""
371
 
372
- #: dist/visual-portfolio/classes/class-admin.php:1338, dist/visual-portfolio/classes/class-admin.php:1339
373
  msgid "Standard icon"
374
  msgstr ""
375
 
376
- #: dist/visual-portfolio/classes/class-admin.php:1351, dist/visual-portfolio/classes/class-admin.php:1352
377
  msgid "Video icon"
378
  msgstr ""
379
 
380
- #: dist/visual-portfolio/classes/class-admin.php:1364
381
  msgid "Caption align"
382
  msgstr ""
383
 
384
- #: dist/visual-portfolio/classes/class-admin.php:1417, dist/visual-portfolio/classes/class-admin.php:1429, dist/visual-portfolio/classes/class-admin.php:1546
385
  msgid "Disabled"
386
  msgstr ""
387
 
388
- #: dist/visual-portfolio/classes/class-admin.php:1418, dist/visual-portfolio/classes/class-controls.php:619
389
  msgid "URL"
390
  msgstr ""
391
 
392
- #: dist/visual-portfolio/classes/class-admin.php:1419, dist/visual-portfolio/classes/class-settings.php:104
393
  msgid "Popup Gallery"
394
  msgstr ""
395
 
396
- #: dist/visual-portfolio/classes/class-admin.php:1490, dist/visual-portfolio/classes/class-admin.php:1648
397
  msgid "Align"
398
  msgstr ""
399
 
400
- #: dist/visual-portfolio/classes/class-admin.php:1494, dist/visual-portfolio/classes/class-admin.php:1652, dist/visual-portfolio/classes/class-controls.php:529, dist/visual-portfolio/classes/class-controls.php:538, dist/visual-portfolio/classes/class-controls.php:542, dist/visual-portfolio/classes/class-controls.php:555
401
  msgid "Center"
402
  msgstr ""
403
 
404
- #: dist/visual-portfolio/classes/class-admin.php:1495, dist/visual-portfolio/classes/class-admin.php:1653, dist/visual-portfolio/classes/class-controls.php:532, dist/visual-portfolio/classes/class-controls.php:545, dist/visual-portfolio/classes/class-controls.php:558
405
  msgid "Left"
406
  msgstr ""
407
 
408
- #: dist/visual-portfolio/classes/class-admin.php:1496, dist/visual-portfolio/classes/class-admin.php:1654, dist/visual-portfolio/classes/class-controls.php:535, dist/visual-portfolio/classes/class-controls.php:548, dist/visual-portfolio/classes/class-controls.php:561
409
  msgid "Right"
410
  msgstr ""
411
 
412
- #: dist/visual-portfolio/classes/class-admin.php:1511
413
  msgid "Show count"
414
  msgstr ""
415
 
416
- #: dist/visual-portfolio/classes/class-admin.php:1527
417
  msgid "All button text"
418
  msgstr ""
419
 
420
- #: dist/visual-portfolio/classes/class-admin.php:1529
421
  msgid "All"
422
  msgstr ""
423
 
424
- #: dist/visual-portfolio/classes/class-admin.php:1611
425
  msgid "Paged"
426
  msgstr ""
427
 
428
- #: dist/visual-portfolio/classes/class-admin.php:1612
429
  msgid "Load More"
430
  msgstr ""
431
 
432
- #: dist/visual-portfolio/classes/class-admin.php:1613
433
  msgid "Infinite"
434
  msgstr ""
435
 
436
- #: dist/visual-portfolio/classes/class-admin.php:1628
437
  msgid "Note: you will see the \"Load More\" pagination in the preview. \"Infinite\" pagination will be visible on the site."
438
  msgstr ""
439
 
440
- #: dist/visual-portfolio/classes/class-admin.php:1674, dist/visual-portfolio/classes/class-admin.php:1694
441
  msgid "Texts"
442
  msgstr ""
443
 
444
- #: dist/visual-portfolio/classes/class-admin.php:1715, dist/visual-portfolio/classes/class-admin.php:1784
445
  msgid "Load more"
446
  msgstr ""
447
 
448
- #: dist/visual-portfolio/classes/class-admin.php:1716, dist/visual-portfolio/classes/class-admin.php:1717, dist/visual-portfolio/classes/class-admin.php:1785, dist/visual-portfolio/classes/class-admin.php:1786
449
  msgid "Load more button label"
450
  msgstr ""
451
 
452
- #: dist/visual-portfolio/classes/class-admin.php:1738, dist/visual-portfolio/classes/class-admin.php:1807
453
  msgid "Loading more..."
454
  msgstr ""
455
 
456
- #: dist/visual-portfolio/classes/class-admin.php:1739, dist/visual-portfolio/classes/class-admin.php:1740, dist/visual-portfolio/classes/class-admin.php:1808, dist/visual-portfolio/classes/class-admin.php:1809
457
  msgid "Loading more button label"
458
  msgstr ""
459
 
460
- #: dist/visual-portfolio/classes/class-admin.php:1761, dist/visual-portfolio/classes/class-admin.php:1830
461
  msgid "You’ve reached the end of the list"
462
  msgstr ""
463
 
464
- #: dist/visual-portfolio/classes/class-admin.php:1762, dist/visual-portfolio/classes/class-admin.php:1763, dist/visual-portfolio/classes/class-admin.php:1831, dist/visual-portfolio/classes/class-admin.php:1832
465
  msgid "End of the list text"
466
  msgstr ""
467
 
468
- #: dist/visual-portfolio/classes/class-admin.php:1922
469
  msgid "Show numbers"
470
  msgstr ""
471
 
472
- #: dist/visual-portfolio/classes/class-admin.php:1986
473
  msgid "Data source"
474
  msgstr ""
475
 
476
- #: dist/visual-portfolio/classes/class-admin.php:1998
477
  msgid "Specific posts"
478
  msgstr ""
479
 
480
- #: dist/visual-portfolio/classes/class-admin.php:2019
481
  msgid "Excluded posts"
482
  msgstr ""
483
 
484
- #: dist/visual-portfolio/classes/class-admin.php:2047
485
  msgid "Custom query"
486
  msgstr ""
487
 
488
  #. translators: %1$s - escaped url.
489
- #: dist/visual-portfolio/classes/class-admin.php:2049
490
  msgid "Build custom query according to <a href=\"%1$s\">WordPress Codex</a>."
491
  msgstr ""
492
 
493
- #: dist/visual-portfolio/classes/class-admin.php:2075
494
  msgid "Taxonomies"
495
  msgstr ""
496
 
497
- #: dist/visual-portfolio/classes/class-admin.php:2102
498
  msgid "Taxonomies relation"
499
  msgstr ""
500
 
501
- #: dist/visual-portfolio/classes/class-admin.php:2106
502
  msgid "OR"
503
  msgstr ""
504
 
505
- #: dist/visual-portfolio/classes/class-admin.php:2107
506
  msgid "AND"
507
  msgstr ""
508
 
509
- #: dist/visual-portfolio/classes/class-admin.php:2128
510
  msgid "Order by"
511
  msgstr ""
512
 
513
- #: dist/visual-portfolio/classes/class-admin.php:2132
514
  msgid "Date"
515
  msgstr ""
516
 
517
- #: dist/visual-portfolio/classes/class-admin.php:2133, dist/visual-portfolio/classes/class-controls.php:580
518
  msgid "Title"
519
  msgstr ""
520
 
521
- #: dist/visual-portfolio/classes/class-admin.php:2134
522
  msgid "ID"
523
  msgstr ""
524
 
525
- #: dist/visual-portfolio/classes/class-admin.php:2135
526
  msgid "Random"
527
  msgstr ""
528
 
529
- #: dist/visual-portfolio/classes/class-admin.php:2144
530
  msgid "Order direction"
531
  msgstr ""
532
 
533
- #: dist/visual-portfolio/classes/class-admin.php:2148
534
  msgid "DESC"
535
  msgstr ""
536
 
537
- #: dist/visual-portfolio/classes/class-admin.php:2149
538
  msgid "ASC"
539
  msgstr ""
540
 
541
- #: dist/visual-portfolio/classes/class-admin.php:2184
542
  msgid "Name & Shortcode"
543
  msgstr ""
544
 
545
- #: dist/visual-portfolio/classes/class-admin.php:2192
546
  msgid "Layout"
547
  msgstr ""
548
 
549
- #: dist/visual-portfolio/classes/class-admin.php:2200
550
  msgid "Items Style"
551
  msgstr ""
552
 
553
- #: dist/visual-portfolio/classes/class-admin.php:2208
554
  msgid "Items Click Action"
555
  msgstr ""
556
 
557
- #: dist/visual-portfolio/classes/class-admin.php:2216
558
  msgid "Filter"
559
  msgstr ""
560
 
561
- #: dist/visual-portfolio/classes/class-admin.php:2224
562
  msgid "Pagination"
563
  msgstr ""
564
 
565
- #: dist/visual-portfolio/classes/class-admin.php:2233
566
  msgid "Preview"
567
  msgstr ""
568
 
569
- #: dist/visual-portfolio/classes/class-admin.php:2241
570
  msgid "Content Source"
571
  msgstr ""
572
 
573
- #: dist/visual-portfolio/classes/class-admin.php:2249
574
  msgid "Custom CSS"
575
  msgstr ""
576
 
577
- #: dist/visual-portfolio/classes/class-admin.php:2268
578
  msgid "Name"
579
  msgstr ""
580
 
581
- #: dist/visual-portfolio/classes/class-admin.php:2278
582
  msgid "Place the shortcode where you want to show the portfolio list."
583
  msgstr ""
584
 
585
- #: dist/visual-portfolio/classes/class-admin.php:2344
586
  msgid "Filter Shortcode"
587
  msgstr ""
588
 
589
- #: dist/visual-portfolio/classes/class-admin.php:2345
590
  msgid "Place the shortcode where you want to show the filter."
591
  msgstr ""
592
 
593
- #: dist/visual-portfolio/classes/class-admin.php:2412
594
  msgid "Portfolio"
595
  msgstr ""
596
 
597
- #: dist/visual-portfolio/classes/class-admin.php:2418
598
  msgid "Post-Based"
599
  msgstr ""
600
 
601
- #: dist/visual-portfolio/classes/class-admin.php:2424
602
  msgid "Images"
603
  msgstr ""
604
 
605
  #. translators: %1$s - escaped url.
606
- #: dist/visual-portfolio/classes/class-admin.php:2443
607
  msgid "Portfolio items list from <a href=\"%1$s\" target=\"_blank\">%2$s</a>"
608
  msgstr ""
609
 
610
- #: dist/visual-portfolio/classes/class-admin.php:2479
611
  msgid "Available classes:"
612
  msgstr ""
613
 
614
- #: dist/visual-portfolio/classes/class-admin.php:2482
615
  msgid " - use this classname for each styles you added. It is the main Visual Portfolio wrapper."
616
  msgstr ""
617
 
618
- #: dist/visual-portfolio/classes/class-admin.php:2483
619
  msgid " - items wrapper."
620
  msgstr ""
621
 
622
- #: dist/visual-portfolio/classes/class-admin.php:2484
623
  msgid " - single item wrapper."
624
  msgstr ""
625
 
626
- #: dist/visual-portfolio/classes/class-admin.php:2485
627
  msgid " - filter wrapper."
628
  msgstr ""
629
 
630
- #: dist/visual-portfolio/classes/class-admin.php:2486
631
  msgid " - pagination wrapper."
632
  msgstr ""
633
 
634
- #: dist/visual-portfolio/classes/class-admin.php:2546
635
  msgid "Specific Posts"
636
  msgstr ""
637
 
638
- #: dist/visual-portfolio/classes/class-admin.php:2547
639
  msgid "Custom Query"
640
  msgstr ""
641
 
@@ -675,12 +691,12 @@ msgstr ""
675
  msgid "Edit"
676
  msgstr ""
677
 
678
- #: dist/visual-portfolio/classes/class-get-portfolio.php:193
679
  msgid "No items found."
680
  msgstr ""
681
 
682
  #. translators: %s - published in human format.
683
- #: dist/visual-portfolio/classes/class-get-portfolio.php:1046
684
  msgid "%s ago"
685
  msgstr ""
686
 
@@ -705,54 +721,90 @@ msgid "Portfolio slug"
705
  msgstr ""
706
 
707
  #: dist/visual-portfolio/classes/class-settings.php:127
708
- msgid "No image"
709
  msgstr ""
710
 
711
  #: dist/visual-portfolio/classes/class-settings.php:128
712
- msgid "This image used if featured image of post is not specified."
 
 
 
 
 
 
 
 
713
  msgstr ""
714
 
715
- #: dist/visual-portfolio/classes/class-settings.php:132
716
  msgid "Choose image"
717
  msgstr ""
718
 
719
- #: dist/visual-portfolio/classes/class-settings.php:140
720
  msgid "Arrows to navigate between images."
721
  msgstr ""
722
 
723
- #: dist/visual-portfolio/classes/class-settings.php:146
724
  msgid "Show caption"
725
  msgstr ""
726
 
727
- #: dist/visual-portfolio/classes/class-settings.php:147
728
- msgid "Below images will be showed caption with Title and Description."
 
 
 
 
729
  msgstr ""
730
 
731
- #: dist/visual-portfolio/classes/class-settings.php:153
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
732
  msgid "Show images counter"
733
  msgstr ""
734
 
735
- #: dist/visual-portfolio/classes/class-settings.php:154
736
  msgid "On the top left corner will be showed images counter."
737
  msgstr ""
738
 
739
- #: dist/visual-portfolio/classes/class-settings.php:160
740
  msgid "Show zoom button"
741
  msgstr ""
742
 
743
- #: dist/visual-portfolio/classes/class-settings.php:166
744
  msgid "Show fullscreen button"
745
  msgstr ""
746
 
747
- #: dist/visual-portfolio/classes/class-settings.php:172
748
  msgid "Show share button"
749
  msgstr ""
750
 
751
- #: dist/visual-portfolio/classes/class-settings.php:178
752
  msgid "Show close button"
753
  msgstr ""
754
 
755
- #: dist/visual-portfolio/classes/class-settings.php:195
756
  msgid "Visual Portfolio Settings"
757
  msgstr ""
758
 
33
 
34
  #. translators: %d: error count
35
  #. translators: %d: error count
36
+ #: dist/visual-portfolio/classes/class-admin.php:91, dist/visual-portfolio/classes/class-admin.php:93
37
  msgid "There is %d error which must be fixed before you can save."
38
  msgid_plural "There are %d errors which must be fixed before you can save."
39
  msgstr[0] ""
40
  msgstr[1] ""
41
 
42
+ #: dist/visual-portfolio/classes/class-admin.php:95
43
  msgid "Update anyway, even though it might break your site?"
44
  msgstr ""
45
 
46
+ #: dist/visual-portfolio/classes/class-admin.php:209
47
  msgctxt "Post Type General Name"
48
  msgid "Portfolio Items"
49
  msgstr ""
50
 
51
+ #: dist/visual-portfolio/classes/class-admin.php:210
52
  msgctxt "Post Type Singular Name"
53
  msgid "Portfolio Item"
54
  msgstr ""
55
 
56
+ #: dist/visual-portfolio/classes/class-admin.php:211, dist/visual-portfolio/classes/class-admin.php:307, dist/visual-portfolio/classes/class-admin.php:632, dist/visual-portfolio/classes/class-vc.php:65
57
  msgid "Visual Portfolio"
58
  msgstr ""
59
 
60
+ #: dist/visual-portfolio/classes/class-admin.php:212, dist/visual-portfolio/classes/class-admin.php:308
61
  msgid "Parent Portfolio Item"
62
  msgstr ""
63
 
64
+ #: dist/visual-portfolio/classes/class-admin.php:213
65
  msgid "Portfolio Items"
66
  msgstr ""
67
 
68
+ #: dist/visual-portfolio/classes/class-admin.php:214
69
  msgid "View Portfolio Item"
70
  msgstr ""
71
 
72
+ #: dist/visual-portfolio/classes/class-admin.php:215
73
  msgid "Add New Portfolio Item"
74
  msgstr ""
75
 
76
+ #: dist/visual-portfolio/classes/class-admin.php:216, dist/visual-portfolio/classes/class-admin.php:312
77
  msgid "Add New"
78
  msgstr ""
79
 
80
+ #: dist/visual-portfolio/classes/class-admin.php:217
81
  msgid "Edit Portfolio Item"
82
  msgstr ""
83
 
84
+ #: dist/visual-portfolio/classes/class-admin.php:218
85
  msgid "Update Portfolio Item"
86
  msgstr ""
87
 
88
+ #: dist/visual-portfolio/classes/class-admin.php:219
89
  msgid "Search Portfolio Item"
90
  msgstr ""
91
 
92
+ #: dist/visual-portfolio/classes/class-admin.php:220, dist/visual-portfolio/classes/class-admin.php:316
93
  msgid "Not Found"
94
  msgstr ""
95
 
96
+ #: dist/visual-portfolio/classes/class-admin.php:221, dist/visual-portfolio/classes/class-admin.php:317
97
  msgid "Not found in Trash"
98
  msgstr ""
99
 
100
+ #: dist/visual-portfolio/classes/class-admin.php:269
101
  msgid "Portfolio Categories"
102
  msgstr ""
103
 
104
+ #: dist/visual-portfolio/classes/class-admin.php:271, dist/visual-portfolio/classes/class-controls.php:590
105
  msgid "Categories"
106
  msgstr ""
107
 
108
+ #: dist/visual-portfolio/classes/class-admin.php:285
109
  msgid "Portfolio Tags"
110
  msgstr ""
111
 
112
+ #: dist/visual-portfolio/classes/class-admin.php:287
113
  msgid "Tags"
114
  msgstr ""
115
 
116
+ #: dist/visual-portfolio/classes/class-admin.php:305
117
  msgctxt "Post Type General Name"
118
  msgid "Portfolio Layouts"
119
  msgstr ""
120
 
121
+ #: dist/visual-portfolio/classes/class-admin.php:306
122
  msgctxt "Post Type Singular Name"
123
  msgid "Portfolio Layout"
124
  msgstr ""
125
 
126
+ #: dist/visual-portfolio/classes/class-admin.php:309
127
  msgid "Portfolio Layouts"
128
  msgstr ""
129
 
130
+ #: dist/visual-portfolio/classes/class-admin.php:310
131
  msgid "View Portfolio Layout"
132
  msgstr ""
133
 
134
+ #: dist/visual-portfolio/classes/class-admin.php:311
135
  msgid "Add New Portfolio Layout"
136
  msgstr ""
137
 
138
+ #: dist/visual-portfolio/classes/class-admin.php:313
139
  msgid "Edit Portfolio Layout"
140
  msgstr ""
141
 
142
+ #: dist/visual-portfolio/classes/class-admin.php:314
143
  msgid "Update Portfolio Layout"
144
  msgstr ""
145
 
146
+ #: dist/visual-portfolio/classes/class-admin.php:315
147
  msgid "Search Portfolio Layout"
148
  msgstr ""
149
 
150
+ #: dist/visual-portfolio/classes/class-admin.php:370, dist/visual-portfolio/classes/class-controls.php:602
151
  msgid "Video"
152
  msgstr ""
153
 
154
+ #: dist/visual-portfolio/classes/class-admin.php:410
155
  msgid "https://"
156
  msgstr ""
157
 
158
+ #: dist/visual-portfolio/classes/class-admin.php:509
159
  msgid "Ready to add your awesome portfolio?"
160
  msgstr ""
161
 
162
+ #: dist/visual-portfolio/classes/class-admin.php:510
163
  msgid "Create your first portfolio list!"
164
  msgstr ""
165
 
166
+ #: dist/visual-portfolio/classes/class-admin.php:549
167
  msgid "Thumbnail"
168
  msgstr ""
169
 
170
+ #: dist/visual-portfolio/classes/class-admin.php:592, dist/visual-portfolio/classes/class-admin.php:2352
171
  msgid "Shortcode"
172
  msgstr ""
173
 
174
+ #: dist/visual-portfolio/classes/class-admin.php:693
175
  msgid "Tiles"
176
  msgstr ""
177
 
178
+ #: dist/visual-portfolio/classes/class-admin.php:708, dist/visual-portfolio/classes/class-admin.php:1681
179
  msgid "Type"
180
  msgstr ""
181
 
182
+ #: dist/visual-portfolio/classes/class-admin.php:709
183
  msgid "Select tiles type"
184
  msgstr ""
185
 
186
+ #: dist/visual-portfolio/classes/class-admin.php:828
187
  msgid "Masonry"
188
  msgstr ""
189
 
190
+ #: dist/visual-portfolio/classes/class-admin.php:832
191
  msgid "Columns"
192
  msgstr ""
193
 
194
+ #: dist/visual-portfolio/classes/class-admin.php:843
195
  msgid "Justified"
196
  msgstr ""
197
 
198
+ #: dist/visual-portfolio/classes/class-admin.php:847
199
  msgid "Row height"
200
  msgstr ""
201
 
202
+ #: dist/visual-portfolio/classes/class-admin.php:855
203
  msgid "Row height tolerance"
204
  msgstr ""
205
 
206
+ #: dist/visual-portfolio/classes/class-admin.php:867
207
  msgid "Slider"
208
  msgstr ""
209
 
210
+ #: dist/visual-portfolio/classes/class-admin.php:871
211
  msgid "Effect"
212
  msgstr ""
213
 
214
+ #: dist/visual-portfolio/classes/class-admin.php:875
215
  msgid "Slide"
216
  msgstr ""
217
 
218
+ #: dist/visual-portfolio/classes/class-admin.php:876
219
  msgid "Coverflow"
220
  msgstr ""
221
 
222
+ #: dist/visual-portfolio/classes/class-admin.php:877, dist/visual-portfolio/classes/class-admin.php:1262
223
  msgid "Fade"
224
  msgstr ""
225
 
226
+ #: dist/visual-portfolio/classes/class-admin.php:882
227
  msgid "Speed (seconds)"
228
  msgstr ""
229
 
230
+ #: dist/visual-portfolio/classes/class-admin.php:891
231
  msgid "Autoplay (seconds)"
232
  msgstr ""
233
 
234
+ #: dist/visual-portfolio/classes/class-admin.php:900
235
  msgid "Items height"
236
  msgstr ""
237
 
238
+ #: dist/visual-portfolio/classes/class-admin.php:904, dist/visual-portfolio/classes/class-admin.php:943
239
  msgid "Auto"
240
  msgstr ""
241
 
242
+ #: dist/visual-portfolio/classes/class-admin.php:905
243
  msgid "Static (px)"
244
  msgstr ""
245
 
246
+ #: dist/visual-portfolio/classes/class-admin.php:906
247
  msgid "Dynamic (%)"
248
  msgstr ""
249
 
250
+ #: dist/visual-portfolio/classes/class-admin.php:939
251
  msgid "Slides per view"
252
  msgstr ""
253
 
254
+ #: dist/visual-portfolio/classes/class-admin.php:944
255
  msgid "Custom"
256
  msgstr ""
257
 
258
+ #: dist/visual-portfolio/classes/class-admin.php:975
259
  msgid "Centered slides"
260
  msgstr ""
261
 
262
+ #: dist/visual-portfolio/classes/class-admin.php:988
263
  msgid "Loop"
264
  msgstr ""
265
 
266
+ #: dist/visual-portfolio/classes/class-admin.php:994
267
  msgid "Free scroll"
268
  msgstr ""
269
 
270
+ #: dist/visual-portfolio/classes/class-admin.php:1000, dist/visual-portfolio/classes/class-admin.php:1927, dist/visual-portfolio/classes/class-settings.php:146
271
  msgid "Show arrows"
272
  msgstr ""
273
 
274
+ #: dist/visual-portfolio/classes/class-admin.php:1008, dist/visual-portfolio/classes/class-admin.php:1009, dist/visual-portfolio/classes/class-admin.php:1949, dist/visual-portfolio/classes/class-admin.php:1950
275
  msgid "Prev arrow icon"
276
  msgstr ""
277
 
278
+ #: dist/visual-portfolio/classes/class-admin.php:1021, dist/visual-portfolio/classes/class-admin.php:1022, dist/visual-portfolio/classes/class-admin.php:1974, dist/visual-portfolio/classes/class-admin.php:1975
279
  msgid "Next arrow icon"
280
  msgstr ""
281
 
282
+ #: dist/visual-portfolio/classes/class-admin.php:1032
283
  msgid "Show bullets"
284
  msgstr ""
285
 
286
+ #: dist/visual-portfolio/classes/class-admin.php:1038
287
  msgid "Dynamic bullets"
288
  msgstr ""
289
 
290
+ #: dist/visual-portfolio/classes/class-admin.php:1101
291
  msgid "Gap"
292
  msgstr ""
293
 
294
+ #: dist/visual-portfolio/classes/class-admin.php:1113
295
  msgid "Items per page"
296
  msgstr ""
297
 
298
+ #: dist/visual-portfolio/classes/class-admin.php:1125
299
  msgid "Stretch"
300
  msgstr ""
301
 
302
+ #: dist/visual-portfolio/classes/class-admin.php:1128
303
  msgid "Break container and display it wide"
304
  msgstr ""
305
 
306
+ #: dist/visual-portfolio/classes/class-admin.php:1139, dist/visual-portfolio/classes/class-admin.php:1510, dist/visual-portfolio/classes/class-admin.php:1627
307
  msgid "Default"
308
  msgstr ""
309
 
310
+ #: dist/visual-portfolio/classes/class-admin.php:1151
311
+ msgid "Show Read more button"
312
+ msgstr ""
313
+
314
+ #: dist/visual-portfolio/classes/class-admin.php:1155, dist/visual-portfolio/classes/class-admin.php:1362
315
+ msgid "False"
316
+ msgstr ""
317
+
318
+ #: dist/visual-portfolio/classes/class-admin.php:1156
319
+ msgid "Always show"
320
+ msgstr ""
321
+
322
+ #: dist/visual-portfolio/classes/class-admin.php:1157
323
+ msgid "Show when used \"More tag\" in the post"
324
+ msgstr ""
325
+
326
+ #: dist/visual-portfolio/classes/class-admin.php:1165
327
+ msgid "Read more button label"
328
+ msgstr ""
329
+
330
+ #: dist/visual-portfolio/classes/class-admin.php:1180
331
  msgid "Fly"
332
  msgstr ""
333
 
334
+ #: dist/visual-portfolio/classes/class-admin.php:1192, dist/visual-portfolio/classes/class-admin.php:1233, dist/visual-portfolio/classes/class-admin.php:1274
335
  msgid "Overlay background color"
336
  msgstr ""
337
 
338
+ #: dist/visual-portfolio/classes/class-admin.php:1205, dist/visual-portfolio/classes/class-admin.php:1246, dist/visual-portfolio/classes/class-admin.php:1287
339
  msgid "Overlay text color"
340
  msgstr ""
341
 
342
+ #: dist/visual-portfolio/classes/class-admin.php:1221
343
  msgid "Emerge"
344
  msgstr ""
345
 
346
+ #: dist/visual-portfolio/classes/class-admin.php:1329
347
  msgid "Show title"
348
  msgstr ""
349
 
350
+ #: dist/visual-portfolio/classes/class-admin.php:1337
351
  msgid "Show categories"
352
  msgstr ""
353
 
354
+ #: dist/visual-portfolio/classes/class-admin.php:1343
355
  msgid "Categories count"
356
  msgstr ""
357
 
358
+ #: dist/visual-portfolio/classes/class-admin.php:1358
359
  msgid "Show date"
360
  msgstr ""
361
 
362
+ #: dist/visual-portfolio/classes/class-admin.php:1363
 
 
 
 
363
  msgid "Show"
364
  msgstr ""
365
 
366
+ #: dist/visual-portfolio/classes/class-admin.php:1364
367
  msgid "Human Format"
368
  msgstr ""
369
 
370
+ #: dist/visual-portfolio/classes/class-admin.php:1372
371
  msgid ""
372
  "Date format
373
  " Example: F j, Y"
374
  msgstr ""
375
 
376
+ #: dist/visual-portfolio/classes/class-admin.php:1384
377
  msgid "Show excerpt"
378
  msgstr ""
379
 
380
+ #: dist/visual-portfolio/classes/class-admin.php:1390
381
  msgid "Excerpt words count"
382
  msgstr ""
383
 
384
+ #: dist/visual-portfolio/classes/class-admin.php:1405
385
  msgid "Show icon"
386
  msgstr ""
387
 
388
+ #: dist/visual-portfolio/classes/class-admin.php:1413, dist/visual-portfolio/classes/class-admin.php:1414
389
  msgid "Standard icon"
390
  msgstr ""
391
 
392
+ #: dist/visual-portfolio/classes/class-admin.php:1426, dist/visual-portfolio/classes/class-admin.php:1427
393
  msgid "Video icon"
394
  msgstr ""
395
 
396
+ #: dist/visual-portfolio/classes/class-admin.php:1439
397
  msgid "Caption align"
398
  msgstr ""
399
 
400
+ #: dist/visual-portfolio/classes/class-admin.php:1492, dist/visual-portfolio/classes/class-admin.php:1504, dist/visual-portfolio/classes/class-admin.php:1621
401
  msgid "Disabled"
402
  msgstr ""
403
 
404
+ #: dist/visual-portfolio/classes/class-admin.php:1493, dist/visual-portfolio/classes/class-controls.php:619
405
  msgid "URL"
406
  msgstr ""
407
 
408
+ #: dist/visual-portfolio/classes/class-admin.php:1494, dist/visual-portfolio/classes/class-settings.php:104
409
  msgid "Popup Gallery"
410
  msgstr ""
411
 
412
+ #: dist/visual-portfolio/classes/class-admin.php:1565, dist/visual-portfolio/classes/class-admin.php:1723
413
  msgid "Align"
414
  msgstr ""
415
 
416
+ #: dist/visual-portfolio/classes/class-admin.php:1569, dist/visual-portfolio/classes/class-admin.php:1727, dist/visual-portfolio/classes/class-controls.php:529, dist/visual-portfolio/classes/class-controls.php:538, dist/visual-portfolio/classes/class-controls.php:542, dist/visual-portfolio/classes/class-controls.php:555
417
  msgid "Center"
418
  msgstr ""
419
 
420
+ #: dist/visual-portfolio/classes/class-admin.php:1570, dist/visual-portfolio/classes/class-admin.php:1728, dist/visual-portfolio/classes/class-controls.php:532, dist/visual-portfolio/classes/class-controls.php:545, dist/visual-portfolio/classes/class-controls.php:558
421
  msgid "Left"
422
  msgstr ""
423
 
424
+ #: dist/visual-portfolio/classes/class-admin.php:1571, dist/visual-portfolio/classes/class-admin.php:1729, dist/visual-portfolio/classes/class-controls.php:535, dist/visual-portfolio/classes/class-controls.php:548, dist/visual-portfolio/classes/class-controls.php:561
425
  msgid "Right"
426
  msgstr ""
427
 
428
+ #: dist/visual-portfolio/classes/class-admin.php:1586
429
  msgid "Show count"
430
  msgstr ""
431
 
432
+ #: dist/visual-portfolio/classes/class-admin.php:1602
433
  msgid "All button text"
434
  msgstr ""
435
 
436
+ #: dist/visual-portfolio/classes/class-admin.php:1604
437
  msgid "All"
438
  msgstr ""
439
 
440
+ #: dist/visual-portfolio/classes/class-admin.php:1686
441
  msgid "Paged"
442
  msgstr ""
443
 
444
+ #: dist/visual-portfolio/classes/class-admin.php:1687
445
  msgid "Load More"
446
  msgstr ""
447
 
448
+ #: dist/visual-portfolio/classes/class-admin.php:1688
449
  msgid "Infinite"
450
  msgstr ""
451
 
452
+ #: dist/visual-portfolio/classes/class-admin.php:1703
453
  msgid "Note: you will see the \"Load More\" pagination in the preview. \"Infinite\" pagination will be visible on the site."
454
  msgstr ""
455
 
456
+ #: dist/visual-portfolio/classes/class-admin.php:1749, dist/visual-portfolio/classes/class-admin.php:1769
457
  msgid "Texts"
458
  msgstr ""
459
 
460
+ #: dist/visual-portfolio/classes/class-admin.php:1790, dist/visual-portfolio/classes/class-admin.php:1859
461
  msgid "Load more"
462
  msgstr ""
463
 
464
+ #: dist/visual-portfolio/classes/class-admin.php:1791, dist/visual-portfolio/classes/class-admin.php:1792, dist/visual-portfolio/classes/class-admin.php:1860, dist/visual-portfolio/classes/class-admin.php:1861
465
  msgid "Load more button label"
466
  msgstr ""
467
 
468
+ #: dist/visual-portfolio/classes/class-admin.php:1813, dist/visual-portfolio/classes/class-admin.php:1882
469
  msgid "Loading more..."
470
  msgstr ""
471
 
472
+ #: dist/visual-portfolio/classes/class-admin.php:1814, dist/visual-portfolio/classes/class-admin.php:1815, dist/visual-portfolio/classes/class-admin.php:1883, dist/visual-portfolio/classes/class-admin.php:1884
473
  msgid "Loading more button label"
474
  msgstr ""
475
 
476
+ #: dist/visual-portfolio/classes/class-admin.php:1836, dist/visual-portfolio/classes/class-admin.php:1905
477
  msgid "You’ve reached the end of the list"
478
  msgstr ""
479
 
480
+ #: dist/visual-portfolio/classes/class-admin.php:1837, dist/visual-portfolio/classes/class-admin.php:1838, dist/visual-portfolio/classes/class-admin.php:1906, dist/visual-portfolio/classes/class-admin.php:1907
481
  msgid "End of the list text"
482
  msgstr ""
483
 
484
+ #: dist/visual-portfolio/classes/class-admin.php:1997
485
  msgid "Show numbers"
486
  msgstr ""
487
 
488
+ #: dist/visual-portfolio/classes/class-admin.php:2061
489
  msgid "Data source"
490
  msgstr ""
491
 
492
+ #: dist/visual-portfolio/classes/class-admin.php:2073
493
  msgid "Specific posts"
494
  msgstr ""
495
 
496
+ #: dist/visual-portfolio/classes/class-admin.php:2094
497
  msgid "Excluded posts"
498
  msgstr ""
499
 
500
+ #: dist/visual-portfolio/classes/class-admin.php:2122
501
  msgid "Custom query"
502
  msgstr ""
503
 
504
  #. translators: %1$s - escaped url.
505
+ #: dist/visual-portfolio/classes/class-admin.php:2124
506
  msgid "Build custom query according to <a href=\"%1$s\">WordPress Codex</a>."
507
  msgstr ""
508
 
509
+ #: dist/visual-portfolio/classes/class-admin.php:2150
510
  msgid "Taxonomies"
511
  msgstr ""
512
 
513
+ #: dist/visual-portfolio/classes/class-admin.php:2177
514
  msgid "Taxonomies relation"
515
  msgstr ""
516
 
517
+ #: dist/visual-portfolio/classes/class-admin.php:2181
518
  msgid "OR"
519
  msgstr ""
520
 
521
+ #: dist/visual-portfolio/classes/class-admin.php:2182
522
  msgid "AND"
523
  msgstr ""
524
 
525
+ #: dist/visual-portfolio/classes/class-admin.php:2203
526
  msgid "Order by"
527
  msgstr ""
528
 
529
+ #: dist/visual-portfolio/classes/class-admin.php:2207
530
  msgid "Date"
531
  msgstr ""
532
 
533
+ #: dist/visual-portfolio/classes/class-admin.php:2208, dist/visual-portfolio/classes/class-controls.php:580
534
  msgid "Title"
535
  msgstr ""
536
 
537
+ #: dist/visual-portfolio/classes/class-admin.php:2209
538
  msgid "ID"
539
  msgstr ""
540
 
541
+ #: dist/visual-portfolio/classes/class-admin.php:2210
542
  msgid "Random"
543
  msgstr ""
544
 
545
+ #: dist/visual-portfolio/classes/class-admin.php:2219
546
  msgid "Order direction"
547
  msgstr ""
548
 
549
+ #: dist/visual-portfolio/classes/class-admin.php:2223
550
  msgid "DESC"
551
  msgstr ""
552
 
553
+ #: dist/visual-portfolio/classes/class-admin.php:2224
554
  msgid "ASC"
555
  msgstr ""
556
 
557
+ #: dist/visual-portfolio/classes/class-admin.php:2259
558
  msgid "Name & Shortcode"
559
  msgstr ""
560
 
561
+ #: dist/visual-portfolio/classes/class-admin.php:2267
562
  msgid "Layout"
563
  msgstr ""
564
 
565
+ #: dist/visual-portfolio/classes/class-admin.php:2275
566
  msgid "Items Style"
567
  msgstr ""
568
 
569
+ #: dist/visual-portfolio/classes/class-admin.php:2283
570
  msgid "Items Click Action"
571
  msgstr ""
572
 
573
+ #: dist/visual-portfolio/classes/class-admin.php:2291
574
  msgid "Filter"
575
  msgstr ""
576
 
577
+ #: dist/visual-portfolio/classes/class-admin.php:2299
578
  msgid "Pagination"
579
  msgstr ""
580
 
581
+ #: dist/visual-portfolio/classes/class-admin.php:2308
582
  msgid "Preview"
583
  msgstr ""
584
 
585
+ #: dist/visual-portfolio/classes/class-admin.php:2316
586
  msgid "Content Source"
587
  msgstr ""
588
 
589
+ #: dist/visual-portfolio/classes/class-admin.php:2324
590
  msgid "Custom CSS"
591
  msgstr ""
592
 
593
+ #: dist/visual-portfolio/classes/class-admin.php:2343
594
  msgid "Name"
595
  msgstr ""
596
 
597
+ #: dist/visual-portfolio/classes/class-admin.php:2353
598
  msgid "Place the shortcode where you want to show the portfolio list."
599
  msgstr ""
600
 
601
+ #: dist/visual-portfolio/classes/class-admin.php:2419
602
  msgid "Filter Shortcode"
603
  msgstr ""
604
 
605
+ #: dist/visual-portfolio/classes/class-admin.php:2420
606
  msgid "Place the shortcode where you want to show the filter."
607
  msgstr ""
608
 
609
+ #: dist/visual-portfolio/classes/class-admin.php:2487
610
  msgid "Portfolio"
611
  msgstr ""
612
 
613
+ #: dist/visual-portfolio/classes/class-admin.php:2493
614
  msgid "Post-Based"
615
  msgstr ""
616
 
617
+ #: dist/visual-portfolio/classes/class-admin.php:2499
618
  msgid "Images"
619
  msgstr ""
620
 
621
  #. translators: %1$s - escaped url.
622
+ #: dist/visual-portfolio/classes/class-admin.php:2518
623
  msgid "Portfolio items list from <a href=\"%1$s\" target=\"_blank\">%2$s</a>"
624
  msgstr ""
625
 
626
+ #: dist/visual-portfolio/classes/class-admin.php:2554
627
  msgid "Available classes:"
628
  msgstr ""
629
 
630
+ #: dist/visual-portfolio/classes/class-admin.php:2557
631
  msgid " - use this classname for each styles you added. It is the main Visual Portfolio wrapper."
632
  msgstr ""
633
 
634
+ #: dist/visual-portfolio/classes/class-admin.php:2558
635
  msgid " - items wrapper."
636
  msgstr ""
637
 
638
+ #: dist/visual-portfolio/classes/class-admin.php:2559
639
  msgid " - single item wrapper."
640
  msgstr ""
641
 
642
+ #: dist/visual-portfolio/classes/class-admin.php:2560
643
  msgid " - filter wrapper."
644
  msgstr ""
645
 
646
+ #: dist/visual-portfolio/classes/class-admin.php:2561
647
  msgid " - pagination wrapper."
648
  msgstr ""
649
 
650
+ #: dist/visual-portfolio/classes/class-admin.php:2621
651
  msgid "Specific Posts"
652
  msgstr ""
653
 
654
+ #: dist/visual-portfolio/classes/class-admin.php:2622
655
  msgid "Custom Query"
656
  msgstr ""
657
 
691
  msgid "Edit"
692
  msgstr ""
693
 
694
+ #: dist/visual-portfolio/classes/class-get-portfolio.php:223
695
  msgid "No items found."
696
  msgstr ""
697
 
698
  #. translators: %s - published in human format.
699
+ #: dist/visual-portfolio/classes/class-get-portfolio.php:1077
700
  msgid "%s ago"
701
  msgstr ""
702
 
721
  msgstr ""
722
 
723
  #: dist/visual-portfolio/classes/class-settings.php:127
724
+ msgid "Filter Taxonomies"
725
  msgstr ""
726
 
727
  #: dist/visual-portfolio/classes/class-settings.php:128
728
+ msgid "You can show custom taxonomies in the portfolio Filter. Enter some taxonomies by \",\" separating values. Example: \"product_cat,product_tag\""
729
+ msgstr ""
730
+
731
+ #: dist/visual-portfolio/classes/class-settings.php:134
732
+ msgid "No image"
733
+ msgstr ""
734
+
735
+ #: dist/visual-portfolio/classes/class-settings.php:135
736
+ msgid "This image used if the featured image of a post is not specified."
737
  msgstr ""
738
 
739
+ #: dist/visual-portfolio/classes/class-settings.php:139
740
  msgid "Choose image"
741
  msgstr ""
742
 
743
+ #: dist/visual-portfolio/classes/class-settings.php:147
744
  msgid "Arrows to navigate between images."
745
  msgstr ""
746
 
747
+ #: dist/visual-portfolio/classes/class-settings.php:154
748
  msgid "Show caption"
749
  msgstr ""
750
 
751
+ #: dist/visual-portfolio/classes/class-settings.php:155
752
+ msgid "Below images will be showed caption."
753
+ msgstr ""
754
+
755
+ #: dist/visual-portfolio/classes/class-settings.php:161
756
+ msgid "Caption Title"
757
  msgstr ""
758
 
759
+ #: dist/visual-portfolio/classes/class-settings.php:165, dist/visual-portfolio/classes/class-settings.php:178
760
+ msgid "None"
761
+ msgstr ""
762
+
763
+ #: dist/visual-portfolio/classes/class-settings.php:166, dist/visual-portfolio/classes/class-settings.php:179
764
+ msgid "Image Title"
765
+ msgstr ""
766
+
767
+ #: dist/visual-portfolio/classes/class-settings.php:167, dist/visual-portfolio/classes/class-settings.php:180
768
+ msgid "Image Caption"
769
+ msgstr ""
770
+
771
+ #: dist/visual-portfolio/classes/class-settings.php:168, dist/visual-portfolio/classes/class-settings.php:181
772
+ msgid "Image Alt"
773
+ msgstr ""
774
+
775
+ #: dist/visual-portfolio/classes/class-settings.php:169, dist/visual-portfolio/classes/class-settings.php:182
776
+ msgid "Image Description"
777
+ msgstr ""
778
+
779
+ #: dist/visual-portfolio/classes/class-settings.php:174
780
+ msgid "Caption Description"
781
+ msgstr ""
782
+
783
+ #: dist/visual-portfolio/classes/class-settings.php:188
784
  msgid "Show images counter"
785
  msgstr ""
786
 
787
+ #: dist/visual-portfolio/classes/class-settings.php:189
788
  msgid "On the top left corner will be showed images counter."
789
  msgstr ""
790
 
791
+ #: dist/visual-portfolio/classes/class-settings.php:195
792
  msgid "Show zoom button"
793
  msgstr ""
794
 
795
+ #: dist/visual-portfolio/classes/class-settings.php:201
796
  msgid "Show fullscreen button"
797
  msgstr ""
798
 
799
+ #: dist/visual-portfolio/classes/class-settings.php:207
800
  msgid "Show share button"
801
  msgstr ""
802
 
803
+ #: dist/visual-portfolio/classes/class-settings.php:213
804
  msgid "Show close button"
805
  msgstr ""
806
 
807
+ #: dist/visual-portfolio/classes/class-settings.php:230
808
  msgid "Visual Portfolio Settings"
809
  msgstr ""
810
 
readme.md CHANGED
@@ -4,7 +4,7 @@
4
  * Requires at least: 4.0.0
5
  * Tested up to: 4.9
6
  * Requires PHP: 5.4
7
- * Stable tag: 1.6.5
8
  * License: GPLv2 or later
9
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -15,8 +15,10 @@ Portfolio layouts visual editor. Masonry, justified, tiles, carousel, slider, co
15
 
16
  Visual Portfolio editor let you create beautiful portfolio layouts. Generates shortcode to show portfolio or any custom post types using Masonry, Justified, Tiles or Carousel layouts.
17
 
18
- See **Online Demo** here - [https://demo.nkdev.info/#visual-portfolio](https://demo.nkdev.info/#visual-portfolio)
19
 
 
 
20
 
21
  ## Features ##
22
 
@@ -93,6 +95,7 @@ The manual installation method involves downloading our Visual Portfolio plugin
93
  ## Frequently Asked Questions ##
94
 
95
  ### How to disable enqueued plugins (JS, CSS) on frontend ####
 
96
  There are some plugins, enqueued with Visual Portfolio on your page. If you don't like the plugin and/or want to change it to your alternate plugin, you can disable it using filters. Example:
97
 
98
  add_filter( 'vpf_enqueue_plugin_font_awesome', '__return_false' );
@@ -109,16 +112,29 @@ Available filters:
109
 
110
  Note: some functionality depends on these plugins and you may break the portfolio.
111
 
112
- ### How to change default templates and styles? ####
 
 
 
 
 
 
 
 
 
 
 
 
 
113
 
114
  You can copy files from the **/visual-portfolio/templates/** to your **YOUR_THEME/visual-portfolio/** folder and change php code and css files here.
115
 
116
- ### DEV: WP filters. ####
117
 
118
  Visual Portfolio has several WP hooks that let you extend functionality.
119
 
120
  add_filter( 'vpf_get_layout_option', 'my_filter_vpf_get_layout_option', 10, 3 );
121
-
122
  function my_filter_vpf_get_layout_option( $value, $name, $post_id ) {
123
  var_dump( $value );
124
  var_dump( $name );
@@ -126,7 +142,7 @@ Visual Portfolio has several WP hooks that let you extend functionality.
126
  return $value;
127
  }
128
 
129
- Available events:
130
 
131
  * **vpf_include_template** [ $template, $template_name, $args ] - include php template.
132
  * **vpf_include_template_style** [ $template, $template_name, $deps, $ver, $media ] - include css template.
@@ -147,7 +163,7 @@ Available events:
147
  ),
148
  ) );
149
  }
150
-
151
  Note: On the portfolio will be added data attribute **[data-vp-layout="new_layout"]**, so you can play with it and use jQuery events to initialize the new layout.
152
 
153
  * **vpf_extend_items_styles** [ $items_styles ] - custom items styles.
@@ -172,7 +188,7 @@ Available events:
172
  ),
173
  ) );
174
  }
175
-
176
  Note: Make sure that you added template in **your_theme/visual-portfolio/items-list/items-style/new_items_style**. See the structure of default templates to getting started.
177
 
178
  * **vpf_extend_filters** [ $filters ] - custom filters.
@@ -189,7 +205,7 @@ Available events:
189
  ),
190
  ) );
191
  }
192
-
193
  Note: Make sure that you added template in **your_theme/visual-portfolio/items-list/filter/new_filter**. See the structure of default templates to getting started.
194
 
195
  * **vpf_extend_pagination** [ $pagination ] - custom pagination.
@@ -206,10 +222,10 @@ Available events:
206
  ),
207
  ) );
208
  }
209
-
210
  Note: Make sure that you added template in **your_theme/visual-portfolio/items-list/pagination/new_pagination**. See the structure of default templates to getting started.
211
 
212
- ### DEV: Controls. ####
213
 
214
  These controls you can use in filers to extend Portfolio options (read **DEV: WP filters.** in FAQ).
215
 
@@ -224,14 +240,14 @@ These controls you can use in filers to extend Portfolio options (read **DEV: WP
224
  'placeholder' => '',
225
  'readonly' => false,
226
  'default' => 'default value',
227
-
228
  // Use the function to getting value.
229
  'value_callback' => '',
230
-
231
  // hint.
232
  'hint' => false,
233
  'hint_place' => 'top',
234
-
235
  // condition.
236
  'condition' => array(
237
  /**
@@ -241,7 +257,7 @@ These controls you can use in filers to extend Portfolio options (read **DEV: WP
241
  * 'value' - condition value.
242
  */
243
  ),
244
-
245
  // custom styles.
246
  'style' => array(
247
  array(
@@ -249,7 +265,7 @@ These controls you can use in filers to extend Portfolio options (read **DEV: WP
249
  'property' => 'background-color',
250
  ),
251
  ),
252
-
253
  'class' => '',
254
  'wrapper_class' => '',
255
  );
@@ -263,7 +279,7 @@ These controls you can use in filers to extend Portfolio options (read **DEV: WP
263
  'name' => 'text_control_uniq_name',
264
  'placeholder' => esc_html__( 'Text field placeholder', 'visual-portfolio' ),
265
  'default' => 'default value',
266
-
267
  // hint.
268
  'hint' => esc_html__( 'Text field hint', 'visual-portfolio' ),
269
  'hint_place' => 'left',
@@ -363,8 +379,7 @@ These controls you can use in filers to extend Portfolio options (read **DEV: WP
363
  'extended' => true,
364
  );
365
 
366
-
367
- ### DEV: jQuery events. ####
368
 
369
  Visual Portfolio has a lot of jQuery events that let you extend functionality. Example:
370
 
@@ -394,8 +409,7 @@ Available events:
394
  * **initFjGallery.vpf** - called after fjGallery inited.
395
  * **destroyFjGallery.vpf** - called after fjGallery destroyed.
396
 
397
-
398
- ### DEV: jQuery methods. ####
399
 
400
  Sometimes you may need to call Visual Portfolio methods manually, for example when you use AJAX page load, you will need to reinitialize portfolio, so you can use public methods. Example:
401
 
@@ -420,7 +434,20 @@ Available methods:
420
 
421
  ## Changelog ##
422
 
 
 
 
 
 
 
 
 
 
 
 
 
423
  = 1.6.5 =
 
424
  * added options for texts in filter and pagination
425
  * fixed paged /portfolio/ page (https://wordpress.org/support/topic/paging-infinite-loading-not-working/)
426
  * fixed vertical images quality
@@ -428,9 +455,11 @@ Available methods:
428
  * fixed filter shortcode output
429
 
430
  = 1.6.4 =
 
431
  * fixed font-awesome dependency
432
 
433
  = 1.6.3 =
 
434
  * added portfolio preview iframe in Gutenberg block
435
  * changed portfolio default image sizes (since we use Lazyload, we can use larger image sizes)
436
  * updated FontAwesome to 5.2.0
@@ -439,14 +468,17 @@ Available methods:
439
  * disabled 'with_front' in portfolio post type (thanks to [https://wordpress.org/support/topic/change-the-permalink-structure-2/](https://wordpress.org/support/topic/change-the-permalink-structure-2/))
440
 
441
  = 1.6.2 =
 
442
  * additional check for isotope and fjGallery existence
443
  * added init outside of 'ready' event (possible faster initialization)
444
  * fixed lazyload possible conflict with the 3rd-party themes/plugins
445
 
446
  = 1.6.1 =
 
447
  * fixed validator error "The sizes attribute may be specified only if the srcset attribute is also present"
448
 
449
  = 1.6.0 =
 
450
  * NOTE: strongly recommend to regenerate thumbnails on your site using [this plugin](https://wordpress.org/plugins/regenerate-thumbnails/)
451
  * added lazy loading for images
452
  * added will-change styles in templates (animations should work smoother)
@@ -468,6 +500,7 @@ Available methods:
468
  * removed imagesloaded usage
469
 
470
  = 1.5.0 =
 
471
  * added Slider (+ Carousel, Coverflow) layout
472
  * added capabilities check when generated preview page
473
  * improved responsive calculation algorithm
@@ -481,6 +514,7 @@ Available methods:
481
  * fixed confirmation message when leaving layouts editor without change
482
 
483
  = 1.4.3 =
 
484
  * added check for template existance before include it (to prevent errors when 3rd-party devs don't added templates)
485
  * fixed random order duplicates when used pagination
486
  * fixed errors in PHP < 5.5
@@ -490,10 +524,12 @@ Available methods:
490
  * renamed all events prefix from vp to vpf
491
 
492
  = 1.4.2 =
 
493
  * prepared code for extending from 3rd-party developers
494
  * fixed saving unchecked toggle values in Layouts editor (Show title, Show categories, etc...)
495
 
496
  = 1.4.1 =
 
497
  * added filters to disable enqueued frontend plugins (see FAQ section)
498
  * added Custom URL option to custom images set
499
  * added support for negative number of items per page for custom images set (to show all available items on the page)
@@ -501,6 +537,7 @@ Available methods:
501
  * fixed custom images filters count show
502
 
503
  = 1.4.0 =
 
504
  * added Justified layout
505
  * added custom user images support in Content Source settings
506
  * added Gutenberg block to easily insert layouts
@@ -518,6 +555,7 @@ Available methods:
518
  * minor changes
519
 
520
  = 1.3.0 =
 
521
  * improved CSS editor (added autocomplete hints; selectors hint; showing errors; preventing save when editor has errors)
522
  * improved layouts editor interface
523
  * added shortcode for portfolio filter (you can use filter outside of portfolio wrapper)
@@ -530,11 +568,13 @@ Available methods:
530
  * fixed permalinks flush on activation and deactivation
531
 
532
  = 1.2.1 =
 
533
  * fixed video format conflict with theme formats
534
  * fixed php error about undefined index
535
  * fixed buttons hover border issue in default themes
536
 
537
  = 1.2.0 =
 
538
  * added support for oEmbed videos (YouTube and Vimeo supported)
539
  * added settings for popup gallery
540
  * added share button in popup gallery
@@ -550,15 +590,18 @@ Available methods:
550
  * minor fixes and changes
551
 
552
  = 1.1.4 =
 
553
  * fixed conflict with WooCommerce Photoswipe gallery
554
 
555
  = 1.1.3 =
 
556
  * added ID in title to tinymce and visual composer dropdowns
557
  * fixed fly effect transition in Safari
558
  * fixed tiles filter jumping
559
  * fixed iframe height calculation if in theme set html height 100%;
560
 
561
  = 1.1.2 =
 
562
  * added options to hide arrows and numbers from the paged pagination
563
  * added support for WPBakery Page Builder
564
  * added class attribute in shortcode
@@ -571,9 +614,11 @@ Available methods:
571
  * fixed conflict with WPBakery Page Builder and old isotope plugin
572
 
573
  = 1.1.1 =
 
574
  * fixed php enqueue errors
575
 
576
  = 1.1.0 =
 
577
  * preview changed to iframe - now all the portfolio styles showed the same as on your website frontend. Now iframe reloaded when changed all options (Customizer experience here)
578
  * added wrapper to filter and pagination
579
  * added tinyMCE dropdown with list of visual-portfolio shortcodes
@@ -590,6 +635,7 @@ Available methods:
590
  * minor changes
591
 
592
  = 1.0.1 =
 
593
  * added custom CSS field
594
  * added object-fit polyfill to support old browsers
595
  * added custom image sizes
@@ -600,4 +646,5 @@ Available methods:
600
  * minor changes
601
 
602
  = 1.0.0 =
 
603
  * initial Release
4
  * Requires at least: 4.0.0
5
  * Tested up to: 4.9
6
  * Requires PHP: 5.4
7
+ * Stable tag: 1.7.0
8
  * License: GPLv2 or later
9
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
15
 
16
  Visual Portfolio editor let you create beautiful portfolio layouts. Generates shortcode to show portfolio or any custom post types using Masonry, Justified, Tiles or Carousel layouts.
17
 
18
+ #### Links ####
19
 
20
+ * [Live Demo](https://demo.nkdev.info/#visual-portfolio)
21
+ * [GitHub](https://github.com/nk-o/visual-portfolio)
22
 
23
  ## Features ##
24
 
95
  ## Frequently Asked Questions ##
96
 
97
  ### How to disable enqueued plugins (JS, CSS) on frontend ####
98
+
99
  There are some plugins, enqueued with Visual Portfolio on your page. If you don't like the plugin and/or want to change it to your alternate plugin, you can disable it using filters. Example:
100
 
101
  add_filter( 'vpf_enqueue_plugin_font_awesome', '__return_false' );
112
 
113
  Note: some functionality depends on these plugins and you may break the portfolio.
114
 
115
+ ### How to use my custom taxonomy as filter ####
116
+
117
+ There is available filer **vpf_allow_taxonomy_for_filter** that allow you to use custom taxonomy as filter. Example:
118
+
119
+ add_filter( 'vpf_allow_taxonomy_for_filter', 'my_filter_vpf_allow_taxonomy_for_filter', 10, 2 );
120
+
121
+ function my_filter_vpf_allow_taxonomy_for_filter( $allow, $taxonomy ) {
122
+ if ( 'my_custom_taxonomy' === $taxonomy ) {
123
+ $allow = true;
124
+ }
125
+ return $allow;
126
+ }
127
+
128
+ ### How to change default templates and styles ####
129
 
130
  You can copy files from the **/visual-portfolio/templates/** to your **YOUR_THEME/visual-portfolio/** folder and change php code and css files here.
131
 
132
+ ### DEV: WP filters ####
133
 
134
  Visual Portfolio has several WP hooks that let you extend functionality.
135
 
136
  add_filter( 'vpf_get_layout_option', 'my_filter_vpf_get_layout_option', 10, 3 );
137
+
138
  function my_filter_vpf_get_layout_option( $value, $name, $post_id ) {
139
  var_dump( $value );
140
  var_dump( $name );
142
  return $value;
143
  }
144
 
145
+ Available filters:
146
 
147
  * **vpf_include_template** [ $template, $template_name, $args ] - include php template.
148
  * **vpf_include_template_style** [ $template, $template_name, $deps, $ver, $media ] - include css template.
163
  ),
164
  ) );
165
  }
166
+
167
  Note: On the portfolio will be added data attribute **[data-vp-layout="new_layout"]**, so you can play with it and use jQuery events to initialize the new layout.
168
 
169
  * **vpf_extend_items_styles** [ $items_styles ] - custom items styles.
188
  ),
189
  ) );
190
  }
191
+
192
  Note: Make sure that you added template in **your_theme/visual-portfolio/items-list/items-style/new_items_style**. See the structure of default templates to getting started.
193
 
194
  * **vpf_extend_filters** [ $filters ] - custom filters.
205
  ),
206
  ) );
207
  }
208
+
209
  Note: Make sure that you added template in **your_theme/visual-portfolio/items-list/filter/new_filter**. See the structure of default templates to getting started.
210
 
211
  * **vpf_extend_pagination** [ $pagination ] - custom pagination.
222
  ),
223
  ) );
224
  }
225
+
226
  Note: Make sure that you added template in **your_theme/visual-portfolio/items-list/pagination/new_pagination**. See the structure of default templates to getting started.
227
 
228
+ ### DEV: Controls ####
229
 
230
  These controls you can use in filers to extend Portfolio options (read **DEV: WP filters.** in FAQ).
231
 
240
  'placeholder' => '',
241
  'readonly' => false,
242
  'default' => 'default value',
243
+
244
  // Use the function to getting value.
245
  'value_callback' => '',
246
+
247
  // hint.
248
  'hint' => false,
249
  'hint_place' => 'top',
250
+
251
  // condition.
252
  'condition' => array(
253
  /**
257
  * 'value' - condition value.
258
  */
259
  ),
260
+
261
  // custom styles.
262
  'style' => array(
263
  array(
265
  'property' => 'background-color',
266
  ),
267
  ),
268
+
269
  'class' => '',
270
  'wrapper_class' => '',
271
  );
279
  'name' => 'text_control_uniq_name',
280
  'placeholder' => esc_html__( 'Text field placeholder', 'visual-portfolio' ),
281
  'default' => 'default value',
282
+
283
  // hint.
284
  'hint' => esc_html__( 'Text field hint', 'visual-portfolio' ),
285
  'hint_place' => 'left',
379
  'extended' => true,
380
  );
381
 
382
+ ### DEV: jQuery events ####
 
383
 
384
  Visual Portfolio has a lot of jQuery events that let you extend functionality. Example:
385
 
409
  * **initFjGallery.vpf** - called after fjGallery inited.
410
  * **destroyFjGallery.vpf** - called after fjGallery destroyed.
411
 
412
+ ### DEV: jQuery methods ####
 
413
 
414
  Sometimes you may need to call Visual Portfolio methods manually, for example when you use AJAX page load, you will need to reinitialize portfolio, so you can use public methods. Example:
415
 
434
 
435
  ## Changelog ##
436
 
437
+ = 1.7.0 =
438
+
439
+ * added support for Gutenberg 3.7.0
440
+ * added setting for custom taxonomies to show in portfolio filter
441
+ * added support for WooCommerce categories in portfolio filter
442
+ * added settings for the title and description popup gallery caption
443
+ * added Read More button option for Default Items Style
444
+ * added dropdown in top admin menu with the list of available portfolios on this page
445
+ * added generation placeholders on the fly (no more need to regenerate thumbnails to get placeholder)
446
+ * fixed popup image title color (were dark)
447
+ * fixed popup video play after going to the next slide
448
+
449
  = 1.6.5 =
450
+
451
  * added options for texts in filter and pagination
452
  * fixed paged /portfolio/ page (https://wordpress.org/support/topic/paging-infinite-loading-not-working/)
453
  * fixed vertical images quality
455
  * fixed filter shortcode output
456
 
457
  = 1.6.4 =
458
+
459
  * fixed font-awesome dependency
460
 
461
  = 1.6.3 =
462
+
463
  * added portfolio preview iframe in Gutenberg block
464
  * changed portfolio default image sizes (since we use Lazyload, we can use larger image sizes)
465
  * updated FontAwesome to 5.2.0
468
  * disabled 'with_front' in portfolio post type (thanks to [https://wordpress.org/support/topic/change-the-permalink-structure-2/](https://wordpress.org/support/topic/change-the-permalink-structure-2/))
469
 
470
  = 1.6.2 =
471
+
472
  * additional check for isotope and fjGallery existence
473
  * added init outside of 'ready' event (possible faster initialization)
474
  * fixed lazyload possible conflict with the 3rd-party themes/plugins
475
 
476
  = 1.6.1 =
477
+
478
  * fixed validator error "The sizes attribute may be specified only if the srcset attribute is also present"
479
 
480
  = 1.6.0 =
481
+
482
  * NOTE: strongly recommend to regenerate thumbnails on your site using [this plugin](https://wordpress.org/plugins/regenerate-thumbnails/)
483
  * added lazy loading for images
484
  * added will-change styles in templates (animations should work smoother)
500
  * removed imagesloaded usage
501
 
502
  = 1.5.0 =
503
+
504
  * added Slider (+ Carousel, Coverflow) layout
505
  * added capabilities check when generated preview page
506
  * improved responsive calculation algorithm
514
  * fixed confirmation message when leaving layouts editor without change
515
 
516
  = 1.4.3 =
517
+
518
  * added check for template existance before include it (to prevent errors when 3rd-party devs don't added templates)
519
  * fixed random order duplicates when used pagination
520
  * fixed errors in PHP < 5.5
524
  * renamed all events prefix from vp to vpf
525
 
526
  = 1.4.2 =
527
+
528
  * prepared code for extending from 3rd-party developers
529
  * fixed saving unchecked toggle values in Layouts editor (Show title, Show categories, etc...)
530
 
531
  = 1.4.1 =
532
+
533
  * added filters to disable enqueued frontend plugins (see FAQ section)
534
  * added Custom URL option to custom images set
535
  * added support for negative number of items per page for custom images set (to show all available items on the page)
537
  * fixed custom images filters count show
538
 
539
  = 1.4.0 =
540
+
541
  * added Justified layout
542
  * added custom user images support in Content Source settings
543
  * added Gutenberg block to easily insert layouts
555
  * minor changes
556
 
557
  = 1.3.0 =
558
+
559
  * improved CSS editor (added autocomplete hints; selectors hint; showing errors; preventing save when editor has errors)
560
  * improved layouts editor interface
561
  * added shortcode for portfolio filter (you can use filter outside of portfolio wrapper)
568
  * fixed permalinks flush on activation and deactivation
569
 
570
  = 1.2.1 =
571
+
572
  * fixed video format conflict with theme formats
573
  * fixed php error about undefined index
574
  * fixed buttons hover border issue in default themes
575
 
576
  = 1.2.0 =
577
+
578
  * added support for oEmbed videos (YouTube and Vimeo supported)
579
  * added settings for popup gallery
580
  * added share button in popup gallery
590
  * minor fixes and changes
591
 
592
  = 1.1.4 =
593
+
594
  * fixed conflict with WooCommerce Photoswipe gallery
595
 
596
  = 1.1.3 =
597
+
598
  * added ID in title to tinymce and visual composer dropdowns
599
  * fixed fly effect transition in Safari
600
  * fixed tiles filter jumping
601
  * fixed iframe height calculation if in theme set html height 100%;
602
 
603
  = 1.1.2 =
604
+
605
  * added options to hide arrows and numbers from the paged pagination
606
  * added support for WPBakery Page Builder
607
  * added class attribute in shortcode
614
  * fixed conflict with WPBakery Page Builder and old isotope plugin
615
 
616
  = 1.1.1 =
617
+
618
  * fixed php enqueue errors
619
 
620
  = 1.1.0 =
621
+
622
  * preview changed to iframe - now all the portfolio styles showed the same as on your website frontend. Now iframe reloaded when changed all options (Customizer experience here)
623
  * added wrapper to filter and pagination
624
  * added tinyMCE dropdown with list of visual-portfolio shortcodes
635
  * minor changes
636
 
637
  = 1.0.1 =
638
+
639
  * added custom CSS field
640
  * added object-fit polyfill to support old browsers
641
  * added custom image sizes
646
  * minor changes
647
 
648
  = 1.0.0 =
649
+
650
  * initial Release
templates/items-list/items-style/meta.php CHANGED
@@ -54,6 +54,15 @@ if ( ! defined( 'ABSPATH' ) ) {
54
  <?php
55
  }
56
 
 
 
 
 
 
 
 
 
 
57
  // Show Categories.
58
  if ( $opts['show_categories'] && $args['categories'] && ! empty( $args['categories'] ) ) {
59
  ?>
54
  <?php
55
  }
56
 
57
+ // Show Read More.
58
+ if ( $opts['show_read_more'] && $opts['read_more_label'] ) {
59
+ ?>
60
+ <a class="vp-portfolio__item-meta-read-more" href="<?php echo esc_url( $opts['read_more_url'] ); ?>">
61
+ <?php echo esc_html( $opts['read_more_label'] ); ?>
62
+ </a>
63
+ <?php
64
+ }
65
+
66
  // Show Categories.
67
  if ( $opts['show_categories'] && $args['categories'] && ! empty( $args['categories'] ) ) {
68
  ?>
templates/items-list/items-style/style.css CHANGED
@@ -1 +1 @@
1
- .vp-portfolio__items-style-default .vp-portfolio__item a{outline:none;-webkit-box-shadow:none;box-shadow:none}.vp-portfolio__items-style-default .vp-portfolio__item-img{overflow:hidden}.vp-portfolio__items-style-default .vp-portfolio__item-img img{-webkit-transition:-webkit-transform 2s cubic-bezier(0.08, 0.43, 0.24, 1);transition:-webkit-transform 2s cubic-bezier(0.08, 0.43, 0.24, 1);transition:transform 2s cubic-bezier(0.08, 0.43, 0.24, 1);transition:transform 2s cubic-bezier(0.08, 0.43, 0.24, 1), -webkit-transform 2s cubic-bezier(0.08, 0.43, 0.24, 1);will-change:transform}.vp-portfolio__items-style-default .vp-portfolio__item:hover .vp-portfolio__item-img img{-webkit-transform:scale(1.1);transform:scale(1.1)}.vp-portfolio__items-style-default .vp-portfolio__item-meta{position:relative;padding:10px 15px}.vp-portfolio__items-style-default .vp-portfolio__item-meta *+*{margin-top:4px}.vp-portfolio__items-style-default .vp-portfolio__item-meta-title{margin-bottom:0;font-size:1.3em}.vp-portfolio__items-style-default .vp-portfolio__item-meta-title a{color:inherit;text-decoration:none}.vp-portfolio__items-style-default .vp-portfolio__item-meta-title a:hover{color:#007acc}.vp-portfolio__items-style-default .vp-portfolio__item-meta-date{font-size:.85em}.vp-portfolio__items-style-default .vp-portfolio__item-meta-categories{position:absolute;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;bottom:100%;left:0;padding:15px 10px;margin:0;list-style-type:none}.vp-portfolio__items-style-default .vp-portfolio__item-meta-categories .vp-portfolio__item-meta-category{padding:0;margin:0 5px}.vp-portfolio__items-style-default .vp-portfolio__item-meta-categories .vp-portfolio__item-meta-category a{display:block;padding:4px 15px;color:#fff;text-decoration:none;background-color:#3c3c3c;-webkit-transition:.2s background-color;transition:.2s background-color;will-change:background-color}.vp-portfolio__items-style-default .vp-portfolio__item-meta-categories .vp-portfolio__item-meta-category a:hover{background-color:#545454}.vp-portfolio__items-style-default .vp-portfolio__item-meta-excerpt{opacity:.8}.vp-portfolio__items-style-default .vp-portfolio__item-align-left{text-align:left}.vp-portfolio__items-style-default .vp-portfolio__item-align-center{text-align:center}.vp-portfolio__items-style-default .vp-portfolio__item-align-right{text-align:right}
1
+ .vp-portfolio__items-style-default .vp-portfolio__item a{outline:none;-webkit-box-shadow:none;box-shadow:none}.vp-portfolio__items-style-default .vp-portfolio__item-img{overflow:hidden}.vp-portfolio__items-style-default .vp-portfolio__item-img img{-webkit-transition:-webkit-transform 2s cubic-bezier(0.08, 0.43, 0.24, 1);transition:-webkit-transform 2s cubic-bezier(0.08, 0.43, 0.24, 1);transition:transform 2s cubic-bezier(0.08, 0.43, 0.24, 1);transition:transform 2s cubic-bezier(0.08, 0.43, 0.24, 1), -webkit-transform 2s cubic-bezier(0.08, 0.43, 0.24, 1);will-change:transform}.vp-portfolio__items-style-default .vp-portfolio__item:hover .vp-portfolio__item-img img{-webkit-transform:scale(1.1);transform:scale(1.1)}.vp-portfolio__items-style-default .vp-portfolio__item-meta{position:relative;padding:10px 15px}.vp-portfolio__items-style-default .vp-portfolio__item-meta *+*{margin-top:4px}.vp-portfolio__items-style-default .vp-portfolio__item-meta-title{margin-bottom:0;font-size:1.3em}.vp-portfolio__items-style-default .vp-portfolio__item-meta-title a{color:inherit;text-decoration:none}.vp-portfolio__items-style-default .vp-portfolio__item-meta-title a:hover{color:#007acc}.vp-portfolio__items-style-default .vp-portfolio__item-meta-date{font-size:.85em}.vp-portfolio__items-style-default .vp-portfolio__item-meta-categories{position:absolute;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;bottom:100%;left:0;padding:15px 10px;margin:0;list-style-type:none}.vp-portfolio__items-style-default .vp-portfolio__item-meta-categories .vp-portfolio__item-meta-category{padding:0;margin:0 5px}.vp-portfolio__items-style-default .vp-portfolio__item-meta-categories .vp-portfolio__item-meta-category a{display:block;padding:4px 15px;color:#fff;text-decoration:none;background-color:#3c3c3c;-webkit-transition:.2s background-color;transition:.2s background-color;will-change:background-color}.vp-portfolio__items-style-default .vp-portfolio__item-meta-categories .vp-portfolio__item-meta-category a:hover{background-color:#545454}.vp-portfolio__items-style-default .vp-portfolio__item-meta-excerpt{opacity:.8}.vp-portfolio__items-style-default .vp-portfolio__item-meta-read-more{display:inline-block;margin-top:10px}.vp-portfolio__items-style-default .vp-portfolio__item-align-left{text-align:left}.vp-portfolio__items-style-default .vp-portfolio__item-align-center{text-align:center}.vp-portfolio__items-style-default .vp-portfolio__item-align-right{text-align:right}
templates/items-list/items-style/style.scss CHANGED
@@ -78,6 +78,10 @@
78
  .vp-portfolio__item-meta-excerpt {
79
  opacity: .8;
80
  }
 
 
 
 
81
 
82
  // align
83
  .vp-portfolio__item-align-left {
78
  .vp-portfolio__item-meta-excerpt {
79
  opacity: .8;
80
  }
81
+ .vp-portfolio__item-meta-read-more {
82
+ display: inline-block;
83
+ margin-top: 10px;
84
+ }
85
 
86
  // align
87
  .vp-portfolio__item-align-left {