Version Description
Download this release
Release Info
Developer | nko |
Plugin | Visual Portfolio, Photo Gallery & Post Grid |
Version | 1.15.0 |
Comparing to | |
See all releases |
Code changes from version 1.14.1 to 1.15.0
- assets/admin/css/elementor.min.css +1 -0
- assets/admin/css/gutenberg-block.min.css +1 -1
- assets/admin/css/layouts-editor.min.css +1 -1
- assets/admin/js/elementor.js +70 -0
- assets/admin/js/elementor.min.js +8 -0
- assets/admin/js/gutenberg-block.min.js +2 -8
- assets/admin/js/layouts-editor.js +145 -7
- assets/admin/js/layouts-editor.min.js +2 -2
- assets/admin/js/mce-dropdown.js +1 -1
- assets/admin/js/mce-dropdown.min.js +2 -2
- assets/admin/js/mce-localize.min.js +1 -1
- assets/admin/js/script.js +33 -10
- assets/admin/js/script.min.js +2 -2
- assets/admin/js/vc-frontend.js +1 -1
- assets/admin/js/vc-frontend.min.js +2 -2
- assets/js/items-style-fly.min.js +1 -1
- assets/js/layout-gaps.min.js +1 -1
- assets/js/layout-grid.min.js +1 -1
- assets/js/layout-justified.min.js +1 -1
- assets/js/layout-masonry.min.js +1 -1
- assets/js/layout-slider.min.js +1 -1
- assets/js/layout-tiles.min.js +1 -1
- assets/js/lazysizes-object-fit-cover.min.js +1 -1
- assets/js/main.min.js +1 -1
- assets/js/plugin-fancybox.min.js +1 -1
- assets/js/plugin-fj-gallery.min.js +1 -1
- assets/js/plugin-isotope.min.js +1 -1
- assets/js/plugin-photoswipe.min.js +1 -1
- assets/js/plugin-swiper.min.js +1 -1
- assets/js/script-preview.js +23 -13
- assets/js/script-preview.min.js +2 -2
- assets/vendor/clipboard.js/clipboard.min.js +7 -0
- assets/vendor/conditionize/conditionize.min.js +2 -2
- assets/vendor/conditionize/conditionize.min.js.map +1 -1
- class-visual-portfolio.php +3 -1
- classes/class-admin.php +17 -39
- classes/class-assets.php +16 -2
- classes/class-elementor-widget.php +189 -0
- classes/class-elementor.php +33 -0
- classes/class-get-portfolio.php +13 -2
- classes/class-preview.php +45 -1
- classes/class-settings.php +8 -0
- languages/visual-portfolio.pot +220 -232
- readme.md +18 -5
assets/admin/css/elementor.min.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
.visual-portfolio-elementor-preview{position:relative;overflow:hidden;pointer-events:none}.visual-portfolio-elementor-preview iframe{max-width:none;min-height:20px}
|
assets/admin/css/gutenberg-block.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.wp-block-nk-visual-portfolio
|
1 |
+
.wp-block-nk-visual-portfolio .visual-portfolio-gutenberg-placeholder{-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;flex-wrap:wrap;-webkit-box-pack:start;justify-content:flex-start;min-height:0;padding:14px;background-color:#f8f9f9}.wp-block-nk-visual-portfolio .visual-portfolio-gutenberg-placeholder .components-placeholder__label{-webkit-box-flex:1;flex:1;-webkit-box-pack:start;justify-content:flex-start;margin-right:14px;margin-bottom:0}.wp-block-nk-visual-portfolio .visual-portfolio-gutenberg-placeholder .components-placeholder__label ~ *{width:auto}.wp-block-nk-visual-portfolio .visual-portfolio-gutenberg-placeholder .components-placeholder__fieldset{display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:start;justify-content:flex-start}.wp-block-nk-visual-portfolio .visual-portfolio-gutenberg-placeholder .components-placeholder__fieldset>a{margin-right:10px}.wp-block-nk-visual-portfolio .visual-portfolio-gutenberg-placeholder .components-placeholder__fieldset>.components-base-control{-webkit-box-flex:1;flex:1}.wp-block-nk-visual-portfolio .visual-portfolio-gutenberg-placeholder .spinner,.wp-block-nk-visual-portfolio .visual-portfolio-gutenberg-placeholder .components-base-control,.wp-block-nk-visual-portfolio .visual-portfolio-gutenberg-placeholder .components-base-control__field{margin:0}.wp-block-nk-visual-portfolio .visual-portfolio-gutenberg-preview{position:relative;overflow:hidden;pointer-events:none}.wp-block-nk-visual-portfolio .visual-portfolio-gutenberg-preview iframe{width:100%;max-width:none;min-height:20px;margin:0}
|
assets/admin/css/layouts-editor.min.css
CHANGED
@@ -2,4 +2,4 @@
|
|
2 |
* Name : Visual Portfolio
|
3 |
* Version : @@plugin_version
|
4 |
* Author : nK https://nkdev.info
|
5 |
-
*/.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}.post-type-vp_lists.post-php.rtl #post-body.columns-2 #postbox-container-1,.post-type-vp_lists.post-new-php.rtl #post-body.columns-2 #postbox-container-1{right:auto;left:300px}.vp-control{display:-webkit-box;display:flex;flex-wrap:wrap;-webkit-box-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{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 *{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;flex:1;width:100%;padding:0;background:transparent;-webkit-appearance:none;-moz-appearance:none;appearance:none}.vp-control-range [type="range"]::-webkit-slider-thumb{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;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 *{box-sizing:border-box}.vp-control-toggle .vp-toggle{position:relative}.vp-control-toggle .vp-toggle .vp-toggle__track{content:"";display:inline-block;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{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:flex;-webkit-box-align:center;align-items:center;width:100%;padding:5px 7px;cursor:pointer;background-color:#fff;border:1px solid #ddd;box-shadow:inset 0 1px 2px rgba(0,0,0,0.07)}.vp-control-image-dropdown,.vp-control-image-dropdown *{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;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;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;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:flex;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;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;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_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:flex;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;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;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;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:flex;-webkit-box-flex:0;flex:0 1 auto;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;flex-wrap:wrap}.vp-select2-ajax__result .vp-select2-ajax__result-img{position:relative;-webkit-box-flex:0;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{position:relative;border-bottom:1px solid #eaeaea}.vp-control-gallery .vp-control-gallery-additional-data{position:absolute;box-sizing:border-box;top:-15px;right:-365px;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>div{-webkit-transition:.3s margin-top;transition:.3s margin-top}.vp-control-gallery .vp-control-gallery-additional-data>div>.vp-control:last-of-type{margin-bottom:0}.vp-control-gallery .vp-control-gallery-additional-data.active{right:-15px}.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: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;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:flex;flex-wrap:wrap;align-content:flex-start;width:120%;min-height:325px;padding:7px;margin:-12px;margin-bottom:0;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%;-o-object-fit:cover;object-fit:cover;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{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:flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center;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}.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;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}.post-type-vp_lists .CodeMirror-resizer{display:none;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center;width:100%;height:20px;margin-top:-2px;font-size:13px;cursor:row-resize;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:#fbfbfb}.post-type-vp_lists .CodeMirror-resizer::before{content:"\2261";position:absolute;left:50%;color:#999}.post-type-vp_lists .CodeMirror-resizer:hover{background:#f7f7f7}.post-type-vp_lists .CodeMirror-resizer:hover::before{color:#000}.post-type-vp_lists .CodeMirror ~ .CodeMirror-resizer{display:block}@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}
|
2 |
* Name : Visual Portfolio
|
3 |
* Version : @@plugin_version
|
4 |
* Author : nK https://nkdev.info
|
5 |
+
*/.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}.post-type-vp_lists.post-php.rtl #post-body.columns-2 #postbox-container-1,.post-type-vp_lists.post-new-php.rtl #post-body.columns-2 #postbox-container-1{right:auto;left:300px}.vp-control{display:-webkit-box;display:flex;flex-wrap:wrap;-webkit-box-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{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 *{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;flex:1;width:100%;padding:0;background:transparent;-webkit-appearance:none;-moz-appearance:none;appearance:none}.vp-control-range [type="range"]::-webkit-slider-thumb{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;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 *{box-sizing:border-box}.vp-control-toggle .vp-toggle{position:relative}.vp-control-toggle .vp-toggle .vp-toggle__track{content:"";display:inline-block;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{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:flex;-webkit-box-align:center;align-items:center;width:100%;padding:5px 7px;cursor:pointer;background-color:#fff;border:1px solid #ddd;box-shadow:inset 0 1px 2px rgba(0,0,0,0.07)}.vp-control-image-dropdown,.vp-control-image-dropdown *{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;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;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;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:flex;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;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;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_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:flex;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;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;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;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:flex;-webkit-box-flex:0;flex:0 1 auto;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;flex-wrap:wrap}.vp-select2-ajax__result .vp-select2-ajax__result-img{position:relative;-webkit-box-flex:0;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{position:relative;border-bottom:1px solid #eaeaea}.vp-control-gallery .vp-control-gallery-additional-data{position:absolute;box-sizing:border-box;top:-15px;right:-365px;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>div{-webkit-transition:.3s margin-top;transition:.3s margin-top}.vp-control-gallery .vp-control-gallery-additional-data>div>.vp-control:last-of-type{margin-bottom:0}.vp-control-gallery .vp-control-gallery-additional-data.active{right:-15px}.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: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;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:flex;flex-wrap:wrap;align-content:flex-start;width:120%;min-height:325px;padding:7px;margin:-12px;margin-bottom:0;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%;-o-object-fit:cover;object-fit:cover;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{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:flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center;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}.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;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}.post-type-vp_lists .CodeMirror-resizer{display:none;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center;width:100%;height:20px;margin-top:-2px;font-size:13px;cursor:row-resize;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:#fbfbfb}.post-type-vp_lists .CodeMirror-resizer::before{content:"\2261";position:absolute;left:50%;color:#999}.post-type-vp_lists .CodeMirror-resizer:hover{background:#f7f7f7}.post-type-vp_lists .CodeMirror-resizer:hover::before{color:#000}.post-type-vp_lists .CodeMirror ~ .CodeMirror-resizer{display:block}.vp-dom-tree-help code{display:inline-block;padding:2px 6px;line-height:1.2;color:#595d67;cursor:pointer;background-color:#dcdfe6;border-radius:3px;-webkit-transition:.15s background-color, .15s color;transition:.15s background-color, .15s color}.vp-dom-tree-help code:hover{color:#2a2c30;background-color:#bec4d1}.vp-dom-tree{padding:15px;padding-top:1px;padding-bottom:0;padding-left:0;font-family:monospace;color:#67666d;background-color:#f9f9fa;border:1px solid #ddd}.vp-dom-tree .spinner{float:none;margin-top:15px;margin-bottom:15px}.vp-dom-tree ul{position:relative;padding-left:15px;list-style:none}.vp-dom-tree .vp-dom-tree-node>div{position:relative;display:inline-block;line-height:1.6}.vp-dom-tree .vp-dom-tree-node-class{display:inline-block;padding:2px 6px;line-height:1.2;color:#595d67;cursor:pointer;background-color:#dcdfe6;border-radius:3px;-webkit-transition:.15s background-color, .15s color;transition:.15s background-color, .15s color}.vp-dom-tree .vp-dom-tree-node-class:hover{color:#2a2c30;background-color:#bec4d1}.vp-dom-tree .vp-dom-tree-node-class+.vp-dom-tree-node-class{margin-left:5px}.vp-dom-tree .vp-dom-tree-node-collapse{position:relative;display:inline-block;top:-1px;margin-right:5px;cursor:pointer;border-top:6px solid;border-right:4px solid transparent;border-left:4px solid transparent}.vp-dom-tree .vp-dom-tree-node-collapse::after{content:"";position:absolute;display:block;top:-12px;right:-10px;bottom:-7px;left:-10px}.vp-dom-tree .is-collapsed .vp-dom-tree-node-collapse{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.vp-dom-tree .is-collapsed ~ .vp-dom-tree-child{display:none}.vp-dom-tree .vp-dom-tree-child{position:relative}.vp-dom-tree .vp-dom-tree-child::before{content:"";position:absolute;display:block;top:-3px;right:0;bottom:-3px;left:8px;background-color:#f0f0f1;border-radius:4px;opacity:0;-webkit-transition:.2s opacity;transition:.2s opacity}.vp-dom-tree .vp-dom-tree-node:hover ~ .vp-dom-tree-child::before{opacity:1}@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/elementor.js
ADDED
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*!
|
2 |
+
* Additional js for Elementor
|
3 |
+
*
|
4 |
+
* Name : Visual Portfolio
|
5 |
+
* Version : 1.15.0
|
6 |
+
* Author : nK https://nkdev.info
|
7 |
+
*/
|
8 |
+
import { throttle } from 'throttle-debounce';
|
9 |
+
|
10 |
+
const {
|
11 |
+
elementorFrontend,
|
12 |
+
VPAdminElementorVariables: variables,
|
13 |
+
} = window;
|
14 |
+
|
15 |
+
const $ = window.jQuery;
|
16 |
+
const $wnd = $( window );
|
17 |
+
|
18 |
+
$( window ).on( 'elementor/frontend/init', function( $data ) {
|
19 |
+
if ( ! variables ) {
|
20 |
+
return;
|
21 |
+
}
|
22 |
+
|
23 |
+
const {
|
24 |
+
target: elementorWindow,
|
25 |
+
} = $data;
|
26 |
+
|
27 |
+
// add fake iframe width, so @media styles will work fine.
|
28 |
+
function maybeResizePreviews() {
|
29 |
+
const elementorWidth = elementorWindow.jQuery( elementorWindow.document ).width();
|
30 |
+
|
31 |
+
elementorWindow.jQuery.find( '.visual-portfolio-elementor-preview iframe' ).forEach( ( item ) => {
|
32 |
+
const $this = $( item );
|
33 |
+
const parentWidth = $this.parent().width();
|
34 |
+
|
35 |
+
$this.css( {
|
36 |
+
width: elementorWidth,
|
37 |
+
} );
|
38 |
+
|
39 |
+
if ( item.iFrameResizer ) {
|
40 |
+
item.iFrameResizer.sendMessage( {
|
41 |
+
name: 'resize',
|
42 |
+
width: parentWidth,
|
43 |
+
} );
|
44 |
+
item.iFrameResizer.resize();
|
45 |
+
}
|
46 |
+
} );
|
47 |
+
}
|
48 |
+
|
49 |
+
// window resize.
|
50 |
+
$wnd.on( 'resize', throttle( 300, maybeResizePreviews ) );
|
51 |
+
|
52 |
+
// added/changed widget.
|
53 |
+
elementorFrontend.hooks.addAction( 'frontend/element_ready/visual-portfolio.default', $scope => {
|
54 |
+
const $block = $( $scope ).find( '.visual-portfolio-elementor-preview' );
|
55 |
+
const $frame = $block.find( 'iframe' );
|
56 |
+
const id = $block.attr( 'data-id' );
|
57 |
+
const iframeURL = variables.preview_url + ( variables.preview_url.split( '?' )[ 1 ] ? '&' : '?' ) + `vp_preview_frame=true&vp_preview_type=elementor&vp_preview_frame_id=${ id }`;
|
58 |
+
|
59 |
+
$frame.attr( 'src', iframeURL );
|
60 |
+
|
61 |
+
// resize iframe
|
62 |
+
if ( $.fn.iFrameResize ) {
|
63 |
+
$frame.iFrameResize( {
|
64 |
+
onInit() {
|
65 |
+
maybeResizePreviews();
|
66 |
+
},
|
67 |
+
} );
|
68 |
+
}
|
69 |
+
} );
|
70 |
+
} );
|
assets/admin/js/elementor.min.js
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
!function(e){var n={};function t(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.l=!0,i.exports}t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var i in e)t.d(r,i,function(n){return e[n]}.bind(null,i));return 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,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s=34)}({0:function(e,n,t){"use strict";function r(e,n,t,r){var i,o=!1,u=0;function a(){i&&clearTimeout(i)}function f(){var f=this,c=Date.now()-u,d=arguments;function l(){u=Date.now(),t.apply(f,d)}o||(r&&!i&&l(),a(),void 0===r&&c>e?l():!0!==n&&(i=setTimeout(r?function(){i=void 0}:l,void 0===r?e-c:e)))}return"boolean"!=typeof n&&(r=t,t=n,n=void 0),f.cancel=function(){a(),o=!0},f}function i(e,n,t){return void 0===t?r(e,n,!1):r(e,t,!1!==n)}t.d(n,"b",(function(){return r})),t.d(n,"a",(function(){return i}))},34:function(e,n,t){e.exports=t(35)},35:function(e,n,t){"use strict";t.r(n);var r=t(0),i=window,o=i.elementorFrontend,u=i.VPAdminElementorVariables,a=window.jQuery,f=a(window);
|
2 |
+
/*!
|
3 |
+
* Additional js for Elementor
|
4 |
+
*
|
5 |
+
* Name : Visual Portfolio
|
6 |
+
* Version : @@plugin_version
|
7 |
+
* Author : nK https://nkdev.info
|
8 |
+
*/a(window).on("elementor/frontend/init",(function(e){if(u){var n=e.target;f.on("resize",Object(r.b)(300,t)),o.hooks.addAction("frontend/element_ready/visual-portfolio.default",(function(e){var n=a(e).find(".visual-portfolio-elementor-preview"),r=n.find("iframe"),i=n.attr("data-id"),o=u.preview_url+(u.preview_url.split("?")[1]?"&":"?")+"vp_preview_frame=true&vp_preview_type=elementor&vp_preview_frame_id=".concat(i);r.attr("src",o),a.fn.iFrameResize&&r.iFrameResize({onInit:function(){t()}})}))}function t(){var e=n.jQuery(n.document).width();n.jQuery.find(".visual-portfolio-elementor-preview iframe").forEach((function(n){var t=a(n),r=t.parent().width();t.css({width:e}),n.iFrameResizer&&(n.iFrameResizer.sendMessage({name:"resize",width:r}),n.iFrameResizer.resize())}))}}))}});
|
assets/admin/js/gutenberg-block.min.js
CHANGED
@@ -1,12 +1,6 @@
|
|
1 |
-
!function(t){var n={};function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)e.d(r,o,function(n){return t[n]}.bind(null,o));return r},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=161)}([function(t,n,e){var r=e(1),o=e(7),i=e(14),u=e(11),a=e(17),c=function(t,n,e){var f,s,l,p,h=t&c.F,d=t&c.G,v=t&c.S,y=t&c.P,g=t&c.B,m=d?r:v?r[n]||(r[n]={}):(r[n]||{}).prototype,b=d?o:o[n]||(o[n]={}),w=b.prototype||(b.prototype={});for(f in d&&(e=n),e)l=((s=!h&&m&&void 0!==m[f])?m:e)[f],p=g&&s?a(l,r):y&&"function"==typeof l?a(Function.call,l):l,m&&u(m,f,l,t&c.U),b[f]!=l&&i(b,f,p),y&&w[f]!=l&&(w[f]=l)};r.core=o,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},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,e){var r=e(4);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n,e){var r=e(61)("wks"),o=e(31),i=e(1).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(19),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,n){var e=t.exports={version:"2.6.9"};"number"==typeof __e&&(__e=e)},function(t,n,e){t.exports=!e(2)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,n,e){var r=e(3),o=e(116),i=e(28),u=Object.defineProperty;n.f=e(8)?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(25);t.exports=function(t){return Object(r(t))}},function(t,n,e){var r=e(1),o=e(14),i=e(13),u=e(31)("src"),a=e(168),c=(""+a).split("toString");e(7).inspectSource=function(t){return a.call(t)},(t.exports=function(t,n,e,a){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]:c.join(String(n)))),t===r?t[n]=e:a?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]||a.call(this)})},function(t,n,e){var r=e(0),o=e(2),i=e(25),u=/"/g,a=function(t,n,e,r){var o=String(i(t)),a="<"+n;return""!==e&&(a+=" "+e+'="'+String(r).replace(u,""")+'"'),a+">"+o+"</"+n+">"};t.exports=function(t,n){var e={};e[t]=n(a),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(9),o=e(30);t.exports=e(8)?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(54),o=e(25);t.exports=function(t){return r(o(t))}},function(t,n,e){"use strict";var r=e(2);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(18);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){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");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(55),o=e(30),i=e(15),u=e(28),a=e(13),c=e(116),f=Object.getOwnPropertyDescriptor;n.f=e(8)?f:function(t,n){if(t=i(t),n=u(n,!0),c)try{return f(t,n)}catch(t){}if(a(t,n))return o(!r.f.call(t,n),t[n])}},function(t,n,e){var r=e(0),o=e(7),i=e(2);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(17),o=e(54),i=e(10),u=e(6),a=e(132);t.exports=function(t,n){var e=1==t,c=2==t,f=3==t,s=4==t,l=6==t,p=5==t||l,h=n||a;return function(n,a,d){for(var v,y,g=i(n),m=o(g),b=r(a,d,3),w=u(m.length),x=0,S=e?h(n,w):c?h(n,0):void 0;w>x;x++)if((p||x in m)&&(y=b(v=m[x],x,g),t))if(e)S[x]=y;else if(y)switch(t){case 3:return!0;case 5:return v;case 6:return x;case 2:S.push(v)}else if(s)return!1;return l?-1:f||s?s:S}}},function(t,n){var e=t.exports={version:"2.6.9"};"number"==typeof __e&&(__e=e)},function(t,n){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},function(t,n){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,n,e){"use strict";if(e(8)){var r=e(32),o=e(1),i=e(2),u=e(0),a=e(72),c=e(100),f=e(17),s=e(48),l=e(30),p=e(14),h=e(49),d=e(19),v=e(6),y=e(143),g=e(34),m=e(28),b=e(13),w=e(56),x=e(4),S=e(10),_=e(92),O=e(35),E=e(37),M=e(36).f,P=e(94),T=e(31),F=e(5),I=e(22),j=e(62),A=e(57),k=e(96),N=e(46),R=e(65),L=e(47),C=e(95),z=e(134),W=e(9),D=e(20),V=W.f,B=D.f,U=o.RangeError,G=o.TypeError,H=o.Uint8Array,q=Array.prototype,Y=c.ArrayBuffer,J=c.DataView,K=I(0),X=I(2),$=I(3),Q=I(4),Z=I(5),tt=I(6),nt=j(!0),et=j(!1),rt=k.values,ot=k.keys,it=k.entries,ut=q.lastIndexOf,at=q.reduce,ct=q.reduceRight,ft=q.join,st=q.sort,lt=q.slice,pt=q.toString,ht=q.toLocaleString,dt=F("iterator"),vt=F("toStringTag"),yt=T("typed_constructor"),gt=T("def_constructor"),mt=a.CONSTR,bt=a.TYPED,wt=a.VIEW,xt=I(1,function(t,n){return Mt(A(t,t[gt]),n)}),St=i(function(){return 1===new H(new Uint16Array([1]).buffer)[0]}),_t=!!H&&!!H.prototype.set&&i(function(){new H(1).set({})}),Ot=function(t,n){var e=d(t);if(e<0||e%n)throw U("Wrong offset!");return e},Et=function(t){if(x(t)&&bt in t)return t;throw G(t+" is not a typed array!")},Mt=function(t,n){if(!(x(t)&&yt in t))throw G("It is not a typed array constructor!");return new t(n)},Pt=function(t,n){return Tt(A(t,t[gt]),n)},Tt=function(t,n){for(var e=0,r=n.length,o=Mt(t,r);r>e;)o[e]=n[e++];return o},Ft=function(t,n,e){V(t,n,{get:function(){return this._d[e]}})},It=function(t){var n,e,r,o,i,u,a=S(t),c=arguments.length,s=c>1?arguments[1]:void 0,l=void 0!==s,p=P(a);if(null!=p&&!_(p)){for(u=p.call(a),r=[],n=0;!(i=u.next()).done;n++)r.push(i.value);a=r}for(l&&c>2&&(s=f(s,arguments[2],2)),n=0,e=v(a.length),o=Mt(this,e);e>n;n++)o[n]=l?s(a[n],n):a[n];return o},jt=function(){for(var t=0,n=arguments.length,e=Mt(this,n);n>t;)e[t]=arguments[t++];return e},At=!!H&&i(function(){ht.call(new H(1))}),kt=function(){return ht.apply(At?lt.call(Et(this)):Et(this),arguments)},Nt={copyWithin:function(t,n){return z.call(Et(this),t,n,arguments.length>2?arguments[2]:void 0)},every:function(t){return Q(Et(this),t,arguments.length>1?arguments[1]:void 0)},fill:function(t){return C.apply(Et(this),arguments)},filter:function(t){return Pt(this,X(Et(this),t,arguments.length>1?arguments[1]:void 0))},find:function(t){return Z(Et(this),t,arguments.length>1?arguments[1]:void 0)},findIndex:function(t){return tt(Et(this),t,arguments.length>1?arguments[1]:void 0)},forEach:function(t){K(Et(this),t,arguments.length>1?arguments[1]:void 0)},indexOf:function(t){return et(Et(this),t,arguments.length>1?arguments[1]:void 0)},includes:function(t){return nt(Et(this),t,arguments.length>1?arguments[1]:void 0)},join:function(t){return ft.apply(Et(this),arguments)},lastIndexOf:function(t){return ut.apply(Et(this),arguments)},map:function(t){return xt(Et(this),t,arguments.length>1?arguments[1]:void 0)},reduce:function(t){return at.apply(Et(this),arguments)},reduceRight:function(t){return ct.apply(Et(this),arguments)},reverse:function(){for(var t,n=Et(this).length,e=Math.floor(n/2),r=0;r<e;)t=this[r],this[r++]=this[--n],this[n]=t;return this},some:function(t){return $(Et(this),t,arguments.length>1?arguments[1]:void 0)},sort:function(t){return st.call(Et(this),t)},subarray:function(t,n){var e=Et(this),r=e.length,o=g(t,r);return new(A(e,e[gt]))(e.buffer,e.byteOffset+o*e.BYTES_PER_ELEMENT,v((void 0===n?r:g(n,r))-o))}},Rt=function(t,n){return Pt(this,lt.call(Et(this),t,n))},Lt=function(t){Et(this);var n=Ot(arguments[1],1),e=this.length,r=S(t),o=v(r.length),i=0;if(o+n>e)throw U("Wrong length!");for(;i<o;)this[n+i]=r[i++]},Ct={entries:function(){return it.call(Et(this))},keys:function(){return ot.call(Et(this))},values:function(){return rt.call(Et(this))}},zt=function(t,n){return x(t)&&t[bt]&&"symbol"!=typeof n&&n in t&&String(+n)==String(n)},Wt=function(t,n){return zt(t,n=m(n,!0))?l(2,t[n]):B(t,n)},Dt=function(t,n,e){return!(zt(t,n=m(n,!0))&&x(e)&&b(e,"value"))||b(e,"get")||b(e,"set")||e.configurable||b(e,"writable")&&!e.writable||b(e,"enumerable")&&!e.enumerable?V(t,n,e):(t[n]=e.value,t)};mt||(D.f=Wt,W.f=Dt),u(u.S+u.F*!mt,"Object",{getOwnPropertyDescriptor:Wt,defineProperty:Dt}),i(function(){pt.call({})})&&(pt=ht=function(){return ft.call(this)});var Vt=h({},Nt);h(Vt,Ct),p(Vt,dt,Ct.values),h(Vt,{slice:Rt,set:Lt,constructor:function(){},toString:pt,toLocaleString:kt}),Ft(Vt,"buffer","b"),Ft(Vt,"byteOffset","o"),Ft(Vt,"byteLength","l"),Ft(Vt,"length","e"),V(Vt,vt,{get:function(){return this[bt]}}),t.exports=function(t,n,e,c){var f=t+((c=!!c)?"Clamped":"")+"Array",l="get"+t,h="set"+t,d=o[f],g=d||{},m=d&&E(d),b=!d||!a.ABV,S={},_=d&&d.prototype,P=function(t,e){V(t,e,{get:function(){return function(t,e){var r=t._d;return r.v[l](e*n+r.o,St)}(this,e)},set:function(t){return function(t,e,r){var o=t._d;c&&(r=(r=Math.round(r))<0?0:r>255?255:255&r),o.v[h](e*n+o.o,r,St)}(this,e,t)},enumerable:!0})};b?(d=e(function(t,e,r,o){s(t,d,f,"_d");var i,u,a,c,l=0,h=0;if(x(e)){if(!(e instanceof Y||"ArrayBuffer"==(c=w(e))||"SharedArrayBuffer"==c))return bt in e?Tt(d,e):It.call(d,e);i=e,h=Ot(r,n);var g=e.byteLength;if(void 0===o){if(g%n)throw U("Wrong length!");if((u=g-h)<0)throw U("Wrong length!")}else if((u=v(o)*n)+h>g)throw U("Wrong length!");a=u/n}else a=y(e),i=new Y(u=a*n);for(p(t,"_d",{b:i,o:h,l:u,e:a,v:new J(i)});l<a;)P(t,l++)}),_=d.prototype=O(Vt),p(_,"constructor",d)):i(function(){d(1)})&&i(function(){new d(-1)})&&R(function(t){new d,new d(null),new d(1.5),new d(t)},!0)||(d=e(function(t,e,r,o){var i;return s(t,d,f),x(e)?e instanceof Y||"ArrayBuffer"==(i=w(e))||"SharedArrayBuffer"==i?void 0!==o?new g(e,Ot(r,n),o):void 0!==r?new g(e,Ot(r,n)):new g(e):bt in e?Tt(d,e):It.call(d,e):new g(y(e))}),K(m!==Function.prototype?M(g).concat(M(m)):M(g),function(t){t in d||p(d,t,g[t])}),d.prototype=_,r||(_.constructor=d));var T=_[dt],F=!!T&&("values"==T.name||null==T.name),I=Ct.values;p(d,yt,!0),p(_,bt,f),p(_,wt,!0),p(_,gt,d),(c?new d(1)[vt]==f:vt in _)||V(_,vt,{get:function(){return f}}),S[f]=d,u(u.G+u.W+u.F*(d!=g),S),u(u.S,f,{BYTES_PER_ELEMENT:n}),u(u.S+u.F*i(function(){g.of.call(d,1)}),f,{from:It,of:jt}),"BYTES_PER_ELEMENT"in _||p(_,"BYTES_PER_ELEMENT",n),u(u.P,f,Nt),L(f),u(u.P+u.F*_t,f,{set:Lt}),u(u.P+u.F*!F,f,Ct),r||_.toString==pt||(_.toString=pt),u(u.P+u.F*i(function(){new d(1).slice()}),f,{slice:Rt}),u(u.P+u.F*(i(function(){return[1,2].toLocaleString()!=new d([1,2]).toLocaleString()})||!i(function(){_.toLocaleString.call([1,2])})),f,{toLocaleString:kt}),N[f]=F?T:I,r||F||p(_,dt,I)}}else t.exports=function(){}},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,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,e){var r=e(31)("meta"),o=e(4),i=e(13),u=e(9).f,a=0,c=Object.isExtensible||function(){return!0},f=!e(2)(function(){return c(Object.preventExtensions({}))}),s=function(t){u(t,r,{value:{i:"O"+ ++a,w:{}}})},l=t.exports={KEY:r,NEED:!1,fastKey:function(t,n){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,r)){if(!c(t))return"F";if(!n)return"E";s(t)}return t[r].i},getWeak:function(t,n){if(!i(t,r)){if(!c(t))return!0;if(!n)return!1;s(t)}return t[r].w},onFreeze:function(t){return f&&l.NEED&&c(t)&&!i(t,r)&&s(t),t}}},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){t.exports=!1},function(t,n,e){var r=e(118),o=e(79);t.exports=Object.keys||function(t){return r(t,o)}},function(t,n,e){var r=e(19),o=Math.max,i=Math.min;t.exports=function(t,n){return(t=r(t))<0?o(t+n,0):i(t,n)}},function(t,n,e){var r=e(3),o=e(119),i=e(79),u=e(78)("IE_PROTO"),a=function(){},c=function(){var t,n=e(76)("iframe"),r=i.length;for(n.style.display="none",e(80).appendChild(n),n.src="javascript:",(t=n.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),c=t.F;r--;)delete c.prototype[i[r]];return c()};t.exports=Object.create||function(t,n){var e;return null!==t?(a.prototype=r(t),e=new a,a.prototype=null,e[u]=t):e=c(),void 0===n?e:o(e,n)}},function(t,n,e){var r=e(118),o=e(79).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,n,e){var r=e(13),o=e(10),i=e(78)("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(5)("unscopables"),o=Array.prototype;null==o[r]&&e(14)(o,r,{}),t.exports=function(t){o[r][t]=!0}},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(27),o=e(23),i=e(147),u=e(50),a=e(43),c=function(t,n,e){var f,s,l,p=t&c.F,h=t&c.G,d=t&c.S,v=t&c.P,y=t&c.B,g=t&c.W,m=h?o:o[n]||(o[n]={}),b=m.prototype,w=h?r:d?r[n]:(r[n]||{}).prototype;for(f in h&&(e=n),e)(s=!p&&w&&void 0!==w[f])&&a(m,f)||(l=s?w[f]:e[f],m[f]=h&&"function"!=typeof w[f]?e[f]:y&&s?i(l,r):g&&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&&((m.virtual||(m.virtual={}))[f]=l,t&c.R&&b&&!b[f]&&u(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,t.exports=c},function(t,n,e){var r=e(58),o=e(148),i=e(101),u=Object.defineProperty;n.f=e(42)?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(59)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,n){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},function(t,n,e){var r=e(9).f,o=e(13),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(25),i=e(2),u=e(82),a="["+u+"]",c=RegExp("^"+a+a+"*"),f=RegExp(a+a+"*$"),s=function(t,n,e){var o={},a=i(function(){return!!u[t]()||"
"!="
"[t]()}),c=o[t]=a?n(l):u[t];e&&(o[e]=c),r(r.P+r.F*a,"String",o)},l=s.trim=function(t,n){return t=String(o(t)),1&n&&(t=t.replace(c,"")),2&n&&(t=t.replace(f,"")),t};t.exports=s},function(t,n){t.exports={}},function(t,n,e){"use strict";var r=e(1),o=e(9),i=e(8),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(11);t.exports=function(t,n,e){for(var o in n)r(t,o,n[o],e);return t}},function(t,n,e){var r=e(41),o=e(73);t.exports=e(42)?function(t,n,e){return r.f(t,n,o(1,e))}:function(t,n,e){return t[n]=e,t}},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n,e){var r=e(356),o=e(103);t.exports=function(t){return r(o(t))}},function(t,n,e){var r=e(105)("wks"),o=e(75),i=e(27).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(24);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(24),o=e(5)("toStringTag"),i="Arguments"==r(function(){return arguments}());t.exports=function(t){var n,e,u;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=function(t,n){try{return t[n]}catch(t){}}(n=Object(t),o))?e:i?r(n):"Object"==(u=r(n))&&"function"==typeof n.callee?"Arguments":u}},function(t,n,e){var r=e(3),o=e(18),i=e(5)("species");t.exports=function(t,n){var e,u=r(t).constructor;return void 0===u||null==(e=r(u)[i])?n:o(e)}},function(t,n,e){var r=e(51);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){t.exports=React},function(t,n,e){var r=e(7),o=e(1),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(32)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(t,n,e){var r=e(15),o=e(6),i=e(34);t.exports=function(t){return function(n,e,u){var a,c=r(n),f=o(c.length),s=i(u,f);if(t&&e!=e){for(;f>s;)if((a=c[s++])!=a)return!0}else for(;f>s;s++)if((t||s in c)&&c[s]===e)return t||s||0;return!t&&-1}}},function(t,n){n.f=Object.getOwnPropertySymbols},function(t,n,e){var r=e(24);t.exports=Array.isArray||function(t){return"Array"==r(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(3);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(56),o=RegExp.prototype.exec;t.exports=function(t,n){var e=t.exec;if("function"==typeof e){var i=e.call(t,n);if("object"!=typeof i)throw new TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(t))throw new TypeError("RegExp#exec called on incompatible receiver");return o.call(t,n)}},function(t,n,e){"use strict";e(136);var r=e(11),o=e(14),i=e(2),u=e(25),a=e(5),c=e(97),f=a("species"),s=!i(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}),l=function(){var t=/(?:)/,n=t.exec;t.exec=function(){return n.apply(this,arguments)};var e="ab".split(t);return 2===e.length&&"a"===e[0]&&"b"===e[1]}();t.exports=function(t,n,e){var p=a(t),h=!i(function(){var n={};return n[p]=function(){return 7},7!=""[t](n)}),d=h?!i(function(){var n=!1,e=/a/;return e.exec=function(){return n=!0,null},"split"===t&&(e.constructor={},e.constructor[f]=function(){return e}),e[p](""),!n}):void 0;if(!h||!d||"replace"===t&&!s||"split"===t&&!l){var v=/./[p],y=e(u,p,""[t],function(t,n,e,r,o){return n.exec===c?h&&!o?{done:!0,value:v.call(n,e,r)}:{done:!0,value:t.call(e,n,r)}:{done:!1}}),g=y[0],m=y[1];r(String.prototype,t,g),o(RegExp.prototype,p,2==n?function(t,n){return m.call(t,this,n)}:function(t){return m.call(t,this)})}}},function(t,n,e){var r=e(17),o=e(131),i=e(92),u=e(3),a=e(6),c=e(94),f={},s={};(n=t.exports=function(t,n,e,l,p){var h,d,v,y,g=p?function(){return t}:c(t),m=r(e,l,n?2:1),b=0;if("function"!=typeof g)throw TypeError(t+" is not iterable!");if(i(g)){for(h=a(t.length);h>b;b++)if((y=n?m(u(d=t[b])[0],d[1]):m(t[b]))===f||y===s)return y}else for(v=g.call(t);!(d=v.next()).done;)if((y=o(v,m,d.value,n))===f||y===s)return y}).BREAK=f,n.RETURN=s},function(t,n,e){var r=e(1).navigator;t.exports=r&&r.userAgent||""},function(t,n,e){"use strict";var r=e(1),o=e(0),i=e(11),u=e(49),a=e(29),c=e(69),f=e(48),s=e(4),l=e(2),p=e(65),h=e(44),d=e(83);t.exports=function(t,n,e,v,y,g){var m=r[t],b=m,w=y?"set":"add",x=b&&b.prototype,S={},_=function(t){var n=x[t];i(x,t,"delete"==t?function(t){return!(g&&!s(t))&&n.call(this,0===t?0:t)}:"has"==t?function(t){return!(g&&!s(t))&&n.call(this,0===t?0:t)}:"get"==t?function(t){return g&&!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&&(g||x.forEach&&!l(function(){(new b).entries().next()}))){var O=new b,E=O[w](g?{}:-0,1)!=O,M=l(function(){O.has(1)}),P=p(function(t){new b(t)}),T=!g&&l(function(){for(var t=new b,n=5;n--;)t[w](n,n);return!t.has(-0)});P||((b=n(function(n,e){f(n,b,t);var r=d(new m,n,b);return null!=e&&c(e,y,r[w],r),r})).prototype=x,x.constructor=b),(M||T)&&(_("delete"),_("has"),y&&_("get")),(T||E)&&_(w),g&&x.clear&&delete x.clear}else b=v.getConstructor(n,t,y,w),u(b.prototype,e),a.NEED=!0;return h(b,t),S[t]=b,o(o.G+o.W+o.F*(b!=m),S),g||v.setStrong(b,t,y),b}},function(t,n,e){for(var r,o=e(1),i=e(14),u=e(31),a=u("typed_array"),c=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,a,!0),i(r.prototype,c,!0)):s=!1;t.exports={ABV:f,CONSTR:s,TYPED:a,VIEW:c}},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},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,e){var r=e(4),o=e(1).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,n,e){n.f=e(5)},function(t,n,e){var r=e(61)("keys"),o=e(31);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(1).document;t.exports=r&&r.documentElement},function(t,n,e){var r=e(4),o=e(3),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(17)(Function.call,e(20).f(Object.prototype,"__proto__").set,2))(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(81).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(19),o=e(25);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(19),o=e(25);t.exports=function(t){return function(n,e){var i,u,a=String(o(n)),c=r(e),f=a.length;return c<0||c>=f?t?"":void 0:(i=a.charCodeAt(c))<55296||i>56319||c+1===f||(u=a.charCodeAt(c+1))<56320||u>57343?t?a.charAt(c):i:t?a.slice(c,c+2):u-56320+(i-55296<<10)+65536}}},function(t,n,e){"use strict";var r=e(32),o=e(0),i=e(11),u=e(14),a=e(46),c=e(130),f=e(44),s=e(37),l=e(5)("iterator"),p=!([].keys&&"next"in[].keys()),h=function(){return this};t.exports=function(t,n,e,d,v,y,g){c(e,n,d);var m,b,w,x=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)}},S=n+" Iterator",_="values"==v,O=!1,E=t.prototype,M=E[l]||E["@@iterator"]||v&&E[v],P=M||x(v),T=v?_?x("entries"):P:void 0,F="Array"==n&&E.entries||M;if(F&&(w=s(F.call(new t)))!==Object.prototype&&w.next&&(f(w,S,!0),r||"function"==typeof w[l]||u(w,l,h)),_&&M&&"values"!==M.name&&(O=!0,P=function(){return M.call(this)}),r&&!g||!p&&!O&&E[l]||u(E,l,P),a[n]=P,a[S]=h,v)if(m={values:_?P:x("values"),keys:y?P:x("keys"),entries:T},g)for(b in m)b in E||i(E,b,m[b]);else o(o.P+o.F*(p||O),n,m);return m}},function(t,n,e){var r=e(90),o=e(25);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(4),o=e(24),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)("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(46),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(9),o=e(30);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(56),o=e(5)("iterator"),i=e(46);t.exports=e(7).getIteratorMethod=function(t){if(null!=t)return t[o]||t["@@iterator"]||i[r(t)]}},function(t,n,e){"use strict";var r=e(10),o=e(34),i=e(6);t.exports=function(t){for(var n=r(this),e=i(n.length),u=arguments.length,a=o(u>1?arguments[1]:void 0,e),c=u>2?arguments[2]:void 0,f=void 0===c?e:o(c,e);f>a;)n[a++]=t;return n}},function(t,n,e){"use strict";var r=e(38),o=e(135),i=e(46),u=e(15);t.exports=e(88)(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)):o(0,"keys"==n?e:"values"==n?t[e]:[e,t[e]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(t,n,e){"use strict";var r,o,i=e(66),u=RegExp.prototype.exec,a=String.prototype.replace,c=u,f=(r=/a/,o=/b*/g,u.call(r,"a"),u.call(o,"a"),0!==r.lastIndex||0!==o.lastIndex),s=void 0!==/()??/.exec("")[1];(f||s)&&(c=function(t){var n,e,r,o,c=this;return s&&(e=new RegExp("^"+c.source+"$(?!\\s)",i.call(c))),f&&(n=c.lastIndex),r=u.call(c,t),f&&r&&(c.lastIndex=c.global?r.index+r[0].length:n),s&&r&&r.length>1&&a.call(r[0],e,function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(r[o]=void 0)}),r}),t.exports=c},function(t,n,e){"use strict";var r=e(87)(!0);t.exports=function(t,n,e){return n+(e?r(t,n).length:1)}},function(t,n,e){var r,o,i,u=e(17),a=e(124),c=e(80),f=e(76),s=e(1),l=s.process,p=s.setImmediate,h=s.clearImmediate,d=s.MessageChannel,v=s.Dispatch,y=0,g={},m=function(){var t=+this;if(g.hasOwnProperty(t)){var n=g[t];delete g[t],n()}},b=function(t){m.call(t.data)};p&&h||(p=function(t){for(var n=[],e=1;arguments.length>e;)n.push(arguments[e++]);return g[++y]=function(){a("function"==typeof t?t:Function(t),n)},r(y),y},h=function(t){delete g[t]},"process"==e(24)(l)?r=function(t){l.nextTick(u(m,t,1))}:v&&v.now?r=function(t){v.now(u(m,t,1))}:d?(i=(o=new d).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){c.appendChild(f("script")).onreadystatechange=function(){c.removeChild(this),m.call(t)}}:function(t){setTimeout(u(m,t,1),0)}),t.exports={set:p,clear:h}},function(t,n,e){"use strict";var r=e(1),o=e(8),i=e(32),u=e(72),a=e(14),c=e(49),f=e(2),s=e(48),l=e(19),p=e(6),h=e(143),d=e(36).f,v=e(9).f,y=e(95),g=e(44),m="prototype",b="Wrong index!",w=r.ArrayBuffer,x=r.DataView,S=r.Math,_=r.RangeError,O=r.Infinity,E=w,M=S.abs,P=S.pow,T=S.floor,F=S.log,I=S.LN2,j=o?"_b":"buffer",A=o?"_l":"byteLength",k=o?"_o":"byteOffset";function N(t,n,e){var r,o,i,u=new Array(e),a=8*e-n-1,c=(1<<a)-1,f=c>>1,s=23===n?P(2,-24)-P(2,-77):0,l=0,p=t<0||0===t&&1/t<0?1:0;for((t=M(t))!=t||t===O?(o=t!=t?1:0,r=c):(r=T(F(t)/I),t*(i=P(2,-r))<1&&(r--,i*=2),(t+=r+f>=1?s/i:s*P(2,1-f))*i>=2&&(r++,i/=2),r+f>=c?(o=0,r=c):r+f>=1?(o=(t*i-1)*P(2,n),r+=f):(o=t*P(2,f-1)*P(2,n),r=0));n>=8;u[l++]=255&o,o/=256,n-=8);for(r=r<<n|o,a+=n;a>0;u[l++]=255&r,r/=256,a-=8);return u[--l]|=128*p,u}function R(t,n,e){var r,o=8*e-n-1,i=(1<<o)-1,u=i>>1,a=o-7,c=e-1,f=t[c--],s=127&f;for(f>>=7;a>0;s=256*s+t[c],c--,a-=8);for(r=s&(1<<-a)-1,s>>=-a,a+=n;a>0;r=256*r+t[c],c--,a-=8);if(0===s)s=1-u;else{if(s===i)return r?NaN:f?-O:O;r+=P(2,n),s-=u}return(f?-1:1)*r*P(2,s-n)}function L(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]}function C(t){return[255&t]}function z(t){return[255&t,t>>8&255]}function W(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function D(t){return N(t,52,8)}function V(t){return N(t,23,4)}function B(t,n,e){v(t[m],n,{get:function(){return this[e]}})}function U(t,n,e,r){var o=h(+e);if(o+n>t[A])throw _(b);var i=t[j]._b,u=o+t[k],a=i.slice(u,u+n);return r?a:a.reverse()}function G(t,n,e,r,o,i){var u=h(+e);if(u+n>t[A])throw _(b);for(var a=t[j]._b,c=u+t[k],f=r(+o),s=0;s<n;s++)a[c+s]=f[i?s:n-s-1]}if(u.ABV){if(!f(function(){w(1)})||!f(function(){new w(-1)})||f(function(){return new w,new w(1.5),new w(NaN),"ArrayBuffer"!=w.name})){for(var H,q=(w=function(t){return s(this,w),new E(h(t))})[m]=E[m],Y=d(E),J=0;Y.length>J;)(H=Y[J++])in w||a(w,H,E[H]);i||(q.constructor=w)}var K=new x(new w(2)),X=x[m].setInt8;K.setInt8(0,2147483648),K.setInt8(1,2147483649),!K.getInt8(0)&&K.getInt8(1)||c(x[m],{setInt8:function(t,n){X.call(this,t,n<<24>>24)},setUint8:function(t,n){X.call(this,t,n<<24>>24)}},!0)}else w=function(t){s(this,w,"ArrayBuffer");var n=h(t);this._b=y.call(new Array(n),0),this[A]=n},x=function(t,n,e){s(this,x,"DataView"),s(t,w,"DataView");var r=t[A],o=l(n);if(o<0||o>r)throw _("Wrong offset!");if(o+(e=void 0===e?r-o:p(e))>r)throw _("Wrong length!");this[j]=t,this[k]=o,this[A]=e},o&&(B(w,"byteLength","_l"),B(x,"buffer","_b"),B(x,"byteLength","_l"),B(x,"byteOffset","_o")),c(x[m],{getInt8:function(t){return U(this,1,t)[0]<<24>>24},getUint8:function(t){return U(this,1,t)[0]},getInt16:function(t){var n=U(this,2,t,arguments[1]);return(n[1]<<8|n[0])<<16>>16},getUint16:function(t){var n=U(this,2,t,arguments[1]);return n[1]<<8|n[0]},getInt32:function(t){return L(U(this,4,t,arguments[1]))},getUint32:function(t){return L(U(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return R(U(this,4,t,arguments[1]),23,4)},getFloat64:function(t){return R(U(this,8,t,arguments[1]),52,8)},setInt8:function(t,n){G(this,1,t,C,n)},setUint8:function(t,n){G(this,1,t,C,n)},setInt16:function(t,n){G(this,2,t,z,n,arguments[2])},setUint16:function(t,n){G(this,2,t,z,n,arguments[2])},setInt32:function(t,n){G(this,4,t,W,n,arguments[2])},setUint32:function(t,n){G(this,4,t,W,n,arguments[2])},setFloat32:function(t,n){G(this,4,t,V,n,arguments[2])},setFloat64:function(t,n){G(this,8,t,D,n,arguments[2])}});g(w,"ArrayBuffer"),g(x,"DataView"),a(x[m],u.VIEW,!0),n.ArrayBuffer=w,n.DataView=x},function(t,n,e){var r=e(51);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,e){var r=e(103);t.exports=function(t){return Object(r(t))}},function(t,n){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,n,e){var r=e(105)("keys"),o=e(75);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,n,e){var r=e(23),o=e(27),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(74)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},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(58),o=e(355),i=e(110),u=e(104)("IE_PROTO"),a=function(){},c=function(){var t,n=e(149)("iframe"),r=i.length;for(n.style.display="none",e(360).appendChild(n),n.src="javascript:",(t=n.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),c=t.F;r--;)delete c.prototype[i[r]];return c()};t.exports=Object.create||function(t,n){var e;return null!==t?(a.prototype=r(t),e=new a,a.prototype=null,e[u]=t):e=c(),void 0===n?e:o(e,n)}},function(t,n,e){var r=e(154),o=e(110);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(41).f,o=e(43),i=e(53)("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(53)},function(t,n,e){var r=e(27),o=e(23),i=e(74),u=e(112),a=e(41).f;t.exports=function(t){var n=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==t.charAt(0)||t in n||a(n,t,{value:u.f(t)})}},function(t,n){n.f={}.propertyIsEnumerable},function(t,n,e){"use strict";var r=e(60),o=e.n(r);function i(){return(i=Object.assign||function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t}).apply(this,arguments)}var u=o.a.createElement("g",{fill:"#555D66"},o.a.createElement("path",{d:"M11.4 10.2H3V21h8.4V10.2zM21 15h-8.4v6H21v-6zM11.4 3H3v6h8.4V3zM21 3h-8.4v10.8H21V3z"}));n.a=function(t){return o.a.createElement("svg",i({width:24,height:24,viewBox:"0 0 24 24",fill:"none"},t),u)}},function(t,n,e){t.exports=!e(8)&&!e(2)(function(){return 7!=Object.defineProperty(e(76)("div"),"a",{get:function(){return 7}}).a})},function(t,n,e){var r=e(1),o=e(7),i=e(32),u=e(77),a=e(9).f;t.exports=function(t){var n=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==t.charAt(0)||t in n||a(n,t,{value:u.f(t)})}},function(t,n,e){var r=e(13),o=e(15),i=e(62)(!1),u=e(78)("IE_PROTO");t.exports=function(t,n){var e,a=o(t),c=0,f=[];for(e in a)e!=u&&r(a,e)&&f.push(e);for(;n.length>c;)r(a,e=n[c++])&&(~i(f,e)||f.push(e));return f}},function(t,n,e){var r=e(9),o=e(3),i=e(33);t.exports=e(8)?Object.defineProperties:function(t,n){o(t);for(var e,u=i(n),a=u.length,c=0;a>c;)r.f(t,e=u[c++],n[e]);return t}},function(t,n,e){var r=e(15),o=e(36).f,i={}.toString,u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return u&&"[object Window]"==i.call(t)?function(t){try{return o(t)}catch(t){return u.slice()}}(t):o(r(t))}},function(t,n,e){"use strict";var r=e(8),o=e(33),i=e(63),u=e(55),a=e(10),c=e(54),f=Object.assign;t.exports=!f||e(2)(function(){var t={},n={},e=Symbol(),r="abcdefghijklmnopqrst";return t[e]=7,r.split("").forEach(function(t){n[t]=t}),7!=f({},t)[e]||Object.keys(f({},n)).join("")!=r})?function(t,n){for(var e=a(t),f=arguments.length,s=1,l=i.f,p=u.f;f>s;)for(var h,d=c(arguments[s++]),v=l?o(d).concat(l(d)):o(d),y=v.length,g=0;y>g;)h=v[g++],r&&!p.call(d,h)||(e[h]=d[h]);return e}:f},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){"use strict";var r=e(18),o=e(4),i=e(124),u=[].slice,a={};t.exports=Function.bind||function(t){var n=r(this),e=u.call(arguments,1),c=function(){var r=e.concat(u.call(arguments));return this instanceof c?function(t,n,e){if(!(n in a)){for(var r=[],o=0;o<n;o++)r[o]="a["+o+"]";a[n]=Function("F,a","return new F("+r.join(",")+")")}return a[n](t,e)}(n,r.length,r):i(n,r,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(1).parseInt,o=e(45).trim,i=e(82),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(1).parseFloat,o=e(45).trim;t.exports=1/r(e(82)+"-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(24);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){"use strict";var r=e(35),o=e(30),i=e(44),u={};e(14)(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(3);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(258);t.exports=function(t,n){return new(r(t))(n)}},function(t,n,e){var r=e(18),o=e(10),i=e(54),u=e(6);t.exports=function(t,n,e,a,c){r(n);var f=o(t),s=i(f),l=u(f.length),p=c?l-1:0,h=c?-1:1;if(e<2)for(;;){if(p in s){a=s[p],p+=h;break}if(p+=h,c?p<0:l<=p)throw TypeError("Reduce of empty array with no initial value")}for(;c?p>=0:l>p;p+=h)p in s&&(a=n(a,s[p],p,f));return a}},function(t,n,e){"use strict";var r=e(10),o=e(34),i=e(6);t.exports=[].copyWithin||function(t,n){var e=r(this),u=i(e.length),a=o(t,u),c=o(n,u),f=arguments.length>2?arguments[2]:void 0,s=Math.min((void 0===f?u:o(f,u))-c,u-a),l=1;for(c<a&&a<c+s&&(l=-1,c+=s-1,a+=s-1);s-- >0;)c in e?e[a]=e[c]:delete e[a],a+=l,c+=l;return e}},function(t,n){t.exports=function(t,n){return{value:n,done:!!t}}},function(t,n,e){"use strict";var r=e(97);e(0)({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},function(t,n,e){e(8)&&"g"!=/./g.flags&&e(9).f(RegExp.prototype,"flags",{configurable:!0,get:e(66)})},function(t,n,e){"use strict";var r,o,i,u,a=e(32),c=e(1),f=e(17),s=e(56),l=e(0),p=e(4),h=e(18),d=e(48),v=e(69),y=e(57),g=e(99).set,m=e(278)(),b=e(139),w=e(279),x=e(70),S=e(140),_=c.TypeError,O=c.process,E=O&&O.versions,M=E&&E.v8||"",P=c.Promise,T="process"==s(O),F=function(){},I=o=b.f,j=!!function(){try{var t=P.resolve(1),n=(t.constructor={})[e(5)("species")]=function(t){t(F,F)};return(T||"function"==typeof PromiseRejectionEvent)&&t.then(F)instanceof n&&0!==M.indexOf("6.6")&&-1===x.indexOf("Chrome/66")}catch(t){}}(),A=function(t){var n;return!(!p(t)||"function"!=typeof(n=t.then))&&n},k=function(t,n){if(!t._n){t._n=!0;var e=t._c;m(function(){for(var r=t._v,o=1==t._s,i=0,u=function(n){var e,i,u,a=o?n.ok:n.fail,c=n.resolve,f=n.reject,s=n.domain;try{a?(o||(2==t._h&&L(t),t._h=1),!0===a?e=r:(s&&s.enter(),e=a(r),s&&(s.exit(),u=!0)),e===n.promise?f(_("Promise-chain cycle")):(i=A(e))?i.call(e,c,f):c(e)):f(r)}catch(t){s&&!u&&s.exit(),f(t)}};e.length>i;)u(e[i++]);t._c=[],t._n=!1,n&&!t._h&&N(t)})}},N=function(t){g.call(c,function(){var n,e,r,o=t._v,i=R(t);if(i&&(n=w(function(){T?O.emit("unhandledRejection",o,t):(e=c.onunhandledrejection)?e({promise:t,reason:o}):(r=c.console)&&r.error&&r.error("Unhandled promise rejection",o)}),t._h=T||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){g.call(c,function(){var n;T?O.emit("rejectionHandled",t):(n=c.onrejectionhandled)&&n({promise:t,reason:t._v})})},C=function(t){var n=this;n._d||(n._d=!0,(n=n._w||n)._v=t,n._s=2,n._a||(n._a=n._c.slice()),k(n,!0))},z=function(t){var n,e=this;if(!e._d){e._d=!0,e=e._w||e;try{if(e===t)throw _("Promise can't be resolved itself");(n=A(t))?m(function(){var r={_w:e,_d:!1};try{n.call(t,f(z,r,1),f(C,r,1))}catch(t){C.call(r,t)}}):(e._v=t,e._s=1,k(e,!1))}catch(t){C.call({_w:e,_d:!1},t)}}};j||(P=function(t){d(this,P,"Promise","_h"),h(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}).prototype=e(49)(P.prototype,{then:function(t,n){var e=I(y(this,P));return e.ok="function"!=typeof t||t,e.fail="function"==typeof n&&n,e.domain=T?O.domain:void 0,this._c.push(e),this._a&&this._a.push(e),this._s&&k(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===P||t===u?new i(t):o(t)}),l(l.G+l.W+l.F*!j,{Promise:P}),e(44)(P,"Promise"),e(47)("Promise"),u=e(7).Promise,l(l.S+l.F*!j,"Promise",{reject:function(t){var n=I(this);return(0,n.reject)(t),n.promise}}),l(l.S+l.F*(a||!j),"Promise",{resolve:function(t){return S(a&&this===u?P:this,t)}}),l(l.S+l.F*!(j&&e(65)(function(t){P.all(t).catch(F)})),"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 a=i++,c=!1;e.push(void 0),u++,n.resolve(t).then(function(t){c||(c=!0,e[a]=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(18);function o(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=r(n),this.reject=r(e)}t.exports.f=function(t){return new o(t)}},function(t,n,e){var r=e(3),o=e(4),i=e(139);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(9).f,o=e(35),i=e(49),u=e(17),a=e(48),c=e(69),f=e(88),s=e(135),l=e(47),p=e(8),h=e(29).fastKey,d=e(39),v=p?"_s":"size",y=function(t,n){var e,r=h(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){a(t,s,n,"_i"),t._t=n,t._i=o(null),t._f=void 0,t._l=void 0,t[v]=0,null!=r&&c(r,e,t[f],t)});return i(s.prototype,{clear:function(){for(var t=d(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=d(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){d(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(d(this,n),t)}}),p&&r(s.prototype,"size",{get:function(){return d(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=h(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=d(t,n),this._k=e,this._l=void 0},function(){for(var t=this._k,n=this._l;n&&n.r;)n=n.p;return this._t&&(this._l=n=n?n.n:this._t._f)?s(0,"keys"==t?n.k:"values"==t?n.v:[n.k,n.v]):(this._t=void 0,s(1))},e?"entries":"values",!e,!0),l(n)}}},function(t,n,e){"use strict";var r=e(49),o=e(29).getWeak,i=e(3),u=e(4),a=e(48),c=e(69),f=e(22),s=e(13),l=e(39),p=f(5),h=f(6),d=0,v=function(t){return t._l||(t._l=new y)},y=function(){this.a=[]},g=function(t,n){return p(t.a,function(t){return t[0]===n})};y.prototype={get:function(t){var n=g(this,t);if(n)return n[1]},has:function(t){return!!g(this,t)},set:function(t,n){var e=g(this,t);e?e[1]=n:this.a.push([t,n])},delete:function(t){var n=h(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){a(t,f,n,"_i"),t._t=n,t._i=d++,t._l=void 0,null!=r&&c(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(19),o=e(6);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(36),o=e(63),i=e(3),u=e(1).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){var r=e(6),o=e(84),i=e(25);t.exports=function(t,n,e,u){var a=String(i(t)),c=a.length,f=void 0===e?" ":String(e),s=r(n);if(s<=c||""==f)return a;var l=s-c,p=o.call(f,Math.ceil(l/f.length));return p.length>l&&(p=p.slice(0,l)),u?p+a:a+p}},function(t,n,e){var r=e(8),o=e(33),i=e(15),u=e(55).f;t.exports=function(t){return function(n){for(var e,a=i(n),c=o(a),f=c.length,s=0,l=[];f>s;)e=c[s++],r&&!u.call(a,e)||l.push(t?[e,a[e]]:a[e]);return l}}},function(t,n,e){var r=e(339);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(42)&&!e(59)(function(){return 7!=Object.defineProperty(e(149)("div"),"a",{get:function(){return 7}}).a})},function(t,n,e){var r=e(51),o=e(27).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,n,e){var r=e(43),o=e(102),i=e(104)("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){"use strict";n.__esModule=!0;var r=u(e(350)),o=u(e(365)),i="function"==typeof o.default&&"symbol"==typeof r.default?function(t){return typeof t}:function(t){return t&&"function"==typeof o.default&&t.constructor===o.default&&t!==o.default.prototype?"symbol":typeof t};function u(t){return t&&t.__esModule?t:{default:t}}n.default="function"==typeof o.default&&"symbol"===i(r.default)?function(t){return void 0===t?"undefined":i(t)}:function(t){return t&&"function"==typeof o.default&&t.constructor===o.default&&t!==o.default.prototype?"symbol":void 0===t?"undefined":i(t)}},function(t,n,e){"use strict";var r=e(74),o=e(40),i=e(153),u=e(50),a=e(107),c=e(354),f=e(111),s=e(150),l=e(53)("iterator"),p=!([].keys&&"next"in[].keys()),h=function(){return this};t.exports=function(t,n,e,d,v,y,g){c(e,n,d);var m,b,w,x=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)}},S=n+" Iterator",_="values"==v,O=!1,E=t.prototype,M=E[l]||E["@@iterator"]||v&&E[v],P=M||x(v),T=v?_?x("entries"):P:void 0,F="Array"==n&&E.entries||M;if(F&&(w=s(F.call(new t)))!==Object.prototype&&w.next&&(f(w,S,!0),r||"function"==typeof w[l]||u(w,l,h)),_&&M&&"values"!==M.name&&(O=!0,P=function(){return M.call(this)}),r&&!g||!p&&!O&&E[l]||u(E,l,P),a[n]=P,a[S]=h,v)if(m={values:_?P:x("values"),keys:y?P:x("keys"),entries:T},g)for(b in m)b in E||i(E,b,m[b]);else o(o.P+o.F*(p||O),n,m);return m}},function(t,n,e){t.exports=e(50)},function(t,n,e){var r=e(43),o=e(52),i=e(357)(!1),u=e(104)("IE_PROTO");t.exports=function(t,n){var e,a=o(t),c=0,f=[];for(e in a)e!=u&&r(a,e)&&f.push(e);for(;n.length>c;)r(a,e=n[c++])&&(~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(154),o=e(110).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,n,e){var r=e(114),o=e(73),i=e(52),u=e(101),a=e(43),c=e(148),f=Object.getOwnPropertyDescriptor;n.f=e(42)?f:function(t,n){if(t=i(t),n=u(n,!0),c)try{return f(t,n)}catch(t){}if(a(t,n))return o(!r.f.call(t,n),t[n])}},function(t,n,e){var r;
|
2 |
/*!
|
3 |
Copyright (c) 2017 Jed Watson.
|
4 |
Licensed under the MIT License (MIT), see
|
5 |
http://jedwatson.github.io/classnames
|
6 |
-
*/
|
7 |
-
/*!
|
8 |
-
Copyright (c) 2017 Jed Watson.
|
9 |
-
Licensed under the MIT License (MIT), see
|
10 |
-
http://jedwatson.github.io/classnames
|
11 |
-
*/
|
12 |
-
!function(){"use strict";var e=function(){function t(){}function n(t,n){for(var e=n.length,r=0;r<e;++r)o(t,n[r])}t.prototype=Object.create(null);var e={}.hasOwnProperty;var r=/\s+/;function o(t,o){if(o){var i=typeof o;"string"===i?function(t,n){for(var e=n.split(r),o=e.length,i=0;i<o;++i)t[e[i]]=!0}(t,o):Array.isArray(o)?n(t,o):"object"===i?function(t,n){for(var r in n)e.call(n,r)&&(t[r]=!!n[r])}(t,o):"number"===i&&function(t,n){t[n]=!0}(t,o)}}return function(){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 a in i)i[a]&&u.push(a);return u.join(" ")}}();t.exports?(e.default=e,t.exports=e):void 0===(r=function(){return e}.apply(n,[]))||(t.exports=r)}()},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=p(e(340)),o=p(e(344)),i=p(e(345)),u=p(e(349)),a=p(e(375)),c=p(e(60)),f=p(e(383)),s=p(e(386)),l=e(387);function p(t){return t&&t.__esModule?t:{default:t}}var h=function(t){function n(){var t,e,i,a;(0,o.default)(this,n);for(var c=arguments.length,f=Array(c),p=0;p<c;p++)f[p]=arguments[p];return e=i=(0,u.default)(this,(t=n.__proto__||(0,r.default)(n)).call.apply(t,[this].concat(f))),i.updateIframe=function(t){if(!t.src){var n=t.content||t.children;if(n){var e=i.refs.frame;if(e){var r=e.contentDocument;r&&("string"==typeof n?(r.open(),r.write(n),r.close()):(r.open(),r.write('<div id="iframe-root"></div>'),r.close(),s.default.render(n,r.getElementById("iframe-root"))))}}}},i.injectIframeResizerUrl=function(){if(i.props.iframeResizerUrl){var t=i.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){var r=document.createElement("script");r.type="text/javascript",r.src=i.props.iframeResizerUrl,e.appendChild(r)}else console.error("Unable to inject iframe resizer script")}}}},i.onLoad=function(){i.injectIframeResizerUrl()},i.resizeIframe=function(t){var n=i.refs.frame;n&&t.iframeResizerEnable&&(0,l.iframeResizer)(t.iframeResizerOptions,n)},a=e,(0,u.default)(i,a)}return(0,a.default)(n,t),(0,i.default)(n,[{key:"componentDidMount",value:function(){this.updateIframe(this.props),this.resizeIframe(this.props)}},{key:"componentWillUnmount",value:function(){var t=this.refs.frame.iFrameResizer;t&&t.removeListeners()}},{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 c.default.createElement("iframe",{ref:"frame",src:n,id:e,frameBorder:r,className:o,style:i,onLoad:this.onLoad})}}]),n}(c.default.Component);h.propTypes={content:f.default.oneOfType([f.default.string,f.default.element]),src:f.default.string,iframeResizerEnable:f.default.bool,iframeResizerOptions:f.default.object,iframeResizerUrl:f.default.oneOfType([f.default.string,f.default.bool]),id:f.default.string,frameBorder:f.default.number,className:f.default.string,style:f.default.object},h.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=h},function(t,n,e){t.exports=e(162)},function(t,n,e){"use strict";e.r(n),function(t){var n=e(159),r=e.n(n),o=e(160),i=e.n(o),u=e(115);function a(t){return(a="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)}function c(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)}}function f(t,n){return!n||"object"!==a(n)&&"function"!=typeof n?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):n}function s(t){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function l(t,n){return(l=Object.setPrototypeOf||function(t,n){return t.__proto__=n,t})(t,n)}t._babelPolyfill||e(164);var p=window.VPAdminGutenbergVariables,h=wp.i18n.__,d=wp.element,v=d.Component,y=d.Fragment,g=d.RawHTML,m=wp.blocks.registerBlockType,b=wp.components,w=b.Placeholder,x=b.Spinner,S=b.SelectControl,_=wp.apiFetch,O=wp.data,E=O.registerStore,M=O.withSelect,P={apiFetch:function(t){return{type:"API_FETCH",request:t}},setPortfolioLayouts:function(t,n){return{type:"SET_PORTFOLIO_LAYOUTS",query:t,layouts:n}}};E("nk/visual-portfolio",{reducer:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{layouts:{}},n=arguments.length>1?arguments[1]:void 0;switch(n.type){case"SET_PORTFOLIO_LAYOUTS":return!t.layouts[n.query]&&n.layouts&&(t.layouts[n.query]=n.layouts),t}return t},actions:P,selectors:{getPortfolioLayouts:function(t,n){return t.layouts[n]}},controls:{API_FETCH:function(t){var n=t.request;return _(n).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)&&t.response})}},resolvers:{getPortfolioLayouts:regeneratorRuntime.mark(function t(n){var e;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,P.apiFetch({path:n});case 2:return e=t.sent,t.abrupt("return",P.setPortfolioLayouts(n,e));case 4:case"end":return t.stop()}},t)})}});var T=function(t){function n(){return function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,n),f(this,s(n).apply(this,arguments))}var e,o,a;return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),n&&l(t,n)}(n,v),e=n,(o=[{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,o=t.setAttributes,a=this.props.className,c=e.id,f=e.ghostkitClassname,s=!1,l=!1;f&&(a=r()(a,f)),n?(s=[{label:h("--- Select layout ---"),value:""}],Object.keys(n).map(function(t){var e=n[t];s.push({label:"#".concat(e.id," - ").concat(e.title),value:e.id}),c&&parseInt(c,10)===e.id&&(l=e.edit_url)})):c&&(s=[{label:"#".concat(c),value:c}]);var d=p.preview_url+(p.preview_url.split("?")[1]?"&":"?")+"vp_preview_frame=true&vp_preview_frame_id=".concat(c);return wp.element.createElement("div",{className:a},wp.element.createElement(w,{className:"visual-portfolio-gutenberg-placeholder",icon:wp.element.createElement(u.a,null),label:h("Visual Portfolio")},!Array.isArray(s)&&wp.element.createElement(x,null),Array.isArray(s)&&s.length&&wp.element.createElement(y,null,l&&wp.element.createElement("a",{href:l,target:"_blank"},h("Edit Layout")),wp.element.createElement(S,{value:c,onChange:function(t){return o({id:t})},options:s})),Array.isArray(s)&&!s.length&&h("No portfolio layouts found.")),c?wp.element.createElement("div",{className:"visual-portfolio-gutenberg-preview"},wp.element.createElement(i.a,{src:d,iframeResizerOptions:{resizedCallback:function(t){t.iframe&&jQuery(t.iframe).css("margin-bottom",-jQuery(t.iframe).height()/2)}}})):"")}}])&&c(e.prototype,o),a&&c(e,a),n}();m("nk/visual-portfolio",{title:"Visual Portfolio",icon:u.a,category:"common",keywords:["visual portfolio","vp","portfolio"],ghostkit:{supports:{spacings:!0,display:!0,scrollReveal:!0}},supports:{anchor:!0,className:!0,html:!1,align:["wide","full"]},attributes:{id:{type:"string"}},edit:M(function(t){return{portfolioLayouts:t("nk/visual-portfolio").getPortfolioLayouts("/visual-portfolio/v1/get_layouts/")}})(T),save:function(t){var n=t.attributes,e=n.id,r=n.className,o="[visual_portfolio";return e&&(o+=' id="'.concat(e,'"')),r&&(o+=' class="'.concat(r,'"')),o+="]",wp.element.createElement(g,null,o)},transforms:{from:[{type:"shortcode",tag:"visual_portfolio",attributes:{id:{type:"string",shortcode:function(t){return t.named.id}},className:{type:"string",shortcode:function(t){return t.named.class}}}}]}})}.call(this,e(163))},function(t,n){var e;e=function(){return this}();try{e=e||new Function("return this")()}catch(t){"object"==typeof window&&(e=window)}t.exports=e},function(t,n,e){"use strict";e(165);var r,o=(r=e(337))&&r.__esModule?r:{default:r};o.default._babelPolyfill&&"undefined"!=typeof console&&console.warn&&console.warn("@babel/polyfill is loaded more than once on this page. This is probably not desirable/intended and may have consequences if different versions of the polyfills are applied sequentially. If you do need to load the polyfill more than once, use @babel/polyfill/noConflict instead to bypass the warning."),o.default._babelPolyfill=!0},function(t,n,e){"use strict";e(166),e(309),e(311),e(314),e(316),e(318),e(320),e(322),e(324),e(326),e(328),e(330),e(332),e(336)},function(t,n,e){e(167),e(170),e(171),e(172),e(173),e(174),e(175),e(176),e(177),e(178),e(179),e(180),e(181),e(182),e(183),e(184),e(185),e(186),e(187),e(188),e(189),e(190),e(191),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(207),e(208),e(209),e(210),e(211),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(248),e(249),e(251),e(252),e(253),e(254),e(255),e(256),e(257),e(259),e(260),e(261),e(262),e(263),e(264),e(265),e(266),e(267),e(268),e(269),e(270),e(271),e(96),e(272),e(136),e(273),e(137),e(274),e(275),e(276),e(277),e(138),e(280),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(294),e(295),e(296),e(297),e(298),e(299),e(300),e(301),e(302),e(303),e(304),e(305),e(306),e(307),e(308),t.exports=e(7)},function(t,n,e){"use strict";var r=e(1),o=e(13),i=e(8),u=e(0),a=e(11),c=e(29).KEY,f=e(2),s=e(61),l=e(44),p=e(31),h=e(5),d=e(77),v=e(117),y=e(169),g=e(64),m=e(3),b=e(4),w=e(10),x=e(15),S=e(28),_=e(30),O=e(35),E=e(120),M=e(20),P=e(63),T=e(9),F=e(33),I=M.f,j=T.f,A=E.f,k=r.Symbol,N=r.JSON,R=N&&N.stringify,L=h("_hidden"),C=h("toPrimitive"),z={}.propertyIsEnumerable,W=s("symbol-registry"),D=s("symbols"),V=s("op-symbols"),B=Object.prototype,U="function"==typeof k&&!!P.f,G=r.QObject,H=!G||!G.prototype||!G.prototype.findChild,q=i&&f(function(){return 7!=O(j({},"a",{get:function(){return j(this,"a",{value:7}).a}})).a})?function(t,n,e){var r=I(B,n);r&&delete B[n],j(t,n,e),r&&t!==B&&j(B,n,r)}:j,Y=function(t){var n=D[t]=O(k.prototype);return n._k=t,n},J=U&&"symbol"==typeof k.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof k},K=function(t,n,e){return t===B&&K(V,n,e),m(t),n=S(n,!0),m(e),o(D,n)?(e.enumerable?(o(t,L)&&t[L][n]&&(t[L][n]=!1),e=O(e,{enumerable:_(0,!1)})):(o(t,L)||j(t,L,_(1,{})),t[L][n]=!0),q(t,n,e)):j(t,n,e)},X=function(t,n){m(t);for(var e,r=y(n=x(n)),o=0,i=r.length;i>o;)K(t,e=r[o++],n[e]);return t},$=function(t){var n=z.call(this,t=S(t,!0));return!(this===B&&o(D,t)&&!o(V,t))&&(!(n||!o(this,t)||!o(D,t)||o(this,L)&&this[L][t])||n)},Q=function(t,n){if(t=x(t),n=S(n,!0),t!==B||!o(D,n)||o(V,n)){var e=I(t,n);return!e||!o(D,n)||o(t,L)&&t[L][n]||(e.enumerable=!0),e}},Z=function(t){for(var n,e=A(x(t)),r=[],i=0;e.length>i;)o(D,n=e[i++])||n==L||n==c||r.push(n);return r},tt=function(t){for(var n,e=t===B,r=A(e?V:x(t)),i=[],u=0;r.length>u;)!o(D,n=r[u++])||e&&!o(B,n)||i.push(D[n]);return i};U||(a((k=function(){if(this instanceof k)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),n=function(e){this===B&&n.call(V,e),o(this,L)&&o(this[L],t)&&(this[L][t]=!1),q(this,t,_(1,e))};return i&&H&&q(B,t,{configurable:!0,set:n}),Y(t)}).prototype,"toString",function(){return this._k}),M.f=Q,T.f=K,e(36).f=E.f=Z,e(55).f=$,P.f=tt,i&&!e(32)&&a(B,"propertyIsEnumerable",$,!0),d.f=function(t){return Y(h(t))}),u(u.G+u.W+u.F*!U,{Symbol:k});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=F(h.store),ot=0;rt.length>ot;)v(rt[ot++]);u(u.S+u.F*!U,"Symbol",{for:function(t){return o(W,t+="")?W[t]:W[t]=k(t)},keyFor:function(t){if(!J(t))throw TypeError(t+" is not a symbol!");for(var n in W)if(W[n]===t)return n},useSetter:function(){H=!0},useSimple:function(){H=!1}}),u(u.S+u.F*!U,"Object",{create:function(t,n){return void 0===n?O(t):X(O(t),n)},defineProperty:K,defineProperties:X,getOwnPropertyDescriptor:Q,getOwnPropertyNames:Z,getOwnPropertySymbols:tt});var it=f(function(){P.f(1)});u(u.S+u.F*it,"Object",{getOwnPropertySymbols:function(t){return P.f(w(t))}}),N&&u(u.S+u.F*(!U||f(function(){var t=k();return"[null]"!=R([t])||"{}"!=R({a:t})||"{}"!=R(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],(b(n)||void 0!==t)&&!J(t))return g(n)||(n=function(t,n){if("function"==typeof e&&(n=e.call(this,t,n)),!J(n))return n}),r[1]=n,R.apply(N,r)}}),k.prototype[C]||e(14)(k.prototype,C,k.prototype.valueOf),l(k,"Symbol"),l(Math,"Math",!0),l(r.JSON,"JSON",!0)},function(t,n,e){t.exports=e(61)("native-function-to-string",Function.toString)},function(t,n,e){var r=e(33),o=e(63),i=e(55);t.exports=function(t){var n=r(t),e=o.f;if(e)for(var u,a=e(t),c=i.f,f=0;a.length>f;)c.call(t,u=a[f++])&&n.push(u);return n}},function(t,n,e){var r=e(0);r(r.S,"Object",{create:e(35)})},function(t,n,e){var r=e(0);r(r.S+r.F*!e(8),"Object",{defineProperty:e(9).f})},function(t,n,e){var r=e(0);r(r.S+r.F*!e(8),"Object",{defineProperties:e(119)})},function(t,n,e){var r=e(15),o=e(20).f;e(21)("getOwnPropertyDescriptor",function(){return function(t,n){return o(r(t),n)}})},function(t,n,e){var r=e(10),o=e(37);e(21)("getPrototypeOf",function(){return function(t){return o(r(t))}})},function(t,n,e){var r=e(10),o=e(33);e(21)("keys",function(){return function(t){return o(r(t))}})},function(t,n,e){e(21)("getOwnPropertyNames",function(){return e(120).f})},function(t,n,e){var r=e(4),o=e(29).onFreeze;e(21)("freeze",function(t){return function(n){return t&&r(n)?t(o(n)):n}})},function(t,n,e){var r=e(4),o=e(29).onFreeze;e(21)("seal",function(t){return function(n){return t&&r(n)?t(o(n)):n}})},function(t,n,e){var r=e(4),o=e(29).onFreeze;e(21)("preventExtensions",function(t){return function(n){return t&&r(n)?t(o(n)):n}})},function(t,n,e){var r=e(4);e(21)("isFrozen",function(t){return function(n){return!r(n)||!!t&&t(n)}})},function(t,n,e){var r=e(4);e(21)("isSealed",function(t){return function(n){return!r(n)||!!t&&t(n)}})},function(t,n,e){var r=e(4);e(21)("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(121)})},function(t,n,e){var r=e(0);r(r.S,"Object",{is:e(122)})},function(t,n,e){var r=e(0);r(r.S,"Object",{setPrototypeOf:e(81).set})},function(t,n,e){"use strict";var r=e(56),o={};o[e(5)("toStringTag")]="z",o+""!="[object z]"&&e(11)(Object.prototype,"toString",function(){return"[object "+r(this)+"]"},!0)},function(t,n,e){var r=e(0);r(r.P,"Function",{bind:e(123)})},function(t,n,e){var r=e(9).f,o=Function.prototype,i=/^\s*function ([^ (]*)/;"name"in o||e(8)&&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(37),i=e(5)("hasInstance"),u=Function.prototype;i in u||e(9).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(125);r(r.G+r.F*(parseInt!=o),{parseInt:o})},function(t,n,e){var r=e(0),o=e(126);r(r.G+r.F*(parseFloat!=o),{parseFloat:o})},function(t,n,e){"use strict";var r=e(1),o=e(13),i=e(24),u=e(83),a=e(28),c=e(2),f=e(36).f,s=e(20).f,l=e(9).f,p=e(45).trim,h=r.Number,d=h,v=h.prototype,y="Number"==i(e(35)(v)),g="trim"in String.prototype,m=function(t){var n=a(t,!1);if("string"==typeof n&&n.length>2){var e,r,o,i=(n=g?n.trim():p(n,3)).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,c=n.slice(2),f=0,s=c.length;f<s;f++)if((u=c.charCodeAt(f))<48||u>o)return NaN;return parseInt(c,r)}}return+n};if(!h(" 0o1")||!h("0b1")||h("+0x1")){h=function(t){var n=arguments.length<1?0:t,e=this;return e instanceof h&&(y?c(function(){v.valueOf.call(e)}):"Number"!=i(e))?u(new d(m(n)),e,h):m(n)};for(var b,w=e(8)?f(d):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),x=0;w.length>x;x++)o(d,b=w[x])&&!o(h,b)&&l(h,b,s(d,b));h.prototype=v,v.constructor=h,e(11)(r,"Number",h)}},function(t,n,e){"use strict";var r=e(0),o=e(19),i=e(127),u=e(84),a=1..toFixed,c=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=c(r/1e7)},p=function(t){for(var n=6,e=0;--n>=0;)e+=f[n],f[n]=c(e/t),e=e%t*1e7},h=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},d=function(t,n,e){return 0===n?e:n%2==1?d(t,n-1,e*t):d(t*t,n/2,e)};r(r.P+r.F*(!!a&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!e(2)(function(){a.call({})})),"Number",{toFixed:function(t){var n,e,r,a,c=i(this,s),f=o(t),v="",y="0";if(f<0||f>20)throw RangeError(s);if(c!=c)return"NaN";if(c<=-1e21||c>=1e21)return String(c);if(c<0&&(v="-",c=-c),c>1e-21)if(e=(n=function(t){for(var n=0,e=t;e>=4096;)n+=12,e/=4096;for(;e>=2;)n+=1,e/=2;return n}(c*d(2,69,1))-69)<0?c*d(2,-n,1):c/d(2,n,1),e*=4503599627370496,(n=52-n)>0){for(l(0,e),r=f;r>=7;)l(1e7,0),r-=7;for(l(d(10,r,1),0),r=n-1;r>=23;)p(1<<23),r-=23;p(1<<r),l(1,1),p(2),y=h()}else l(0,e),l(1<<-n,0),y=h()+u.call("0",f);return y=f>0?v+((a=y.length)<=f?"0."+u.call("0",f-a)+y:y.slice(0,a-f)+"."+y.slice(a-f)):v+y}})},function(t,n,e){"use strict";var r=e(0),o=e(2),i=e(127),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(1).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(128)})},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(128),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(126);r(r.S+r.F*(Number.parseFloat!=o),"Number",{parseFloat:o})},function(t,n,e){var r=e(0),o=e(125);r(r.S+r.F*(Number.parseInt!=o),"Number",{parseInt:o})},function(t,n,e){var r=e(0),o=e(129),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){var r=e(0),o=Math.asinh;r(r.S+r.F*!(o&&1/o(0)>0),"Math",{asinh:function t(n){return isFinite(n=+n)&&0!=n?n<0?-t(-n):Math.log(n+Math.sqrt(n*n+1)):n}})},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(85);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(86);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(212)})},function(t,n,e){var r=e(85),o=Math.pow,i=o(2,-52),u=o(2,-23),a=o(2,127)*(2-u),c=o(2,-126);t.exports=Math.fround||function(t){var n,e,o=Math.abs(t),f=r(t);return o<c?f*(o/c/u+1/i-1/i)*c*u:(e=(n=(1+u/i)*o)-(n-o))>a||e!=e?f*(1/0):f*e}},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,a=arguments.length,c=0;u<a;)c<(e=o(arguments[u++]))?(i=i*(r=c/e)*r+1,c=e):i+=e>0?(r=e/c)*r:e;return c===1/0?1/0:c*Math.sqrt(i)}})},function(t,n,e){var r=e(0),o=Math.imul;r(r.S+r.F*e(2)(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(129)})},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(85)})},function(t,n,e){var r=e(0),o=e(86),i=Math.exp;r(r.S+r.F*e(2)(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(86),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(34),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(6);r(r.S,"String",{raw:function(t){for(var n=o(t.raw),e=i(n.length),r=arguments.length,u=[],a=0;e>a;)u.push(String(n[a++])),a<r&&u.push(String(arguments[a]));return u.join("")}})},function(t,n,e){"use strict";e(45)("trim",function(t){return function(){return t(this,3)}})},function(t,n,e){"use strict";var r=e(87)(!0);e(88)(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(87)(!1);r(r.P,"String",{codePointAt:function(t){return o(this,t)}})},function(t,n,e){"use strict";var r=e(0),o=e(6),i=e(89),u="".endsWith;r(r.P+r.F*e(91)("endsWith"),"String",{endsWith:function(t){var n=i(this,t,"endsWith"),e=arguments.length>1?arguments[1]:void 0,r=o(n.length),a=void 0===e?r:Math.min(o(e),r),c=String(t);return u?u.call(n,c,a):n.slice(a-c.length,a)===c}})},function(t,n,e){"use strict";var r=e(0),o=e(89);r(r.P+r.F*e(91)("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(84)})},function(t,n,e){"use strict";var r=e(0),o=e(6),i=e(89),u="".startsWith;r(r.P+r.F*e(91)("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(12)("anchor",function(t){return function(n){return t(this,"a","name",n)}})},function(t,n,e){"use strict";e(12)("big",function(t){return function(){return t(this,"big","","")}})},function(t,n,e){"use strict";e(12)("blink",function(t){return function(){return t(this,"blink","","")}})},function(t,n,e){"use strict";e(12)("bold",function(t){return function(){return t(this,"b","","")}})},function(t,n,e){"use strict";e(12)("fixed",function(t){return function(){return t(this,"tt","","")}})},function(t,n,e){"use strict";e(12)("fontcolor",function(t){return function(n){return t(this,"font","color",n)}})},function(t,n,e){"use strict";e(12)("fontsize",function(t){return function(n){return t(this,"font","size",n)}})},function(t,n,e){"use strict";e(12)("italics",function(t){return function(){return t(this,"i","","")}})},function(t,n,e){"use strict";e(12)("link",function(t){return function(n){return t(this,"a","href",n)}})},function(t,n,e){"use strict";e(12)("small",function(t){return function(){return t(this,"small","","")}})},function(t,n,e){"use strict";e(12)("strike",function(t){return function(){return t(this,"strike","","")}})},function(t,n,e){"use strict";e(12)("sub",function(t){return function(){return t(this,"sub","","")}})},function(t,n,e){"use strict";e(12)("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(10),i=e(28);r(r.P+r.F*e(2)(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(247);r(r.P+r.F*(Date.prototype.toISOString!==o),"Date",{toISOString:o})},function(t,n,e){"use strict";var r=e(2),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(11)(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(14)(o,r,e(250))},function(t,n,e){"use strict";var r=e(3),o=e(28);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(64)})},function(t,n,e){"use strict";var r=e(17),o=e(0),i=e(10),u=e(131),a=e(92),c=e(6),f=e(93),s=e(94);o(o.S+o.F*!e(65)(function(t){Array.from(t)}),"Array",{from:function(t){var n,e,o,l,p=i(t),h="function"==typeof this?this:Array,d=arguments.length,v=d>1?arguments[1]:void 0,y=void 0!==v,g=0,m=s(p);if(y&&(v=r(v,d>2?arguments[2]:void 0,2)),null==m||h==Array&&a(m))for(e=new h(n=c(p.length));n>g;g++)f(e,g,y?v(p[g],g):p[g]);else for(l=m.call(p),e=new h;!(o=l.next()).done;g++)f(e,g,y?u(l,v,[o.value,g],!0):o.value);return e.length=g,e}})},function(t,n,e){"use strict";var r=e(0),o=e(93);r(r.S+r.F*e(2)(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(54)!=Object||!e(16)(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(80),i=e(24),u=e(34),a=e(6),c=[].slice;r(r.P+r.F*e(2)(function(){o&&c.call(o)}),"Array",{slice:function(t,n){var e=a(this.length),r=i(this);if(n=void 0===n?e:n,"Array"==r)return c.call(this,t,n);for(var o=u(t,e),f=u(n,e),s=a(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(18),i=e(10),u=e(2),a=[].sort,c=[1,2,3];r(r.P+r.F*(u(function(){c.sort(void 0)})||!u(function(){c.sort(null)})||!e(16)(a)),"Array",{sort:function(t){return void 0===t?a.call(i(this)):a.call(i(this),o(t))}})},function(t,n,e){"use strict";var r=e(0),o=e(22)(0),i=e(16)([].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(64),i=e(5)("species");t.exports=function(t){var n;return o(t)&&("function"!=typeof(n=t.constructor)||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(22)(1);r(r.P+r.F*!e(16)([].map,!0),"Array",{map:function(t){return o(this,t,arguments[1])}})},function(t,n,e){"use strict";var r=e(0),o=e(22)(2);r(r.P+r.F*!e(16)([].filter,!0),"Array",{filter:function(t){return o(this,t,arguments[1])}})},function(t,n,e){"use strict";var r=e(0),o=e(22)(3);r(r.P+r.F*!e(16)([].some,!0),"Array",{some:function(t){return o(this,t,arguments[1])}})},function(t,n,e){"use strict";var r=e(0),o=e(22)(4);r(r.P+r.F*!e(16)([].every,!0),"Array",{every:function(t){return o(this,t,arguments[1])}})},function(t,n,e){"use strict";var r=e(0),o=e(133);r(r.P+r.F*!e(16)([].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(133);r(r.P+r.F*!e(16)([].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(62)(!1),i=[].indexOf,u=!!i&&1/[1].indexOf(1,-0)<0;r(r.P+r.F*(u||!e(16)(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(19),u=e(6),a=[].lastIndexOf,c=!!a&&1/[1].lastIndexOf(1,-0)<0;r(r.P+r.F*(c||!e(16)(a)),"Array",{lastIndexOf:function(t){if(c)return a.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(134)}),e(38)("copyWithin")},function(t,n,e){var r=e(0);r(r.P,"Array",{fill:e(95)}),e(38)("fill")},function(t,n,e){"use strict";var r=e(0),o=e(22)(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(38)("find")},function(t,n,e){"use strict";var r=e(0),o=e(22)(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(38)(i)},function(t,n,e){e(47)("Array")},function(t,n,e){var r=e(1),o=e(83),i=e(9).f,u=e(36).f,a=e(90),c=e(66),f=r.RegExp,s=f,l=f.prototype,p=/a/g,h=/a/g,d=new f(p)!==p;if(e(8)&&(!d||e(2)(function(){return h[e(5)("match")]=!1,f(p)!=p||f(h)==h||"/a/i"!=f(p,"i")}))){f=function(t,n){var e=this instanceof f,r=a(t),i=void 0===n;return!e&&r&&t.constructor===f&&i?t:o(d?new s(r&&!i?t.source:t,n):s((r=t instanceof f)?t.source:t,r&&i?c.call(t):n),e?this:l,f)};for(var v=function(t){t in f||i(f,t,{configurable:!0,get:function(){return s[t]},set:function(n){s[t]=n}})},y=u(s),g=0;y.length>g;)v(y[g++]);l.constructor=f,f.prototype=l,e(11)(r,"RegExp",f)}e(47)("RegExp")},function(t,n,e){"use strict";e(137);var r=e(3),o=e(66),i=e(8),u=/./.toString,a=function(t){e(11)(RegExp.prototype,"toString",t,!0)};e(2)(function(){return"/a/b"!=u.call({source:"a",flags:"b"})})?a(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&&a(function(){return u.call(this)})},function(t,n,e){"use strict";var r=e(3),o=e(6),i=e(98),u=e(67);e(68)("match",1,function(t,n,e,a){return[function(e){var r=t(this),o=null==e?void 0:e[n];return void 0!==o?o.call(e,r):new RegExp(e)[n](String(r))},function(t){var n=a(e,t,this);if(n.done)return n.value;var c=r(t),f=String(this);if(!c.global)return u(c,f);var s=c.unicode;c.lastIndex=0;for(var l,p=[],h=0;null!==(l=u(c,f));){var d=String(l[0]);p[h]=d,""===d&&(c.lastIndex=i(f,o(c.lastIndex),s)),h++}return 0===h?null:p}]})},function(t,n,e){"use strict";var r=e(3),o=e(10),i=e(6),u=e(19),a=e(98),c=e(67),f=Math.max,s=Math.min,l=Math.floor,p=/\$([$&`']|\d\d?|<[^>]*>)/g,h=/\$([$&`']|\d\d?)/g;e(68)("replace",2,function(t,n,e,d){return[function(r,o){var i=t(this),u=null==r?void 0:r[n];return void 0!==u?u.call(r,i,o):e.call(String(i),r,o)},function(t,n){var o=d(e,t,this,n);if(o.done)return o.value;var l=r(t),p=String(this),h="function"==typeof n;h||(n=String(n));var y=l.global;if(y){var g=l.unicode;l.lastIndex=0}for(var m=[];;){var b=c(l,p);if(null===b)break;if(m.push(b),!y)break;""===String(b[0])&&(l.lastIndex=a(p,i(l.lastIndex),g))}for(var w,x="",S=0,_=0;_<m.length;_++){b=m[_];for(var O=String(b[0]),E=f(s(u(b.index),p.length),0),M=[],P=1;P<b.length;P++)M.push(void 0===(w=b[P])?w:String(w));var T=b.groups;if(h){var F=[O].concat(M,E,p);void 0!==T&&F.push(T);var I=String(n.apply(void 0,F))}else I=v(O,p,E,M,T,n);E>=S&&(x+=p.slice(S,E)+I,S=E+O.length)}return x+p.slice(S)}];function v(t,n,r,i,u,a){var c=r+t.length,f=i.length,s=h;return void 0!==u&&(u=o(u),s=p),e.call(a,s,function(e,o){var a;switch(o.charAt(0)){case"$":return"$";case"&":return t;case"`":return n.slice(0,r);case"'":return n.slice(c);case"<":a=u[o.slice(1,-1)];break;default:var s=+o;if(0===s)return e;if(s>f){var p=l(s/10);return 0===p?e:p<=f?void 0===i[p-1]?o.charAt(1):i[p-1]+o.charAt(1):e}a=i[s-1]}return void 0===a?"":a})}})},function(t,n,e){"use strict";var r=e(3),o=e(122),i=e(67);e(68)("search",1,function(t,n,e,u){return[function(e){var r=t(this),o=null==e?void 0:e[n];return void 0!==o?o.call(e,r):new RegExp(e)[n](String(r))},function(t){var n=u(e,t,this);if(n.done)return n.value;var a=r(t),c=String(this),f=a.lastIndex;o(f,0)||(a.lastIndex=0);var s=i(a,c);return o(a.lastIndex,f)||(a.lastIndex=f),null===s?-1:s.index}]})},function(t,n,e){"use strict";var r=e(90),o=e(3),i=e(57),u=e(98),a=e(6),c=e(67),f=e(97),s=e(2),l=Math.min,p=[].push,h=!s(function(){RegExp(4294967295,"y")});e(68)("split",2,function(t,n,e,s){var d;return d="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,n){var o=String(this);if(void 0===t&&0===n)return[];if(!r(t))return e.call(o,t,n);for(var i,u,a,c=[],s=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),l=0,h=void 0===n?4294967295:n>>>0,d=new RegExp(t.source,s+"g");(i=f.call(d,o))&&!((u=d.lastIndex)>l&&(c.push(o.slice(l,i.index)),i.length>1&&i.index<o.length&&p.apply(c,i.slice(1)),a=i[0].length,l=u,c.length>=h));)d.lastIndex===i.index&&d.lastIndex++;return l===o.length?!a&&d.test("")||c.push(""):c.push(o.slice(l)),c.length>h?c.slice(0,h):c}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:e.call(this,t,n)}:e,[function(e,r){var o=t(this),i=null==e?void 0:e[n];return void 0!==i?i.call(e,o,r):d.call(String(o),e,r)},function(t,n){var r=s(d,t,this,n,d!==e);if(r.done)return r.value;var f=o(t),p=String(this),v=i(f,RegExp),y=f.unicode,g=(f.ignoreCase?"i":"")+(f.multiline?"m":"")+(f.unicode?"u":"")+(h?"y":"g"),m=new v(h?f:"^(?:"+f.source+")",g),b=void 0===n?4294967295:n>>>0;if(0===b)return[];if(0===p.length)return null===c(m,p)?[p]:[];for(var w=0,x=0,S=[];x<p.length;){m.lastIndex=h?x:0;var _,O=c(m,h?p:p.slice(x));if(null===O||(_=l(a(m.lastIndex+(h?0:x)),p.length))===w)x=u(p,x,y);else{if(S.push(p.slice(w,x)),S.length===b)return S;for(var E=1;E<=O.length-1;E++)if(S.push(O[E]),S.length===b)return S;x=w=_}}return S.push(p.slice(w)),S}]})},function(t,n,e){var r=e(1),o=e(99).set,i=r.MutationObserver||r.WebKitMutationObserver,u=r.process,a=r.Promise,c="process"==e(24)(u);t.exports=function(){var t,n,e,f=function(){var r,o;for(c&&(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(c)e=function(){u.nextTick(f)};else if(!i||r.navigator&&r.navigator.standalone)if(a&&a.resolve){var s=a.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){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},function(t,n,e){"use strict";var r=e(141),o=e(39);t.exports=e(71)("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(141),o=e(39);t.exports=e(71)("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(1),i=e(22)(0),u=e(11),a=e(29),c=e(121),f=e(142),s=e(4),l=e(39),p=e(39),h=!o.ActiveXObject&&"ActiveXObject"in o,d=a.getWeak,v=Object.isExtensible,y=f.ufstore,g=function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},m={get:function(t){if(s(t)){var n=d(t);return!0===n?y(l(this,"WeakMap")).get(t):n?n[this._i]:void 0}},set:function(t,n){return f.def(l(this,"WeakMap"),t,n)}},b=t.exports=e(71)("WeakMap",g,m,f,!0,!0);p&&h&&(c((r=f.getConstructor(g,"WeakMap")).prototype,m),a.NEED=!0,i(["delete","has","get","set"],function(t){var n=b.prototype,e=n[t];u(n,t,function(n,o){if(s(n)&&!v(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(142),o=e(39);e(71)("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(72),i=e(100),u=e(3),a=e(34),c=e(6),f=e(4),s=e(1).ArrayBuffer,l=e(57),p=i.ArrayBuffer,h=i.DataView,d=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 d&&d(t)||f(t)&&y in t}}),r(r.P+r.U+r.F*e(2)(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=a(t,e),o=a(void 0===n?e:n,e),i=new(l(this,p))(c(o-r)),f=new h(this),s=new h(i),d=0;r<o;)s.setUint8(d++,f.getUint8(r++));return i}}),e(47)("ArrayBuffer")},function(t,n,e){var r=e(0);r(r.G+r.W+r.F*!e(72).ABV,{DataView:e(100).DataView})},function(t,n,e){e(26)("Int8",1,function(t){return function(n,e,r){return t(this,n,e,r)}})},function(t,n,e){e(26)("Uint8",1,function(t){return function(n,e,r){return t(this,n,e,r)}})},function(t,n,e){e(26)("Uint8",1,function(t){return function(n,e,r){return t(this,n,e,r)}},!0)},function(t,n,e){e(26)("Int16",2,function(t){return function(n,e,r){return t(this,n,e,r)}})},function(t,n,e){e(26)("Uint16",2,function(t){return function(n,e,r){return t(this,n,e,r)}})},function(t,n,e){e(26)("Int32",4,function(t){return function(n,e,r){return t(this,n,e,r)}})},function(t,n,e){e(26)("Uint32",4,function(t){return function(n,e,r){return t(this,n,e,r)}})},function(t,n,e){e(26)("Float32",4,function(t){return function(n,e,r){return t(this,n,e,r)}})},function(t,n,e){e(26)("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(18),i=e(3),u=(e(1).Reflect||{}).apply,a=Function.apply;r(r.S+r.F*!e(2)(function(){u(function(){})}),"Reflect",{apply:function(t,n,e){var r=o(t),c=i(e);return u?u(r,n,c):a.call(r,n,c)}})},function(t,n,e){var r=e(0),o=e(35),i=e(18),u=e(3),a=e(4),c=e(2),f=e(123),s=(e(1).Reflect||{}).construct,l=c(function(){function t(){}return!(s(function(){},[],t)instanceof t)}),p=!c(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 c=e.prototype,h=o(a(c)?c:Object.prototype),d=Function.apply.call(t,h,n);return a(d)?d:h}})},function(t,n,e){var r=e(9),o=e(0),i=e(3),u=e(28);o(o.S+o.F*e(2)(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(20).f,i=e(3);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(3),i=function(t){this._t=o(t),this._i=0;var n,e=this._k=[];for(n in t)e.push(n)};e(130)(i,"Object",function(){var t,n=this._k;do{if(this._i>=n.length)return{value:void 0,done:!0}}while(!((t=n[this._i++])in this._t));return{value:t,done:!1}}),r(r.S,"Reflect",{enumerate:function(t){return new i(t)}})},function(t,n,e){var r=e(20),o=e(37),i=e(13),u=e(0),a=e(4),c=e(3);u(u.S,"Reflect",{get:function t(n,e){var u,f,s=arguments.length<3?n:arguments[2];return c(n)===s?n[e]:(u=r.f(n,e))?i(u,"value")?u.value:void 0!==u.get?u.get.call(s):void 0:a(f=o(n))?t(f,e,s):void 0}})},function(t,n,e){var r=e(20),o=e(0),i=e(3);o(o.S,"Reflect",{getOwnPropertyDescriptor:function(t,n){return r.f(i(t),n)}})},function(t,n,e){var r=e(0),o=e(37),i=e(3);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(3),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(144)})},function(t,n,e){var r=e(0),o=e(3),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){var r=e(9),o=e(20),i=e(37),u=e(13),a=e(0),c=e(30),f=e(3),s=e(4);a(a.S,"Reflect",{set:function t(n,e,a){var l,p,h=arguments.length<4?n:arguments[3],d=o.f(f(n),e);if(!d){if(s(p=i(n)))return t(p,e,a,h);d=c(0)}if(u(d,"value")){if(!1===d.writable||!s(h))return!1;if(l=o.f(h,e)){if(l.get||l.set||!1===l.writable)return!1;l.value=a,r.f(h,e,l)}else r.f(h,e,c(0,a));return!0}return void 0!==d.set&&(d.set.call(h,a),!0)}})},function(t,n,e){var r=e(0),o=e(81);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){e(310),t.exports=e(7).Array.includes},function(t,n,e){"use strict";var r=e(0),o=e(62)(!0);r(r.P,"Array",{includes:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),e(38)("includes")},function(t,n,e){e(312),t.exports=e(7).Array.flatMap},function(t,n,e){"use strict";var r=e(0),o=e(313),i=e(10),u=e(6),a=e(18),c=e(132);r(r.P,"Array",{flatMap:function(t){var n,e,r=i(this);return a(t),n=u(r.length),e=c(r,0),o(e,r,r,n,0,1,t,arguments[1]),e}}),e(38)("flatMap")},function(t,n,e){"use strict";var r=e(64),o=e(4),i=e(6),u=e(17),a=e(5)("isConcatSpreadable");t.exports=function t(n,e,c,f,s,l,p,h){for(var d,v,y=s,g=0,m=!!p&&u(p,h,3);g<f;){if(g in c){if(d=m?m(c[g],g,e):c[g],v=!1,o(d)&&(v=void 0!==(v=d[a])?!!v:r(d)),v&&l>0)y=t(n,e,d,i(d.length),y,l-1)-1;else{if(y>=9007199254740991)throw TypeError();n[y]=d}y++}g++}return y}},function(t,n,e){e(315),t.exports=e(7).String.padStart},function(t,n,e){"use strict";var r=e(0),o=e(145),i=e(70),u=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(i);r(r.P+r.F*u,"String",{padStart:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0,!0)}})},function(t,n,e){e(317),t.exports=e(7).String.padEnd},function(t,n,e){"use strict";var r=e(0),o=e(145),i=e(70),u=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(i);r(r.P+r.F*u,"String",{padEnd:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0,!1)}})},function(t,n,e){e(319),t.exports=e(7).String.trimLeft},function(t,n,e){"use strict";e(45)("trimLeft",function(t){return function(){return t(this,1)}},"trimStart")},function(t,n,e){e(321),t.exports=e(7).String.trimRight},function(t,n,e){"use strict";e(45)("trimRight",function(t){return function(){return t(this,2)}},"trimEnd")},function(t,n,e){e(323),t.exports=e(77).f("asyncIterator")},function(t,n,e){e(117)("asyncIterator")},function(t,n,e){e(325),t.exports=e(7).Object.getOwnPropertyDescriptors},function(t,n,e){var r=e(0),o=e(144),i=e(15),u=e(20),a=e(93);r(r.S,"Object",{getOwnPropertyDescriptors:function(t){for(var n,e,r=i(t),c=u.f,f=o(r),s={},l=0;f.length>l;)void 0!==(e=c(r,n=f[l++]))&&a(s,n,e);return s}})},function(t,n,e){e(327),t.exports=e(7).Object.values},function(t,n,e){var r=e(0),o=e(146)(!1);r(r.S,"Object",{values:function(t){return o(t)}})},function(t,n,e){e(329),t.exports=e(7).Object.entries},function(t,n,e){var r=e(0),o=e(146)(!0);r(r.S,"Object",{entries:function(t){return o(t)}})},function(t,n,e){"use strict";e(138),e(331),t.exports=e(7).Promise.finally},function(t,n,e){"use strict";var r=e(0),o=e(7),i=e(1),u=e(57),a=e(140);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 a(n,t()).then(function(){return e})}:t,e?function(e){return a(n,t()).then(function(){throw e})}:t)}})},function(t,n,e){e(333),e(334),e(335),t.exports=e(7)},function(t,n,e){var r=e(1),o=e(0),i=e(70),u=[].slice,a=/MSIE .\./.test(i),c=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*a,{setTimeout:c(r.setTimeout),setInterval:c(r.setInterval)})},function(t,n,e){var r=e(0),o=e(99);r(r.G+r.B,{setImmediate:o.set,clearImmediate:o.clear})},function(t,n,e){for(var r=e(96),o=e(33),i=e(11),u=e(1),a=e(14),c=e(46),f=e(5),s=f("iterator"),l=f("toStringTag"),p=c.Array,h={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},d=o(h),v=0;v<d.length;v++){var y,g=d[v],m=h[g],b=u[g],w=b&&b.prototype;if(w&&(w[s]||a(w,s,p),w[l]||a(w,l,g),c[g]=p,m))for(y in r)w[y]||i(w,y,r[y],!0)}},function(t,n,e){var r=function(t){"use strict";var n,e=Object.prototype,r=e.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",u=o.asyncIterator||"@@asyncIterator",a=o.toStringTag||"@@toStringTag";function c(t,n,e,r){var o=n&&n.prototype instanceof v?n:v,i=Object.create(o.prototype),u=new P(r||[]);return i._invoke=function(t,n,e){var r=s;return function(o,i){if(r===p)throw new Error("Generator is already running");if(r===h){if("throw"===o)throw i;return F()}for(e.method=o,e.arg=i;;){var u=e.delegate;if(u){var a=O(u,e);if(a){if(a===d)continue;return a}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if(r===s)throw r=h,e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);r=p;var c=f(t,n,e);if("normal"===c.type){if(r=e.done?h:l,c.arg===d)continue;return{value:c.arg,done:e.done}}"throw"===c.type&&(r=h,e.method="throw",e.arg=c.arg)}}}(t,e,u),i}function f(t,n,e){try{return{type:"normal",arg:t.call(n,e)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var s="suspendedStart",l="suspendedYield",p="executing",h="completed",d={};function v(){}function y(){}function g(){}var m={};m[i]=function(){return this};var b=Object.getPrototypeOf,w=b&&b(b(T([])));w&&w!==e&&r.call(w,i)&&(m=w);var x=g.prototype=v.prototype=Object.create(m);function S(t){["next","throw","return"].forEach(function(n){t[n]=function(t){return this._invoke(n,t)}})}function _(t){var n;this._invoke=function(e,o){function i(){return new Promise(function(n,i){!function n(e,o,i,u){var a=f(t[e],t,o);if("throw"!==a.type){var c=a.arg,s=c.value;return s&&"object"==typeof s&&r.call(s,"__await")?Promise.resolve(s.__await).then(function(t){n("next",t,i,u)},function(t){n("throw",t,i,u)}):Promise.resolve(s).then(function(t){c.value=t,i(c)},function(t){return n("throw",t,i,u)})}u(a.arg)}(e,o,n,i)})}return n=n?n.then(i,i):i()}}function O(t,e){var r=t.iterator[e.method];if(r===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=n,O(t,e),"throw"===e.method))return d;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var o=f(r,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,d;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=n),e.delegate=null,d):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,d)}function E(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 M(t){var n=t.completion||{};n.type="normal",delete n.arg,t.completion=n}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function T(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,u=function e(){for(;++o<t.length;)if(r.call(t,o))return e.value=t[o],e.done=!1,e;return e.value=n,e.done=!0,e};return u.next=u}}return{next:F}}function F(){return{value:n,done:!0}}return y.prototype=x.constructor=g,g.constructor=y,g[a]=y.displayName="GeneratorFunction",t.isGeneratorFunction=function(t){var n="function"==typeof t&&t.constructor;return!!n&&(n===y||"GeneratorFunction"===(n.displayName||n.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,g):(t.__proto__=g,a in t||(t[a]="GeneratorFunction")),t.prototype=Object.create(x),t},t.awrap=function(t){return{__await:t}},S(_.prototype),_.prototype[u]=function(){return this},t.AsyncIterator=_,t.async=function(n,e,r,o){var i=new _(c(n,e,r,o));return t.isGeneratorFunction(e)?i:i.next().then(function(t){return t.done?t.value:i.next()})},S(x),x[a]="Generator",x[i]=function(){return this},x.toString=function(){return"[object Generator]"},t.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}},t.values=T,P.prototype={constructor:P,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(M),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=n)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function o(r,o){return a.type="throw",a.arg=t,e.next=r,o&&(e.method="next",e.arg=n),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var u=this.tryEntries[i],a=u.completion;if("root"===u.tryLoc)return o("end");if(u.tryLoc<=this.prev){var c=r.call(u,"catchLoc"),f=r.call(u,"finallyLoc");if(c&&f){if(this.prev<u.catchLoc)return o(u.catchLoc,!0);if(this.prev<u.finallyLoc)return o(u.finallyLoc)}else if(c){if(this.prev<u.catchLoc)return o(u.catchLoc,!0)}else{if(!f)throw new Error("try statement without catch or finally");if(this.prev<u.finallyLoc)return o(u.finallyLoc)}}}},abrupt:function(t,n){for(var e=this.tryEntries.length-1;e>=0;--e){var o=this.tryEntries[e];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=n&&n<=i.finallyLoc&&(i=null);var u=i?i.completion:{};return u.type=t,u.arg=n,i?(this.method="next",this.next=i.finallyLoc,d):this.complete(u)},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),d},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),M(e),d}},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;M(e)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:T(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=n),d}},t}(t.exports);try{regeneratorRuntime=r}catch(t){Function("r","regeneratorRuntime = r")(r)}},function(t,n,e){e(338),t.exports=e(23).global},function(t,n,e){var r=e(40);r(r.G,{global:e(27)})},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,n,e){t.exports={default:e(341),__esModule:!0}},function(t,n,e){e(342),t.exports=e(23).Object.getPrototypeOf},function(t,n,e){var r=e(102),o=e(150);e(343)("getPrototypeOf",function(){return function(t){return o(r(t))}})},function(t,n,e){var r=e(40),o=e(23),i=e(59);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){"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,o=e(346),i=(r=o)&&r.__esModule?r:{default: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,i.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(347),__esModule:!0}},function(t,n,e){e(348);var r=e(23).Object;t.exports=function(t,n,e){return r.defineProperty(t,n,e)}},function(t,n,e){var r=e(40);r(r.S+r.F*!e(42),"Object",{defineProperty:e(41).f})},function(t,n,e){"use strict";n.__esModule=!0;var r,o=e(151),i=(r=o)&&r.__esModule?r:{default: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,i.default)(n))&&"function"!=typeof n?t:n}},function(t,n,e){t.exports={default:e(351),__esModule:!0}},function(t,n,e){e(352),e(361),t.exports=e(112).f("iterator")},function(t,n,e){"use strict";var r=e(353)(!0);e(152)(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(106),o=e(103);t.exports=function(t){return function(n,e){var i,u,a=String(o(n)),c=r(e),f=a.length;return c<0||c>=f?t?"":void 0:(i=a.charCodeAt(c))<55296||i>56319||c+1===f||(u=a.charCodeAt(c+1))<56320||u>57343?t?a.charAt(c):i:t?a.slice(c,c+2):u-56320+(i-55296<<10)+65536}}},function(t,n,e){"use strict";var r=e(108),o=e(73),i=e(111),u={};e(50)(u,e(53)("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(41),o=e(58),i=e(109);t.exports=e(42)?Object.defineProperties:function(t,n){o(t);for(var e,u=i(n),a=u.length,c=0;a>c;)r.f(t,e=u[c++],n[e]);return t}},function(t,n,e){var r=e(155);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,n,e){var r=e(52),o=e(358),i=e(359);t.exports=function(t){return function(n,e,u){var a,c=r(n),f=o(c.length),s=i(u,f);if(t&&e!=e){for(;f>s;)if((a=c[s++])!=a)return!0}else for(;f>s;s++)if((t||s in c)&&c[s]===e)return t||s||0;return!t&&-1}}},function(t,n,e){var r=e(106),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,n,e){var r=e(106),o=Math.max,i=Math.min;t.exports=function(t,n){return(t=r(t))<0?o(t+n,0):i(t,n)}},function(t,n,e){var r=e(27).document;t.exports=r&&r.documentElement},function(t,n,e){e(362);for(var r=e(27),o=e(50),i=e(107),u=e(53)("toStringTag"),a="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<a.length;c++){var f=a[c],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(363),o=e(364),i=e(107),u=e(52);t.exports=e(152)(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)):o(0,"keys"==n?e:"values"==n?t[e]:[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(366),__esModule:!0}},function(t,n,e){e(367),e(372),e(373),e(374),t.exports=e(23).Symbol},function(t,n,e){"use strict";var r=e(27),o=e(43),i=e(42),u=e(40),a=e(153),c=e(368).KEY,f=e(59),s=e(105),l=e(111),p=e(75),h=e(53),d=e(112),v=e(113),y=e(369),g=e(370),m=e(58),b=e(51),w=e(102),x=e(52),S=e(101),_=e(73),O=e(108),E=e(371),M=e(158),P=e(156),T=e(41),F=e(109),I=M.f,j=T.f,A=E.f,k=r.Symbol,N=r.JSON,R=N&&N.stringify,L=h("_hidden"),C=h("toPrimitive"),z={}.propertyIsEnumerable,W=s("symbol-registry"),D=s("symbols"),V=s("op-symbols"),B=Object.prototype,U="function"==typeof k&&!!P.f,G=r.QObject,H=!G||!G.prototype||!G.prototype.findChild,q=i&&f(function(){return 7!=O(j({},"a",{get:function(){return j(this,"a",{value:7}).a}})).a})?function(t,n,e){var r=I(B,n);r&&delete B[n],j(t,n,e),r&&t!==B&&j(B,n,r)}:j,Y=function(t){var n=D[t]=O(k.prototype);return n._k=t,n},J=U&&"symbol"==typeof k.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof k},K=function(t,n,e){return t===B&&K(V,n,e),m(t),n=S(n,!0),m(e),o(D,n)?(e.enumerable?(o(t,L)&&t[L][n]&&(t[L][n]=!1),e=O(e,{enumerable:_(0,!1)})):(o(t,L)||j(t,L,_(1,{})),t[L][n]=!0),q(t,n,e)):j(t,n,e)},X=function(t,n){m(t);for(var e,r=y(n=x(n)),o=0,i=r.length;i>o;)K(t,e=r[o++],n[e]);return t},$=function(t){var n=z.call(this,t=S(t,!0));return!(this===B&&o(D,t)&&!o(V,t))&&(!(n||!o(this,t)||!o(D,t)||o(this,L)&&this[L][t])||n)},Q=function(t,n){if(t=x(t),n=S(n,!0),t!==B||!o(D,n)||o(V,n)){var e=I(t,n);return!e||!o(D,n)||o(t,L)&&t[L][n]||(e.enumerable=!0),e}},Z=function(t){for(var n,e=A(x(t)),r=[],i=0;e.length>i;)o(D,n=e[i++])||n==L||n==c||r.push(n);return r},tt=function(t){for(var n,e=t===B,r=A(e?V:x(t)),i=[],u=0;r.length>u;)!o(D,n=r[u++])||e&&!o(B,n)||i.push(D[n]);return i};U||(a((k=function(){if(this instanceof k)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),n=function(e){this===B&&n.call(V,e),o(this,L)&&o(this[L],t)&&(this[L][t]=!1),q(this,t,_(1,e))};return i&&H&&q(B,t,{configurable:!0,set:n}),Y(t)}).prototype,"toString",function(){return this._k}),M.f=Q,T.f=K,e(157).f=E.f=Z,e(114).f=$,P.f=tt,i&&!e(74)&&a(B,"propertyIsEnumerable",$,!0),d.f=function(t){return Y(h(t))}),u(u.G+u.W+u.F*!U,{Symbol:k});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=F(h.store),ot=0;rt.length>ot;)v(rt[ot++]);u(u.S+u.F*!U,"Symbol",{for:function(t){return o(W,t+="")?W[t]:W[t]=k(t)},keyFor:function(t){if(!J(t))throw TypeError(t+" is not a symbol!");for(var n in W)if(W[n]===t)return n},useSetter:function(){H=!0},useSimple:function(){H=!1}}),u(u.S+u.F*!U,"Object",{create:function(t,n){return void 0===n?O(t):X(O(t),n)},defineProperty:K,defineProperties:X,getOwnPropertyDescriptor:Q,getOwnPropertyNames:Z,getOwnPropertySymbols:tt});var it=f(function(){P.f(1)});u(u.S+u.F*it,"Object",{getOwnPropertySymbols:function(t){return P.f(w(t))}}),N&&u(u.S+u.F*(!U||f(function(){var t=k();return"[null]"!=R([t])||"{}"!=R({a:t})||"{}"!=R(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],(b(n)||void 0!==t)&&!J(t))return g(n)||(n=function(t,n){if("function"==typeof e&&(n=e.call(this,t,n)),!J(n))return n}),r[1]=n,R.apply(N,r)}}),k.prototype[C]||e(50)(k.prototype,C,k.prototype.valueOf),l(k,"Symbol"),l(Math,"Math",!0),l(r.JSON,"JSON",!0)},function(t,n,e){var r=e(75)("meta"),o=e(51),i=e(43),u=e(41).f,a=0,c=Object.isExtensible||function(){return!0},f=!e(59)(function(){return c(Object.preventExtensions({}))}),s=function(t){u(t,r,{value:{i:"O"+ ++a,w:{}}})},l=t.exports={KEY:r,NEED:!1,fastKey:function(t,n){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,r)){if(!c(t))return"F";if(!n)return"E";s(t)}return t[r].i},getWeak:function(t,n){if(!i(t,r)){if(!c(t))return!0;if(!n)return!1;s(t)}return t[r].w},onFreeze:function(t){return f&&l.NEED&&c(t)&&!i(t,r)&&s(t),t}}},function(t,n,e){var r=e(109),o=e(156),i=e(114);t.exports=function(t){var n=r(t),e=o.f;if(e)for(var u,a=e(t),c=i.f,f=0;a.length>f;)c.call(t,u=a[f++])&&n.push(u);return n}},function(t,n,e){var r=e(155);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,n,e){var r=e(52),o=e(157).f,i={}.toString,u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return u&&"[object Window]"==i.call(t)?function(t){try{return o(t)}catch(t){return u.slice()}}(t):o(r(t))}},function(t,n){},function(t,n,e){e(113)("asyncIterator")},function(t,n,e){e(113)("observable")},function(t,n,e){"use strict";n.__esModule=!0;var r=u(e(376)),o=u(e(380)),i=u(e(151));function u(t){return t&&t.__esModule?t:{default:t}}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,i.default)(n)));t.prototype=(0,o.default)(n&&n.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),n&&(r.default?(0,r.default)(t,n):t.__proto__=n)}},function(t,n,e){t.exports={default:e(377),__esModule:!0}},function(t,n,e){e(378),t.exports=e(23).Object.setPrototypeOf},function(t,n,e){var r=e(40);r(r.S,"Object",{setPrototypeOf:e(379).set})},function(t,n,e){var r=e(51),o=e(58),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(147)(Function.call,e(158).f(Object.prototype,"__proto__").set,2))(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(381),__esModule:!0}},function(t,n,e){e(382);var r=e(23).Object;t.exports=function(t,n){return r.create(t,n)}},function(t,n,e){var r=e(40);r(r.S,"Object",{create:e(108)})},function(t,n,e){t.exports=e(384)()},function(t,n,e){"use strict";var r=e(385);function o(){}function i(){}i.resetWarningCache=o,t.exports=function(){function t(t,n,e,o,i,u){if(u!==r){var a=new Error("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");throw a.name="Invariant Violation",a}}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,elementType:t,instanceOf:n,node:t,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n,checkPropTypes:i,resetWarningCache:o};return e.PropTypes=e,e}},function(t,n,e){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(t,n){t.exports=ReactDOM},function(t,n,e){"use strict";t.exports=e(388)},function(t,n,e){n.iframeResizer=e(389),n.iframeResizerContentWindow=e(390)},function(t,n,e){var r,o,i;!function(e){"use strict";if("undefined"!=typeof window){var u,a=0,c=!1,f=!1,s="message".length,l="[iFrameSizer]",p=l.length,h=null,d=window.requestAnimationFrame,v={max:1,scroll:1,bodyScroll:1,documentElementScroll:1},y={},g=null,m={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(){P("MessageCallback function not defined")},resizedCallback:function(){},scrollCallback:function(){return!0}},b={};window.jQuery&&((u=window.jQuery).fn?u.fn.iFrameResize||(u.fn.iFrameResize=function(t){return this.filter("iframe").each(function(n,e){V(e,t)}).end()}):M("","Unable to bind to jQuery, it is not fully loaded.")),o=[],(i="function"==typeof(r=q)?r.apply(n,o):r)===e||(t.exports=i),window.iFrameResize=window.iFrameResize||q()}function w(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}function x(t,n,e){"addEventListener"in window?t.addEventListener(n,e,!1):"attachEvent"in window&&t.attachEvent("on"+n,e)}function S(t,n,e){"removeEventListener"in window?t.removeEventListener(n,e,!1):"detachEvent"in window&&t.detachEvent("on"+n,e)}function _(t){return l+"["+function(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}(t)+"]"}function O(t){return y[t]?y[t].log:c}function E(t,n){T("log",t,n,O(t))}function M(t,n){T("info",t,n,O(t))}function P(t,n){T("warn",t,n,!0)}function T(t,n,e,r){!0===r&&"object"==typeof window.console&&console[t](_(n),e)}function F(t){function n(){e("Height"),e("Width"),z(function(){C(m),N(w),c("resizedCallback",m)},m,"init")}function e(t){var n=Number(y[w]["max"+t]),e=Number(y[w]["min"+t]),r=t.toLowerCase(),o=Number(m[r]);E(w,"Checking "+r+" is in range "+e+"-"+n),o<e&&(o=e,E(w,"Set "+r+" to min value")),o>n&&(o=n,E(w,"Set "+r+" to max value")),m[r]=""+o}function r(t){return g.substr(g.indexOf(":")+s+t)}function o(t,n){var e,r,o;e=function(){var e,r;W("Send Page Info","pageInfo:"+(e=document.body.getBoundingClientRect(),r=m.iframe.getBoundingClientRect(),JSON.stringify({iframeHeight:r.height,iframeWidth:r.width,clientHeight:Math.max(document.documentElement.clientHeight,window.innerHeight||0),clientWidth:Math.max(document.documentElement.clientWidth,window.innerWidth||0),offsetTop:parseInt(r.top-e.top,10),offsetLeft:parseInt(r.left-e.left,10),scrollTop:window.pageYOffset,scrollLeft:window.pageXOffset})),t,n)},r=32,b[o=n]||(b[o]=setTimeout(function(){b[o]=null,e()},r))}function i(t){var n=t.getBoundingClientRect();return k(w),{x:Math.floor(Number(n.left)+Number(h.x)),y:Math.floor(Number(n.top)+Number(h.y))}}function u(t){var n=t?i(m.iframe):{x:0,y:0},e={x:Number(m.width)+n.x,y:Number(m.height)+n.y};E(w,"Reposition requested from iFrame (offset x:"+n.x+" y:"+n.y+")"),window.top!==window.self?window.parentIFrame?window.parentIFrame["scrollTo"+(t?"Offset":"")](e.x,e.y):P(w,"Unable to scroll to requested position, window.parentIFrame not found"):(h=e,a(),E(w,"--"))}function a(){!1!==c("scrollCallback",h)?N(w):R()}function c(t,n){return I(w,t,n)}var f,d,v,g=t.data,m={},w=null;"[iFrameResizerChild]Ready"===g?function(){for(var t in y)W("iFrame requested init",D(t),document.getElementById(t),t)}():l===(""+g).substr(0,p)&&g.substr(p).split(":")[0]in y?(v=g.substr(p).split(":"),m={iframe:y[v[0]]&&y[v[0]].iframe,id:v[0],height:v[1],width:v[2],type:v[3]},w=m.id,y[w]&&(y[w].loaded=!0),(d=m.type in{true:1,false:1,undefined:1})&&E(w,"Ignoring init message from meta parent page"),!d&&function(t){var n=!0;return y[t]||(n=!1,P(m.type+" No settings for "+t+". Message was: "+g)),n}(w)&&(E(w,"Received: "+g),f=!0,null===m.iframe&&(P(w,"IFrame ("+m.id+") not found"),f=!1),f&&function(){var n,e=t.origin,r=y[w]&&y[w].checkOrigin;if(r&&""+e!="null"&&!(r.constructor===Array?function(){var t=0,n=!1;for(E(w,"Checking connection is from allowed list of origins: "+r);t<r.length;t++)if(r[t]===e){n=!0;break}return n}():(n=y[w]&&y[w].remoteHost,E(w,"Checking connection is from: "+n),e===n)))throw new Error("Unexpected message received from: "+e+" for "+m.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(y[w]&&y[w].firstRun&&y[w]&&(y[w].firstRun=!1),m.type){case"close":y[w].closeRequestCallback?I(w,"closeRequestCallback",y[w].iframe):A(m.iframe);break;case"message":t=r(6),E(w,"MessageCallback passed: {iframe: "+m.iframe.id+", message: "+t+"}"),c("messageCallback",{iframe:m.iframe,message:JSON.parse(t)}),E(w,"--");break;case"scrollTo":u(!1);break;case"scrollToOffset":u(!0);break;case"pageInfo":o(y[w]&&y[w].iframe,w),function(){function t(t,r){function i(){y[e]?o(y[e].iframe,e):n()}["scroll","resize"].forEach(function(n){E(e,t+n+" listener for sendPageInfo"),r(window,n,i)})}function n(){t("Remove ",S)}var e=w;t("Add ",x),y[e]&&(y[e].stopPageInfo=n)}();break;case"pageInfoStop":y[w]&&y[w].stopPageInfo&&(y[w].stopPageInfo(),delete y[w].stopPageInfo);break;case"inPageLink":!function(t){var n,e=t.split("#")[1]||"",r=decodeURIComponent(e),o=document.getElementById(r)||document.getElementsByName(r)[0];o?(n=i(o),E(w,"Moving to in page link (#"+e+") at x: "+n.x+" y: "+n.y),h={x:n.x,y:n.y},a(),E(w,"--")):window.top!==window.self?window.parentIFrame?window.parentIFrame.moveToAnchor(e):E(w,"In page link #"+e+" not found and window.parentIFrame not found"):E(w,"In page link #"+e+" not found")}(r(9));break;case"reset":L(m);break;case"init":n(),c("initCallback",m.iframe);break;default:n()}var t}())):M(w,"Ignored: "+g)}function I(t,n,e){var r=null,o=null;if(y[t]){if("function"!=typeof(r=y[t][n]))throw new TypeError(n+" on iFrame["+t+"] is not a function");o=r(e)}return o}function j(t){var n=t.id;delete y[n]}function A(t){var n=t.id;E(n,"Removing iFrame: "+n);try{t.parentNode&&t.parentNode.removeChild(t)}catch(t){}I(n,"closedCallback",n),E(n,"--"),j(t)}function k(t){null===h&&E(t,"Get page position: "+(h={x:window.pageXOffset!==e?window.pageXOffset:document.documentElement.scrollLeft,y:window.pageYOffset!==e?window.pageYOffset:document.documentElement.scrollTop}).x+","+h.y)}function N(t){null!==h&&(window.scrollTo(h.x,h.y),E(t,"Set page position: "+h.x+","+h.y),R())}function R(){h=null}function L(t){E(t.id,"Size reset requested by "+("init"===t.type?"host page":"iFrame")),k(t.id),z(function(){C(t),W("reset","reset",t.iframe,t.id)},t,"reset")}function C(t){function n(n){f||"0"!==t[n]||(f=!0,E(r,"Hidden iFrame detected, creating visibility listener"),function(){function t(){function t(t){function n(n){return"0px"===(y[t]&&y[t].iframe.style[n])}y[t]&&null!==y[t].iframe.offsetParent&&(n("height")||n("width"))&&W("Visibility change","resize",y[t].iframe,t)}for(var n in y)t(n)}function n(n){E("window","Mutation observed: "+n[0].target+" "+n[0].type),B(t,16)}var e=w();e&&(r=document.querySelector("body"),new e(n).observe(r,{attributes:!0,attributeOldValue:!1,characterData:!0,characterDataOldValue:!1,childList:!0,subtree:!0}));var r}())}function e(e){!function(n){t.id?(t.iframe.style[n]=t[n]+"px",E(t.id,"IFrame ("+r+") "+n+" set to "+t[n]+"px")):E("undefined","messageData id not set")}(e),n(e)}var r=t.iframe.id;y[r]&&(y[r].sizeHeight&&e("height"),y[r].sizeWidth&&e("width"))}function z(t,n,e){e!==n.type&&d?(E(n.id,"Requesting animation frame"),d(t)):t()}function W(t,n,e,r,o){var i,u=!1;r=r||e.id,y[r]&&(e&&"contentWindow"in e&&null!==e.contentWindow?(i=y[r]&&y[r].targetOrigin,E(r,"["+t+"] Sending msg to iframe["+r+"] ("+n+") targetOrigin: "+i),e.contentWindow.postMessage(l+n,i)):P(r,"["+t+"] IFrame("+r+") not found"),o&&y[r]&&y[r].warningTimeout&&(y[r].msgTimeout=setTimeout(function(){!y[r]||y[r].loaded||u||(u=!0,P(r,"IFrame has not responded within "+y[r].warningTimeout/1e3+" seconds. Check iFrameResizer.contentWindow.js has been loaded in iFrame. This message can be ignored if everything is working, or you can set the warningTimeout option to a higher value or zero to suppress this warning."))},y[r].warningTimeout)))}function D(t){return t+":"+y[t].bodyMarginV1+":"+y[t].sizeWidth+":"+y[t].log+":"+y[t].interval+":"+y[t].enablePublicMethods+":"+y[t].autoResize+":"+y[t].bodyMargin+":"+y[t].heightCalculationMethod+":"+y[t].bodyBackground+":"+y[t].bodyPadding+":"+y[t].tolerance+":"+y[t].inPageLinks+":"+y[t].resizeFrom+":"+y[t].widthCalculationMethod}function V(t,n){var r,o,i=function(e){var r;return e,""===e&&(t.id=(r=n&&n.id||m.id+a++,null!==document.getElementById(r)&&(r+=a++),e=r),c=(n||{}).log,e,E(e,"Added missing iframe ID: "+e+" ("+t.src+")")),e}(t.id);i in y&&"iFrameResizer"in t?P(i,"Ignored iFrame, already setup."):(!function(n){var e;n=n||{},y[i]={firstRun:!0,iframe:t,remoteHost:t.src.split("/").slice(0,3).join("/")},function(t){if("object"!=typeof t)throw new TypeError("Options is not an object")}(n),function(t){for(var n in m)m.hasOwnProperty(n)&&(y[i][n]=t.hasOwnProperty(n)?t[n]:m[n])}(n),y[i]&&(y[i].targetOrigin=!0===y[i].checkOrigin?""===(e=y[i].remoteHost)||"file://"===e?"*":e:"*")}(n),function(){switch(E(i,"IFrame scrolling "+(y[i]&&y[i].scrolling?"enabled":"disabled")+" for "+i),t.style.overflow=!1===(y[i]&&y[i].scrolling)?"hidden":"auto",y[i]&&y[i].scrolling){case"omit":break;case!0:t.scrolling="yes";break;case!1:t.scrolling="no";break;default:t.scrolling=y[i]?y[i].scrolling:"no"}}(),function(){function n(n){1/0!==y[i][n]&&0!==y[i][n]&&(t.style[n]=y[i][n]+"px",E(i,"Set "+n+" = "+y[i][n]+"px"))}function e(t){if(y[i]["min"+t]>y[i]["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")}(),"number"!=typeof(y[i]&&y[i].bodyMargin)&&"0"!==(y[i]&&y[i].bodyMargin)||(y[i].bodyMarginV1=y[i].bodyMargin,y[i].bodyMargin=y[i].bodyMargin+"px"),r=D(i),(o=w())&&function(n){t.parentNode&&new n(function(n){n.forEach(function(n){Array.prototype.slice.call(n.removedNodes).forEach(function(n){n===t&&A(t)})})}).observe(t.parentNode,{childList:!0})}(o),x(t,"load",function(){var n,o;W("iFrame.onload",r,t,e,!0),n=y[i]&&y[i].firstRun,o=y[i]&&y[i].heightCalculationMethod in v,!n&&o&&L({iframe:t,height:0,width:0,type:"init"})}),W("init",r,t,e,!0),Function.prototype.bind&&y[i]&&(y[i].iframe.iFrameResizer={close:A.bind(null,y[i].iframe),removeListeners:j.bind(null,y[i].iframe),resize:W.bind(null,"Window resize","resize",y[i].iframe),moveToAnchor:function(t){W("Move to anchor","moveToAnchor:"+t,y[i].iframe,i)},sendMessage:function(t){W("Send Message","message:"+(t=JSON.stringify(t)),y[i].iframe,i)}}))}function B(t,n){null===g&&(g=setTimeout(function(){g=null,t()},n))}function U(t){E("window","Trigger event: "+t),B(function(){H("Window "+t,"resize")},16)}function G(){"hidden"!==document.visibilityState&&(E("document","Trigger event: Visiblity change"),B(function(){H("Tab Visable","resize")},16))}function H(t,n){function e(t){return y[t]&&"parent"===y[t].resizeFrom&&y[t].autoResize&&!y[t].firstRun}for(var r in y)e(r)&&W(t,n,document.getElementById(r),r)}function q(){function t(t,e){e&&(!function(){if(!e.tagName)throw new TypeError("Object is not a valid DOM element");if("IFRAME"!==e.tagName.toUpperCase())throw new TypeError("Expected <IFRAME> tag, found <"+e.tagName+">")}(),V(e,t),n.push(e))}var n;return function(){var t,n=["moz","webkit","o","ms"];for(t=0;t<n.length&&!d;t+=1)d=window[n[t]+"RequestAnimationFrame"];d||E("setup","RequestAnimationFrame not supported")}(),x(window,"message",F),x(window,"resize",function(){U("resize")}),x(document,"visibilitychange",G),x(document,"-webkit-visibilitychange",G),x(window,"focusin",function(){U("focus")}),x(window,"focus",function(){U("focus")}),function(r,o){switch(n=[],function(t){t&&t.enablePublicMethods&&P("enablePublicMethods option has been removed, public methods are now always available in the iFrame")}(r),typeof o){case"undefined":case"string":Array.prototype.forEach.call(document.querySelectorAll(o||"iframe"),t.bind(e,r));break;case"object":t(r,o);break;default:throw new TypeError("Unexpected data type ("+typeof o+")")}return n}}}()},function(t,n,e){!function(n){"use strict";if("undefined"!=typeof window){var e=!0,r=10,o="",i=0,u="",a=null,c="",f=!1,s={resize:1,click:1},l=128,p=!0,h=1,d="bodyOffset",v=d,y=!0,g="",m={},b=32,w=null,x=!1,S="[iFrameSizer]",_=S.length,O="",E={max:1,min:1,bodyScroll:1,documentElementScroll:1},M="child",P=!0,T=window.parent,F="*",I=0,j=!1,A=null,k=16,N=1,R="scroll",L=R,C=window,z=function(){ct("MessageCallback function not defined")},W=function(){},D=function(){},V={height:function(){return ct("Custom height calculation function not defined"),document.documentElement.offsetHeight},width:function(){return ct("Custom width calculation function not defined"),document.body.scrollWidth}},B={},U=!1;try{var G=Object.create({},{passive:{get:function(){U=!0}},once:{get:function(){!0}}});window.addEventListener("test",et,G),window.removeEventListener("test",et,G)}catch(t){}var H,q,Y,J,K,X,$,Q=Date.now||function(){return(new Date).getTime()},Z={bodyOffset:function(){return document.body.offsetHeight+bt("marginTop")+bt("marginBottom")},offset:function(){return Z.bodyOffset()},bodyScroll:function(){return document.body.scrollHeight},custom:function(){return V.height()},documentElementOffset:function(){return document.documentElement.offsetHeight},documentElementScroll:function(){return document.documentElement.scrollHeight},max:function(){return Math.max.apply(null,xt(Z))},min:function(){return Math.min.apply(null,xt(Z))},grow:function(){return Z.max()},lowestElement:function(){return Math.max(Z.bodyOffset()||Z.documentElementOffset(),wt("bottom",_t()))},taggedElement:function(){return St("bottom","data-iframe-height")}},tt={bodyScroll:function(){return document.body.scrollWidth},bodyOffset:function(){return document.body.offsetWidth},custom:function(){return V.width()},documentElementScroll:function(){return document.documentElement.scrollWidth},documentElementOffset:function(){return document.documentElement.offsetWidth},scroll:function(){return Math.max(tt.bodyScroll(),tt.documentElementScroll())},max:function(){return Math.max.apply(null,xt(tt))},min:function(){return Math.min.apply(null,xt(tt))},rightMostElement:function(){return wt("right",_t())},taggedElement:function(){return St("right","data-iframe-width")}},nt=(H=Ot,K=null,X=0,$=function(){X=Q(),K=null,J=H.apply(q,Y),K||(q=Y=null)},function(){var t=Q();X||(X=t);var n=k-(t-X);return q=this,Y=arguments,n<=0||n>k?(K&&(clearTimeout(K),K=null),X=t,J=H.apply(q,Y),K||(q=Y=null)):K||(K=setTimeout($,n)),J});rt(window,"message",It),rt(window,"readystatechange",jt),jt()}function et(){}function rt(t,n,e,r){"addEventListener"in window?t.addEventListener(n,e,!!U&&(r||{})):"attachEvent"in window&&t.attachEvent("on"+n,e)}function ot(t,n,e){"removeEventListener"in window?t.removeEventListener(n,e,!1):"detachEvent"in window&&t.detachEvent("on"+n,e)}function it(t){return t.charAt(0).toUpperCase()+t.slice(1)}function ut(t){return S+"["+O+"] "+t}function at(t){x&&"object"==typeof window.console&&console.log(ut(t))}function ct(t){"object"==typeof window.console&&console.warn(ut(t))}function ft(){var t;!function(){function t(t){return"true"===t}var r=g.substr(_).split(":");O=r[0],i=n!==r[1]?Number(r[1]):i,f=n!==r[2]?t(r[2]):f,x=n!==r[3]?t(r[3]):x,b=n!==r[4]?Number(r[4]):b,e=n!==r[6]?t(r[6]):e,u=r[7],v=n!==r[8]?r[8]:v,o=r[9],c=r[10],I=n!==r[11]?Number(r[11]):I,m.enable=n!==r[12]&&t(r[12]),M=n!==r[13]?r[13]:M,L=n!==r[14]?r[14]:L}(),at("Initialising iFrame ("+location.href+")"),function(){function t(t,n){return"function"==typeof t&&(at("Setup custom "+n+"CalcMethod"),V[n]=t,t="custom"),t}"iFrameResizer"in window&&Object===window.iFrameResizer.constructor&&(n=window.iFrameResizer,at("Reading data from page: "+JSON.stringify(n)),z="messageCallback"in n?n.messageCallback:z,W="readyCallback"in n?n.readyCallback:W,F="targetOrigin"in n?n.targetOrigin:F,v="heightCalculationMethod"in n?n.heightCalculationMethod:v,L="widthCalculationMethod"in n?n.widthCalculationMethod:L,v=t(v,"height"),L=t(L,"width"));var n;at("TargetOrigin for parent set to: "+F)}(),function(){n===u&&(u=i+"px");st("margin",function(t,n){-1!==n.indexOf("-")&&(ct("Negative CSS value ignored for "+t),n="");return n}("margin",u))}(),st("background",o),st("padding",c),(t=document.createElement("div")).style.clear="both",t.style.display="block",document.body.appendChild(t),dt(),vt(),document.documentElement.style.height="",document.body.style.height="",at('HTML & body height set to "auto"'),at("Enable public methods"),C.parentIFrame={autoResize:function(t){return!0===t&&!1===e?(e=!0,yt()):!1===t&&!0===e&&(e=!1,gt()),e},close:function(){Ft(0,0,"close"),at("Disable outgoing messages"),P=!1,at("Remove event listener: Message"),ot(window,"message",It),!0===e&>()},getId:function(){return O},getPageInfo:function(t){"function"==typeof t?(D=t,Ft(0,0,"pageInfo")):(D=function(){},Ft(0,0,"pageInfoStop"))},moveToAnchor:function(t){m.findTarget(t)},reset:function(){Tt("parentIFrame.reset")},scrollTo:function(t,n){Ft(n,t,"scrollTo")},scrollToOffset:function(t,n){Ft(n,t,"scrollToOffset")},sendMessage:function(t,n){Ft(0,0,"message",JSON.stringify(t),n)},setHeightCalculationMethod:function(t){v=t,dt()},setWidthCalculationMethod:function(t){L=t,vt()},setTargetOrigin:function(t){at("Set targetOrigin: "+t),F=t},size:function(t,n){var e=(t||"")+(n?","+n:"");Et("size","parentIFrame.size("+e+")",t,n)}},yt(),m=function(){function t(t){var e=t.getBoundingClientRect(),r={x:window.pageXOffset!==n?window.pageXOffset:document.documentElement.scrollLeft,y:window.pageYOffset!==n?window.pageYOffset:document.documentElement.scrollTop};return{x:parseInt(e.left,10)+parseInt(r.x,10),y:parseInt(e.top,10)+parseInt(r.y,10)}}function e(e){var r=e.split("#")[1]||e,o=decodeURIComponent(r),i=document.getElementById(o)||document.getElementsByName(o)[0];n!==i?function(n){var e=t(n);at("Moving to in page link (#"+r+") at x: "+e.x+" y: "+e.y),Ft(e.y,e.x,"scrollToOffset")}(i):(at("In page link (#"+r+") not found in iFrame, so sending to parent"),Ft(0,0,"inPageLink","#"+r))}function r(){""!==location.hash&&"#"!==location.hash&&e(location.href)}m.enable?Array.prototype.forEach&&document.querySelectorAll?(at("Setting up location.hash handlers"),Array.prototype.forEach.call(document.querySelectorAll('a[href^="#"]'),function(t){"#"!==t.getAttribute("href")&&rt(t,"click",function(t){t.preventDefault(),e(this.getAttribute("href"))})}),rt(window,"hashchange",r),setTimeout(r,l)):ct("In page linking not fully supported in this browser! (See README.md for IE8 workaround)"):at("In page linking not enabled");return{findTarget:e}}(),Et("init","Init message from host page"),W()}function st(t,e){n!==e&&""!==e&&"null"!==e&&(document.body.style[t]=e,at("Body "+t+' set to "'+e+'"'))}function lt(t){var n={add:function(n){function e(){Et(t.eventName,t.eventType)}B[n]=e,rt(window,n,e,{passive:!0})},remove:function(t){var n=B[t];delete B[t],ot(window,t,n)}};t.eventNames&&Array.prototype.map?(t.eventName=t.eventNames[0],t.eventNames.map(n[t.method])):n[t.method](t.eventName),at(it(t.method)+" event listener: "+t.eventType)}function pt(t){lt({method:t,eventType:"Animation Start",eventNames:["animationstart","webkitAnimationStart"]}),lt({method:t,eventType:"Animation Iteration",eventNames:["animationiteration","webkitAnimationIteration"]}),lt({method:t,eventType:"Animation End",eventNames:["animationend","webkitAnimationEnd"]}),lt({method:t,eventType:"Input",eventName:"input"}),lt({method:t,eventType:"Mouse Up",eventName:"mouseup"}),lt({method:t,eventType:"Mouse Down",eventName:"mousedown"}),lt({method:t,eventType:"Orientation Change",eventName:"orientationchange"}),lt({method:t,eventType:"Print",eventName:["afterprint","beforeprint"]}),lt({method:t,eventType:"Ready State Change",eventName:"readystatechange"}),lt({method:t,eventType:"Touch Start",eventName:"touchstart"}),lt({method:t,eventType:"Touch End",eventName:"touchend"}),lt({method:t,eventType:"Touch Cancel",eventName:"touchcancel"}),lt({method:t,eventType:"Transition Start",eventNames:["transitionstart","webkitTransitionStart","MSTransitionStart","oTransitionStart","otransitionstart"]}),lt({method:t,eventType:"Transition Iteration",eventNames:["transitioniteration","webkitTransitionIteration","MSTransitionIteration","oTransitionIteration","otransitioniteration"]}),lt({method:t,eventType:"Transition End",eventNames:["transitionend","webkitTransitionEnd","MSTransitionEnd","oTransitionEnd","otransitionend"]}),"child"===M&<({method:t,eventType:"IFrame Resized",eventName:"resize"})}function ht(t,n,e,r){return n!==t&&(t in e||(ct(t+" is not a valid option for "+r+"CalculationMethod."),t=n),at(r+' calculation method set to "'+t+'"')),t}function dt(){v=ht(v,d,Z,"height")}function vt(){L=ht(L,R,tt,"width")}function yt(){var t;!0===e?(pt("add"),t=0>b,window.MutationObserver||window.WebKitMutationObserver?t?mt():a=function(){function t(t){function n(t){!1===t.complete&&(at("Attach listeners to "+t.src),t.addEventListener("load",o,!1),t.addEventListener("error",i,!1),a.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){at("Remove listeners from "+t.src),t.removeEventListener("load",o,!1),t.removeEventListener("error",i,!1),function(t){a.splice(a.indexOf(t),1)}(t)}function r(t,r,o){e(t.target),Et(r,o+": "+t.target.src,n,n)}function o(t){r(t,"imageLoad","Image loaded")}function i(t){r(t,"imageLoadFailed","Image load failed")}function u(n){Et("mutationObserver","mutationObserver: "+n[0].target+" "+n[0].type),n.forEach(t)}var a=[],c=window.MutationObserver||window.WebKitMutationObserver,f=function(){var t=document.querySelector("body");return f=new c(u),at("Create body MutationObserver"),f.observe(t,{attributes:!0,attributeOldValue:!1,characterData:!0,characterDataOldValue:!1,childList:!0,subtree:!0}),f}();return{disconnect:function(){"disconnect"in f&&(at("Disconnect body MutationObserver"),f.disconnect(),a.forEach(e))}}}():(at("MutationObserver not supported in this browser!"),mt())):at("Auto Resize disabled")}function gt(){pt("remove"),null!==a&&a.disconnect(),clearInterval(w)}function mt(){0!==b&&(at("setInterval: "+b+"ms"),w=setInterval(function(){Et("interval","setInterval: "+b)},Math.abs(b)))}function bt(t,n){var e=0;return n=n||document.body,e="defaultView"in document&&"getComputedStyle"in document.defaultView?null!==(e=document.defaultView.getComputedStyle(n,null))?e[t]:0:function(t){if(/^\d+(px)?$/i.test(t))return parseInt(t,r);var e=n.style.left,o=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=o,t}(n.currentStyle[t]),parseInt(e,r)}function wt(t,n){for(var e=n.length,r=0,o=0,i=it(t),u=Q(),a=0;a<e;a++)(r=n[a].getBoundingClientRect()[t]+bt("margin"+i,n[a]))>o&&(o=r);return u=Q()-u,at("Parsed "+e+" HTML elements"),at("Element position calculated in "+u+"ms"),function(t){t>k/2&&at("Event throttle increased to "+(k=2*t)+"ms")}(u),o}function xt(t){return[t.bodyOffset(),t.bodyScroll(),t.documentElementOffset(),t.documentElementScroll()]}function St(t,n){var e=document.querySelectorAll("["+n+"]");return 0===e.length&&(ct("No tagged elements ("+n+") found on page"),document.querySelectorAll("body *")),wt(t,e)}function _t(){return document.querySelectorAll("body *")}function Ot(t,e,r,o){var i,u;!function(){function t(t,n){return!(Math.abs(t-n)<=I)}return i=n!==r?r:Z[v](),u=n!==o?o:tt[L](),t(h,i)||f&&t(N,u)}()&&"init"!==t?t in{init:1,interval:1,size:1}||!(v in E||f&&L in E)?t in{interval:1}||at("No change in size detected"):Tt(e):(Mt(),Ft(h=i,N=u,t))}function Et(t,n,e,r){j&&t in s?at("Trigger event cancelled: "+t):(t in{reset:1,resetPage:1,init:1}||at("Trigger event: "+n),"init"===t?Ot(t,n,e,r):nt(t,n,e,r))}function Mt(){j||(j=!0,at("Trigger event lock on")),clearTimeout(A),A=setTimeout(function(){j=!1,at("Trigger event lock off"),at("--")},l)}function Pt(t){h=Z[v](),N=tt[L](),Ft(h,N,t)}function Tt(t){var n=v;v=d,at("Reset trigger event: "+t),Mt(),Pt("reset"),v=n}function Ft(t,e,r,o,i){var u;!0===P&&(n===i?i=F:at("Message targetOrigin: "+i),at("Sending message to host page ("+(u=O+":"+t+":"+e+":"+r+(n!==o?":"+o:""))+")"),T.postMessage(S+u,i))}function It(n){var e={init:function(){g=n.data,T=n.source,ft(),p=!1,setTimeout(function(){y=!1},l)},reset:function(){y?at("Page reset ignored by init"):(at("Page size reset by host page"),Pt("resetPage"))},resize:function(){Et("resizeParent","Parent window requested size check")},moveToAnchor:function(){m.findTarget(o())},inPageLink:function(){this.moveToAnchor()},pageInfo:function(){var t=o();at("PageInfoFromParent called from parent: "+t),D(JSON.parse(t)),at(" --")},message:function(){var t=o();at("MessageCallback called from parent: "+t),z(JSON.parse(t)),at(" --")}};function r(){return n.data.split("]")[1].split(":")[0]}function o(){return n.data.substr(n.data.indexOf(":")+1)}function i(){return n.data.split(":")[2]in{true:1,false:1}}function u(){var o=r();o in e?e[o]():!t.exports&&"iFrameResize"in window||"jQuery"in window&&"iFrameResize"in window.jQuery.prototype||i()||ct("Unexpected message ("+n.data+")")}S===(""+n.data).substr(0,_)&&(!1===p?u():i()?e.init():at('Ignored message of type "'+r()+'". Received before initialization.'))}function jt(){"loading"!==document.readyState&&window.parent.postMessage("[iFrameResizerChild]Ready","*")}}()}]);
|
1 |
+
!function(t){var n={};function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var i in t)e.d(r,i,function(n){return t[n]}.bind(null,i));return r},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=127)}([function(t,n,e){var r=e(1),i=e(7),o=e(14),u=e(11),c=e(17),a=function(t,n,e){var f,s,l,h,p=t&a.F,v=t&a.G,d=t&a.S,g=t&a.P,y=t&a.B,m=v?r:d?r[n]||(r[n]={}):(r[n]||{}).prototype,w=v?i:i[n]||(i[n]={}),b=w.prototype||(w.prototype={});for(f in v&&(e=n),e)l=((s=!p&&m&&void 0!==m[f])?m:e)[f],h=y&&s?c(l,r):g&&"function"==typeof l?c(Function.call,l):l,m&&u(m,f,l,t&a.U),w[f]!=l&&o(w,f,h),g&&b[f]!=l&&(b[f]=l)};r.core=i,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){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,e){var r=e(4);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n,e){var r=e(49)("wks"),i=e(30),o=e(1).Symbol,u="function"==typeof o;(t.exports=function(t){return r[t]||(r[t]=u&&o[t]||(u?o:i)("Symbol."+t))}).store=r},function(t,n,e){var r=e(19),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},function(t,n){var e=t.exports={version:"2.6.9"};"number"==typeof __e&&(__e=e)},function(t,n,e){t.exports=!e(2)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(t,n,e){var r=e(3),i=e(90),o=e(27),u=Object.defineProperty;n.f=e(8)?Object.defineProperty:function(t,n,e){if(r(t),n=o(n,!0),r(e),i)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);t.exports=function(t){return Object(r(t))}},function(t,n,e){var r=e(1),i=e(14),o=e(13),u=e(30)("src"),c=e(134),a=(""+c).split("toString");e(7).inspectSource=function(t){return c.call(t)},(t.exports=function(t,n,e,c){var f="function"==typeof e;f&&(o(e,"name")||i(e,"name",n)),t[n]!==e&&(f&&(o(e,u)||i(e,u,t[n]?""+t[n]:a.join(String(n)))),t===r?t[n]=e:c?t[n]?t[n]=e:i(t,n,e):(delete t[n],i(t,n,e)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[u]||c.call(this)}))},function(t,n,e){var r=e(0),i=e(2),o=e(24),u=/"/g,c=function(t,n,e,r){var i=String(o(t)),c="<"+n;return""!==e&&(c+=" "+e+'="'+String(r).replace(u,""")+'"'),c+">"+i+"</"+n+">"};t.exports=function(t,n){var e={};e[t]=n(c),r(r.P+r.F*i((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(9),i=e(29);t.exports=e(8)?function(t,n,e){return r.f(t,n,i(1,e))}:function(t,n,e){return t[n]=e,t}},function(t,n,e){var r=e(45),i=e(24);t.exports=function(t){return r(i(t))}},function(t,n,e){"use strict";var r=e(2);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(18);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,i){return t.call(n,e,r,i)}}return function(){return t.apply(n,arguments)}}},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");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(46),i=e(29),o=e(15),u=e(27),c=e(13),a=e(90),f=Object.getOwnPropertyDescriptor;n.f=e(8)?f:function(t,n){if(t=o(t),n=u(n,!0),a)try{return f(t,n)}catch(t){}if(c(t,n))return i(!r.f.call(t,n),t[n])}},function(t,n,e){var r=e(0),i=e(7),o=e(2);t.exports=function(t,n){var e=(i.Object||{})[t]||Object[t],u={};u[t]=n(e),r(r.S+r.F*o((function(){e(1)})),"Object",u)}},function(t,n,e){var r=e(17),i=e(45),o=e(10),u=e(6),c=e(106);t.exports=function(t,n){var e=1==t,a=2==t,f=3==t,s=4==t,l=6==t,h=5==t||l,p=n||c;return function(n,c,v){for(var d,g,y=o(n),m=i(y),w=r(c,v,3),b=u(m.length),x=0,S=e?p(n,b):a?p(n,0):void 0;b>x;x++)if((h||x in m)&&(g=w(d=m[x],x,y),t))if(e)S[x]=g;else if(g)switch(t){case 3:return!0;case 5:return d;case 6:return x;case 2:S.push(d)}else if(s)return!1;return l?-1:f||s?s:S}}},function(t,n){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},function(t,n){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,n,e){"use strict";if(e(8)){var r=e(31),i=e(1),o=e(2),u=e(0),c=e(60),a=e(85),f=e(17),s=e(43),l=e(29),h=e(14),p=e(44),v=e(19),d=e(6),g=e(117),y=e(33),m=e(27),w=e(13),b=e(47),x=e(4),S=e(10),_=e(77),E=e(34),O=e(36),F=e(35).f,P=e(79),M=e(30),I=e(5),A=e(22),j=e(50),T=e(48),R=e(81),N=e(41),k=e(53),L=e(42),C=e(80),z=e(108),W=e(9),D=e(20),B=W.f,V=D.f,U=i.RangeError,H=i.TypeError,G=i.Uint8Array,q=Array.prototype,Y=a.ArrayBuffer,J=a.DataView,X=A(0),K=A(2),$=A(3),Q=A(4),Z=A(5),tt=A(6),nt=j(!0),et=j(!1),rt=R.values,it=R.keys,ot=R.entries,ut=q.lastIndexOf,ct=q.reduce,at=q.reduceRight,ft=q.join,st=q.sort,lt=q.slice,ht=q.toString,pt=q.toLocaleString,vt=I("iterator"),dt=I("toStringTag"),gt=M("typed_constructor"),yt=M("def_constructor"),mt=c.CONSTR,wt=c.TYPED,bt=c.VIEW,xt=A(1,(function(t,n){return Ft(T(t,t[yt]),n)})),St=o((function(){return 1===new G(new Uint16Array([1]).buffer)[0]})),_t=!!G&&!!G.prototype.set&&o((function(){new G(1).set({})})),Et=function(t,n){var e=v(t);if(e<0||e%n)throw U("Wrong offset!");return e},Ot=function(t){if(x(t)&&wt in t)return t;throw H(t+" is not a typed array!")},Ft=function(t,n){if(!(x(t)&> in t))throw H("It is not a typed array constructor!");return new t(n)},Pt=function(t,n){return Mt(T(t,t[yt]),n)},Mt=function(t,n){for(var e=0,r=n.length,i=Ft(t,r);r>e;)i[e]=n[e++];return i},It=function(t,n,e){B(t,n,{get:function(){return this._d[e]}})},At=function(t){var n,e,r,i,o,u,c=S(t),a=arguments.length,s=a>1?arguments[1]:void 0,l=void 0!==s,h=P(c);if(null!=h&&!_(h)){for(u=h.call(c),r=[],n=0;!(o=u.next()).done;n++)r.push(o.value);c=r}for(l&&a>2&&(s=f(s,arguments[2],2)),n=0,e=d(c.length),i=Ft(this,e);e>n;n++)i[n]=l?s(c[n],n):c[n];return i},jt=function(){for(var t=0,n=arguments.length,e=Ft(this,n);n>t;)e[t]=arguments[t++];return e},Tt=!!G&&o((function(){pt.call(new G(1))})),Rt=function(){return pt.apply(Tt?lt.call(Ot(this)):Ot(this),arguments)},Nt={copyWithin:function(t,n){return z.call(Ot(this),t,n,arguments.length>2?arguments[2]:void 0)},every:function(t){return Q(Ot(this),t,arguments.length>1?arguments[1]:void 0)},fill:function(t){return C.apply(Ot(this),arguments)},filter:function(t){return Pt(this,K(Ot(this),t,arguments.length>1?arguments[1]:void 0))},find:function(t){return Z(Ot(this),t,arguments.length>1?arguments[1]:void 0)},findIndex:function(t){return tt(Ot(this),t,arguments.length>1?arguments[1]:void 0)},forEach:function(t){X(Ot(this),t,arguments.length>1?arguments[1]:void 0)},indexOf:function(t){return et(Ot(this),t,arguments.length>1?arguments[1]:void 0)},includes:function(t){return nt(Ot(this),t,arguments.length>1?arguments[1]:void 0)},join:function(t){return ft.apply(Ot(this),arguments)},lastIndexOf:function(t){return ut.apply(Ot(this),arguments)},map:function(t){return xt(Ot(this),t,arguments.length>1?arguments[1]:void 0)},reduce:function(t){return ct.apply(Ot(this),arguments)},reduceRight:function(t){return at.apply(Ot(this),arguments)},reverse:function(){for(var t,n=Ot(this).length,e=Math.floor(n/2),r=0;r<e;)t=this[r],this[r++]=this[--n],this[n]=t;return this},some:function(t){return $(Ot(this),t,arguments.length>1?arguments[1]:void 0)},sort:function(t){return st.call(Ot(this),t)},subarray:function(t,n){var e=Ot(this),r=e.length,i=y(t,r);return new(T(e,e[yt]))(e.buffer,e.byteOffset+i*e.BYTES_PER_ELEMENT,d((void 0===n?r:y(n,r))-i))}},kt=function(t,n){return Pt(this,lt.call(Ot(this),t,n))},Lt=function(t){Ot(this);var n=Et(arguments[1],1),e=this.length,r=S(t),i=d(r.length),o=0;if(i+n>e)throw U("Wrong length!");for(;o<i;)this[n+o]=r[o++]},Ct={entries:function(){return ot.call(Ot(this))},keys:function(){return it.call(Ot(this))},values:function(){return rt.call(Ot(this))}},zt=function(t,n){return x(t)&&t[wt]&&"symbol"!=typeof n&&n in t&&String(+n)==String(n)},Wt=function(t,n){return zt(t,n=m(n,!0))?l(2,t[n]):V(t,n)},Dt=function(t,n,e){return!(zt(t,n=m(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)};mt||(D.f=Wt,W.f=Dt),u(u.S+u.F*!mt,"Object",{getOwnPropertyDescriptor:Wt,defineProperty:Dt}),o((function(){ht.call({})}))&&(ht=pt=function(){return ft.call(this)});var Bt=p({},Nt);p(Bt,Ct),h(Bt,vt,Ct.values),p(Bt,{slice:kt,set:Lt,constructor:function(){},toString:ht,toLocaleString:Rt}),It(Bt,"buffer","b"),It(Bt,"byteOffset","o"),It(Bt,"byteLength","l"),It(Bt,"length","e"),B(Bt,dt,{get:function(){return this[wt]}}),t.exports=function(t,n,e,a){var f=t+((a=!!a)?"Clamped":"")+"Array",l="get"+t,p="set"+t,v=i[f],y=v||{},m=v&&O(v),w=!v||!c.ABV,S={},_=v&&v.prototype,P=function(t,e){B(t,e,{get:function(){return function(t,e){var r=t._d;return r.v[l](e*n+r.o,St)}(this,e)},set:function(t){return function(t,e,r){var i=t._d;a&&(r=(r=Math.round(r))<0?0:r>255?255:255&r),i.v[p](e*n+i.o,r,St)}(this,e,t)},enumerable:!0})};w?(v=e((function(t,e,r,i){s(t,v,f,"_d");var o,u,c,a,l=0,p=0;if(x(e)){if(!(e instanceof Y||"ArrayBuffer"==(a=b(e))||"SharedArrayBuffer"==a))return wt in e?Mt(v,e):At.call(v,e);o=e,p=Et(r,n);var y=e.byteLength;if(void 0===i){if(y%n)throw U("Wrong length!");if((u=y-p)<0)throw U("Wrong length!")}else if((u=d(i)*n)+p>y)throw U("Wrong length!");c=u/n}else c=g(e),o=new Y(u=c*n);for(h(t,"_d",{b:o,o:p,l:u,e:c,v:new J(o)});l<c;)P(t,l++)})),_=v.prototype=E(Bt),h(_,"constructor",v)):o((function(){v(1)}))&&o((function(){new v(-1)}))&&k((function(t){new v,new v(null),new v(1.5),new v(t)}),!0)||(v=e((function(t,e,r,i){var o;return s(t,v,f),x(e)?e instanceof Y||"ArrayBuffer"==(o=b(e))||"SharedArrayBuffer"==o?void 0!==i?new y(e,Et(r,n),i):void 0!==r?new y(e,Et(r,n)):new y(e):wt in e?Mt(v,e):At.call(v,e):new y(g(e))})),X(m!==Function.prototype?F(y).concat(F(m)):F(y),(function(t){t in v||h(v,t,y[t])})),v.prototype=_,r||(_.constructor=v));var M=_[vt],I=!!M&&("values"==M.name||null==M.name),A=Ct.values;h(v,gt,!0),h(_,wt,f),h(_,bt,!0),h(_,yt,v),(a?new v(1)[dt]==f:dt in _)||B(_,dt,{get:function(){return f}}),S[f]=v,u(u.G+u.W+u.F*(v!=y),S),u(u.S,f,{BYTES_PER_ELEMENT:n}),u(u.S+u.F*o((function(){y.of.call(v,1)})),f,{from:At,of:jt}),"BYTES_PER_ELEMENT"in _||h(_,"BYTES_PER_ELEMENT",n),u(u.P,f,Nt),L(f),u(u.P+u.F*_t,f,{set:Lt}),u(u.P+u.F*!I,f,Ct),r||_.toString==ht||(_.toString=ht),u(u.P+u.F*o((function(){new v(1).slice()})),f,{slice:kt}),u(u.P+u.F*(o((function(){return[1,2].toLocaleString()!=new v([1,2]).toLocaleString()}))||!o((function(){_.toLocaleString.call([1,2])}))),f,{toLocaleString:Rt}),N[f]=I?M:A,r||I||h(_,vt,A)}}else t.exports=function(){}},function(t,n){t.exports=React},function(t,n,e){var r=e(4);t.exports=function(t,n){if(!r(t))return t;var e,i;if(n&&"function"==typeof(e=t.toString)&&!r(i=e.call(t)))return i;if("function"==typeof(e=t.valueOf)&&!r(i=e.call(t)))return i;if(!n&&"function"==typeof(e=t.toString)&&!r(i=e.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},function(t,n,e){var r=e(30)("meta"),i=e(4),o=e(13),u=e(9).f,c=0,a=Object.isExtensible||function(){return!0},f=!e(2)((function(){return a(Object.preventExtensions({}))})),s=function(t){u(t,r,{value:{i:"O"+ ++c,w:{}}})},l=t.exports={KEY:r,NEED:!1,fastKey:function(t,n){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,r)){if(!a(t))return"F";if(!n)return"E";s(t)}return t[r].i},getWeak:function(t,n){if(!o(t,r)){if(!a(t))return!0;if(!n)return!1;s(t)}return t[r].w},onFreeze:function(t){return f&&l.NEED&&a(t)&&!o(t,r)&&s(t),t}}},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){t.exports=!1},function(t,n,e){var r=e(92),i=e(64);t.exports=Object.keys||function(t){return r(t,i)}},function(t,n,e){var r=e(19),i=Math.max,o=Math.min;t.exports=function(t,n){return(t=r(t))<0?i(t+n,0):o(t,n)}},function(t,n,e){var r=e(3),i=e(93),o=e(64),u=e(63)("IE_PROTO"),c=function(){},a=function(){var t,n=e(61)("iframe"),r=o.length;for(n.style.display="none",e(65).appendChild(n),n.src="javascript:",(t=n.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),a=t.F;r--;)delete a.prototype[o[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:i(e,n)}},function(t,n,e){var r=e(92),i=e(64).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},function(t,n,e){var r=e(13),i=e(10),o=e(63)("IE_PROTO"),u=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,n,e){var r=e(5)("unscopables"),i=Array.prototype;null==i[r]&&e(14)(i,r,{}),t.exports=function(t){i[r][t]=!0}},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(9).f,i=e(13),o=e(5)("toStringTag");t.exports=function(t,n,e){t&&!i(t=e?t:t.prototype,o)&&r(t,o,{configurable:!0,value:n})}},function(t,n,e){var r=e(0),i=e(24),o=e(2),u=e(67),c="["+u+"]",a=RegExp("^"+c+c+"*"),f=RegExp(c+c+"*$"),s=function(t,n,e){var i={},c=o((function(){return!!u[t]()||"
"!="
"[t]()})),a=i[t]=c?n(l):u[t];e&&(i[e]=a),r(r.P+r.F*c,"String",i)},l=s.trim=function(t,n){return t=String(i(t)),1&n&&(t=t.replace(a,"")),2&n&&(t=t.replace(f,"")),t};t.exports=s},function(t,n){t.exports={}},function(t,n,e){"use strict";var r=e(1),i=e(9),o=e(8),u=e(5)("species");t.exports=function(t){var n=r[t];o&&n&&!n[u]&&i.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(11);t.exports=function(t,n,e){for(var i in n)r(t,i,n[i],e);return t}},function(t,n,e){var r=e(23);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(23),i=e(5)("toStringTag"),o="Arguments"==r(function(){return arguments}());t.exports=function(t){var n,e,u;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=function(t,n){try{return t[n]}catch(t){}}(n=Object(t),i))?e:o?r(n):"Object"==(u=r(n))&&"function"==typeof n.callee?"Arguments":u}},function(t,n,e){var r=e(3),i=e(18),o=e(5)("species");t.exports=function(t,n){var e,u=r(t).constructor;return void 0===u||null==(e=r(u)[o])?n:i(e)}},function(t,n,e){var r=e(7),i=e(1),o=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(t.exports=function(t,n){return o[t]||(o[t]=void 0!==n?n:{})})("versions",[]).push({version:r.version,mode:e(31)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(t,n,e){var r=e(15),i=e(6),o=e(33);t.exports=function(t){return function(n,e,u){var c,a=r(n),f=i(a.length),s=o(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(23);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,n,e){var r=e(5)("iterator"),i=!1;try{var o=[7][r]();o.return=function(){i=!0},Array.from(o,(function(){throw 2}))}catch(t){}t.exports=function(t,n){if(!n&&!i)return!1;var e=!1;try{var o=[7],u=o[r]();u.next=function(){return{done:e=!0}},o[r]=function(){return u},t(o)}catch(t){}return e}},function(t,n,e){"use strict";var r=e(3);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(47),i=RegExp.prototype.exec;t.exports=function(t,n){var e=t.exec;if("function"==typeof e){var o=e.call(t,n);if("object"!=typeof o)throw new TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==r(t))throw new TypeError("RegExp#exec called on incompatible receiver");return i.call(t,n)}},function(t,n,e){"use strict";e(110);var r=e(11),i=e(14),o=e(2),u=e(24),c=e(5),a=e(82),f=c("species"),s=!o((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),l=function(){var t=/(?:)/,n=t.exec;t.exec=function(){return n.apply(this,arguments)};var e="ab".split(t);return 2===e.length&&"a"===e[0]&&"b"===e[1]}();t.exports=function(t,n,e){var h=c(t),p=!o((function(){var n={};return n[h]=function(){return 7},7!=""[t](n)})),v=p?!o((function(){var n=!1,e=/a/;return e.exec=function(){return n=!0,null},"split"===t&&(e.constructor={},e.constructor[f]=function(){return e}),e[h](""),!n})):void 0;if(!p||!v||"replace"===t&&!s||"split"===t&&!l){var d=/./[h],g=e(u,h,""[t],(function(t,n,e,r,i){return n.exec===a?p&&!i?{done:!0,value:d.call(n,e,r)}:{done:!0,value:t.call(e,n,r)}:{done:!1}})),y=g[0],m=g[1];r(String.prototype,t,y),i(RegExp.prototype,h,2==n?function(t,n){return m.call(t,this,n)}:function(t){return m.call(t,this)})}}},function(t,n,e){var r=e(17),i=e(105),o=e(77),u=e(3),c=e(6),a=e(79),f={},s={};(n=t.exports=function(t,n,e,l,h){var p,v,d,g,y=h?function(){return t}:a(t),m=r(e,l,n?2:1),w=0;if("function"!=typeof y)throw TypeError(t+" is not iterable!");if(o(y)){for(p=c(t.length);p>w;w++)if((g=n?m(u(v=t[w])[0],v[1]):m(t[w]))===f||g===s)return g}else for(d=y.call(t);!(v=d.next()).done;)if((g=i(d,m,v.value,n))===f||g===s)return g}).BREAK=f,n.RETURN=s},function(t,n,e){var r=e(1).navigator;t.exports=r&&r.userAgent||""},function(t,n,e){"use strict";var r=e(1),i=e(0),o=e(11),u=e(44),c=e(28),a=e(57),f=e(43),s=e(4),l=e(2),h=e(53),p=e(39),v=e(68);t.exports=function(t,n,e,d,g,y){var m=r[t],w=m,b=g?"set":"add",x=w&&w.prototype,S={},_=function(t){var n=x[t];o(x,t,"delete"==t?function(t){return!(y&&!s(t))&&n.call(this,0===t?0:t)}:"has"==t?function(t){return!(y&&!s(t))&&n.call(this,0===t?0:t)}:"get"==t?function(t){return y&&!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 w&&(y||x.forEach&&!l((function(){(new w).entries().next()})))){var E=new w,O=E[b](y?{}:-0,1)!=E,F=l((function(){E.has(1)})),P=h((function(t){new w(t)})),M=!y&&l((function(){for(var t=new w,n=5;n--;)t[b](n,n);return!t.has(-0)}));P||((w=n((function(n,e){f(n,w,t);var r=v(new m,n,w);return null!=e&&a(e,g,r[b],r),r}))).prototype=x,x.constructor=w),(F||M)&&(_("delete"),_("has"),g&&_("get")),(M||O)&&_(b),y&&x.clear&&delete x.clear}else w=d.getConstructor(n,t,g,b),u(w.prototype,e),c.NEED=!0;return p(w,t),S[t]=w,i(i.G+i.W+i.F*(w!=m),S),y||d.setStrong(w,t,g),w}},function(t,n,e){for(var r,i=e(1),o=e(14),u=e(30),c=u("typed_array"),a=u("view"),f=!(!i.ArrayBuffer||!i.DataView),s=f,l=0,h="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");l<9;)(r=i[h[l++]])?(o(r.prototype,c,!0),o(r.prototype,a,!0)):s=!1;t.exports={ABV:f,CONSTR:s,TYPED:c,VIEW:a}},function(t,n,e){var r=e(4),i=e(1).document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},function(t,n,e){n.f=e(5)},function(t,n,e){var r=e(49)("keys"),i=e(30);t.exports=function(t){return r[t]||(r[t]=i(t))}},function(t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,n,e){var r=e(1).document;t.exports=r&&r.documentElement},function(t,n,e){var r=e(4),i=e(3),o=function(t,n){if(i(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(17)(Function.call,e(20).f(Object.prototype,"__proto__").set,2))(t,[]),n=!(t instanceof Array)}catch(t){n=!0}return function(t,e){return o(t,e),n?t.__proto__=e:r(t,e),t}}({},!1):void 0),check:o}},function(t,n){t.exports="\t\n\v\f\r \u2028\u2029\ufeff"},function(t,n,e){var r=e(4),i=e(66).set;t.exports=function(t,n,e){var o,u=n.constructor;return u!==e&&"function"==typeof u&&(o=u.prototype)!==e.prototype&&r(o)&&i&&i(t,o),t}},function(t,n,e){"use strict";var r=e(19),i=e(24);t.exports=function(t){var n=String(i(this)),e="",o=r(t);if(o<0||o==1/0)throw RangeError("Count can't be negative");for(;o>0;(o>>>=1)&&(n+=n))1&o&&(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(19),i=e(24);t.exports=function(t){return function(n,e){var o,u,c=String(i(n)),a=r(e),f=c.length;return a<0||a>=f?t?"":void 0:(o=c.charCodeAt(a))<55296||o>56319||a+1===f||(u=c.charCodeAt(a+1))<56320||u>57343?t?c.charAt(a):o:t?c.slice(a,a+2):u-56320+(o-55296<<10)+65536}}},function(t,n,e){"use strict";var r=e(31),i=e(0),o=e(11),u=e(14),c=e(41),a=e(104),f=e(39),s=e(36),l=e(5)("iterator"),h=!([].keys&&"next"in[].keys()),p=function(){return this};t.exports=function(t,n,e,v,d,g,y){a(e,n,v);var m,w,b,x=function(t){if(!h&&t in O)return O[t];switch(t){case"keys":case"values":return function(){return new e(this,t)}}return function(){return new e(this,t)}},S=n+" Iterator",_="values"==d,E=!1,O=t.prototype,F=O[l]||O["@@iterator"]||d&&O[d],P=F||x(d),M=d?_?x("entries"):P:void 0,I="Array"==n&&O.entries||F;if(I&&(b=s(I.call(new t)))!==Object.prototype&&b.next&&(f(b,S,!0),r||"function"==typeof b[l]||u(b,l,p)),_&&F&&"values"!==F.name&&(E=!0,P=function(){return F.call(this)}),r&&!y||!h&&!E&&O[l]||u(O,l,P),c[n]=P,c[S]=p,d)if(m={values:_?P:x("values"),keys:g?P:x("keys"),entries:M},y)for(w in m)w in O||o(O,w,m[w]);else i(i.P+i.F*(h||E),n,m);return m}},function(t,n,e){var r=e(75),i=e(24);t.exports=function(t,n,e){if(r(n))throw TypeError("String#"+e+" doesn't accept regex!");return String(i(t))}},function(t,n,e){var r=e(4),i=e(23),o=e(5)("match");t.exports=function(t){var n;return r(t)&&(void 0!==(n=t[o])?!!n:"RegExp"==i(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(41),i=e(5)("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||o[i]===t)}},function(t,n,e){"use strict";var r=e(9),i=e(29);t.exports=function(t,n,e){n in t?r.f(t,n,i(0,e)):t[n]=e}},function(t,n,e){var r=e(47),i=e(5)("iterator"),o=e(41);t.exports=e(7).getIteratorMethod=function(t){if(null!=t)return t[i]||t["@@iterator"]||o[r(t)]}},function(t,n,e){"use strict";var r=e(10),i=e(33),o=e(6);t.exports=function(t){for(var n=r(this),e=o(n.length),u=arguments.length,c=i(u>1?arguments[1]:void 0,e),a=u>2?arguments[2]:void 0,f=void 0===a?e:i(a,e);f>c;)n[c++]=t;return n}},function(t,n,e){"use strict";var r=e(37),i=e(109),o=e(41),u=e(15);t.exports=e(73)(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,i(1)):i(0,"keys"==n?e:"values"==n?t[e]:[e,t[e]])}),"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},function(t,n,e){"use strict";var r,i,o=e(54),u=RegExp.prototype.exec,c=String.prototype.replace,a=u,f=(r=/a/,i=/b*/g,u.call(r,"a"),u.call(i,"a"),0!==r.lastIndex||0!==i.lastIndex),s=void 0!==/()??/.exec("")[1];(f||s)&&(a=function(t){var n,e,r,i,a=this;return s&&(e=new RegExp("^"+a.source+"$(?!\\s)",o.call(a))),f&&(n=a.lastIndex),r=u.call(a,t),f&&r&&(a.lastIndex=a.global?r.index+r[0].length:n),s&&r&&r.length>1&&c.call(r[0],e,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(r[i]=void 0)})),r}),t.exports=a},function(t,n,e){"use strict";var r=e(72)(!0);t.exports=function(t,n,e){return n+(e?r(t,n).length:1)}},function(t,n,e){var r,i,o,u=e(17),c=e(98),a=e(65),f=e(61),s=e(1),l=s.process,h=s.setImmediate,p=s.clearImmediate,v=s.MessageChannel,d=s.Dispatch,g=0,y={},m=function(){var t=+this;if(y.hasOwnProperty(t)){var n=y[t];delete y[t],n()}},w=function(t){m.call(t.data)};h&&p||(h=function(t){for(var n=[],e=1;arguments.length>e;)n.push(arguments[e++]);return y[++g]=function(){c("function"==typeof t?t:Function(t),n)},r(g),g},p=function(t){delete y[t]},"process"==e(23)(l)?r=function(t){l.nextTick(u(m,t,1))}:d&&d.now?r=function(t){d.now(u(m,t,1))}:v?(o=(i=new v).port2,i.port1.onmessage=w,r=u(o.postMessage,o,1)):s.addEventListener&&"function"==typeof postMessage&&!s.importScripts?(r=function(t){s.postMessage(t+"","*")},s.addEventListener("message",w,!1)):r="onreadystatechange"in f("script")?function(t){a.appendChild(f("script")).onreadystatechange=function(){a.removeChild(this),m.call(t)}}:function(t){setTimeout(u(m,t,1),0)}),t.exports={set:h,clear:p}},function(t,n,e){"use strict";var r=e(1),i=e(8),o=e(31),u=e(60),c=e(14),a=e(44),f=e(2),s=e(43),l=e(19),h=e(6),p=e(117),v=e(35).f,d=e(9).f,g=e(80),y=e(39),m="prototype",w="Wrong index!",b=r.ArrayBuffer,x=r.DataView,S=r.Math,_=r.RangeError,E=r.Infinity,O=b,F=S.abs,P=S.pow,M=S.floor,I=S.log,A=S.LN2,j=i?"_b":"buffer",T=i?"_l":"byteLength",R=i?"_o":"byteOffset";function N(t,n,e){var r,i,o,u=new Array(e),c=8*e-n-1,a=(1<<c)-1,f=a>>1,s=23===n?P(2,-24)-P(2,-77):0,l=0,h=t<0||0===t&&1/t<0?1:0;for((t=F(t))!=t||t===E?(i=t!=t?1:0,r=a):(r=M(I(t)/A),t*(o=P(2,-r))<1&&(r--,o*=2),(t+=r+f>=1?s/o:s*P(2,1-f))*o>=2&&(r++,o/=2),r+f>=a?(i=0,r=a):r+f>=1?(i=(t*o-1)*P(2,n),r+=f):(i=t*P(2,f-1)*P(2,n),r=0));n>=8;u[l++]=255&i,i/=256,n-=8);for(r=r<<n|i,c+=n;c>0;u[l++]=255&r,r/=256,c-=8);return u[--l]|=128*h,u}function k(t,n,e){var r,i=8*e-n-1,o=(1<<i)-1,u=o>>1,c=i-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===o)return r?NaN:f?-E:E;r+=P(2,n),s-=u}return(f?-1:1)*r*P(2,s-n)}function L(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]}function C(t){return[255&t]}function z(t){return[255&t,t>>8&255]}function W(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function D(t){return N(t,52,8)}function B(t){return N(t,23,4)}function V(t,n,e){d(t[m],n,{get:function(){return this[e]}})}function U(t,n,e,r){var i=p(+e);if(i+n>t[T])throw _(w);var o=t[j]._b,u=i+t[R],c=o.slice(u,u+n);return r?c:c.reverse()}function H(t,n,e,r,i,o){var u=p(+e);if(u+n>t[T])throw _(w);for(var c=t[j]._b,a=u+t[R],f=r(+i),s=0;s<n;s++)c[a+s]=f[o?s:n-s-1]}if(u.ABV){if(!f((function(){b(1)}))||!f((function(){new b(-1)}))||f((function(){return new b,new b(1.5),new b(NaN),"ArrayBuffer"!=b.name}))){for(var G,q=(b=function(t){return s(this,b),new O(p(t))})[m]=O[m],Y=v(O),J=0;Y.length>J;)(G=Y[J++])in b||c(b,G,O[G]);o||(q.constructor=b)}var X=new x(new b(2)),K=x[m].setInt8;X.setInt8(0,2147483648),X.setInt8(1,2147483649),!X.getInt8(0)&&X.getInt8(1)||a(x[m],{setInt8:function(t,n){K.call(this,t,n<<24>>24)},setUint8:function(t,n){K.call(this,t,n<<24>>24)}},!0)}else b=function(t){s(this,b,"ArrayBuffer");var n=p(t);this._b=g.call(new Array(n),0),this[T]=n},x=function(t,n,e){s(this,x,"DataView"),s(t,b,"DataView");var r=t[T],i=l(n);if(i<0||i>r)throw _("Wrong offset!");if(i+(e=void 0===e?r-i:h(e))>r)throw _("Wrong length!");this[j]=t,this[R]=i,this[T]=e},i&&(V(b,"byteLength","_l"),V(x,"buffer","_b"),V(x,"byteLength","_l"),V(x,"byteOffset","_o")),a(x[m],{getInt8:function(t){return U(this,1,t)[0]<<24>>24},getUint8:function(t){return U(this,1,t)[0]},getInt16:function(t){var n=U(this,2,t,arguments[1]);return(n[1]<<8|n[0])<<16>>16},getUint16:function(t){var n=U(this,2,t,arguments[1]);return n[1]<<8|n[0]},getInt32:function(t){return L(U(this,4,t,arguments[1]))},getUint32:function(t){return L(U(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return k(U(this,4,t,arguments[1]),23,4)},getFloat64:function(t){return k(U(this,8,t,arguments[1]),52,8)},setInt8:function(t,n){H(this,1,t,C,n)},setUint8:function(t,n){H(this,1,t,C,n)},setInt16:function(t,n){H(this,2,t,z,n,arguments[2])},setUint16:function(t,n){H(this,2,t,z,n,arguments[2])},setInt32:function(t,n){H(this,4,t,W,n,arguments[2])},setUint32:function(t,n){H(this,4,t,W,n,arguments[2])},setFloat32:function(t,n){H(this,4,t,B,n,arguments[2])},setFloat64:function(t,n){H(this,8,t,D,n,arguments[2])}});y(b,"ArrayBuffer"),y(x,"DataView"),c(x[m],u.VIEW,!0),n.ArrayBuffer=b,n.DataView=x},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){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n,e){t.exports=!e(122)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(t,n,e){"use strict";var r=e(26),i=e.n(r);function o(){return(o=Object.assign||function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t}).apply(this,arguments)}var u=i.a.createElement("g",{fill:"#555D66"},i.a.createElement("path",{d:"M11.4 10.2H3V21h8.4V10.2zM21 15h-8.4v6H21v-6zM11.4 3H3v6h8.4V3zM21 3h-8.4v10.8H21V3z"}));n.a=function(t){return i.a.createElement("svg",o({width:24,height:24,viewBox:"0 0 24 24",fill:"none"},t),u)}},function(t,n,e){t.exports=!e(8)&&!e(2)((function(){return 7!=Object.defineProperty(e(61)("div"),"a",{get:function(){return 7}}).a}))},function(t,n,e){var r=e(1),i=e(7),o=e(31),u=e(62),c=e(9).f;t.exports=function(t){var n=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==t.charAt(0)||t in n||c(n,t,{value:u.f(t)})}},function(t,n,e){var r=e(13),i=e(15),o=e(50)(!1),u=e(63)("IE_PROTO");t.exports=function(t,n){var e,c=i(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++])&&(~o(f,e)||f.push(e));return f}},function(t,n,e){var r=e(9),i=e(3),o=e(32);t.exports=e(8)?Object.defineProperties:function(t,n){i(t);for(var e,u=o(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(15),i=e(35).f,o={}.toString,u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return u&&"[object Window]"==o.call(t)?function(t){try{return i(t)}catch(t){return u.slice()}}(t):i(r(t))}},function(t,n,e){"use strict";var r=e(8),i=e(32),o=e(51),u=e(46),c=e(10),a=e(45),f=Object.assign;t.exports=!f||e(2)((function(){var t={},n={},e=Symbol(),r="abcdefghijklmnopqrst";return t[e]=7,r.split("").forEach((function(t){n[t]=t})),7!=f({},t)[e]||Object.keys(f({},n)).join("")!=r}))?function(t,n){for(var e=c(t),f=arguments.length,s=1,l=o.f,h=u.f;f>s;)for(var p,v=a(arguments[s++]),d=l?i(v).concat(l(v)):i(v),g=d.length,y=0;g>y;)p=d[y++],r&&!h.call(v,p)||(e[p]=v[p]);return e}:f},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){"use strict";var r=e(18),i=e(4),o=e(98),u=[].slice,c={},a=function(t,n,e){if(!(n in c)){for(var r=[],i=0;i<n;i++)r[i]="a["+i+"]";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(){var r=e.concat(u.call(arguments));return this instanceof c?a(n,r.length,r):o(n,r,t)};return i(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(1).parseInt,i=e(40).trim,o=e(67),u=/^[-+]?0[xX]/;t.exports=8!==r(o+"08")||22!==r(o+"0x16")?function(t,n){var e=i(String(t),3);return r(e,n>>>0||(u.test(e)?16:10))}:r},function(t,n,e){var r=e(1).parseFloat,i=e(40).trim;t.exports=1/r(e(67)+"-0")!=-1/0?function(t){var n=i(String(t),3),e=r(n);return 0===e&&"-"==n.charAt(0)?-0:e}:r},function(t,n,e){var r=e(23);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),i=Math.floor;t.exports=function(t){return!r(t)&&isFinite(t)&&i(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){"use strict";var r=e(34),i=e(29),o=e(39),u={};e(14)(u,e(5)("iterator"),(function(){return this})),t.exports=function(t,n,e){t.prototype=r(u,{next:i(1,e)}),o(t,n+" Iterator")}},function(t,n,e){var r=e(3);t.exports=function(t,n,e,i){try{return i?n(r(e)[0],e[1]):n(e)}catch(n){var o=t.return;throw void 0!==o&&r(o.call(t)),n}}},function(t,n,e){var r=e(224);t.exports=function(t,n){return new(r(t))(n)}},function(t,n,e){var r=e(18),i=e(10),o=e(45),u=e(6);t.exports=function(t,n,e,c,a){r(n);var f=i(t),s=o(f),l=u(f.length),h=a?l-1:0,p=a?-1:1;if(e<2)for(;;){if(h in s){c=s[h],h+=p;break}if(h+=p,a?h<0:l<=h)throw TypeError("Reduce of empty array with no initial value")}for(;a?h>=0:l>h;h+=p)h in s&&(c=n(c,s[h],h,f));return c}},function(t,n,e){"use strict";var r=e(10),i=e(33),o=e(6);t.exports=[].copyWithin||function(t,n){var e=r(this),u=o(e.length),c=i(t,u),a=i(n,u),f=arguments.length>2?arguments[2]:void 0,s=Math.min((void 0===f?u:i(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){"use strict";var r=e(82);e(0)({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},function(t,n,e){e(8)&&"g"!=/./g.flags&&e(9).f(RegExp.prototype,"flags",{configurable:!0,get:e(54)})},function(t,n,e){"use strict";var r,i,o,u,c=e(31),a=e(1),f=e(17),s=e(47),l=e(0),h=e(4),p=e(18),v=e(43),d=e(57),g=e(48),y=e(84).set,m=e(244)(),w=e(113),b=e(245),x=e(58),S=e(114),_=a.TypeError,E=a.process,O=E&&E.versions,F=O&&O.v8||"",P=a.Promise,M="process"==s(E),I=function(){},A=i=w.f,j=!!function(){try{var t=P.resolve(1),n=(t.constructor={})[e(5)("species")]=function(t){t(I,I)};return(M||"function"==typeof PromiseRejectionEvent)&&t.then(I)instanceof n&&0!==F.indexOf("6.6")&&-1===x.indexOf("Chrome/66")}catch(t){}}(),T=function(t){var n;return!(!h(t)||"function"!=typeof(n=t.then))&&n},R=function(t,n){if(!t._n){t._n=!0;var e=t._c;m((function(){for(var r=t._v,i=1==t._s,o=0,u=function(n){var e,o,u,c=i?n.ok:n.fail,a=n.resolve,f=n.reject,s=n.domain;try{c?(i||(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(_("Promise-chain cycle")):(o=T(e))?o.call(e,a,f):a(e)):f(r)}catch(t){s&&!u&&s.exit(),f(t)}};e.length>o;)u(e[o++]);t._c=[],t._n=!1,n&&!t._h&&N(t)}))}},N=function(t){y.call(a,(function(){var n,e,r,i=t._v,o=k(t);if(o&&(n=b((function(){M?E.emit("unhandledRejection",i,t):(e=a.onunhandledrejection)?e({promise:t,reason:i}):(r=a.console)&&r.error&&r.error("Unhandled promise rejection",i)})),t._h=M||k(t)?2:1),t._a=void 0,o&&n.e)throw n.v}))},k=function(t){return 1!==t._h&&0===(t._a||t._c).length},L=function(t){y.call(a,(function(){var n;M?E.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)._v=t,n._s=2,n._a||(n._a=n._c.slice()),R(n,!0))},z=function(t){var n,e=this;if(!e._d){e._d=!0,e=e._w||e;try{if(e===t)throw _("Promise can't be resolved itself");(n=T(t))?m((function(){var r={_w:e,_d:!1};try{n.call(t,f(z,r,1),f(C,r,1))}catch(t){C.call(r,t)}})):(e._v=t,e._s=1,R(e,!1))}catch(t){C.call({_w:e,_d:!1},t)}}};j||(P=function(t){v(this,P,"Promise","_h"),p(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}).prototype=e(44)(P.prototype,{then:function(t,n){var e=A(g(this,P));return e.ok="function"!=typeof t||t,e.fail="function"==typeof n&&n,e.domain=M?E.domain:void 0,this._c.push(e),this._a&&this._a.push(e),this._s&&R(this,!1),e.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r;this.promise=t,this.resolve=f(z,t,1),this.reject=f(C,t,1)},w.f=A=function(t){return t===P||t===u?new o(t):i(t)}),l(l.G+l.W+l.F*!j,{Promise:P}),e(39)(P,"Promise"),e(42)("Promise"),u=e(7).Promise,l(l.S+l.F*!j,"Promise",{reject:function(t){var n=A(this);return(0,n.reject)(t),n.promise}}),l(l.S+l.F*(c||!j),"Promise",{resolve:function(t){return S(c&&this===u?P:this,t)}}),l(l.S+l.F*!(j&&e(53)((function(t){P.all(t).catch(I)}))),"Promise",{all:function(t){var n=this,e=A(n),r=e.resolve,i=e.reject,o=b((function(){var e=[],o=0,u=1;d(t,!1,(function(t){var c=o++,a=!1;e.push(void 0),u++,n.resolve(t).then((function(t){a||(a=!0,e[c]=t,--u||r(e))}),i)})),--u||r(e)}));return o.e&&i(o.v),e.promise},race:function(t){var n=this,e=A(n),r=e.reject,i=b((function(){d(t,!1,(function(t){n.resolve(t).then(e.resolve,r)}))}));return i.e&&r(i.v),e.promise}})},function(t,n,e){"use strict";var r=e(18);function i(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=r(n),this.reject=r(e)}t.exports.f=function(t){return new i(t)}},function(t,n,e){var r=e(3),i=e(4),o=e(113);t.exports=function(t,n){if(r(t),i(n)&&n.constructor===t)return n;var e=o.f(t);return(0,e.resolve)(n),e.promise}},function(t,n,e){"use strict";var r=e(9).f,i=e(34),o=e(44),u=e(17),c=e(43),a=e(57),f=e(73),s=e(109),l=e(42),h=e(8),p=e(28).fastKey,v=e(38),d=h?"_s":"size",g=function(t,n){var e,r=p(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=i(null),t._f=void 0,t._l=void 0,t[d]=0,null!=r&&a(r,e,t[f],t)}));return o(s.prototype,{clear:function(){for(var t=v(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[d]=0},delete:function(t){var e=v(this,n),r=g(e,t);if(r){var i=r.n,o=r.p;delete e._i[r.i],r.r=!0,o&&(o.n=i),i&&(i.p=o),e._f==r&&(e._f=i),e._l==r&&(e._l=o),e[d]--}return!!r},forEach:function(t){v(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!!g(v(this,n),t)}}),h&&r(s.prototype,"size",{get:function(){return v(this,n)[d]}}),s},def:function(t,n,e){var r,i,o=g(t,n);return o?o.v=e:(t._l=o={i:i=p(n,!0),k:n,v:e,p:r=t._l,n:void 0,r:!1},t._f||(t._f=o),r&&(r.n=o),t[d]++,"F"!==i&&(t._i[i]=o)),t},getEntry:g,setStrong:function(t,n,e){f(t,n,(function(t,e){this._t=v(t,n),this._k=e,this._l=void 0}),(function(){for(var t=this._k,n=this._l;n&&n.r;)n=n.p;return this._t&&(this._l=n=n?n.n:this._t._f)?s(0,"keys"==t?n.k:"values"==t?n.v:[n.k,n.v]):(this._t=void 0,s(1))}),e?"entries":"values",!e,!0),l(n)}}},function(t,n,e){"use strict";var r=e(44),i=e(28).getWeak,o=e(3),u=e(4),c=e(43),a=e(57),f=e(22),s=e(13),l=e(38),h=f(5),p=f(6),v=0,d=function(t){return t._l||(t._l=new g)},g=function(){this.a=[]},y=function(t,n){return h(t.a,(function(t){return t[0]===n}))};g.prototype={get:function(t){var n=y(this,t);if(n)return n[1]},has:function(t){return!!y(this,t)},set:function(t,n){var e=y(this,t);e?e[1]=n:this.a.push([t,n])},delete:function(t){var n=p(this.a,(function(n){return n[0]===t}));return~n&&this.a.splice(n,1),!!~n}},t.exports={getConstructor:function(t,n,e,o){var f=t((function(t,r){c(t,f,n,"_i"),t._t=n,t._i=v++,t._l=void 0,null!=r&&a(r,e,t[o],t)}));return r(f.prototype,{delete:function(t){if(!u(t))return!1;var e=i(t);return!0===e?d(l(this,n)).delete(t):e&&s(e,this._i)&&delete e[this._i]},has:function(t){if(!u(t))return!1;var e=i(t);return!0===e?d(l(this,n)).has(t):e&&s(e,this._i)}}),f},def:function(t,n,e){var r=i(o(n),!0);return!0===r?d(t).set(n,e):r[t._i]=e,t},ufstore:d}},function(t,n,e){var r=e(19),i=e(6);t.exports=function(t){if(void 0===t)return 0;var n=r(t),e=i(n);if(n!==e)throw RangeError("Wrong length!");return e}},function(t,n,e){var r=e(35),i=e(51),o=e(3),u=e(1).Reflect;t.exports=u&&u.ownKeys||function(t){var n=r.f(o(t)),e=i.f;return e?n.concat(e(t)):n}},function(t,n,e){var r=e(6),i=e(69),o=e(24);t.exports=function(t,n,e,u){var c=String(o(t)),a=c.length,f=void 0===e?" ":String(e),s=r(n);if(s<=a||""==f)return c;var l=s-a,h=i.call(f,Math.ceil(l/f.length));return h.length>l&&(h=h.slice(0,l)),u?h+c:c+h}},function(t,n,e){var r=e(8),i=e(32),o=e(15),u=e(46).f;t.exports=function(t){return function(n){for(var e,c=o(n),a=i(c),f=a.length,s=0,l=[];f>s;)e=a[s++],r&&!u.call(c,e)||l.push(t?[e,c[e]]:c[e]);return l}}},function(t,n){var e=t.exports={version:"2.6.9"};"number"==typeof __e&&(__e=e)},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n,e){var r;
|
2 |
/*!
|
3 |
Copyright (c) 2017 Jed Watson.
|
4 |
Licensed under the MIT License (MIT), see
|
5 |
http://jedwatson.github.io/classnames
|
6 |
+
*/!function(){"use strict";var e=function(){function t(){}function n(t,n){for(var e=n.length,r=0;r<e;++r)i(t,n[r])}t.prototype=Object.create(null);var e={}.hasOwnProperty;var r=/\s+/;function i(t,i){if(i){var o=typeof i;"string"===o?function(t,n){for(var e=n.split(r),i=e.length,o=0;o<i;++o)t[e[o]]=!0}(t,i):Array.isArray(i)?n(t,i):"object"===o?function(t,n){for(var r in n)e.call(n,r)&&(t[r]=!!n[r])}(t,i):"number"===o&&function(t,n){t[n]=!0}(t,i)}}return function(){for(var e=arguments.length,r=Array(e),i=0;i<e;i++)r[i]=arguments[i];var o=new t;n(o,r);var u=[];for(var c in o)o[c]&&u.push(c);return u.join(" ")}}();t.exports?(e.default=e,t.exports=e):void 0===(r=function(){return e}.apply(n,[]))||(t.exports=r)}()},function(t,n,e){"use strict";var r=e(125),i=e.n(r),o=e(26),u=e.n(o);function c(){return(c=Object.assign||function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t}).apply(this,arguments)}function a(t,n){if(null==t)return{};var e,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)e=o[r],n.indexOf(e)>=0||(i[e]=t[e]);return i}var f=function(t,n){return t(n={exports:{}},n.exports),n.exports}((function(t){!function(n){if("undefined"!=typeof window){var e,r=0,i=!1,o=!1,u="message".length,c="[iFrameSizer]",a=c.length,f=null,s=window.requestAnimationFrame,l={max:1,scroll:1,bodyScroll:1,documentElementScroll:1},h={},p=null,v={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",onClose:function(){return!0},onClosed:function(){},onInit:function(){},onMessage:function(){_("onMessage function not defined")},onResized:function(){},onScroll:function(){return!0}},d={};window.jQuery&&((e=window.jQuery).fn?e.fn.iFrameResize||(e.fn.iFrameResize=function(t){return this.filter("iframe").each((function(n,e){C(e,t)})).end()}):S("","Unable to bind to jQuery, it is not fully loaded.")),"function"==typeof n&&n.amd?n([],V):t.exports=V(),window.iFrameResize=window.iFrameResize||V()}function g(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}function y(t,n,e){t.addEventListener(n,e,!1)}function m(t,n,e){t.removeEventListener(n,e,!1)}function w(t){return c+"["+function(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}(t)+"]"}function b(t){return h[t]?h[t].log:i}function x(t,n){E("log",t,n,b(t))}function S(t,n){E("info",t,n,b(t))}function _(t,n){E("warn",t,n,!0)}function E(t,n,e,r){!0===r&&"object"==typeof window.console&&console[t](w(n),e)}function O(t){function n(){i("Height"),i("Width"),N((function(){R(W),A(D),g("onResized",W)}),W,"init")}function e(t){return"border-box"!==t.boxSizing?0:(t.paddingTop?parseInt(t.paddingTop,10):0)+(t.paddingBottom?parseInt(t.paddingBottom,10):0)}function r(t){return"border-box"!==t.boxSizing?0:(t.borderTopWidth?parseInt(t.borderTopWidth,10):0)+(t.borderBottomWidth?parseInt(t.borderBottomWidth,10):0)}function i(t){var n=Number(h[D]["max"+t]),e=Number(h[D]["min"+t]),r=t.toLowerCase(),i=Number(W[r]);x(D,"Checking "+r+" is in range "+e+"-"+n),i<e&&(i=e,x(D,"Set "+r+" to min value")),i>n&&(i=n,x(D,"Set "+r+" to max value")),W[r]=""+i}function o(t){return z.substr(z.indexOf(":")+u+t)}function s(t,n){var e,r,i;e=function(){var e,r;k("Send Page Info","pageInfo:"+(e=document.body.getBoundingClientRect(),r=W.iframe.getBoundingClientRect(),JSON.stringify({iframeHeight:r.height,iframeWidth:r.width,clientHeight:Math.max(document.documentElement.clientHeight,window.innerHeight||0),clientWidth:Math.max(document.documentElement.clientWidth,window.innerWidth||0),offsetTop:parseInt(r.top-e.top,10),offsetLeft:parseInt(r.left-e.left,10),scrollTop:window.pageYOffset,scrollLeft:window.pageXOffset,documentHeight:document.documentElement.clientHeight,documentWidth:document.documentElement.clientWidth,windowHeight:window.innerHeight,windowWidth:window.innerWidth})),t,n)},r=32,d[i=n]||(d[i]=setTimeout((function(){d[i]=null,e()}),r))}function l(t){var n=t.getBoundingClientRect();return I(D),{x:Math.floor(Number(n.left)+Number(f.x)),y:Math.floor(Number(n.top)+Number(f.y))}}function p(t){var n=t?l(W.iframe):{x:0,y:0},e={x:Number(W.width)+n.x,y:Number(W.height)+n.y};x(D,"Reposition requested from iFrame (offset x:"+n.x+" y:"+n.y+")"),window.top!==window.self?window.parentIFrame?window.parentIFrame["scrollTo"+(t?"Offset":"")](e.x,e.y):_(D,"Unable to scroll to requested position, window.parentIFrame not found"):(f=e,v(),x(D,"--"))}function v(){!1!==g("onScroll",f)?A(D):j()}function g(t,n){return F(D,t,n)}var w,b,E,O,P,C,z=t.data,W={},D=null;"[iFrameResizerChild]Ready"===z?function(){for(var t in h)k("iFrame requested init",L(t),document.getElementById(t),t)}():c===(""+z).substr(0,a)&&z.substr(a).split(":")[0]in h?(E=z.substr(a).split(":"),O=E[1]?parseInt(E[1],10):0,P=h[E[0]]&&h[E[0]].iframe,C=getComputedStyle(P),W={iframe:P,id:E[0],height:O+e(C)+r(C),width:E[2],type:E[3]},D=W.id,h[D]&&(h[D].loaded=!0),(b=W.type in{true:1,false:1,undefined:1})&&x(D,"Ignoring init message from meta parent page"),!b&&function(t){var n=!0;return h[t]||(n=!1,_(W.type+" No settings for "+t+". Message was: "+z)),n}(D)&&(x(D,"Received: "+z),w=!0,null===W.iframe&&(_(D,"IFrame ("+W.id+") not found"),w=!1),w&&function(){var n,e=t.origin,r=h[D]&&h[D].checkOrigin;if(r&&""+e!="null"&&!(r.constructor===Array?function(){var t=0,n=!1;for(x(D,"Checking connection is from allowed list of origins: "+r);t<r.length;t++)if(r[t]===e){n=!0;break}return n}():(n=h[D]&&h[D].remoteHost,x(D,"Checking connection is from: "+n),e===n)))throw new Error("Unexpected message received from: "+e+" for "+W.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(h[D]&&h[D].firstRun&&h[D]&&(h[D].firstRun=!1),W.type){case"close":M(W.iframe);break;case"message":c=o(6),x(D,"onMessage passed: {iframe: "+W.iframe.id+", message: "+c+"}"),g("onMessage",{iframe:W.iframe,message:JSON.parse(c)}),x(D,"--");break;case"autoResize":h[D].autoResize=JSON.parse(o(9));break;case"scrollTo":p(!1);break;case"scrollToOffset":p(!0);break;case"pageInfo":s(h[D]&&h[D].iframe,D),function(){function t(t,r){function i(){h[e]?s(h[e].iframe,e):n()}["scroll","resize"].forEach((function(n){x(e,t+n+" listener for sendPageInfo"),r(window,n,i)}))}function n(){t("Remove ",m)}var e=D;t("Add ",y),h[e]&&(h[e].stopPageInfo=n)}();break;case"pageInfoStop":h[D]&&h[D].stopPageInfo&&(h[D].stopPageInfo(),delete h[D].stopPageInfo);break;case"inPageLink":t=o(9),r=t.split("#")[1]||"",i=decodeURIComponent(r),(u=document.getElementById(i)||document.getElementsByName(i)[0])?(e=l(u),x(D,"Moving to in page link (#"+r+") at x: "+e.x+" y: "+e.y),f={x:e.x,y:e.y},v(),x(D,"--")):window.top!==window.self?window.parentIFrame?window.parentIFrame.moveToAnchor(r):x(D,"In page link #"+r+" not found and window.parentIFrame not found"):x(D,"In page link #"+r+" not found");break;case"reset":T(W);break;case"init":n(),g("onInit",W.iframe);break;default:n()}var t,e,r,i,u,c}())):S(D,"Ignored: "+z)}function F(t,n,e){var r=null,i=null;if(h[t]){if("function"!=typeof(r=h[t][n]))throw new TypeError(n+" on iFrame["+t+"] is not a function");i=r(e)}return i}function P(t){var n=t.id;delete h[n]}function M(t){var n=t.id;if(!1!==F(n,"onClose",n)){x(n,"Removing iFrame: "+n);try{t.parentNode&&t.parentNode.removeChild(t)}catch(t){_(t)}F(n,"onClosed",n),x(n,"--"),P(t)}else x(n,"Close iframe cancelled by onClose event")}function I(t){null===f&&x(t,"Get page position: "+(f={x:window.pageXOffset!==n?window.pageXOffset:document.documentElement.scrollLeft,y:window.pageYOffset!==n?window.pageYOffset:document.documentElement.scrollTop}).x+","+f.y)}function A(t){null!==f&&(window.scrollTo(f.x,f.y),x(t,"Set page position: "+f.x+","+f.y),j())}function j(){f=null}function T(t){x(t.id,"Size reset requested by "+("init"===t.type?"host page":"iFrame")),I(t.id),N((function(){R(t),k("reset","reset",t.iframe,t.id)}),t,"reset")}function R(t){function n(n){o||"0"!==t[n]||(o=!0,x(r,"Hidden iFrame detected, creating visibility listener"),function(){function t(){Object.keys(h).forEach((function(t){!function(t){function n(n){return"0px"===(h[t]&&h[t].iframe.style[n])}h[t]&&null!==h[t].iframe.offsetParent&&(n("height")||n("width"))&&k("Visibility change","resize",h[t].iframe,t)}(t)}))}function n(n){x("window","Mutation observed: "+n[0].target+" "+n[0].type),z(t,16)}var e=g();e&&(r=document.querySelector("body"),new e(n).observe(r,{attributes:!0,attributeOldValue:!1,characterData:!0,characterDataOldValue:!1,childList:!0,subtree:!0}));var r}())}function e(e){!function(n){t.id?(t.iframe.style[n]=t[n]+"px",x(t.id,"IFrame ("+r+") "+n+" set to "+t[n]+"px")):x("undefined","messageData id not set")}(e),n(e)}var r=t.iframe.id;h[r]&&(h[r].sizeHeight&&e("height"),h[r].sizeWidth&&e("width"))}function N(t,n,e){e!==n.type&&s&&!window.jasmine?(x(n.id,"Requesting animation frame"),s(t)):t()}function k(t,n,e,r,i){var o,u=!1;r=r||e.id,h[r]&&(e&&"contentWindow"in e&&null!==e.contentWindow?(o=h[r]&&h[r].targetOrigin,x(r,"["+t+"] Sending msg to iframe["+r+"] ("+n+") targetOrigin: "+o),e.contentWindow.postMessage(c+n,o)):_(r,"["+t+"] IFrame("+r+") not found"),i&&h[r]&&h[r].warningTimeout&&(h[r].msgTimeout=setTimeout((function(){!h[r]||h[r].loaded||u||(u=!0,_(r,"IFrame has not responded within "+h[r].warningTimeout/1e3+" seconds. Check iFrameResizer.contentWindow.js has been loaded in iFrame. This message can be ignored if everything is working, or you can set the warningTimeout option to a higher value or zero to suppress this warning."))}),h[r].warningTimeout)))}function L(t){return t+":"+h[t].bodyMarginV1+":"+h[t].sizeWidth+":"+h[t].log+":"+h[t].interval+":"+h[t].enablePublicMethods+":"+h[t].autoResize+":"+h[t].bodyMargin+":"+h[t].heightCalculationMethod+":"+h[t].bodyBackground+":"+h[t].bodyPadding+":"+h[t].tolerance+":"+h[t].inPageLinks+":"+h[t].resizeFrom+":"+h[t].widthCalculationMethod}function C(t,e){function o(t){var n=t.split("Callback");if(2===n.length){var e="on"+n[0].charAt(0).toUpperCase()+n[0].slice(1);this[e]=this[t],delete this[t],_(a,"Deprecated: '"+t+"' has been renamed '"+e+"'. The old method will be removed in the next major version.")}}var u,c,a=function(n){var o;return""===n&&(t.id=(o=e&&e.id||v.id+r++,null!==document.getElementById(o)&&(o+=r++),n=o),i=(e||{}).log,x(n,"Added missing iframe ID: "+n+" ("+t.src+")")),n}(t.id);a in h&&"iFrameResizer"in t?_(a,"Ignored iFrame, already setup."):(!function(n){var e;n=n||{},h[a]={firstRun:!0,iframe:t,remoteHost:t.src&&t.src.split("/").slice(0,3).join("/")},function(t){if("object"!=typeof t)throw new TypeError("Options is not an object")}(n),Object.keys(n).forEach(o,n),function(t){for(var n in v)Object.prototype.hasOwnProperty.call(v,n)&&(h[a][n]=Object.prototype.hasOwnProperty.call(t,n)?t[n]:v[n])}(n),h[a]&&(h[a].targetOrigin=!0===h[a].checkOrigin?""===(e=h[a].remoteHost)||"file://"===e?"*":e:"*")}(e),function(){switch(x(a,"IFrame scrolling "+(h[a]&&h[a].scrolling?"enabled":"disabled")+" for "+a),t.style.overflow=!1===(h[a]&&h[a].scrolling)?"hidden":"auto",h[a]&&h[a].scrolling){case"omit":break;case!0:t.scrolling="yes";break;case!1:t.scrolling="no";break;default:t.scrolling=h[a]?h[a].scrolling:"no"}}(),function(){function n(n){1/0!==h[a][n]&&0!==h[a][n]&&(t.style[n]=h[a][n]+"px",x(a,"Set "+n+" = "+h[a][n]+"px"))}function e(t){if(h[a]["min"+t]>h[a]["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")}(),"number"!=typeof(h[a]&&h[a].bodyMargin)&&"0"!==(h[a]&&h[a].bodyMargin)||(h[a].bodyMarginV1=h[a].bodyMargin,h[a].bodyMargin=h[a].bodyMargin+"px"),u=L(a),(c=g())&&function(n){t.parentNode&&new n((function(n){n.forEach((function(n){Array.prototype.slice.call(n.removedNodes).forEach((function(n){n===t&&M(t)}))}))})).observe(t.parentNode,{childList:!0})}(c),y(t,"load",(function(){var e,r;k("iFrame.onload",u,t,n,!0),e=h[a]&&h[a].firstRun,r=h[a]&&h[a].heightCalculationMethod in l,!e&&r&&T({iframe:t,height:0,width:0,type:"init"})})),k("init",u,t,n,!0),h[a]&&(h[a].iframe.iFrameResizer={close:M.bind(null,h[a].iframe),removeListeners:P.bind(null,h[a].iframe),resize:k.bind(null,"Window resize","resize",h[a].iframe),moveToAnchor:function(t){k("Move to anchor","moveToAnchor:"+t,h[a].iframe,a)},sendMessage:function(t){k("Send Message","message:"+(t=JSON.stringify(t)),h[a].iframe,a)}}))}function z(t,n){null===p&&(p=setTimeout((function(){p=null,t()}),n))}function W(){"hidden"!==document.visibilityState&&(x("document","Trigger event: Visiblity change"),z((function(){D("Tab Visable","resize")}),16))}function D(t,n){Object.keys(h).forEach((function(e){(function(t){return h[t]&&"parent"===h[t].resizeFrom&&h[t].autoResize&&!h[t].firstRun})(e)&&k(t,n,document.getElementById(e),e)}))}function B(){y(window,"message",O),y(window,"resize",(function(){var t;x("window","Trigger event: "+(t="resize")),z((function(){D("Window "+t,"resize")}),16)})),y(document,"visibilitychange",W),y(document,"-webkit-visibilitychange",W)}function V(){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+">")}(),C(n,t),e.push(n))}var e;return function(){var t,n=["moz","webkit","o","ms"];for(t=0;t<n.length&&!s;t+=1)s=window[n[t]+"RequestAnimationFrame"];s||x("setup","RequestAnimationFrame not supported")}(),B(),function(r,i){switch(e=[],function(t){t&&t.enablePublicMethods&&_("enablePublicMethods option has been removed, public methods are now always available in the iFrame")}(r),typeof i){case"undefined":case"string":Array.prototype.forEach.call(document.querySelectorAll(i||"iframe"),t.bind(n,r));break;case"object":t(r,i);break;default:throw new TypeError("Unexpected data type ("+typeof i+")")}return e}}}()})),s=function(){},l=s,h=function(t){var n=t.title,e=t.forwardRef,r=a(t,["title","forwardRef"]),i=function(t){t.autoResize,t.bodyBackground,t.bodyMargin,t.bodyPadding,t.checkOrigin,t.inPageLinks,t.heightCalculationMethod,t.interval,t.log,t.maxHeight,t.maxWidth,t.minHeight,t.minWidth,t.resizeFrom,t.scrolling,t.sizeHeight,t.sizeWidth,t.warningTimeout,t.tolerance,t.widthCalculationMethod,t.onClosed,t.onInit,t.onMessage,t.onResized;return a(t,["autoResize","bodyBackground","bodyMargin","bodyPadding","checkOrigin","inPageLinks","heightCalculationMethod","interval","log","maxHeight","maxWidth","minHeight","minWidth","resizeFrom","scrolling","sizeHeight","sizeWidth","warningTimeout","tolerance","widthCalculationMethod","onClosed","onInit","onMessage","onResized"])}(r),s=Object(o.useRef)(null),h=function(){return l(!s.current,"[iframeSizerReact]["+s.current.id+"] Close event ignored, to remove the iframe update your React component"),!s.current};return Object(o.useEffect)((function(){var t=s.current;return f(c({},r,{onClose:h}),t),function(){return t.iframeResizer&&t.iframeResizer.removeListeners()}}),[]),Object(o.useImperativeHandle)(e,(function(){return{resize:function(){return s.current.iFrameResizer.resize()},moveToAnchor:function(t){return s.current.iFrameResizer.moveToAnchor(t)},sendMessage:function(t,n){s.current.iFrameResizer.sendMessage(t,n)}}})),u.a.createElement("iframe",c({title:n},i,{ref:s}))};h.defaultProps={title:"iframe"},h.propTypes={title:i.a.string},n.a=h},function(t,n,e){t.exports=e(316)()},function(t,n,e){"use strict";function r(t,n,e,r){var i,o=!1,u=0;function c(){i&&clearTimeout(i)}function a(){var a=this,f=Date.now()-u,s=arguments;function l(){u=Date.now(),e.apply(a,s)}o||(r&&!i&&l(),c(),void 0===r&&f>t?l():!0!==n&&(i=setTimeout(r?function(){i=void 0}:l,void 0===r?t-f:t)))}return"boolean"!=typeof n&&(r=e,e=n,n=void 0),a.cancel=function(){c(),o=!0},a}e.d(n,"a",(function(){return r}))},function(t,n,e){t.exports=e(128)},function(t,n,e){"use strict";e.r(n),function(t){var n=e(126),r=e(123),i=e.n(r),o=e(124),u=e(89);function c(t){return(c="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)}function a(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)}}function f(t,n){return!n||"object"!==c(n)&&"function"!=typeof n?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):n}function s(t){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function l(t,n){return(l=Object.setPrototypeOf||function(t,n){return t.__proto__=n,t})(t,n)}t._babelPolyfill||e(130);var h=window.jQuery,p=h(window),v=window.VPAdminGutenbergVariables,d=wp.i18n.__,g=wp.element,y=g.Component,m=g.Fragment,w=g.RawHTML,b=wp.blocks.registerBlockType,x=wp.components,S=x.Placeholder,_=x.Spinner,E=x.PanelBody,O=x.SelectControl,F=wp.blockEditor.InspectorControls,P=wp.apiFetch,M=wp.data,I=M.registerStore,A=M.withSelect;function j(){var t=h(".editor-styles-wrapper").width();t&&h(".visual-portfolio-gutenberg-preview iframe").each((function(){var n=h(this),e=n.closest(".visual-portfolio-gutenberg-preview-inner"),r=n.closest(".visual-portfolio-gutenberg-preview").width();e.css({width:t}),this.iFrameResizer&&(this.iFrameResizer.sendMessage({name:"resize",width:r}),this.iFrameResizer.resize())}))}p.on("resize",Object(n.a)(300,j));var T={apiFetch:function(t){return{type:"API_FETCH",request:t}},setPortfolioLayouts:function(t,n){return{type:"SET_PORTFOLIO_LAYOUTS",query:t,layouts:n}}};I("nk/visual-portfolio",{reducer:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{layouts:{}},n=arguments.length>1?arguments[1]:void 0;switch(n.type){case"SET_PORTFOLIO_LAYOUTS":return!t.layouts[n.query]&&n.layouts&&(t.layouts[n.query]=n.layouts),t}return t},actions:T,selectors:{getPortfolioLayouts:function(t,n){return t.layouts[n]}},controls:{API_FETCH:function(t){var n=t.request;return P(n).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)&&t.response}))}},resolvers:{getPortfolioLayouts:regeneratorRuntime.mark((function t(n){var e;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,T.apiFetch({path:n});case 2:return e=t.sent,t.abrupt("return",T.setPortfolioLayouts(n,e));case 4:case"end":return t.stop()}}),t)}))}});var R=function(t){function n(){return function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,n),f(this,s(n).apply(this,arguments))}var e,r,c;return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),n&&l(t,n)}(n,t),e=n,(r=[{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,c=this.props.className,a=e.id,f=e.ghostkitClassname,s=!1,l=!1;f&&(c=i()(c,f)),n?(s=[{label:d("--- Select layout ---"),value:""}],Object.keys(n).map((function(t){var e=n[t];s.push({label:"#".concat(e.id," - ").concat(e.title),value:e.id}),a&&parseInt(a,10)===e.id&&(l=e.edit_url)}))):a&&(s=[{label:"#".concat(a),value:a}]);var h=v.preview_url+(v.preview_url.split("?")[1]?"&":"?")+"vp_preview_frame=true&vp_preview_type=gutenberg&vp_preview_frame_id=".concat(a),p=wp.element.createElement(m,null,Array.isArray(s)?"":wp.element.createElement(_,null),Array.isArray(s)&&s.length?wp.element.createElement(m,null,wp.element.createElement(O,{value:a,onChange:function(t){return r({id:t})},options:s})):"",Array.isArray(s)&&!s.length?d("No portfolio layouts found."):"");return wp.element.createElement(m,null,wp.element.createElement(F,null,wp.element.createElement(E,null,p),Array.isArray(s)&&s.length&&l?wp.element.createElement(E,null,wp.element.createElement("a",{href:l,target:"_blank",rel:"noopener noreferrer"},d("Edit Layout"))):""),wp.element.createElement("div",{className:c},a?wp.element.createElement("div",{className:"visual-portfolio-gutenberg-preview"},wp.element.createElement("div",{className:"visual-portfolio-gutenberg-preview-inner"},wp.element.createElement(o.a,{src:h,onInit:function(){j()}}))):wp.element.createElement(S,{className:"visual-portfolio-gutenberg-placeholder",icon:wp.element.createElement(u.a,null),label:d("Visual Portfolio")},p)))}}])&&a(e.prototype,r),c&&a(e,c),n}(y);b("nk/visual-portfolio",{title:"Visual Portfolio",icon:u.a,category:"common",keywords:["visual portfolio","vp","portfolio"],ghostkit:{supports:{spacings:!0,display:!0,scrollReveal:!0}},supports:{anchor:!0,className:!0,html:!1,align:["wide","full"]},attributes:{id:{type:"string"}},edit:A((function(t){return{portfolioLayouts:t("nk/visual-portfolio").getPortfolioLayouts("/visual-portfolio/v1/get_layouts/")}}))(R),save:function(t){var n=t.attributes,e=n.id,r=n.className,i="[visual_portfolio";return e&&(i+=' id="'.concat(e,'"')),r&&(i+=' class="'.concat(r,'"')),i+="]",wp.element.createElement(w,null,i)},transforms:{from:[{type:"shortcode",tag:"visual_portfolio",attributes:{id:{type:"string",shortcode:function(t){return t.named.id}},className:{type:"string",shortcode:function(t){return t.named.class}}}}]}})}.call(this,e(129))},function(t,n){var e;e=function(){return this}();try{e=e||new Function("return this")()}catch(t){"object"==typeof window&&(e=window)}t.exports=e},function(t,n,e){"use strict";e(131);var r,i=(r=e(303))&&r.__esModule?r:{default:r};i.default._babelPolyfill&&"undefined"!=typeof console&&console.warn&&console.warn("@babel/polyfill is loaded more than once on this page. This is probably not desirable/intended and may have consequences if different versions of the polyfills are applied sequentially. If you do need to load the polyfill more than once, use @babel/polyfill/noConflict instead to bypass the warning."),i.default._babelPolyfill=!0},function(t,n,e){"use strict";e(132),e(275),e(277),e(280),e(282),e(284),e(286),e(288),e(290),e(292),e(294),e(296),e(298),e(302)},function(t,n,e){e(133),e(136),e(137),e(138),e(139),e(140),e(141),e(142),e(143),e(144),e(145),e(146),e(147),e(148),e(149),e(150),e(151),e(152),e(153),e(154),e(155),e(156),e(157),e(158),e(159),e(160),e(161),e(162),e(163),e(164),e(165),e(166),e(167),e(168),e(169),e(170),e(171),e(172),e(173),e(174),e(175),e(176),e(177),e(179),e(180),e(181),e(182),e(183),e(184),e(185),e(186),e(187),e(188),e(189),e(190),e(191),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(207),e(208),e(209),e(210),e(211),e(212),e(214),e(215),e(217),e(218),e(219),e(220),e(221),e(222),e(223),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(81),e(238),e(110),e(239),e(111),e(240),e(241),e(242),e(243),e(112),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(269),e(270),e(271),e(272),e(273),e(274),t.exports=e(7)},function(t,n,e){"use strict";var r=e(1),i=e(13),o=e(8),u=e(0),c=e(11),a=e(28).KEY,f=e(2),s=e(49),l=e(39),h=e(30),p=e(5),v=e(62),d=e(91),g=e(135),y=e(52),m=e(3),w=e(4),b=e(10),x=e(15),S=e(27),_=e(29),E=e(34),O=e(94),F=e(20),P=e(51),M=e(9),I=e(32),A=F.f,j=M.f,T=O.f,R=r.Symbol,N=r.JSON,k=N&&N.stringify,L=p("_hidden"),C=p("toPrimitive"),z={}.propertyIsEnumerable,W=s("symbol-registry"),D=s("symbols"),B=s("op-symbols"),V=Object.prototype,U="function"==typeof R&&!!P.f,H=r.QObject,G=!H||!H.prototype||!H.prototype.findChild,q=o&&f((function(){return 7!=E(j({},"a",{get:function(){return j(this,"a",{value:7}).a}})).a}))?function(t,n,e){var r=A(V,n);r&&delete V[n],j(t,n,e),r&&t!==V&&j(V,n,r)}:j,Y=function(t){var n=D[t]=E(R.prototype);return n._k=t,n},J=U&&"symbol"==typeof R.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof R},X=function(t,n,e){return t===V&&X(B,n,e),m(t),n=S(n,!0),m(e),i(D,n)?(e.enumerable?(i(t,L)&&t[L][n]&&(t[L][n]=!1),e=E(e,{enumerable:_(0,!1)})):(i(t,L)||j(t,L,_(1,{})),t[L][n]=!0),q(t,n,e)):j(t,n,e)},K=function(t,n){m(t);for(var e,r=g(n=x(n)),i=0,o=r.length;o>i;)X(t,e=r[i++],n[e]);return t},$=function(t){var n=z.call(this,t=S(t,!0));return!(this===V&&i(D,t)&&!i(B,t))&&(!(n||!i(this,t)||!i(D,t)||i(this,L)&&this[L][t])||n)},Q=function(t,n){if(t=x(t),n=S(n,!0),t!==V||!i(D,n)||i(B,n)){var e=A(t,n);return!e||!i(D,n)||i(t,L)&&t[L][n]||(e.enumerable=!0),e}},Z=function(t){for(var n,e=T(x(t)),r=[],o=0;e.length>o;)i(D,n=e[o++])||n==L||n==a||r.push(n);return r},tt=function(t){for(var n,e=t===V,r=T(e?B:x(t)),o=[],u=0;r.length>u;)!i(D,n=r[u++])||e&&!i(V,n)||o.push(D[n]);return o};U||(c((R=function(){if(this instanceof R)throw TypeError("Symbol is not a constructor!");var t=h(arguments.length>0?arguments[0]:void 0),n=function(e){this===V&&n.call(B,e),i(this,L)&&i(this[L],t)&&(this[L][t]=!1),q(this,t,_(1,e))};return o&&G&&q(V,t,{configurable:!0,set:n}),Y(t)}).prototype,"toString",(function(){return this._k})),F.f=Q,M.f=X,e(35).f=O.f=Z,e(46).f=$,P.f=tt,o&&!e(31)&&c(V,"propertyIsEnumerable",$,!0),v.f=function(t){return Y(p(t))}),u(u.G+u.W+u.F*!U,{Symbol:R});for(var nt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),et=0;nt.length>et;)p(nt[et++]);for(var rt=I(p.store),it=0;rt.length>it;)d(rt[it++]);u(u.S+u.F*!U,"Symbol",{for:function(t){return i(W,t+="")?W[t]:W[t]=R(t)},keyFor:function(t){if(!J(t))throw TypeError(t+" is not a symbol!");for(var n in W)if(W[n]===t)return n},useSetter:function(){G=!0},useSimple:function(){G=!1}}),u(u.S+u.F*!U,"Object",{create:function(t,n){return void 0===n?E(t):K(E(t),n)},defineProperty:X,defineProperties:K,getOwnPropertyDescriptor:Q,getOwnPropertyNames:Z,getOwnPropertySymbols:tt});var ot=f((function(){P.f(1)}));u(u.S+u.F*ot,"Object",{getOwnPropertySymbols:function(t){return P.f(b(t))}}),N&&u(u.S+u.F*(!U||f((function(){var t=R();return"[null]"!=k([t])||"{}"!=k({a:t})||"{}"!=k(Object(t))}))),"JSON",{stringify:function(t){for(var n,e,r=[t],i=1;arguments.length>i;)r.push(arguments[i++]);if(e=n=r[1],(w(n)||void 0!==t)&&!J(t))return y(n)||(n=function(t,n){if("function"==typeof e&&(n=e.call(this,t,n)),!J(n))return n}),r[1]=n,k.apply(N,r)}}),R.prototype[C]||e(14)(R.prototype,C,R.prototype.valueOf),l(R,"Symbol"),l(Math,"Math",!0),l(r.JSON,"JSON",!0)},function(t,n,e){t.exports=e(49)("native-function-to-string",Function.toString)},function(t,n,e){var r=e(32),i=e(51),o=e(46);t.exports=function(t){var n=r(t),e=i.f;if(e)for(var u,c=e(t),a=o.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(34)})},function(t,n,e){var r=e(0);r(r.S+r.F*!e(8),"Object",{defineProperty:e(9).f})},function(t,n,e){var r=e(0);r(r.S+r.F*!e(8),"Object",{defineProperties:e(93)})},function(t,n,e){var r=e(15),i=e(20).f;e(21)("getOwnPropertyDescriptor",(function(){return function(t,n){return i(r(t),n)}}))},function(t,n,e){var r=e(10),i=e(36);e(21)("getPrototypeOf",(function(){return function(t){return i(r(t))}}))},function(t,n,e){var r=e(10),i=e(32);e(21)("keys",(function(){return function(t){return i(r(t))}}))},function(t,n,e){e(21)("getOwnPropertyNames",(function(){return e(94).f}))},function(t,n,e){var r=e(4),i=e(28).onFreeze;e(21)("freeze",(function(t){return function(n){return t&&r(n)?t(i(n)):n}}))},function(t,n,e){var r=e(4),i=e(28).onFreeze;e(21)("seal",(function(t){return function(n){return t&&r(n)?t(i(n)):n}}))},function(t,n,e){var r=e(4),i=e(28).onFreeze;e(21)("preventExtensions",(function(t){return function(n){return t&&r(n)?t(i(n)):n}}))},function(t,n,e){var r=e(4);e(21)("isFrozen",(function(t){return function(n){return!r(n)||!!t&&t(n)}}))},function(t,n,e){var r=e(4);e(21)("isSealed",(function(t){return function(n){return!r(n)||!!t&&t(n)}}))},function(t,n,e){var r=e(4);e(21)("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(95)})},function(t,n,e){var r=e(0);r(r.S,"Object",{is:e(96)})},function(t,n,e){var r=e(0);r(r.S,"Object",{setPrototypeOf:e(66).set})},function(t,n,e){"use strict";var r=e(47),i={};i[e(5)("toStringTag")]="z",i+""!="[object z]"&&e(11)(Object.prototype,"toString",(function(){return"[object "+r(this)+"]"}),!0)},function(t,n,e){var r=e(0);r(r.P,"Function",{bind:e(97)})},function(t,n,e){var r=e(9).f,i=Function.prototype,o=/^\s*function ([^ (]*)/;"name"in i||e(8)&&r(i,"name",{configurable:!0,get:function(){try{return(""+this).match(o)[1]}catch(t){return""}}})},function(t,n,e){"use strict";var r=e(4),i=e(36),o=e(5)("hasInstance"),u=Function.prototype;o in u||e(9).f(u,o,{value:function(t){if("function"!=typeof this||!r(t))return!1;if(!r(this.prototype))return t instanceof this;for(;t=i(t);)if(this.prototype===t)return!0;return!1}})},function(t,n,e){var r=e(0),i=e(99);r(r.G+r.F*(parseInt!=i),{parseInt:i})},function(t,n,e){var r=e(0),i=e(100);r(r.G+r.F*(parseFloat!=i),{parseFloat:i})},function(t,n,e){"use strict";var r=e(1),i=e(13),o=e(23),u=e(68),c=e(27),a=e(2),f=e(35).f,s=e(20).f,l=e(9).f,h=e(40).trim,p=r.Number,v=p,d=p.prototype,g="Number"==o(e(34)(d)),y="trim"in String.prototype,m=function(t){var n=c(t,!1);if("string"==typeof n&&n.length>2){var e,r,i,o=(n=y?n.trim():h(n,3)).charCodeAt(0);if(43===o||45===o){if(88===(e=n.charCodeAt(2))||120===e)return NaN}else if(48===o){switch(n.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=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>i)return NaN;return parseInt(a,r)}}return+n};if(!p(" 0o1")||!p("0b1")||p("+0x1")){p=function(t){var n=arguments.length<1?0:t,e=this;return e instanceof p&&(g?a((function(){d.valueOf.call(e)})):"Number"!=o(e))?u(new v(m(n)),e,p):m(n)};for(var w,b=e(8)?f(v):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),x=0;b.length>x;x++)i(v,w=b[x])&&!i(p,w)&&l(p,w,s(v,w));p.prototype=d,d.constructor=p,e(11)(r,"Number",p)}},function(t,n,e){"use strict";var r=e(0),i=e(19),o=e(101),u=e(69),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)},h=function(t){for(var n=6,e=0;--n>=0;)e+=f[n],f[n]=a(e/t),e=e%t*1e7},p=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},v=function(t,n,e){return 0===n?e:n%2==1?v(t,n-1,e*t):v(t*t,n/2,e)};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(2)((function(){c.call({})}))),"Number",{toFixed:function(t){var n,e,r,c,a=o(this,s),f=i(t),d="",g="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&&(d="-",a=-a),a>1e-21)if(e=(n=function(t){for(var n=0,e=t;e>=4096;)n+=12,e/=4096;for(;e>=2;)n+=1,e/=2;return n}(a*v(2,69,1))-69)<0?a*v(2,-n,1):a/v(2,n,1),e*=4503599627370496,(n=52-n)>0){for(l(0,e),r=f;r>=7;)l(1e7,0),r-=7;for(l(v(10,r,1),0),r=n-1;r>=23;)h(1<<23),r-=23;h(1<<r),l(1,1),h(2),g=p()}else l(0,e),l(1<<-n,0),g=p()+u.call("0",f);return g=f>0?d+((c=g.length)<=f?"0."+u.call("0",f-c)+g:g.slice(0,c-f)+"."+g.slice(c-f)):d+g}})},function(t,n,e){"use strict";var r=e(0),i=e(2),o=e(101),u=1..toPrecision;r(r.P+r.F*(i((function(){return"1"!==u.call(1,void 0)}))||!i((function(){u.call({})}))),"Number",{toPrecision:function(t){var n=o(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),i=e(1).isFinite;r(r.S,"Number",{isFinite:function(t){return"number"==typeof t&&i(t)}})},function(t,n,e){var r=e(0);r(r.S,"Number",{isInteger:e(102)})},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),i=e(102),o=Math.abs;r(r.S,"Number",{isSafeInteger:function(t){return i(t)&&o(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),i=e(100);r(r.S+r.F*(Number.parseFloat!=i),"Number",{parseFloat:i})},function(t,n,e){var r=e(0),i=e(99);r(r.S+r.F*(Number.parseInt!=i),"Number",{parseInt:i})},function(t,n,e){var r=e(0),i=e(103),o=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:i(t-1+o(t-1)*o(t+1))}})},function(t,n,e){var r=e(0),i=Math.asinh;r(r.S+r.F*!(i&&1/i(0)>0),"Math",{asinh:function t(n){return isFinite(n=+n)&&0!=n?n<0?-t(-n):Math.log(n+Math.sqrt(n*n+1)):n}})},function(t,n,e){var r=e(0),i=Math.atanh;r(r.S+r.F*!(i&&1/i(-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),i=e(70);r(r.S,"Math",{cbrt:function(t){return i(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),i=Math.exp;r(r.S,"Math",{cosh:function(t){return(i(t=+t)+i(-t))/2}})},function(t,n,e){var r=e(0),i=e(71);r(r.S+r.F*(i!=Math.expm1),"Math",{expm1:i})},function(t,n,e){var r=e(0);r(r.S,"Math",{fround:e(178)})},function(t,n,e){var r=e(70),i=Math.pow,o=i(2,-52),u=i(2,-23),c=i(2,127)*(2-u),a=i(2,-126);t.exports=Math.fround||function(t){var n,e,i=Math.abs(t),f=r(t);return i<a?f*(i/a/u+1/o-1/o)*a*u:(e=(n=(1+u/o)*i)-(n-i))>c||e!=e?f*(1/0):f*e}},function(t,n,e){var r=e(0),i=Math.abs;r(r.S,"Math",{hypot:function(t,n){for(var e,r,o=0,u=0,c=arguments.length,a=0;u<c;)a<(e=i(arguments[u++]))?(o=o*(r=a/e)*r+1,a=e):o+=e>0?(r=e/a)*r:e;return a===1/0?1/0:a*Math.sqrt(o)}})},function(t,n,e){var r=e(0),i=Math.imul;r(r.S+r.F*e(2)((function(){return-5!=i(4294967295,5)||2!=i.length})),"Math",{imul:function(t,n){var e=+t,r=+n,i=65535&e,o=65535&r;return 0|i*o+((65535&e>>>16)*o+i*(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(103)})},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(70)})},function(t,n,e){var r=e(0),i=e(71),o=Math.exp;r(r.S+r.F*e(2)((function(){return-2e-17!=!Math.sinh(-2e-17)})),"Math",{sinh:function(t){return Math.abs(t=+t)<1?(i(t)-i(-t))/2:(o(t-1)-o(-t-1))*(Math.E/2)}})},function(t,n,e){var r=e(0),i=e(71),o=Math.exp;r(r.S,"Math",{tanh:function(t){var n=i(t=+t),e=i(-t);return n==1/0?1:e==1/0?-1:(n-e)/(o(t)+o(-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),i=e(33),o=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++],i(n,1114111)!==n)throw RangeError(n+" is not a valid code point");e.push(n<65536?o(n):o(55296+((n-=65536)>>10),n%1024+56320))}return e.join("")}})},function(t,n,e){var r=e(0),i=e(15),o=e(6);r(r.S,"String",{raw:function(t){for(var n=i(t.raw),e=o(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(40)("trim",(function(t){return function(){return t(this,3)}}))},function(t,n,e){"use strict";var r=e(72)(!0);e(73)(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),i=e(72)(!1);r(r.P,"String",{codePointAt:function(t){return i(this,t)}})},function(t,n,e){"use strict";var r=e(0),i=e(6),o=e(74),u="".endsWith;r(r.P+r.F*e(76)("endsWith"),"String",{endsWith:function(t){var n=o(this,t,"endsWith"),e=arguments.length>1?arguments[1]:void 0,r=i(n.length),c=void 0===e?r:Math.min(i(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),i=e(74);r(r.P+r.F*e(76)("includes"),"String",{includes:function(t){return!!~i(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(69)})},function(t,n,e){"use strict";var r=e(0),i=e(6),o=e(74),u="".startsWith;r(r.P+r.F*e(76)("startsWith"),"String",{startsWith:function(t){var n=o(this,t,"startsWith"),e=i(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(12)("anchor",(function(t){return function(n){return t(this,"a","name",n)}}))},function(t,n,e){"use strict";e(12)("big",(function(t){return function(){return t(this,"big","","")}}))},function(t,n,e){"use strict";e(12)("blink",(function(t){return function(){return t(this,"blink","","")}}))},function(t,n,e){"use strict";e(12)("bold",(function(t){return function(){return t(this,"b","","")}}))},function(t,n,e){"use strict";e(12)("fixed",(function(t){return function(){return t(this,"tt","","")}}))},function(t,n,e){"use strict";e(12)("fontcolor",(function(t){return function(n){return t(this,"font","color",n)}}))},function(t,n,e){"use strict";e(12)("fontsize",(function(t){return function(n){return t(this,"font","size",n)}}))},function(t,n,e){"use strict";e(12)("italics",(function(t){return function(){return t(this,"i","","")}}))},function(t,n,e){"use strict";e(12)("link",(function(t){return function(n){return t(this,"a","href",n)}}))},function(t,n,e){"use strict";e(12)("small",(function(t){return function(){return t(this,"small","","")}}))},function(t,n,e){"use strict";e(12)("strike",(function(t){return function(){return t(this,"strike","","")}}))},function(t,n,e){"use strict";e(12)("sub",(function(t){return function(){return t(this,"sub","","")}}))},function(t,n,e){"use strict";e(12)("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),i=e(10),o=e(27);r(r.P+r.F*e(2)((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})})),"Date",{toJSON:function(t){var n=i(this),e=o(n);return"number"!=typeof e||isFinite(e)?n.toISOString():null}})},function(t,n,e){var r=e(0),i=e(213);r(r.P+r.F*(Date.prototype.toISOString!==i),"Date",{toISOString:i})},function(t,n,e){"use strict";var r=e(2),i=Date.prototype.getTime,o=Date.prototype.toISOString,u=function(t){return t>9?t:"0"+t};t.exports=r((function(){return"0385-07-25T07:06:39.999Z"!=o.call(new Date(-5e13-1))}))||!r((function(){o.call(new Date(NaN))}))?function(){if(!isFinite(i.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"}:o},function(t,n,e){var r=Date.prototype,i=r.toString,o=r.getTime;new Date(NaN)+""!="Invalid Date"&&e(11)(r,"toString",(function(){var t=o.call(this);return t==t?i.call(this):"Invalid Date"}))},function(t,n,e){var r=e(5)("toPrimitive"),i=Date.prototype;r in i||e(14)(i,r,e(216))},function(t,n,e){"use strict";var r=e(3),i=e(27);t.exports=function(t){if("string"!==t&&"number"!==t&&"default"!==t)throw TypeError("Incorrect hint");return i(r(this),"number"!=t)}},function(t,n,e){var r=e(0);r(r.S,"Array",{isArray:e(52)})},function(t,n,e){"use strict";var r=e(17),i=e(0),o=e(10),u=e(105),c=e(77),a=e(6),f=e(78),s=e(79);i(i.S+i.F*!e(53)((function(t){Array.from(t)})),"Array",{from:function(t){var n,e,i,l,h=o(t),p="function"==typeof this?this:Array,v=arguments.length,d=v>1?arguments[1]:void 0,g=void 0!==d,y=0,m=s(h);if(g&&(d=r(d,v>2?arguments[2]:void 0,2)),null==m||p==Array&&c(m))for(e=new p(n=a(h.length));n>y;y++)f(e,y,g?d(h[y],y):h[y]);else for(l=m.call(h),e=new p;!(i=l.next()).done;y++)f(e,y,g?u(l,d,[i.value,y],!0):i.value);return e.length=y,e}})},function(t,n,e){"use strict";var r=e(0),i=e(78);r(r.S+r.F*e(2)((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;)i(e,t,arguments[t++]);return e.length=n,e}})},function(t,n,e){"use strict";var r=e(0),i=e(15),o=[].join;r(r.P+r.F*(e(45)!=Object||!e(16)(o)),"Array",{join:function(t){return o.call(i(this),void 0===t?",":t)}})},function(t,n,e){"use strict";var r=e(0),i=e(65),o=e(23),u=e(33),c=e(6),a=[].slice;r(r.P+r.F*e(2)((function(){i&&a.call(i)})),"Array",{slice:function(t,n){var e=c(this.length),r=o(this);if(n=void 0===n?e:n,"Array"==r)return a.call(this,t,n);for(var i=u(t,e),f=u(n,e),s=c(f-i),l=new Array(s),h=0;h<s;h++)l[h]="String"==r?this.charAt(i+h):this[i+h];return l}})},function(t,n,e){"use strict";var r=e(0),i=e(18),o=e(10),u=e(2),c=[].sort,a=[1,2,3];r(r.P+r.F*(u((function(){a.sort(void 0)}))||!u((function(){a.sort(null)}))||!e(16)(c)),"Array",{sort:function(t){return void 0===t?c.call(o(this)):c.call(o(this),i(t))}})},function(t,n,e){"use strict";var r=e(0),i=e(22)(0),o=e(16)([].forEach,!0);r(r.P+r.F*!o,"Array",{forEach:function(t){return i(this,t,arguments[1])}})},function(t,n,e){var r=e(4),i=e(52),o=e(5)("species");t.exports=function(t){var n;return i(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!i(n.prototype)||(n=void 0),r(n)&&null===(n=n[o])&&(n=void 0)),void 0===n?Array:n}},function(t,n,e){"use strict";var r=e(0),i=e(22)(1);r(r.P+r.F*!e(16)([].map,!0),"Array",{map:function(t){return i(this,t,arguments[1])}})},function(t,n,e){"use strict";var r=e(0),i=e(22)(2);r(r.P+r.F*!e(16)([].filter,!0),"Array",{filter:function(t){return i(this,t,arguments[1])}})},function(t,n,e){"use strict";var r=e(0),i=e(22)(3);r(r.P+r.F*!e(16)([].some,!0),"Array",{some:function(t){return i(this,t,arguments[1])}})},function(t,n,e){"use strict";var r=e(0),i=e(22)(4);r(r.P+r.F*!e(16)([].every,!0),"Array",{every:function(t){return i(this,t,arguments[1])}})},function(t,n,e){"use strict";var r=e(0),i=e(107);r(r.P+r.F*!e(16)([].reduce,!0),"Array",{reduce:function(t){return i(this,t,arguments.length,arguments[1],!1)}})},function(t,n,e){"use strict";var r=e(0),i=e(107);r(r.P+r.F*!e(16)([].reduceRight,!0),"Array",{reduceRight:function(t){return i(this,t,arguments.length,arguments[1],!0)}})},function(t,n,e){"use strict";var r=e(0),i=e(50)(!1),o=[].indexOf,u=!!o&&1/[1].indexOf(1,-0)<0;r(r.P+r.F*(u||!e(16)(o)),"Array",{indexOf:function(t){return u?o.apply(this,arguments)||0:i(this,t,arguments[1])}})},function(t,n,e){"use strict";var r=e(0),i=e(15),o=e(19),u=e(6),c=[].lastIndexOf,a=!!c&&1/[1].lastIndexOf(1,-0)<0;r(r.P+r.F*(a||!e(16)(c)),"Array",{lastIndexOf:function(t){if(a)return c.apply(this,arguments)||0;var n=i(this),e=u(n.length),r=e-1;for(arguments.length>1&&(r=Math.min(r,o(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(108)}),e(37)("copyWithin")},function(t,n,e){var r=e(0);r(r.P,"Array",{fill:e(80)}),e(37)("fill")},function(t,n,e){"use strict";var r=e(0),i=e(22)(5),o=!0;"find"in[]&&Array(1).find((function(){o=!1})),r(r.P+r.F*o,"Array",{find:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),e(37)("find")},function(t,n,e){"use strict";var r=e(0),i=e(22)(6),o="findIndex",u=!0;o in[]&&Array(1)[o]((function(){u=!1})),r(r.P+r.F*u,"Array",{findIndex:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),e(37)(o)},function(t,n,e){e(42)("Array")},function(t,n,e){var r=e(1),i=e(68),o=e(9).f,u=e(35).f,c=e(75),a=e(54),f=r.RegExp,s=f,l=f.prototype,h=/a/g,p=/a/g,v=new f(h)!==h;if(e(8)&&(!v||e(2)((function(){return p[e(5)("match")]=!1,f(h)!=h||f(p)==p||"/a/i"!=f(h,"i")})))){f=function(t,n){var e=this instanceof f,r=c(t),o=void 0===n;return!e&&r&&t.constructor===f&&o?t:i(v?new s(r&&!o?t.source:t,n):s((r=t instanceof f)?t.source:t,r&&o?a.call(t):n),e?this:l,f)};for(var d=function(t){t in f||o(f,t,{configurable:!0,get:function(){return s[t]},set:function(n){s[t]=n}})},g=u(s),y=0;g.length>y;)d(g[y++]);l.constructor=f,f.prototype=l,e(11)(r,"RegExp",f)}e(42)("RegExp")},function(t,n,e){"use strict";e(111);var r=e(3),i=e(54),o=e(8),u=/./.toString,c=function(t){e(11)(RegExp.prototype,"toString",t,!0)};e(2)((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:!o&&t instanceof RegExp?i.call(t):void 0)})):"toString"!=u.name&&c((function(){return u.call(this)}))},function(t,n,e){"use strict";var r=e(3),i=e(6),o=e(83),u=e(55);e(56)("match",1,(function(t,n,e,c){return[function(e){var r=t(this),i=null==e?void 0:e[n];return void 0!==i?i.call(e,r):new RegExp(e)[n](String(r))},function(t){var n=c(e,t,this);if(n.done)return n.value;var a=r(t),f=String(this);if(!a.global)return u(a,f);var s=a.unicode;a.lastIndex=0;for(var l,h=[],p=0;null!==(l=u(a,f));){var v=String(l[0]);h[p]=v,""===v&&(a.lastIndex=o(f,i(a.lastIndex),s)),p++}return 0===p?null:h}]}))},function(t,n,e){"use strict";var r=e(3),i=e(10),o=e(6),u=e(19),c=e(83),a=e(55),f=Math.max,s=Math.min,l=Math.floor,h=/\$([$&`']|\d\d?|<[^>]*>)/g,p=/\$([$&`']|\d\d?)/g;e(56)("replace",2,(function(t,n,e,v){return[function(r,i){var o=t(this),u=null==r?void 0:r[n];return void 0!==u?u.call(r,o,i):e.call(String(o),r,i)},function(t,n){var i=v(e,t,this,n);if(i.done)return i.value;var l=r(t),h=String(this),p="function"==typeof n;p||(n=String(n));var g=l.global;if(g){var y=l.unicode;l.lastIndex=0}for(var m=[];;){var w=a(l,h);if(null===w)break;if(m.push(w),!g)break;""===String(w[0])&&(l.lastIndex=c(h,o(l.lastIndex),y))}for(var b,x="",S=0,_=0;_<m.length;_++){w=m[_];for(var E=String(w[0]),O=f(s(u(w.index),h.length),0),F=[],P=1;P<w.length;P++)F.push(void 0===(b=w[P])?b:String(b));var M=w.groups;if(p){var I=[E].concat(F,O,h);void 0!==M&&I.push(M);var A=String(n.apply(void 0,I))}else A=d(E,h,O,F,M,n);O>=S&&(x+=h.slice(S,O)+A,S=O+E.length)}return x+h.slice(S)}];function d(t,n,r,o,u,c){var a=r+t.length,f=o.length,s=p;return void 0!==u&&(u=i(u),s=h),e.call(c,s,(function(e,i){var c;switch(i.charAt(0)){case"$":return"$";case"&":return t;case"`":return n.slice(0,r);case"'":return n.slice(a);case"<":c=u[i.slice(1,-1)];break;default:var s=+i;if(0===s)return e;if(s>f){var h=l(s/10);return 0===h?e:h<=f?void 0===o[h-1]?i.charAt(1):o[h-1]+i.charAt(1):e}c=o[s-1]}return void 0===c?"":c}))}}))},function(t,n,e){"use strict";var r=e(3),i=e(96),o=e(55);e(56)("search",1,(function(t,n,e,u){return[function(e){var r=t(this),i=null==e?void 0:e[n];return void 0!==i?i.call(e,r):new RegExp(e)[n](String(r))},function(t){var n=u(e,t,this);if(n.done)return n.value;var c=r(t),a=String(this),f=c.lastIndex;i(f,0)||(c.lastIndex=0);var s=o(c,a);return i(c.lastIndex,f)||(c.lastIndex=f),null===s?-1:s.index}]}))},function(t,n,e){"use strict";var r=e(75),i=e(3),o=e(48),u=e(83),c=e(6),a=e(55),f=e(82),s=e(2),l=Math.min,h=[].push,p=!s((function(){RegExp(4294967295,"y")}));e(56)("split",2,(function(t,n,e,s){var v;return v="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,n){var i=String(this);if(void 0===t&&0===n)return[];if(!r(t))return e.call(i,t,n);for(var o,u,c,a=[],s=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),l=0,p=void 0===n?4294967295:n>>>0,v=new RegExp(t.source,s+"g");(o=f.call(v,i))&&!((u=v.lastIndex)>l&&(a.push(i.slice(l,o.index)),o.length>1&&o.index<i.length&&h.apply(a,o.slice(1)),c=o[0].length,l=u,a.length>=p));)v.lastIndex===o.index&&v.lastIndex++;return l===i.length?!c&&v.test("")||a.push(""):a.push(i.slice(l)),a.length>p?a.slice(0,p):a}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:e.call(this,t,n)}:e,[function(e,r){var i=t(this),o=null==e?void 0:e[n];return void 0!==o?o.call(e,i,r):v.call(String(i),e,r)},function(t,n){var r=s(v,t,this,n,v!==e);if(r.done)return r.value;var f=i(t),h=String(this),d=o(f,RegExp),g=f.unicode,y=(f.ignoreCase?"i":"")+(f.multiline?"m":"")+(f.unicode?"u":"")+(p?"y":"g"),m=new d(p?f:"^(?:"+f.source+")",y),w=void 0===n?4294967295:n>>>0;if(0===w)return[];if(0===h.length)return null===a(m,h)?[h]:[];for(var b=0,x=0,S=[];x<h.length;){m.lastIndex=p?x:0;var _,E=a(m,p?h:h.slice(x));if(null===E||(_=l(c(m.lastIndex+(p?0:x)),h.length))===b)x=u(h,x,g);else{if(S.push(h.slice(b,x)),S.length===w)return S;for(var O=1;O<=E.length-1;O++)if(S.push(E[O]),S.length===w)return S;x=b=_}}return S.push(h.slice(b)),S}]}))},function(t,n,e){var r=e(1),i=e(84).set,o=r.MutationObserver||r.WebKitMutationObserver,u=r.process,c=r.Promise,a="process"==e(23)(u);t.exports=function(){var t,n,e,f=function(){var r,i;for(a&&(r=u.domain)&&r.exit();t;){i=t.fn,t=t.next;try{i()}catch(r){throw t?e():n=void 0,r}}n=void 0,r&&r.enter()};if(a)e=function(){u.nextTick(f)};else if(!o||r.navigator&&r.navigator.standalone)if(c&&c.resolve){var s=c.resolve(void 0);e=function(){s.then(f)}}else e=function(){i.call(r,f)};else{var l=!0,h=document.createTextNode("");new o(f).observe(h,{characterData:!0}),e=function(){h.data=l=!l}}return function(r){var i={fn:r,next:void 0};n&&(n.next=i),t||(t=i,e()),n=i}}},function(t,n){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},function(t,n,e){"use strict";var r=e(115),i=e(38);t.exports=e(59)("Map",(function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}}),{get:function(t){var n=r.getEntry(i(this,"Map"),t);return n&&n.v},set:function(t,n){return r.def(i(this,"Map"),0===t?0:t,n)}},r,!0)},function(t,n,e){"use strict";var r=e(115),i=e(38);t.exports=e(59)("Set",(function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}}),{add:function(t){return r.def(i(this,"Set"),t=0===t?0:t,t)}},r)},function(t,n,e){"use strict";var r,i=e(1),o=e(22)(0),u=e(11),c=e(28),a=e(95),f=e(116),s=e(4),l=e(38),h=e(38),p=!i.ActiveXObject&&"ActiveXObject"in i,v=c.getWeak,d=Object.isExtensible,g=f.ufstore,y=function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},m={get:function(t){if(s(t)){var n=v(t);return!0===n?g(l(this,"WeakMap")).get(t):n?n[this._i]:void 0}},set:function(t,n){return f.def(l(this,"WeakMap"),t,n)}},w=t.exports=e(59)("WeakMap",y,m,f,!0,!0);h&&p&&(a((r=f.getConstructor(y,"WeakMap")).prototype,m),c.NEED=!0,o(["delete","has","get","set"],(function(t){var n=w.prototype,e=n[t];u(n,t,(function(n,i){if(s(n)&&!d(n)){this._f||(this._f=new r);var o=this._f[t](n,i);return"set"==t?this:o}return e.call(this,n,i)}))})))},function(t,n,e){"use strict";var r=e(116),i=e(38);e(59)("WeakSet",(function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}}),{add:function(t){return r.def(i(this,"WeakSet"),t,!0)}},r,!1,!0)},function(t,n,e){"use strict";var r=e(0),i=e(60),o=e(85),u=e(3),c=e(33),a=e(6),f=e(4),s=e(1).ArrayBuffer,l=e(48),h=o.ArrayBuffer,p=o.DataView,v=i.ABV&&s.isView,d=h.prototype.slice,g=i.VIEW;r(r.G+r.W+r.F*(s!==h),{ArrayBuffer:h}),r(r.S+r.F*!i.CONSTR,"ArrayBuffer",{isView:function(t){return v&&v(t)||f(t)&&g in t}}),r(r.P+r.U+r.F*e(2)((function(){return!new h(2).slice(1,void 0).byteLength})),"ArrayBuffer",{slice:function(t,n){if(void 0!==d&&void 0===n)return d.call(u(this),t);for(var e=u(this).byteLength,r=c(t,e),i=c(void 0===n?e:n,e),o=new(l(this,h))(a(i-r)),f=new p(this),s=new p(o),v=0;r<i;)s.setUint8(v++,f.getUint8(r++));return o}}),e(42)("ArrayBuffer")},function(t,n,e){var r=e(0);r(r.G+r.W+r.F*!e(60).ABV,{DataView:e(85).DataView})},function(t,n,e){e(25)("Int8",1,(function(t){return function(n,e,r){return t(this,n,e,r)}}))},function(t,n,e){e(25)("Uint8",1,(function(t){return function(n,e,r){return t(this,n,e,r)}}))},function(t,n,e){e(25)("Uint8",1,(function(t){return function(n,e,r){return t(this,n,e,r)}}),!0)},function(t,n,e){e(25)("Int16",2,(function(t){return function(n,e,r){return t(this,n,e,r)}}))},function(t,n,e){e(25)("Uint16",2,(function(t){return function(n,e,r){return t(this,n,e,r)}}))},function(t,n,e){e(25)("Int32",4,(function(t){return function(n,e,r){return t(this,n,e,r)}}))},function(t,n,e){e(25)("Uint32",4,(function(t){return function(n,e,r){return t(this,n,e,r)}}))},function(t,n,e){e(25)("Float32",4,(function(t){return function(n,e,r){return t(this,n,e,r)}}))},function(t,n,e){e(25)("Float64",8,(function(t){return function(n,e,r){return t(this,n,e,r)}}))},function(t,n,e){var r=e(0),i=e(18),o=e(3),u=(e(1).Reflect||{}).apply,c=Function.apply;r(r.S+r.F*!e(2)((function(){u((function(){}))})),"Reflect",{apply:function(t,n,e){var r=i(t),a=o(e);return u?u(r,n,a):c.call(r,n,a)}})},function(t,n,e){var r=e(0),i=e(34),o=e(18),u=e(3),c=e(4),a=e(2),f=e(97),s=(e(1).Reflect||{}).construct,l=a((function(){function t(){}return!(s((function(){}),[],t)instanceof t)})),h=!a((function(){s((function(){}))}));r(r.S+r.F*(l||h),"Reflect",{construct:function(t,n){o(t),u(n);var e=arguments.length<3?t:o(arguments[2]);if(h&&!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,p=i(c(a)?a:Object.prototype),v=Function.apply.call(t,p,n);return c(v)?v:p}})},function(t,n,e){var r=e(9),i=e(0),o=e(3),u=e(27);i(i.S+i.F*e(2)((function(){Reflect.defineProperty(r.f({},1,{value:1}),1,{value:2})})),"Reflect",{defineProperty:function(t,n,e){o(t),n=u(n,!0),o(e);try{return r.f(t,n,e),!0}catch(t){return!1}}})},function(t,n,e){var r=e(0),i=e(20).f,o=e(3);r(r.S,"Reflect",{deleteProperty:function(t,n){var e=i(o(t),n);return!(e&&!e.configurable)&&delete t[n]}})},function(t,n,e){"use strict";var r=e(0),i=e(3),o=function(t){this._t=i(t),this._i=0;var n,e=this._k=[];for(n in t)e.push(n)};e(104)(o,"Object",(function(){var t,n=this._k;do{if(this._i>=n.length)return{value:void 0,done:!0}}while(!((t=n[this._i++])in this._t));return{value:t,done:!1}})),r(r.S,"Reflect",{enumerate:function(t){return new o(t)}})},function(t,n,e){var r=e(20),i=e(36),o=e(13),u=e(0),c=e(4),a=e(3);u(u.S,"Reflect",{get:function t(n,e){var u,f,s=arguments.length<3?n:arguments[2];return a(n)===s?n[e]:(u=r.f(n,e))?o(u,"value")?u.value:void 0!==u.get?u.get.call(s):void 0:c(f=i(n))?t(f,e,s):void 0}})},function(t,n,e){var r=e(20),i=e(0),o=e(3);i(i.S,"Reflect",{getOwnPropertyDescriptor:function(t,n){return r.f(o(t),n)}})},function(t,n,e){var r=e(0),i=e(36),o=e(3);r(r.S,"Reflect",{getPrototypeOf:function(t){return i(o(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),i=e(3),o=Object.isExtensible;r(r.S,"Reflect",{isExtensible:function(t){return i(t),!o||o(t)}})},function(t,n,e){var r=e(0);r(r.S,"Reflect",{ownKeys:e(118)})},function(t,n,e){var r=e(0),i=e(3),o=Object.preventExtensions;r(r.S,"Reflect",{preventExtensions:function(t){i(t);try{return o&&o(t),!0}catch(t){return!1}}})},function(t,n,e){var r=e(9),i=e(20),o=e(36),u=e(13),c=e(0),a=e(29),f=e(3),s=e(4);c(c.S,"Reflect",{set:function t(n,e,c){var l,h,p=arguments.length<4?n:arguments[3],v=i.f(f(n),e);if(!v){if(s(h=o(n)))return t(h,e,c,p);v=a(0)}if(u(v,"value")){if(!1===v.writable||!s(p))return!1;if(l=i.f(p,e)){if(l.get||l.set||!1===l.writable)return!1;l.value=c,r.f(p,e,l)}else r.f(p,e,a(0,c));return!0}return void 0!==v.set&&(v.set.call(p,c),!0)}})},function(t,n,e){var r=e(0),i=e(66);i&&r(r.S,"Reflect",{setPrototypeOf:function(t,n){i.check(t,n);try{return i.set(t,n),!0}catch(t){return!1}}})},function(t,n,e){e(276),t.exports=e(7).Array.includes},function(t,n,e){"use strict";var r=e(0),i=e(50)(!0);r(r.P,"Array",{includes:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),e(37)("includes")},function(t,n,e){e(278),t.exports=e(7).Array.flatMap},function(t,n,e){"use strict";var r=e(0),i=e(279),o=e(10),u=e(6),c=e(18),a=e(106);r(r.P,"Array",{flatMap:function(t){var n,e,r=o(this);return c(t),n=u(r.length),e=a(r,0),i(e,r,r,n,0,1,t,arguments[1]),e}}),e(37)("flatMap")},function(t,n,e){"use strict";var r=e(52),i=e(4),o=e(6),u=e(17),c=e(5)("isConcatSpreadable");t.exports=function t(n,e,a,f,s,l,h,p){for(var v,d,g=s,y=0,m=!!h&&u(h,p,3);y<f;){if(y in a){if(v=m?m(a[y],y,e):a[y],d=!1,i(v)&&(d=void 0!==(d=v[c])?!!d:r(v)),d&&l>0)g=t(n,e,v,o(v.length),g,l-1)-1;else{if(g>=9007199254740991)throw TypeError();n[g]=v}g++}y++}return g}},function(t,n,e){e(281),t.exports=e(7).String.padStart},function(t,n,e){"use strict";var r=e(0),i=e(119),o=e(58),u=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(o);r(r.P+r.F*u,"String",{padStart:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0,!0)}})},function(t,n,e){e(283),t.exports=e(7).String.padEnd},function(t,n,e){"use strict";var r=e(0),i=e(119),o=e(58),u=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(o);r(r.P+r.F*u,"String",{padEnd:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0,!1)}})},function(t,n,e){e(285),t.exports=e(7).String.trimLeft},function(t,n,e){"use strict";e(40)("trimLeft",(function(t){return function(){return t(this,1)}}),"trimStart")},function(t,n,e){e(287),t.exports=e(7).String.trimRight},function(t,n,e){"use strict";e(40)("trimRight",(function(t){return function(){return t(this,2)}}),"trimEnd")},function(t,n,e){e(289),t.exports=e(62).f("asyncIterator")},function(t,n,e){e(91)("asyncIterator")},function(t,n,e){e(291),t.exports=e(7).Object.getOwnPropertyDescriptors},function(t,n,e){var r=e(0),i=e(118),o=e(15),u=e(20),c=e(78);r(r.S,"Object",{getOwnPropertyDescriptors:function(t){for(var n,e,r=o(t),a=u.f,f=i(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){e(293),t.exports=e(7).Object.values},function(t,n,e){var r=e(0),i=e(120)(!1);r(r.S,"Object",{values:function(t){return i(t)}})},function(t,n,e){e(295),t.exports=e(7).Object.entries},function(t,n,e){var r=e(0),i=e(120)(!0);r(r.S,"Object",{entries:function(t){return i(t)}})},function(t,n,e){"use strict";e(112),e(297),t.exports=e(7).Promise.finally},function(t,n,e){"use strict";var r=e(0),i=e(7),o=e(1),u=e(48),c=e(114);r(r.P+r.R,"Promise",{finally:function(t){var n=u(this,i.Promise||o.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){e(299),e(300),e(301),t.exports=e(7)},function(t,n,e){var r=e(1),i=e(0),o=e(58),u=[].slice,c=/MSIE .\./.test(o),a=function(t){return function(n,e){var r=arguments.length>2,i=!!r&&u.call(arguments,2);return t(r?function(){("function"==typeof n?n:Function(n)).apply(this,i)}:n,e)}};i(i.G+i.B+i.F*c,{setTimeout:a(r.setTimeout),setInterval:a(r.setInterval)})},function(t,n,e){var r=e(0),i=e(84);r(r.G+r.B,{setImmediate:i.set,clearImmediate:i.clear})},function(t,n,e){for(var r=e(81),i=e(32),o=e(11),u=e(1),c=e(14),a=e(41),f=e(5),s=f("iterator"),l=f("toStringTag"),h=a.Array,p={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},v=i(p),d=0;d<v.length;d++){var g,y=v[d],m=p[y],w=u[y],b=w&&w.prototype;if(b&&(b[s]||c(b,s,h),b[l]||c(b,l,y),a[y]=h,m))for(g in r)b[g]||o(b,g,r[g],!0)}},function(t,n,e){var r=function(t){"use strict";var n,e=Object.prototype,r=e.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function a(t,n,e,r){var i=n&&n.prototype instanceof d?n:d,o=Object.create(i.prototype),u=new P(r||[]);return o._invoke=function(t,n,e){var r=s;return function(i,o){if(r===h)throw new Error("Generator is already running");if(r===p){if("throw"===i)throw o;return I()}for(e.method=i,e.arg=o;;){var u=e.delegate;if(u){var c=E(u,e);if(c){if(c===v)continue;return c}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if(r===s)throw r=p,e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);r=h;var a=f(t,n,e);if("normal"===a.type){if(r=e.done?p:l,a.arg===v)continue;return{value:a.arg,done:e.done}}"throw"===a.type&&(r=p,e.method="throw",e.arg=a.arg)}}}(t,e,u),o}function f(t,n,e){try{return{type:"normal",arg:t.call(n,e)}}catch(t){return{type:"throw",arg:t}}}t.wrap=a;var s="suspendedStart",l="suspendedYield",h="executing",p="completed",v={};function d(){}function g(){}function y(){}var m={};m[o]=function(){return this};var w=Object.getPrototypeOf,b=w&&w(w(M([])));b&&b!==e&&r.call(b,o)&&(m=b);var x=y.prototype=d.prototype=Object.create(m);function S(t){["next","throw","return"].forEach((function(n){t[n]=function(t){return this._invoke(n,t)}}))}function _(t){var n;this._invoke=function(e,i){function o(){return new Promise((function(n,o){!function n(e,i,o,u){var c=f(t[e],t,i);if("throw"!==c.type){var a=c.arg,s=a.value;return s&&"object"==typeof s&&r.call(s,"__await")?Promise.resolve(s.__await).then((function(t){n("next",t,o,u)}),(function(t){n("throw",t,o,u)})):Promise.resolve(s).then((function(t){a.value=t,o(a)}),(function(t){return n("throw",t,o,u)}))}u(c.arg)}(e,i,n,o)}))}return n=n?n.then(o,o):o()}}function E(t,e){var r=t.iterator[e.method];if(r===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=n,E(t,e),"throw"===e.method))return v;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var i=f(r,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,v;var o=i.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=n),e.delegate=null,v):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,v)}function O(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 F(t){var n=t.completion||{};n.type="normal",delete n.arg,t.completion=n}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function M(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,u=function e(){for(;++i<t.length;)if(r.call(t,i))return e.value=t[i],e.done=!1,e;return e.value=n,e.done=!0,e};return u.next=u}}return{next:I}}function I(){return{value:n,done:!0}}return g.prototype=x.constructor=y,y.constructor=g,y[c]=g.displayName="GeneratorFunction",t.isGeneratorFunction=function(t){var n="function"==typeof t&&t.constructor;return!!n&&(n===g||"GeneratorFunction"===(n.displayName||n.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,y):(t.__proto__=y,c in t||(t[c]="GeneratorFunction")),t.prototype=Object.create(x),t},t.awrap=function(t){return{__await:t}},S(_.prototype),_.prototype[u]=function(){return this},t.AsyncIterator=_,t.async=function(n,e,r,i){var o=new _(a(n,e,r,i));return t.isGeneratorFunction(e)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},S(x),x[c]="Generator",x[o]=function(){return this},x.toString=function(){return"[object Generator]"},t.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}},t.values=M,P.prototype={constructor:P,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(F),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=n)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function i(r,i){return c.type="throw",c.arg=t,e.next=r,i&&(e.method="next",e.arg=n),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var u=this.tryEntries[o],c=u.completion;if("root"===u.tryLoc)return i("end");if(u.tryLoc<=this.prev){var a=r.call(u,"catchLoc"),f=r.call(u,"finallyLoc");if(a&&f){if(this.prev<u.catchLoc)return i(u.catchLoc,!0);if(this.prev<u.finallyLoc)return i(u.finallyLoc)}else if(a){if(this.prev<u.catchLoc)return i(u.catchLoc,!0)}else{if(!f)throw new Error("try statement without catch or finally");if(this.prev<u.finallyLoc)return i(u.finallyLoc)}}}},abrupt:function(t,n){for(var e=this.tryEntries.length-1;e>=0;--e){var i=this.tryEntries[e];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=n&&n<=o.finallyLoc&&(o=null);var u=o?o.completion:{};return u.type=t,u.arg=n,o?(this.method="next",this.next=o.finallyLoc,v):this.complete(u)},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),v},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),F(e),v}},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 i=r.arg;F(e)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:M(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=n),v}},t}(t.exports);try{regeneratorRuntime=r}catch(t){Function("r","regeneratorRuntime = r")(r)}},function(t,n,e){e(304),t.exports=e(121).global},function(t,n,e){var r=e(305);r(r.G,{global:e(86)})},function(t,n,e){var r=e(86),i=e(121),o=e(306),u=e(308),c=e(315),a=function(t,n,e){var f,s,l,h=t&a.F,p=t&a.G,v=t&a.S,d=t&a.P,g=t&a.B,y=t&a.W,m=p?i:i[n]||(i[n]={}),w=m.prototype,b=p?r:v?r[n]:(r[n]||{}).prototype;for(f in p&&(e=n),e)(s=!h&&b&&void 0!==b[f])&&c(m,f)||(l=s?b[f]:e[f],m[f]=p&&"function"!=typeof b[f]?e[f]:g&&s?o(l,r):y&&b[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):d&&"function"==typeof l?o(Function.call,l):l,d&&((m.virtual||(m.virtual={}))[f]=l,t&a.R&&w&&!w[f]&&u(w,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(307);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,i){return t.call(n,e,r,i)}}return function(){return t.apply(n,arguments)}}},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(309),i=e(314);t.exports=e(88)?function(t,n,e){return r.f(t,n,i(1,e))}:function(t,n,e){return t[n]=e,t}},function(t,n,e){var r=e(310),i=e(311),o=e(313),u=Object.defineProperty;n.f=e(88)?Object.defineProperty:function(t,n,e){if(r(t),n=o(n,!0),r(e),i)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(87);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,n,e){t.exports=!e(88)&&!e(122)((function(){return 7!=Object.defineProperty(e(312)("div"),"a",{get:function(){return 7}}).a}))},function(t,n,e){var r=e(87),i=e(86).document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},function(t,n,e){var r=e(87);t.exports=function(t,n){if(!r(t))return t;var e,i;if(n&&"function"==typeof(e=t.toString)&&!r(i=e.call(t)))return i;if("function"==typeof(e=t.valueOf)&&!r(i=e.call(t)))return i;if(!n&&"function"==typeof(e=t.toString)&&!r(i=e.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},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={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},function(t,n,e){"use strict";var r=e(317);function i(){}function o(){}o.resetWarningCache=i,t.exports=function(){function t(t,n,e,i,o,u){if(u!==r){var c=new Error("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");throw c.name="Invariant Violation",c}}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,elementType:t,instanceOf:n,node:t,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n,checkPropTypes:o,resetWarningCache:i};return e.PropTypes=e,e}},function(t,n,e){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}]);
|
|
|
|
|
|
|
|
|
|
|
|
assets/admin/js/layouts-editor.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
/*!
|
2 |
* Name : Visual Portfolio
|
3 |
-
* Version : 1.
|
4 |
* Author : nK https://nkdev.info
|
5 |
*/
|
6 |
import { debounce } from 'throttle-debounce';
|
@@ -91,15 +91,33 @@ function generateControlsStyles() {
|
|
91 |
|
92 |
if ( 'none' !== $control.css( 'display' ) ) {
|
93 |
const mask = $this.attr( 'data-style-mask' ) || '$';
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
|
98 |
-
|
99 |
-
|
|
|
100 |
}
|
101 |
|
102 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
103 |
}
|
104 |
} );
|
105 |
|
@@ -108,6 +126,123 @@ function generateControlsStyles() {
|
|
108 |
}
|
109 |
}
|
110 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
111 |
// portfolio options changed
|
112 |
function reloadFrame() {
|
113 |
frameJQuery = false;
|
@@ -166,6 +301,9 @@ $frame.on( 'load', function() {
|
|
166 |
|
167 |
// generate custom styles.
|
168 |
generateControlsStyles();
|
|
|
|
|
|
|
169 |
} );
|
170 |
|
171 |
// live reload
|
1 |
/*!
|
2 |
* Name : Visual Portfolio
|
3 |
+
* Version : 1.15.0
|
4 |
* Author : nK https://nkdev.info
|
5 |
*/
|
6 |
import { debounce } from 'throttle-debounce';
|
91 |
|
92 |
if ( 'none' !== $control.css( 'display' ) ) {
|
93 |
const mask = $this.attr( 'data-style-mask' ) || '$';
|
94 |
+
let $controlInput = $control.find( $this.attr( 'data-style-from' ) );
|
95 |
+
let controlVal = $controlInput.val();
|
96 |
+
let skip = false;
|
97 |
|
98 |
+
// Toggle control support.
|
99 |
+
if ( $control.hasClass( 'vp-control-toggle' ) && $controlInput.length > 1 ) {
|
100 |
+
$controlInput = $controlInput.filter( '[type="checkbox"]' );
|
101 |
}
|
102 |
|
103 |
+
// Checkbox and Toggle support.
|
104 |
+
if ( $controlInput.is( '[type="checkbox"]' ) ) {
|
105 |
+
controlVal = $controlInput.is( ':checked' );
|
106 |
+
|
107 |
+
skip = ! controlVal;
|
108 |
+
}
|
109 |
+
|
110 |
+
if ( ! skip ) {
|
111 |
+
const val = mask.replace( '$', controlVal );
|
112 |
+
const selector = parentSelector + ' ' + $this.attr( 'data-style-element' );
|
113 |
+
const property = $this.attr( 'data-style-property' );
|
114 |
+
|
115 |
+
if ( styles ) {
|
116 |
+
styles += ' ';
|
117 |
+
}
|
118 |
+
|
119 |
+
styles += `${ selector } { ${ property }: ${ val }; }`;
|
120 |
+
}
|
121 |
}
|
122 |
} );
|
123 |
|
126 |
}
|
127 |
}
|
128 |
|
129 |
+
// generate dom tree.
|
130 |
+
function getNodeTree( node ) {
|
131 |
+
if ( node.hasChildNodes() ) {
|
132 |
+
const children = [];
|
133 |
+
|
134 |
+
for ( let j = 0; j < node.childNodes.length; j++ ) {
|
135 |
+
children.push( getNodeTree( node.childNodes[ j ] ) );
|
136 |
+
}
|
137 |
+
|
138 |
+
return {
|
139 |
+
classList: node.classList,
|
140 |
+
nodeName: node.nodeName,
|
141 |
+
children: children,
|
142 |
+
};
|
143 |
+
}
|
144 |
+
|
145 |
+
return false;
|
146 |
+
}
|
147 |
+
|
148 |
+
function printTree( node, attrs ) {
|
149 |
+
if ( ! node ) {
|
150 |
+
return '';
|
151 |
+
}
|
152 |
+
|
153 |
+
let txt = '';
|
154 |
+
|
155 |
+
if ( node.children.length ) {
|
156 |
+
let newTxt = '';
|
157 |
+
let classNameString = '';
|
158 |
+
let skip = false;
|
159 |
+
let collapse = false;
|
160 |
+
|
161 |
+
// Classes.
|
162 |
+
if ( node.classList && node.classList.length ) {
|
163 |
+
classNameString = ' class="';
|
164 |
+
node.classList.forEach( ( className ) => {
|
165 |
+
if ( ! attrs.skipClass || ! attrs.skipClass.test( className ) ) {
|
166 |
+
classNameString += `<span class="vp-dom-tree-node-class">${ className }</span>`;
|
167 |
+
}
|
168 |
+
|
169 |
+
// Skip?
|
170 |
+
if ( attrs.skipNodeByClass && attrs.skipNodeByClass.test( className ) ) {
|
171 |
+
skip = true;
|
172 |
+
}
|
173 |
+
|
174 |
+
// Collapse?
|
175 |
+
if ( attrs.collapseByClass && attrs.collapseByClass.test( className ) ) {
|
176 |
+
collapse = true;
|
177 |
+
}
|
178 |
+
} );
|
179 |
+
classNameString += '"';
|
180 |
+
}
|
181 |
+
|
182 |
+
if ( ! skip ) {
|
183 |
+
newTxt += '<ul>';
|
184 |
+
newTxt += `<li class="vp-dom-tree-node ${ collapse ? 'is-collapsed' : '' }"><div><span class="vp-dom-tree-node-collapse"></span><${ node.nodeName.toLowerCase() }${ classNameString }`;
|
185 |
+
|
186 |
+
newTxt += '></div></li>';
|
187 |
+
|
188 |
+
node.children.forEach( ( childNode ) => {
|
189 |
+
if ( childNode ) {
|
190 |
+
newTxt += `<li class="vp-dom-tree-child">${ printTree( childNode, attrs ) }</li>`;
|
191 |
+
}
|
192 |
+
} );
|
193 |
+
|
194 |
+
newTxt += '</ul>';
|
195 |
+
|
196 |
+
txt += newTxt;
|
197 |
+
}
|
198 |
+
}
|
199 |
+
|
200 |
+
return txt;
|
201 |
+
}
|
202 |
+
|
203 |
+
function addDomTree() {
|
204 |
+
if ( $framePortfolio ) {
|
205 |
+
const nodeTree = getNodeTree( $framePortfolio[ 0 ] );
|
206 |
+
$( '.vp-dom-tree' ).html( printTree( nodeTree, {
|
207 |
+
skipNodeByClass: /vp-portfolio__item-popup/,
|
208 |
+
collapseByClass: /^(vp-portfolio__preloader-wrap|vp-portfolio__filter-wrap|vp-portfolio__sort-wrap|vp-portfolio__items-wrap|vp-portfolio__pagination-wrap)$/,
|
209 |
+
skipClass: /vp-uid-/,
|
210 |
+
} ) );
|
211 |
+
}
|
212 |
+
}
|
213 |
+
|
214 |
+
if ( typeof window.ClipboardJS !== 'undefined' ) {
|
215 |
+
new window.ClipboardJS( '.vp-dom-tree-node-class, .vp-dom-tree-help code', {
|
216 |
+
target( trigger ) {
|
217 |
+
return trigger;
|
218 |
+
},
|
219 |
+
text( trigger ) {
|
220 |
+
return `.${ trigger.innerText.replace( /^\./, '' ) }`;
|
221 |
+
},
|
222 |
+
} ).on( 'success', ( e ) => {
|
223 |
+
if ( typeof window.Tooltip !== 'undefined' ) {
|
224 |
+
if ( ! e.trigger.tooltipClipboard ) {
|
225 |
+
e.trigger.tooltipClipboard = new window.Tooltip( e.trigger, {
|
226 |
+
placement: 'top',
|
227 |
+
title: 'Copied to Clipboard!',
|
228 |
+
trigger: 'manual',
|
229 |
+
container: $body[ 0 ],
|
230 |
+
} );
|
231 |
+
}
|
232 |
+
|
233 |
+
e.trigger.tooltipClipboard.show();
|
234 |
+
|
235 |
+
$( e.trigger ).one( 'mouseleave', () => {
|
236 |
+
e.trigger.tooltipClipboard.hide();
|
237 |
+
} );
|
238 |
+
}
|
239 |
+
} );
|
240 |
+
}
|
241 |
+
|
242 |
+
$body.on( 'click', '.vp-dom-tree-node-collapse', function() {
|
243 |
+
$( this ).closest( 'li' ).toggleClass( 'is-collapsed' );
|
244 |
+
} );
|
245 |
+
|
246 |
// portfolio options changed
|
247 |
function reloadFrame() {
|
248 |
frameJQuery = false;
|
301 |
|
302 |
// generate custom styles.
|
303 |
generateControlsStyles();
|
304 |
+
|
305 |
+
// add dom tree.
|
306 |
+
addDomTree();
|
307 |
} );
|
308 |
|
309 |
// live reload
|
assets/admin/js/layouts-editor.min.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
-
!function(t){var e={};function a(n){if(e[n])return e[n].exports;var i=e[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,a),i.l=!0,i.exports}a.m=t,a.c=e,a.d=function(t,e,n){a.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},a.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},a.t=function(t,e){if(1&e&&(t=a(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)a.d(n,i,function(e){return t[e]}.bind(null,i));return n},a.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return a.d(e,"a",e),e},a.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},a.p="",a(a.s=
|
2 |
/*!
|
3 |
* Name : Visual Portfolio
|
4 |
* Version : @@plugin_version
|
5 |
* Author : nK https://nkdev.info
|
6 |
-
*/(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var r=jQuery,l=window,c=l.ajaxurl,s=l.VPAdminVariables,d=l.CodeMirror,p=l.emmetCodeMirror,v=r("body"),u=r(window),f=r('form[name="post"]'),m=r("#postID, #post_ID").eq(0).val(),g=r(".vp-content-source"),h=g.find('[name="vp_content_source"]');g.on("click",".vp-content-source__item",function(){var t=r(this).attr("data-content");g.find('[data-content="'.concat(t,'"]')).addClass("active").siblings().removeClass("active"),h.val(t).change()}),g.children('[data-content="'.concat(h.val(),'"]')).click(),r.fn.conditionize&&f.conditionize(),r(".vp-control-range").each(function(){var t=r(this).find("input"),e=t.filter('[type="hidden"]');t.on("change input",function(a){t.val(r(this).val()),e.trigger("vp-fake-".concat(a.type))})}),r.fn.wpColorPicker&&r(".vp-color-picker").each(function(){r(this).data("change",Object(n.a)(300,function(t){r(t.target).change()})).wpColorPicker()}),r.fn.imagepicker&&r(".vp-image-picker").imagepicker();var _=r(".vp_list_preview iframe"),y=!1,b=!1,w=r('<form target="vp_list_preview_iframe" method="post" style="display: none">').attr("action",_.attr("src")).insertAfter(f);function k(){var t="",e=r('[name="vp_controls_styles"]'),a=".vp-id-".concat(m),n=e.val();r('.vp-control-style [type="hidden"]').each(function(){var e=r(this),n=e.closest(".vp-control");if("none"!==n.css("display")){var i=(e.attr("data-style-mask")||"$").replace("$",n.find(e.attr("data-style-from")).val()),o=a+" "+e.attr("data-style-element"),l=e.attr("data-style-property");t&&(t+=" "),t+="".concat(o," { ").concat(l,": ").concat(i,"; }")}}),n!==t&&e.val(t).trigger("vp-fake-change")}function C(){b=!1,y=!1,w.submit()}r.fn.iFrameResize&&_.iFrameResize({interval:10}),C=Object(n.a)(400,C),f.on("change input vp-fake-change vp-fake-input",'[name*="vp_"]',function(t){var e=r(this);if(!e.closest(".vp-no-reload").length)if(r('[name="'.concat(e.attr("name"),'__style[]"]')).length)k();else{var a={name:e.attr("name"),value:e.is("[type=checkbox], [type=radio]")?e.is(":checked"):e.val(),reload:"change"===t.type||"vp-fake-change"===t.type,jQuery:b,$portfolio:y},n=w.find('[name="'.concat(a.name,'"]'));n.length||(n=r('<input type="hidden" name="'.concat(a.name,'" />')).appendTo(w)),n.attr("value",a.value),u.trigger("vp-preview-change",a),a.reload||k(),!a.reload&&y||C()}}),_.on("load",function(){b=this.contentWindow.jQuery,y=b(".vp-portfolio"),k()}),u.on("vp-preview-change",function(t,e){if(e.$portfolio)switch(e.name){case"vp_tiles_type":case"vp_masonry_columns":case"vp_grid_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_autoplay_hover_pause":case"vp_slider_centered_slides":case"vp_slider_loop":case"vp_slider_free_mode":case"vp_slider_free_mode_sticky":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=e.name;a=(a=a.substring(3)).replace(/_/g,"-"),e.$portfolio.attr("data-vp-".concat(a),e.value),e.$portfolio.vpf("init"),e.reload=!1;break;case"vp_filter_align":e.$portfolio.find(".vp-filter").removeClass("vp-filter__align-center vp-filter__align-left vp-filter__align-right").addClass("vp-filter__align-".concat(e.value)),e.reload=!1;break;case"vp_sort_align":e.$portfolio.find(".vp-sort").removeClass("vp-sort__align-center vp-sort__align-left vp-sort__align-right").addClass("vp-sort__align-".concat(e.value)),e.reload=!1;break;case"vp_pagination_align":e.$portfolio.find(".vp-pagination").removeClass("vp-pagination__align-center vp-pagination__align-left vp-pagination__align-right").addClass("vp-pagination__align-".concat(e.value)),e.reload=!1;break;case"vp_controls_styles":var n=e.$portfolio.closest("html"),i="vp-controls-styles-".concat(m,"-inline-css"),o=n.find("#".concat(i));o.length||(o=e.jQuery('<style id="'.concat(i,'">')),n.find("body").prepend(o)),o.html(e.value),e.reload=!1;break;case"vp_custom_css":var r=e.$portfolio.closest("html"),l="vp-custom-css-".concat(m,"-inline-css"),c=r.find("#".concat(l));c.length||(c=e.jQuery('<style id="'.concat(l,'">')),r.find("body").prepend(c)),c.html(e.value),e.reload=!1;break;case"vp_list_name":case"vp_stretch":e.reload=!1}}),v.on("click",".vp-control-image-dropdown",function(t){r(t.target).closest(".vp-control-image-dropdown__content").length||r(this).toggleClass("active")}),v.on("mousedown",function(t){var e=r(t.target).closest(".vp-control-image-dropdown");r(".vp-control-image-dropdown.active").each(function(){this!==e[0]&&r(this).removeClass("active")})}),v.on("change",".vp-control-image-dropdown .vp-image-picker",function(){var t=r(this),e=t.data("picker");if(e){var a=e.select.find('option[value="'.concat(e.select.val(),'"]')),n=a.parent("optgroup"),i=t.closest(".vp-control-image-dropdown"),o=a.attr("data-img-src");i.length&&(i.children(".vp-control-image-dropdown__preview").html('<img src="'.concat(o,'" alt="">')),n.length&&i.children(".vp-control-image-dropdown__title").html(n.attr("label")))}});var x=r('[name="vp_list_name"]'),j=r('[name="post_title"]');x.length&&j.length&&(x.on("input",function(){j.val()!==x.val()&&j.val(x.val()).change()}),j.on("input",function(){x.val(j.val())})),r.fn.select2&&r(".vp-select2").each(function(){var t=r(this),e={width:"100%",minimumResultsForSearch:t.hasClass("vp-select2-nosearch")?-1:1,tags:t.hasClass("vp-select2-tags")},a=!!t.attr("data-post-type")&&r(t.attr("data-post-type"));t.closest(".vp-select2-posts-ajax").length&&(e=r.extend({minimumInputLength:1,ajax:{url:c,dataType:"json",delay:250,data:function(t){return{action:"vp_find_posts",q:t.term,post_type:!!a&&a.val(),nonce:s.nonce}},processResults:function(t){return{results:!(!t||!t.length)&&t}},cache:!0},escapeMarkup:function(t){return t},templateResult:function(t){if(t.loading)return t.text;var e="";t.title&&(e=t.title);var a="";t.post_type&&(a=t.post_type);var n="";return t.img&&(n="style=\"background-image: url('".concat(t.img,"');\"")),"".concat('<div class="vp-select2-ajax__result"><div class="vp-select2-ajax__result-img" ').concat(n,"></div>")+'<div class="vp-select2-ajax__result-data">'+'<div class="vp-select2-ajax__result-title">'.concat(e,"</div>")+'<div class="vp-select2-ajax__result-post-type">'.concat(a,"</div>")+"</div></div>"},templateSelection:function(t){return t.title||t.text}},e)),t.closest(".vp-select2-taxonomies-ajax").length&&(e=r.extend({minimumInputLength:1,ajax:{url:c,dataType:"json",delay:250,data:function(t){return{action:"vp_find_taxonomies",q:t.term,post_type:!!a&&a.val(),nonce:s.nonce}},processResults:function(t){var e=[];return t&&Object.keys(t).forEach(function(a){e.push({text:a,children:t[a]})}),{results:e}},cache:!0}},e)),t.select2(e).data("select2").$dropdown.addClass("select2-vp-container")});var S=r(".vp-control-gallery"),O=0;function M(t,e){var a=t.find('[data-image-id="'+e+'"]'),n={id:e};return a.find("[data-additional]").each(function(){var t=r(this),e=t.attr("data-additional");if(n[e]=t.html(),"true"===t.attr("data-to-json"))try{n[e]=JSON.parse(n[e])}catch(t){n[e]=""}}),n}function z(t){var e=[];t.children(".vp-control-gallery-items").find(".vp-control-gallery-items-img").each(function(){e.push(M(t,r(this).attr("data-image-id")))});var a=JSON.stringify(e),n=t.children("textarea");a!==n.val()&&n.val(a).change()}function T(){S.find(".vp-control-gallery-additional-data.active").each(function(){var t=r(this),e=t.children(),a=t.height(),n=e.height();if(n>=a)e.css({marginTop:""});else{var i=a-n,o=t.offset().top-32;o>=0?e.css({marginTop:""}):e.css({marginTop:Math.min(i,Math.abs(o))})}})}function E(t,e){var a=t.children("textarea").attr("name"),i=t.children(".vp-control-gallery-additional-data"),l=i.find(".vp-control-gallery-additional-data-preview"),c=t.children(".vp-control-gallery-items").find('.vp-control-gallery-items-img[data-image-id="'+e+'"]'),s=M(t,e),d=function(t,e){var a=t.find('[data-image-id="'+e+'"]'),n={};return a.find("[data-meta]").each(function(){n[r(this).attr("data-meta")]=r(this).html()}),n}(t,e);s&&Object.keys(s).forEach(function(e){var n=i.find('[name="'+a+"_additional_"+e+'"], [name="'+a+"_additional_"+e+'[]"]').val(s[e]||"");if(n.hasClass("vp-select2")){if(n.hasClass("vp-select2-tags")){var l=[],c=[];t.children(".vp-control-gallery-items").find(".vp-control-gallery-items-img").each(function(){var a=M(t,r(this).attr("data-image-id"));a&&void 0!==a[e]&&a[e]&&(l=o(new Set([].concat(o(l),o(a[e])))))}),l.forEach(function(t){c.push(new window.Option(t,t,!1,!1))}),n.html(c.length?c:""),n.val(void 0!==s[e]&&s[e]?s[e]:"")}n.trigger("change")}}),l.find(".vp-control-gallery-additional-data-preview-image img").attr("src",c.children("img").attr("src")||""),l.find(".vp-control-gallery-additional-data-preview-name").html(d.filename),l.find(".vp-control-gallery-additional-data-preview-size").html(d.width+"x"+d.height+" ("+d.filesizeHumanReadable+")"),l.find(".vp-control-gallery-additional-data-preview-edit a").attr("href",d.editLink.replace("&","&")),c.siblings().removeClass("active"),c.addClass("active"),i.addClass("active"),O=S.find(".vp-control-gallery-additional-data.active").length,Object(n.a)(150,T)()}if(S.length&&(r(".postbox-container").on("scroll",Object(n.a)(150,T)),u.on("scroll resize",Object(n.a)(150,T))),r.fn.sortable&&(S.each(function(){var t=r(this),e=t.children(".vp-control-gallery-items-default");t.children(".vp-control-gallery-items").sortable({animation:150,draggable:".vp-control-gallery-items-img",onUpdate:function(){z(t)}}),t.on("click",".vp-control-gallery-items-remove",function(e){e.preventDefault(),r(this).parent().remove(),z(t)}),t.on("click",".vp-control-gallery-items-add",function(a){a.preventDefault();var n=t.data("wp-frame");n?n.open():wp.media?(n=wp.media({title:"Select or Upload Images",button:{text:"Add images"},multiple:!0,library:{type:"image"}}),t.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.attributes.url;a.attributes.sizes&&a.attributes.sizes.thumbnail&&(n=a.attributes.sizes.thumbnail.url);var i=e.children().clone();i.attr("data-image-id",a.id),i.children("img").attr("src",n),i.find('[data-meta="width"]').html(a.attributes.width),i.find('[data-meta="height"]').html(a.attributes.height),i.find('[data-meta="filename"]').html(a.attributes.filename),i.find('[data-meta="editLink"]').html(a.attributes.editLink),i.find('[data-meta="filesizeHumanReadable"]').html(a.attributes.filesizeHumanReadable),a.attributes.title&&i.find('[data-additional="title"]').html(a.attributes.title),a.attributes.description&&i.find('[data-additional="description"]').html(a.attributes.description),t.find(".vp-control-gallery-items-add").before(i)}),z(t))}),n.open()):console.error("Can't access wp.media object.")}),t.on("click",".vp-control-gallery-items-img",function(e){e.preventDefault(),E(t,r(this).attr("data-image-id"))}),t.on("change input",".vp-control-gallery-additional-data [name]",Object(n.a)(200,function(){var e=t.children(".vp-control-gallery-additional-data"),a=t.children("textarea").attr("name"),n=t.children(".vp-control-gallery-items").find(".vp-control-gallery-items-img.active").attr("data-image-id");if(n){var o=t.children(".vp-control-gallery-items").find('[data-image-id="'+n+'"]');e.find('[name*="'+a+'_additional_"]').each(function(){var t=r(this).attr("name").replace(a+"_additional_","").replace("[]",""),e=r(this).val()||"";"object"===i(e)&&(e=JSON.stringify(e)),o.find('[data-additional="'+t+'"]').html(e||"")}),z(t)}}))}),S.length)){var A=S.children(".vp-control-gallery-additional-data");r(document).on("mousedown",function(t){if(O){var e=t.target;r(e).closest(".vp-control-gallery-additional-data, .vp-control-gallery-items-img, .select2-vp-container").length||(A.removeClass("active"),S.children(".vp-control-gallery-items").find(".vp-control-gallery-items-img.active").removeClass("active"),O=S.find(".vp-control-gallery-additional-data.active").length)}})}var L=r('[name="vp_custom_css"]'),$=!1,P=!0;function R(t,e){if(P&&(e=!1,P=!1),s&&s.css_editor_error_notice){var a=!1;if(1===t.length?a=s.css_editor_error_notice.singular.replace("%d","1"):t.length>1&&(a=s.css_editor_error_notice.plural.replace("%d",String(t.length))),a){var n=L.prev("#vp_custom_css_notice");if(n.length||e||(n=r('<div class="notice notice-error inline" id="vp_custom_css_notice"></div>'),L.before(n)),!n.length)return;var i='<p class="notification-message">'.concat(a,"</p>")+'<p><input id="vp_custom_css_notice_prevent" type="checkbox">'+'<label for="vp_custom_css_notice_prevent">'.concat(s.css_editor_error_checkbox,"</label>")+"</p>";n.html(i)}else L.prev("#vp_custom_css_notice").remove()}}if(void 0!==d&&L.length){var D=function(t){q.css("height",Math.max(200,H+t.originalEvent.y-F)),U.setSize(null,Math.max(200,H+t.y-F)+"px")},I=function t(){v.off("mousemove",D),v.off("mouseup",t)};if(s&&s.classnames){var Q=d.hint.css;d.hint.css=function(t){var e=t.getCursor(),a=Q(t)||{from:e,to:t.getCursor(),list:[]},n=t.getTokenAt(e);return"top"===n.state.state&&0===n.string.indexOf(".")&&(a={from:d.Pos(e.line,n.start),to:d.Pos(e.line,n.end),list:[]},s.classnames.forEach(function(t){-1!==t.indexOf(n.string)&&a.list.push(t)})),a}}var U=d.fromTextArea(L[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(t,e,a){var n=[];t.forEach(function(t){"error"===t.severity&&n.push(t)}),a.vcLintErrors=n,$||R(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(U),L.data("CodeMirrorInstance",U),U.on("change",function(){U.save(),L.change()}),U.on("keyup",function(t,e){var a=/^[a-zA-Z]$/.test(e.key);if(!t.state.completionActive||!a){var n=t.getTokenAt(t.getCursor());if("string"!==n.type&&"comment"!==n.type){var i=t.doc.getLine(t.doc.getCursor().line).substr(0,t.doc.getCursor().ch);(a||":"===e.key||" "===e.key&&/:\s+$/.test(i))&&t.showHint({completeSingle:!1})}}});var F,H,N=r(".CodeMirror-resizer").after(L),q=N.prev(".CodeMirror");N.on("mousedown",function(t){F=t.originalEvent.y,H=q.height(),v.on("mousemove",D),v.on("mouseup",I)})}var J=!1;v.on("click","#publish:not(.disabled)",function(t){if(J=!0,!$){var e=r(this),a=L.length&&L.data("CodeMirrorInstance");a&&a.vcLintErrors&&a.vcLintErrors.length&&(t.preventDefault(),e.addClass("disabled button-disabled button-primary-disabled"),setTimeout(function(){e.removeClass("disabled button-disabled button-primary-disabled")},1500),R(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 B=f.serialize();r(window).on("beforeunload",function(){if(!J)return B!==f.serialize()||void 0;J=!1}),v.on("change","#vp_custom_css_notice_prevent",function(){$=!0,r(this).closest(".notice").slideUp()})}});
|
1 |
+
!function(t){var e={};function a(n){if(e[n])return e[n].exports;var i=e[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,a),i.l=!0,i.exports}a.m=t,a.c=e,a.d=function(t,e,n){a.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},a.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},a.t=function(t,e){if(1&e&&(t=a(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)a.d(n,i,function(e){return t[e]}.bind(null,i));return n},a.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return a.d(e,"a",e),e},a.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},a.p="",a(a.s=36)}({0:function(t,e,a){"use strict";function n(t,e,a,n){var i,o=!1,r=0;function l(){i&&clearTimeout(i)}function s(){var s=this,c=Date.now()-r,d=arguments;function p(){r=Date.now(),a.apply(s,d)}o||(n&&!i&&p(),l(),void 0===n&&c>t?p():!0!==e&&(i=setTimeout(n?function(){i=void 0}:p,void 0===n?t-c:t)))}return"boolean"!=typeof e&&(n=a,a=e,e=void 0),s.cancel=function(){l(),o=!0},s}function i(t,e,a){return void 0===a?n(t,e,!1):n(t,a,!1!==e)}a.d(e,"b",(function(){return n})),a.d(e,"a",(function(){return i}))},36:function(t,e,a){t.exports=a(37)},37:function(t,e,a){"use strict";a.r(e);var n=a(0);function i(t){return(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})(t)}function o(t){return function(t){if(Array.isArray(t)){for(var e=0,a=new Array(t.length);e<t.length;e++)a[e]=t[e];return a}}
|
2 |
/*!
|
3 |
* Name : Visual Portfolio
|
4 |
* Version : @@plugin_version
|
5 |
* Author : nK https://nkdev.info
|
6 |
+
*/(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var r=jQuery,l=window,s=l.ajaxurl,c=l.VPAdminVariables,d=l.CodeMirror,p=l.emmetCodeMirror,v=r("body"),u=r(window),f=r('form[name="post"]'),m=r("#postID, #post_ID").eq(0).val(),g=r(".vp-content-source"),h=g.find('[name="vp_content_source"]');g.on("click",".vp-content-source__item",(function(){var t=r(this).attr("data-content");g.find('[data-content="'.concat(t,'"]')).addClass("active").siblings().removeClass("active"),h.val(t).change()})),g.children('[data-content="'.concat(h.val(),'"]')).click(),r.fn.conditionize&&f.conditionize(),r(".vp-control-range").each((function(){var t=r(this).find("input"),e=t.filter('[type="hidden"]');t.on("change input",(function(a){t.val(r(this).val()),e.trigger("vp-fake-".concat(a.type))}))})),r.fn.wpColorPicker&&r(".vp-color-picker").each((function(){r(this).data("change",Object(n.a)(300,(function(t){r(t.target).change()}))).wpColorPicker()})),r.fn.imagepicker&&r(".vp-image-picker").imagepicker();var _=r(".vp_list_preview iframe"),y=!1,b=!1,w=r('<form target="vp_list_preview_iframe" method="post" style="display: none">').attr("action",_.attr("src")).insertAfter(f);function C(){var t="",e=r('[name="vp_controls_styles"]'),a=".vp-id-".concat(m),n=e.val();r('.vp-control-style [type="hidden"]').each((function(){var e=r(this),n=e.closest(".vp-control");if("none"!==n.css("display")){var i=e.attr("data-style-mask")||"$",o=n.find(e.attr("data-style-from")),l=o.val(),s=!1;if(n.hasClass("vp-control-toggle")&&o.length>1&&(o=o.filter('[type="checkbox"]')),o.is('[type="checkbox"]')&&(s=!(l=o.is(":checked"))),!s){var c=i.replace("$",l),d=a+" "+e.attr("data-style-element"),p=e.attr("data-style-property");t&&(t+=" "),t+="".concat(d," { ").concat(p,": ").concat(c,"; }")}}})),n!==t&&e.val(t).trigger("vp-fake-change")}function k(){if(y){var t=function t(e){if(e.hasChildNodes()){for(var a=[],n=0;n<e.childNodes.length;n++)a.push(t(e.childNodes[n]));return{classList:e.classList,nodeName:e.nodeName,children:a}}return!1}(y[0]);r(".vp-dom-tree").html(function t(e,a){if(!e)return"";var n="";if(e.children.length){var i="",o="",r=!1,l=!1;e.classList&&e.classList.length&&(o=' class="',e.classList.forEach((function(t){a.skipClass&&a.skipClass.test(t)||(o+='<span class="vp-dom-tree-node-class">'.concat(t,"</span>")),a.skipNodeByClass&&a.skipNodeByClass.test(t)&&(r=!0),a.collapseByClass&&a.collapseByClass.test(t)&&(l=!0)})),o+='"'),r||(i+="<ul>",i+='<li class="vp-dom-tree-node '.concat(l?"is-collapsed":"",'"><div><span class="vp-dom-tree-node-collapse"></span><').concat(e.nodeName.toLowerCase()).concat(o),i+="></div></li>",e.children.forEach((function(e){e&&(i+='<li class="vp-dom-tree-child">'.concat(t(e,a),"</li>"))})),n+=i+="</ul>")}return n}(t,{skipNodeByClass:/vp-portfolio__item-popup/,collapseByClass:/^(vp-portfolio__preloader-wrap|vp-portfolio__filter-wrap|vp-portfolio__sort-wrap|vp-portfolio__items-wrap|vp-portfolio__pagination-wrap)$/,skipClass:/vp-uid-/}))}}function x(){b=!1,y=!1,w.submit()}r.fn.iFrameResize&&_.iFrameResize({interval:10}),void 0!==window.ClipboardJS&&new window.ClipboardJS(".vp-dom-tree-node-class, .vp-dom-tree-help code",{target:function(t){return t},text:function(t){return".".concat(t.innerText.replace(/^\./,""))}}).on("success",(function(t){void 0!==window.Tooltip&&(t.trigger.tooltipClipboard||(t.trigger.tooltipClipboard=new window.Tooltip(t.trigger,{placement:"top",title:"Copied to Clipboard!",trigger:"manual",container:v[0]})),t.trigger.tooltipClipboard.show(),r(t.trigger).one("mouseleave",(function(){t.trigger.tooltipClipboard.hide()})))})),v.on("click",".vp-dom-tree-node-collapse",(function(){r(this).closest("li").toggleClass("is-collapsed")})),x=Object(n.a)(400,x),f.on("change input vp-fake-change vp-fake-input",'[name*="vp_"]',(function(t){var e=r(this);if(!e.closest(".vp-no-reload").length)if(r('[name="'.concat(e.attr("name"),'__style[]"]')).length)C();else{var a={name:e.attr("name"),value:e.is("[type=checkbox], [type=radio]")?e.is(":checked"):e.val(),reload:"change"===t.type||"vp-fake-change"===t.type,jQuery:b,$portfolio:y},n=w.find('[name="'.concat(a.name,'"]'));n.length||(n=r('<input type="hidden" name="'.concat(a.name,'" />')).appendTo(w)),n.attr("value",a.value),u.trigger("vp-preview-change",a),a.reload||C(),!a.reload&&y||x()}})),_.on("load",(function(){b=this.contentWindow.jQuery,y=b(".vp-portfolio"),C(),k()})),u.on("vp-preview-change",(function(t,e){if(e.$portfolio)switch(e.name){case"vp_tiles_type":case"vp_masonry_columns":case"vp_grid_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_autoplay_hover_pause":case"vp_slider_centered_slides":case"vp_slider_loop":case"vp_slider_free_mode":case"vp_slider_free_mode_sticky":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=e.name;a=(a=a.substring(3)).replace(/_/g,"-"),e.$portfolio.attr("data-vp-".concat(a),e.value),e.$portfolio.vpf("init"),e.reload=!1;break;case"vp_filter_align":e.$portfolio.find(".vp-filter").removeClass("vp-filter__align-center vp-filter__align-left vp-filter__align-right").addClass("vp-filter__align-".concat(e.value)),e.reload=!1;break;case"vp_sort_align":e.$portfolio.find(".vp-sort").removeClass("vp-sort__align-center vp-sort__align-left vp-sort__align-right").addClass("vp-sort__align-".concat(e.value)),e.reload=!1;break;case"vp_pagination_align":e.$portfolio.find(".vp-pagination").removeClass("vp-pagination__align-center vp-pagination__align-left vp-pagination__align-right").addClass("vp-pagination__align-".concat(e.value)),e.reload=!1;break;case"vp_controls_styles":var n=e.$portfolio.closest("html"),i="vp-controls-styles-".concat(m,"-inline-css"),o=n.find("#".concat(i));o.length||(o=e.jQuery('<style id="'.concat(i,'">')),n.find("body").prepend(o)),o.html(e.value),e.reload=!1;break;case"vp_custom_css":var r=e.$portfolio.closest("html"),l="vp-custom-css-".concat(m,"-inline-css"),s=r.find("#".concat(l));s.length||(s=e.jQuery('<style id="'.concat(l,'">')),r.find("body").prepend(s)),s.html(e.value),e.reload=!1;break;case"vp_list_name":case"vp_stretch":e.reload=!1}})),v.on("click",".vp-control-image-dropdown",(function(t){r(t.target).closest(".vp-control-image-dropdown__content").length||r(this).toggleClass("active")})),v.on("mousedown",(function(t){var e=r(t.target).closest(".vp-control-image-dropdown");r(".vp-control-image-dropdown.active").each((function(){this!==e[0]&&r(this).removeClass("active")}))})),v.on("change",".vp-control-image-dropdown .vp-image-picker",(function(){var t=r(this),e=t.data("picker");if(e){var a=e.select.find('option[value="'.concat(e.select.val(),'"]')),n=a.parent("optgroup"),i=t.closest(".vp-control-image-dropdown"),o=a.attr("data-img-src");i.length&&(i.children(".vp-control-image-dropdown__preview").html('<img src="'.concat(o,'" alt="">')),n.length&&i.children(".vp-control-image-dropdown__title").html(n.attr("label")))}}));var j=r('[name="vp_list_name"]'),S=r('[name="post_title"]');j.length&&S.length&&(j.on("input",(function(){S.val()!==j.val()&&S.val(j.val()).change()})),S.on("input",(function(){j.val(S.val())}))),r.fn.select2&&r(".vp-select2").each((function(){var t=r(this),e={width:"100%",minimumResultsForSearch:t.hasClass("vp-select2-nosearch")?-1:1,tags:t.hasClass("vp-select2-tags")},a=!!t.attr("data-post-type")&&r(t.attr("data-post-type"));t.closest(".vp-select2-posts-ajax").length&&(e=r.extend({minimumInputLength:1,ajax:{url:s,dataType:"json",delay:250,data:function(t){return{action:"vp_find_posts",q:t.term,post_type:!!a&&a.val(),nonce:c.nonce}},processResults:function(t){return{results:!(!t||!t.length)&&t}},cache:!0},escapeMarkup:function(t){return t},templateResult:function(t){if(t.loading)return t.text;var e="";t.title&&(e=t.title);var a="";t.post_type&&(a=t.post_type);var n="";return t.img&&(n="style=\"background-image: url('".concat(t.img,"');\"")),"".concat('<div class="vp-select2-ajax__result"><div class="vp-select2-ajax__result-img" ').concat(n,"></div>")+'<div class="vp-select2-ajax__result-data">'+'<div class="vp-select2-ajax__result-title">'.concat(e,"</div>")+'<div class="vp-select2-ajax__result-post-type">'.concat(a,"</div>")+"</div></div>"},templateSelection:function(t){return t.title||t.text}},e)),t.closest(".vp-select2-taxonomies-ajax").length&&(e=r.extend({minimumInputLength:1,ajax:{url:s,dataType:"json",delay:250,data:function(t){return{action:"vp_find_taxonomies",q:t.term,post_type:!!a&&a.val(),nonce:c.nonce}},processResults:function(t){var e=[];return t&&Object.keys(t).forEach((function(a){e.push({text:a,children:t[a]})})),{results:e}},cache:!0}},e)),t.select2(e).data("select2").$dropdown.addClass("select2-vp-container")}));var O=r(".vp-control-gallery"),L=0;function T(t,e){var a=t.find('[data-image-id="'+e+'"]'),n={id:e};return a.find("[data-additional]").each((function(){var t=r(this),e=t.attr("data-additional");if(n[e]=t.html(),"true"===t.attr("data-to-json"))try{n[e]=JSON.parse(n[e])}catch(t){n[e]=""}})),n}function E(t){var e=[];t.children(".vp-control-gallery-items").find(".vp-control-gallery-items-img").each((function(){e.push(T(t,r(this).attr("data-image-id")))}));var a=JSON.stringify(e),n=t.children("textarea");a!==n.val()&&n.val(a).change()}function M(){O.find(".vp-control-gallery-additional-data.active").each((function(){var t=r(this),e=t.children(),a=t.height(),n=e.height();if(n>=a)e.css({marginTop:""});else{var i=a-n,o=t.offset().top-32;o>=0?e.css({marginTop:""}):e.css({marginTop:Math.min(i,Math.abs(o))})}}))}function z(t,e){var a=t.children("textarea").attr("name"),i=t.children(".vp-control-gallery-additional-data"),l=i.find(".vp-control-gallery-additional-data-preview"),s=t.children(".vp-control-gallery-items").find('.vp-control-gallery-items-img[data-image-id="'+e+'"]'),c=T(t,e),d=function(t,e){var a=t.find('[data-image-id="'+e+'"]'),n={};return a.find("[data-meta]").each((function(){n[r(this).attr("data-meta")]=r(this).html()})),n}(t,e);c&&Object.keys(c).forEach((function(e){var n=i.find('[name="'+a+"_additional_"+e+'"], [name="'+a+"_additional_"+e+'[]"]').val(c[e]||"");if(n.hasClass("vp-select2")){if(n.hasClass("vp-select2-tags")){var l=[],s=[];t.children(".vp-control-gallery-items").find(".vp-control-gallery-items-img").each((function(){var a=T(t,r(this).attr("data-image-id"));a&&void 0!==a[e]&&a[e]&&(l=o(new Set([].concat(o(l),o(a[e])))))})),l.forEach((function(t){s.push(new window.Option(t,t,!1,!1))})),n.html(s.length?s:""),n.val(void 0!==c[e]&&c[e]?c[e]:"")}n.trigger("change")}})),l.find(".vp-control-gallery-additional-data-preview-image img").attr("src",s.children("img").attr("src")||""),l.find(".vp-control-gallery-additional-data-preview-name").html(d.filename),l.find(".vp-control-gallery-additional-data-preview-size").html(d.width+"x"+d.height+" ("+d.filesizeHumanReadable+")"),l.find(".vp-control-gallery-additional-data-preview-edit a").attr("href",d.editLink.replace("&","&")),s.siblings().removeClass("active"),s.addClass("active"),i.addClass("active"),L=O.find(".vp-control-gallery-additional-data.active").length,Object(n.a)(150,M)()}if(O.length&&(r(".postbox-container").on("scroll",Object(n.a)(150,M)),u.on("scroll resize",Object(n.a)(150,M))),r.fn.sortable&&(O.each((function(){var t=r(this),e=t.children(".vp-control-gallery-items-default");t.children(".vp-control-gallery-items").sortable({animation:150,draggable:".vp-control-gallery-items-img",onUpdate:function(){E(t)}}),t.on("click",".vp-control-gallery-items-remove",(function(e){e.preventDefault(),r(this).parent().remove(),E(t)})),t.on("click",".vp-control-gallery-items-add",(function(a){a.preventDefault();var n=t.data("wp-frame");n?n.open():wp.media?(n=wp.media({title:"Select or Upload Images",button:{text:"Add images"},multiple:!0,library:{type:"image"}}),t.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.attributes.url;a.attributes.sizes&&a.attributes.sizes.thumbnail&&(n=a.attributes.sizes.thumbnail.url);var i=e.children().clone();i.attr("data-image-id",a.id),i.children("img").attr("src",n),i.find('[data-meta="width"]').html(a.attributes.width),i.find('[data-meta="height"]').html(a.attributes.height),i.find('[data-meta="filename"]').html(a.attributes.filename),i.find('[data-meta="editLink"]').html(a.attributes.editLink),i.find('[data-meta="filesizeHumanReadable"]').html(a.attributes.filesizeHumanReadable),a.attributes.title&&i.find('[data-additional="title"]').html(a.attributes.title),a.attributes.description&&i.find('[data-additional="description"]').html(a.attributes.description),t.find(".vp-control-gallery-items-add").before(i)})),E(t))})),n.open()):console.error("Can't access wp.media object.")})),t.on("click",".vp-control-gallery-items-img",(function(e){e.preventDefault(),z(t,r(this).attr("data-image-id"))})),t.on("change input",".vp-control-gallery-additional-data [name]",Object(n.a)(200,(function(){var e=t.children(".vp-control-gallery-additional-data"),a=t.children("textarea").attr("name"),n=t.children(".vp-control-gallery-items").find(".vp-control-gallery-items-img.active").attr("data-image-id");if(n){var o=t.children(".vp-control-gallery-items").find('[data-image-id="'+n+'"]');e.find('[name*="'+a+'_additional_"]').each((function(){var t=r(this).attr("name").replace(a+"_additional_","").replace("[]",""),e=r(this).val()||"";"object"===i(e)&&(e=JSON.stringify(e)),o.find('[data-additional="'+t+'"]').html(e||"")})),E(t)}})))})),O.length)){var A=O.children(".vp-control-gallery-additional-data");r(document).on("mousedown",(function(t){if(L){var e=t.target;r(e).closest(".vp-control-gallery-additional-data, .vp-control-gallery-items-img, .select2-vp-container").length||(A.removeClass("active"),O.children(".vp-control-gallery-items").find(".vp-control-gallery-items-img.active").removeClass("active"),L=O.find(".vp-control-gallery-additional-data.active").length)}}))}var $=r('[name="vp_custom_css"]'),N=!1,P=!0;function R(t,e){if(P&&(e=!1,P=!1),c&&c.css_editor_error_notice){var a=!1;if(1===t.length?a=c.css_editor_error_notice.singular.replace("%d","1"):t.length>1&&(a=c.css_editor_error_notice.plural.replace("%d",String(t.length))),a){var n=$.prev("#vp_custom_css_notice");if(n.length||e||(n=r('<div class="notice notice-error inline" id="vp_custom_css_notice"></div>'),$.before(n)),!n.length)return;var i='<p class="notification-message">'.concat(a,"</p>")+'<p><input id="vp_custom_css_notice_prevent" type="checkbox">'+'<label for="vp_custom_css_notice_prevent">'.concat(c.css_editor_error_checkbox,"</label>")+"</p>";n.html(i)}else $.prev("#vp_custom_css_notice").remove()}}if(void 0!==d&&$.length){var B=function(t){H.css("height",Math.max(200,U+t.originalEvent.y-Q)),J.setSize(null,Math.max(200,U+t.y-Q)+"px")},D=function t(){v.off("mousemove",B),v.off("mouseup",t)};if(c&&c.classnames){var I=d.hint.css;d.hint.css=function(t){var e=t.getCursor(),a=I(t)||{from:e,to:t.getCursor(),list:[]},n=t.getTokenAt(e);return"top"===n.state.state&&0===n.string.indexOf(".")&&(a={from:d.Pos(e.line,n.start),to:d.Pos(e.line,n.end),list:[]},c.classnames.forEach((function(t){-1!==t.indexOf(n.string)&&a.list.push(t)}))),a}}var J=d.fromTextArea($[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(t,e,a){var n=[];t.forEach((function(t){"error"===t.severity&&n.push(t)})),a.vcLintErrors=n,N||R(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(J),$.data("CodeMirrorInstance",J),J.on("change",(function(){J.save(),$.change()})),J.on("keyup",(function(t,e){var a=/^[a-zA-Z]$/.test(e.key);if(!t.state.completionActive||!a){var n=t.getTokenAt(t.getCursor());if("string"!==n.type&&"comment"!==n.type){var i=t.doc.getLine(t.doc.getCursor().line).substr(0,t.doc.getCursor().ch);(a||":"===e.key||" "===e.key&&/:\s+$/.test(i))&&t.showHint({completeSingle:!1})}}}));var Q,U,F=r(".CodeMirror-resizer").after($),H=F.prev(".CodeMirror");F.on("mousedown",(function(t){Q=t.originalEvent.y,U=H.height(),v.on("mousemove",B),v.on("mouseup",D)}))}var q=!1;v.on("click","#publish:not(.disabled)",(function(t){if(q=!0,!N){var e=r(this),a=$.length&&$.data("CodeMirrorInstance");a&&a.vcLintErrors&&a.vcLintErrors.length&&(t.preventDefault(),e.addClass("disabled button-disabled button-primary-disabled"),setTimeout((function(){e.removeClass("disabled button-disabled button-primary-disabled")}),1500),R(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 V=f.serialize();r(window).on("beforeunload",(function(){if(!q)return V!==f.serialize()||void 0;q=!1})),v.on("change","#vp_custom_css_notice_prevent",(function(){N=!0,r(this).closest(".notice").slideUp()}))}});
|
assets/admin/js/mce-dropdown.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
/*!
|
2 |
* Name : Visual Portfolio
|
3 |
-
* Version : 1.
|
4 |
* Author : nK https://nkdev.info
|
5 |
*/
|
6 |
const {
|
1 |
/*!
|
2 |
* Name : Visual Portfolio
|
3 |
+
* Version : 1.15.0
|
4 |
* Author : nK https://nkdev.info
|
5 |
*/
|
6 |
const {
|
assets/admin/js/mce-dropdown.min.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
-
!function(t){var e={};function n(o){if(e[o])return e[o].exports;var i=e[o]={i:o,l:!1,exports:{}};return t[o].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(o,i,function(e){return t[e]}.bind(null,i));return o},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,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=
|
2 |
/*!
|
3 |
* Name : Visual Portfolio
|
4 |
* Version : @@plugin_version
|
5 |
* Author : nK https://nkdev.info
|
6 |
*/
|
7 |
-
var n=window,o=n.tinymce,i=n.VPTinyMCEOptions;if(void 0!==i&&i.length){var r=[{text:"",value:""}];Object.keys(i).forEach(function(t){r.push({text:i[t].title,value:i[t].id})}),o.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="'.concat(this.value(),'"]')),this.value("")},values:r,value:""})}}),o.PluginManager.add("visual_portfolio",o.plugins.visual_portfolio)}}});
|
1 |
+
!function(t){var e={};function n(o){if(e[o])return e[o].exports;var i=e[o]={i:o,l:!1,exports:{}};return t[o].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(o,i,function(e){return t[e]}.bind(null,i));return o},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,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=38)}({38:function(t,e,n){t.exports=n(39)},39:function(t,e){
|
2 |
/*!
|
3 |
* Name : Visual Portfolio
|
4 |
* Version : @@plugin_version
|
5 |
* Author : nK https://nkdev.info
|
6 |
*/
|
7 |
+
var n=window,o=n.tinymce,i=n.VPTinyMCEOptions;if(void 0!==i&&i.length){var r=[{text:"",value:""}];Object.keys(i).forEach((function(t){r.push({text:i[t].title,value:i[t].id})})),o.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="'.concat(this.value(),'"]')),this.value("")},values:r,value:""})}}),o.PluginManager.add("visual_portfolio",o.plugins.visual_portfolio)}}});
|
assets/admin/js/mce-localize.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},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,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=
|
1 |
+
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},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,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=40)}({40:function(e,t,n){e.exports=n(41)},41:function(e,t){}});
|
assets/admin/js/script.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
/*!
|
2 |
* Name : Visual Portfolio
|
3 |
-
* Version : 1.
|
4 |
* Author : nK https://nkdev.info
|
5 |
*/
|
6 |
import { debounce } from 'throttle-debounce';
|
@@ -25,15 +25,38 @@ $body.on( 'click', '.vp-onclick-selection', function() {
|
|
25 |
// Post format metabox show/hide
|
26 |
const $videoMetabox = $( '#vp_format_video' );
|
27 |
const $videoFormatCheckbox = $( '#post-format-video' );
|
28 |
-
|
29 |
-
|
|
|
|
|
|
|
|
|
|
|
30 |
}
|
31 |
-
|
32 |
-
|
33 |
-
$
|
34 |
-
toggleVideoMetabox();
|
35 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
36 |
}
|
|
|
37 |
let oembedAjax = null;
|
38 |
function runAjaxVideoOembed( $this ) {
|
39 |
oembedAjax = $.ajax( {
|
@@ -69,8 +92,8 @@ $body.on( 'change input', '.vp-input[name="video_url"]', function() {
|
|
69 |
if ( typeof Tooltip !== 'undefined' ) {
|
70 |
$( '[data-hint]:not([data-hint=""]):not([data-hint="false"])' ).each( function() {
|
71 |
const $this = $( this );
|
72 |
-
|
73 |
-
new Tooltip( this, {
|
74 |
placement: $this.attr( 'data-hint-place' ) || 'top',
|
75 |
title: $this.attr( 'data-hint' ),
|
76 |
container: $( 'body' )[ 0 ],
|
1 |
/*!
|
2 |
* Name : Visual Portfolio
|
3 |
+
* Version : 1.15.0
|
4 |
* Author : nK https://nkdev.info
|
5 |
*/
|
6 |
import { debounce } from 'throttle-debounce';
|
25 |
// Post format metabox show/hide
|
26 |
const $videoMetabox = $( '#vp_format_video' );
|
27 |
const $videoFormatCheckbox = $( '#post-format-video' );
|
28 |
+
let isVideoFormat = null;
|
29 |
+
|
30 |
+
function toggleVideoMetabox( show ) {
|
31 |
+
if ( isVideoFormat === null || isVideoFormat !== show ) {
|
32 |
+
isVideoFormat = show;
|
33 |
+
$videoMetabox[ show ? 'show' : 'hide' ]();
|
34 |
+
}
|
35 |
}
|
36 |
+
|
37 |
+
if ( $videoMetabox.length ) {
|
38 |
+
if ( $videoFormatCheckbox.length ) {
|
39 |
+
toggleVideoMetabox( $videoFormatCheckbox.is( ':checked' ) );
|
40 |
+
|
41 |
+
$body.on( 'change', '[name=post_format]', () => {
|
42 |
+
toggleVideoMetabox( $videoFormatCheckbox.is( ':checked' ) );
|
43 |
+
} );
|
44 |
+
}
|
45 |
+
|
46 |
+
// Gutenberg.
|
47 |
+
if ( wp.data && wp.data.subscribe ) {
|
48 |
+
const {
|
49 |
+
getCurrentPostAttribute,
|
50 |
+
getEditedPostAttribute,
|
51 |
+
} = wp.data.select( 'core/editor' );
|
52 |
+
|
53 |
+
wp.data.subscribe( () => {
|
54 |
+
const format = getEditedPostAttribute( 'format' ) || getCurrentPostAttribute( 'format' );
|
55 |
+
toggleVideoMetabox( format === 'video' );
|
56 |
+
} );
|
57 |
+
}
|
58 |
}
|
59 |
+
|
60 |
let oembedAjax = null;
|
61 |
function runAjaxVideoOembed( $this ) {
|
62 |
oembedAjax = $.ajax( {
|
92 |
if ( typeof Tooltip !== 'undefined' ) {
|
93 |
$( '[data-hint]:not([data-hint=""]):not([data-hint="false"])' ).each( function() {
|
94 |
const $this = $( this );
|
95 |
+
|
96 |
+
new window.Tooltip( this, {
|
97 |
placement: $this.attr( 'data-hint-place' ) || 'top',
|
98 |
title: $this.attr( 'data-hint' ),
|
99 |
container: $( 'body' )[ 0 ],
|
assets/admin/js/script.min.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
-
!function(t){var e={};function n(o){if(e[o])return e[o].exports;var i=e[o]={i:o,l:!1,exports:{}};return t[o].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(o,i,function(e){return t[e]}.bind(null,i));return o},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,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=
|
2 |
/*!
|
3 |
* Name : Visual Portfolio
|
4 |
* Version : @@plugin_version
|
5 |
* Author : nK https://nkdev.info
|
6 |
-
*/l.on("focus",'[name="vp_list_shortcode"], [name="vp_filter_shortcode"], [name="vp_sort_shortcode"]',function(){this.select()}),l.on("click",".vp-onclick-selection",function(){window.getSelection().selectAllChildren(this)});var
|
1 |
+
!function(t){var e={};function n(o){if(e[o])return e[o].exports;var i=e[o]={i:o,l:!1,exports:{}};return t[o].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(o,i,function(e){return t[e]}.bind(null,i));return o},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,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=42)}({0:function(t,e,n){"use strict";function o(t,e,n,o){var i,r=!1,a=0;function u(){i&&clearTimeout(i)}function c(){var c=this,l=Date.now()-a,d=arguments;function f(){a=Date.now(),n.apply(c,d)}r||(o&&!i&&f(),u(),void 0===o&&l>t?f():!0!==e&&(i=setTimeout(o?function(){i=void 0}:f,void 0===o?t-l:t)))}return"boolean"!=typeof e&&(o=n,n=e,e=void 0),c.cancel=function(){u(),r=!0},c}function i(t,e,n){return void 0===n?o(t,e,!1):o(t,n,!1!==e)}n.d(e,"b",(function(){return o})),n.d(e,"a",(function(){return i}))},42:function(t,e,n){t.exports=n(43)},43:function(t,e,n){"use strict";n.r(e);var o=n(0),i=jQuery,r=window,a=r.ajaxurl,u=r.VPAdminVariables,c=r.Tooltip,l=i("body");
|
2 |
/*!
|
3 |
* Name : Visual Portfolio
|
4 |
* Version : @@plugin_version
|
5 |
* Author : nK https://nkdev.info
|
6 |
+
*/l.on("focus",'[name="vp_list_shortcode"], [name="vp_filter_shortcode"], [name="vp_sort_shortcode"]',(function(){this.select()})),l.on("click",".vp-onclick-selection",(function(){window.getSelection().selectAllChildren(this)}));var d=i("#vp_format_video"),f=i("#post-format-video"),s=null;function p(t){null!==s&&s===t||(s=t,d[t?"show":"hide"]())}if(d.length&&(f.length&&(p(f.is(":checked")),l.on("change","[name=post_format]",(function(){p(f.is(":checked"))}))),wp.data&&wp.data.subscribe)){var v=wp.data.select("core/editor"),b=v.getCurrentPostAttribute,h=v.getEditedPostAttribute;wp.data.subscribe((function(){p("video"===(h("format")||b("format")))}))}var m=null;function w(t){m=i.ajax({url:a,method:"GET",dataType:"json",data:{action:"vp_find_oembed",q:t.val(),nonce:u.nonce},complete:function(e){var n=e.responseJSON;n&&void 0!==n.html&&t.next(".vp-oembed-preview").html(n.html)}})}w=Object(o.a)(300,w),l.on("change input",'.vp-input[name="video_url"]',(function(){null!==m&&m.abort();var t=i(this);t.next(".vp-oembed-preview").html(""),w(t)})),void 0!==c&&i('[data-hint]:not([data-hint=""]):not([data-hint="false"])').each((function(){var t=i(this);new window.Tooltip(this,{placement:t.attr("data-hint-place")||"top",title:t.attr("data-hint"),container:i("body")[0],boundariesElement:"viewport"})}))}});
|
assets/admin/js/vc-frontend.js
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
* Additional js for frontend VC
|
3 |
*
|
4 |
* Name : Visual Portfolio
|
5 |
-
* Version : 1.
|
6 |
* Author : nK https://nkdev.info
|
7 |
*/
|
8 |
const {
|
2 |
* Additional js for frontend VC
|
3 |
*
|
4 |
* Name : Visual Portfolio
|
5 |
+
* Version : 1.15.0
|
6 |
* Author : nK https://nkdev.info
|
7 |
*/
|
8 |
const {
|
assets/admin/js/vc-frontend.min.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},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,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=
|
2 |
/*!
|
3 |
* Additional js for frontend VC
|
4 |
*
|
@@ -6,4 +6,4 @@
|
|
6 |
* Version : @@plugin_version
|
7 |
* Author : nK https://nkdev.info
|
8 |
*/
|
9 |
-
var n=window.vc;jQuery(function(){void 0!==n&&n.events.on("shortcodes:add shortcodeView:updated",function(e){if("visual_portfolio"===e.settings.base){var t=n.$frame[0].contentWindow,r=!!t&&t.jQuery;if(r){var o=r(e.view.el).children(".vp-portfolio");o.length&&void 0!==o.vpf&&o.vpf()}}})})}});
|
1 |
+
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},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,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=44)}({44:function(e,t,n){e.exports=n(45)},45:function(e,t){
|
2 |
/*!
|
3 |
* Additional js for frontend VC
|
4 |
*
|
6 |
* Version : @@plugin_version
|
7 |
* Author : nK https://nkdev.info
|
8 |
*/
|
9 |
+
var n=window.vc;jQuery((function(){void 0!==n&&n.events.on("shortcodes:add shortcodeView:updated",(function(e){if("visual_portfolio"===e.settings.base){var t=n.$frame[0].contentWindow,r=!!t&&t.jQuery;if(r){var o=r(e.view.el).children(".vp-portfolio");o.length&&void 0!==o.vpf&&o.vpf()}}}))}))}});
|
assets/js/items-style-fly.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(t){var e={};function n(o){if(e[o])return e[o].exports;var r=e[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(o,r,function(e){return t[e]}.bind(null,r));return o},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,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=2)}([,,function(t,e,n){t.exports=n(3)},function(t,e){var n=window.jQuery,o=n(window);function r(t,e,n,o){var r=(o.x-n.x)*(t.y-n.y)-(o.y-n.y)*(t.x-n.x),i=(o.x-n.x)*(e.y-n.y)-(o.y-n.y)*(e.x-n.x),a=(e.x-t.x)*(n.y-t.y)-(e.y-t.y)*(n.x-t.x),f=(e.x-t.x)*(o.y-t.y)-(e.y-t.y)*(o.x-t.x);return r*i<=0&&a*f<=0}n(document).on("initEvents.vpf",function(t,e){if("vpf"===t.namespace&&"fly"===e.options.itemsStyle){var i=".vpf-uid-".concat(e.uid),a={};o.on("mousemove".concat(i),function(t){a={x:t.clientX,y:t.clientY}}),e.$item.on("mouseenter".concat(i," mouseleave").concat(i),".vp-portfolio__item",function(t){var e=n(this),o=e[0].getBoundingClientRect(),i=e.find(".vp-portfolio__item-overlay"),f="mouseenter"===t.type,c="0%",u="0%",l={x:t.clientX,y:t.clientY},s=r({x:o.left,y:o.top},{x:o.left+o.width,y:o.top},l,a),y=r({x:o.left,y:o.top+o.height},{x:o.left+o.width,y:o.top+o.height},l,a),p=r({x:o.left,y:o.top},{x:o.left,y:o.top+o.height},l,a),d=r({x:o.left+o.width,y:o.top},{x:o.left+o.width,y:o.top+o.height},l,a);if(!(s||y||p||d)){var x=(o.width/2-l.x+o.left)/(o.width/2),v=(o.height/2-l.y+o.top)/(o.height/2);Math.abs(x)>Math.abs(v)?x>0?p=!0:d=!0:v>0?s=!0:y=!0}s?u="-100.1%":y?u="100.1%":p?c="-100.1%":d&&(c="100.1%"),f&&(i.css({transition:"none",transform:"translateX(".concat(c,") translateY(").concat(u,") translateZ(0)")}),i[0].offsetHeight),i.css({transition:".2s transform ease-in-out",transform:"translateX(".concat(f?"0%":c,") translateY(").concat(f?"0%":u,") translateZ(0)")})})}}),n(document).on("destroyEvents.vpf",function(t,e){if("vpf"===t.namespace&&"fly"===e.options.itemsStyle){var n=".vpf-uid-".concat(e.uid);o.off("mousemove".concat(n)),e.$item.off("mouseenter".concat(n," mouseleave").concat(n))}})}]);
|
1 |
+
!function(t){var e={};function n(o){if(e[o])return e[o].exports;var r=e[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(o,r,function(e){return t[e]}.bind(null,r));return o},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,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=2)}([,,function(t,e,n){t.exports=n(3)},function(t,e){var n=window.jQuery,o=n(window);function r(t,e,n,o){var r=(o.x-n.x)*(t.y-n.y)-(o.y-n.y)*(t.x-n.x),i=(o.x-n.x)*(e.y-n.y)-(o.y-n.y)*(e.x-n.x),a=(e.x-t.x)*(n.y-t.y)-(e.y-t.y)*(n.x-t.x),f=(e.x-t.x)*(o.y-t.y)-(e.y-t.y)*(o.x-t.x);return r*i<=0&&a*f<=0}n(document).on("initEvents.vpf",(function(t,e){if("vpf"===t.namespace&&"fly"===e.options.itemsStyle){var i=".vpf-uid-".concat(e.uid),a={};o.on("mousemove".concat(i),(function(t){a={x:t.clientX,y:t.clientY}})),e.$item.on("mouseenter".concat(i," mouseleave").concat(i),".vp-portfolio__item",(function(t){var e=n(this),o=e[0].getBoundingClientRect(),i=e.find(".vp-portfolio__item-overlay"),f="mouseenter"===t.type,c="0%",u="0%",l={x:t.clientX,y:t.clientY},s=r({x:o.left,y:o.top},{x:o.left+o.width,y:o.top},l,a),y=r({x:o.left,y:o.top+o.height},{x:o.left+o.width,y:o.top+o.height},l,a),p=r({x:o.left,y:o.top},{x:o.left,y:o.top+o.height},l,a),d=r({x:o.left+o.width,y:o.top},{x:o.left+o.width,y:o.top+o.height},l,a);if(!(s||y||p||d)){var x=(o.width/2-l.x+o.left)/(o.width/2),v=(o.height/2-l.y+o.top)/(o.height/2);Math.abs(x)>Math.abs(v)?x>0?p=!0:d=!0:v>0?s=!0:y=!0}s?u="-100.1%":y?u="100.1%":p?c="-100.1%":d&&(c="100.1%"),f&&(i.css({transition:"none",transform:"translateX(".concat(c,") translateY(").concat(u,") translateZ(0)")}),i[0].offsetHeight),i.css({transition:".2s transform ease-in-out",transform:"translateX(".concat(f?"0%":c,") translateY(").concat(f?"0%":u,") translateZ(0)")})}))}})),n(document).on("destroyEvents.vpf",(function(t,e){if("vpf"===t.namespace&&"fly"===e.options.itemsStyle){var n=".vpf-uid-".concat(e.uid);o.off("mousemove".concat(n)),e.$item.off("mouseenter".concat(n," mouseleave").concat(n))}}))}]);
|
assets/js/layout-gaps.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(t){var o={};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}e.m=t,e.c=o,e.d=function(t,o,n){e.o(t,o)||Object.defineProperty(t,o,{enumerable:!0,get:n})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,o){if(1&o&&(t=e(t)),8&o)return t;if(4&o&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(e.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&o&&"string"!=typeof t)for(var r in t)e.d(n,r,function(o){return t[o]}.bind(null,r));return 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,o){return Object.prototype.hasOwnProperty.call(t,o)},e.p="",e(e.s=4)}({4:function(t,o,e){t.exports=e(5)},5:function(t,o){(0,window.jQuery)(document).on("initLayout.vpf",function(t,o){if("vpf"===t.namespace){var e=parseInt(o.options.itemsGap,10);if(e&&("tiles"===o.options.layout||"masonry"===o.options.layout||"grid"===o.options.layout)){o.addStyle(".vp-portfolio__items",{"margin-left":"-".concat(e,"px"),"margin-top":"-".concat(e,"px")});var n="".concat(e,"px");o.addStyle(".vp-portfolio__items .vp-portfolio__item-wrap .vp-portfolio__item",{"margin-left":n,"margin-top":n}),"tiles"===o.options.layout&&(o.addStyle(".vp-portfolio__item-wrap .vp-portfolio__item-img-wrap",{"margin-left":"-".concat(n),"margin-top":"-".concat(n)}),o.addStyle(".vp-portfolio__item-wrap .vp-portfolio__item-img",{left:n,top:n}))}}})}});
|
1 |
+
!function(t){var o={};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}e.m=t,e.c=o,e.d=function(t,o,n){e.o(t,o)||Object.defineProperty(t,o,{enumerable:!0,get:n})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,o){if(1&o&&(t=e(t)),8&o)return t;if(4&o&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(e.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&o&&"string"!=typeof t)for(var r in t)e.d(n,r,function(o){return t[o]}.bind(null,r));return 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,o){return Object.prototype.hasOwnProperty.call(t,o)},e.p="",e(e.s=4)}({4:function(t,o,e){t.exports=e(5)},5:function(t,o){(0,window.jQuery)(document).on("initLayout.vpf",(function(t,o){if("vpf"===t.namespace){var e=parseInt(o.options.itemsGap,10);if(e&&("tiles"===o.options.layout||"masonry"===o.options.layout||"grid"===o.options.layout)){o.addStyle(".vp-portfolio__items",{"margin-left":"-".concat(e,"px"),"margin-top":"-".concat(e,"px")});var n="".concat(e,"px");o.addStyle(".vp-portfolio__items .vp-portfolio__item-wrap .vp-portfolio__item",{"margin-left":n,"margin-top":n}),"tiles"===o.options.layout&&(o.addStyle(".vp-portfolio__item-wrap .vp-portfolio__item-img-wrap",{"margin-left":"-".concat(n),"margin-top":"-".concat(n)}),o.addStyle(".vp-portfolio__item-wrap .vp-portfolio__item-img",{left:n,top:n}))}}}))}});
|
assets/js/layout-grid.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(t){var n={};function e(o){if(n[o])return n[o].exports;var r=n[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,e),r.l=!0,r.exports}e.m=t,e.c=n,e.d=function(t,n,o){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:o})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(e.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var r in t)e.d(o,r,function(n){return t[n]}.bind(null,r));return o},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=6)}({6:function(t,n,e){t.exports=e(7)},7:function(t,n){var e=window.jQuery,o=window.VPData.screenSizes;e(document).on("initOptions.vpf",function(t,n){"vpf"===t.namespace&&(n.defaults.gridColumns=3,n.options.gridColumns||(n.options.gridColumns=n.defaults.gridColumns))}),e(document).on("initLayout.vpf",function(t,n){if("vpf"===t.namespace&&"grid"===n.options.layout){n.addStyle(".vp-portfolio__item-wrap",{width:"".concat(100/n.options.gridColumns,"%")});for(var e=n.options.gridColumns-1,r=Math.min(o.length-1,e);r>=0;r--)e>0&&void 0!==o[r]&&n.addStyle(".vp-portfolio__item-wrap",{width:"".concat(100/e,"%")},"screen and (max-width: ".concat(o[r],"px)")),e-=1}})}});
|
1 |
+
!function(t){var n={};function e(o){if(n[o])return n[o].exports;var r=n[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,e),r.l=!0,r.exports}e.m=t,e.c=n,e.d=function(t,n,o){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:o})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(e.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var r in t)e.d(o,r,function(n){return t[n]}.bind(null,r));return o},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=6)}({6:function(t,n,e){t.exports=e(7)},7:function(t,n){var e=window.jQuery,o=window.VPData.screenSizes;e(document).on("initOptions.vpf",(function(t,n){"vpf"===t.namespace&&(n.defaults.gridColumns=3,n.options.gridColumns||(n.options.gridColumns=n.defaults.gridColumns))})),e(document).on("initLayout.vpf",(function(t,n){if("vpf"===t.namespace&&"grid"===n.options.layout){n.addStyle(".vp-portfolio__item-wrap",{width:"".concat(100/n.options.gridColumns,"%")});for(var e=n.options.gridColumns-1,r=Math.min(o.length-1,e);r>=0;r--)e>0&&void 0!==o[r]&&n.addStyle(".vp-portfolio__item-wrap",{width:"".concat(100/e,"%")},"screen and (max-width: ".concat(o[r],"px)")),e-=1}}))}});
|
assets/js/layout-justified.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(e){var t={};function n(o){if(t[o])return t[o].exports;var i=t[o]={i:o,l:!1,exports:{}};return e[o].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(o,i,function(t){return e[t]}.bind(null,i));return 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,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=8)}({8:function(e,t,n){e.exports=n(9)},9:function(e,t){(0,window.jQuery)(document).on("initOptions.vpf",function(e,t){"vpf"===e.namespace&&(t.defaults.justifiedRowHeight=250,t.defaults.justifiedRowHeightTolerance=.25,t.options.justifiedRowHeight||(t.options.justifiedRowHeight=t.defaults.justifiedRowHeight),t.options.justifiedRowHeightTolerance||(t.options.justifiedRowHeightTolerance=t.defaults.justifiedRowHeightTolerance))})}});
|
1 |
+
!function(e){var t={};function n(o){if(t[o])return t[o].exports;var i=t[o]={i:o,l:!1,exports:{}};return e[o].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(o,i,function(t){return e[t]}.bind(null,i));return 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,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=8)}({8:function(e,t,n){e.exports=n(9)},9:function(e,t){(0,window.jQuery)(document).on("initOptions.vpf",(function(e,t){"vpf"===e.namespace&&(t.defaults.justifiedRowHeight=250,t.defaults.justifiedRowHeightTolerance=.25,t.options.justifiedRowHeight||(t.options.justifiedRowHeight=t.defaults.justifiedRowHeight),t.options.justifiedRowHeightTolerance||(t.options.justifiedRowHeightTolerance=t.defaults.justifiedRowHeightTolerance))}))}});
|
assets/js/layout-masonry.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(n){var o={};function t(e){if(o[e])return o[e].exports;var r=o[e]={i:e,l:!1,exports:{}};return n[e].call(r.exports,r,r.exports,t),r.l=!0,r.exports}t.m=n,t.c=o,t.d=function(n,o,e){t.o(n,o)||Object.defineProperty(n,o,{enumerable:!0,get:e})},t.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},t.t=function(n,o){if(1&o&&(n=t(n)),8&o)return n;if(4&o&&"object"==typeof n&&n&&n.__esModule)return n;var e=Object.create(null);if(t.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:n}),2&o&&"string"!=typeof n)for(var r in n)t.d(e,r,function(o){return n[o]}.bind(null,r));return e},t.n=function(n){var o=n&&n.__esModule?function(){return n.default}:function(){return n};return t.d(o,"a",o),o},t.o=function(n,o){return Object.prototype.hasOwnProperty.call(n,o)},t.p="",t(t.s=10)}({10:function(n,o,t){n.exports=t(11)},11:function(n,o){var t=window.jQuery,e=window.VPData.screenSizes;t(document).on("initOptions.vpf",function(n,o){"vpf"===n.namespace&&(o.defaults.masonryColumns=3,o.options.masonryColumns||(o.options.masonryColumns=o.defaults.masonryColumns))}),t(document).on("initLayout.vpf",function(n,o){if("vpf"===n.namespace&&"masonry"===o.options.layout){o.addStyle(".vp-portfolio__item-wrap",{width:"".concat(100/o.options.masonryColumns,"%")});for(var t=o.options.masonryColumns-1,r=Math.min(e.length-1,t);r>=0;r--)t>0&&void 0!==e[r]&&o.addStyle(".vp-portfolio__item-wrap",{width:"".concat(100/t,"%")},"screen and (max-width: ".concat(e[r],"px)")),t-=1}})}});
|
1 |
+
!function(n){var o={};function t(e){if(o[e])return o[e].exports;var r=o[e]={i:e,l:!1,exports:{}};return n[e].call(r.exports,r,r.exports,t),r.l=!0,r.exports}t.m=n,t.c=o,t.d=function(n,o,e){t.o(n,o)||Object.defineProperty(n,o,{enumerable:!0,get:e})},t.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},t.t=function(n,o){if(1&o&&(n=t(n)),8&o)return n;if(4&o&&"object"==typeof n&&n&&n.__esModule)return n;var e=Object.create(null);if(t.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:n}),2&o&&"string"!=typeof n)for(var r in n)t.d(e,r,function(o){return n[o]}.bind(null,r));return e},t.n=function(n){var o=n&&n.__esModule?function(){return n.default}:function(){return n};return t.d(o,"a",o),o},t.o=function(n,o){return Object.prototype.hasOwnProperty.call(n,o)},t.p="",t(t.s=10)}({10:function(n,o,t){n.exports=t(11)},11:function(n,o){var t=window.jQuery,e=window.VPData.screenSizes;t(document).on("initOptions.vpf",(function(n,o){"vpf"===n.namespace&&(o.defaults.masonryColumns=3,o.options.masonryColumns||(o.options.masonryColumns=o.defaults.masonryColumns))})),t(document).on("initLayout.vpf",(function(n,o){if("vpf"===n.namespace&&"masonry"===o.options.layout){o.addStyle(".vp-portfolio__item-wrap",{width:"".concat(100/o.options.masonryColumns,"%")});for(var t=o.options.masonryColumns-1,r=Math.min(e.length-1,t);r>=0;r--)t>0&&void 0!==e[r]&&o.addStyle(".vp-portfolio__item-wrap",{width:"".concat(100/t,"%")},"screen and (max-width: ".concat(e[r],"px)")),t-=1}}))}});
|
assets/js/layout-slider.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(o){var t={};function i(e){if(t[e])return t[e].exports;var n=t[e]={i:e,l:!1,exports:{}};return o[e].call(n.exports,n,n.exports,i),n.l=!0,n.exports}i.m=o,i.c=t,i.d=function(o,t,e){i.o(o,t)||Object.defineProperty(o,t,{enumerable:!0,get:e})},i.r=function(o){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(o,"__esModule",{value:!0})},i.t=function(o,t){if(1&t&&(o=i(o)),8&t)return o;if(4&t&&"object"==typeof o&&o&&o.__esModule)return o;var e=Object.create(null);if(i.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:o}),2&t&&"string"!=typeof o)for(var n in o)i.d(e,n,function(t){return o[t]}.bind(null,n));return e},i.n=function(o){var t=o&&o.__esModule?function(){return o.default}:function(){return o};return i.d(t,"a",t),t},i.o=function(o,t){return Object.prototype.hasOwnProperty.call(o,t)},i.p="",i(i.s=12)}({12:function(o,t,i){o.exports=i(13)},13:function(o,t){(0,window.jQuery)(document).on("initLayout.vpf",function(o,t){"vpf"===o.namespace&&"slider"===t.options.layout&&(["items","thumbnails"].forEach(function(o){var i="items"===o?t.options.sliderItemsHeight:t.options.sliderThumbnailsHeight,e="items"===o?t.options.sliderItemsMinHeight:0,n=o.replace(/s$/g,"");if("auto"!==i)if(i=isNaN(i)?i:"".concat(i,"px"),e&&t.isPreview()&&/vh/.test(e)&&(e=0),"auto"===("items"===o?t.options.sliderSlidesPerView:t.options.sliderThumbnailsPerView)){var r="auto";"items"===o&&"fade"===t.options.sliderEffect&&(r="100%"),i.indexOf("%")===i.length-1?(t.addStyle(".vp-portfolio__".concat(o,"-wrap::before"),{content:'""',display:"block",width:"100%","margin-top":i}),t.addStyle(".vp-portfolio__".concat(o),{position:"absolute",top:0,left:0,right:0,bottom:0}),t.addStyle(".vp-portfolio__".concat(n,"-wrap"),{width:"auto",height:"true"===t.options.sliderBullets?"calc( 100% - 25px )":"100%"}),t.addStyle(".vp-portfolio__".concat(n,", .vp-portfolio__").concat(n,"-img-wrap, .vp-portfolio__").concat(n,"-img, .vp-portfolio__").concat(n,"-wrap .vp-portfolio__").concat(n," .vp-portfolio__").concat(n,"-img a, .vp-portfolio__").concat(n,"-wrap .vp-portfolio__").concat(n," .vp-portfolio__").concat(n,"-img img"),{width:r,height:"100%"}),e&&t.addStyle(".vp-portfolio__".concat(o,"-wrap"),{"min-height":e})):(t.addStyle(".vp-portfolio__".concat(n,"-wrap"),{width:"auto"}),t.addStyle(".vp-portfolio__".concat(n," .vp-portfolio__").concat(n,"-img img"),{width:r,height:i}),e&&t.addStyle(".vp-portfolio__".concat(n," .vp-portfolio__").concat(n,"-img img"),{"min-height":e}))}else t.addStyle(".vp-portfolio__".concat(n,"-img-wrap::before"),{"margin-top":i}),t.addStyle(".vp-portfolio__".concat(n,"-img img"),{position:"absolute",top:0,right:0,bottom:0,left:0}),t.addStyle(".vp-portfolio__".concat(n,"-img"),{position:"absolute",top:0,right:0,bottom:0,left:0}),t.addStyle(".vp-portfolio__".concat(n," .vp-portfolio__").concat(n,"-img img"),{width:"100%",height:"100%"}),e&&t.addStyle(".vp-portfolio__".concat(n,"-img-wrap"),{"min-height":e})}),t.options.sliderThumbnailsGap&&t.addStyle(".vp-portfolio__thumbnails-wrap",{"margin-top":"".concat(t.options.sliderThumbnailsGap,"px")}))})}});
|
1 |
+
!function(o){var t={};function i(e){if(t[e])return t[e].exports;var n=t[e]={i:e,l:!1,exports:{}};return o[e].call(n.exports,n,n.exports,i),n.l=!0,n.exports}i.m=o,i.c=t,i.d=function(o,t,e){i.o(o,t)||Object.defineProperty(o,t,{enumerable:!0,get:e})},i.r=function(o){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(o,"__esModule",{value:!0})},i.t=function(o,t){if(1&t&&(o=i(o)),8&t)return o;if(4&t&&"object"==typeof o&&o&&o.__esModule)return o;var e=Object.create(null);if(i.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:o}),2&t&&"string"!=typeof o)for(var n in o)i.d(e,n,function(t){return o[t]}.bind(null,n));return e},i.n=function(o){var t=o&&o.__esModule?function(){return o.default}:function(){return o};return i.d(t,"a",t),t},i.o=function(o,t){return Object.prototype.hasOwnProperty.call(o,t)},i.p="",i(i.s=12)}({12:function(o,t,i){o.exports=i(13)},13:function(o,t){(0,window.jQuery)(document).on("initLayout.vpf",(function(o,t){"vpf"===o.namespace&&"slider"===t.options.layout&&(["items","thumbnails"].forEach((function(o){var i="items"===o?t.options.sliderItemsHeight:t.options.sliderThumbnailsHeight,e="items"===o?t.options.sliderItemsMinHeight:0,n=o.replace(/s$/g,"");if("auto"!==i)if(i=isNaN(i)?i:"".concat(i,"px"),e&&t.isPreview()&&/vh/.test(e)&&(e=0),"auto"===("items"===o?t.options.sliderSlidesPerView:t.options.sliderThumbnailsPerView)){var r="auto";"items"===o&&"fade"===t.options.sliderEffect&&(r="100%"),i.indexOf("%")===i.length-1?(t.addStyle(".vp-portfolio__".concat(o,"-wrap::before"),{content:'""',display:"block",width:"100%","margin-top":i}),t.addStyle(".vp-portfolio__".concat(o),{position:"absolute",top:0,left:0,right:0,bottom:0}),t.addStyle(".vp-portfolio__".concat(n,"-wrap"),{width:"auto",height:"true"===t.options.sliderBullets?"calc( 100% - 25px )":"100%"}),t.addStyle(".vp-portfolio__".concat(n,", .vp-portfolio__").concat(n,"-img-wrap, .vp-portfolio__").concat(n,"-img, .vp-portfolio__").concat(n,"-wrap .vp-portfolio__").concat(n," .vp-portfolio__").concat(n,"-img a, .vp-portfolio__").concat(n,"-wrap .vp-portfolio__").concat(n," .vp-portfolio__").concat(n,"-img img"),{width:r,height:"100%"}),e&&t.addStyle(".vp-portfolio__".concat(o,"-wrap"),{"min-height":e})):(t.addStyle(".vp-portfolio__".concat(n,"-wrap"),{width:"auto"}),t.addStyle(".vp-portfolio__".concat(n," .vp-portfolio__").concat(n,"-img img"),{width:r,height:i}),e&&t.addStyle(".vp-portfolio__".concat(n," .vp-portfolio__").concat(n,"-img img"),{"min-height":e}))}else t.addStyle(".vp-portfolio__".concat(n,"-img-wrap::before"),{"margin-top":i}),t.addStyle(".vp-portfolio__".concat(n,"-img img"),{position:"absolute",top:0,right:0,bottom:0,left:0}),t.addStyle(".vp-portfolio__".concat(n,"-img"),{position:"absolute",top:0,right:0,bottom:0,left:0}),t.addStyle(".vp-portfolio__".concat(n," .vp-portfolio__").concat(n,"-img img"),{width:"100%",height:"100%"}),e&&t.addStyle(".vp-portfolio__".concat(n,"-img-wrap"),{"min-height":e})})),t.options.sliderThumbnailsGap&&t.addStyle(".vp-portfolio__thumbnails-wrap",{"margin-top":"".concat(t.options.sliderThumbnailsGap,"px")}))}))}});
|
assets/js/layout-tiles.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(t){var e={};function o(n){if(e[n])return e[n].exports;var i=e[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,o),i.l=!0,i.exports}o.m=t,o.c=e,o.d=function(t,e,n){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)o.d(n,i,function(e){return t[e]}.bind(null,i));return n},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="",o(o.s=14)}({14:function(t,e,o){t.exports=o(15)},15:function(t,e){var o=window.jQuery,n=window.VPData.screenSizes;if(void 0!==window.Isotope&&void 0!==window.Isotope.LayoutMode){var i=window.Isotope.LayoutMode.modes.masonry;if(i){var r=i.prototype.measureColumns;i.prototype.measureColumns=function(){var t=!0;if(!this.columnWidth){var e=o(this.element).closest('.vp-portfolio[data-vp-layout="tiles"]');if(e.length&&e[0].vpf){for(var i=e[0].vpf.getTilesSettings(),a=parseInt(i[0],10)||1,p=a-1,l=Math.min(n.length-1,p);l>=0;l--)p>0&&void 0!==n[l]&&window.innerWidth<=n[l]&&(a=p),p-=1;a&&(this.columnWidth=this.containerWidth/a,this.columnWidth+=this.gutter,this.cols=a,t=!1)}}t&&r.call(this)}}}o(document).on("extendClass.vpf",function(t,e){"vpf"===t.namespace&&(e.prototype.getTilesSettings=function(){var t=this.options.tilesType.split(/[:|]/);return void 0===t[t.length-1]||t[t.length-1]||t.pop(),t})}),o(document).on("initOptions.vpf",function(t,e){"vpf"===t.namespace&&(e.defaults.tilesType="3|1,1|",e.options.tilesType||(e.options.tilesType=e.defaults.tilesType))}),o(document).on("initLayout.vpf",function(t,e){if("vpf"===t.namespace&&"tiles"===e.options.layout){var o=e.getTilesSettings(),i=parseInt(o[0],10)||1;if(o.shift(),e.addStyle(".vp-portfolio__item-wrap",{width:"".concat(100/i,"%")}),o&&o.length)for(var r=0;r<o.length;r++){var a=o[r].split(","),p=parseFloat(a[0])||1,l=parseFloat(a[1])||1,s=".vp-portfolio__item-wrap";o.length>1&&(s+=":nth-of-type(".concat(o.length,"n+").concat(r+1,")")),p&&1!==p&&e.addStyle(s,{width:"".concat(100*p/i,"%")}),e.addStyle("".concat(s," .vp-portfolio__item-img-wrap::before"),{"margin-top":"".concat(100*l,"%")})}for(var c=i-1,f=Math.min(n.length-1,c);f>=0;f--)c>0&&void 0!==n[f]&&(e.addStyle(".vp-portfolio__item-wrap",{width:"".concat(100/c,"%")},"screen and (max-width: ".concat(n[f],"px)")),e.addStyle(".vp-portfolio__item-wrap:nth-of-type(n)",{width:"".concat(100/c,"%")},"screen and (max-width: ".concat(n[f],"px)"))),c-=1}})}});
|
1 |
+
!function(t){var e={};function o(n){if(e[n])return e[n].exports;var i=e[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,o),i.l=!0,i.exports}o.m=t,o.c=e,o.d=function(t,e,n){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)o.d(n,i,function(e){return t[e]}.bind(null,i));return n},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="",o(o.s=14)}({14:function(t,e,o){t.exports=o(15)},15:function(t,e){var o=window.jQuery,n=window.VPData.screenSizes;if(void 0!==window.Isotope&&void 0!==window.Isotope.LayoutMode){var i=window.Isotope.LayoutMode.modes.masonry;if(i){var r=i.prototype.measureColumns;i.prototype.measureColumns=function(){var t=!0;if(!this.columnWidth){var e=o(this.element).closest('.vp-portfolio[data-vp-layout="tiles"]');if(e.length&&e[0].vpf){for(var i=e[0].vpf.getTilesSettings(),a=parseInt(i[0],10)||1,p=a-1,l=Math.min(n.length-1,p);l>=0;l--)p>0&&void 0!==n[l]&&window.innerWidth<=n[l]&&(a=p),p-=1;a&&(this.columnWidth=this.containerWidth/a,this.columnWidth+=this.gutter,this.cols=a,t=!1)}}t&&r.call(this)}}}o(document).on("extendClass.vpf",(function(t,e){"vpf"===t.namespace&&(e.prototype.getTilesSettings=function(){var t=this.options.tilesType.split(/[:|]/);return void 0===t[t.length-1]||t[t.length-1]||t.pop(),t})})),o(document).on("initOptions.vpf",(function(t,e){"vpf"===t.namespace&&(e.defaults.tilesType="3|1,1|",e.options.tilesType||(e.options.tilesType=e.defaults.tilesType))})),o(document).on("initLayout.vpf",(function(t,e){if("vpf"===t.namespace&&"tiles"===e.options.layout){var o=e.getTilesSettings(),i=parseInt(o[0],10)||1;if(o.shift(),e.addStyle(".vp-portfolio__item-wrap",{width:"".concat(100/i,"%")}),o&&o.length)for(var r=0;r<o.length;r++){var a=o[r].split(","),p=parseFloat(a[0])||1,l=parseFloat(a[1])||1,s=".vp-portfolio__item-wrap";o.length>1&&(s+=":nth-of-type(".concat(o.length,"n+").concat(r+1,")")),p&&1!==p&&e.addStyle(s,{width:"".concat(100*p/i,"%")}),e.addStyle("".concat(s," .vp-portfolio__item-img-wrap::before"),{"margin-top":"".concat(100*l,"%")})}for(var c=i-1,f=Math.min(n.length-1,c);f>=0;f--)c>0&&void 0!==n[f]&&(e.addStyle(".vp-portfolio__item-wrap",{width:"".concat(100/c,"%")},"screen and (max-width: ".concat(n[f],"px)")),e.addStyle(".vp-portfolio__item-wrap:nth-of-type(n)",{width:"".concat(100/c,"%")},"screen and (max-width: ".concat(n[f],"px)"))),c-=1}}))}});
|
assets/js/lazysizes-object-fit-cover.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},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,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=16)}({16:function(e,t,n){e.exports=n(17)},17: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 r={calculateSize:function(t,n){var r,i=(r=t,e.getComputedStyle(r,null)||{});if(i&&i.objectFit&&"cover"===i.objectFit){var o=parseInt(t.getAttribute("height")),u=parseInt(t.getAttribute("width"));o&&u/o>t.clientWidth/t.clientHeight&&(n=parseInt(t.clientHeight*u/o,10))}return n}};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){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},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,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=16)}({16:function(e,t,n){e.exports=n(17)},17: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 r={calculateSize:function(t,n){var r,i=(r=t,e.getComputedStyle(r,null)||{});if(i&&i.objectFit&&"cover"===i.objectFit){var o=parseInt(t.getAttribute("height")),u=parseInt(t.getAttribute("width"));o&&u/o>t.clientWidth/t.clientHeight&&(n=parseInt(t.clientHeight*u/o,10))}return n}};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/main.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(t){var e={};function i(o){if(e[o])return e[o].exports;var n=e[o]={i:o,l:!1,exports:{}};return t[o].call(n.exports,n,n.exports,i),n.l=!0,n.exports}i.m=t,i.c=e,i.d=function(t,e,o){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(i.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)i.d(o,n,function(e){return t[e]}.bind(null,n));return o},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=18)}({0:function(t,e,i){"use strict";function o(t,e,i,o){var n,a=!1,s=0;function r(){n&&clearTimeout(n)}function l(){var l=this,c=Date.now()-s,d=arguments;function f(){s=Date.now(),i.apply(l,d)}a||(o&&!n&&f(),r(),void 0===o&&c>t?f():!0!==e&&(n=setTimeout(o?function(){n=void 0}:f,void 0===o?t-c:t)))}return"boolean"!=typeof e&&(o=i,i=e,e=void 0),l.cancel=function(){r(),a=!0},l}function n(t,e,i){return void 0===i?o(t,e,!1):o(t,i,!1!==e)}i.d(e,"b",function(){return o}),i.d(e,"a",function(){return n})},1:function(t,e,i){var o=i(20),n=o.requestAnimationFrame||o.webkitRequestAnimationFrame||o.mozRequestAnimationFrame||function(t){var e=+new Date,i=Math.max(0,16-(e-a)),o=setTimeout(t,i);return a=e,o},a=+new Date;var s=o.cancelAnimationFrame||o.webkitCancelAnimationFrame||o.mozCancelAnimationFrame||clearTimeout;Function.prototype.bind&&(n=n.bind(o),s=s.bind(o)),(t.exports=n).cancel=s},18:function(t,e,i){t.exports=i(19)},19:function(t,e,i){"use strict";i.r(e);var o=i(0),n=i(1),a=i.n(n);function s(t){return function(t){if(Array.isArray(t)){for(var e=0,i=new Array(t.length);e<t.length;e++)i[e]=t[e];return i}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function r(t){return(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})(t)}function l(t,e){for(var i=0;i<e.length;i++){var o=e[i];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}var c=jQuery,d=window,f=d.VPData,v=d.objectFitImages,p=f.__,u=c(window);function m(){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)}}void 0!==v&&(v(".vp-portfolio img:not(.visual-portfolio-lazyload)"),c(document).on("lazybeforeunveil",function(t){var e=c(t.target);e.hasClass("visual-portfolio-lazyload")&&e.one("load",function(){v(e[0])})}));var h={},y=!1,g=!1;function _(){if(clearTimeout(g),y){var t=c(".vp-portfolio__ready");if(t.length){var e=!1;t.each(function(){var t=this.vpf;if(t){var i=h[t.uid]||"none";h[t.uid]=null===this.offsetParent?"hidden":"visible","hidden"===i&&"visible"===h[t.uid]&&(e=!0)}}),e&&m()}else y=!1;g=setTimeout(_,500)}}c(document).on("inited.vpf",function(t){"vpf"===t.namespace&&(y=!0,_())});var w=function(){function t(e,i){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);this.$item=e;for(var o=e[0].className.split(/\s+/),n=0;n<o.length;n++)o[n]&&/^vp-uid-/.test(o[n])&&(this.uid=o[n].replace(/^vp-uid-/,"")),o[n]&&/^vp-id-/.test(o[n])&&(this.id=o[n].replace(/^vp-id-/,""));this.uid?(this.$items_wrap=e.find(".vp-portfolio__items"),this.$slider_thumbnails_wrap=e.find(".vp-portfolio__thumbnails"),this.$pagination=e.find(".vp-portfolio__pagination-wrap"),this.$filter=e.find(".vp-portfolio__filter-wrap"),this.$sort=e.find(".vp-portfolio__sort-wrap"),this.id&&(this.$filter=this.$filter.add(".vp-single-filter.vp-id-".concat(this.id," .vp-portfolio__filter-wrap"))),this.id&&(this.$sort=this.$sort.add(".vp-single-sort.vp-id-".concat(this.id," .vp-portfolio__sort-wrap"))),this.userOptions=i,this.firstRun=!0,this.init()):console.error(p.couldnt_retrieve_vp)}var e,i,o;return e=t,(i=[{key:"emitEvent",value:function(t,e){e=e?[this].concat(e):[this],this.$item.trigger("".concat(t,".vpf"),e),this.$item.trigger("".concat(t,".vpf-uid-").concat(this.uid),e)}},{key:"init",value:function(){this.firstRun||this.destroy(),this.destroyed=!1,this.removeNoscriptTags(this.$items_wrap),this.initOptions(),this.initEvents(),this.prepareLazyLoad(),this.initLayout(),this.initCustomColors(),this.emitEvent("init"),this.$item.addClass("vp-portfolio__ready"),this.id&&(c(".vp-single-filter.vp-id-".concat(this.id)).addClass("vp-single-filter__ready"),c(".vp-single-sort.vp-id-".concat(this.id)).addClass("vp-single-sort__ready")),this.resized(),this.imagesLoaded(),this.emitEvent("inited"),this.firstRun=!1}},{key:"isPreview",value:function(){return!!this.$item.closest("#vp_preview").length}},{key:"resized",value:function(){m(),this.emitEvent("resized")}},{key:"imagesLoaded",value:function(){var t=this;this.$items_wrap.imagesLoaded&&this.$items_wrap.imagesLoaded(function(){t.emitEvent("imagesLoaded")})}},{key:"destroy",value:function(){this.$item.removeClass("vp-portfolio__ready"),this.id&&(c(".vp-single-filter.vp-id-".concat(this.id)).removeClass("vp-single-filter__ready"),c(".vp-single-sort.vp-id-".concat(this.id)).removeClass("vp-single-sort__ready")),this.destroyEvents(),this.removeStyle(),this.renderStyle(),this.emitEvent("destroy"),this.destroyed=!0}},{key:"addStyle",value:function(t,e,i){i=i||"";var o=this.uid;this.stylesList||(this.stylesList={}),void 0===this.stylesList[o]&&(this.stylesList[o]={}),void 0===this.stylesList[o][i]&&(this.stylesList[o][i]={}),void 0===this.stylesList[o][i][t]&&(this.stylesList[o][i][t]={}),this.stylesList[o][i][t]=c.extend(this.stylesList[o][i][t],e),this.emitEvent("addStyle",[t,e,i,this.stylesList])}},{key:"removeStyle",value:function(t,e,i){i=i||"";var o=this.uid;this.stylesList||(this.stylesList={}),void 0===this.stylesList[o]||t||(this.stylesList[o]={}),void 0!==this.stylesList[o]&&void 0!==this.stylesList[o][i]&&void 0!==this.stylesList[o][i][t]&&t&&delete this.stylesList[o][i][t],this.emitEvent("removeStyle",[t,e,this.stylesList])}},{key:"renderStyle",value:function(){var t=this,e=t.uid,i="";t.stylesList||(t.stylesList={}),void 0!==t.stylesList[e]&&Object.keys(t.stylesList[e]).forEach(function(o){o&&(i+="@media ".concat(o," {")),Object.keys(t.stylesList[e][o]).forEach(function(n){i+=".vp-uid-".concat(e," ").concat(n," {"),Object.keys(t.stylesList[e][o][n]).forEach(function(a){i+="".concat(a,":").concat(t.stylesList[e][o][n][a],";")}),i+="}"}),o&&(i+="}")});var o=c("#vp-style-".concat(e));o.length||(o=c("<style>").attr("id","vp-style-".concat(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,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=c.extend({},e.defaults,o,e.userOptions),e.emitEvent("initOptions")}},{key:"initEvents",value:function(){var t,e=this,i=".vpf-uid-".concat(e.uid);function o(){var t=e.$item[0].getBoundingClientRect(),i=t.left,o=window.innerWidth-t.right,n=parseFloat(e.$item.css("margin-left")||0),a=parseFloat(e.$item.css("margin-right")||0);e.$item.css({"margin-left":n-i,"margin-right":a-o})}e.$item.hasClass("vp-portfolio__stretch")&&(u.on("load".concat(i," resize").concat(i," orientationchange").concat(i),function(){o()}),o()),e.$filter.on("click".concat(i),".vp-filter .vp-filter__item a",function(t){t.preventDefault();var i=c(this);e.loading||i.closest(".vp-filter__item").addClass("vp-filter__item-active").siblings().removeClass("vp-filter__item-active"),e.loadNewItems(i.attr("href"),!0)}),e.$sort.on("click".concat(i),".vp-sort .vp-sort__item a",function(t){t.preventDefault();var i=c(this);e.loading||i.closest(".vp-sort__item").addClass("vp-sort__item-active").siblings().removeClass("vp-sort__item-active"),e.loadNewItems(i.attr("href"),!0)}),e.$filter.add(e.$sort).on("change".concat(i),".vp-filter select, .vp-sort select",function(){var t=c(this),i=t.val(),o=t.find('[value="'.concat(i,'"]'));o.length&&e.loadNewItems(o.attr("data-vp-url"),!0)}),e.$item.on("click".concat(i),".vp-pagination .vp-pagination__item a",function(t){t.preventDefault();var i=c(this);i.hasClass("vp-pagination__no-more")&&"paged"!==e.options.pagination||e.loadNewItems(i.attr("href"),"paged"===e.options.pagination)}),e.$item.on("click".concat(i),".vp-portfolio__items .vp-portfolio__item-meta-category a",function(t){t.preventDefault(),t.stopPropagation(),e.loadNewItems(c(this).attr("href"),!0)});var n=250;function a(){var t=e.$item[0].getBoundingClientRect();t.bottom>0&&t.bottom-n<=window.innerHeight&&e.loadNewItems(e.options.nextPageUrl,!1,function(){a()})}"infinite"===e.options.pagination&&(u.on("load".concat(i," scroll").concat(i," resize").concat(i," orientationchange").concat(i),function(){clearTimeout(t),t=setTimeout(function(){a()},60)}),a()),e.$item.on("transitionend".concat(i),".vp-portfolio__items",function(t){t.currentTarget===t.target&&e.resized()}),e.emitEvent("initEvents")}},{key:"destroyEvents",value:function(){var t=".vpf-uid-".concat(this.uid);this.$item.off(t),this.$filter.off(t),this.$sort.off(t),u.off(t),this.emitEvent("destroyEvents")}},{key:"prepareLazyLoad",value:function(){var t=window.lazySizes&&window.lazySizes.cfg?window.lazySizes.cfg:window.lazySizesConfig;if(t){var e={"data-vpf-src":t.srcAttr,"data-vpf-sizes":t.sizesAttr,"data-vpf-srcset":t.srcsetAttr};this.$items_wrap.add(this.$slider_thumbnails_wrap).find(".visual-portfolio-lazyload:not(.".concat(t.lazyClass,")")).each(function(){var i=c(this);Object.keys(e).forEach(function(t){e[t]&&t!==e[t]&&i.attr(t)&&(i.attr(e[t],i.attr(t)),i.removeAttr(t))}),i.addClass(t.lazyClass)})}}},{key:"removeNoscriptTags",value:function(t){t.find("noscript").remove()}},{key:"initLayout",value:function(){this.emitEvent("initLayout"),this.renderStyle()}},{key:"initCustomColors",value:function(){var t=this;t.$item.find("[data-vp-bg-color]").each(function(){var e=c(this).attr("data-vp-bg-color");t.addStyle('[data-vp-bg-color="'.concat(e,'"]'),{"background-color":"".concat(e," !important")})}),t.$item.find("[data-vp-text-color]").each(function(){var e=c(this).attr("data-vp-text-color");t.addStyle('[data-vp-text-color="'.concat(e,'"]'),{color:"".concat(e," !important")})}),t.renderStyle(),t.emitEvent("initCustomColors")}},{key:"parseVideo",value:function(t){var e,i=!(!(e=t.match(/.*(?:youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=)([^#\&\?]*).*/))||11!==e[1].length)&&e[1],o=function(t){var e=t.match(/https?:\/\/(?:www\.|player\.)?vimeo.com\/(?:channels\/(?:\w+\/)?|groups\/([^\/]*)\/videos\/|album\/(\d+)\/video\/|video\/|)(\d+)(?:$|\/|\?)/);return!(!e||!e[3])&&e[3]}(t),n=t;return i?{vendor:"youtube",id:i,url:t,embedUrl:n="https://www.youtube.com/embed/".concat(i),embed:'<iframe width="1920" height="1080" src="'.concat(n,'" frameborder="0" allowfullscreen></iframe>')}:o?{vendor:"vimeo",id:o,url:t,embedUrl:n="//player.vimeo.com/video/".concat(o),embed:'<iframe width="1920" height="1080" src="'.concat(n,'" frameborder="0" allowfullscreen></iframe>')}:{vendor:"unknown",id:t,url:t,embedUrl:n,embed:'<iframe width="1920" height="1080" src="'.concat(t,'" frameborder="0" allowfullscreen></iframe>')}}},{key:"addItems",value:function(t,e,i){this.removeNoscriptTags(t),this.emitEvent("addItems",[t,e,i])}},{key:"removeItems",value:function(t){this.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]),c.get(t,{},function(t){t=t.replace("<body",'<body><div id="vp-infinite-load-body"').replace("</body>","</div></body>");var n=c(t).filter("#vp-infinite-load-body"),a=n.find(".vp-portfolio.vp-uid-".concat(o.uid));if(a.length){var s=a.find(".vp-portfolio__items").html();o.$filter.length&&o.$filter.each(function(){var t=c(this),e="";e=t.parent().hasClass("vp-single-filter")?n.find('[class="'.concat(t.parent().attr("class").replace(" vp-single-filter__ready",""),'"] .vp-portfolio__filter-wrap')).html():a.find(".vp-portfolio__filter-wrap").html(),t.html(e)}),o.$sort.length&&o.$sort.each(function(){var t=c(this),e="";e=t.parent().hasClass("vp-single-sort")?n.find('[class="'.concat(t.parent().attr("class").replace(" vp-single-sort__ready",""),'"] .vp-portfolio__sort-wrap')).html():a.find(".vp-portfolio__sort-wrap").html(),t.html(e)}),o.$pagination.length&&o.$pagination.html(a.find(".vp-portfolio__pagination-wrap").html()),o.addItems(c(s),e,a),o.emitEvent("loadedNewItems",[a,a,t])}var r=a.attr("data-vp-next-page-url");o.options.nextPageUrl=r,o.$item.attr("data-vp-next-page-url",r),o.$item.removeClass("vp-portfolio__loading"),o.loading=!1,o.emitEvent("endLoadingNewItems"),o.prepareLazyLoad(),o.initCustomColors(),i&&i()}))}}])&&l(e.prototype,i),o&&l(e,o),t}();c(document).on("lazybeforeunveil",function(t){var e=c(t.target);e.hasClass("visual-portfolio-lazyload")&&(e.closest(".vp-portfolio__item-img").addClass("vp-portfolio__item-img-lazyloading"),e.closest(".vp-portfolio__thumbnail-img").addClass("vp-portfolio__thumbnail-img-lazyloading"))}),c(document).on("lazyloaded",function(t){var e=c(t.target);e.hasClass("visual-portfolio-lazyload")&&(e.closest(".vp-portfolio__item-img-lazyloading").removeClass("vp-portfolio__item-img-lazyloading"),e.closest(".vp-portfolio__thumbnail-img-lazyloading").removeClass("vp-portfolio__thumbnail-img-lazyloading"))}),c(".elementor").length&&c(document).on("init.vpf addItems.vpf",function(t,e){"vpf"===t.namespace&&e.$item.find(".vp-portfolio__item a").each(function(){/\.(png|jpe?g|gif|svg)(\?.*)?$/i.test(this.href)&&c(this).attr("data-elementor-open-lightbox","no")})}),c(document).trigger("extendClass.vpf",[w]);var b=function(t){var e,i=Array.prototype.slice.call(arguments,1);return this.each(function(){if(void 0===e)if("object"===r(t)||void 0===t)this.vpf||(this.vpf=new w(c(this),t));else if(this.vpf){var o;e=(o=this.vpf)[t].apply(o,s(i))}}),void 0!==e?e:this};b.constructor=w;var $=jQuery.fn.vpf;jQuery.fn.vpf=b,jQuery.fn.vpf.noConflict=function(){return jQuery.fn.vpf=$,this},c(".vp-portfolio").vpf(),c(function(){c(".vp-portfolio").vpf()});var L=Object(o.b)(200,function(){a()(function(){c(".vp-portfolio:not(.vp-portfolio__ready)").vpf()})});window.MutationObserver?new window.MutationObserver(L).observe(document.documentElement,{childList:!0,subtree:!0}):c(document).on("DOMContentLoaded DOMNodeInserted load",function(){L()})},20:function(t,e,i){(function(e){var i;i="undefined"!=typeof window?window:void 0!==e?e:"undefined"!=typeof self?self:{},t.exports=i}).call(this,i(21))},21:function(t,e){var i;i=function(){return this}();try{i=i||new Function("return this")()}catch(t){"object"==typeof window&&(i=window)}t.exports=i}});
|
1 |
+
!function(t){var e={};function i(o){if(e[o])return e[o].exports;var n=e[o]={i:o,l:!1,exports:{}};return t[o].call(n.exports,n,n.exports,i),n.l=!0,n.exports}i.m=t,i.c=e,i.d=function(t,e,o){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(i.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)i.d(o,n,function(e){return t[e]}.bind(null,n));return o},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=18)}({0:function(t,e,i){"use strict";function o(t,e,i,o){var n,a=!1,s=0;function r(){n&&clearTimeout(n)}function l(){var l=this,c=Date.now()-s,d=arguments;function f(){s=Date.now(),i.apply(l,d)}a||(o&&!n&&f(),r(),void 0===o&&c>t?f():!0!==e&&(n=setTimeout(o?function(){n=void 0}:f,void 0===o?t-c:t)))}return"boolean"!=typeof e&&(o=i,i=e,e=void 0),l.cancel=function(){r(),a=!0},l}function n(t,e,i){return void 0===i?o(t,e,!1):o(t,i,!1!==e)}i.d(e,"b",(function(){return o})),i.d(e,"a",(function(){return n}))},1:function(t,e,i){var o=i(20),n=o.requestAnimationFrame||o.webkitRequestAnimationFrame||o.mozRequestAnimationFrame||function(t){var e=+new Date,i=Math.max(0,16-(e-a)),o=setTimeout(t,i);return a=e,o},a=+new Date;var s=o.cancelAnimationFrame||o.webkitCancelAnimationFrame||o.mozCancelAnimationFrame||clearTimeout;Function.prototype.bind&&(n=n.bind(o),s=s.bind(o)),(t.exports=n).cancel=s},18:function(t,e,i){t.exports=i(19)},19:function(t,e,i){"use strict";i.r(e);var o=i(0),n=i(1),a=i.n(n);function s(t){return function(t){if(Array.isArray(t)){for(var e=0,i=new Array(t.length);e<t.length;e++)i[e]=t[e];return i}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function r(t){return(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})(t)}function l(t,e){for(var i=0;i<e.length;i++){var o=e[i];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}var c=jQuery,d=window,f=d.VPData,v=d.objectFitImages,p=f.__,u=c(window);function m(){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)}}void 0!==v&&(v(".vp-portfolio img:not(.visual-portfolio-lazyload)"),c(document).on("lazybeforeunveil",(function(t){var e=c(t.target);e.hasClass("visual-portfolio-lazyload")&&e.one("load",(function(){v(e[0])}))})));var h={},y=!1,g=!1;function _(){if(clearTimeout(g),y){var t=c(".vp-portfolio__ready");if(t.length){var e=!1;t.each((function(){var t=this.vpf;if(t){var i=h[t.uid]||"none";h[t.uid]=null===this.offsetParent?"hidden":"visible","hidden"===i&&"visible"===h[t.uid]&&(e=!0)}})),e&&m()}else y=!1;g=setTimeout(_,500)}}c(document).on("inited.vpf",(function(t){"vpf"===t.namespace&&(y=!0,_())}));var w=function(){function t(e,i){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);this.$item=e;for(var o=e[0].className.split(/\s+/),n=0;n<o.length;n++)o[n]&&/^vp-uid-/.test(o[n])&&(this.uid=o[n].replace(/^vp-uid-/,"")),o[n]&&/^vp-id-/.test(o[n])&&(this.id=o[n].replace(/^vp-id-/,""));this.uid?(this.$items_wrap=e.find(".vp-portfolio__items"),this.$slider_thumbnails_wrap=e.find(".vp-portfolio__thumbnails"),this.$pagination=e.find(".vp-portfolio__pagination-wrap"),this.$filter=e.find(".vp-portfolio__filter-wrap"),this.$sort=e.find(".vp-portfolio__sort-wrap"),this.id&&(this.$filter=this.$filter.add(".vp-single-filter.vp-id-".concat(this.id," .vp-portfolio__filter-wrap"))),this.id&&(this.$sort=this.$sort.add(".vp-single-sort.vp-id-".concat(this.id," .vp-portfolio__sort-wrap"))),this.userOptions=i,this.firstRun=!0,this.init()):console.error(p.couldnt_retrieve_vp)}var e,i,o;return e=t,(i=[{key:"emitEvent",value:function(t,e){e=e?[this].concat(e):[this],this.$item.trigger("".concat(t,".vpf"),e),this.$item.trigger("".concat(t,".vpf-uid-").concat(this.uid),e)}},{key:"init",value:function(){this.firstRun||this.destroy(),this.destroyed=!1,this.removeNoscriptTags(this.$items_wrap),this.initOptions(),this.initEvents(),this.prepareLazyLoad(),this.initLayout(),this.initCustomColors(),this.emitEvent("init"),this.$item.addClass("vp-portfolio__ready"),this.id&&(c(".vp-single-filter.vp-id-".concat(this.id)).addClass("vp-single-filter__ready"),c(".vp-single-sort.vp-id-".concat(this.id)).addClass("vp-single-sort__ready")),this.resized(),this.imagesLoaded(),this.emitEvent("inited"),this.firstRun=!1}},{key:"isPreview",value:function(){return!!this.$item.closest("#vp_preview").length}},{key:"resized",value:function(){m(),this.emitEvent("resized")}},{key:"imagesLoaded",value:function(){var t=this;this.$items_wrap.imagesLoaded&&this.$items_wrap.imagesLoaded((function(){t.emitEvent("imagesLoaded")}))}},{key:"destroy",value:function(){this.$item.removeClass("vp-portfolio__ready"),this.id&&(c(".vp-single-filter.vp-id-".concat(this.id)).removeClass("vp-single-filter__ready"),c(".vp-single-sort.vp-id-".concat(this.id)).removeClass("vp-single-sort__ready")),this.destroyEvents(),this.removeStyle(),this.renderStyle(),this.emitEvent("destroy"),this.destroyed=!0}},{key:"addStyle",value:function(t,e,i){i=i||"";var o=this.uid;this.stylesList||(this.stylesList={}),void 0===this.stylesList[o]&&(this.stylesList[o]={}),void 0===this.stylesList[o][i]&&(this.stylesList[o][i]={}),void 0===this.stylesList[o][i][t]&&(this.stylesList[o][i][t]={}),this.stylesList[o][i][t]=c.extend(this.stylesList[o][i][t],e),this.emitEvent("addStyle",[t,e,i,this.stylesList])}},{key:"removeStyle",value:function(t,e,i){i=i||"";var o=this.uid;this.stylesList||(this.stylesList={}),void 0===this.stylesList[o]||t||(this.stylesList[o]={}),void 0!==this.stylesList[o]&&void 0!==this.stylesList[o][i]&&void 0!==this.stylesList[o][i][t]&&t&&delete this.stylesList[o][i][t],this.emitEvent("removeStyle",[t,e,this.stylesList])}},{key:"renderStyle",value:function(){var t=this,e=t.uid,i="";t.stylesList||(t.stylesList={}),void 0!==t.stylesList[e]&&Object.keys(t.stylesList[e]).forEach((function(o){o&&(i+="@media ".concat(o," {")),Object.keys(t.stylesList[e][o]).forEach((function(n){i+=".vp-uid-".concat(e," ").concat(n," {"),Object.keys(t.stylesList[e][o][n]).forEach((function(a){i+="".concat(a,":").concat(t.stylesList[e][o][n][a],";")})),i+="}"})),o&&(i+="}")}));var o=c("#vp-style-".concat(e));o.length||(o=c("<style>").attr("id","vp-style-".concat(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,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=c.extend({},e.defaults,o,e.userOptions),e.emitEvent("initOptions")}},{key:"initEvents",value:function(){var t,e=this,i=".vpf-uid-".concat(e.uid);function o(){var t=e.$item[0].getBoundingClientRect(),i=t.left,o=window.innerWidth-t.right,n=parseFloat(e.$item.css("margin-left")||0),a=parseFloat(e.$item.css("margin-right")||0);e.$item.css({"margin-left":n-i,"margin-right":a-o})}e.$item.hasClass("vp-portfolio__stretch")&&(u.on("load".concat(i," resize").concat(i," orientationchange").concat(i),(function(){o()})),o()),e.$filter.on("click".concat(i),".vp-filter .vp-filter__item a",(function(t){t.preventDefault();var i=c(this);e.loading||i.closest(".vp-filter__item").addClass("vp-filter__item-active").siblings().removeClass("vp-filter__item-active"),e.loadNewItems(i.attr("href"),!0)})),e.$sort.on("click".concat(i),".vp-sort .vp-sort__item a",(function(t){t.preventDefault();var i=c(this);e.loading||i.closest(".vp-sort__item").addClass("vp-sort__item-active").siblings().removeClass("vp-sort__item-active"),e.loadNewItems(i.attr("href"),!0)})),e.$filter.add(e.$sort).on("change".concat(i),".vp-filter select, .vp-sort select",(function(){var t=c(this),i=t.val(),o=t.find('[value="'.concat(i,'"]'));o.length&&e.loadNewItems(o.attr("data-vp-url"),!0)})),e.$item.on("click".concat(i),".vp-pagination .vp-pagination__item a",(function(t){t.preventDefault();var i=c(this);i.hasClass("vp-pagination__no-more")&&"paged"!==e.options.pagination||e.loadNewItems(i.attr("href"),"paged"===e.options.pagination)})),e.$item.on("click".concat(i),".vp-portfolio__items .vp-portfolio__item-meta-category a",(function(t){t.preventDefault(),t.stopPropagation(),e.loadNewItems(c(this).attr("href"),!0)}));var n=250;function a(){var t=e.$item[0].getBoundingClientRect();t.bottom>0&&t.bottom-n<=window.innerHeight&&e.loadNewItems(e.options.nextPageUrl,!1,(function(){a()}))}"infinite"===e.options.pagination&&(u.on("load".concat(i," scroll").concat(i," resize").concat(i," orientationchange").concat(i),(function(){clearTimeout(t),t=setTimeout((function(){a()}),60)})),a()),e.$item.on("transitionend".concat(i),".vp-portfolio__items",(function(t){t.currentTarget===t.target&&e.resized()})),e.emitEvent("initEvents")}},{key:"destroyEvents",value:function(){var t=".vpf-uid-".concat(this.uid);this.$item.off(t),this.$filter.off(t),this.$sort.off(t),u.off(t),this.emitEvent("destroyEvents")}},{key:"prepareLazyLoad",value:function(){var t=window.lazySizes&&window.lazySizes.cfg?window.lazySizes.cfg:window.lazySizesConfig;if(t){var e={"data-vpf-src":t.srcAttr,"data-vpf-sizes":t.sizesAttr,"data-vpf-srcset":t.srcsetAttr};this.$items_wrap.add(this.$slider_thumbnails_wrap).find(".visual-portfolio-lazyload:not(.".concat(t.lazyClass,")")).each((function(){var i=c(this);Object.keys(e).forEach((function(t){e[t]&&t!==e[t]&&i.attr(t)&&(i.attr(e[t],i.attr(t)),i.removeAttr(t))})),i.addClass(t.lazyClass)}))}}},{key:"removeNoscriptTags",value:function(t){t.find("noscript").remove()}},{key:"initLayout",value:function(){this.emitEvent("initLayout"),this.renderStyle()}},{key:"initCustomColors",value:function(){var t=this;t.$item.find("[data-vp-bg-color]").each((function(){var e=c(this).attr("data-vp-bg-color");t.addStyle('[data-vp-bg-color="'.concat(e,'"]'),{"background-color":"".concat(e," !important")})})),t.$item.find("[data-vp-text-color]").each((function(){var e=c(this).attr("data-vp-text-color");t.addStyle('[data-vp-text-color="'.concat(e,'"]'),{color:"".concat(e," !important")})})),t.renderStyle(),t.emitEvent("initCustomColors")}},{key:"parseVideo",value:function(t){var e,i=!(!(e=t.match(/.*(?:youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=)([^#\&\?]*).*/))||11!==e[1].length)&&e[1],o=function(t){var e=t.match(/https?:\/\/(?:www\.|player\.)?vimeo.com\/(?:channels\/(?:\w+\/)?|groups\/([^\/]*)\/videos\/|album\/(\d+)\/video\/|video\/|)(\d+)(?:$|\/|\?)/);return!(!e||!e[3])&&e[3]}(t),n=t;return i?{vendor:"youtube",id:i,url:t,embedUrl:n="https://www.youtube.com/embed/".concat(i),embed:'<iframe width="1920" height="1080" src="'.concat(n,'" frameborder="0" allowfullscreen></iframe>')}:o?{vendor:"vimeo",id:o,url:t,embedUrl:n="//player.vimeo.com/video/".concat(o),embed:'<iframe width="1920" height="1080" src="'.concat(n,'" frameborder="0" allowfullscreen></iframe>')}:{vendor:"unknown",id:t,url:t,embedUrl:n,embed:'<iframe width="1920" height="1080" src="'.concat(t,'" frameborder="0" allowfullscreen></iframe>')}}},{key:"addItems",value:function(t,e,i){this.removeNoscriptTags(t),this.emitEvent("addItems",[t,e,i])}},{key:"removeItems",value:function(t){this.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]),c.get(t,{},(function(t){t=t.replace("<body",'<body><div id="vp-infinite-load-body"').replace("</body>","</div></body>");var n=c(t).filter("#vp-infinite-load-body"),a=n.find(".vp-portfolio.vp-uid-".concat(o.uid));if(a.length){var s=a.find(".vp-portfolio__items").html();o.$filter.length&&o.$filter.each((function(){var t=c(this),e="";e=t.parent().hasClass("vp-single-filter")?n.find('[class="'.concat(t.parent().attr("class").replace(" vp-single-filter__ready",""),'"] .vp-portfolio__filter-wrap')).html():a.find(".vp-portfolio__filter-wrap").html(),t.html(e)})),o.$sort.length&&o.$sort.each((function(){var t=c(this),e="";e=t.parent().hasClass("vp-single-sort")?n.find('[class="'.concat(t.parent().attr("class").replace(" vp-single-sort__ready",""),'"] .vp-portfolio__sort-wrap')).html():a.find(".vp-portfolio__sort-wrap").html(),t.html(e)})),o.$pagination.length&&o.$pagination.html(a.find(".vp-portfolio__pagination-wrap").html()),o.addItems(c(s),e,a),o.emitEvent("loadedNewItems",[a,a,t])}var r=a.attr("data-vp-next-page-url");o.options.nextPageUrl=r,o.$item.attr("data-vp-next-page-url",r),o.$item.removeClass("vp-portfolio__loading"),o.loading=!1,o.emitEvent("endLoadingNewItems"),o.prepareLazyLoad(),o.initCustomColors(),i&&i()})))}}])&&l(e.prototype,i),o&&l(e,o),t}();c(document).on("lazybeforeunveil",(function(t){var e=c(t.target);e.hasClass("visual-portfolio-lazyload")&&(e.closest(".vp-portfolio__item-img").addClass("vp-portfolio__item-img-lazyloading"),e.closest(".vp-portfolio__thumbnail-img").addClass("vp-portfolio__thumbnail-img-lazyloading"))})),c(document).on("lazyloaded",(function(t){var e=c(t.target);e.hasClass("visual-portfolio-lazyload")&&(e.closest(".vp-portfolio__item-img-lazyloading").removeClass("vp-portfolio__item-img-lazyloading"),e.closest(".vp-portfolio__thumbnail-img-lazyloading").removeClass("vp-portfolio__thumbnail-img-lazyloading"))})),c(".elementor").length&&c(document).on("init.vpf addItems.vpf",(function(t,e){"vpf"===t.namespace&&e.$item.find(".vp-portfolio__item a").each((function(){/\.(png|jpe?g|gif|svg)(\?.*)?$/i.test(this.href)&&c(this).attr("data-elementor-open-lightbox","no")}))})),c(document).trigger("extendClass.vpf",[w]);var b=function(t){var e,i=Array.prototype.slice.call(arguments,1);return this.each((function(){if(void 0===e)if("object"===r(t)||void 0===t)this.vpf||(this.vpf=new w(c(this),t));else if(this.vpf){var o;e=(o=this.vpf)[t].apply(o,s(i))}})),void 0!==e?e:this};b.constructor=w;var $=jQuery.fn.vpf;jQuery.fn.vpf=b,jQuery.fn.vpf.noConflict=function(){return jQuery.fn.vpf=$,this},c(".vp-portfolio").vpf(),c((function(){c(".vp-portfolio").vpf()}));var L=Object(o.b)(200,(function(){a()((function(){c(".vp-portfolio:not(.vp-portfolio__ready)").vpf()}))}));window.MutationObserver?new window.MutationObserver(L).observe(document.documentElement,{childList:!0,subtree:!0}):c(document).on("DOMContentLoaded DOMNodeInserted load",(function(){L()}))},20:function(t,e,i){(function(e){var i;i="undefined"!=typeof window?window:void 0!==e?e:"undefined"!=typeof self?self:{},t.exports=i}).call(this,i(21))},21:function(t,e){var i;i=function(){return this}();try{i=i||new Function("return this")()}catch(t){"object"==typeof window&&(i=window)}t.exports=i}});
|
assets/js/plugin-fancybox.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(o){var t={};function e(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return o[n].call(i.exports,i,i.exports,e),i.l=!0,i.exports}e.m=o,e.c=t,e.d=function(o,t,n){e.o(o,t)||Object.defineProperty(o,t,{enumerable:!0,get:n})},e.r=function(o){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(o,"__esModule",{value:!0})},e.t=function(o,t){if(1&t&&(o=e(o)),8&t)return o;if(4&t&&"object"==typeof o&&o&&o.__esModule)return o;var n=Object.create(null);if(e.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:o}),2&t&&"string"!=typeof o)for(var i in o)e.d(n,i,function(t){return o[t]}.bind(null,i));return n},e.n=function(o){var t=o&&o.__esModule?function(){return o.default}:function(){return o};return e.d(t,"a",t),t},e.o=function(o,t){return Object.prototype.hasOwnProperty.call(o,t)},e.p="",e(e.s=22)}({22:function(o,t,e){o.exports=e(23)},23:function(o,t){var e=window.jQuery,n=window.VPData,i=n.__,r=n.settingsPopupGallery,p=e(window);e(document).on("extendClass.vpf",function(o,t){"vpf"===o.namespace&&(t.prototype.initFancybox=function(){var o,t=this;if(void 0!==e.fancybox&&t.options.itemsClickAction&&"popup_gallery"===t.options.itemsClickAction&&"fancybox"===r.vendor&&!t.isPreview()){var n=function(n,p){var s=function(o){var n,i,r,p,s,a,c=e(o).find(".vp-portfolio__item-wrap"),u=[];return c.each(function(){if((n=e(this).find(".vp-portfolio__item-popup"))&&n.length){if(i=(n.attr("data-vp-popup-img-size")||"1920x1080").split("x"),r="1920x1080".split("x"),s=n.attr("data-vp-popup-video"),a=!1,s&&(a=t.parseVideo(s)),a)p={type:"iframe",src:a.embedUrl,opts:{width:parseInt(r[0],10),height:parseInt(r[1],10)}};else{p={type:"image",src:n.attr("data-vp-popup-img"),opts:{width:parseInt(i[0],10),height:parseInt(i[1],10),srcset:n.attr("data-vp-popup-img-srcset")}};var o=n.children(".vp-portfolio__item-popup-title").get(0),c=n.children(".vp-portfolio__item-popup-description").get(0);(o||c)&&(p.opts.caption=(o?o.outerHTML:"")+(c?c.outerHTML:"")),p.el=this;var f=n.attr("data-vp-popup-sm-img")||p.src;f&&(p.opts.thumb=f)}u.push(p)}}),u}(p),a=[];r.show_zoom_button&&a.push("zoom"),r.show_fullscreen_button&&a.push("fullScreen"),r.show_slideshow&&a.push("slideShow"),r.show_thumbs&&a.push("thumbs"),r.show_share_button&&a.push("share"),r.show_download_button&&a.push("download"),r.show_close_button&&a.push("close");var c={closeExisting:!0,loop:!0,arrows:r.show_arrows,infobar:r.show_counter,smallBtn:!1,toolbar:"auto",buttons:a,baseClass:"vp-fancybox",hideScrollbar:!1,wheel:!1,lang:"wordpress",i18n:{wordpress:{CLOSE:i.fancybox_close,NEXT:i.fancybox_next,PREV:i.fancybox_prev,ERROR:i.fancybox_error,PLAY_START:i.fancybox_play_start,PLAY_STOP:i.fancybox_play_stop,FULL_SCREEN:i.fancybox_full_screen,THUMBS:i.fancybox_thumbs,DOWNLOAD:i.fancybox_download,SHARE:i.fancybox_share,ZOOM:i.fancybox_zoom}},beforeClose:function(){o=!1}};t.emitEvent("beforeInitFancybox",[c,s,n]),o=e.fancybox.open(s,c,n),t.emitEvent("initFancybox",[c,s,n])};t.$item.on("click.vpf-uid-".concat(t.uid),".vp-portfolio__item",function(o){if(e(this).closest(".vp-portfolio__item-wrap").find(".vp-portfolio__item-popup").length){o.preventDefault();var i=-1,r=this;t.$item.find(".vp-portfolio__item-wrap .vp-portfolio__item-popup").each(function(o){-1===i&&e(this).closest(".vp-portfolio__item-wrap").find(".vp-portfolio__item")[0]===r&&(i=o)}),i<0&&(i=0),n(i,t.$item[0])}}),p.on("scroll.vpf-uid-".concat(t.uid),function(){o&&(o.close(),o=!1)})}},t.prototype.destroyFancybox=function(){void 0!==e.fancybox&&this.options.itemsClickAction&&"popup_gallery"===this.options.itemsClickAction&&"fancybox"===r.vendor&&(this.$item.off("click.vpf-uid-".concat(this.uid)),this.emitEvent("destroyFancybox"))})}),e(document).on("init.vpf",function(o,t){"vpf"===o.namespace&&t.initFancybox()}),e(document).on("destroy.vpf",function(o,t){"vpf"===o.namespace&&t.destroyFancybox()})}});
|
1 |
+
!function(o){var t={};function e(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return o[n].call(i.exports,i,i.exports,e),i.l=!0,i.exports}e.m=o,e.c=t,e.d=function(o,t,n){e.o(o,t)||Object.defineProperty(o,t,{enumerable:!0,get:n})},e.r=function(o){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(o,"__esModule",{value:!0})},e.t=function(o,t){if(1&t&&(o=e(o)),8&t)return o;if(4&t&&"object"==typeof o&&o&&o.__esModule)return o;var n=Object.create(null);if(e.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:o}),2&t&&"string"!=typeof o)for(var i in o)e.d(n,i,function(t){return o[t]}.bind(null,i));return n},e.n=function(o){var t=o&&o.__esModule?function(){return o.default}:function(){return o};return e.d(t,"a",t),t},e.o=function(o,t){return Object.prototype.hasOwnProperty.call(o,t)},e.p="",e(e.s=22)}({22:function(o,t,e){o.exports=e(23)},23:function(o,t){var e=window.jQuery,n=window.VPData,i=n.__,r=n.settingsPopupGallery,p=e(window);e(document).on("extendClass.vpf",(function(o,t){"vpf"===o.namespace&&(t.prototype.initFancybox=function(){var o,t=this;if(void 0!==e.fancybox&&t.options.itemsClickAction&&"popup_gallery"===t.options.itemsClickAction&&"fancybox"===r.vendor&&!t.isPreview()){var n=function(n,p){var s=function(o){var n,i,r,p,s,a,c=e(o).find(".vp-portfolio__item-wrap"),u=[];return c.each((function(){if((n=e(this).find(".vp-portfolio__item-popup"))&&n.length){if(i=(n.attr("data-vp-popup-img-size")||"1920x1080").split("x"),r="1920x1080".split("x"),s=n.attr("data-vp-popup-video"),a=!1,s&&(a=t.parseVideo(s)),a)p={type:"iframe",src:a.embedUrl,opts:{width:parseInt(r[0],10),height:parseInt(r[1],10)}};else{p={type:"image",src:n.attr("data-vp-popup-img"),opts:{width:parseInt(i[0],10),height:parseInt(i[1],10),srcset:n.attr("data-vp-popup-img-srcset")}};var o=n.children(".vp-portfolio__item-popup-title").get(0),c=n.children(".vp-portfolio__item-popup-description").get(0);(o||c)&&(p.opts.caption=(o?o.outerHTML:"")+(c?c.outerHTML:"")),p.el=this;var f=n.attr("data-vp-popup-sm-img")||p.src;f&&(p.opts.thumb=f)}u.push(p)}})),u}(p),a=[];r.show_zoom_button&&a.push("zoom"),r.show_fullscreen_button&&a.push("fullScreen"),r.show_slideshow&&a.push("slideShow"),r.show_thumbs&&a.push("thumbs"),r.show_share_button&&a.push("share"),r.show_download_button&&a.push("download"),r.show_close_button&&a.push("close");var c={closeExisting:!0,loop:!0,arrows:r.show_arrows,infobar:r.show_counter,smallBtn:!1,toolbar:"auto",buttons:a,baseClass:"vp-fancybox",hideScrollbar:!1,wheel:!1,lang:"wordpress",i18n:{wordpress:{CLOSE:i.fancybox_close,NEXT:i.fancybox_next,PREV:i.fancybox_prev,ERROR:i.fancybox_error,PLAY_START:i.fancybox_play_start,PLAY_STOP:i.fancybox_play_stop,FULL_SCREEN:i.fancybox_full_screen,THUMBS:i.fancybox_thumbs,DOWNLOAD:i.fancybox_download,SHARE:i.fancybox_share,ZOOM:i.fancybox_zoom}},beforeClose:function(){o=!1}};t.emitEvent("beforeInitFancybox",[c,s,n]),o=e.fancybox.open(s,c,n),t.emitEvent("initFancybox",[c,s,n])};t.$item.on("click.vpf-uid-".concat(t.uid),".vp-portfolio__item",(function(o){if(e(this).closest(".vp-portfolio__item-wrap").find(".vp-portfolio__item-popup").length){o.preventDefault();var i=-1,r=this;t.$item.find(".vp-portfolio__item-wrap .vp-portfolio__item-popup").each((function(o){-1===i&&e(this).closest(".vp-portfolio__item-wrap").find(".vp-portfolio__item")[0]===r&&(i=o)})),i<0&&(i=0),n(i,t.$item[0])}})),p.on("scroll.vpf-uid-".concat(t.uid),(function(){o&&(o.close(),o=!1)}))}},t.prototype.destroyFancybox=function(){void 0!==e.fancybox&&this.options.itemsClickAction&&"popup_gallery"===this.options.itemsClickAction&&"fancybox"===r.vendor&&(this.$item.off("click.vpf-uid-".concat(this.uid)),this.emitEvent("destroyFancybox"))})})),e(document).on("init.vpf",(function(o,t){"vpf"===o.namespace&&t.initFancybox()})),e(document).on("destroy.vpf",(function(o,t){"vpf"===o.namespace&&t.destroyFancybox()}))}});
|
assets/js/plugin-fj-gallery.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},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,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=24)}({24:function(e,t,n){e.exports=n(25)},25:function(e,t){var n=window.jQuery;n(document).on("extendClass.vpf",function(e,t){"vpf"===e.namespace&&(t.prototype.initFjGallery=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(
|
1 |
+
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},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,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=24)}({24:function(e,t,n){e.exports=n(25)},25:function(e,t){var n=window.jQuery;n(document).on("extendClass.vpf",(function(e,t){"vpf"===e.namespace&&(t.prototype.initFjGallery=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=this;if(n.$items_wrap.fjGallery&&"justified"===n.options.layout){var r=!1!==e?e:{gutter:parseFloat(n.options.itemsGap)||0,rowHeight:parseFloat(n.options.justifiedRowHeight)||200,rowHeightTolerance:parseFloat(n.options.justifiedRowHeightTolerance)||0,itemSelector:".vp-portfolio__item-wrap",imageSelector:".vp-portfolio__item-img img"};n.emitEvent("beforeInitFjGallery",[r,t]),n.$items_wrap.fjGallery(r,t),n.emitEvent("initFjGallery",[r,t])}},t.prototype.destroyFjGallery=function(){this.$items_wrap.data("fjGallery")&&(this.$items_wrap.fjGallery("destroy"),this.emitEvent("destroyFjGallery"))})})),n(document).on("addItems.vpf",(function(e,t,n,r){"vpf"===e.namespace&&(t.$items_wrap.data("fjGallery")&&(r?(t.destroyFjGallery(),t.$items_wrap.find(".vp-portfolio__item-wrap").remove(),t.$items_wrap.prepend(n),t.initFjGallery()):(t.$items_wrap.append(n),t.initFjGallery("appendImages",n))))})),n(document).on("init.vpf",(function(e,t){"vpf"===e.namespace&&t.initFjGallery()})),n(document).on("imagesLoaded.vpf",(function(e,t){"vpf"===e.namespace&&t.initFjGallery()})),n(document).on("destroy.vpf",(function(e,t){"vpf"===e.namespace&&t.destroyFjGallery()}))}});
|
assets/js/plugin-isotope.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(t){var o={};function e(n){if(o[n])return o[n].exports;var i=o[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,e),i.l=!0,i.exports}e.m=t,e.c=o,e.d=function(t,o,n){e.o(t,o)||Object.defineProperty(t,o,{enumerable:!0,get:n})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,o){if(1&o&&(t=e(t)),8&o)return t;if(4&o&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(e.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&o&&"string"!=typeof t)for(var i in t)e.d(n,i,function(o){return t[o]}.bind(null,i));return 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,o){return Object.prototype.hasOwnProperty.call(t,o)},e.p="",e(e.s=26)}({0:function(t,o,e){"use strict";function n(t,o,e,n){var i,r=!1,p=0;function s(){i&&clearTimeout(i)}function a(){var a=this,u=Date.now()-p,f=arguments;function c(){p=Date.now(),e.apply(a,f)}r||(n&&!i&&c(),s(),void 0===n&&u>t?c():!0!==o&&(i=setTimeout(n?function(){i=void 0}:c,void 0===n?t-u:t)))}return"boolean"!=typeof o&&(n=e,e=o,o=void 0),a.cancel=function(){s(),r=!0},a}function i(t,o,e){return void 0===e?n(t,o,!1):n(t,e,!1!==o)}e.d(o,"b",function(){return n}),e.d(o,"a",function(){return i})},26:function(t,o,e){t.exports=e(27)},27:function(t,o,e){"use strict";e.r(o);var n=e(0),i=window.jQuery,r=i(document);r.on("extendClass.vpf",function(t,o){"vpf"===t.namespace&&(o.prototype.initIsotope=function(t){if(this.$items_wrap.isotope&&("tiles"===this.options.layout||"masonry"===this.options.layout||"grid"===this.options.layout)){var o=t||{itemSelector:".vp-portfolio__item-wrap",layoutMode:"grid"===this.options.layout?"fitRows":"masonry",transitionDuration:"0.3s",percentPosition:!0};this.emitEvent("beforeInitIsotope",[t]),this.$items_wrap.isotope(o),this.emitEvent("initIsotope",[t])}},o.prototype.destroyIsotope=function(){this.$items_wrap.data("isotope")&&(this.$items_wrap.isotope("destroy"),this.emitEvent("destroyIsotope"))})}),r.on("addItems.vpf",function(t,o,e,n){if("vpf"===t.namespace&&o.$items_wrap.data("isotope")){if(n){var i=o.$items_wrap.find(".vp-portfolio__item-wrap");o.$items_wrap.isotope("remove",i),o.$items_wrap.prepend(e).isotope("prepended",e)}else o.$items_wrap.append(e).isotope("appended",e);setTimeout(function(){o.initIsotope("layout")},0)}}),r.on("removeItems.vpf",function(t,o,e){"vpf"===t.namespace&&(o.$items_wrap.data("isotope")&&o.$items_wrap.isotope("remove",e))}),r.on("init.vpf",function(t,o){"vpf"===t.namespace&&o.initIsotope()}),r.on("imagesLoaded.vpf",function(t,o){"vpf"===t.namespace&&o.initIsotope("layout")}),r.on("destroy.vpf",function(t,o){"vpf"===t.namespace&&o.destroyIsotope()}),r.on("vc-full-width-row",Object(n.a)(150,function(t,o){i(o).find(".vp-portfolio").each(function(){this.vpf&&this.vpf.initIsotope&&(this.vpf.$items_wrap.data("isotope")&&this.vpf.initIsotope("layout"))})}))}});
|
1 |
+
!function(t){var o={};function e(n){if(o[n])return o[n].exports;var i=o[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,e),i.l=!0,i.exports}e.m=t,e.c=o,e.d=function(t,o,n){e.o(t,o)||Object.defineProperty(t,o,{enumerable:!0,get:n})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,o){if(1&o&&(t=e(t)),8&o)return t;if(4&o&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(e.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&o&&"string"!=typeof t)for(var i in t)e.d(n,i,function(o){return t[o]}.bind(null,i));return 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,o){return Object.prototype.hasOwnProperty.call(t,o)},e.p="",e(e.s=26)}({0:function(t,o,e){"use strict";function n(t,o,e,n){var i,r=!1,p=0;function s(){i&&clearTimeout(i)}function a(){var a=this,u=Date.now()-p,f=arguments;function c(){p=Date.now(),e.apply(a,f)}r||(n&&!i&&c(),s(),void 0===n&&u>t?c():!0!==o&&(i=setTimeout(n?function(){i=void 0}:c,void 0===n?t-u:t)))}return"boolean"!=typeof o&&(n=e,e=o,o=void 0),a.cancel=function(){s(),r=!0},a}function i(t,o,e){return void 0===e?n(t,o,!1):n(t,e,!1!==o)}e.d(o,"b",(function(){return n})),e.d(o,"a",(function(){return i}))},26:function(t,o,e){t.exports=e(27)},27:function(t,o,e){"use strict";e.r(o);var n=e(0),i=window.jQuery,r=i(document);r.on("extendClass.vpf",(function(t,o){"vpf"===t.namespace&&(o.prototype.initIsotope=function(t){if(this.$items_wrap.isotope&&("tiles"===this.options.layout||"masonry"===this.options.layout||"grid"===this.options.layout)){var o=t||{itemSelector:".vp-portfolio__item-wrap",layoutMode:"grid"===this.options.layout?"fitRows":"masonry",transitionDuration:"0.3s",percentPosition:!0};this.emitEvent("beforeInitIsotope",[t]),this.$items_wrap.isotope(o),this.emitEvent("initIsotope",[t])}},o.prototype.destroyIsotope=function(){this.$items_wrap.data("isotope")&&(this.$items_wrap.isotope("destroy"),this.emitEvent("destroyIsotope"))})})),r.on("addItems.vpf",(function(t,o,e,n){if("vpf"===t.namespace&&o.$items_wrap.data("isotope")){if(n){var i=o.$items_wrap.find(".vp-portfolio__item-wrap");o.$items_wrap.isotope("remove",i),o.$items_wrap.prepend(e).isotope("prepended",e)}else o.$items_wrap.append(e).isotope("appended",e);setTimeout((function(){o.initIsotope("layout")}),0)}})),r.on("removeItems.vpf",(function(t,o,e){"vpf"===t.namespace&&(o.$items_wrap.data("isotope")&&o.$items_wrap.isotope("remove",e))})),r.on("init.vpf",(function(t,o){"vpf"===t.namespace&&o.initIsotope()})),r.on("imagesLoaded.vpf",(function(t,o){"vpf"===t.namespace&&o.initIsotope("layout")})),r.on("destroy.vpf",(function(t,o){"vpf"===t.namespace&&o.destroyIsotope()})),r.on("vc-full-width-row",Object(n.a)(150,(function(t,o){i(o).find(".vp-portfolio").each((function(){this.vpf&&this.vpf.initIsotope&&(this.vpf.$items_wrap.data("isotope")&&this.vpf.initIsotope("layout"))}))})))}});
|
assets/js/plugin-photoswipe.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(t){var e={};function i(o){if(e[o])return e[o].exports;var n=e[o]={i:o,l:!1,exports:{}};return t[o].call(n.exports,n,n.exports,i),n.l=!0,n.exports}i.m=t,i.c=e,i.d=function(t,e,o){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(i.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)i.d(o,n,function(e){return t[e]}.bind(null,n));return o},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=28)}({28:function(t,e,i){t.exports=i(29)},29:function(t,e){var i=window.jQuery,o=window,n=o.VPData,p=o.PhotoSwipe,s=o.PhotoSwipeUI_Default,r=n.__,a=n.settingsPopupGallery;i(document).on("extendClass.vpf",function(t,e){"vpf"===t.namespace&&(e.prototype.initPhotoswipe=function(){var t=this;if(void 0!==p&&t.options.itemsClickAction&&"popup_gallery"===t.options.itemsClickAction&&"photoswipe"===a.vendor&&!t.isPreview()){if(!i(".vp-pswp").length){var e='\n <div class="pswp vp-pswp vp-pswp-uid-'.concat(t.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 <button class="pswp__button pswp__button--close" title="').concat(r.pswp_close,'"></button>\n <button class="pswp__button pswp__button--share" title="').concat(r.pswp_share,'"></button>\n <button class="pswp__button pswp__button--fs" title="').concat(r.pswp_fs,'"></button>\n <button class="pswp__button pswp__button--zoom" title="').concat(r.pswp_zoom,'"></button>\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 <button class="pswp__button pswp__button--arrow--left" title="').concat(r.pswp_prev,'"></button>\n <button class="pswp__button pswp__button--arrow--right" title="').concat(r.pswp_next,'"></button>\n <div class="pswp__caption">\n <div class="pswp__caption__center"></div>\n </div>\n </div>\n </div>\n </div>\n ');i("body").append(e)}var o=function(e,o,n,c){var d=i(".vp-pswp"),u=d[0],v=function(e){var o,n,p,s,r,a,l=i(e).find(".vp-portfolio__item-wrap"),c=[];return l.each(function(){if((o=i(this).find(".vp-portfolio__item-popup"))&&o.length){if(n=(o.attr("data-vp-popup-img-size")||"1920x1080").split("x"),p="1920x1080".split("x"),r=o.attr("data-vp-popup-video"),a=!1,r&&(a=t.parseVideo(r)),a)s={html:'<div class="vp-pswp-video"><div>'.concat(a.embed,"</div></div>"),vw:parseInt(p[0],10),vh:parseInt(p[1],10)};else{s={src:o.attr("data-vp-popup-img"),w:parseInt(n[0],10),h:parseInt(n[1],10)};var e=o.children(".vp-portfolio__item-popup-title").get(0),l=o.children(".vp-portfolio__item-popup-description").get(0);(e||l)&&(s.title=(e?e.outerHTML:"")+(l?l.outerHTML:"")),s.el=this;var d=o.attr("data-vp-popup-md-img")||s.src;d&&(n=(o.attr("data-vp-popup-md-img-size")||o.attr("data-vp-popup-img-size")||"1920x1080").split("x"),s.m={src:d,w:parseInt(n[0],10),h:parseInt(n[1],10)},s.msrc=d),s.o={src:s.src,w:s.w,h:s.h}}c.push(s)}}),c}(o),_={captionAndToolbarShowEmptyCaptions:!1,closeEl:a.show_close_button,captionEl:!0,fullscreenEl:a.show_fullscreen_button,zoomEl:a.show_zoom_button,shareEl:a.show_share_button,counterEl:a.show_counter,arrowEl:a.show_arrows,shareButtons:[{id:"facebook",label:r.pswp_share_fb,url:"https://www.facebook.com/sharer/sharer.php?u={{url}}"},{id:"twitter",label:r.pswp_share_tw,url:"https://twitter.com/intent/tweet?text={{text}}&url={{url}}"},{id:"pinterest",label:r.pswp_share_pin,url:"https://www.pinterest.com/pin/create/button/?url={{url}}&media={{image_url}}&description={{text}}"}],bgOpacity:1,tapToClose:!1,tapToToggleControls:!0,showHideOpacity:!0,galleryUID:t.uid,getThumbBoundsFn:function(t){if(!v[t]||!v[t].el)return!1;var e=i(v[t].el).find("img")[0];if(!e)return!1;var o=e.getBoundingClientRect(),n=window.pageYOffset||document.documentElement.scrollTop,p=parseFloat(d.css("top"))||0;return{x:o.left,y:o.top+n-p,w:o.width,h:o.height}}};if(c)if(_.galleryPIDs){for(var w=0;w<v.length;w++)if(v[w].pid===e){_.index=w;break}}else _.index=parseInt(e,10)-1;else _.index=parseInt(e,10);if(!isNaN(_.index)){n&&(_.showAnimationDuration=0),t.emitEvent("beforeInitPhotoSwipe",[_,v,e]);var f,h,m=new p(u,s,v,_),b=!1,g=!0;m.listen("beforeResize",function(){f=m.viewportSize.x*window.devicePixelRatio,b&&f<1e3?(b=!1,h=!0):!b&&f>=1e3&&(b=!0,h=!0),h&&!g&&m.invalidateCurrItems(),g&&(g=!1),h=!1}),m.listen("gettingData",function(t,e){e.html||(b?(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))}),m.listen("resize",function(){l(this)}),m.listen("afterChange",function(){l(this)}),m.listen("beforeChange",function(){if(this&&this.itemHolders.length){var t=this.getCurrentIndex();this.itemHolders.forEach(function(e){if(e.el&&e.index!==t){var o=i(e.el).find(".vp-pswp-video iframe");o.length&&o.attr("src",o.attr("src"))}})}}),m.listen("destroy",function(){this&&this.itemHolders.length&&this.itemHolders.forEach(function(t){t.el&&i(t.el).find(".vp-pswp-video").remove()})}),m.init(),t.emitEvent("initPhotoSwipe",[_,v,e])}};t.$item.on("click.vpf-uid-".concat(t.uid),".vp-portfolio__item",function(e){if(i(this).closest(".vp-portfolio__item-wrap").find(".vp-portfolio__item-popup").length){e.preventDefault();var n=-1,p=this;t.$item.find(".vp-portfolio__item-wrap .vp-portfolio__item-popup").each(function(t){-1===n&&i(this).closest(".vp-portfolio__item-wrap").find(".vp-portfolio__item")[0]===p&&(n=t)}),n<0&&(n=0),o(n,t.$item[0])}});var n=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 n=i[o].split("=");n.length<2||(e[n[0]]=n[1])}return e}();n.pid&&n.gid===t.uid&&o(n.pid,t.$item[0],!0,!0)}function l(t,e){if(void 0!==e){var o,n=t.viewportSize.x,p=t.viewportSize.y,s=e.vw/e.vh,r=i(e.container),a=t.options.barsSize,c=0,d=0;a&&(c=a.top&&"auto"!==a.top?a.top:0,d=a.bottom&&"auto"!==a.bottom?a.bottom:0),o=s>n/(p-=c+d)?n:p*s,r.find(".vp-pswp-video").css("max-width",o),r.css({top:c,bottom:d})}else t&&t.itemHolders.length&&t.itemHolders.forEach(function(e){e.item&&e.item.html&&l(t,e.item)})}},e.prototype.destroyPhotoswipe=function(){void 0!==p&&this.options.itemsClickAction&&"popup_gallery"===this.options.itemsClickAction&&"photoswipe"===a.vendor&&(this.$item.off("click.vpf-uid-".concat(this.uid)),i(".vp-pswp-uid-".concat(this.uid)).remove(),this.emitEvent("destroyPhotoSwipe"))})}),i(document).on("init.vpf",function(t,e){"vpf"===t.namespace&&e.initPhotoswipe()}),i(document).on("destroy.vpf",function(t,e){"vpf"===t.namespace&&e.destroyPhotoswipe()})}});
|
1 |
+
!function(t){var e={};function i(o){if(e[o])return e[o].exports;var n=e[o]={i:o,l:!1,exports:{}};return t[o].call(n.exports,n,n.exports,i),n.l=!0,n.exports}i.m=t,i.c=e,i.d=function(t,e,o){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(i.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)i.d(o,n,function(e){return t[e]}.bind(null,n));return o},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=28)}({28:function(t,e,i){t.exports=i(29)},29:function(t,e){var i=window.jQuery,o=window,n=o.VPData,p=o.PhotoSwipe,s=o.PhotoSwipeUI_Default,r=n.__,a=n.settingsPopupGallery;i(document).on("extendClass.vpf",(function(t,e){"vpf"===t.namespace&&(e.prototype.initPhotoswipe=function(){var t=this;if(void 0!==p&&t.options.itemsClickAction&&"popup_gallery"===t.options.itemsClickAction&&"photoswipe"===a.vendor&&!t.isPreview()){if(!i(".vp-pswp").length){var e='\n <div class="pswp vp-pswp vp-pswp-uid-'.concat(t.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 <button class="pswp__button pswp__button--close" title="').concat(r.pswp_close,'"></button>\n <button class="pswp__button pswp__button--share" title="').concat(r.pswp_share,'"></button>\n <button class="pswp__button pswp__button--fs" title="').concat(r.pswp_fs,'"></button>\n <button class="pswp__button pswp__button--zoom" title="').concat(r.pswp_zoom,'"></button>\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 <button class="pswp__button pswp__button--arrow--left" title="').concat(r.pswp_prev,'"></button>\n <button class="pswp__button pswp__button--arrow--right" title="').concat(r.pswp_next,'"></button>\n <div class="pswp__caption">\n <div class="pswp__caption__center"></div>\n </div>\n </div>\n </div>\n </div>\n ');i("body").append(e)}var o=function(e,o,n,c){var d=i(".vp-pswp"),u=d[0],v=function(e){var o,n,p,s,r,a,l=i(e).find(".vp-portfolio__item-wrap"),c=[];return l.each((function(){if((o=i(this).find(".vp-portfolio__item-popup"))&&o.length){if(n=(o.attr("data-vp-popup-img-size")||"1920x1080").split("x"),p="1920x1080".split("x"),r=o.attr("data-vp-popup-video"),a=!1,r&&(a=t.parseVideo(r)),a)s={html:'<div class="vp-pswp-video"><div>'.concat(a.embed,"</div></div>"),vw:parseInt(p[0],10),vh:parseInt(p[1],10)};else{s={src:o.attr("data-vp-popup-img"),w:parseInt(n[0],10),h:parseInt(n[1],10)};var e=o.children(".vp-portfolio__item-popup-title").get(0),l=o.children(".vp-portfolio__item-popup-description").get(0);(e||l)&&(s.title=(e?e.outerHTML:"")+(l?l.outerHTML:"")),s.el=this;var d=o.attr("data-vp-popup-md-img")||s.src;d&&(n=(o.attr("data-vp-popup-md-img-size")||o.attr("data-vp-popup-img-size")||"1920x1080").split("x"),s.m={src:d,w:parseInt(n[0],10),h:parseInt(n[1],10)},s.msrc=d),s.o={src:s.src,w:s.w,h:s.h}}c.push(s)}})),c}(o),_={captionAndToolbarShowEmptyCaptions:!1,closeEl:a.show_close_button,captionEl:!0,fullscreenEl:a.show_fullscreen_button,zoomEl:a.show_zoom_button,shareEl:a.show_share_button,counterEl:a.show_counter,arrowEl:a.show_arrows,shareButtons:[{id:"facebook",label:r.pswp_share_fb,url:"https://www.facebook.com/sharer/sharer.php?u={{url}}"},{id:"twitter",label:r.pswp_share_tw,url:"https://twitter.com/intent/tweet?text={{text}}&url={{url}}"},{id:"pinterest",label:r.pswp_share_pin,url:"https://www.pinterest.com/pin/create/button/?url={{url}}&media={{image_url}}&description={{text}}"}],bgOpacity:1,tapToClose:!1,tapToToggleControls:!0,showHideOpacity:!0,galleryUID:t.uid,getThumbBoundsFn:function(t){if(!v[t]||!v[t].el)return!1;var e=i(v[t].el).find("img")[0];if(!e)return!1;var o=e.getBoundingClientRect(),n=window.pageYOffset||document.documentElement.scrollTop,p=parseFloat(d.css("top"))||0;return{x:o.left,y:o.top+n-p,w:o.width,h:o.height}}};if(c)if(_.galleryPIDs){for(var w=0;w<v.length;w++)if(v[w].pid===e){_.index=w;break}}else _.index=parseInt(e,10)-1;else _.index=parseInt(e,10);if(!isNaN(_.index)){n&&(_.showAnimationDuration=0),t.emitEvent("beforeInitPhotoSwipe",[_,v,e]);var f,h,m=new p(u,s,v,_),b=!1,g=!0;m.listen("beforeResize",(function(){f=m.viewportSize.x*window.devicePixelRatio,b&&f<1e3?(b=!1,h=!0):!b&&f>=1e3&&(b=!0,h=!0),h&&!g&&m.invalidateCurrItems(),g&&(g=!1),h=!1})),m.listen("gettingData",(function(t,e){e.html||(b?(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))})),m.listen("resize",(function(){l(this)})),m.listen("afterChange",(function(){l(this)})),m.listen("beforeChange",(function(){if(this&&this.itemHolders.length){var t=this.getCurrentIndex();this.itemHolders.forEach((function(e){if(e.el&&e.index!==t){var o=i(e.el).find(".vp-pswp-video iframe");o.length&&o.attr("src",o.attr("src"))}}))}})),m.listen("destroy",(function(){this&&this.itemHolders.length&&this.itemHolders.forEach((function(t){t.el&&i(t.el).find(".vp-pswp-video").remove()}))})),m.init(),t.emitEvent("initPhotoSwipe",[_,v,e])}};t.$item.on("click.vpf-uid-".concat(t.uid),".vp-portfolio__item",(function(e){if(i(this).closest(".vp-portfolio__item-wrap").find(".vp-portfolio__item-popup").length){e.preventDefault();var n=-1,p=this;t.$item.find(".vp-portfolio__item-wrap .vp-portfolio__item-popup").each((function(t){-1===n&&i(this).closest(".vp-portfolio__item-wrap").find(".vp-portfolio__item")[0]===p&&(n=t)})),n<0&&(n=0),o(n,t.$item[0])}}));var n=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 n=i[o].split("=");n.length<2||(e[n[0]]=n[1])}return e}();n.pid&&n.gid===t.uid&&o(n.pid,t.$item[0],!0,!0)}function l(t,e){if(void 0!==e){var o,n=t.viewportSize.x,p=t.viewportSize.y,s=e.vw/e.vh,r=i(e.container),a=t.options.barsSize,c=0,d=0;a&&(c=a.top&&"auto"!==a.top?a.top:0,d=a.bottom&&"auto"!==a.bottom?a.bottom:0),o=s>n/(p-=c+d)?n:p*s,r.find(".vp-pswp-video").css("max-width",o),r.css({top:c,bottom:d})}else t&&t.itemHolders.length&&t.itemHolders.forEach((function(e){e.item&&e.item.html&&l(t,e.item)}))}},e.prototype.destroyPhotoswipe=function(){void 0!==p&&this.options.itemsClickAction&&"popup_gallery"===this.options.itemsClickAction&&"photoswipe"===a.vendor&&(this.$item.off("click.vpf-uid-".concat(this.uid)),i(".vp-pswp-uid-".concat(this.uid)).remove(),this.emitEvent("destroyPhotoSwipe"))})})),i(document).on("init.vpf",(function(t,e){"vpf"===t.namespace&&e.initPhotoswipe()})),i(document).on("destroy.vpf",(function(t,e){"vpf"===t.namespace&&e.destroyPhotoswipe()}))}});
|
assets/js/plugin-swiper.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(e){var i={};function t(
|
1 |
+
!function(e){var i={};function t(r){if(i[r])return i[r].exports;var s=i[r]={i:r,l:!1,exports:{}};return e[r].call(s.exports,s,s.exports,t),s.l=!0,s.exports}t.m=e,t.c=i,t.d=function(e,i,r){t.o(e,i)||Object.defineProperty(e,i,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,i){if(1&i&&(e=t(e)),8&i)return e;if(4&i&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&i&&"string"!=typeof e)for(var s in e)t.d(r,s,function(i){return e[i]}.bind(null,s));return r},t.n=function(e){var i=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(i,"a",i),i},t.o=function(e,i){return Object.prototype.hasOwnProperty.call(e,i)},t.p="",t(t.s=30)}({30:function(e,i,t){e.exports=t(31)},31:function(e,i){var t=window.jQuery,r=window.VPData.screenSizes;t(document).on("extendClass.vpf",(function(e,i){"vpf"===e.namespace&&(i.prototype.initSwiper=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],i=this;if("slider"===i.options.layout&&void 0!==window.Swiper){var t=i.$items_wrap.parent();t.addClass("swiper-container"),i.$items_wrap.addClass("swiper-wrapper"),i.$items_wrap.children().addClass("swiper-slide"),"true"!==i.options.sliderArrows||t.find(".vp-portfolio__items-arrow").length||t.append('\n <div class="vp-portfolio__items-arrow vp-portfolio__items-arrow-prev"><span class="'.concat(i.options.sliderArrowsIconPrev,'"></span></div>\n <div class="vp-portfolio__items-arrow vp-portfolio__items-arrow-next"><span class="').concat(i.options.sliderArrowsIconNext,'"></span></div>\n ')),"true"!==i.options.sliderBullets||t.find(".vp-portfolio__items-bullets").length||t.append('<div class="vp-portfolio__items-bullets"></div>');var s=i.options.sliderSlidesPerView||3,o={};if(!isNaN(s)){for(var n=s,a=Math.min(r.length-1,n-1);a>=0;a--)n>0&&void 0!==r[a]&&(o[r[a]+1]={slidesPerView:n}),n-=1;s=n||1}"fade"===(e=e||{speed:1e3*(parseFloat(i.options.sliderSpeed)||0),autoHeight:"auto"===i.options.sliderItemsHeight,effect:i.options.sliderEffect||"slide",spaceBetween:parseFloat(i.options.itemsGap)||0,centeredSlides:"true"===i.options.sliderCenteredSlides,freeMode:"true"===i.options.sliderFreeMode,freeModeSticky:"true"===i.options.sliderFreeModeSticky,loop:"true"===i.options.sliderLoop,autoplay:parseFloat(i.options.sliderAutoplay)>0&&{delay:1e3*parseFloat(i.options.sliderAutoplay),disableOnInteraction:!1},navigation:"true"===i.options.sliderArrows&&{nextEl:".vp-portfolio__items-arrow-next",prevEl:".vp-portfolio__items-arrow-prev"},pagination:"true"===i.options.sliderBullets&&{el:".vp-portfolio__items-bullets",clickable:!0,dynamicBullets:"true"===i.options.sliderBulletsDynamic,renderBullet:function(e,i){return'<span class="'.concat(i,'" data-bullet-index="').concat(e,'" data-bullet-number="').concat(e+1,'"></span>')}},mousewheel:"true"===i.options.sliderMousewheel,slidesPerView:s,breakpoints:o,breakpointsInverse:!0,keyboard:!0,grabCursor:!0}).effect&&(e.fadeEffect={crossFade:!0}),0===e.speed&&(e.speed=1);var p=0;if(e.on={transitionEnd:function(){0===p?(p=1,this.setTransition(1),this.setTranslate(this.translate+.1)):1===p&&(p=2,this.slideReset())}},i.emitEvent("beforeInitSwiper",[e]),i.$slider_thumbnails_wrap.length){var l=i.$slider_thumbnails_wrap.parent();l.addClass("swiper-container"),i.$slider_thumbnails_wrap.addClass("swiper-wrapper"),i.$slider_thumbnails_wrap.children().addClass("swiper-slide");var d=i.options.sliderThumbnailsPerView||8,u={};if(!isNaN(d)){for(var c=d,f=Math.min(r.length-1,c-1);f>=0;f--)c>0&&void 0!==r[f]&&(u[r[f]+1]={slidesPerView:c}),c-=1;d=c||1}var w=new window.Swiper(l[0],{autoHeight:"auto"===i.options.sliderThumbnailsHeight,effect:"slide",spaceBetween:parseFloat(i.options.sliderThumbnailsGap)||0,loop:!1,freeMode:!0,freeModeSticky:!0,loopedSlides:5,slidesPerView:d,breakpoints:u,breakpointsInverse:!0,keyboard:!0,grabCursor:!0,watchSlidesVisibility:!0,watchSlidesProgress:!0});e.thumbs={swiper:w}}new window.Swiper(t[0],e),"true"===i.options.sliderAutoplayHoverPause&&parseFloat(i.options.sliderAutoplay)>0&&(i.$item.on("mouseenter.vpf-uid-".concat(i.uid),".swiper-container",(function(){t[0].swiper.autoplay.stop()})),i.$item.on("mouseleave.vpf-uid-".concat(i.uid),".swiper-container",(function(){t[0].swiper.autoplay.start()}))),i.emitEvent("initSwiper",[e])}},i.prototype.destroySwiper=function(){var e=this.$items_wrap.parent(),i=!!this.$slider_thumbnails_wrap.length&&this.$slider_thumbnails_wrap.parent(),t=e[0].swiper,r=!!i&&i[0].swiper,s=!1;r&&(r.destroy(),i.removeClass("swiper-container"),this.$slider_thumbnails_wrap.removeClass("swiper-wrapper"),this.$slider_thumbnails_wrap.children().removeClass("swiper-slide"),s=!0),t&&(t.destroy(),e.removeClass("swiper-container"),this.$items_wrap.removeClass("swiper-wrapper"),this.$items_wrap.children().removeClass("swiper-slide"),e.find(".vp-portfolio__items-arrow, .vp-portfolio__items-bullets").remove(),s=!0),s&&this.emitEvent("destroySwiper")})})),t(document).on("addItems.vpf",(function(e,i,t,r,s){if("vpf"===e.namespace){var o=i.$items_wrap.parent()[0].swiper;if(o){r&&o.removeAllSlides();var n=[];t.addClass("swiper-slide").each((function(){n.push(this)})),o.appendSlide(n);var a=!!i.$slider_thumbnails_wrap.length&&i.$slider_thumbnails_wrap.parent()[0].swiper;if(a){r&&a.removeAllSlides();var p=[];s.find(".vp-portfolio__thumbnails > .vp-portfolio__thumbnail-wrap").clone().addClass("swiper-slide").each((function(){p.push(this)})),a.appendSlide(p)}}}})),t(document).on("init.vpf",(function(e,i){"vpf"===e.namespace&&i.initSwiper()})),t(document).on("destroy.vpf",(function(e,i){"vpf"===e.namespace&&i.destroySwiper()}))}});
|
assets/js/script-preview.js
CHANGED
@@ -1,17 +1,27 @@
|
|
1 |
/*!
|
2 |
* Name : Visual Portfolio
|
3 |
-
* Version : 1.
|
4 |
* Author : nK https://nkdev.info
|
5 |
*/
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
/*!
|
2 |
* Name : Visual Portfolio
|
3 |
+
* Version : 1.15.0
|
4 |
* Author : nK https://nkdev.info
|
5 |
*/
|
6 |
+
const $ = window.jQuery;
|
7 |
+
const $body = $( 'body' );
|
8 |
+
const $preview = $( '#vp_preview' );
|
9 |
+
const $portfolio = $preview.find( '.vp-portfolio' );
|
10 |
+
|
11 |
+
$portfolio.on( 'click', '.vp-portfolio__item, .vp-portfolio__item a', ( e ) => {
|
12 |
+
e.preventDefault();
|
13 |
+
e.stopPropagation();
|
14 |
+
} );
|
15 |
+
|
16 |
+
window.iFrameResizer = {
|
17 |
+
log: false,
|
18 |
+
heightCalculationMethod() {
|
19 |
+
return $preview.outerHeight( true );
|
20 |
+
},
|
21 |
+
onMessage( data ) {
|
22 |
+
if ( data && data.name && 'resize' === data.name ) {
|
23 |
+
// This random number needed for proper resize Isotope and other plugins.
|
24 |
+
$body.css( 'max-width', data.width + Math.random() );
|
25 |
+
}
|
26 |
+
},
|
27 |
+
};
|
assets/js/script-preview.min.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
-
!function(e){var t={};function
|
2 |
/*!
|
3 |
* Name : Visual Portfolio
|
4 |
* Version : @@plugin_version
|
5 |
* Author : nK https://nkdev.info
|
6 |
*/
|
7 |
-
var
|
1 |
+
!function(e){var t={};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}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return 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,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=32)}({32:function(e,t,n){e.exports=n(33)},33:function(e,t){
|
2 |
/*!
|
3 |
* Name : Visual Portfolio
|
4 |
* Version : @@plugin_version
|
5 |
* Author : nK https://nkdev.info
|
6 |
*/
|
7 |
+
var n=window.jQuery,o=n("body"),r=n("#vp_preview");r.find(".vp-portfolio").on("click",".vp-portfolio__item, .vp-portfolio__item a",(function(e){e.preventDefault(),e.stopPropagation()})),window.iFrameResizer={log:!1,heightCalculationMethod:function(){return r.outerHeight(!0)},onMessage:function(e){e&&e.name&&"resize"===e.name&&o.css("max-width",e.width+Math.random())}}}});
|
assets/vendor/clipboard.js/clipboard.min.js
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*!
|
2 |
+
* clipboard.js v2.0.4
|
3 |
+
* https://zenorocha.github.io/clipboard.js
|
4 |
+
*
|
5 |
+
* Licensed MIT © Zeno Rocha
|
6 |
+
*/
|
7 |
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ClipboardJS=e():t.ClipboardJS=e()}(this,function(){return function(n){var o={};function r(t){if(o[t])return o[t].exports;var e=o[t]={i:t,l:!1,exports:{}};return n[t].call(e.exports,e,e.exports,r),e.l=!0,e.exports}return r.m=n,r.c=o,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=0)}([function(t,e,n){"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},i=function(){function o(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),t}}(),a=o(n(1)),c=o(n(3)),u=o(n(4));function o(t){return t&&t.__esModule?t:{default:t}}var l=function(t){function o(t,e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,o);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(o.__proto__||Object.getPrototypeOf(o)).call(this));return n.resolveOptions(e),n.listenClick(t),n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(o,c.default),i(o,[{key:"resolveOptions",value:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof t.action?t.action:this.defaultAction,this.target="function"==typeof t.target?t.target:this.defaultTarget,this.text="function"==typeof t.text?t.text:this.defaultText,this.container="object"===r(t.container)?t.container:document.body}},{key:"listenClick",value:function(t){var e=this;this.listener=(0,u.default)(t,"click",function(t){return e.onClick(t)})}},{key:"onClick",value:function(t){var e=t.delegateTarget||t.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new a.default({action:this.action(e),target:this.target(e),text:this.text(e),container:this.container,trigger:e,emitter:this})}},{key:"defaultAction",value:function(t){return s("action",t)}},{key:"defaultTarget",value:function(t){var e=s("target",t);if(e)return document.querySelector(e)}},{key:"defaultText",value:function(t){return s("text",t)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:["copy","cut"],e="string"==typeof t?[t]:t,n=!!document.queryCommandSupported;return e.forEach(function(t){n=n&&!!document.queryCommandSupported(t)}),n}}]),o}();function s(t,e){var n="data-clipboard-"+t;if(e.hasAttribute(n))return e.getAttribute(n)}t.exports=l},function(t,e,n){"use strict";var o,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},i=function(){function o(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),t}}(),a=n(2),c=(o=a)&&o.__esModule?o:{default:o};var u=function(){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),this.resolveOptions(t),this.initSelection()}return i(e,[{key:"resolveOptions",value:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};this.action=t.action,this.container=t.container,this.emitter=t.emitter,this.target=t.target,this.text=t.text,this.trigger=t.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"selectFake",value:function(){var t=this,e="rtl"==document.documentElement.getAttribute("dir");this.removeFake(),this.fakeHandlerCallback=function(){return t.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[e?"right":"left"]="-9999px";var n=window.pageYOffset||document.documentElement.scrollTop;this.fakeElem.style.top=n+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.container.appendChild(this.fakeElem),this.selectedText=(0,c.default)(this.fakeElem),this.copyText()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=(0,c.default)(this.target),this.copyText()}},{key:"copyText",value:function(){var e=void 0;try{e=document.execCommand(this.action)}catch(t){e=!1}this.handleResult(e)}},{key:"handleResult",value:function(t){this.emitter.emit(t?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.trigger&&this.trigger.focus(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"copy";if(this._action=t,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(t){if(void 0!==t){if(!t||"object"!==(void 0===t?"undefined":r(t))||1!==t.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&t.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(t.hasAttribute("readonly")||t.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=t}},get:function(){return this._target}}]),e}();t.exports=u},function(t,e){t.exports=function(t){var e;if("SELECT"===t.nodeName)t.focus(),e=t.value;else if("INPUT"===t.nodeName||"TEXTAREA"===t.nodeName){var n=t.hasAttribute("readonly");n||t.setAttribute("readonly",""),t.select(),t.setSelectionRange(0,t.value.length),n||t.removeAttribute("readonly"),e=t.value}else{t.hasAttribute("contenteditable")&&t.focus();var o=window.getSelection(),r=document.createRange();r.selectNodeContents(t),o.removeAllRanges(),o.addRange(r),e=o.toString()}return e}},function(t,e){function n(){}n.prototype={on:function(t,e,n){var o=this.e||(this.e={});return(o[t]||(o[t]=[])).push({fn:e,ctx:n}),this},once:function(t,e,n){var o=this;function r(){o.off(t,r),e.apply(n,arguments)}return r._=e,this.on(t,r,n)},emit:function(t){for(var e=[].slice.call(arguments,1),n=((this.e||(this.e={}))[t]||[]).slice(),o=0,r=n.length;o<r;o++)n[o].fn.apply(n[o].ctx,e);return this},off:function(t,e){var n=this.e||(this.e={}),o=n[t],r=[];if(o&&e)for(var i=0,a=o.length;i<a;i++)o[i].fn!==e&&o[i].fn._!==e&&r.push(o[i]);return r.length?n[t]=r:delete n[t],this}},t.exports=n},function(t,e,n){var d=n(5),h=n(6);t.exports=function(t,e,n){if(!t&&!e&&!n)throw new Error("Missing required arguments");if(!d.string(e))throw new TypeError("Second argument must be a String");if(!d.fn(n))throw new TypeError("Third argument must be a Function");if(d.node(t))return s=e,f=n,(l=t).addEventListener(s,f),{destroy:function(){l.removeEventListener(s,f)}};if(d.nodeList(t))return a=t,c=e,u=n,Array.prototype.forEach.call(a,function(t){t.addEventListener(c,u)}),{destroy:function(){Array.prototype.forEach.call(a,function(t){t.removeEventListener(c,u)})}};if(d.string(t))return o=t,r=e,i=n,h(document.body,o,r,i);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList");var o,r,i,a,c,u,l,s,f}},function(t,n){n.node=function(t){return void 0!==t&&t instanceof HTMLElement&&1===t.nodeType},n.nodeList=function(t){var e=Object.prototype.toString.call(t);return void 0!==t&&("[object NodeList]"===e||"[object HTMLCollection]"===e)&&"length"in t&&(0===t.length||n.node(t[0]))},n.string=function(t){return"string"==typeof t||t instanceof String},n.fn=function(t){return"[object Function]"===Object.prototype.toString.call(t)}},function(t,e,n){var a=n(7);function i(t,e,n,o,r){var i=function(e,n,t,o){return function(t){t.delegateTarget=a(t.target,n),t.delegateTarget&&o.call(e,t)}}.apply(this,arguments);return t.addEventListener(n,i,r),{destroy:function(){t.removeEventListener(n,i,r)}}}t.exports=function(t,e,n,o,r){return"function"==typeof t.addEventListener?i.apply(null,arguments):"function"==typeof n?i.bind(null,document).apply(null,arguments):("string"==typeof t&&(t=document.querySelectorAll(t)),Array.prototype.map.call(t,function(t){return i(t,e,n,o,r)}))}},function(t,e){if("undefined"!=typeof Element&&!Element.prototype.matches){var n=Element.prototype;n.matches=n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}t.exports=function(t,e){for(;t&&9!==t.nodeType;){if("function"==typeof t.matches&&t.matches(e))return t;t=t.parentNode}}}])});
|
assets/vendor/conditionize/conditionize.min.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
/*!
|
2 |
* Name : Conditionize - jQuery conditions for forms
|
3 |
-
* Version : 1.0.
|
4 |
* Author : nK <https://nkdev.info>
|
5 |
* GitHub : https://github.com/nk-o/conditionize
|
6 |
-
*/!function(e){var o={};function i(n){if(o[n])return o[n].exports;var t=o[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,i),t.l=!0,t.exports}i.m=e,i.c=o,i.d=function(n,t,e){i.o(n,t)||Object.defineProperty(n,t,{configurable:!1,enumerable:!0,get:e})},i.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return i.d(t,"a",t),t},i.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},i.p="",i(i.s=
|
7 |
//# sourceMappingURL=conditionize.min.js.map
|
1 |
/*!
|
2 |
* Name : Conditionize - jQuery conditions for forms
|
3 |
+
* Version : 1.0.2
|
4 |
* Author : nK <https://nkdev.info>
|
5 |
* GitHub : https://github.com/nk-o/conditionize
|
6 |
+
*/!function(e){var o={};function i(n){if(o[n])return o[n].exports;var t=o[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,i),t.l=!0,t.exports}i.m=e,i.c=o,i.d=function(n,t,e){i.o(n,t)||Object.defineProperty(n,t,{configurable:!1,enumerable:!0,get:e})},i.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return i.d(t,"a",t),t},i.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},i.p="",i(i.s=0)}([function(n,t,e){n.exports=e(1)},function(n,t,e){"use strict";var u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},o=function(n,t,e){return t&&i(n.prototype,t),e&&i(n,e),n};function i(n,t){for(var e=0;e<t.length;e++){var o=t[e];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(n,o.key,o)}}var r=e(2),c=e(3);var a=c.window.jQuery,s=0;function f(n){this.table=n}f.prototype.parse=function(n){for(var t=n.length,e=this.table,o=[],i=[],r=0;r<t;){switch(f=n[r++]){case"(":i.unshift(f);break;case")":for(;i.length;){if("("===(f=i.shift()))break;o.push(f)}if("("!==f)throw new Error("Mismatched parentheses.");break;default:if(e.hasOwnProperty(f)){for(;i.length;){var c=i[0];if("("===c)break;var u=e[f],a=u.precedence,s=e[c].precedence;if(s<a||a===s&&"right"===u.associativity)break;o.push(i.shift())}i.unshift(f)}else o.push(f)}}for(;i.length;){var f;if("("===(f=i.shift()))throw new Error("Mismatched parentheses.");o.push(f)}return o};var l={precedence:3,associativity:"left"},p={precedence:2,associativity:"left"},d={"==":{eval:function(n,t){return n==t},sort:p},"!=":{eval:function(n,t){return n!=t},sort:p},"===":{eval:function(n,t){return n===t},sort:p},"!==":{eval:function(n,t){return n!==t},sort:p},"*=":{eval:function(n,t){return-1!==n.indexOf(t)},sort:p},"<=":{eval:function(n,t){return n<=t},sort:l},">=":{eval:function(n,t){return t<=n},sort:l},"<":{eval:function(n,t){return n<t},sort:l},">":{eval:function(n,t){return t<n},sort:l},"&&":{eval:function(n,t){return n&&t},sort:{precedence:1,associativity:"right"}},"||":{eval:function(n,t){return n||t},sort:{precedence:0,associativity:"right"}}},h=(o(y,[{key:"init",value:function(){var n=this;n.options.customToggle?n.options.customToggle.call(n,n.$container.find(n.options.selector),!1):n.$container.find(n.options.selector).hide(),n.$container.on("change.conditionize","input, select, textarea",function(){n.runCheck(n.$container.find(n.options.selector))}),n.runCheck(n.$container.find(n.options.selector)),n.options.onInit&&n.options.onInit.call(n)}},{key:"runCheck",value:function(n){var o=this;n.each(function(){var n=a(this),t=n.attr(o.options.conditionAttr).toString(),e=o.checkCondition(t);o.options.customToggle?o.options.customToggle.call(o,n,e):n[e?"show":"hide"](),o.options.onCheck&&o.options.onCheck(n,e)})}},{key:"checkCondition",value:function(n){var t=n.match(/[^\s]+/g),e=void 0,o={};Object.keys(d).forEach(function(n){o[n]=d[n].sort}),t=new f(o).parse(t);for(var i=[],r=0;r<t.length;)if((e=t[r++])in d){var c=i.pop(),u=i.pop();i.push([u,e,c])}else i.push(e);return this.compare(i.length&&i[0])}},{key:"isValidSelector",value:function(n){if("string"!=typeof n||a.isNumeric(n)||"false"===n||"true"===n||0==n||1==n)return!1;try{a(n)}catch(n){return!1}return!0}},{key:"condition",value:function(n,t,e){return t in d&&("false"===n?n=!1:"true"===n&&(n=!0),"false"===e?e=!1:"true"===e&&(e=!0),d[t].eval(n,e))}},{key:"compare",value:function(n){var t=this;if(n instanceof Array)return 3===n.length?(n[0]=t.compare(n[0]),n[2]instanceof Array&&(n[2]=t.compare(n[2])),t.condition(n[0],n[1],n[2])):1===n.length&&t.compare(n[0]);if(t.isValidSelector(n)){var e=a(n),o=!1;return e.is("[type=radio], [type=checkbox]")?o=e.is(":checked"):e.is("textarea, select, input")&&(o=e.val()),o}return n}},{key:"destroy",value:function(){var n=this;n.options.onDestroy&&n.options.onDestroy.call(n),n.$container.off("change.conditionize"),n.options.customToggle?n.options.customToggle.call(n,n.$container.find(n.options.selector),!0):n.$container.find(n.options.selector).show(),delete n.$container.Conditionize}}]),y);function y(n,t){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}(this,y);var e=this;e.instanceID=s++,e.$container=a(n),e.defaults={selector:"[data-cond]",conditionAttr:"data-cond",checkDebounce:150,customToggle:null,onInit:null,onDestroy:null,onCheck:null},e.options=Object.assign({},e.defaults,t),e.runCheck=(0,r.debounce)(e.options.checkDebounce,e.runCheck),e.init()}function v(n,t){("object"===("undefined"==typeof HTMLElement?"undefined":u(HTMLElement))?n instanceof HTMLElement:n&&"object"===(void 0===n?"undefined":u(n))&&null!==n&&1===n.nodeType&&"string"==typeof n.nodeName)&&(n=[n]);for(var e=t,o=Array.prototype.slice.call(arguments,2),i=n.length,r=0,c=void 0;r<i;r++)if("object"===(void 0===e?"undefined":u(e))||void 0===e?n[r].Conditionize||(n[r].Conditionize=new h(n[r],e)):n[r].Conditionize&&(c=n[r].Conditionize[e].apply(n[r].Conditionize,o)),void 0!==c)return c;return n}v.constructor=h,c.window.Conditionize=h;function b(){var n=arguments||[];Array.prototype.unshift.call(n,this);var t=v.apply(c.window,n);return"object"!==(void 0===t?"undefined":u(t))?t:this}b.constructor=v.constructor;var m=a.fn.conditionize;a.fn.conditionize=b,a.fn.conditionize.noConflict=function(){return a.fn.conditionize=m,this}},function(n,t,e){"use strict";function o(i,r,c,u){var a,s=!1,f=0;function l(){a&&clearTimeout(a)}function n(){var n=this,t=Date.now()-f,e=arguments;function o(){f=Date.now(),c.apply(n,e)}s||(u&&!a&&o(),l(),void 0===u&&i<t?o():!0!==r&&(a=setTimeout(u?function(){a=void 0}:o,void 0===u?i-t:i)))}return"boolean"!=typeof r&&(u=c,c=r,r=void 0),n.cancel=function(){l(),s=!0},n}Object.defineProperty(t,"__esModule",{value:!0}),t.throttle=o,t.debounce=function(n,t,e){return void 0===e?o(n,t,!1):o(n,e,!1!==t)}},function(e,n,t){"use strict";(function(n){var t;t="undefined"!=typeof window?window:void 0!==n?n:"undefined"!=typeof self?self:{},e.exports=t}).call(n,t(4))},function(n,t,e){"use strict";var o,i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n};o=function(){return this}();try{o=o||Function("return this")()||(0,eval)("this")}catch(n){"object"===("undefined"==typeof window?"undefined":i(window))&&(o=window)}n.exports=o}]);
|
7 |
//# sourceMappingURL=conditionize.min.js.map
|
assets/vendor/conditionize/conditionize.min.js.map
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"version":3,"sources":["conditionize.js"],"names":["modules","installedModules","__webpack_require__","moduleId","exports","module","i","l","call","m","c","d","name","getter","o","Object","defineProperty","configurable","enumerable","get","n","__esModule","object","property","prototype","hasOwnProperty","p","s","global","win","window","self","obj","_typeof","Symbol","iterator","constructor","_createClass","defineProperties","target","props","length","descriptor","writable","key","Constructor","protoProps","staticProps","_throttleDebounce","_rafl","_rafl2","default","_global","$","jQuery","instanceID","Parser","e","this","table","parse","r","t","a","h","unshift","shift","push","Error","f","precedence","associativity","sortRelational","sortEquality","relations","==","eval","b","sort","!=","===","!==","*=","indexOf","<=",">=","<",">","&&","||","Conditionize","container","userOptions","instance","TypeError","_classCallCheck","$container","defaults","selector","conditionAttr","checkDebounce","customToggle","onInit","onDestroy","onCheck","options","assign","runCheck","debounce","init","value","find","hide","on","$items","each","$this","conditionString","attr","toString","conditionResult","checkCondition","str","tokens","match","token","parserRelations","keys","forEach","k","stack","index","pop","compare","isNumeric","error","operator","arr","Array","condition","isValidSelector","$listenTo","result","is","val","off","show","plugin","items","HTMLElement","nodeType","nodeName","arguments","args","slice","len","ret","apply","jQueryPlugin","res","oldJqPlugin","fn","conditionize","noConflict","throttle","delay","noTrailing","callback","debounceMode","timeoutID","lastExec","undefined","elapsed","Number","Date","exec","clearTimeout","setTimeout","atBegin","request","requestAnimationFrame","webkitRequestAnimationFrame","mozRequestAnimationFrame","curr","ms","Math","max","prev","req","cancel","cancelAnimationFrame","webkitCancelAnimationFrame","mozCancelAnimationFrame","Function","bind","g"],"mappings":";;;;;IAAA,SAAAA,GAEA,IAAAC,EAAA,GAGA,SAAAC,EAAAC,GAGA,GAAAF,EAAAE,GACA,OAAAF,EAAAE,GAAAC,QAGA,IAAAC,EAAAJ,EAAAE,GAAA,CACAG,EAAAH,EACAI,GAAA,EACAH,QAAA,IAUA,OANAJ,EAAAG,GAAAK,KAAAH,EAAAD,QAAAC,EAAAA,EAAAD,QAAAF,GAGAG,EAAAE,GAAA,EAGAF,EAAAD,QAKAF,EAAAO,EAAAT,EAGAE,EAAAQ,EAAAT,EAGAC,EAAAS,EAAA,SAAAP,EAAAQ,EAAAC,GACAX,EAAAY,EAAAV,EAAAQ,IACAG,OAAAC,eAAAZ,EAAAQ,EAAA,CACAK,cAAA,EACAC,YAAA,EACAC,IAAAN,KAMAX,EAAAkB,EAAA,SAAAf,GACA,IAAAQ,EAAAR,GAAAA,EAAAgB,WACA,WAAA,OAAAhB,EAAA,SACA,WAAA,OAAAA,GAEA,OADAH,EAAAS,EAAAE,EAAA,IAAAA,GACAA,GAIAX,EAAAY,EAAA,SAAAQ,EAAAC,GAAA,OAAAR,OAAAS,UAAAC,eAAAjB,KAAAc,EAAAC,IAGArB,EAAAwB,EAAA,GAGAxB,EAAAA,EAAAyB,EAAA,GA9DA,CAiEA,CAEA,SAAAtB,EAAAD,EAAAF,GAEA,cACA,SAAA0B,GAEA,IAAAC,EAGAA,EADA,oBAAAC,OACAA,YACA,IAAAF,EACAA,EACA,oBAAAG,KACAA,KAEA,GAGA1B,EAAAD,QAAAyB,IACArB,KAAAJ,EAAAF,EAAA,KAIA,SAAAG,EAAAD,EAAAF,GAEAG,EAAAD,QAAAF,EAAA,IAKA,SAAAG,EAAAD,EAAAF,GAEA,aAGA,IAYA8B,EAZAC,EAAA,mBAAAC,QAAA,iBAAAA,OAAAC,SAAA,SAAAH,GAAA,cAAAA,GAAA,SAAAA,GAAA,OAAAA,GAAA,mBAAAE,QAAAF,EAAAI,cAAAF,QAAAF,IAAAE,OAAAV,UAAA,gBAAAQ,GAEAK,EAAA,WAAA,SAAAC,EAAAC,EAAAC,GAAA,IAAA,IAAAlC,EAAA,EAAAA,EAAAkC,EAAAC,OAAAnC,IAAA,CAAA,IAAAoC,EAAAF,EAAAlC,GAAAoC,EAAAxB,WAAAwB,EAAAxB,aAAA,EAAAwB,EAAAzB,cAAA,EAAA,UAAAyB,IAAAA,EAAAC,UAAA,GAAA5B,OAAAC,eAAAuB,EAAAG,EAAAE,IAAAF,IAAA,OAAA,SAAAG,EAAAC,EAAAC,GAAA,OAAAD,GAAAR,EAAAO,EAAArB,UAAAsB,GAAAC,GAAAT,EAAAO,EAAAE,GAAAF,GAAA,GAEAG,EAAA9C,EAAA,GAEA+C,EAAA/C,EAAA,GAEAgD,GAIAlB,EAJAiB,IAIAjB,EAAAX,WAAAW,EAAA,CAAAmB,QAAAnB,GAFAoB,EAAAlD,EAAA,GAMA,IAAAmD,EAAAD,EAAAtB,OAAAwB,OACAC,EAAA,EAIA,SAAAC,EAAAC,GACAC,KAAAC,MAAAF,EACAD,EAAAhC,UAAAoC,MAAA,SAAAH,GACA,IAAA,IAAAI,EAAAJ,EAAAhB,OAAAqB,EAAAJ,KAAAC,MAAAhC,EAAA,GAAAoC,EAAA,GAAAC,EAAA,EAAAA,EAAAH,GAAA,CACA,OAAAvD,EAAAmD,EAAAO,MAAA,IAAA,IACAD,EAAAE,QAAA3D,GAAA,MAAA,IAAA,IACA,KAAAyD,EAAAtB,QAAA,CACA,GAAA,OAAAnC,EAAAyD,EAAAG,SAAA,MAAAvC,EAAAwC,KAAA7D,GACA,GAAA,MAAAA,EAAA,MAAA,IAAA8D,MAAA,2BAAA,MAAA,QACA,GAAAN,EAAArC,eAAAnB,GAAA,CACA,KAAAyD,EAAAtB,QAAA,CACA,IAAA4B,EAAAN,EAAA,GAAA,GAAA,MAAAM,EAAA,MAAA,IAAAjD,EAAA0C,EAAAxD,GACAQ,EAAAM,EAAAkD,WACA5D,EAAAoD,EAAAO,GAAAC,WAAA,GAAA5D,EAAAI,GAAAA,IAAAJ,GAAA,UAAAU,EAAAmD,cAAA,MAAA5C,EAAAwC,KAAAJ,EAAAG,SACAH,EAAAE,QAAA3D,QACAqB,EAAAwC,KAAA7D,IACA,KAAAyD,EAAAtB,QAAA,CACA,IAAAnC,EAAA,GAAA,OAAAA,EAAAyD,EAAAG,SAAA,MAAA,IAAAE,MAAA,2BAAAzC,EAAAwC,KAAA7D,GACA,OAAAqB,GAIA,IAAA6C,EAAA,CACAF,WAAA,EACAC,cAAA,QAEAE,EAAA,CACAH,WAAA,EACAC,cAAA,QAIAG,EAAA,CACAC,KAAA,CACAC,KAAA,SAAAb,EAAAc,GACA,OAAAd,GAAAc,GAGAC,KAAAL,GAEAM,KAAA,CACAH,KAAA,SAAAb,EAAAc,GACA,OAAAd,GAAAc,GAGAC,KAAAL,GAEAO,MAAA,CACAJ,KAAA,SAAAb,EAAAc,GACA,OAAAd,IAAAc,GAGAC,KAAAL,GAEAQ,MAAA,CACAL,KAAA,SAAAb,EAAAc,GACA,OAAAd,IAAAc,GAGAC,KAAAL,GAEAS,KAAA,CACAN,KAAA,SAAAb,EAAAc,GACA,OAAA,IAAAd,EAAAoB,QAAAN,IAGAC,KAAAL,GAEAW,KAAA,CACAR,KAAA,SAAAb,EAAAc,GACA,OAAAd,GAAAc,GAGAC,KAAAN,GAEAa,KAAA,CACAT,KAAA,SAAAb,EAAAc,GACA,OAAAA,GAAAd,GAGAe,KAAAN,GAEAc,IAAA,CACAV,KAAA,SAAAb,EAAAc,GACA,OAAAd,EAAAc,GAGAC,KAAAN,GAEAe,IAAA,CACAX,KAAA,SAAAb,EAAAc,GACA,OAAAA,EAAAd,GAGAe,KAAAN,GAEAgB,KAAA,CACAZ,KAAA,SAAAb,EAAAc,GACA,OAAAd,GAAAc,GAGAC,KAAA,CACAR,WAAA,EACAC,cAAA,UAGAkB,KAAA,CACAb,KAAA,SAAAb,EAAAc,GACA,OAAAd,GAAAc,GAGAC,KAAA,CACAR,WAAA,EACAC,cAAA,WAOAmB,EAAA,WACA,SAAAA,EAAAC,EAAAC,IAhIA,SAAAC,EAAAhD,GAAA,KAAAgD,aAAAhD,GAAA,MAAA,IAAAiD,UAAA,qCAiIAC,CAAArC,KAAAgC,GAEA,IAAA3D,EAAA2B,KAEA3B,EAAAwB,WAAAA,IAEAxB,EAAAiE,WAAA3C,EAAAsC,GAEA5D,EAAAkE,SAAA,CACAC,SAAA,cACAC,cAAA,YACAC,cAAA,IAGAC,aAAA,KAGAC,OAAA,KACAC,UAAA,KACAC,QAAA,MAGAzE,EAAA0E,QAAA1F,OAAA2F,OAAA,GAAA3E,EAAAkE,SAAAL,GAEA7D,EAAA4E,UAAA,EAAA3D,EAAA4D,UAAA7E,EAAA0E,QAAAL,cAAArE,EAAA4E,UAEA5E,EAAA8E,OA0LA,OAvLAxE,EAAAqD,EAAA,CAAA,CACA9C,IAAA,OACAkE,MAAA,WACA,IAAA/E,EAAA2B,KAGA3B,EAAA0E,QAAAJ,aACAtE,EAAA0E,QAAAJ,aAAA7F,KAAAuB,EAAAA,EAAAiE,WAAAe,KAAAhF,EAAA0E,QAAAP,WAAA,GAEAnE,EAAAiE,WAAAe,KAAAhF,EAAA0E,QAAAP,UAAAc,OAIAjF,EAAAiE,WAAAiB,GAAA,sBAAA,0BAAA,WACAlF,EAAA4E,SAAA5E,EAAAiE,WAAAe,KAAAhF,EAAA0E,QAAAP,aAGAnE,EAAA4E,SAAA5E,EAAAiE,WAAAe,KAAAhF,EAAA0E,QAAAP,WAGAnE,EAAA0E,QAAAH,QACAvE,EAAA0E,QAAAH,OAAA9F,KAAAuB,KAGA,CACAa,IAAA,WACAkE,MAAA,SAAAI,GACA,IAAAnF,EAAA2B,MAEA,EAAAR,EAAAC,SAAA,WACA+D,EAAAC,KAAA,WACA,IAAAC,EAAA/D,EAAAK,MACA2D,EAAAD,EAAAE,KAAAvF,EAAA0E,QAAAN,eAAAoB,WACAC,EAAAzF,EAAA0F,eAAAJ,GAEAtF,EAAA0E,QAAAJ,aACAtE,EAAA0E,QAAAJ,aAAA7F,KAAAuB,EAAAqF,EAAAI,GAEAJ,EAAAI,EAAA,OAAA,UAGAzF,EAAA0E,QAAAD,SACAzE,EAAA0E,QAAAD,QAAAY,EAAAI,SAQA,CACA5E,IAAA,iBACAkE,MAAA,SAAAY,GACA,IACAC,EAAAD,EAAAE,MAAA,WACAC,OAAA,EACAC,EAAA,GAEA/G,OAAAgH,KAAArD,GAAAsD,QAAA,SAAAC,GACAH,EAAAG,GAAAvD,EAAAuD,GAAAnD,OAKA6C,EAFA,IAAAnE,EAAAsE,GAEAlE,MAAA+D,GAKA,IAHA,IAAAO,EAAA,GACAC,EAAA,EAEAA,EAAAR,EAAAlF,QAGA,IAFAoF,EAAAF,EAAAQ,QAEAzD,EAAA,CACA,IAAAG,EAAAqD,EAAAE,MACArE,EAAAmE,EAAAE,MACAF,EAAA/D,KAAA,CAAAJ,EAAA8D,EAAAhD,SAEAqD,EAAA/D,KAAA0D,GAIA,OA5BAnE,KA4BA2E,QAAAH,EAAAzF,QAAAyF,EAAA,MAKA,CACAtF,IAAA,kBACAkE,MAAA,SAAAZ,GACA,GAAA,iBAAAA,GAAA7C,EAAAiF,UAAApC,IAAA,UAAAA,GAAA,SAAAA,GAAA,GAAAA,GACA,GAAAA,EAEA,OAAA,EAEA,IACA7C,EAAA6C,GACA,MAAAqC,GACA,OAAA,EAEA,OAAA,IAKA,CACA3F,IAAA,YACAkE,MAAA,SAAA/C,EAAAyE,EAAA3D,GACA,OAAA2D,KAAA9D,IACA,UAAAX,EACAA,GAAA,EACA,SAAAA,IACAA,GAAA,GAGA,UAAAc,EACAA,GAAA,EACA,SAAAA,IACAA,GAAA,GAGAH,EAAA8D,GAAA5D,KAAAb,EAAAc,MAOA,CACAjC,IAAA,UACAkE,MAAA,SAAA2B,GACA,IAAA1G,EAAA2B,KAEA,GAAA+E,aAAAC,MACA,OAAA,IAAAD,EAAAhG,QACAgG,EAAA,GAAA1G,EAAAsG,QAAAI,EAAA,IACAA,EAAA,aAAAC,QACAD,EAAA,GAAA1G,EAAAsG,QAAAI,EAAA,KAGA1G,EAAA4G,UAAAF,EAAA,GAAAA,EAAA,GAAAA,EAAA,KACA,IAAAA,EAAAhG,QACAV,EAAAsG,QAAAI,EAAA,IAGA,GAAA1G,EAAA6G,gBAAAH,GAAA,CACA,IAAAI,EAAAxF,EAAAoF,GACAK,GAAA,EAQA,OANAD,EAAAE,GAAA,iCACAD,EAAAD,EAAAE,GAAA,YACAF,EAAAE,GAAA,6BACAD,EAAAD,EAAAG,OAGAF,EAEA,OAAAL,IAEA,CACA7F,IAAA,UACAkE,MAAA,WACA,IAAA/E,EAAA2B,KAGA3B,EAAA0E,QAAAF,WACAxE,EAAA0E,QAAAF,UAAA/F,KAAAuB,GAIAA,EAAAiE,WAAAiD,IAAA,uBAGAlH,EAAA0E,QAAAJ,aACAtE,EAAA0E,QAAAJ,aAAA7F,KAAAuB,EAAAA,EAAAiE,WAAAe,KAAAhF,EAAA0E,QAAAP,WAAA,GAEAnE,EAAAiE,WAAAe,KAAAhF,EAAA0E,QAAAP,UAAAgD,cAIAnH,EAAAiE,WAAAN,iBAIAA,EAtNA,GA4NAyD,EAAA,SAAAC,IAGA,YAAA,oBAAAC,YAAA,YAAApH,EAAAoH,cAAAD,aAAAC,YAAAD,GAAA,iBAAA,IAAAA,EAAA,YAAAnH,EAAAmH,KAAA,OAAAA,GAAA,IAAAA,EAAAE,UAAA,iBAAAF,EAAAG,YACAH,EAAA,CAAAA,IASA,IANA,IAAA3C,EAAA+C,UAAA,GACAC,EAAAf,MAAAlH,UAAAkI,MAAAlJ,KAAAgJ,UAAA,GACAG,EAAAP,EAAA3G,OACAwF,EAAA,EACA2B,OAAA,EAEA3B,EAAA0B,EAAA1B,IAUA,GATA,iBAAA,IAAAxB,EAAA,YAAAxE,EAAAwE,UAAA,IAAAA,EACA2C,EAAAnB,GAAAvC,eAEA0D,EAAAnB,GAAAvC,aAAA,IAAAA,EAAA0D,EAAAnB,GAAAxB,IAEA2C,EAAAnB,GAAAvC,eAEAkE,EAAAR,EAAAnB,GAAAvC,aAAAe,GAAAoD,MAAAT,EAAAnB,GAAAvC,aAAA+D,SAEA,IAAAG,EACA,OAAAA,EAIA,OAAAR,GAEAD,EAAA/G,YAAAsD,EAEAtC,EAAAtB,OAAA4D,aAAAA,EAEA,IAAAoE,EAAA,WACA,IAAAL,EAAAD,WAAA,GACAd,MAAAlH,UAAAyC,QAAAzD,KAAAiJ,EAAA/F,MACA,IAAAqG,EAAAZ,EAAAU,MAAAzG,EAAAtB,OAAA2H,GACA,MAAA,iBAAA,IAAAM,EAAA,YAAA9H,EAAA8H,IAAAA,EAAArG,MAEAoG,EAAA1H,YAAA+G,EAAA/G,YAGA,IAAA4H,EAAA3G,EAAA4G,GAAAC,aACA7G,EAAA4G,GAAAC,aAAAJ,EACAzG,EAAA4G,GAAAC,aAAAC,WAAA,WAEA,OADA9G,EAAA4G,GAAAC,aAAAF,EACAtG,OAKA,SAAArD,EAAAD,EAAAF,GAEA,aAwBA,SAAAkK,EAAAC,EAAAC,EAAAC,EAAAC,GAOA,IAAAC,EAGAC,EAAA,EAsEA,MAnEA,kBAAAJ,IACAE,EAAAD,EACAA,EAAAD,EACAA,OAAAK,GAQA,WAEA,IAAA5I,EAAA2B,KACAkH,EAAAC,OAAA,IAAAC,MAAAJ,EACAjB,EAAAD,UAGA,SAAAuB,IACAL,EAAAG,OAAA,IAAAC,MACAP,EAAAV,MAAA9H,EAAA0H,GAWAe,IAAAC,GAKAM,IAIAN,GACAO,aAAAP,QAGAE,IAAAH,GAAAH,EAAAO,EAKAG,KACA,IAAAT,IAYAG,EAAAQ,WAAAT,EAnCA,WACAC,OAAAE,GAkCAI,OAAAJ,IAAAH,EAAAH,EAAAO,EAAAP,KAhGAtJ,OAAAC,eAAAZ,EAAA,aAAA,CACA0G,OAAA,IA2HA1G,EAAAgK,SAAAA,EACAhK,EAAAwG,SALA,SAAAyD,EAAAa,EAAAX,GACA,YAAAI,IAAAJ,EAAAH,EAAAC,EAAAa,GAAA,GAAAd,EAAAC,EAAAE,GAAA,IAAAW,KAQA,SAAA7K,EAAAD,EAAAF,GAEA,aAGA,IAAA0B,EAAA1B,EAAA,GAMAiL,EAAAvJ,EAAAwJ,uBAAAxJ,EAAAyJ,6BAAAzJ,EAAA0J,0BAGA,SAAArB,GACA,IAAAsB,GAAA,IAAAT,KACAU,EAAAC,KAAAC,IAAA,EAAA,IAAAH,EAAAI,IACAC,EAAAX,WAAAhB,EAAAuB,GACA,OAAAG,EAAAJ,EAAAK,GALAD,GAAA,IAAAb,KAYA,IAAAe,EAAAjK,EAAAkK,sBAAAlK,EAAAmK,4BAAAnK,EAAAoK,yBAAAhB,aAEAiB,SAAAzK,UAAA0K,OACAf,EAAAA,EAAAe,KAAAtK,GACAiK,EAAAA,EAAAK,KAAAtK,KAGAvB,EAAAD,QAAA+K,GACAU,OAAAA,GAIA,SAAAxL,EAAAD,EAAAF,GAEA,aAGA,IAEAiM,EAFAlK,EAAA,mBAAAC,QAAA,iBAAAA,OAAAC,SAAA,SAAAH,GAAA,cAAAA,GAAA,SAAAA,GAAA,OAAAA,GAAA,mBAAAE,QAAAF,EAAAI,cAAAF,QAAAF,IAAAE,OAAAV,UAAA,gBAAAQ,GAKAmK,EAAA,WACA,OAAAzI,KADA,GAIA,IAEAyI,EAAAA,GAAAF,SAAA,cAAAA,KAAA,EAAArH,MAAA,QACA,MAAAnB,GAEA,YAAA,oBAAA3B,OAAA,YAAAG,EAAAH,WAAAqK,EAAArK,QAOAzB,EAAAD,QAAA+L","file":"conditionize.min.js","sourcesContent":["/*!\n * Name : Conditionize - jQuery conditions for forms\n * Version : 1.0.1\n * Author : nK <https://nkdev.info>\n * GitHub : https://github.com/nk-o/conditionize\n */\n/******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId]) {\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, {\n/******/ \t\t\t\tconfigurable: false,\n/******/ \t\t\t\tenumerable: true,\n/******/ \t\t\t\tget: getter\n/******/ \t\t\t});\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = 1);\n/******/ })\n/************************************************************************/\n/******/ ([\n/* 0 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR INJECTION */(function(global) {\n\nvar win;\n\nif (typeof window !== \"undefined\") {\n win = window;\n} else if (typeof global !== \"undefined\") {\n win = global;\n} else if (typeof self !== \"undefined\") {\n win = self;\n} else {\n win = {};\n}\n\nmodule.exports = win;\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))\n\n/***/ }),\n/* 1 */\n/***/ (function(module, exports, __webpack_require__) {\n\nmodule.exports = __webpack_require__(2);\n\n\n/***/ }),\n/* 2 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _throttleDebounce = __webpack_require__(3);\n\nvar _rafl = __webpack_require__(4);\n\nvar _rafl2 = _interopRequireDefault(_rafl);\n\nvar _global = __webpack_require__(0);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar $ = _global.window.jQuery;\nvar instanceID = 0;\n\n// https://gist.github.com/aaditmshah/6683499\n/* eslint-disable */\nfunction Parser(e) {\n this.table = e;\n}Parser.prototype.parse = function (e) {\n for (var r = e.length, t = this.table, s = [], a = [], h = 0; r > h;) {\n var i = e[h++];switch (i) {case \"(\":\n a.unshift(i);break;case \")\":\n for (; a.length;) {\n var i = a.shift();if (\"(\" === i) break;s.push(i);\n }if (\"(\" !== i) throw new Error(\"Mismatched parentheses.\");break;default:\n if (t.hasOwnProperty(i)) {\n for (; a.length;) {\n var f = a[0];if (\"(\" === f) break;var n = t[i],\n o = n.precedence,\n c = t[f].precedence;if (o > c || o === c && \"right\" === n.associativity) break;s.push(a.shift());\n }a.unshift(i);\n } else s.push(i);}\n }for (; a.length;) {\n var i = a.shift();if (\"(\" === i) throw new Error(\"Mismatched parentheses.\");s.push(i);\n }return s;\n};\n/* eslint-enable */\n\nvar sortRelational = {\n precedence: 3,\n associativity: 'left'\n};\nvar sortEquality = {\n precedence: 2,\n associativity: 'left'\n};\n\n// available relations\nvar relations = {\n '==': {\n eval: function _eval(a, b) {\n return a == b; // eslint-disable-line\n },\n\n sort: sortEquality\n },\n '!=': {\n eval: function _eval(a, b) {\n return a != b; // eslint-disable-line\n },\n\n sort: sortEquality\n },\n '===': {\n eval: function _eval(a, b) {\n return a === b;\n },\n\n sort: sortEquality\n },\n '!==': {\n eval: function _eval(a, b) {\n return a !== b;\n },\n\n sort: sortEquality\n },\n '*=': {\n eval: function _eval(a, b) {\n return a.indexOf(b) !== -1;\n },\n\n sort: sortEquality\n },\n '<=': {\n eval: function _eval(a, b) {\n return a <= b;\n },\n\n sort: sortRelational\n },\n '>=': {\n eval: function _eval(a, b) {\n return a >= b;\n },\n\n sort: sortRelational\n },\n '<': {\n eval: function _eval(a, b) {\n return a < b;\n },\n\n sort: sortRelational\n },\n '>': {\n eval: function _eval(a, b) {\n return a > b;\n },\n\n sort: sortRelational\n },\n '&&': {\n eval: function _eval(a, b) {\n return a && b;\n },\n\n sort: {\n precedence: 1,\n associativity: 'right'\n }\n },\n '||': {\n eval: function _eval(a, b) {\n return a || b;\n },\n\n sort: {\n precedence: 0,\n associativity: 'right'\n }\n }\n};\n\n// Conditionize class\n\nvar Conditionize = function () {\n function Conditionize(container, userOptions) {\n _classCallCheck(this, Conditionize);\n\n var self = this;\n\n self.instanceID = instanceID++;\n\n self.$container = $(container);\n\n self.defaults = {\n selector: '[data-cond]',\n conditionAttr: 'data-cond',\n checkDebounce: 150,\n\n // custom toggle function\n customToggle: null, // function( $item, show ) { $item[ show ? 'show' : 'hide' ](); }\n\n // events\n onInit: null, // function() {}\n onDestroy: null, // function() {}\n onCheck: null // function( $item, show ) {}\n };\n\n self.options = Object.assign({}, self.defaults, userOptions);\n\n self.runCheck = (0, _throttleDebounce.debounce)(self.options.checkDebounce, self.runCheck);\n\n self.init();\n }\n\n _createClass(Conditionize, [{\n key: 'init',\n value: function init() {\n var self = this;\n\n // hide all controls by default\n if (self.options.customToggle) {\n self.options.customToggle.call(self, self.$container.find(self.options.selector), false);\n } else {\n self.$container.find(self.options.selector).hide();\n }\n\n // event listener\n self.$container.on('change.conditionize', 'input, select, textarea', function () {\n self.runCheck(self.$container.find(self.options.selector));\n });\n\n self.runCheck(self.$container.find(self.options.selector));\n\n // call onInit event\n if (self.options.onInit) {\n self.options.onInit.call(self);\n }\n }\n }, {\n key: 'runCheck',\n value: function runCheck($items) {\n var self = this;\n\n (0, _rafl2.default)(function () {\n $items.each(function () {\n var $this = $(this);\n var conditionString = $this.attr(self.options.conditionAttr).toString();\n var conditionResult = self.checkCondition(conditionString);\n\n if (self.options.customToggle) {\n self.options.customToggle.call(self, $this, conditionResult);\n } else {\n $this[conditionResult ? 'show' : 'hide']();\n }\n\n if (self.options.onCheck) {\n self.options.onCheck($this, conditionResult);\n }\n });\n });\n }\n\n // parse condition\n\n }, {\n key: 'checkCondition',\n value: function checkCondition(str) {\n var self = this;\n var tokens = str.match(/[^\\s]+/g);\n var token = void 0;\n var parserRelations = {};\n\n Object.keys(relations).forEach(function (k) {\n parserRelations[k] = relations[k].sort;\n });\n\n var parser = new Parser(parserRelations);\n\n tokens = parser.parse(tokens);\n\n var stack = [];\n var index = 0;\n\n while (index < tokens.length) {\n token = tokens[index++];\n\n if (token in relations) {\n var b = stack.pop();\n var a = stack.pop();\n stack.push([a, token, b]);\n } else {\n stack.push(token);\n }\n }\n\n return self.compare(stack.length && stack[0]);\n }\n\n // check if is valid jquery selector\n\n }, {\n key: 'isValidSelector',\n value: function isValidSelector(selector) {\n if (typeof selector !== 'string' || $.isNumeric(selector) || selector === 'false' || selector === 'true' || selector == false // eslint-disable-line\n || selector == true // eslint-disable-line\n ) {\n return false;\n }\n try {\n $(selector);\n } catch (error) {\n return false;\n }\n return true;\n }\n\n // eval\n\n }, {\n key: 'condition',\n value: function condition(a, operator, b) {\n if (operator in relations) {\n if (a === 'false') {\n a = false;\n } else if (a === 'true') {\n a = true;\n }\n\n if (b === 'false') {\n b = false;\n } else if (b === 'true') {\n b = true;\n }\n\n return relations[operator].eval(a, b);\n }\n return false;\n }\n\n // compare items\n\n }, {\n key: 'compare',\n value: function compare(arr) {\n var self = this;\n\n if (arr instanceof Array) {\n if (arr.length === 3) {\n arr[0] = self.compare(arr[0]);\n if (arr[2] instanceof Array) {\n arr[2] = self.compare(arr[2]);\n }\n\n return self.condition(arr[0], arr[1], arr[2]);\n } else if (arr.length === 1) {\n return self.compare(arr[0]);\n }\n return false;\n } else if (self.isValidSelector(arr)) {\n var $listenTo = $(arr);\n var result = false;\n\n if ($listenTo.is('[type=radio], [type=checkbox]')) {\n result = $listenTo.is(':checked');\n } else if ($listenTo.is('textarea, select, input')) {\n result = $listenTo.val();\n }\n\n return result;\n }\n return arr;\n }\n }, {\n key: 'destroy',\n value: function destroy() {\n var self = this;\n\n // call onDestroy event\n if (self.options.onDestroy) {\n self.options.onDestroy.call(self);\n }\n\n // disable event.\n self.$container.off('change.conditionize');\n\n // show all controls\n if (self.options.customToggle) {\n self.options.customToggle.call(self, self.$container.find(self.options.selector), true);\n } else {\n self.$container.find(self.options.selector).show();\n }\n\n // delete Conditionize instance from container\n delete self.$container.Conditionize;\n }\n }]);\n\n return Conditionize;\n}();\n\n// global definition\n\n\nvar plugin = function plugin(items) {\n // check for dom element\n // thanks: http://stackoverflow.com/questions/384286/javascript-isdom-how-do-you-check-if-a-javascript-object-is-a-dom-object\n if ((typeof HTMLElement === 'undefined' ? 'undefined' : _typeof(HTMLElement)) === 'object' ? items instanceof HTMLElement : items && (typeof items === 'undefined' ? 'undefined' : _typeof(items)) === 'object' && items !== null && items.nodeType === 1 && typeof items.nodeName === 'string') {\n items = [items];\n }\n\n var options = arguments[1];\n var args = Array.prototype.slice.call(arguments, 2);\n var len = items.length;\n var k = 0;\n var ret = void 0;\n\n for (k; k < len; k++) {\n if ((typeof options === 'undefined' ? 'undefined' : _typeof(options)) === 'object' || typeof options === 'undefined') {\n if (!items[k].Conditionize) {\n // eslint-disable-next-line new-cap\n items[k].Conditionize = new Conditionize(items[k], options);\n }\n } else if (items[k].Conditionize) {\n // eslint-disable-next-line prefer-spread\n ret = items[k].Conditionize[options].apply(items[k].Conditionize, args);\n }\n if (typeof ret !== 'undefined') {\n return ret;\n }\n }\n\n return items;\n};\nplugin.constructor = Conditionize;\n\n_global.window.Conditionize = Conditionize;\n\nvar jQueryPlugin = function jQueryPlugin() {\n var args = arguments || [];\n Array.prototype.unshift.call(args, this);\n var res = plugin.apply(_global.window, args);\n return (typeof res === 'undefined' ? 'undefined' : _typeof(res)) !== 'object' ? res : this;\n};\njQueryPlugin.constructor = plugin.constructor;\n\n// no conflict\nvar oldJqPlugin = $.fn.conditionize;\n$.fn.conditionize = jQueryPlugin;\n$.fn.conditionize.noConflict = function () {\n $.fn.conditionize = oldJqPlugin;\n return this;\n};\n\n/***/ }),\n/* 3 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\n/* eslint-disable no-undefined,no-param-reassign,no-shadow */\n\n/**\n * Throttle execution of a function. Especially useful for rate limiting\n * execution of handlers on events like resize and scroll.\n *\n * @param {Number} delay A zero-or-greater delay in milliseconds. For event callbacks, values around 100 or 250 (or even higher) are most useful.\n * @param {Boolean} [noTrailing] Optional, defaults to false. If noTrailing is true, callback will only execute every `delay` milliseconds while the\n * throttled-function is being called. If noTrailing is false or unspecified, callback will be executed one final time\n * after the last throttled-function call. (After the throttled-function has not been called for `delay` milliseconds,\n * the internal counter is reset)\n * @param {Function} callback A function to be executed after delay milliseconds. The `this` context and all arguments are passed through, as-is,\n * to `callback` when the throttled-function is executed.\n * @param {Boolean} [debounceMode] If `debounceMode` is true (at begin), schedule `clear` to execute after `delay` ms. If `debounceMode` is false (at end),\n * schedule `callback` to execute after `delay` ms.\n *\n * @return {Function} A new, throttled, function.\n */\nfunction throttle(delay, noTrailing, callback, debounceMode) {\n\n\t/*\n * After wrapper has stopped being called, this timeout ensures that\n * `callback` is executed at the proper times in `throttle` and `end`\n * debounce modes.\n */\n\tvar timeoutID;\n\n\t// Keep track of the last time `callback` was executed.\n\tvar lastExec = 0;\n\n\t// `noTrailing` defaults to falsy.\n\tif (typeof noTrailing !== 'boolean') {\n\t\tdebounceMode = callback;\n\t\tcallback = noTrailing;\n\t\tnoTrailing = undefined;\n\t}\n\n\t/*\n * The `wrapper` function encapsulates all of the throttling / debouncing\n * functionality and when executed will limit the rate at which `callback`\n * is executed.\n */\n\tfunction wrapper() {\n\n\t\tvar self = this;\n\t\tvar elapsed = Number(new Date()) - lastExec;\n\t\tvar args = arguments;\n\n\t\t// Execute `callback` and update the `lastExec` timestamp.\n\t\tfunction exec() {\n\t\t\tlastExec = Number(new Date());\n\t\t\tcallback.apply(self, args);\n\t\t}\n\n\t\t/*\n * If `debounceMode` is true (at begin) this is used to clear the flag\n * to allow future `callback` executions.\n */\n\t\tfunction clear() {\n\t\t\ttimeoutID = undefined;\n\t\t}\n\n\t\tif (debounceMode && !timeoutID) {\n\t\t\t/*\n * Since `wrapper` is being called for the first time and\n * `debounceMode` is true (at begin), execute `callback`.\n */\n\t\t\texec();\n\t\t}\n\n\t\t// Clear any existing timeout.\n\t\tif (timeoutID) {\n\t\t\tclearTimeout(timeoutID);\n\t\t}\n\n\t\tif (debounceMode === undefined && elapsed > delay) {\n\t\t\t/*\n * In throttle mode, if `delay` time has been exceeded, execute\n * `callback`.\n */\n\t\t\texec();\n\t\t} else if (noTrailing !== true) {\n\t\t\t/*\n * In trailing throttle mode, since `delay` time has not been\n * exceeded, schedule `callback` to execute `delay` ms after most\n * recent execution.\n *\n * If `debounceMode` is true (at begin), schedule `clear` to execute\n * after `delay` ms.\n *\n * If `debounceMode` is false (at end), schedule `callback` to\n * execute after `delay` ms.\n */\n\t\t\ttimeoutID = setTimeout(debounceMode ? clear : exec, debounceMode === undefined ? delay - elapsed : delay);\n\t\t}\n\t}\n\n\t// Return the wrapper function.\n\treturn wrapper;\n}\n\n/* eslint-disable no-undefined */\n\n/**\n * Debounce execution of a function. Debouncing, unlike throttling,\n * guarantees that a function is only executed a single time, either at the\n * very beginning of a series of calls, or at the very end.\n *\n * @param {Number} delay A zero-or-greater delay in milliseconds. For event callbacks, values around 100 or 250 (or even higher) are most useful.\n * @param {Boolean} [atBegin] Optional, defaults to false. If atBegin is false or unspecified, callback will only be executed `delay` milliseconds\n * after the last debounced-function call. If atBegin is true, callback will be executed only at the first debounced-function call.\n * (After the throttled-function has not been called for `delay` milliseconds, the internal counter is reset).\n * @param {Function} callback A function to be executed after delay milliseconds. The `this` context and all arguments are passed through, as-is,\n * to `callback` when the debounced-function is executed.\n *\n * @return {Function} A new, debounced function.\n */\nfunction debounce(delay, atBegin, callback) {\n\treturn callback === undefined ? throttle(delay, atBegin, false) : throttle(delay, callback, atBegin !== false);\n}\n\nexports.throttle = throttle;\nexports.debounce = debounce;\n\n/***/ }),\n/* 4 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nvar global = __webpack_require__(0);\n\n/**\n * `requestAnimationFrame()`\n */\n\nvar request = global.requestAnimationFrame || global.webkitRequestAnimationFrame || global.mozRequestAnimationFrame || fallback;\n\nvar prev = +new Date();\nfunction fallback(fn) {\n var curr = +new Date();\n var ms = Math.max(0, 16 - (curr - prev));\n var req = setTimeout(fn, ms);\n return prev = curr, req;\n}\n\n/**\n * `cancelAnimationFrame()`\n */\n\nvar cancel = global.cancelAnimationFrame || global.webkitCancelAnimationFrame || global.mozCancelAnimationFrame || clearTimeout;\n\nif (Function.prototype.bind) {\n request = request.bind(global);\n cancel = cancel.bind(global);\n}\n\nexports = module.exports = request;\nexports.cancel = cancel;\n\n/***/ }),\n/* 5 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nvar g;\n\n// This works in non-strict mode\ng = function () {\n\treturn this;\n}();\n\ntry {\n\t// This works if eval is allowed (see CSP)\n\tg = g || Function(\"return this\")() || (1, eval)(\"this\");\n} catch (e) {\n\t// This works if the window reference is available\n\tif ((typeof window === \"undefined\" ? \"undefined\" : _typeof(window)) === \"object\") g = window;\n}\n\n// g can still be undefined, but nothing to do about it...\n// We return undefined, instead of nothing here, so it's\n// easier to handle this case. if(!global) { ...}\n\nmodule.exports = g;\n\n/***/ })\n/******/ ]);"]}
|
1 |
+
{"version":3,"sources":["conditionize.js"],"names":["modules","installedModules","__webpack_require__","moduleId","exports","module","i","l","call","m","c","d","name","getter","o","Object","defineProperty","configurable","enumerable","get","n","__esModule","object","property","prototype","hasOwnProperty","p","s","_typeof","Symbol","iterator","obj","constructor","_createClass","Constructor","protoProps","staticProps","defineProperties","target","props","length","descriptor","writable","key","_throttleDebounce","_global","$","window","jQuery","instanceID","Parser","e","this","table","parse","r","t","a","h","unshift","shift","push","Error","f","precedence","associativity","sortRelational","sortEquality","relations","==","eval","b","sort","!=","===","!==","*=","indexOf","<=",">=","<",">","&&","||","Conditionize","value","self","options","customToggle","$container","find","selector","hide","on","runCheck","onInit","$items","each","$this","conditionString","attr","conditionAttr","toString","conditionResult","checkCondition","onCheck","str","tokens","match","token","parserRelations","keys","forEach","k","stack","index","pop","compare","isNumeric","error","operator","arr","Array","condition","isValidSelector","$listenTo","result","is","val","onDestroy","off","show","container","userOptions","instance","TypeError","_classCallCheck","defaults","checkDebounce","assign","debounce","init","plugin","items","HTMLElement","nodeType","nodeName","args","slice","arguments","len","ret","apply","jQueryPlugin","res","oldJqPlugin","fn","conditionize","noConflict","throttle","delay","noTrailing","callback","debounceMode","timeoutID","cancelled","lastExec","clearExistingTimeout","clearTimeout","wrapper","elapsed","Date","now","exec","undefined","setTimeout","cancel","atBegin","global","win","g","Function"],"mappings":";;;;;IAAA,SAAAA,GAEA,IAAAC,EAAA,GAGA,SAAAC,EAAAC,GAGA,GAAAF,EAAAE,GACA,OAAAF,EAAAE,GAAAC,QAGA,IAAAC,EAAAJ,EAAAE,GAAA,CACAG,EAAAH,EACAI,GAAA,EACAH,QAAA,IAUA,OANAJ,EAAAG,GAAAK,KAAAH,EAAAD,QAAAC,EAAAA,EAAAD,QAAAF,GAGAG,EAAAE,GAAA,EAGAF,EAAAD,QAKAF,EAAAO,EAAAT,EAGAE,EAAAQ,EAAAT,EAGAC,EAAAS,EAAA,SAAAP,EAAAQ,EAAAC,GACAX,EAAAY,EAAAV,EAAAQ,IACAG,OAAAC,eAAAZ,EAAAQ,EAAA,CACAK,cAAA,EACAC,YAAA,EACAC,IAAAN,KAMAX,EAAAkB,EAAA,SAAAf,GACA,IAAAQ,EAAAR,GAAAA,EAAAgB,WACA,WAAA,OAAAhB,EAAA,SACA,WAAA,OAAAA,GAEA,OADAH,EAAAS,EAAAE,EAAA,IAAAA,GACAA,GAIAX,EAAAY,EAAA,SAAAQ,EAAAC,GAAA,OAAAR,OAAAS,UAAAC,eAAAjB,KAAAc,EAAAC,IAGArB,EAAAwB,EAAA,GAGAxB,EAAAA,EAAAyB,EAAA,GA9DA,CAiEA,CAEA,SAAAtB,EAAAD,EAAAF,GAEAG,EAAAD,QAAAF,EAAA,IAKA,SAAAG,EAAAD,EAAAF,GAEA,aAGA,IAAA0B,EAAA,mBAAAC,QAAA,iBAAAA,OAAAC,SAAA,SAAAC,GAAA,cAAAA,GAAA,SAAAA,GAAA,OAAAA,GAAA,mBAAAF,QAAAE,EAAAC,cAAAH,QAAAE,IAAAF,OAAAL,UAAA,gBAAAO,GAEAE,EAAA,SAAAC,EAAAC,EAAAC,GAAA,OAAAD,GAAAE,EAAAH,EAAAV,UAAAW,GAAAC,GAAAC,EAAAH,EAAAE,GAAAF,GAAA,SAAAG,EAAAC,EAAAC,GAAA,IAAA,IAAAjC,EAAA,EAAAA,EAAAiC,EAAAC,OAAAlC,IAAA,CAAA,IAAAmC,EAAAF,EAAAjC,GAAAmC,EAAAvB,WAAAuB,EAAAvB,aAAA,EAAAuB,EAAAxB,cAAA,EAAA,UAAAwB,IAAAA,EAAAC,UAAA,GAAA3B,OAAAC,eAAAsB,EAAAG,EAAAE,IAAAF,IAEA,IAAAG,EAAA1C,EAAA,GAEA2C,EAAA3C,EAAA,GAIA,IAAA4C,EAAAD,EAAAE,OAAAC,OACAC,EAAA,EAIA,SAAAC,EAAAC,GACAC,KAAAC,MAAAF,EACAD,EAAA1B,UAAA8B,MAAA,SAAAH,GACA,IAAA,IAAAI,EAAAJ,EAAAX,OAAAgB,EAAAJ,KAAAC,MAAA1B,EAAA,GAAA8B,EAAA,GAAAC,EAAA,EAAAA,EAAAH,GAAA,CACA,OAAAjD,EAAA6C,EAAAO,MAAA,IAAA,IACAD,EAAAE,QAAArD,GAAA,MAAA,IAAA,IACA,KAAAmD,EAAAjB,QAAA,CACA,GAAA,OAAAlC,EAAAmD,EAAAG,SAAA,MAAAjC,EAAAkC,KAAAvD,GACA,GAAA,MAAAA,EAAA,MAAA,IAAAwD,MAAA,2BAAA,MAAA,QACA,GAAAN,EAAA/B,eAAAnB,GAAA,CACA,KAAAmD,EAAAjB,QAAA,CACA,IAAAuB,EAAAN,EAAA,GAAA,GAAA,MAAAM,EAAA,MAAA,IAAA3C,EAAAoC,EAAAlD,GACAQ,EAAAM,EAAA4C,WACAtD,EAAA8C,EAAAO,GAAAC,WAAA,GAAAtD,EAAAI,GAAAA,IAAAJ,GAAA,UAAAU,EAAA6C,cAAA,MAAAtC,EAAAkC,KAAAJ,EAAAG,SACAH,EAAAE,QAAArD,QACAqB,EAAAkC,KAAAvD,IACA,KAAAmD,EAAAjB,QAAA,CACA,IAAAlC,EAAA,GAAA,OAAAA,EAAAmD,EAAAG,SAAA,MAAA,IAAAE,MAAA,2BAAAnC,EAAAkC,KAAAvD,GACA,OAAAqB,GAIA,IAAAuC,EAAA,CACAF,WAAA,EACAC,cAAA,QAEAE,EAAA,CACAH,WAAA,EACAC,cAAA,QAIAG,EAAA,CACAC,KAAA,CACAC,KAAA,SAAAb,EAAAc,GACA,OAAAd,GAAAc,GAGAC,KAAAL,GAEAM,KAAA,CACAH,KAAA,SAAAb,EAAAc,GACA,OAAAd,GAAAc,GAGAC,KAAAL,GAEAO,MAAA,CACAJ,KAAA,SAAAb,EAAAc,GACA,OAAAd,IAAAc,GAGAC,KAAAL,GAEAQ,MAAA,CACAL,KAAA,SAAAb,EAAAc,GACA,OAAAd,IAAAc,GAGAC,KAAAL,GAEAS,KAAA,CACAN,KAAA,SAAAb,EAAAc,GACA,OAAA,IAAAd,EAAAoB,QAAAN,IAGAC,KAAAL,GAEAW,KAAA,CACAR,KAAA,SAAAb,EAAAc,GACA,OAAAd,GAAAc,GAGAC,KAAAN,GAEAa,KAAA,CACAT,KAAA,SAAAb,EAAAc,GACA,OAAAA,GAAAd,GAGAe,KAAAN,GAEAc,IAAA,CACAV,KAAA,SAAAb,EAAAc,GACA,OAAAd,EAAAc,GAGAC,KAAAN,GAEAe,IAAA,CACAX,KAAA,SAAAb,EAAAc,GACA,OAAAA,EAAAd,GAGAe,KAAAN,GAEAgB,KAAA,CACAZ,KAAA,SAAAb,EAAAc,GACA,OAAAd,GAAAc,GAGAC,KAAA,CACAR,WAAA,EACAC,cAAA,UAGAkB,KAAA,CACAb,KAAA,SAAAb,EAAAc,GACA,OAAAd,GAAAc,GAGAC,KAAA,CACAR,WAAA,EACAC,cAAA,WAOAmB,GA+BAnD,EAAAmD,EAAA,CAAA,CACAzC,IAAA,OACA0C,MAAA,WACA,IAAAC,EAAAlC,KAGAkC,EAAAC,QAAAC,aACAF,EAAAC,QAAAC,aAAAhF,KAAA8E,EAAAA,EAAAG,WAAAC,KAAAJ,EAAAC,QAAAI,WAAA,GAEAL,EAAAG,WAAAC,KAAAJ,EAAAC,QAAAI,UAAAC,OAIAN,EAAAG,WAAAI,GAAA,sBAAA,0BAAA,WACAP,EAAAQ,SAAAR,EAAAG,WAAAC,KAAAJ,EAAAC,QAAAI,aAGAL,EAAAQ,SAAAR,EAAAG,WAAAC,KAAAJ,EAAAC,QAAAI,WAGAL,EAAAC,QAAAQ,QACAT,EAAAC,QAAAQ,OAAAvF,KAAA8E,KAGA,CACA3C,IAAA,WACA0C,MAAA,SAAAW,GACA,IAAAV,EAAAlC,KAEA4C,EAAAC,KAAA,WACA,IAAAC,EAAApD,EAAAM,MACA+C,EAAAD,EAAAE,KAAAd,EAAAC,QAAAc,eAAAC,WACAC,EAAAjB,EAAAkB,eAAAL,GAEAb,EAAAC,QAAAC,aACAF,EAAAC,QAAAC,aAAAhF,KAAA8E,EAAAY,EAAAK,GAEAL,EAAAK,EAAA,OAAA,UAGAjB,EAAAC,QAAAkB,SACAnB,EAAAC,QAAAkB,QAAAP,EAAAK,OAOA,CACA5D,IAAA,iBACA0C,MAAA,SAAAqB,GACA,IACAC,EAAAD,EAAAE,MAAA,WACAC,OAAA,EACAC,EAAA,GAEA/F,OAAAgG,KAAA3C,GAAA4C,QAAA,SAAAC,GACAH,EAAAG,GAAA7C,EAAA6C,GAAAzC,OAKAmC,EAFA,IAAAzD,EAAA4D,GAEAxD,MAAAqD,GAKA,IAHA,IAAAO,EAAA,GACAC,EAAA,EAEAA,EAAAR,EAAAnE,QAGA,IAFAqE,EAAAF,EAAAQ,QAEA/C,EAAA,CACA,IAAAG,EAAA2C,EAAAE,MACA3D,EAAAyD,EAAAE,MACAF,EAAArD,KAAA,CAAAJ,EAAAoD,EAAAtC,SAEA2C,EAAArD,KAAAgD,GAIA,OA5BAzD,KA4BAiE,QAAAH,EAAA1E,QAAA0E,EAAA,MAKA,CACAvE,IAAA,kBACA0C,MAAA,SAAAM,GACA,GAAA,iBAAAA,GAAA7C,EAAAwE,UAAA3B,IAAA,UAAAA,GAAA,SAAAA,GAAA,GAAAA,GACA,GAAAA,EAEA,OAAA,EAEA,IACA7C,EAAA6C,GACA,MAAA4B,GACA,OAAA,EAEA,OAAA,IAKA,CACA5E,IAAA,YACA0C,MAAA,SAAA5B,EAAA+D,EAAAjD,GACA,OAAAiD,KAAApD,IACA,UAAAX,EACAA,GAAA,EACA,SAAAA,IACAA,GAAA,GAGA,UAAAc,EACAA,GAAA,EACA,SAAAA,IACAA,GAAA,GAGAH,EAAAoD,GAAAlD,KAAAb,EAAAc,MAOA,CACA5B,IAAA,UACA0C,MAAA,SAAAoC,GACA,IAAAnC,EAAAlC,KAEA,GAAAqE,aAAAC,MACA,OAAA,IAAAD,EAAAjF,QACAiF,EAAA,GAAAnC,EAAA+B,QAAAI,EAAA,IACAA,EAAA,aAAAC,QACAD,EAAA,GAAAnC,EAAA+B,QAAAI,EAAA,KAGAnC,EAAAqC,UAAAF,EAAA,GAAAA,EAAA,GAAAA,EAAA,KACA,IAAAA,EAAAjF,QACA8C,EAAA+B,QAAAI,EAAA,IAGA,GAAAnC,EAAAsC,gBAAAH,GAAA,CACA,IAAAI,EAAA/E,EAAA2E,GACAK,GAAA,EAQA,OANAD,EAAAE,GAAA,iCACAD,EAAAD,EAAAE,GAAA,YACAF,EAAAE,GAAA,6BACAD,EAAAD,EAAAG,OAGAF,EAEA,OAAAL,IAEA,CACA9E,IAAA,UACA0C,MAAA,WACA,IAAAC,EAAAlC,KAGAkC,EAAAC,QAAA0C,WACA3C,EAAAC,QAAA0C,UAAAzH,KAAA8E,GAIAA,EAAAG,WAAAyC,IAAA,uBAGA5C,EAAAC,QAAAC,aACAF,EAAAC,QAAAC,aAAAhF,KAAA8E,EAAAA,EAAAG,WAAAC,KAAAJ,EAAAC,QAAAI,WAAA,GAEAL,EAAAG,WAAAC,KAAAJ,EAAAC,QAAAI,UAAAwC,cAIA7C,EAAAG,WAAAL,iBAIAA,GAnNA,SAAAA,EAAAgD,EAAAC,IAhIA,SAAAC,EAAApG,GAAA,KAAAoG,aAAApG,GAAA,MAAA,IAAAqG,UAAA,qCAiIAC,CAAApF,KAAAgC,GAEA,IAAAE,EAAAlC,KAEAkC,EAAArC,WAAAA,IAEAqC,EAAAG,WAAA3C,EAAAsF,GAEA9C,EAAAmD,SAAA,CACA9C,SAAA,cACAU,cAAA,YACAqC,cAAA,IAGAlD,aAAA,KAGAO,OAAA,KACAkC,UAAA,KACAxB,QAAA,MAGAnB,EAAAC,QAAAxE,OAAA4H,OAAA,GAAArD,EAAAmD,SAAAJ,GAEA/C,EAAAQ,UAAA,EAAAlD,EAAAgG,UAAAtD,EAAAC,QAAAmD,cAAApD,EAAAQ,UAEAR,EAAAuD,OA8LA,SAAAC,EAAAC,EAAA,IAGA,YAAA,oBAAAC,YAAA,YAAApH,EAAAoH,cAAAD,aAAAC,YAAAD,GAAA,iBAAA,IAAAA,EAAA,YAAAnH,EAAAmH,KAAA,OAAAA,GAAA,IAAAA,EAAAE,UAAA,iBAAAF,EAAAG,YACAH,EAAA,CAAAA,IASA,IANA,IAAAxD,EAPA,EAQA4D,EAAAzB,MAAAlG,UAAA4H,MAAA5I,KAAA6I,UAAA,GACAC,EAAAP,EAAAvG,OACAyE,EAAA,EACAsC,OAAA,EAEAtC,EAAAqC,EAAArC,IAUA,GATA,iBAAA,IAAA1B,EAAA,YAAA3D,EAAA2D,UAAA,IAAAA,EACAwD,EAAA9B,GAAA7B,eAEA2D,EAAA9B,GAAA7B,aAAA,IAAAA,EAAA2D,EAAA9B,GAAA1B,IAEAwD,EAAA9B,GAAA7B,eAEAmE,EAAAR,EAAA9B,GAAA7B,aAAAG,GAAAiE,MAAAT,EAAA9B,GAAA7B,aAAA+D,SAEA,IAAAI,EACA,OAAAA,EAIA,OAAAR,EAEAD,EAAA9G,YAAAoD,EAEAvC,EAAAE,OAAAqC,aAAAA,EAEA,SAAAqE,IACA,IAAAN,EAAAE,WAAA,GACA3B,MAAAlG,UAAAmC,QAAAnD,KAAA2I,EAAA/F,MACA,IAAAsG,EAAAZ,EAAAU,MAAA3G,EAAAE,OAAAoG,GACA,MAAA,iBAAA,IAAAO,EAAA,YAAA9H,EAAA8H,IAAAA,EAAAtG,KAEAqG,EAAAzH,YAAA8G,EAAA9G,YAGA,IAAA2H,EAAA7G,EAAA8G,GAAAC,aACA/G,EAAA8G,GAAAC,aAAAJ,EACA3G,EAAA8G,GAAAC,aAAAC,WAAA,WAEA,OADAhH,EAAA8G,GAAAC,aAAAF,EACAvG,OAKA,SAAA/C,EAAAD,EAAAF,GAEA,aAwBA,SAAA6J,EAAAC,EAAAC,EAAAC,EAAAC,GAMA,IAAAC,EACAC,GAAA,EAEAC,EAAA,EAEA,SAAAC,IACAH,GACAI,aAAAJ,GAsBA,SAAAK,IACA,IAAAnF,EAAAlC,KACAsH,EAAAC,KAAAC,MAAAN,EACAnB,EAAAE,UAOA,SAAAwB,IACAP,EAAAK,KAAAC,MACAV,EAAAV,MAAAlE,EAAA6D,GAPAkB,IAkBAF,IAAAC,GAKAS,IAGAN,SAEAO,IAAAX,GAAAH,EAAAU,EAKAG,KACA,IAAAZ,IAYAG,EAAAW,WAAAZ,EAhCA,WACAC,OAAAU,GA+BAD,OAAAC,IAAAX,EAAAH,EAAAU,EAAAV,KAMA,MApEA,kBAAAC,IACAE,EAAAD,EACAA,EAAAD,EACAA,OAAAa,GA+DAL,EAAAO,OAxEA,WACAT,IACAF,GAAA,GAwEAI,EAjHA1J,OAAAC,eAAAZ,EAAA,aAAA,CACAiF,OAAA,IAuIAjF,EAAA2J,SAAAA,EACA3J,EAAAwI,SALA,SAAAoB,EAAAiB,EAAAf,GACA,YAAAY,IAAAZ,EAAAH,EAAAC,EAAAiB,GAAA,GAAAlB,EAAAC,EAAAE,GAAA,IAAAe,KAQA,SAAA5K,EAAAD,EAAAF,GAEA,cACA,SAAAgL,GAEA,IAAAC,EAGAA,EADA,oBAAApI,OACAA,YACA,IAAAmI,EACAA,EACA,oBAAA5F,KACAA,KAEA,GAGAjF,EAAAD,QAAA+K,IACA3K,KAAAJ,EAAAF,EAAA,KAIA,SAAAG,EAAAD,EAAAF,GAEA,aAGA,IAEAkL,EAFAxJ,EAAA,mBAAAC,QAAA,iBAAAA,OAAAC,SAAA,SAAAC,GAAA,cAAAA,GAAA,SAAAA,GAAA,OAAAA,GAAA,mBAAAF,QAAAE,EAAAC,cAAAH,QAAAE,IAAAF,OAAAL,UAAA,gBAAAO,GAKAqJ,EAAA,WACA,OAAAhI,KADA,GAIA,IAEAgI,EAAAA,GAAAC,SAAA,cAAAA,KAAA,EAAA/G,MAAA,QACA,MAAAnB,GAEA,YAAA,oBAAAJ,OAAA,YAAAnB,EAAAmB,WAAAqI,EAAArI,QAOA1C,EAAAD,QAAAgL","file":"conditionize.min.js","sourcesContent":["/*!\n * Name : Conditionize - jQuery conditions for forms\n * Version : 1.0.2\n * Author : nK <https://nkdev.info>\n * GitHub : https://github.com/nk-o/conditionize\n */\n/******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId]) {\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, {\n/******/ \t\t\t\tconfigurable: false,\n/******/ \t\t\t\tenumerable: true,\n/******/ \t\t\t\tget: getter\n/******/ \t\t\t});\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = 0);\n/******/ })\n/************************************************************************/\n/******/ ([\n/* 0 */\n/***/ (function(module, exports, __webpack_require__) {\n\nmodule.exports = __webpack_require__(1);\n\n\n/***/ }),\n/* 1 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _throttleDebounce = __webpack_require__(2);\n\nvar _global = __webpack_require__(3);\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar $ = _global.window.jQuery;\nvar instanceID = 0;\n\n// https://gist.github.com/aaditmshah/6683499\n/* eslint-disable */\nfunction Parser(e) {\n this.table = e;\n}Parser.prototype.parse = function (e) {\n for (var r = e.length, t = this.table, s = [], a = [], h = 0; r > h;) {\n var i = e[h++];switch (i) {case \"(\":\n a.unshift(i);break;case \")\":\n for (; a.length;) {\n var i = a.shift();if (\"(\" === i) break;s.push(i);\n }if (\"(\" !== i) throw new Error(\"Mismatched parentheses.\");break;default:\n if (t.hasOwnProperty(i)) {\n for (; a.length;) {\n var f = a[0];if (\"(\" === f) break;var n = t[i],\n o = n.precedence,\n c = t[f].precedence;if (o > c || o === c && \"right\" === n.associativity) break;s.push(a.shift());\n }a.unshift(i);\n } else s.push(i);}\n }for (; a.length;) {\n var i = a.shift();if (\"(\" === i) throw new Error(\"Mismatched parentheses.\");s.push(i);\n }return s;\n};\n/* eslint-enable */\n\nvar sortRelational = {\n precedence: 3,\n associativity: 'left'\n};\nvar sortEquality = {\n precedence: 2,\n associativity: 'left'\n};\n\n// available relations\nvar relations = {\n '==': {\n eval: function _eval(a, b) {\n return a == b; // eslint-disable-line\n },\n\n sort: sortEquality\n },\n '!=': {\n eval: function _eval(a, b) {\n return a != b; // eslint-disable-line\n },\n\n sort: sortEquality\n },\n '===': {\n eval: function _eval(a, b) {\n return a === b;\n },\n\n sort: sortEquality\n },\n '!==': {\n eval: function _eval(a, b) {\n return a !== b;\n },\n\n sort: sortEquality\n },\n '*=': {\n eval: function _eval(a, b) {\n return a.indexOf(b) !== -1;\n },\n\n sort: sortEquality\n },\n '<=': {\n eval: function _eval(a, b) {\n return a <= b;\n },\n\n sort: sortRelational\n },\n '>=': {\n eval: function _eval(a, b) {\n return a >= b;\n },\n\n sort: sortRelational\n },\n '<': {\n eval: function _eval(a, b) {\n return a < b;\n },\n\n sort: sortRelational\n },\n '>': {\n eval: function _eval(a, b) {\n return a > b;\n },\n\n sort: sortRelational\n },\n '&&': {\n eval: function _eval(a, b) {\n return a && b;\n },\n\n sort: {\n precedence: 1,\n associativity: 'right'\n }\n },\n '||': {\n eval: function _eval(a, b) {\n return a || b;\n },\n\n sort: {\n precedence: 0,\n associativity: 'right'\n }\n }\n};\n\n// Conditionize class\n\nvar Conditionize = function () {\n function Conditionize(container, userOptions) {\n _classCallCheck(this, Conditionize);\n\n var self = this;\n\n self.instanceID = instanceID++;\n\n self.$container = $(container);\n\n self.defaults = {\n selector: '[data-cond]',\n conditionAttr: 'data-cond',\n checkDebounce: 150,\n\n // custom toggle function\n customToggle: null, // function( $item, show ) { $item[ show ? 'show' : 'hide' ](); }\n\n // events\n onInit: null, // function() {}\n onDestroy: null, // function() {}\n onCheck: null // function( $item, show ) {}\n };\n\n self.options = Object.assign({}, self.defaults, userOptions);\n\n self.runCheck = (0, _throttleDebounce.debounce)(self.options.checkDebounce, self.runCheck);\n\n self.init();\n }\n\n _createClass(Conditionize, [{\n key: 'init',\n value: function init() {\n var self = this;\n\n // hide all controls by default\n if (self.options.customToggle) {\n self.options.customToggle.call(self, self.$container.find(self.options.selector), false);\n } else {\n self.$container.find(self.options.selector).hide();\n }\n\n // event listener\n self.$container.on('change.conditionize', 'input, select, textarea', function () {\n self.runCheck(self.$container.find(self.options.selector));\n });\n\n self.runCheck(self.$container.find(self.options.selector));\n\n // call onInit event\n if (self.options.onInit) {\n self.options.onInit.call(self);\n }\n }\n }, {\n key: 'runCheck',\n value: function runCheck($items) {\n var self = this;\n\n $items.each(function () {\n var $this = $(this);\n var conditionString = $this.attr(self.options.conditionAttr).toString();\n var conditionResult = self.checkCondition(conditionString);\n\n if (self.options.customToggle) {\n self.options.customToggle.call(self, $this, conditionResult);\n } else {\n $this[conditionResult ? 'show' : 'hide']();\n }\n\n if (self.options.onCheck) {\n self.options.onCheck($this, conditionResult);\n }\n });\n }\n\n // parse condition\n\n }, {\n key: 'checkCondition',\n value: function checkCondition(str) {\n var self = this;\n var tokens = str.match(/[^\\s]+/g);\n var token = void 0;\n var parserRelations = {};\n\n Object.keys(relations).forEach(function (k) {\n parserRelations[k] = relations[k].sort;\n });\n\n var parser = new Parser(parserRelations);\n\n tokens = parser.parse(tokens);\n\n var stack = [];\n var index = 0;\n\n while (index < tokens.length) {\n token = tokens[index++];\n\n if (token in relations) {\n var b = stack.pop();\n var a = stack.pop();\n stack.push([a, token, b]);\n } else {\n stack.push(token);\n }\n }\n\n return self.compare(stack.length && stack[0]);\n }\n\n // check if is valid jquery selector\n\n }, {\n key: 'isValidSelector',\n value: function isValidSelector(selector) {\n if (typeof selector !== 'string' || $.isNumeric(selector) || selector === 'false' || selector === 'true' || selector == false // eslint-disable-line\n || selector == true // eslint-disable-line\n ) {\n return false;\n }\n try {\n $(selector);\n } catch (error) {\n return false;\n }\n return true;\n }\n\n // eval\n\n }, {\n key: 'condition',\n value: function condition(a, operator, b) {\n if (operator in relations) {\n if (a === 'false') {\n a = false;\n } else if (a === 'true') {\n a = true;\n }\n\n if (b === 'false') {\n b = false;\n } else if (b === 'true') {\n b = true;\n }\n\n return relations[operator].eval(a, b);\n }\n return false;\n }\n\n // compare items\n\n }, {\n key: 'compare',\n value: function compare(arr) {\n var self = this;\n\n if (arr instanceof Array) {\n if (arr.length === 3) {\n arr[0] = self.compare(arr[0]);\n if (arr[2] instanceof Array) {\n arr[2] = self.compare(arr[2]);\n }\n\n return self.condition(arr[0], arr[1], arr[2]);\n } else if (arr.length === 1) {\n return self.compare(arr[0]);\n }\n return false;\n } else if (self.isValidSelector(arr)) {\n var $listenTo = $(arr);\n var result = false;\n\n if ($listenTo.is('[type=radio], [type=checkbox]')) {\n result = $listenTo.is(':checked');\n } else if ($listenTo.is('textarea, select, input')) {\n result = $listenTo.val();\n }\n\n return result;\n }\n return arr;\n }\n }, {\n key: 'destroy',\n value: function destroy() {\n var self = this;\n\n // call onDestroy event\n if (self.options.onDestroy) {\n self.options.onDestroy.call(self);\n }\n\n // disable event.\n self.$container.off('change.conditionize');\n\n // show all controls\n if (self.options.customToggle) {\n self.options.customToggle.call(self, self.$container.find(self.options.selector), true);\n } else {\n self.$container.find(self.options.selector).show();\n }\n\n // delete Conditionize instance from container\n delete self.$container.Conditionize;\n }\n }]);\n\n return Conditionize;\n}();\n\n// global definition\n\n\nvar plugin = function plugin(items) {\n // check for dom element\n // thanks: http://stackoverflow.com/questions/384286/javascript-isdom-how-do-you-check-if-a-javascript-object-is-a-dom-object\n if ((typeof HTMLElement === 'undefined' ? 'undefined' : _typeof(HTMLElement)) === 'object' ? items instanceof HTMLElement : items && (typeof items === 'undefined' ? 'undefined' : _typeof(items)) === 'object' && items !== null && items.nodeType === 1 && typeof items.nodeName === 'string') {\n items = [items];\n }\n\n var options = arguments[1];\n var args = Array.prototype.slice.call(arguments, 2);\n var len = items.length;\n var k = 0;\n var ret = void 0;\n\n for (k; k < len; k++) {\n if ((typeof options === 'undefined' ? 'undefined' : _typeof(options)) === 'object' || typeof options === 'undefined') {\n if (!items[k].Conditionize) {\n // eslint-disable-next-line new-cap\n items[k].Conditionize = new Conditionize(items[k], options);\n }\n } else if (items[k].Conditionize) {\n // eslint-disable-next-line prefer-spread\n ret = items[k].Conditionize[options].apply(items[k].Conditionize, args);\n }\n if (typeof ret !== 'undefined') {\n return ret;\n }\n }\n\n return items;\n};\nplugin.constructor = Conditionize;\n\n_global.window.Conditionize = Conditionize;\n\nvar jQueryPlugin = function jQueryPlugin() {\n var args = arguments || [];\n Array.prototype.unshift.call(args, this);\n var res = plugin.apply(_global.window, args);\n return (typeof res === 'undefined' ? 'undefined' : _typeof(res)) !== 'object' ? res : this;\n};\njQueryPlugin.constructor = plugin.constructor;\n\n// no conflict\nvar oldJqPlugin = $.fn.conditionize;\n$.fn.conditionize = jQueryPlugin;\n$.fn.conditionize.noConflict = function () {\n $.fn.conditionize = oldJqPlugin;\n return this;\n};\n\n/***/ }),\n/* 2 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n/* eslint-disable no-undefined,no-param-reassign,no-shadow */\n\n/**\n * Throttle execution of a function. Especially useful for rate limiting\n * execution of handlers on events like resize and scroll.\n *\n * @param {Number} delay A zero-or-greater delay in milliseconds. For event callbacks, values around 100 or 250 (or even higher) are most useful.\n * @param {Boolean} [noTrailing] Optional, defaults to false. If noTrailing is true, callback will only execute every `delay` milliseconds while the\n * throttled-function is being called. If noTrailing is false or unspecified, callback will be executed one final time\n * after the last throttled-function call. (After the throttled-function has not been called for `delay` milliseconds,\n * the internal counter is reset)\n * @param {Function} callback A function to be executed after delay milliseconds. The `this` context and all arguments are passed through, as-is,\n * to `callback` when the throttled-function is executed.\n * @param {Boolean} [debounceMode] If `debounceMode` is true (at begin), schedule `clear` to execute after `delay` ms. If `debounceMode` is false (at end),\n * schedule `callback` to execute after `delay` ms.\n *\n * @return {Function} A new, throttled, function.\n */\nfunction throttle(delay, noTrailing, callback, debounceMode) {\n /*\n * After wrapper has stopped being called, this timeout ensures that\n * `callback` is executed at the proper times in `throttle` and `end`\n * debounce modes.\n */\n var timeoutID;\n var cancelled = false; // Keep track of the last time `callback` was executed.\n\n var lastExec = 0; // Function to clear existing timeout\n\n function clearExistingTimeout() {\n if (timeoutID) {\n clearTimeout(timeoutID);\n }\n } // Function to cancel next exec\n\n\n function cancel() {\n clearExistingTimeout();\n cancelled = true;\n } // `noTrailing` defaults to falsy.\n\n\n if (typeof noTrailing !== 'boolean') {\n debounceMode = callback;\n callback = noTrailing;\n noTrailing = undefined;\n }\n /*\n * The `wrapper` function encapsulates all of the throttling / debouncing\n * functionality and when executed will limit the rate at which `callback`\n * is executed.\n */\n\n function wrapper() {\n var self = this;\n var elapsed = Date.now() - lastExec;\n var args = arguments;\n\n if (cancelled) {\n return;\n } // Execute `callback` and update the `lastExec` timestamp.\n\n\n function exec() {\n lastExec = Date.now();\n callback.apply(self, args);\n }\n /*\n * If `debounceMode` is true (at begin) this is used to clear the flag\n * to allow future `callback` executions.\n */\n\n function clear() {\n timeoutID = undefined;\n }\n\n if (debounceMode && !timeoutID) {\n /*\n * Since `wrapper` is being called for the first time and\n * `debounceMode` is true (at begin), execute `callback`.\n */\n exec();\n }\n\n clearExistingTimeout();\n\n if (debounceMode === undefined && elapsed > delay) {\n /*\n * In throttle mode, if `delay` time has been exceeded, execute\n * `callback`.\n */\n exec();\n } else if (noTrailing !== true) {\n /*\n * In trailing throttle mode, since `delay` time has not been\n * exceeded, schedule `callback` to execute `delay` ms after most\n * recent execution.\n *\n * If `debounceMode` is true (at begin), schedule `clear` to execute\n * after `delay` ms.\n *\n * If `debounceMode` is false (at end), schedule `callback` to\n * execute after `delay` ms.\n */\n timeoutID = setTimeout(debounceMode ? clear : exec, debounceMode === undefined ? delay - elapsed : delay);\n }\n }\n\n wrapper.cancel = cancel; // Return the wrapper function.\n\n return wrapper;\n}\n\n/* eslint-disable no-undefined */\n/**\n * Debounce execution of a function. Debouncing, unlike throttling,\n * guarantees that a function is only executed a single time, either at the\n * very beginning of a series of calls, or at the very end.\n *\n * @param {Number} delay A zero-or-greater delay in milliseconds. For event callbacks, values around 100 or 250 (or even higher) are most useful.\n * @param {Boolean} [atBegin] Optional, defaults to false. If atBegin is false or unspecified, callback will only be executed `delay` milliseconds\n * after the last debounced-function call. If atBegin is true, callback will be executed only at the first debounced-function call.\n * (After the throttled-function has not been called for `delay` milliseconds, the internal counter is reset).\n * @param {Function} callback A function to be executed after delay milliseconds. The `this` context and all arguments are passed through, as-is,\n * to `callback` when the debounced-function is executed.\n *\n * @return {Function} A new, debounced function.\n */\n\nfunction debounce(delay, atBegin, callback) {\n return callback === undefined ? throttle(delay, atBegin, false) : throttle(delay, callback, atBegin !== false);\n}\n\nexports.throttle = throttle;\nexports.debounce = debounce;\n\n/***/ }),\n/* 3 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR INJECTION */(function(global) {\n\nvar win;\n\nif (typeof window !== \"undefined\") {\n win = window;\n} else if (typeof global !== \"undefined\") {\n win = global;\n} else if (typeof self !== \"undefined\") {\n win = self;\n} else {\n win = {};\n}\n\nmodule.exports = win;\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(4)))\n\n/***/ }),\n/* 4 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nvar g;\n\n// This works in non-strict mode\ng = function () {\n\treturn this;\n}();\n\ntry {\n\t// This works if eval is allowed (see CSP)\n\tg = g || Function(\"return this\")() || (1, eval)(\"this\");\n} catch (e) {\n\t// This works if the window reference is available\n\tif ((typeof window === \"undefined\" ? \"undefined\" : _typeof(window)) === \"object\") g = window;\n}\n\n// g can still be undefined, but nothing to do about it...\n// We return undefined, instead of nothing here, so it's\n// easier to handle this case. if(!global) { ...}\n\nmodule.exports = g;\n\n/***/ })\n/******/ ]);"]}
|
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 |
* Author: nK
|
7 |
* Author URI: https://nkdev.info
|
8 |
* License: GPLv2 or later
|
@@ -114,6 +114,7 @@ class Visual_Portfolio {
|
|
114 |
new Visual_Portfolio_Admin();
|
115 |
new Visual_Portfolio_TinyMCE();
|
116 |
new Visual_Portfolio_VC();
|
|
|
117 |
}
|
118 |
|
119 |
/**
|
@@ -207,6 +208,7 @@ class Visual_Portfolio {
|
|
207 |
require_once $this->plugin_path . 'classes/class-controls.php';
|
208 |
require_once $this->plugin_path . 'classes/class-tinymce.php';
|
209 |
require_once $this->plugin_path . 'classes/class-vc.php';
|
|
|
210 |
require_once $this->plugin_path . 'classes/class-migration.php';
|
211 |
}
|
212 |
|
2 |
/**
|
3 |
* Plugin Name: Visual Portfolio
|
4 |
* Description: Portfolio post type with visual editor
|
5 |
+
* Version: 1.15.0
|
6 |
* Author: nK
|
7 |
* Author URI: https://nkdev.info
|
8 |
* License: GPLv2 or later
|
114 |
new Visual_Portfolio_Admin();
|
115 |
new Visual_Portfolio_TinyMCE();
|
116 |
new Visual_Portfolio_VC();
|
117 |
+
new Visual_Portfolio_Elementor();
|
118 |
}
|
119 |
|
120 |
/**
|
208 |
require_once $this->plugin_path . 'classes/class-controls.php';
|
209 |
require_once $this->plugin_path . 'classes/class-tinymce.php';
|
210 |
require_once $this->plugin_path . 'classes/class-vc.php';
|
211 |
+
require_once $this->plugin_path . 'classes/class-elementor.php';
|
212 |
require_once $this->plugin_path . 'classes/class-migration.php';
|
213 |
}
|
214 |
|
classes/class-admin.php
CHANGED
@@ -20,10 +20,7 @@ class Visual_Portfolio_Admin {
|
|
20 |
add_action( 'admin_enqueue_scripts', array( $this, 'admin_enqueue_scripts' ) );
|
21 |
|
22 |
// include gutenberg block.
|
23 |
-
|
24 |
-
if ( function_exists( 'register_block_type' ) ) {
|
25 |
-
add_action( 'enqueue_block_editor_assets', array( $this, 'enqueue_block_editor_assets' ) );
|
26 |
-
}
|
27 |
|
28 |
// custom post types.
|
29 |
add_action( 'init', array( $this, 'add_custom_post_type' ) );
|
@@ -114,12 +111,14 @@ class Visual_Portfolio_Admin {
|
|
114 |
wp_enqueue_script( 'sortablejs', visual_portfolio()->plugin_url . 'assets/vendor/sortable/Sortable.min.js', array( 'jquery' ), '1.8.4', true );
|
115 |
wp_enqueue_script( 'sortablejs-jquery', visual_portfolio()->plugin_url . 'assets/vendor/sortable/jquery.binding.js', array( 'sortablejs' ), '1.8.4', true );
|
116 |
|
117 |
-
wp_enqueue_script( 'conditionize', visual_portfolio()->plugin_url . 'assets/vendor/conditionize/conditionize.min.js', array( 'jquery' ), '1.0.
|
118 |
|
119 |
wp_enqueue_script( 'popper.js', visual_portfolio()->plugin_url . 'assets/vendor/popper.js/popper.min.js', '', '1.14.3', true );
|
120 |
wp_enqueue_script( 'tooltip.js', visual_portfolio()->plugin_url . 'assets/vendor/popper.js/tooltip.min.js', array( 'popper.js' ), '1.14.3', true );
|
121 |
wp_enqueue_style( 'popper.js', visual_portfolio()->plugin_url . 'assets/vendor/popper.js/popper.css', '', '1.14.3' );
|
122 |
|
|
|
|
|
123 |
$codemirror_version = '5.45.0';
|
124 |
wp_enqueue_script( 'codemirror', visual_portfolio()->plugin_url . 'assets/vendor/codemirror/codemirror.js', '', $codemirror_version, true );
|
125 |
wp_enqueue_script( 'codemirror-mode-css', visual_portfolio()->plugin_url . 'assets/vendor/codemirror/mode/css/css.js', '', $codemirror_version, true );
|
@@ -152,13 +151,13 @@ class Visual_Portfolio_Admin {
|
|
152 |
wp_enqueue_style( 'codemirror-addon-matchesonscrollbar', visual_portfolio()->plugin_url . 'assets/vendor/codemirror/addon/search/matchesonscrollbar.css', '', $codemirror_version );
|
153 |
wp_enqueue_style( 'codemirror-theme-eclipse', visual_portfolio()->plugin_url . 'assets/vendor/codemirror/theme/eclipse.css', '', $codemirror_version );
|
154 |
|
155 |
-
wp_enqueue_script( 'visual-portfolio-layout-admin', visual_portfolio()->plugin_url . 'assets/admin/js/layouts-editor.min.js', array( 'jquery' ), '1.
|
156 |
-
wp_enqueue_style( 'visual-portfolio-layout-admin', visual_portfolio()->plugin_url . 'assets/admin/css/layouts-editor.min.css', '', '1.
|
157 |
wp_localize_script( 'visual-portfolio-layout-admin', 'VPAdminVariables', $data_init );
|
158 |
}
|
159 |
|
160 |
-
wp_enqueue_script( 'visual-portfolio-admin', visual_portfolio()->plugin_url . 'assets/admin/js/script.min.js', array( 'jquery' ), '1.
|
161 |
-
wp_enqueue_style( 'visual-portfolio-admin', visual_portfolio()->plugin_url . 'assets/admin/css/style.min.css', '', '1.
|
162 |
wp_localize_script( 'visual-portfolio-admin', 'VPAdminVariables', $data_init );
|
163 |
}
|
164 |
|
@@ -169,7 +168,7 @@ class Visual_Portfolio_Admin {
|
|
169 |
wp_enqueue_script(
|
170 |
'visual-portfolio-gutenberg',
|
171 |
plugins_url( '../assets/admin/js/gutenberg-block.min.js', __FILE__ ),
|
172 |
-
array( 'wp-editor', 'wp-i18n', 'wp-element', 'wp-components' ),
|
173 |
filemtime( plugin_dir_path( __FILE__ ) . '../assets/admin/js/gutenberg-block.min.js' )
|
174 |
);
|
175 |
|
@@ -179,27 +178,6 @@ class Visual_Portfolio_Admin {
|
|
179 |
array(),
|
180 |
filemtime( plugin_dir_path( __FILE__ ) . '../assets/admin/css/gutenberg-block.min.css' )
|
181 |
);
|
182 |
-
|
183 |
-
// prepare preview URL.
|
184 |
-
global $wp_rewrite;
|
185 |
-
|
186 |
-
$url = get_site_url();
|
187 |
-
|
188 |
-
if ( ! $wp_rewrite->using_permalinks() ) {
|
189 |
-
$url = add_query_arg(
|
190 |
-
array(
|
191 |
-
'vp_preview' => 'vp_preview',
|
192 |
-
), $url
|
193 |
-
);
|
194 |
-
} else {
|
195 |
-
$url .= '/vp_preview';
|
196 |
-
}
|
197 |
-
|
198 |
-
wp_localize_script(
|
199 |
-
'visual-portfolio-gutenberg', 'VPAdminGutenbergVariables', array(
|
200 |
-
'preview_url' => $url,
|
201 |
-
)
|
202 |
-
);
|
203 |
}
|
204 |
|
205 |
/**
|
@@ -496,7 +474,7 @@ class Visual_Portfolio_Admin {
|
|
496 |
if ( ! is_blog_installed() ) {
|
497 |
return;
|
498 |
}
|
499 |
-
if ( get_option( 'visual_portfolio_updated_caps' ) === '1.
|
500 |
return;
|
501 |
}
|
502 |
|
@@ -573,7 +551,7 @@ class Visual_Portfolio_Admin {
|
|
573 |
$wp_roles->add_cap( 'administrator', $cap );
|
574 |
}
|
575 |
|
576 |
-
update_option( 'visual_portfolio_updated_caps', '1.
|
577 |
}
|
578 |
|
579 |
/**
|
@@ -3044,6 +3022,7 @@ class Visual_Portfolio_Admin {
|
|
3044 |
$url = add_query_arg(
|
3045 |
array(
|
3046 |
'vp_preview_frame' => 'true',
|
|
|
3047 |
'vp_preview_frame_id' => $post->ID,
|
3048 |
), $url
|
3049 |
);
|
@@ -3142,13 +3121,12 @@ class Visual_Portfolio_Admin {
|
|
3142 |
<p class="description">
|
3143 |
<?php echo esc_html__( 'Available classes:', 'visual-portfolio' ); ?>
|
3144 |
</p>
|
3145 |
-
<ul>
|
3146 |
-
<li><code
|
3147 |
-
<li><code class="vp-onclick-selection">.vp-id-<?php echo esc_html( $post->ID ); ?> .vp-portfolio__items</code><?php echo esc_html__( ' - items wrapper.', 'visual-portfolio' ); ?></li>
|
3148 |
-
<li><code class="vp-onclick-selection">.vp-id-<?php echo esc_html( $post->ID ); ?> .vp-portfolio__item</code><?php echo esc_html__( ' - single item wrapper.', 'visual-portfolio' ); ?></li>
|
3149 |
-
<li><code class="vp-onclick-selection">.vp-id-<?php echo esc_html( $post->ID ); ?> .vp-filter</code><?php echo esc_html__( ' - filter wrapper.', 'visual-portfolio' ); ?></li>
|
3150 |
-
<li><code class="vp-onclick-selection">.vp-id-<?php echo esc_html( $post->ID ); ?> .vp-pagination</code><?php echo esc_html__( ' - pagination wrapper.', 'visual-portfolio' ); ?></li>
|
3151 |
</ul>
|
|
|
|
|
|
|
3152 |
<?php
|
3153 |
}
|
3154 |
|
20 |
add_action( 'admin_enqueue_scripts', array( $this, 'admin_enqueue_scripts' ) );
|
21 |
|
22 |
// include gutenberg block.
|
23 |
+
add_action( 'enqueue_block_editor_assets', array( $this, 'enqueue_block_editor_assets' ) );
|
|
|
|
|
|
|
24 |
|
25 |
// custom post types.
|
26 |
add_action( 'init', array( $this, 'add_custom_post_type' ) );
|
111 |
wp_enqueue_script( 'sortablejs', visual_portfolio()->plugin_url . 'assets/vendor/sortable/Sortable.min.js', array( 'jquery' ), '1.8.4', true );
|
112 |
wp_enqueue_script( 'sortablejs-jquery', visual_portfolio()->plugin_url . 'assets/vendor/sortable/jquery.binding.js', array( 'sortablejs' ), '1.8.4', true );
|
113 |
|
114 |
+
wp_enqueue_script( 'conditionize', visual_portfolio()->plugin_url . 'assets/vendor/conditionize/conditionize.min.js', array( 'jquery' ), '1.0.2', true );
|
115 |
|
116 |
wp_enqueue_script( 'popper.js', visual_portfolio()->plugin_url . 'assets/vendor/popper.js/popper.min.js', '', '1.14.3', true );
|
117 |
wp_enqueue_script( 'tooltip.js', visual_portfolio()->plugin_url . 'assets/vendor/popper.js/tooltip.min.js', array( 'popper.js' ), '1.14.3', true );
|
118 |
wp_enqueue_style( 'popper.js', visual_portfolio()->plugin_url . 'assets/vendor/popper.js/popper.css', '', '1.14.3' );
|
119 |
|
120 |
+
wp_enqueue_script( 'clipboard.js', visual_portfolio()->plugin_url . 'assets/vendor/clipboard.js/clipboard.min.js', '', '2.0.4' );
|
121 |
+
|
122 |
$codemirror_version = '5.45.0';
|
123 |
wp_enqueue_script( 'codemirror', visual_portfolio()->plugin_url . 'assets/vendor/codemirror/codemirror.js', '', $codemirror_version, true );
|
124 |
wp_enqueue_script( 'codemirror-mode-css', visual_portfolio()->plugin_url . 'assets/vendor/codemirror/mode/css/css.js', '', $codemirror_version, true );
|
151 |
wp_enqueue_style( 'codemirror-addon-matchesonscrollbar', visual_portfolio()->plugin_url . 'assets/vendor/codemirror/addon/search/matchesonscrollbar.css', '', $codemirror_version );
|
152 |
wp_enqueue_style( 'codemirror-theme-eclipse', visual_portfolio()->plugin_url . 'assets/vendor/codemirror/theme/eclipse.css', '', $codemirror_version );
|
153 |
|
154 |
+
wp_enqueue_script( 'visual-portfolio-layout-admin', visual_portfolio()->plugin_url . 'assets/admin/js/layouts-editor.min.js', array( 'jquery' ), '1.15.0', true );
|
155 |
+
wp_enqueue_style( 'visual-portfolio-layout-admin', visual_portfolio()->plugin_url . 'assets/admin/css/layouts-editor.min.css', '', '1.15.0' );
|
156 |
wp_localize_script( 'visual-portfolio-layout-admin', 'VPAdminVariables', $data_init );
|
157 |
}
|
158 |
|
159 |
+
wp_enqueue_script( 'visual-portfolio-admin', visual_portfolio()->plugin_url . 'assets/admin/js/script.min.js', array( 'jquery', 'wp-data' ), '1.15.0', true );
|
160 |
+
wp_enqueue_style( 'visual-portfolio-admin', visual_portfolio()->plugin_url . 'assets/admin/css/style.min.css', '', '1.15.0' );
|
161 |
wp_localize_script( 'visual-portfolio-admin', 'VPAdminVariables', $data_init );
|
162 |
}
|
163 |
|
168 |
wp_enqueue_script(
|
169 |
'visual-portfolio-gutenberg',
|
170 |
plugins_url( '../assets/admin/js/gutenberg-block.min.js', __FILE__ ),
|
171 |
+
array( 'wp-editor', 'wp-i18n', 'wp-element', 'wp-components', 'jquery' ),
|
172 |
filemtime( plugin_dir_path( __FILE__ ) . '../assets/admin/js/gutenberg-block.min.js' )
|
173 |
);
|
174 |
|
178 |
array(),
|
179 |
filemtime( plugin_dir_path( __FILE__ ) . '../assets/admin/css/gutenberg-block.min.css' )
|
180 |
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
181 |
}
|
182 |
|
183 |
/**
|
474 |
if ( ! is_blog_installed() ) {
|
475 |
return;
|
476 |
}
|
477 |
+
if ( get_option( 'visual_portfolio_updated_caps' ) === '1.15.0' ) {
|
478 |
return;
|
479 |
}
|
480 |
|
551 |
$wp_roles->add_cap( 'administrator', $cap );
|
552 |
}
|
553 |
|
554 |
+
update_option( 'visual_portfolio_updated_caps', '1.15.0' );
|
555 |
}
|
556 |
|
557 |
/**
|
3022 |
$url = add_query_arg(
|
3023 |
array(
|
3024 |
'vp_preview_frame' => 'true',
|
3025 |
+
'vp_preview_type' => 'layouts-editor',
|
3026 |
'vp_preview_frame_id' => $post->ID,
|
3027 |
), $url
|
3028 |
);
|
3121 |
<p class="description">
|
3122 |
<?php echo esc_html__( 'Available classes:', 'visual-portfolio' ); ?>
|
3123 |
</p>
|
3124 |
+
<ul class="vp-dom-tree-help">
|
3125 |
+
<li><code>.vp-id-<?php echo esc_html( $post->ID ); ?></code><?php echo esc_html__( ' - use this classname for each styles you added. It is the main Visual Portfolio wrapper.', 'visual-portfolio' ); ?></li>
|
|
|
|
|
|
|
|
|
3126 |
</ul>
|
3127 |
+
<div class="vp-dom-tree">
|
3128 |
+
<span class="spinner is-active"></span>
|
3129 |
+
</div>
|
3130 |
<?php
|
3131 |
}
|
3132 |
|
classes/class-assets.php
CHANGED
@@ -32,6 +32,8 @@ class Visual_Portfolio_Assets {
|
|
32 |
add_action( 'template_redirect', array( $this, 'register_scripts' ), 9 );
|
33 |
add_action( 'wp_enqueue_scripts', array( $this, 'wp_enqueue_head_assets' ), 9 );
|
34 |
|
|
|
|
|
35 |
add_action( 'wp_footer', array( $this, 'wp_enqueue_foot_assets' ) );
|
36 |
|
37 |
add_action( 'wp_head', array( $this, 'localize_global_data' ) );
|
@@ -330,7 +332,7 @@ class Visual_Portfolio_Assets {
|
|
330 |
);
|
331 |
|
332 |
foreach ( $vp_styles as $name => $data ) {
|
333 |
-
wp_register_style( $name, visual_portfolio()->plugin_url . $data[0], $data[1], '1.
|
334 |
}
|
335 |
|
336 |
// Visual Portfolio JS.
|
@@ -422,7 +424,19 @@ class Visual_Portfolio_Assets {
|
|
422 |
);
|
423 |
|
424 |
foreach ( $vp_scripts as $name => $data ) {
|
425 |
-
wp_register_script( $name, visual_portfolio()->plugin_url . $data[0], $data[1], '1.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
426 |
}
|
427 |
}
|
428 |
|
32 |
add_action( 'template_redirect', array( $this, 'register_scripts' ), 9 );
|
33 |
add_action( 'wp_enqueue_scripts', array( $this, 'wp_enqueue_head_assets' ), 9 );
|
34 |
|
35 |
+
add_action( 'template_redirect', array( $this, 'popup_custom_styles' ) );
|
36 |
+
|
37 |
add_action( 'wp_footer', array( $this, 'wp_enqueue_foot_assets' ) );
|
38 |
|
39 |
add_action( 'wp_head', array( $this, 'localize_global_data' ) );
|
332 |
);
|
333 |
|
334 |
foreach ( $vp_styles as $name => $data ) {
|
335 |
+
wp_register_style( $name, visual_portfolio()->plugin_url . $data[0], $data[1], '1.15.0' );
|
336 |
}
|
337 |
|
338 |
// Visual Portfolio JS.
|
424 |
);
|
425 |
|
426 |
foreach ( $vp_scripts as $name => $data ) {
|
427 |
+
wp_register_script( $name, visual_portfolio()->plugin_url . $data[0], $data[1], '1.15.0', true );
|
428 |
+
}
|
429 |
+
}
|
430 |
+
|
431 |
+
/**
|
432 |
+
* Dynamic styles for popup gallery plugins.
|
433 |
+
*/
|
434 |
+
public function popup_custom_styles() {
|
435 |
+
$bg_color = Visual_Portfolio_Settings::get_option( 'background_color', 'vp_popup_gallery', '#1e1e1e' );
|
436 |
+
|
437 |
+
if ( $bg_color ) {
|
438 |
+
wp_add_inline_style( 'visual-portfolio-popup-fancybox', '.vp-fancybox .fancybox-bg { background-color: ' . esc_attr( $bg_color ) . '; }' );
|
439 |
+
wp_add_inline_style( 'visual-portfolio-popup-photoswipe', '.vp-pswp .pswp__bg { background-color: ' . esc_attr( $bg_color ) . '; }' );
|
440 |
}
|
441 |
}
|
442 |
|
classes/class-elementor-widget.php
ADDED
@@ -0,0 +1,189 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Widget for Elementor
|
4 |
+
*
|
5 |
+
* @package visual-portfolio/elementor
|
6 |
+
*/
|
7 |
+
|
8 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
9 |
+
exit;
|
10 |
+
}
|
11 |
+
|
12 |
+
/**
|
13 |
+
* Class Visual_Portfolio_Elementor_Widget
|
14 |
+
*/
|
15 |
+
class Visual_Portfolio_Elementor_Widget extends \Elementor\Widget_Base {
|
16 |
+
/**
|
17 |
+
* Constructor of Visual_Portfolio_Elementor_Widget class.
|
18 |
+
*
|
19 |
+
* @param array $data default widget data.
|
20 |
+
* @param null|array $args default widget args.
|
21 |
+
*/
|
22 |
+
public function __construct( $data = [], $args = null ) {
|
23 |
+
parent::__construct( $data, $args );
|
24 |
+
|
25 |
+
wp_register_script( 'iframe-resizer', visual_portfolio()->plugin_url . 'assets/vendor/iframe-resizer/iframeResizer.min.js', '', '4.2.1', true );
|
26 |
+
wp_register_script( 'visual-portfolio-elementor', visual_portfolio()->plugin_url . 'assets/admin/js/elementor.min.js', array( 'elementor-frontend', 'iframe-resizer', 'jquery' ), '1.15.0', true );
|
27 |
+
|
28 |
+
wp_register_style( 'visual-portfolio-elementor', visual_portfolio()->plugin_url . 'assets/admin/css/elementor.min.css', array(), '1.15.0' );
|
29 |
+
}
|
30 |
+
|
31 |
+
/**
|
32 |
+
* Get widget name.
|
33 |
+
*
|
34 |
+
* @return string Widget name.
|
35 |
+
*/
|
36 |
+
public function get_name() {
|
37 |
+
return 'visual-portfolio';
|
38 |
+
}
|
39 |
+
|
40 |
+
/**
|
41 |
+
* Get widget title.
|
42 |
+
*
|
43 |
+
* @return string Widget title.
|
44 |
+
*/
|
45 |
+
public function get_title() {
|
46 |
+
return __( 'Visual Portfolio', 'visual-portfolio' );
|
47 |
+
}
|
48 |
+
|
49 |
+
/**
|
50 |
+
* Get widget icon.
|
51 |
+
*
|
52 |
+
* @return string Widget icon.
|
53 |
+
*/
|
54 |
+
public function get_icon() {
|
55 |
+
return 'eicon-gallery-grid';
|
56 |
+
}
|
57 |
+
|
58 |
+
/**
|
59 |
+
* Get widget categories.
|
60 |
+
*
|
61 |
+
* @return array Widget categories.
|
62 |
+
*/
|
63 |
+
public function get_categories() {
|
64 |
+
return array( 'general' );
|
65 |
+
}
|
66 |
+
|
67 |
+
/**
|
68 |
+
* Get widget keywords.
|
69 |
+
*
|
70 |
+
* @return array Widget keywords.
|
71 |
+
*/
|
72 |
+
public function get_keywords() {
|
73 |
+
return array( 'portfolio', 'gallery', 'images', 'visual portfolio', 'vpf' );
|
74 |
+
}
|
75 |
+
|
76 |
+
/**
|
77 |
+
* Get script dependencies.
|
78 |
+
*
|
79 |
+
* @return array Widget script dependencies.
|
80 |
+
*/
|
81 |
+
public function get_script_depends() {
|
82 |
+
return array( 'visual-portfolio-elementor' );
|
83 |
+
}
|
84 |
+
|
85 |
+
/**
|
86 |
+
* Get style dependencies.
|
87 |
+
*
|
88 |
+
* @return array Widget style dependencies.
|
89 |
+
*/
|
90 |
+
public function get_style_depends() {
|
91 |
+
return array( 'visual-portfolio-elementor' );
|
92 |
+
}
|
93 |
+
|
94 |
+
/**
|
95 |
+
* Adds different input fields to allow the user to change and customize the widget settings.
|
96 |
+
*/
|
97 |
+
protected function _register_controls() {
|
98 |
+
// get all visual-portfolio post types.
|
99 |
+
// Don't use WP_Query on the admin side https://core.trac.wordpress.org/ticket/18408 .
|
100 |
+
$vp_query = get_posts(
|
101 |
+
array(
|
102 |
+
'post_type' => 'vp_lists',
|
103 |
+
// phpcs:ignore
|
104 |
+
'posts_per_page' => -1,
|
105 |
+
'showposts' => -1,
|
106 |
+
'paged' => -1,
|
107 |
+
)
|
108 |
+
);
|
109 |
+
$options = array();
|
110 |
+
foreach ( $vp_query as $post ) {
|
111 |
+
$options[ $post->ID ] = '#' . $post->ID . ' - ' . $post->post_title;
|
112 |
+
}
|
113 |
+
|
114 |
+
$this->start_controls_section(
|
115 |
+
'content_section',
|
116 |
+
array(
|
117 |
+
'label' => __( 'General', 'visual-portfolio' ),
|
118 |
+
'tab' => \Elementor\Controls_Manager::TAB_CONTENT,
|
119 |
+
)
|
120 |
+
);
|
121 |
+
|
122 |
+
$this->add_control(
|
123 |
+
'id',
|
124 |
+
array(
|
125 |
+
'label' => esc_html__( 'Select Layout', 'visual-portfolio' ),
|
126 |
+
'type' => \Elementor\Controls_Manager::SELECT2,
|
127 |
+
'options' => $options,
|
128 |
+
'dynamic' => array(
|
129 |
+
'active' => true,
|
130 |
+
),
|
131 |
+
)
|
132 |
+
);
|
133 |
+
|
134 |
+
$this->end_controls_section();
|
135 |
+
}
|
136 |
+
|
137 |
+
/**
|
138 |
+
* Render widget output on the frontend.
|
139 |
+
*/
|
140 |
+
protected function render() {
|
141 |
+
$settings = array_merge(
|
142 |
+
array(
|
143 |
+
'id' => false,
|
144 |
+
'class' => '',
|
145 |
+
),
|
146 |
+
$this->get_settings()
|
147 |
+
);
|
148 |
+
|
149 |
+
if ( ! $settings['id'] ) {
|
150 |
+
return;
|
151 |
+
}
|
152 |
+
|
153 |
+
$this->add_render_attribute(
|
154 |
+
'wrapper',
|
155 |
+
array(
|
156 |
+
'class' => 'visual-portfolio-elementor-preview',
|
157 |
+
'data-id' => $settings['id'],
|
158 |
+
)
|
159 |
+
);
|
160 |
+
|
161 |
+
?>
|
162 |
+
<div
|
163 |
+
<?php
|
164 |
+
// phpcs:ignore
|
165 |
+
echo $this->get_render_attribute_string( 'wrapper' );
|
166 |
+
?>
|
167 |
+
>
|
168 |
+
<iframe></iframe>
|
169 |
+
</div>
|
170 |
+
<?php
|
171 |
+
}
|
172 |
+
|
173 |
+
/**
|
174 |
+
* Render shortcode widget output in the editor.
|
175 |
+
*
|
176 |
+
* Written as a Backbone JavaScript template and used to generate the live preview.
|
177 |
+
*
|
178 |
+
* @since 1.0.0
|
179 |
+
* @access protected
|
180 |
+
*/
|
181 |
+
protected function content_template() {}
|
182 |
+
|
183 |
+
/**
|
184 |
+
* Render Plain Content
|
185 |
+
*
|
186 |
+
* @param array $instance instance data.
|
187 |
+
*/
|
188 |
+
public function render_plain_content( $instance = [] ) {}
|
189 |
+
}
|
classes/class-elementor.php
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Class for Elementor
|
4 |
+
*
|
5 |
+
* @package visual-portfolio/elementor
|
6 |
+
*/
|
7 |
+
|
8 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
9 |
+
exit;
|
10 |
+
}
|
11 |
+
|
12 |
+
/**
|
13 |
+
* Class Visual_Portfolio_Elementor
|
14 |
+
*/
|
15 |
+
class Visual_Portfolio_Elementor {
|
16 |
+
/**
|
17 |
+
* Visual_Portfolio_Elementor constructor.
|
18 |
+
*/
|
19 |
+
public function __construct() {
|
20 |
+
add_action( 'elementor/widgets/widgets_registered', array( $this, 'widgets_registered' ) );
|
21 |
+
}
|
22 |
+
|
23 |
+
/**
|
24 |
+
* Register widget
|
25 |
+
*/
|
26 |
+
public function widgets_registered() {
|
27 |
+
require_once visual_portfolio()->plugin_path . 'classes/class-elementor-widget.php';
|
28 |
+
|
29 |
+
\Elementor\Plugin::instance()->widgets_manager->register_widget_type( new Visual_Portfolio_Elementor_Widget() );
|
30 |
+
}
|
31 |
+
}
|
32 |
+
|
33 |
+
new Visual_Portfolio_Elementor();
|
classes/class-get-portfolio.php
CHANGED
@@ -442,6 +442,7 @@ class Visual_Portfolio_Get {
|
|
442 |
<div class="vp-portfolio__items vp-portfolio__items-style-<?php echo esc_attr( $options['vp_items_style'] ); ?>">
|
443 |
<?php
|
444 |
$each_item_args = array(
|
|
|
445 |
'url' => '',
|
446 |
'title' => '',
|
447 |
'excerpt' => '',
|
@@ -504,7 +505,9 @@ class Visual_Portfolio_Get {
|
|
504 |
'label' => $cat,
|
505 |
'description' => '',
|
506 |
'count' => '',
|
507 |
-
'taxonomy' => '
|
|
|
|
|
508 |
'url' => $url,
|
509 |
);
|
510 |
}
|
@@ -577,6 +580,8 @@ class Visual_Portfolio_Get {
|
|
577 |
'description' => $cat_item->description,
|
578 |
'count' => $cat_item->count,
|
579 |
'taxonomy' => $cat_item->taxonomy,
|
|
|
|
|
580 |
'url' => $url,
|
581 |
);
|
582 |
}
|
@@ -585,6 +590,7 @@ class Visual_Portfolio_Get {
|
|
585 |
|
586 |
$args = array_merge(
|
587 |
$each_item_args, array(
|
|
|
588 |
'url' => get_permalink(),
|
589 |
'title' => get_the_title(),
|
590 |
'format' => get_post_format() ? : 'standard',
|
@@ -609,7 +615,8 @@ class Visual_Portfolio_Get {
|
|
609 |
if ( 'video' === $args['format'] ) {
|
610 |
$video_url = get_post_meta( get_the_ID(), 'video_url', true );
|
611 |
if ( $video_url ) {
|
612 |
-
$args['video']
|
|
|
613 |
}
|
614 |
}
|
615 |
|
@@ -1201,6 +1208,7 @@ class Visual_Portfolio_Get {
|
|
1201 |
'description' => '',
|
1202 |
'count' => isset( $categories_count[ $cat ] ) && $categories_count[ $cat ] ? $categories_count[ $cat ] : '',
|
1203 |
'taxonomy' => 'category',
|
|
|
1204 |
'parent' => 0,
|
1205 |
'active' => $active_item === $slug,
|
1206 |
'url' => $url,
|
@@ -1291,6 +1299,7 @@ class Visual_Portfolio_Get {
|
|
1291 |
'description' => $term->description,
|
1292 |
'count' => $term->count,
|
1293 |
'taxonomy' => $term->taxonomy,
|
|
|
1294 |
'parent' => $term->parent,
|
1295 |
'active' => $active_item === $unique_name,
|
1296 |
'url' => $url,
|
@@ -1313,6 +1322,8 @@ class Visual_Portfolio_Get {
|
|
1313 |
'label' => $vp_options['vp_filter_text_all'],
|
1314 |
'description' => false,
|
1315 |
'count' => false,
|
|
|
|
|
1316 |
'active' => ! $there_is_active,
|
1317 |
'url' => self::get_pagenum_link(
|
1318 |
array(
|
442 |
<div class="vp-portfolio__items vp-portfolio__items-style-<?php echo esc_attr( $options['vp_items_style'] ); ?>">
|
443 |
<?php
|
444 |
$each_item_args = array(
|
445 |
+
'post_id' => '',
|
446 |
'url' => '',
|
447 |
'title' => '',
|
448 |
'excerpt' => '',
|
505 |
'label' => $cat,
|
506 |
'description' => '',
|
507 |
'count' => '',
|
508 |
+
'taxonomy' => '',
|
509 |
+
'id' => 0,
|
510 |
+
'parent' => 0,
|
511 |
'url' => $url,
|
512 |
);
|
513 |
}
|
580 |
'description' => $cat_item->description,
|
581 |
'count' => $cat_item->count,
|
582 |
'taxonomy' => $cat_item->taxonomy,
|
583 |
+
'id' => $cat_item->term_id,
|
584 |
+
'parent' => $cat_item->parent,
|
585 |
'url' => $url,
|
586 |
);
|
587 |
}
|
590 |
|
591 |
$args = array_merge(
|
592 |
$each_item_args, array(
|
593 |
+
'post_id' => get_the_ID(),
|
594 |
'url' => get_permalink(),
|
595 |
'title' => get_the_title(),
|
596 |
'format' => get_post_format() ? : 'standard',
|
615 |
if ( 'video' === $args['format'] ) {
|
616 |
$video_url = get_post_meta( get_the_ID(), 'video_url', true );
|
617 |
if ( $video_url ) {
|
618 |
+
$args['video'] = $video_url;
|
619 |
+
$args['allow_popup'] = true;
|
620 |
}
|
621 |
}
|
622 |
|
1208 |
'description' => '',
|
1209 |
'count' => isset( $categories_count[ $cat ] ) && $categories_count[ $cat ] ? $categories_count[ $cat ] : '',
|
1210 |
'taxonomy' => 'category',
|
1211 |
+
'id' => 0,
|
1212 |
'parent' => 0,
|
1213 |
'active' => $active_item === $slug,
|
1214 |
'url' => $url,
|
1299 |
'description' => $term->description,
|
1300 |
'count' => $term->count,
|
1301 |
'taxonomy' => $term->taxonomy,
|
1302 |
+
'id' => $term->term_id,
|
1303 |
'parent' => $term->parent,
|
1304 |
'active' => $active_item === $unique_name,
|
1305 |
'url' => $url,
|
1322 |
'label' => $vp_options['vp_filter_text_all'],
|
1323 |
'description' => false,
|
1324 |
'count' => false,
|
1325 |
+
'id' => 0,
|
1326 |
+
'parent' => 0,
|
1327 |
'active' => ! $there_is_active,
|
1328 |
'url' => self::get_pagenum_link(
|
1329 |
array(
|
classes/class-preview.php
CHANGED
@@ -44,6 +44,39 @@ class Visual_Portfolio_Preview {
|
|
44 |
add_filter( 'vpf_get_layout_option', array( $this, 'filter_preview_option' ), 10, 2 );
|
45 |
add_action( 'init', array( $this, 'flush_rules_preview_frame' ) );
|
46 |
add_action( 'template_redirect', array( $this, 'template_redirect' ) );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
47 |
}
|
48 |
|
49 |
/**
|
@@ -155,6 +188,17 @@ class Visual_Portfolio_Preview {
|
|
155 |
public function print_template( $id ) {
|
156 |
wp_enqueue_script( 'iframe-resizer-content', visual_portfolio()->plugin_url . 'assets/vendor/iframe-resizer/iframeResizer.contentWindow.min.js', '', '4.2.1', true );
|
157 |
wp_enqueue_script( 'visual-portfolio-preview', visual_portfolio()->plugin_url . 'assets/js/script-preview.min.js', array( 'jquery' ), '', true );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
158 |
?>
|
159 |
<!DOCTYPE html>
|
160 |
<html <?php language_attributes(); ?> style="margin-top: 0 !important;">
|
@@ -190,7 +234,7 @@ class Visual_Portfolio_Preview {
|
|
190 |
</head>
|
191 |
|
192 |
<body>
|
193 |
-
<div id="vp_preview">
|
194 |
<?php
|
195 |
// phpcs:ignore
|
196 |
echo Visual_Portfolio_Get::get( array( 'id' => $id ) );
|
44 |
add_filter( 'vpf_get_layout_option', array( $this, 'filter_preview_option' ), 10, 2 );
|
45 |
add_action( 'init', array( $this, 'flush_rules_preview_frame' ) );
|
46 |
add_action( 'template_redirect', array( $this, 'template_redirect' ) );
|
47 |
+
|
48 |
+
add_action( 'wp_print_scripts', array( $this, 'localize_scripts' ), 9 );
|
49 |
+
}
|
50 |
+
|
51 |
+
/**
|
52 |
+
* Localize scripts with preview URL.
|
53 |
+
*/
|
54 |
+
public function localize_scripts() {
|
55 |
+
// prepare preview URL.
|
56 |
+
global $wp_rewrite;
|
57 |
+
|
58 |
+
$url = get_site_url();
|
59 |
+
|
60 |
+
if ( ! $wp_rewrite->using_permalinks() ) {
|
61 |
+
$url = add_query_arg(
|
62 |
+
array(
|
63 |
+
'vp_preview' => 'vp_preview',
|
64 |
+
), $url
|
65 |
+
);
|
66 |
+
} else {
|
67 |
+
$url .= '/vp_preview';
|
68 |
+
}
|
69 |
+
|
70 |
+
wp_localize_script(
|
71 |
+
'visual-portfolio-gutenberg', 'VPAdminGutenbergVariables', array(
|
72 |
+
'preview_url' => $url,
|
73 |
+
)
|
74 |
+
);
|
75 |
+
wp_localize_script(
|
76 |
+
'visual-portfolio-elementor', 'VPAdminElementorVariables', array(
|
77 |
+
'preview_url' => $url,
|
78 |
+
)
|
79 |
+
);
|
80 |
}
|
81 |
|
82 |
/**
|
188 |
public function print_template( $id ) {
|
189 |
wp_enqueue_script( 'iframe-resizer-content', visual_portfolio()->plugin_url . 'assets/vendor/iframe-resizer/iframeResizer.contentWindow.min.js', '', '4.2.1', true );
|
190 |
wp_enqueue_script( 'visual-portfolio-preview', visual_portfolio()->plugin_url . 'assets/js/script-preview.min.js', array( 'jquery' ), '', true );
|
191 |
+
|
192 |
+
$class_name = 'vp-preview-wrapper';
|
193 |
+
|
194 |
+
// preview type.
|
195 |
+
// phpcs:ignore
|
196 |
+
$type = isset( $_GET['vp_preview_type'] ) ? esc_attr( wp_unslash( $_GET['vp_preview_type'] ) ) : false;
|
197 |
+
|
198 |
+
if ( $type ) {
|
199 |
+
$class_name .= ' vp-preview-type-' . $type;
|
200 |
+
}
|
201 |
+
|
202 |
?>
|
203 |
<!DOCTYPE html>
|
204 |
<html <?php language_attributes(); ?> style="margin-top: 0 !important;">
|
234 |
</head>
|
235 |
|
236 |
<body>
|
237 |
+
<div id="vp_preview" class="<?php echo esc_attr( $class_name ); ?>">
|
238 |
<?php
|
239 |
// phpcs:ignore
|
240 |
echo Visual_Portfolio_Get::get( array( 'id' => $id ) );
|
classes/class-settings.php
CHANGED
@@ -284,6 +284,14 @@ class Visual_Portfolio_Settings {
|
|
284 |
'type' => 'checkbox',
|
285 |
'default' => 'off',
|
286 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
287 |
),
|
288 |
);
|
289 |
|
284 |
'type' => 'checkbox',
|
285 |
'default' => 'off',
|
286 |
),
|
287 |
+
|
288 |
+
// Colors.
|
289 |
+
array(
|
290 |
+
'name' => 'background_color',
|
291 |
+
'label' => esc_html__( 'Background Color', 'visual-portfolio' ),
|
292 |
+
'type' => 'color',
|
293 |
+
'default' => '#1e1e1e',
|
294 |
+
),
|
295 |
),
|
296 |
);
|
297 |
|
languages/visual-portfolio.pot
CHANGED
@@ -15,840 +15,824 @@ msgstr ""
|
|
15 |
"X-Poedit-SourceCharset: UTF-8\n"
|
16 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
17 |
|
18 |
-
#: dist/visual-portfolio/class-visual-portfolio.php:
|
19 |
msgid "Small (VP)"
|
20 |
msgstr ""
|
21 |
|
22 |
-
#: dist/visual-portfolio/class-visual-portfolio.php:
|
23 |
msgid "Medium (VP)"
|
24 |
msgstr ""
|
25 |
|
26 |
-
#: dist/visual-portfolio/class-visual-portfolio.php:
|
27 |
msgid "Large (VP)"
|
28 |
msgstr ""
|
29 |
|
30 |
-
#: dist/visual-portfolio/class-visual-portfolio.php:
|
31 |
msgid "Extra Large (VP)"
|
32 |
msgstr ""
|
33 |
|
34 |
#. translators: %d: error count
|
35 |
#. translators: %d: error count
|
36 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
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:
|
43 |
msgid "Update anyway, even though it might break your site?"
|
44 |
msgstr ""
|
45 |
|
46 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
47 |
msgctxt "Post Type General Name"
|
48 |
msgid "Portfolio Items"
|
49 |
msgstr ""
|
50 |
|
51 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
52 |
msgctxt "Post Type Singular Name"
|
53 |
msgid "Portfolio Item"
|
54 |
msgstr ""
|
55 |
|
56 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
57 |
msgid "Visual Portfolio"
|
58 |
msgstr ""
|
59 |
|
60 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
61 |
msgid "Parent Portfolio Item"
|
62 |
msgstr ""
|
63 |
|
64 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
65 |
msgid "Portfolio Items"
|
66 |
msgstr ""
|
67 |
|
68 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
69 |
msgid "View Portfolio Item"
|
70 |
msgstr ""
|
71 |
|
72 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
73 |
msgid "Add New Portfolio Item"
|
74 |
msgstr ""
|
75 |
|
76 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
77 |
msgid "Add New"
|
78 |
msgstr ""
|
79 |
|
80 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
81 |
msgid "Edit Portfolio Item"
|
82 |
msgstr ""
|
83 |
|
84 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
85 |
msgid "Update Portfolio Item"
|
86 |
msgstr ""
|
87 |
|
88 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
89 |
msgid "Search Portfolio Item"
|
90 |
msgstr ""
|
91 |
|
92 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
93 |
msgid "Not Found"
|
94 |
msgstr ""
|
95 |
|
96 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
97 |
msgid "Not found in Trash"
|
98 |
msgstr ""
|
99 |
|
100 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
101 |
msgid "Portfolio Categories"
|
102 |
msgstr ""
|
103 |
|
104 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
105 |
msgid "Categories"
|
106 |
msgstr ""
|
107 |
|
108 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
109 |
msgid "Portfolio Tags"
|
110 |
msgstr ""
|
111 |
|
112 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
113 |
msgid "Tags"
|
114 |
msgstr ""
|
115 |
|
116 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
117 |
msgctxt "Post Type General Name"
|
118 |
msgid "Portfolio Layouts"
|
119 |
msgstr ""
|
120 |
|
121 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
122 |
msgctxt "Post Type Singular Name"
|
123 |
msgid "Portfolio Layout"
|
124 |
msgstr ""
|
125 |
|
126 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
127 |
msgid "Portfolio Layouts"
|
128 |
msgstr ""
|
129 |
|
130 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
131 |
msgid "View Portfolio Layout"
|
132 |
msgstr ""
|
133 |
|
134 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
135 |
msgid "Add New Portfolio Layout"
|
136 |
msgstr ""
|
137 |
|
138 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
139 |
msgid "Edit Portfolio Layout"
|
140 |
msgstr ""
|
141 |
|
142 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
143 |
msgid "Update Portfolio Layout"
|
144 |
msgstr ""
|
145 |
|
146 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
147 |
msgid "Search Portfolio Layout"
|
148 |
msgstr ""
|
149 |
|
150 |
#. translators: %s - taxonomy name.
|
151 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
152 |
msgid "Show All %s"
|
153 |
msgstr ""
|
154 |
|
155 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
156 |
msgid "Video"
|
157 |
msgstr ""
|
158 |
|
159 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
160 |
msgid "https://"
|
161 |
msgstr ""
|
162 |
|
163 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
164 |
msgid "Portfolio Manager"
|
165 |
msgstr ""
|
166 |
|
167 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
168 |
msgid "Portfolio Author"
|
169 |
msgstr ""
|
170 |
|
171 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
172 |
msgid "Ready to add your awesome portfolio?"
|
173 |
msgstr ""
|
174 |
|
175 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
176 |
msgid "Create your first portfolio list!"
|
177 |
msgstr ""
|
178 |
|
179 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
180 |
msgid "Thumbnail"
|
181 |
msgstr ""
|
182 |
|
183 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
184 |
msgid "Shortcode"
|
185 |
msgstr ""
|
186 |
|
187 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
188 |
msgid "Documentation"
|
189 |
msgstr ""
|
190 |
|
191 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
192 |
msgid "Tiles"
|
193 |
msgstr ""
|
194 |
|
195 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
196 |
msgid "Type"
|
197 |
msgstr ""
|
198 |
|
199 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
200 |
msgid "Select tiles type"
|
201 |
msgstr ""
|
202 |
|
203 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
204 |
msgid "Masonry"
|
205 |
msgstr ""
|
206 |
|
207 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
208 |
msgid "Columns"
|
209 |
msgstr ""
|
210 |
|
211 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
212 |
msgid "Grid"
|
213 |
msgstr ""
|
214 |
|
215 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
216 |
msgid "Justified"
|
217 |
msgstr ""
|
218 |
|
219 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
220 |
msgid "Row height"
|
221 |
msgstr ""
|
222 |
|
223 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
224 |
msgid "Row Height Tolerance"
|
225 |
msgstr ""
|
226 |
|
227 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
228 |
msgid "Slider"
|
229 |
msgstr ""
|
230 |
|
231 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
232 |
msgid "Effect"
|
233 |
msgstr ""
|
234 |
|
235 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
236 |
msgid "Slide"
|
237 |
msgstr ""
|
238 |
|
239 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
240 |
msgid "Coverflow"
|
241 |
msgstr ""
|
242 |
|
243 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
244 |
msgid "Fade"
|
245 |
msgstr ""
|
246 |
|
247 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
248 |
msgid "Speed (in Seconds)"
|
249 |
msgstr ""
|
250 |
|
251 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
252 |
msgid "Autoplay (in Seconds)"
|
253 |
msgstr ""
|
254 |
|
255 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
256 |
msgid "Pause on Mouse Over"
|
257 |
msgstr ""
|
258 |
|
259 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
260 |
msgid "Items Height"
|
261 |
msgstr ""
|
262 |
|
263 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
264 |
msgid "Auto"
|
265 |
msgstr ""
|
266 |
|
267 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
268 |
msgid "Static (px)"
|
269 |
msgstr ""
|
270 |
|
271 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
272 |
msgid "Dynamic (%)"
|
273 |
msgstr ""
|
274 |
|
275 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
276 |
msgid "Items Minimal Height"
|
277 |
msgstr ""
|
278 |
|
279 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
280 |
msgid "300px, 80vh"
|
281 |
msgstr ""
|
282 |
|
283 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
284 |
msgid "Values with `vh` units will not be visible in preview."
|
285 |
msgstr ""
|
286 |
|
287 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
288 |
msgid "Slides Per View"
|
289 |
msgstr ""
|
290 |
|
291 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
292 |
msgid "Custom"
|
293 |
msgstr ""
|
294 |
|
295 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
296 |
msgid "Centered Slides"
|
297 |
msgstr ""
|
298 |
|
299 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
300 |
msgid "Loop"
|
301 |
msgstr ""
|
302 |
|
303 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
304 |
msgid "Free Scroll"
|
305 |
msgstr ""
|
306 |
|
307 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
308 |
msgid "Free Scroll Sticky"
|
309 |
msgstr ""
|
310 |
|
311 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
312 |
msgid "Display Arrows"
|
313 |
msgstr ""
|
314 |
|
315 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
316 |
msgid "Prev Arrow Icon"
|
317 |
msgstr ""
|
318 |
|
319 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
320 |
msgid "Next Arrow Icon"
|
321 |
msgstr ""
|
322 |
|
323 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
324 |
msgid "Display Bullets"
|
325 |
msgstr ""
|
326 |
|
327 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
328 |
msgid "Dynamic Bullets"
|
329 |
msgstr ""
|
330 |
|
331 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
332 |
msgid "Mousewheel Control"
|
333 |
msgstr ""
|
334 |
|
335 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
336 |
msgid "Display Thumbnails"
|
337 |
msgstr ""
|
338 |
|
339 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
340 |
msgid "Thumbnails Gap"
|
341 |
msgstr ""
|
342 |
|
343 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
344 |
msgid "Thumbnails Height"
|
345 |
msgstr ""
|
346 |
|
347 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
348 |
msgid "Thumbnails Per View"
|
349 |
msgstr ""
|
350 |
|
351 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
352 |
msgid "Gap"
|
353 |
msgstr ""
|
354 |
|
355 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
356 |
msgid "Items Per Page"
|
357 |
msgstr ""
|
358 |
|
359 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
360 |
msgid "Stretch"
|
361 |
msgstr ""
|
362 |
|
363 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
364 |
msgid "Break container and display it wide"
|
365 |
msgstr ""
|
366 |
|
367 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
368 |
msgid "Default"
|
369 |
msgstr ""
|
370 |
|
371 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
372 |
msgid "Display Read More Button"
|
373 |
msgstr ""
|
374 |
|
375 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
376 |
msgid "Hide"
|
377 |
msgstr ""
|
378 |
|
379 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
380 |
msgid "Always Display"
|
381 |
msgstr ""
|
382 |
|
383 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
384 |
msgid "Display when used \"More tag\" in the post"
|
385 |
msgstr ""
|
386 |
|
387 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
388 |
msgid "Read More Button Label"
|
389 |
msgstr ""
|
390 |
|
391 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
392 |
msgid "Fly"
|
393 |
msgstr ""
|
394 |
|
395 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
396 |
msgid "Overlay Background Color"
|
397 |
msgstr ""
|
398 |
|
399 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
400 |
msgid "Overlay Text Color"
|
401 |
msgstr ""
|
402 |
|
403 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
404 |
msgid "Emerge"
|
405 |
msgstr ""
|
406 |
|
407 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
408 |
msgid "Display Title"
|
409 |
msgstr ""
|
410 |
|
411 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
412 |
msgid "Display Categories"
|
413 |
msgstr ""
|
414 |
|
415 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
416 |
msgid "Categories Count"
|
417 |
msgstr ""
|
418 |
|
419 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
420 |
msgid "Display Date"
|
421 |
msgstr ""
|
422 |
|
423 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
424 |
msgid "Human Format"
|
425 |
msgstr ""
|
426 |
|
427 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
428 |
msgid ""
|
429 |
"Date format
|
430 |
" Example: F j, Y"
|
431 |
msgstr ""
|
432 |
|
433 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
434 |
msgid "Display Excerpt"
|
435 |
msgstr ""
|
436 |
|
437 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
438 |
msgid "Excerpt Words Count"
|
439 |
msgstr ""
|
440 |
|
441 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
442 |
msgid "Display Icon"
|
443 |
msgstr ""
|
444 |
|
445 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
446 |
msgid "Standard Icon"
|
447 |
msgstr ""
|
448 |
|
449 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
450 |
msgid "Video Icon"
|
451 |
msgstr ""
|
452 |
|
453 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
454 |
msgid "Caption Align"
|
455 |
msgstr ""
|
456 |
|
457 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
458 |
msgid "Disabled"
|
459 |
msgstr ""
|
460 |
|
461 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
462 |
msgid "URL"
|
463 |
msgstr ""
|
464 |
|
465 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
466 |
msgid "Popup Gallery"
|
467 |
msgstr ""
|
468 |
|
469 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
470 |
msgid "Target"
|
471 |
msgstr ""
|
472 |
|
473 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
474 |
msgid "New Tab (_blank)"
|
475 |
msgstr ""
|
476 |
|
477 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
478 |
msgid "Top Frame (_top)"
|
479 |
msgstr ""
|
480 |
|
481 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
482 |
msgid "Title"
|
483 |
msgstr ""
|
484 |
|
485 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
486 |
msgid "None"
|
487 |
msgstr ""
|
488 |
|
489 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
490 |
msgid "Image Title"
|
491 |
msgstr ""
|
492 |
|
493 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
494 |
msgid "Image Caption"
|
495 |
msgstr ""
|
496 |
|
497 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
498 |
msgid "Image Alt"
|
499 |
msgstr ""
|
500 |
|
501 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
502 |
msgid "Image Description"
|
503 |
msgstr ""
|
504 |
|
505 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
506 |
msgid "Description"
|
507 |
msgstr ""
|
508 |
|
509 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
510 |
msgid "Dropdown"
|
511 |
msgstr ""
|
512 |
|
513 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
514 |
msgid "Align"
|
515 |
msgstr ""
|
516 |
|
517 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
518 |
msgid "Center"
|
519 |
msgstr ""
|
520 |
|
521 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
522 |
msgid "Left"
|
523 |
msgstr ""
|
524 |
|
525 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
526 |
msgid "Right"
|
527 |
msgstr ""
|
528 |
|
529 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
530 |
msgid "Display Count"
|
531 |
msgstr ""
|
532 |
|
533 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
534 |
msgid "All Button Text"
|
535 |
msgstr ""
|
536 |
|
537 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
538 |
msgid "All"
|
539 |
msgstr ""
|
540 |
|
541 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
542 |
msgid "Paged"
|
543 |
msgstr ""
|
544 |
|
545 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
546 |
msgid "Load More"
|
547 |
msgstr ""
|
548 |
|
549 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
550 |
msgid "Infinite"
|
551 |
msgstr ""
|
552 |
|
553 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
554 |
msgid "Note: you will see the \"Load More\" pagination in the preview. \"Infinite\" pagination will be visible on the site."
|
555 |
msgstr ""
|
556 |
|
557 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
558 |
msgid "Texts"
|
559 |
msgstr ""
|
560 |
|
561 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
562 |
msgid "Load more button label"
|
563 |
msgstr ""
|
564 |
|
565 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
566 |
msgid "Loading More..."
|
567 |
msgstr ""
|
568 |
|
569 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
570 |
msgid "Loading more button label"
|
571 |
msgstr ""
|
572 |
|
573 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
574 |
msgid "You’ve reached the end of the list"
|
575 |
msgstr ""
|
576 |
|
577 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
578 |
msgid "End of the list text"
|
579 |
msgstr ""
|
580 |
|
581 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
582 |
msgid "Display Numbers"
|
583 |
msgstr ""
|
584 |
|
585 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
586 |
msgid "Data Source"
|
587 |
msgstr ""
|
588 |
|
589 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
590 |
msgid "Specific Posts"
|
591 |
msgstr ""
|
592 |
|
593 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
594 |
msgid "Excluded Posts"
|
595 |
msgstr ""
|
596 |
|
597 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
598 |
msgid "Custom Query"
|
599 |
msgstr ""
|
600 |
|
601 |
#. translators: %1$s - escaped url.
|
602 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
603 |
msgid "Build custom query according to WordPress Codex. See example here <a href=\"%1$s\">%1$s</a>."
|
604 |
msgstr ""
|
605 |
|
606 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
607 |
msgid "Taxonomies"
|
608 |
msgstr ""
|
609 |
|
610 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
611 |
msgid "Taxonomies Relation"
|
612 |
msgstr ""
|
613 |
|
614 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
615 |
msgid "OR"
|
616 |
msgstr ""
|
617 |
|
618 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
619 |
msgid "AND"
|
620 |
msgstr ""
|
621 |
|
622 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
623 |
msgid "Order by"
|
624 |
msgstr ""
|
625 |
|
626 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
627 |
msgid "Date"
|
628 |
msgstr ""
|
629 |
|
630 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
631 |
msgid "ID"
|
632 |
msgstr ""
|
633 |
|
634 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
635 |
msgid "Menu Order"
|
636 |
msgstr ""
|
637 |
|
638 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
639 |
msgid "Random"
|
640 |
msgstr ""
|
641 |
|
642 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
643 |
msgid "Order Direction"
|
644 |
msgstr ""
|
645 |
|
646 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
647 |
msgid "DESC"
|
648 |
msgstr ""
|
649 |
|
650 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
651 |
msgid "ASC"
|
652 |
msgstr ""
|
653 |
|
654 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
655 |
msgid "Avoid Duplicate Posts"
|
656 |
msgstr ""
|
657 |
|
658 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
659 |
msgid "Titles"
|
660 |
msgstr ""
|
661 |
|
662 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
663 |
msgid "Descriptions"
|
664 |
msgstr ""
|
665 |
|
666 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
667 |
msgid "Uploaded"
|
668 |
msgstr ""
|
669 |
|
670 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
671 |
msgid "Name & Shortcode"
|
672 |
msgstr ""
|
673 |
|
674 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
675 |
msgid "Layout"
|
676 |
msgstr ""
|
677 |
|
678 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
679 |
msgid "Items Style"
|
680 |
msgstr ""
|
681 |
|
682 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
683 |
msgid "Items Click Action"
|
684 |
msgstr ""
|
685 |
|
686 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
687 |
msgid "Filter"
|
688 |
msgstr ""
|
689 |
|
690 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
691 |
msgid "Sort"
|
692 |
msgstr ""
|
693 |
|
694 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
695 |
msgid "Pagination"
|
696 |
msgstr ""
|
697 |
|
698 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
699 |
msgid "Preview"
|
700 |
msgstr ""
|
701 |
|
702 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
703 |
msgid "Content Source"
|
704 |
msgstr ""
|
705 |
|
706 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
707 |
msgid "Custom CSS"
|
708 |
msgstr ""
|
709 |
|
710 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
711 |
msgid "Name"
|
712 |
msgstr ""
|
713 |
|
714 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
715 |
msgid "Place the shortcode where you want to show the portfolio list."
|
716 |
msgstr ""
|
717 |
|
718 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
719 |
msgid "Filter Shortcode"
|
720 |
msgstr ""
|
721 |
|
722 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
723 |
msgid "Place the shortcode where you want to show the filter."
|
724 |
msgstr ""
|
725 |
|
726 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
727 |
msgid "Sort Shortcode"
|
728 |
msgstr ""
|
729 |
|
730 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
731 |
msgid "Place the shortcode where you want to show the sort."
|
732 |
msgstr ""
|
733 |
|
734 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
735 |
msgid "Portfolio"
|
736 |
msgstr ""
|
737 |
|
738 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
739 |
msgid "Post-Based"
|
740 |
msgstr ""
|
741 |
|
742 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
743 |
msgid "Images"
|
744 |
msgstr ""
|
745 |
|
746 |
#. translators: %1$s - escaped url.
|
747 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
748 |
msgid "Portfolio items list from <a href=\"%1$s\" target=\"_blank\">%2$s</a>"
|
749 |
msgstr ""
|
750 |
|
751 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
752 |
msgid "Available classes:"
|
753 |
msgstr ""
|
754 |
|
755 |
-
#: dist/visual-portfolio/classes/class-admin.php:
|
756 |
msgid " - use this classname for each styles you added. It is the main Visual Portfolio wrapper."
|
757 |
msgstr ""
|
758 |
|
759 |
-
#: dist/visual-portfolio/classes/class-
|
760 |
-
msgid " - items wrapper."
|
761 |
-
msgstr ""
|
762 |
-
|
763 |
-
#: dist/visual-portfolio/classes/class-admin.php:3148
|
764 |
-
msgid " - single item wrapper."
|
765 |
-
msgstr ""
|
766 |
-
|
767 |
-
#: dist/visual-portfolio/classes/class-admin.php:3149
|
768 |
-
msgid " - filter wrapper."
|
769 |
-
msgstr ""
|
770 |
-
|
771 |
-
#: dist/visual-portfolio/classes/class-admin.php:3150
|
772 |
-
msgid " - pagination wrapper."
|
773 |
-
msgstr ""
|
774 |
-
|
775 |
-
#: dist/visual-portfolio/classes/class-assets.php:435
|
776 |
msgid "Couldn't retrieve Visual Portfolio ID."
|
777 |
msgstr ""
|
778 |
|
779 |
-
#: dist/visual-portfolio/classes/class-assets.php:
|
780 |
msgid "Close (Esc)"
|
781 |
msgstr ""
|
782 |
|
783 |
-
#: dist/visual-portfolio/classes/class-assets.php:
|
784 |
msgid "Share"
|
785 |
msgstr ""
|
786 |
|
787 |
-
#: dist/visual-portfolio/classes/class-assets.php:
|
788 |
msgid "Toggle fullscreen"
|
789 |
msgstr ""
|
790 |
|
791 |
-
#: dist/visual-portfolio/classes/class-assets.php:
|
792 |
msgid "Zoom in/out"
|
793 |
msgstr ""
|
794 |
|
795 |
-
#: dist/visual-portfolio/classes/class-assets.php:
|
796 |
msgid "Previous (arrow left)"
|
797 |
msgstr ""
|
798 |
|
799 |
-
#: dist/visual-portfolio/classes/class-assets.php:
|
800 |
msgid "Next (arrow right)"
|
801 |
msgstr ""
|
802 |
|
803 |
-
#: dist/visual-portfolio/classes/class-assets.php:
|
804 |
msgid "Share on Facebook"
|
805 |
msgstr ""
|
806 |
|
807 |
-
#: dist/visual-portfolio/classes/class-assets.php:
|
808 |
msgid "Tweet"
|
809 |
msgstr ""
|
810 |
|
811 |
-
#: dist/visual-portfolio/classes/class-assets.php:
|
812 |
msgid "Pin it"
|
813 |
msgstr ""
|
814 |
|
815 |
-
#: dist/visual-portfolio/classes/class-assets.php:
|
816 |
msgid "Close"
|
817 |
msgstr ""
|
818 |
|
819 |
-
#: dist/visual-portfolio/classes/class-assets.php:
|
820 |
msgid "Next"
|
821 |
msgstr ""
|
822 |
|
823 |
-
#: dist/visual-portfolio/classes/class-assets.php:
|
824 |
msgid "Previous"
|
825 |
msgstr ""
|
826 |
|
827 |
-
#: dist/visual-portfolio/classes/class-assets.php:
|
828 |
msgid "The requested content cannot be loaded. <br /> Please try again later."
|
829 |
msgstr ""
|
830 |
|
831 |
-
#: dist/visual-portfolio/classes/class-assets.php:
|
832 |
msgid "Start slideshow"
|
833 |
msgstr ""
|
834 |
|
835 |
-
#: dist/visual-portfolio/classes/class-assets.php:
|
836 |
msgid "Pause slideshow"
|
837 |
msgstr ""
|
838 |
|
839 |
-
#: dist/visual-portfolio/classes/class-assets.php:
|
840 |
msgid "Full screen"
|
841 |
msgstr ""
|
842 |
|
843 |
-
#: dist/visual-portfolio/classes/class-assets.php:
|
844 |
msgid "Thumbnails"
|
845 |
msgstr ""
|
846 |
|
847 |
-
#: dist/visual-portfolio/classes/class-assets.php:
|
848 |
msgid "Download"
|
849 |
msgstr ""
|
850 |
|
851 |
-
#: dist/visual-portfolio/classes/class-assets.php:
|
852 |
msgid "Zoom"
|
853 |
msgstr ""
|
854 |
|
@@ -884,32 +868,40 @@ msgstr ""
|
|
884 |
msgid "Edit"
|
885 |
msgstr ""
|
886 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
887 |
#: dist/visual-portfolio/classes/class-get-portfolio.php:264
|
888 |
msgid "No items found."
|
889 |
msgstr ""
|
890 |
|
891 |
-
#: dist/visual-portfolio/classes/class-get-portfolio.php:
|
892 |
msgid "Default sorting"
|
893 |
msgstr ""
|
894 |
|
895 |
-
#: dist/visual-portfolio/classes/class-get-portfolio.php:
|
896 |
msgid "Sort by date (newest)"
|
897 |
msgstr ""
|
898 |
|
899 |
-
#: dist/visual-portfolio/classes/class-get-portfolio.php:
|
900 |
msgid "Sort by date (oldest)"
|
901 |
msgstr ""
|
902 |
|
903 |
-
#: dist/visual-portfolio/classes/class-get-portfolio.php:
|
904 |
msgid "Sort by title (A-Z)"
|
905 |
msgstr ""
|
906 |
|
907 |
-
#: dist/visual-portfolio/classes/class-get-portfolio.php:
|
908 |
msgid "Sort by title (Z-A)"
|
909 |
msgstr ""
|
910 |
|
911 |
#. translators: %s - published in human format.
|
912 |
-
#: dist/visual-portfolio/classes/class-get-portfolio.php:
|
913 |
msgid "%s ago"
|
914 |
msgstr ""
|
915 |
|
@@ -921,10 +913,6 @@ msgstr ""
|
|
921 |
msgid "Settings"
|
922 |
msgstr ""
|
923 |
|
924 |
-
#: dist/visual-portfolio/classes/class-settings.php:100
|
925 |
-
msgid "General"
|
926 |
-
msgstr ""
|
927 |
-
|
928 |
#: dist/visual-portfolio/classes/class-settings.php:125
|
929 |
msgid "Portfolio Slug"
|
930 |
msgstr ""
|
@@ -1030,12 +1018,12 @@ msgstr ""
|
|
1030 |
msgid "Display Slideshow"
|
1031 |
msgstr ""
|
1032 |
|
1033 |
-
#: dist/visual-portfolio/classes/class-settings.php:
|
1034 |
-
msgid "
|
1035 |
msgstr ""
|
1036 |
|
1037 |
-
#: dist/visual-portfolio/classes/class-
|
1038 |
-
msgid "
|
1039 |
msgstr ""
|
1040 |
|
1041 |
#: dist/visual-portfolio/classes/class-vc.php:80
|
15 |
"X-Poedit-SourceCharset: UTF-8\n"
|
16 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
17 |
|
18 |
+
#: dist/visual-portfolio/class-visual-portfolio.php:187
|
19 |
msgid "Small (VP)"
|
20 |
msgstr ""
|
21 |
|
22 |
+
#: dist/visual-portfolio/class-visual-portfolio.php:188
|
23 |
msgid "Medium (VP)"
|
24 |
msgstr ""
|
25 |
|
26 |
+
#: dist/visual-portfolio/class-visual-portfolio.php:189
|
27 |
msgid "Large (VP)"
|
28 |
msgstr ""
|
29 |
|
30 |
+
#: dist/visual-portfolio/class-visual-portfolio.php:190
|
31 |
msgid "Extra Large (VP)"
|
32 |
msgstr ""
|
33 |
|
34 |
#. translators: %d: error count
|
35 |
#. translators: %d: error count
|
36 |
+
#: dist/visual-portfolio/classes/class-admin.php:89, dist/visual-portfolio/classes/class-admin.php:91
|
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:93
|
43 |
msgid "Update anyway, even though it might break your site?"
|
44 |
msgstr ""
|
45 |
|
46 |
+
#: dist/visual-portfolio/classes/class-admin.php:194
|
47 |
msgctxt "Post Type General Name"
|
48 |
msgid "Portfolio Items"
|
49 |
msgstr ""
|
50 |
|
51 |
+
#: dist/visual-portfolio/classes/class-admin.php:195
|
52 |
msgctxt "Post Type Singular Name"
|
53 |
msgid "Portfolio Item"
|
54 |
msgstr ""
|
55 |
|
56 |
+
#: dist/visual-portfolio/classes/class-admin.php:196, dist/visual-portfolio/classes/class-admin.php:285, dist/visual-portfolio/classes/class-admin.php:693, dist/visual-portfolio/classes/class-elementor-widget.php:46, dist/visual-portfolio/classes/class-vc.php:65
|
57 |
msgid "Visual Portfolio"
|
58 |
msgstr ""
|
59 |
|
60 |
+
#: dist/visual-portfolio/classes/class-admin.php:197, dist/visual-portfolio/classes/class-admin.php:286
|
61 |
msgid "Parent Portfolio Item"
|
62 |
msgstr ""
|
63 |
|
64 |
+
#: dist/visual-portfolio/classes/class-admin.php:198
|
65 |
msgid "Portfolio Items"
|
66 |
msgstr ""
|
67 |
|
68 |
+
#: dist/visual-portfolio/classes/class-admin.php:199
|
69 |
msgid "View Portfolio Item"
|
70 |
msgstr ""
|
71 |
|
72 |
+
#: dist/visual-portfolio/classes/class-admin.php:200
|
73 |
msgid "Add New Portfolio Item"
|
74 |
msgstr ""
|
75 |
|
76 |
+
#: dist/visual-portfolio/classes/class-admin.php:201, dist/visual-portfolio/classes/class-admin.php:290
|
77 |
msgid "Add New"
|
78 |
msgstr ""
|
79 |
|
80 |
+
#: dist/visual-portfolio/classes/class-admin.php:202
|
81 |
msgid "Edit Portfolio Item"
|
82 |
msgstr ""
|
83 |
|
84 |
+
#: dist/visual-portfolio/classes/class-admin.php:203
|
85 |
msgid "Update Portfolio Item"
|
86 |
msgstr ""
|
87 |
|
88 |
+
#: dist/visual-portfolio/classes/class-admin.php:204
|
89 |
msgid "Search Portfolio Item"
|
90 |
msgstr ""
|
91 |
|
92 |
+
#: dist/visual-portfolio/classes/class-admin.php:205, dist/visual-portfolio/classes/class-admin.php:294
|
93 |
msgid "Not Found"
|
94 |
msgstr ""
|
95 |
|
96 |
+
#: dist/visual-portfolio/classes/class-admin.php:206, dist/visual-portfolio/classes/class-admin.php:295
|
97 |
msgid "Not found in Trash"
|
98 |
msgstr ""
|
99 |
|
100 |
+
#: dist/visual-portfolio/classes/class-admin.php:243
|
101 |
msgid "Portfolio Categories"
|
102 |
msgstr ""
|
103 |
|
104 |
+
#: dist/visual-portfolio/classes/class-admin.php:245, dist/visual-portfolio/classes/class-controls.php:610
|
105 |
msgid "Categories"
|
106 |
msgstr ""
|
107 |
|
108 |
+
#: dist/visual-portfolio/classes/class-admin.php:261
|
109 |
msgid "Portfolio Tags"
|
110 |
msgstr ""
|
111 |
|
112 |
+
#: dist/visual-portfolio/classes/class-admin.php:263
|
113 |
msgid "Tags"
|
114 |
msgstr ""
|
115 |
|
116 |
+
#: dist/visual-portfolio/classes/class-admin.php:283
|
117 |
msgctxt "Post Type General Name"
|
118 |
msgid "Portfolio Layouts"
|
119 |
msgstr ""
|
120 |
|
121 |
+
#: dist/visual-portfolio/classes/class-admin.php:284
|
122 |
msgctxt "Post Type Singular Name"
|
123 |
msgid "Portfolio Layout"
|
124 |
msgstr ""
|
125 |
|
126 |
+
#: dist/visual-portfolio/classes/class-admin.php:287
|
127 |
msgid "Portfolio Layouts"
|
128 |
msgstr ""
|
129 |
|
130 |
+
#: dist/visual-portfolio/classes/class-admin.php:288
|
131 |
msgid "View Portfolio Layout"
|
132 |
msgstr ""
|
133 |
|
134 |
+
#: dist/visual-portfolio/classes/class-admin.php:289
|
135 |
msgid "Add New Portfolio Layout"
|
136 |
msgstr ""
|
137 |
|
138 |
+
#: dist/visual-portfolio/classes/class-admin.php:291
|
139 |
msgid "Edit Portfolio Layout"
|
140 |
msgstr ""
|
141 |
|
142 |
+
#: dist/visual-portfolio/classes/class-admin.php:292
|
143 |
msgid "Update Portfolio Layout"
|
144 |
msgstr ""
|
145 |
|
146 |
+
#: dist/visual-portfolio/classes/class-admin.php:293
|
147 |
msgid "Search Portfolio Layout"
|
148 |
msgstr ""
|
149 |
|
150 |
#. translators: %s - taxonomy name.
|
151 |
+
#: dist/visual-portfolio/classes/class-admin.php:340
|
152 |
msgid "Show All %s"
|
153 |
msgstr ""
|
154 |
|
155 |
+
#: dist/visual-portfolio/classes/class-admin.php:380, dist/visual-portfolio/classes/class-controls.php:622
|
156 |
msgid "Video"
|
157 |
msgstr ""
|
158 |
|
159 |
+
#: dist/visual-portfolio/classes/class-admin.php:420
|
160 |
msgid "https://"
|
161 |
msgstr ""
|
162 |
|
163 |
+
#: dist/visual-portfolio/classes/class-admin.php:491
|
164 |
msgid "Portfolio Manager"
|
165 |
msgstr ""
|
166 |
|
167 |
+
#: dist/visual-portfolio/classes/class-admin.php:496
|
168 |
msgid "Portfolio Author"
|
169 |
msgstr ""
|
170 |
|
171 |
+
#: dist/visual-portfolio/classes/class-admin.php:579
|
172 |
msgid "Ready to add your awesome portfolio?"
|
173 |
msgstr ""
|
174 |
|
175 |
+
#: dist/visual-portfolio/classes/class-admin.php:580
|
176 |
msgid "Create your first portfolio list!"
|
177 |
msgstr ""
|
178 |
|
179 |
+
#: dist/visual-portfolio/classes/class-admin.php:619
|
180 |
msgid "Thumbnail"
|
181 |
msgstr ""
|
182 |
|
183 |
+
#: dist/visual-portfolio/classes/class-admin.php:652, dist/visual-portfolio/classes/class-admin.php:2894
|
184 |
msgid "Shortcode"
|
185 |
msgstr ""
|
186 |
|
187 |
+
#: dist/visual-portfolio/classes/class-admin.php:749, dist/visual-portfolio/classes/class-admin.php:750
|
188 |
msgid "Documentation"
|
189 |
msgstr ""
|
190 |
|
191 |
+
#: dist/visual-portfolio/classes/class-admin.php:769
|
192 |
msgid "Tiles"
|
193 |
msgstr ""
|
194 |
|
195 |
+
#: dist/visual-portfolio/classes/class-admin.php:784, dist/visual-portfolio/classes/class-admin.php:2131
|
196 |
msgid "Type"
|
197 |
msgstr ""
|
198 |
|
199 |
+
#: dist/visual-portfolio/classes/class-admin.php:785
|
200 |
msgid "Select tiles type"
|
201 |
msgstr ""
|
202 |
|
203 |
+
#: dist/visual-portfolio/classes/class-admin.php:906
|
204 |
msgid "Masonry"
|
205 |
msgstr ""
|
206 |
|
207 |
+
#: dist/visual-portfolio/classes/class-admin.php:910, dist/visual-portfolio/classes/class-admin.php:925
|
208 |
msgid "Columns"
|
209 |
msgstr ""
|
210 |
|
211 |
+
#: dist/visual-portfolio/classes/class-admin.php:921
|
212 |
msgid "Grid"
|
213 |
msgstr ""
|
214 |
|
215 |
+
#: dist/visual-portfolio/classes/class-admin.php:936
|
216 |
msgid "Justified"
|
217 |
msgstr ""
|
218 |
|
219 |
+
#: dist/visual-portfolio/classes/class-admin.php:940
|
220 |
msgid "Row height"
|
221 |
msgstr ""
|
222 |
|
223 |
+
#: dist/visual-portfolio/classes/class-admin.php:948
|
224 |
msgid "Row Height Tolerance"
|
225 |
msgstr ""
|
226 |
|
227 |
+
#: dist/visual-portfolio/classes/class-admin.php:960
|
228 |
msgid "Slider"
|
229 |
msgstr ""
|
230 |
|
231 |
+
#: dist/visual-portfolio/classes/class-admin.php:964
|
232 |
msgid "Effect"
|
233 |
msgstr ""
|
234 |
|
235 |
+
#: dist/visual-portfolio/classes/class-admin.php:968
|
236 |
msgid "Slide"
|
237 |
msgstr ""
|
238 |
|
239 |
+
#: dist/visual-portfolio/classes/class-admin.php:969
|
240 |
msgid "Coverflow"
|
241 |
msgstr ""
|
242 |
|
243 |
+
#: dist/visual-portfolio/classes/class-admin.php:970, dist/visual-portfolio/classes/class-admin.php:1510
|
244 |
msgid "Fade"
|
245 |
msgstr ""
|
246 |
|
247 |
+
#: dist/visual-portfolio/classes/class-admin.php:975
|
248 |
msgid "Speed (in Seconds)"
|
249 |
msgstr ""
|
250 |
|
251 |
+
#: dist/visual-portfolio/classes/class-admin.php:984
|
252 |
msgid "Autoplay (in Seconds)"
|
253 |
msgstr ""
|
254 |
|
255 |
+
#: dist/visual-portfolio/classes/class-admin.php:993
|
256 |
msgid "Pause on Mouse Over"
|
257 |
msgstr ""
|
258 |
|
259 |
+
#: dist/visual-portfolio/classes/class-admin.php:1006
|
260 |
msgid "Items Height"
|
261 |
msgstr ""
|
262 |
|
263 |
+
#: dist/visual-portfolio/classes/class-admin.php:1010, dist/visual-portfolio/classes/class-admin.php:1064, dist/visual-portfolio/classes/class-admin.php:1210, dist/visual-portfolio/classes/class-admin.php:1260
|
264 |
msgid "Auto"
|
265 |
msgstr ""
|
266 |
|
267 |
+
#: dist/visual-portfolio/classes/class-admin.php:1011, dist/visual-portfolio/classes/class-admin.php:1211
|
268 |
msgid "Static (px)"
|
269 |
msgstr ""
|
270 |
|
271 |
+
#: dist/visual-portfolio/classes/class-admin.php:1012, dist/visual-portfolio/classes/class-admin.php:1212
|
272 |
msgid "Dynamic (%)"
|
273 |
msgstr ""
|
274 |
|
275 |
+
#: dist/visual-portfolio/classes/class-admin.php:1045
|
276 |
msgid "Items Minimal Height"
|
277 |
msgstr ""
|
278 |
|
279 |
+
#: dist/visual-portfolio/classes/class-admin.php:1046
|
280 |
msgid "300px, 80vh"
|
281 |
msgstr ""
|
282 |
|
283 |
+
#: dist/visual-portfolio/classes/class-admin.php:1047
|
284 |
msgid "Values with `vh` units will not be visible in preview."
|
285 |
msgstr ""
|
286 |
|
287 |
+
#: dist/visual-portfolio/classes/class-admin.php:1060
|
288 |
msgid "Slides Per View"
|
289 |
msgstr ""
|
290 |
|
291 |
+
#: dist/visual-portfolio/classes/class-admin.php:1065, dist/visual-portfolio/classes/class-admin.php:1261, dist/visual-portfolio/classes/class-admin.php:2722, dist/visual-portfolio/classes/class-admin.php:2740
|
292 |
msgid "Custom"
|
293 |
msgstr ""
|
294 |
|
295 |
+
#: dist/visual-portfolio/classes/class-admin.php:1096
|
296 |
msgid "Centered Slides"
|
297 |
msgstr ""
|
298 |
|
299 |
+
#: dist/visual-portfolio/classes/class-admin.php:1109
|
300 |
msgid "Loop"
|
301 |
msgstr ""
|
302 |
|
303 |
+
#: dist/visual-portfolio/classes/class-admin.php:1115
|
304 |
msgid "Free Scroll"
|
305 |
msgstr ""
|
306 |
|
307 |
+
#: dist/visual-portfolio/classes/class-admin.php:1121
|
308 |
msgid "Free Scroll Sticky"
|
309 |
msgstr ""
|
310 |
|
311 |
+
#: dist/visual-portfolio/classes/class-admin.php:1132, dist/visual-portfolio/classes/class-admin.php:2377, dist/visual-portfolio/classes/class-settings.php:231
|
312 |
msgid "Display Arrows"
|
313 |
msgstr ""
|
314 |
|
315 |
+
#: dist/visual-portfolio/classes/class-admin.php:1140, dist/visual-portfolio/classes/class-admin.php:1141, dist/visual-portfolio/classes/class-admin.php:2399, dist/visual-portfolio/classes/class-admin.php:2400
|
316 |
msgid "Prev Arrow Icon"
|
317 |
msgstr ""
|
318 |
|
319 |
+
#: dist/visual-portfolio/classes/class-admin.php:1153, dist/visual-portfolio/classes/class-admin.php:1154, dist/visual-portfolio/classes/class-admin.php:2424, dist/visual-portfolio/classes/class-admin.php:2425
|
320 |
msgid "Next Arrow Icon"
|
321 |
msgstr ""
|
322 |
|
323 |
+
#: dist/visual-portfolio/classes/class-admin.php:1164
|
324 |
msgid "Display Bullets"
|
325 |
msgstr ""
|
326 |
|
327 |
+
#: dist/visual-portfolio/classes/class-admin.php:1170
|
328 |
msgid "Dynamic Bullets"
|
329 |
msgstr ""
|
330 |
|
331 |
+
#: dist/visual-portfolio/classes/class-admin.php:1181
|
332 |
msgid "Mousewheel Control"
|
333 |
msgstr ""
|
334 |
|
335 |
+
#: dist/visual-portfolio/classes/class-admin.php:1187, dist/visual-portfolio/classes/class-settings.php:271
|
336 |
msgid "Display Thumbnails"
|
337 |
msgstr ""
|
338 |
|
339 |
+
#: dist/visual-portfolio/classes/class-admin.php:1193
|
340 |
msgid "Thumbnails Gap"
|
341 |
msgstr ""
|
342 |
|
343 |
+
#: dist/visual-portfolio/classes/class-admin.php:1206
|
344 |
msgid "Thumbnails Height"
|
345 |
msgstr ""
|
346 |
|
347 |
+
#: dist/visual-portfolio/classes/class-admin.php:1256
|
348 |
msgid "Thumbnails Per View"
|
349 |
msgstr ""
|
350 |
|
351 |
+
#: dist/visual-portfolio/classes/class-admin.php:1348
|
352 |
msgid "Gap"
|
353 |
msgstr ""
|
354 |
|
355 |
+
#: dist/visual-portfolio/classes/class-admin.php:1360
|
356 |
msgid "Items Per Page"
|
357 |
msgstr ""
|
358 |
|
359 |
+
#: dist/visual-portfolio/classes/class-admin.php:1372
|
360 |
msgid "Stretch"
|
361 |
msgstr ""
|
362 |
|
363 |
+
#: dist/visual-portfolio/classes/class-admin.php:1375
|
364 |
msgid "Break container and display it wide"
|
365 |
msgstr ""
|
366 |
|
367 |
+
#: dist/visual-portfolio/classes/class-admin.php:1387, dist/visual-portfolio/classes/class-admin.php:1619, dist/visual-portfolio/classes/class-admin.php:1765, dist/visual-portfolio/classes/class-admin.php:1837, dist/visual-portfolio/classes/class-admin.php:1969, dist/visual-portfolio/classes/class-admin.php:2069, dist/visual-portfolio/classes/class-admin.php:2757
|
368 |
msgid "Default"
|
369 |
msgstr ""
|
370 |
|
371 |
+
#: dist/visual-portfolio/classes/class-admin.php:1399
|
372 |
msgid "Display Read More Button"
|
373 |
msgstr ""
|
374 |
|
375 |
+
#: dist/visual-portfolio/classes/class-admin.php:1403, dist/visual-portfolio/classes/class-admin.php:1618
|
376 |
msgid "Hide"
|
377 |
msgstr ""
|
378 |
|
379 |
+
#: dist/visual-portfolio/classes/class-admin.php:1404
|
380 |
msgid "Always Display"
|
381 |
msgstr ""
|
382 |
|
383 |
+
#: dist/visual-portfolio/classes/class-admin.php:1405
|
384 |
msgid "Display when used \"More tag\" in the post"
|
385 |
msgstr ""
|
386 |
|
387 |
+
#: dist/visual-portfolio/classes/class-admin.php:1413
|
388 |
msgid "Read More Button Label"
|
389 |
msgstr ""
|
390 |
|
391 |
+
#: dist/visual-portfolio/classes/class-admin.php:1428
|
392 |
msgid "Fly"
|
393 |
msgstr ""
|
394 |
|
395 |
+
#: dist/visual-portfolio/classes/class-admin.php:1440, dist/visual-portfolio/classes/class-admin.php:1481, dist/visual-portfolio/classes/class-admin.php:1522
|
396 |
msgid "Overlay Background Color"
|
397 |
msgstr ""
|
398 |
|
399 |
+
#: dist/visual-portfolio/classes/class-admin.php:1453, dist/visual-portfolio/classes/class-admin.php:1494, dist/visual-portfolio/classes/class-admin.php:1535
|
400 |
msgid "Overlay Text Color"
|
401 |
msgstr ""
|
402 |
|
403 |
+
#: dist/visual-portfolio/classes/class-admin.php:1469
|
404 |
msgid "Emerge"
|
405 |
msgstr ""
|
406 |
|
407 |
+
#: dist/visual-portfolio/classes/class-admin.php:1585
|
408 |
msgid "Display Title"
|
409 |
msgstr ""
|
410 |
|
411 |
+
#: dist/visual-portfolio/classes/class-admin.php:1593
|
412 |
msgid "Display Categories"
|
413 |
msgstr ""
|
414 |
|
415 |
+
#: dist/visual-portfolio/classes/class-admin.php:1599
|
416 |
msgid "Categories Count"
|
417 |
msgstr ""
|
418 |
|
419 |
+
#: dist/visual-portfolio/classes/class-admin.php:1614
|
420 |
msgid "Display Date"
|
421 |
msgstr ""
|
422 |
|
423 |
+
#: dist/visual-portfolio/classes/class-admin.php:1620
|
424 |
msgid "Human Format"
|
425 |
msgstr ""
|
426 |
|
427 |
+
#: dist/visual-portfolio/classes/class-admin.php:1628
|
428 |
msgid ""
|
429 |
"Date format
|
430 |
" Example: F j, Y"
|
431 |
msgstr ""
|
432 |
|
433 |
+
#: dist/visual-portfolio/classes/class-admin.php:1640
|
434 |
msgid "Display Excerpt"
|
435 |
msgstr ""
|
436 |
|
437 |
+
#: dist/visual-portfolio/classes/class-admin.php:1646
|
438 |
msgid "Excerpt Words Count"
|
439 |
msgstr ""
|
440 |
|
441 |
+
#: dist/visual-portfolio/classes/class-admin.php:1661
|
442 |
msgid "Display Icon"
|
443 |
msgstr ""
|
444 |
|
445 |
+
#: dist/visual-portfolio/classes/class-admin.php:1669, dist/visual-portfolio/classes/class-admin.php:1670
|
446 |
msgid "Standard Icon"
|
447 |
msgstr ""
|
448 |
|
449 |
+
#: dist/visual-portfolio/classes/class-admin.php:1682, dist/visual-portfolio/classes/class-admin.php:1683
|
450 |
msgid "Video Icon"
|
451 |
msgstr ""
|
452 |
|
453 |
+
#: dist/visual-portfolio/classes/class-admin.php:1695
|
454 |
msgid "Caption Align"
|
455 |
msgstr ""
|
456 |
|
457 |
+
#: dist/visual-portfolio/classes/class-admin.php:1749, dist/visual-portfolio/classes/class-admin.php:1831, dist/visual-portfolio/classes/class-admin.php:1963, dist/visual-portfolio/classes/class-admin.php:2063
|
458 |
msgid "Disabled"
|
459 |
msgstr ""
|
460 |
|
461 |
+
#: dist/visual-portfolio/classes/class-admin.php:1750, dist/visual-portfolio/classes/class-controls.php:639
|
462 |
msgid "URL"
|
463 |
msgstr ""
|
464 |
|
465 |
+
#: dist/visual-portfolio/classes/class-admin.php:1751, dist/visual-portfolio/classes/class-settings.php:108, dist/visual-portfolio/classes/class-settings.php:190
|
466 |
msgid "Popup Gallery"
|
467 |
msgstr ""
|
468 |
|
469 |
+
#: dist/visual-portfolio/classes/class-admin.php:1761
|
470 |
msgid "Target"
|
471 |
msgstr ""
|
472 |
|
473 |
+
#: dist/visual-portfolio/classes/class-admin.php:1766
|
474 |
msgid "New Tab (_blank)"
|
475 |
msgstr ""
|
476 |
|
477 |
+
#: dist/visual-portfolio/classes/class-admin.php:1767
|
478 |
msgid "Top Frame (_top)"
|
479 |
msgstr ""
|
480 |
|
481 |
+
#: dist/visual-portfolio/classes/class-admin.php:1783, dist/visual-portfolio/classes/class-admin.php:2658, dist/visual-portfolio/classes/class-admin.php:2759, dist/visual-portfolio/classes/class-controls.php:586
|
482 |
msgid "Title"
|
483 |
msgstr ""
|
484 |
|
485 |
+
#: dist/visual-portfolio/classes/class-admin.php:1787, dist/visual-portfolio/classes/class-admin.php:1809, dist/visual-portfolio/classes/class-admin.php:2721, dist/visual-portfolio/classes/class-admin.php:2739
|
486 |
msgid "None"
|
487 |
msgstr ""
|
488 |
|
489 |
+
#: dist/visual-portfolio/classes/class-admin.php:1788, dist/visual-portfolio/classes/class-admin.php:1810, dist/visual-portfolio/classes/class-admin.php:2723, dist/visual-portfolio/classes/class-admin.php:2741
|
490 |
msgid "Image Title"
|
491 |
msgstr ""
|
492 |
|
493 |
+
#: dist/visual-portfolio/classes/class-admin.php:1789, dist/visual-portfolio/classes/class-admin.php:1811, dist/visual-portfolio/classes/class-admin.php:2724, dist/visual-portfolio/classes/class-admin.php:2742
|
494 |
msgid "Image Caption"
|
495 |
msgstr ""
|
496 |
|
497 |
+
#: dist/visual-portfolio/classes/class-admin.php:1790, dist/visual-portfolio/classes/class-admin.php:1812, dist/visual-portfolio/classes/class-admin.php:2725, dist/visual-portfolio/classes/class-admin.php:2743
|
498 |
msgid "Image Alt"
|
499 |
msgstr ""
|
500 |
|
501 |
+
#: dist/visual-portfolio/classes/class-admin.php:1791, dist/visual-portfolio/classes/class-admin.php:1813, dist/visual-portfolio/classes/class-admin.php:2726, dist/visual-portfolio/classes/class-admin.php:2744
|
502 |
msgid "Image Description"
|
503 |
msgstr ""
|
504 |
|
505 |
+
#: dist/visual-portfolio/classes/class-admin.php:1805, dist/visual-portfolio/classes/class-controls.php:598
|
506 |
msgid "Description"
|
507 |
msgstr ""
|
508 |
|
509 |
+
#: dist/visual-portfolio/classes/class-admin.php:1843, dist/visual-portfolio/classes/class-admin.php:1975
|
510 |
msgid "Dropdown"
|
511 |
msgstr ""
|
512 |
|
513 |
+
#: dist/visual-portfolio/classes/class-admin.php:1906, dist/visual-portfolio/classes/class-admin.php:2038, dist/visual-portfolio/classes/class-admin.php:2173
|
514 |
msgid "Align"
|
515 |
msgstr ""
|
516 |
|
517 |
+
#: dist/visual-portfolio/classes/class-admin.php:1910, dist/visual-portfolio/classes/class-admin.php:2042, dist/visual-portfolio/classes/class-admin.php:2177, dist/visual-portfolio/classes/class-controls.php:535, dist/visual-portfolio/classes/class-controls.php:544, dist/visual-portfolio/classes/class-controls.php:548, dist/visual-portfolio/classes/class-controls.php:561
|
518 |
msgid "Center"
|
519 |
msgstr ""
|
520 |
|
521 |
+
#: dist/visual-portfolio/classes/class-admin.php:1911, dist/visual-portfolio/classes/class-admin.php:2043, dist/visual-portfolio/classes/class-admin.php:2178, dist/visual-portfolio/classes/class-controls.php:538, dist/visual-portfolio/classes/class-controls.php:551, dist/visual-portfolio/classes/class-controls.php:564
|
522 |
msgid "Left"
|
523 |
msgstr ""
|
524 |
|
525 |
+
#: dist/visual-portfolio/classes/class-admin.php:1912, dist/visual-portfolio/classes/class-admin.php:2044, dist/visual-portfolio/classes/class-admin.php:2179, dist/visual-portfolio/classes/class-controls.php:541, dist/visual-portfolio/classes/class-controls.php:554, dist/visual-portfolio/classes/class-controls.php:567
|
526 |
msgid "Right"
|
527 |
msgstr ""
|
528 |
|
529 |
+
#: dist/visual-portfolio/classes/class-admin.php:1927
|
530 |
msgid "Display Count"
|
531 |
msgstr ""
|
532 |
|
533 |
+
#: dist/visual-portfolio/classes/class-admin.php:1943
|
534 |
msgid "All Button Text"
|
535 |
msgstr ""
|
536 |
|
537 |
+
#: dist/visual-portfolio/classes/class-admin.php:1945
|
538 |
msgid "All"
|
539 |
msgstr ""
|
540 |
|
541 |
+
#: dist/visual-portfolio/classes/class-admin.php:2136
|
542 |
msgid "Paged"
|
543 |
msgstr ""
|
544 |
|
545 |
+
#: dist/visual-portfolio/classes/class-admin.php:2137, dist/visual-portfolio/classes/class-admin.php:2240, dist/visual-portfolio/classes/class-admin.php:2309
|
546 |
msgid "Load More"
|
547 |
msgstr ""
|
548 |
|
549 |
+
#: dist/visual-portfolio/classes/class-admin.php:2138
|
550 |
msgid "Infinite"
|
551 |
msgstr ""
|
552 |
|
553 |
+
#: dist/visual-portfolio/classes/class-admin.php:2153
|
554 |
msgid "Note: you will see the \"Load More\" pagination in the preview. \"Infinite\" pagination will be visible on the site."
|
555 |
msgstr ""
|
556 |
|
557 |
+
#: dist/visual-portfolio/classes/class-admin.php:2199, dist/visual-portfolio/classes/class-admin.php:2219
|
558 |
msgid "Texts"
|
559 |
msgstr ""
|
560 |
|
561 |
+
#: dist/visual-portfolio/classes/class-admin.php:2241, dist/visual-portfolio/classes/class-admin.php:2242, dist/visual-portfolio/classes/class-admin.php:2310, dist/visual-portfolio/classes/class-admin.php:2311
|
562 |
msgid "Load more button label"
|
563 |
msgstr ""
|
564 |
|
565 |
+
#: dist/visual-portfolio/classes/class-admin.php:2263, dist/visual-portfolio/classes/class-admin.php:2332
|
566 |
msgid "Loading More..."
|
567 |
msgstr ""
|
568 |
|
569 |
+
#: dist/visual-portfolio/classes/class-admin.php:2264, dist/visual-portfolio/classes/class-admin.php:2265, dist/visual-portfolio/classes/class-admin.php:2333, dist/visual-portfolio/classes/class-admin.php:2334
|
570 |
msgid "Loading more button label"
|
571 |
msgstr ""
|
572 |
|
573 |
+
#: dist/visual-portfolio/classes/class-admin.php:2286, dist/visual-portfolio/classes/class-admin.php:2355
|
574 |
msgid "You’ve reached the end of the list"
|
575 |
msgstr ""
|
576 |
|
577 |
+
#: dist/visual-portfolio/classes/class-admin.php:2287, dist/visual-portfolio/classes/class-admin.php:2288, dist/visual-portfolio/classes/class-admin.php:2356, dist/visual-portfolio/classes/class-admin.php:2357
|
578 |
msgid "End of the list text"
|
579 |
msgstr ""
|
580 |
|
581 |
+
#: dist/visual-portfolio/classes/class-admin.php:2447
|
582 |
msgid "Display Numbers"
|
583 |
msgstr ""
|
584 |
|
585 |
+
#: dist/visual-portfolio/classes/class-admin.php:2511
|
586 |
msgid "Data Source"
|
587 |
msgstr ""
|
588 |
|
589 |
+
#: dist/visual-portfolio/classes/class-admin.php:2523, dist/visual-portfolio/classes/class-admin.php:3190
|
590 |
msgid "Specific Posts"
|
591 |
msgstr ""
|
592 |
|
593 |
+
#: dist/visual-portfolio/classes/class-admin.php:2544
|
594 |
msgid "Excluded Posts"
|
595 |
msgstr ""
|
596 |
|
597 |
+
#: dist/visual-portfolio/classes/class-admin.php:2572, dist/visual-portfolio/classes/class-admin.php:3191
|
598 |
msgid "Custom Query"
|
599 |
msgstr ""
|
600 |
|
601 |
#. translators: %1$s - escaped url.
|
602 |
+
#: dist/visual-portfolio/classes/class-admin.php:2574
|
603 |
msgid "Build custom query according to WordPress Codex. See example here <a href=\"%1$s\">%1$s</a>."
|
604 |
msgstr ""
|
605 |
|
606 |
+
#: dist/visual-portfolio/classes/class-admin.php:2600
|
607 |
msgid "Taxonomies"
|
608 |
msgstr ""
|
609 |
|
610 |
+
#: dist/visual-portfolio/classes/class-admin.php:2627
|
611 |
msgid "Taxonomies Relation"
|
612 |
msgstr ""
|
613 |
|
614 |
+
#: dist/visual-portfolio/classes/class-admin.php:2631
|
615 |
msgid "OR"
|
616 |
msgstr ""
|
617 |
|
618 |
+
#: dist/visual-portfolio/classes/class-admin.php:2632
|
619 |
msgid "AND"
|
620 |
msgstr ""
|
621 |
|
622 |
+
#: dist/visual-portfolio/classes/class-admin.php:2653, dist/visual-portfolio/classes/class-admin.php:2753
|
623 |
msgid "Order by"
|
624 |
msgstr ""
|
625 |
|
626 |
+
#: dist/visual-portfolio/classes/class-admin.php:2657
|
627 |
msgid "Date"
|
628 |
msgstr ""
|
629 |
|
630 |
+
#: dist/visual-portfolio/classes/class-admin.php:2659
|
631 |
msgid "ID"
|
632 |
msgstr ""
|
633 |
|
634 |
+
#: dist/visual-portfolio/classes/class-admin.php:2660
|
635 |
msgid "Menu Order"
|
636 |
msgstr ""
|
637 |
|
638 |
+
#: dist/visual-portfolio/classes/class-admin.php:2661, dist/visual-portfolio/classes/class-admin.php:2760
|
639 |
msgid "Random"
|
640 |
msgstr ""
|
641 |
|
642 |
+
#: dist/visual-portfolio/classes/class-admin.php:2670, dist/visual-portfolio/classes/class-admin.php:2769
|
643 |
msgid "Order Direction"
|
644 |
msgstr ""
|
645 |
|
646 |
+
#: dist/visual-portfolio/classes/class-admin.php:2674, dist/visual-portfolio/classes/class-admin.php:2774
|
647 |
msgid "DESC"
|
648 |
msgstr ""
|
649 |
|
650 |
+
#: dist/visual-portfolio/classes/class-admin.php:2675, dist/visual-portfolio/classes/class-admin.php:2773
|
651 |
msgid "ASC"
|
652 |
msgstr ""
|
653 |
|
654 |
+
#: dist/visual-portfolio/classes/class-admin.php:2684
|
655 |
msgid "Avoid Duplicate Posts"
|
656 |
msgstr ""
|
657 |
|
658 |
+
#: dist/visual-portfolio/classes/class-admin.php:2717
|
659 |
msgid "Titles"
|
660 |
msgstr ""
|
661 |
|
662 |
+
#: dist/visual-portfolio/classes/class-admin.php:2735
|
663 |
msgid "Descriptions"
|
664 |
msgstr ""
|
665 |
|
666 |
+
#: dist/visual-portfolio/classes/class-admin.php:2758
|
667 |
msgid "Uploaded"
|
668 |
msgstr ""
|
669 |
|
670 |
+
#: dist/visual-portfolio/classes/class-admin.php:2791
|
671 |
msgid "Name & Shortcode"
|
672 |
msgstr ""
|
673 |
|
674 |
+
#: dist/visual-portfolio/classes/class-admin.php:2799
|
675 |
msgid "Layout"
|
676 |
msgstr ""
|
677 |
|
678 |
+
#: dist/visual-portfolio/classes/class-admin.php:2807
|
679 |
msgid "Items Style"
|
680 |
msgstr ""
|
681 |
|
682 |
+
#: dist/visual-portfolio/classes/class-admin.php:2815
|
683 |
msgid "Items Click Action"
|
684 |
msgstr ""
|
685 |
|
686 |
+
#: dist/visual-portfolio/classes/class-admin.php:2823
|
687 |
msgid "Filter"
|
688 |
msgstr ""
|
689 |
|
690 |
+
#: dist/visual-portfolio/classes/class-admin.php:2831
|
691 |
msgid "Sort"
|
692 |
msgstr ""
|
693 |
|
694 |
+
#: dist/visual-portfolio/classes/class-admin.php:2839
|
695 |
msgid "Pagination"
|
696 |
msgstr ""
|
697 |
|
698 |
+
#: dist/visual-portfolio/classes/class-admin.php:2848
|
699 |
msgid "Preview"
|
700 |
msgstr ""
|
701 |
|
702 |
+
#: dist/visual-portfolio/classes/class-admin.php:2856
|
703 |
msgid "Content Source"
|
704 |
msgstr ""
|
705 |
|
706 |
+
#: dist/visual-portfolio/classes/class-admin.php:2864
|
707 |
msgid "Custom CSS"
|
708 |
msgstr ""
|
709 |
|
710 |
+
#: dist/visual-portfolio/classes/class-admin.php:2885
|
711 |
msgid "Name"
|
712 |
msgstr ""
|
713 |
|
714 |
+
#: dist/visual-portfolio/classes/class-admin.php:2895
|
715 |
msgid "Place the shortcode where you want to show the portfolio list."
|
716 |
msgstr ""
|
717 |
|
718 |
+
#: dist/visual-portfolio/classes/class-admin.php:2961
|
719 |
msgid "Filter Shortcode"
|
720 |
msgstr ""
|
721 |
|
722 |
+
#: dist/visual-portfolio/classes/class-admin.php:2962
|
723 |
msgid "Place the shortcode where you want to show the filter."
|
724 |
msgstr ""
|
725 |
|
726 |
+
#: dist/visual-portfolio/classes/class-admin.php:2984
|
727 |
msgid "Sort Shortcode"
|
728 |
msgstr ""
|
729 |
|
730 |
+
#: dist/visual-portfolio/classes/class-admin.php:2985
|
731 |
msgid "Place the shortcode where you want to show the sort."
|
732 |
msgstr ""
|
733 |
|
734 |
+
#: dist/visual-portfolio/classes/class-admin.php:3053
|
735 |
msgid "Portfolio"
|
736 |
msgstr ""
|
737 |
|
738 |
+
#: dist/visual-portfolio/classes/class-admin.php:3059
|
739 |
msgid "Post-Based"
|
740 |
msgstr ""
|
741 |
|
742 |
+
#: dist/visual-portfolio/classes/class-admin.php:3065, dist/visual-portfolio/classes/class-settings.php:104
|
743 |
msgid "Images"
|
744 |
msgstr ""
|
745 |
|
746 |
#. translators: %1$s - escaped url.
|
747 |
+
#: dist/visual-portfolio/classes/class-admin.php:3084
|
748 |
msgid "Portfolio items list from <a href=\"%1$s\" target=\"_blank\">%2$s</a>"
|
749 |
msgstr ""
|
750 |
|
751 |
+
#: dist/visual-portfolio/classes/class-admin.php:3122
|
752 |
msgid "Available classes:"
|
753 |
msgstr ""
|
754 |
|
755 |
+
#: dist/visual-portfolio/classes/class-admin.php:3125
|
756 |
msgid " - use this classname for each styles you added. It is the main Visual Portfolio wrapper."
|
757 |
msgstr ""
|
758 |
|
759 |
+
#: dist/visual-portfolio/classes/class-assets.php:449
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
760 |
msgid "Couldn't retrieve Visual Portfolio ID."
|
761 |
msgstr ""
|
762 |
|
763 |
+
#: dist/visual-portfolio/classes/class-assets.php:451
|
764 |
msgid "Close (Esc)"
|
765 |
msgstr ""
|
766 |
|
767 |
+
#: dist/visual-portfolio/classes/class-assets.php:452, dist/visual-portfolio/classes/class-assets.php:470
|
768 |
msgid "Share"
|
769 |
msgstr ""
|
770 |
|
771 |
+
#: dist/visual-portfolio/classes/class-assets.php:453
|
772 |
msgid "Toggle fullscreen"
|
773 |
msgstr ""
|
774 |
|
775 |
+
#: dist/visual-portfolio/classes/class-assets.php:454
|
776 |
msgid "Zoom in/out"
|
777 |
msgstr ""
|
778 |
|
779 |
+
#: dist/visual-portfolio/classes/class-assets.php:455
|
780 |
msgid "Previous (arrow left)"
|
781 |
msgstr ""
|
782 |
|
783 |
+
#: dist/visual-portfolio/classes/class-assets.php:456
|
784 |
msgid "Next (arrow right)"
|
785 |
msgstr ""
|
786 |
|
787 |
+
#: dist/visual-portfolio/classes/class-assets.php:457
|
788 |
msgid "Share on Facebook"
|
789 |
msgstr ""
|
790 |
|
791 |
+
#: dist/visual-portfolio/classes/class-assets.php:458
|
792 |
msgid "Tweet"
|
793 |
msgstr ""
|
794 |
|
795 |
+
#: dist/visual-portfolio/classes/class-assets.php:459
|
796 |
msgid "Pin it"
|
797 |
msgstr ""
|
798 |
|
799 |
+
#: dist/visual-portfolio/classes/class-assets.php:461
|
800 |
msgid "Close"
|
801 |
msgstr ""
|
802 |
|
803 |
+
#: dist/visual-portfolio/classes/class-assets.php:462
|
804 |
msgid "Next"
|
805 |
msgstr ""
|
806 |
|
807 |
+
#: dist/visual-portfolio/classes/class-assets.php:463
|
808 |
msgid "Previous"
|
809 |
msgstr ""
|
810 |
|
811 |
+
#: dist/visual-portfolio/classes/class-assets.php:464
|
812 |
msgid "The requested content cannot be loaded. <br /> Please try again later."
|
813 |
msgstr ""
|
814 |
|
815 |
+
#: dist/visual-portfolio/classes/class-assets.php:465
|
816 |
msgid "Start slideshow"
|
817 |
msgstr ""
|
818 |
|
819 |
+
#: dist/visual-portfolio/classes/class-assets.php:466
|
820 |
msgid "Pause slideshow"
|
821 |
msgstr ""
|
822 |
|
823 |
+
#: dist/visual-portfolio/classes/class-assets.php:467
|
824 |
msgid "Full screen"
|
825 |
msgstr ""
|
826 |
|
827 |
+
#: dist/visual-portfolio/classes/class-assets.php:468
|
828 |
msgid "Thumbnails"
|
829 |
msgstr ""
|
830 |
|
831 |
+
#: dist/visual-portfolio/classes/class-assets.php:469
|
832 |
msgid "Download"
|
833 |
msgstr ""
|
834 |
|
835 |
+
#: dist/visual-portfolio/classes/class-assets.php:471
|
836 |
msgid "Zoom"
|
837 |
msgstr ""
|
838 |
|
868 |
msgid "Edit"
|
869 |
msgstr ""
|
870 |
|
871 |
+
#: dist/visual-portfolio/classes/class-elementor-widget.php:117, dist/visual-portfolio/classes/class-settings.php:100
|
872 |
+
msgid "General"
|
873 |
+
msgstr ""
|
874 |
+
|
875 |
+
#: dist/visual-portfolio/classes/class-elementor-widget.php:125, dist/visual-portfolio/classes/class-vc.php:72
|
876 |
+
msgid "Select Layout"
|
877 |
+
msgstr ""
|
878 |
+
|
879 |
#: dist/visual-portfolio/classes/class-get-portfolio.php:264
|
880 |
msgid "No items found."
|
881 |
msgstr ""
|
882 |
|
883 |
+
#: dist/visual-portfolio/classes/class-get-portfolio.php:1404
|
884 |
msgid "Default sorting"
|
885 |
msgstr ""
|
886 |
|
887 |
+
#: dist/visual-portfolio/classes/class-get-portfolio.php:1405
|
888 |
msgid "Sort by date (newest)"
|
889 |
msgstr ""
|
890 |
|
891 |
+
#: dist/visual-portfolio/classes/class-get-portfolio.php:1406
|
892 |
msgid "Sort by date (oldest)"
|
893 |
msgstr ""
|
894 |
|
895 |
+
#: dist/visual-portfolio/classes/class-get-portfolio.php:1407
|
896 |
msgid "Sort by title (A-Z)"
|
897 |
msgstr ""
|
898 |
|
899 |
+
#: dist/visual-portfolio/classes/class-get-portfolio.php:1408
|
900 |
msgid "Sort by title (Z-A)"
|
901 |
msgstr ""
|
902 |
|
903 |
#. translators: %s - published in human format.
|
904 |
+
#: dist/visual-portfolio/classes/class-get-portfolio.php:1512
|
905 |
msgid "%s ago"
|
906 |
msgstr ""
|
907 |
|
913 |
msgid "Settings"
|
914 |
msgstr ""
|
915 |
|
|
|
|
|
|
|
|
|
916 |
#: dist/visual-portfolio/classes/class-settings.php:125
|
917 |
msgid "Portfolio Slug"
|
918 |
msgstr ""
|
1018 |
msgid "Display Slideshow"
|
1019 |
msgstr ""
|
1020 |
|
1021 |
+
#: dist/visual-portfolio/classes/class-settings.php:291
|
1022 |
+
msgid "Background Color"
|
1023 |
msgstr ""
|
1024 |
|
1025 |
+
#: dist/visual-portfolio/classes/class-settings.php:308
|
1026 |
+
msgid "Visual Portfolio Settings"
|
1027 |
msgstr ""
|
1028 |
|
1029 |
#: dist/visual-portfolio/classes/class-vc.php:80
|
readme.md
CHANGED
@@ -3,11 +3,11 @@
|
|
3 |
* Contributors: nko
|
4 |
* Tags: portfolio, gallery, image, masonry, popup
|
5 |
* Requires at least: 4.0.0
|
6 |
-
* Tested up to: 5.
|
7 |
* Requires PHP: 5.4
|
8 |
-
* Stable tag: 1.
|
9 |
* License: GPLv2 or later
|
10 |
-
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
12 |
Portfolio layouts visual editor. Masonry, justified, tiles, carousel, slider, coverflow, custom posts, custom image galleries.
|
13 |
|
@@ -52,8 +52,9 @@ Visual Portfolio let you create beautiful portfolio layouts and image galleries.
|
|
52 |
* Custom order
|
53 |
* Custom CSS for each portfolio layouts
|
54 |
* Shortcode generated, so you can place unlimited portfolio layouts on the page
|
55 |
-
* Gutenberg WordPress builder
|
56 |
-
*
|
|
|
57 |
|
58 |
## Real Usage Examples ##
|
59 |
|
@@ -122,6 +123,18 @@ The manual installation method involves downloading our Visual Portfolio plugin
|
|
122 |
|
123 |
## Changelog ##
|
124 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
125 |
= 1.14.1 =
|
126 |
|
127 |
* added jQuery events for PhotoSwipe and Fancybox <https://visualportfolio.co/documentation/developers/jquery-events/>
|
3 |
* Contributors: nko
|
4 |
* Tags: portfolio, gallery, image, masonry, popup
|
5 |
* Requires at least: 4.0.0
|
6 |
+
* Tested up to: 5.3
|
7 |
* Requires PHP: 5.4
|
8 |
+
* Stable tag: 1.15.0
|
9 |
* License: GPLv2 or later
|
10 |
+
* License URI: <http://www.gnu.org/licenses/gpl-2.0.html>
|
11 |
|
12 |
Portfolio layouts visual editor. Masonry, justified, tiles, carousel, slider, coverflow, custom posts, custom image galleries.
|
13 |
|
52 |
* Custom order
|
53 |
* Custom CSS for each portfolio layouts
|
54 |
* Shortcode generated, so you can place unlimited portfolio layouts on the page
|
55 |
+
* Gutenberg WordPress builder support
|
56 |
+
* Elementor Page Builder support
|
57 |
+
* WPBakery Page Builder support
|
58 |
|
59 |
## Real Usage Examples ##
|
60 |
|
123 |
|
124 |
## Changelog ##
|
125 |
|
126 |
+
= 1.15.0 =
|
127 |
+
|
128 |
+
* added widget for Elementor
|
129 |
+
* added settings to change popup gallery background color
|
130 |
+
* added support for checkboxes and toggles in custom controls styles (needed for custom items styles)
|
131 |
+
* added tree of nodes with classes to better coding in Layouts Custom CSS
|
132 |
+
* better Gutenberg block preview (no more transform scale for iframe)
|
133 |
+
* fixed Video Post Format URL metabox display in Gutenberg
|
134 |
+
* fixed Video Popup in post with format video, but without post thumbnail
|
135 |
+
* fixed layouts editor styles loading bug when browser tab is not active
|
136 |
+
* additional attributes for taxonomies in templates
|
137 |
+
|
138 |
= 1.14.1 =
|
139 |
|
140 |
* added jQuery events for PhotoSwipe and Fancybox <https://visualportfolio.co/documentation/developers/jquery-events/>
|