Gutenberg Blocks and Template Library by Otter - Version 1.4.0

Version Description

Download this release

Release Info

Developer themeisle
Plugin Icon wp plugin Gutenberg Blocks and Template Library by Otter
Version 1.4.0
Comparing to
See all releases

Code changes from version 1.3.3 to 1.4.0

Files changed (42) hide show
  1. CHANGELOG.md +14 -0
  2. build/build.css +2 -2
  3. build/build.js +4 -4
  4. class-otter-blocks.php +2 -2
  5. otter-blocks.php +2 -2
  6. readme.md +17 -0
  7. readme.txt +17 -0
  8. vendor/autoload.php +1 -1
  9. vendor/codeinwp/gutenberg-animation/CHANGELOG.md +4 -0
  10. vendor/codeinwp/gutenberg-animation/README.md +1 -1
  11. vendor/codeinwp/gutenberg-animation/assets/css/style.css +16 -1
  12. vendor/codeinwp/gutenberg-animation/build/animate.js +1 -1
  13. vendor/codeinwp/gutenberg-animation/build/build.js +1 -1
  14. vendor/codeinwp/gutenberg-animation/class-gutenberg-animation.php +7 -9
  15. vendor/codeinwp/gutenberg-animation/load.php +2 -1
  16. vendor/codeinwp/gutenberg-blocks/CHANGELOG.md +22 -0
  17. vendor/codeinwp/gutenberg-blocks/build/blocks.js +1 -1
  18. vendor/codeinwp/gutenberg-blocks/build/chunk-1.js +1 -1
  19. vendor/codeinwp/gutenberg-blocks/build/chunk-vendor.js +1 -1
  20. vendor/codeinwp/gutenberg-blocks/build/edit-blocks.css +11 -11
  21. vendor/codeinwp/gutenberg-blocks/build/maps.js +1 -1
  22. vendor/codeinwp/gutenberg-blocks/build/slider.js +1 -1
  23. vendor/codeinwp/gutenberg-blocks/build/style.css +4 -4
  24. vendor/codeinwp/gutenberg-blocks/inc/{class-gutenberg-blocks.php → class-main.php} +34 -13
  25. vendor/codeinwp/gutenberg-blocks/inc/css/blocks/class-advanced-column-css.php +133 -34
  26. vendor/codeinwp/gutenberg-blocks/inc/css/blocks/class-advanced-columns-css.php +199 -25
  27. vendor/codeinwp/gutenberg-blocks/inc/css/blocks/class-advanced-heading-css.php +101 -27
  28. vendor/codeinwp/gutenberg-blocks/inc/css/blocks/class-button-group-css.php +54 -6
  29. vendor/codeinwp/gutenberg-blocks/inc/css/blocks/class-font-awesome-icons-css.php +57 -18
  30. vendor/codeinwp/gutenberg-blocks/inc/css/class-block-frontend.php +2 -2
  31. vendor/codeinwp/gutenberg-blocks/inc/plugins/class-options-settings.php +12 -0
  32. vendor/codeinwp/gutenberg-blocks/inc/render/class-google-map-block.php +1 -2
  33. vendor/codeinwp/gutenberg-blocks/inc/render/class-plugin-card-block.php +0 -1
  34. vendor/codeinwp/gutenberg-blocks/inc/render/class-posts-grid-block.php +0 -1
  35. vendor/codeinwp/gutenberg-blocks/inc/render/class-sharing-icons-block.php +0 -1
  36. vendor/codeinwp/gutenberg-blocks/load.php +3 -23
  37. vendor/codeinwp/gutenberg-blocks/readme.md +2 -2
  38. vendor/composer/autoload_classmap.php +18 -0
  39. vendor/composer/autoload_files.php +0 -1
  40. vendor/composer/autoload_real.php +7 -7
  41. vendor/composer/autoload_static.php +22 -5
  42. vendor/composer/installed.json +15 -20
CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
##### [Version 1.3.3](https://github.com/Codeinwp/otter-blocks/compare/v1.3.2...v1.3.3) (2020-01-19)
2
3
Fix issue with Custom CSS module not working
1
+ #### [Version 1.4.0](https://github.com/Codeinwp/otter-blocks/compare/v1.3.3...v1.4.0) (2020-02-23)
2
+
3
+ - Add Column Width control to Sidebar
4
+ - Remove Inline CSS from Blocks
5
+ - Fix Block ID Mechanism
6
+ - Add Global Defaults
7
+ - Improve Vertical Alignment to Section Block
8
+ - Add option to disable Arrows/Bullets in Slider Block
9
+ - Option to reverse columns in Section
10
+ - Add theme_support for global defaults
11
+ - Inherit Sizing values
12
+ - Button Group consistency with Button Block
13
+ - Add Anchor field to Advanced Heading Block
14
+
15
##### [Version 1.3.3](https://github.com/Codeinwp/otter-blocks/compare/v1.3.2...v1.3.3) (2020-01-19)
16
17
Fix issue with Custom CSS module not working
build/build.css CHANGED
@@ -1,4 +1,4 @@
1
- *{box-sizing:inherit}.settings_page_otter{background:#f6f6f6;font-size:14px;position:relative;box-sizing:border-box;font-family:Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif}#wpcontent{padding-left:0}.auto-fold #wpcontent{padding-left:0}#otter .otter-header{padding:20px 10px;background-color:#ffffff;box-shadow:0 1px 0 rgba(213,213,213,0.5),0 1px 2px #eee}#otter .otter-header.onboarding .otter-container .otter-logo{-webkit-box-pack:center;justify-content:center}#otter .otter-header .otter-container{margin:0 auto;max-width:100%;max-width:750px}#otter .otter-header .otter-container .otter-logo{display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center}#otter .otter-header .otter-container .otter-logo img{max-width:200px}#otter .otter-header .otter-container .otter-logo .version{background-color:#e5e5e5;border-radius:3px;font-size:0.8em;font-weight:400;margin-left:10px;padding:2px 7px}#otter .otter-main{margin-left:auto;margin-right:auto;max-width:750px}#otter .otter-main .components-panel__body{margin:25px 0;background:#fff;border:1px solid #e2e4e7}#otter .otter-main .components-panel__body .components-panel__body-toggle{border-bottom:1px solid #d6e2ed}#otter .otter-main .components-panel__body .components-panel__row{padding:20px 10px 10px;margin:0}#otter .otter-main .components-panel__body .components-panel__row .components-base-control .components-base-control__field{display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;margin-bottom:10px}#otter .otter-main .components-panel__body .components-panel__row .components-base-control.otter-text-field{width:100%}#otter .otter-main .components-panel__body .components-panel__row .components-base-control.otter-text-field .components-base-control__field{display:block}#otter .otter-main .components-panel__body .components-panel__row .components-base-control.otter-text-field .components-base-control__field label{font-weight:600;margin-bottom:10px}#otter .otter-main .components-panel__body .components-panel__row .components-base-control.otter-text-field .components-base-control__field input{border:1px solid #b7c9d9;border-radius:3px;font-size:14px;padding:9px 15px;width:100%;box-shadow:none;height:40px;margin:0 0 10px 0;color:#444}#otter .otter-main .components-panel__body .components-panel__row .components-base-control.otter-text-field .components-base-control__field input:disabled{background:#f6f6f6;border-color:#eeeeee;color:#bbbbbb}#otter .otter-main .components-panel__body .components-panel__row .components-base-control.otter-text-field .components-base-control__field input:focus{border-color:#00a0d2;box-shadow:0 0 0 1px #00a0d2;outline:2px solid transparent;outline-offset:-2px}#otter .otter-main .components-panel__body .components-panel__row .components-base-control.otter-text-field .components-base-control__field .otter-text-field-button-group{display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;margin:2px 0 15px}#otter .otter-main .components-panel__body .components-panel__row .components-base-control.otter-text-field .components-base-control__field .otter-text-field-button-group .is-primary{padding:2px 20px;height:auto;font-size:14px;margin-right:10px}#otter .otter-main .components-panel__body .otter-info{padding:0 10px 10px;background-image:url(data:image/png;base64,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);background-size:100px;background-repeat:no-repeat;background-position:bottom right}#otter .otter-main .components-panel__body .otter-info h2{font-weight:300;margin-bottom:10px}#otter .otter-main .components-panel__body .otter-info p{margin:0 0 1.5em 0}#otter .otter-main .components-panel__body .otter-info .otter-info-button-group{display:-webkit-box;display:flex}#otter .otter-main .components-panel__body .otter-info .otter-info-button-group .is-default{padding:2px 20px;height:auto;font-size:14px}#otter .otter-main .components-panel__body .otter-info .otter-info-button-group .is-default:first-child{margin-right:15px}#otter .otter-footer{text-align:center;color:#72777c;font-style:italic;border-top:1px #e1e1e1 solid;border-bottom:1px #e1e1e1 solid;padding:20px;margin:2rem 0 1.5rem}#otter .otter-footer .otter-container{margin:0 auto}#otter .components-placeholder{background:#f6f6f6;margin-top:25vh;margin-bottom:25vh}.otter-onboarding-modal{max-width:350px}.otter-onboarding-modal .components-modal__header{text-align:center}.otter-onboarding-modal .components-modal__header h1{width:100%}.otter-onboarding-modal .otter-onboarding-modal-content{text-align:center;margin:10px 0 15px}.otter-onboarding-modal .otter-onboarding-modal-action{text-align:center;margin:10px 0}.otter-onboarding-modal .otter-onboarding-modal-action .components-button{padding:2px 20px;height:auto;font-size:14px;margin-right:10px}.components-modal__screen-overlay{background-color:rgba(0,0,0,0.5)}.react-joyride__tooltip{font-size:13px !important}.react-joyride__tooltip>div{text-align:left !important}.react-joyride__tooltip div:nth-of-type(2){margin-top:5px !important}.react-joyride__tooltip button{text-decoration:underline}.react-joyride__beacon span:first-child{background-color:#00739c !important}.react-joyride__beacon span:last-child{background-color:rgba(26,129,165,0.4) !important;border:2px solid #00739c !important}.react-joyride__tooltip button[data-action="primary"]{background:#0085ba !important;border-color:#006a95 #00648c #00648c !important;box-shadow:inset 0 -1px 0 #00648c !important;color:#fff !important;text-decoration:none !important;text-shadow:0 -1px 1px #005d82,1px 0 1px #005d82,0 1px 1px #005d82,-1px 0 1px #005d82 !important;padding:2px 20px !important;height:auto !important;line-height:28px !important;font-size:14px !important}.react-joyride__tooltip button[data-action="back"]{color:#23282d !important;font-size:14px !important}.react-notification-root .notification-container-top-right{top:50px}.notification-item-root .notification-content{padding:12px 15px}.notification-item-root .notification-close{top:auto}@media (min-width: 782px){.react-joyride__spotlight,.__floater,.__floater__open,.react-joyride__beacon{margin-top:-32px}}@media (max-width: 782px){#otter .otter-header .otter-container .otter-logo{-webkit-box-pack:center;justify-content:center}#otter .otter-info{background-image:none !important}.react-joyride__spotlight,.__floater,.__floater__open,.react-joyride__beacon{margin-top:-44px}}@media (max-width: 600px){.react-joyride__spotlight,.__floater,.__floater__open,.react-joyride__beacon{margin-top:0}}
2
3
- .notification-container-top-center{position:fixed;z-index:8000;-webkit-transform:translateX(-50%);transform:translateX(-50%);top:20px;left:50%}.notification-container-bottom-center{position:fixed;z-index:8000;-webkit-transform:translateX(-50%);transform:translateX(-50%);margin-bottom:-20px;bottom:20px;left:50%}.notification-container-top-left{position:fixed;left:20px;top:20px;z-index:8000}.notification-container-top-right{position:fixed;right:20px;top:20px;z-index:8000}.notification-container-bottom-left{position:fixed;left:20px;bottom:20px;z-index:8000;margin-bottom:-20px}.notification-container-bottom-right{position:fixed;bottom:20px;right:20px;z-index:8000;margin-bottom:-20px}.notification-container-mobile-top{z-index:8000;position:fixed;right:20px;left:20px;top:20px}.notification-container-mobile-bottom{z-index:8000;position:fixed;right:20px;left:20px;bottom:5px}.notification-default{background-color:#007bff;border-left:8px solid #0056b3}.notification-success{background-color:#28a745;border-left:8px solid #19692c}.notification-danger{background-color:#dc3545;border-left:8px solid #a71d2a}.notification-info{background-color:#17a2b8;border-left:8px solid #0f6674}.notification-warning{background-color:#eab000;border-left:8px solid #9e7600}.notification-awesome{background-color:#685dc3;border-left:8px solid #44399a}.notification-close span,.notification-message,.notification-title{color:#fff}.notification-item,.notification-item-root,.notification-message,.notification-title{font-family:Arial,Helvetica,sans-serif}.notification-close{font-size:18px;position:absolute;right:10px;top:0}.nc-center{top:50%;left:50%;position:fixed;z-index:8000;pointer-events:all}.nc-box{left:-50%;position:relative;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.notification-container-mobile-bottom .notification-item,.notification-container-mobile-bottom .notification-item-root,.notification-container-mobile-top .notification-item,.notification-container-mobile-top .notification-item-root{max-width:100%;width:100%}.notification-item{display:-webkit-box;display:flex;position:relative;border-radius:4px;cursor:pointer;box-shadow:1px 3px 4px rgba(0,0,0,0.2)}.notification-container-bottom-right .notification-item-root,.notification-container-top-right .notification-item-root{margin-left:auto}.notification-container-bottom-left .notification-item-root,.notification-container-top-left .notification-item-root{margin-right:auto}.notification-container-mobile-bottom .notification-item-root,.notification-container-mobile-top .notification-item-root{margin-left:auto;margin-right:auto}.notification-item-root{width:275px;margin-bottom:15px}.notification-title{font-weight:700;font-size:14px;margin-top:5px;margin-bottom:5px}.notification-message{max-width:calc(100% - 15px);font-size:14px;line-height:150%;word-wrap:break-word;margin-bottom:0;margin-top:0}.notification-invisible{visibility:hidden;max-width:375px}.notification-visible{visibility:visible}.notification-content{padding:8px 15px;display:inline-block;width:100%}
4
1
+ *{box-sizing:inherit}.settings_page_otter{background:#f6f6f6;font-size:14px;position:relative;box-sizing:border-box;font-family:Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif}#wpcontent{padding-left:0}.auto-fold #wpcontent{padding-left:0}#otter .otter-header{padding:20px 10px;background-color:#ffffff;box-shadow:0 1px 0 rgba(213,213,213,0.5),0 1px 2px #eee}#otter .otter-header.onboarding .otter-container .otter-logo{justify-content:center}#otter .otter-header .otter-container{margin:0 auto;max-width:100%;max-width:750px}#otter .otter-header .otter-container .otter-logo{display:flex;align-items:center}#otter .otter-header .otter-container .otter-logo img{max-width:200px}#otter .otter-header .otter-container .otter-logo .version{background-color:#e5e5e5;border-radius:3px;font-size:0.8em;font-weight:400;margin-left:10px;padding:2px 7px}#otter .otter-main{margin-left:auto;margin-right:auto;max-width:750px}#otter .otter-main .components-panel__body{margin:25px 0;background:#fff;border:1px solid #e2e4e7}#otter .otter-main .components-panel__body .components-panel__body-toggle{border-bottom:1px solid #d6e2ed}#otter .otter-main .components-panel__body .components-panel__row{padding:20px 10px 10px;margin:0}#otter .otter-main .components-panel__body .components-panel__row .components-base-control .components-base-control__field{display:flex;align-items:center;margin-bottom:10px}#otter .otter-main .components-panel__body .components-panel__row .components-base-control.otter-text-field{width:100%}#otter .otter-main .components-panel__body .components-panel__row .components-base-control.otter-text-field .components-base-control__field{display:block}#otter .otter-main .components-panel__body .components-panel__row .components-base-control.otter-text-field .components-base-control__field label{font-weight:600;margin-bottom:10px}#otter .otter-main .components-panel__body .components-panel__row .components-base-control.otter-text-field .components-base-control__field input{border:1px solid #b7c9d9;border-radius:3px;font-size:14px;padding:9px 15px;width:100%;box-shadow:none;height:40px;margin:0 0 10px 0;color:#444}#otter .otter-main .components-panel__body .components-panel__row .components-base-control.otter-text-field .components-base-control__field input:disabled{background:#f6f6f6;border-color:#eeeeee;color:#bbbbbb}#otter .otter-main .components-panel__body .components-panel__row .components-base-control.otter-text-field .components-base-control__field input:focus{border-color:#00a0d2;box-shadow:0 0 0 1px #00a0d2;outline:2px solid transparent;outline-offset:-2px}#otter .otter-main .components-panel__body .components-panel__row .components-base-control.otter-text-field .components-base-control__field .otter-text-field-button-group{display:flex;align-items:center;margin:2px 0 15px}#otter .otter-main .components-panel__body .components-panel__row .components-base-control.otter-text-field .components-base-control__field .otter-text-field-button-group .is-primary{padding:2px 20px;height:auto;font-size:14px;margin-right:10px}#otter .otter-main .components-panel__body .otter-info{padding:0 10px 10px;background-image:url(data:image/png;base64,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);background-size:100px;background-repeat:no-repeat;background-position:bottom right}#otter .otter-main .components-panel__body .otter-info h2{font-weight:300;margin-bottom:10px}#otter .otter-main .components-panel__body .otter-info p{margin:0 0 1.5em 0}#otter .otter-main .components-panel__body .otter-info .otter-info-button-group{display:flex}#otter .otter-main .components-panel__body .otter-info .otter-info-button-group .is-default{padding:2px 20px;height:auto;font-size:14px}#otter .otter-main .components-panel__body .otter-info .otter-info-button-group .is-default:first-child{margin-right:15px}#otter .otter-footer{text-align:center;color:#72777c;font-style:italic;border-top:1px #e1e1e1 solid;border-bottom:1px #e1e1e1 solid;padding:20px;margin:2rem 0 1.5rem}#otter .otter-footer .otter-container{margin:0 auto}#otter .components-placeholder{background:#f6f6f6;margin-top:25vh;margin-bottom:25vh}.otter-onboarding-modal{max-width:350px}.otter-onboarding-modal .components-modal__header{text-align:center}.otter-onboarding-modal .components-modal__header h1{width:100%}.otter-onboarding-modal .otter-onboarding-modal-content{text-align:center;margin:10px 0 15px}.otter-onboarding-modal .otter-onboarding-modal-action{text-align:center;margin:10px 0}.otter-onboarding-modal .otter-onboarding-modal-action .components-button{padding:2px 20px;height:auto;font-size:14px;margin-right:10px}.components-modal__screen-overlay{background-color:rgba(0,0,0,0.5)}.react-joyride__tooltip{font-size:13px !important}.react-joyride__tooltip>div{text-align:left !important}.react-joyride__tooltip div:nth-of-type(2){margin-top:5px !important}.react-joyride__tooltip button{text-decoration:underline}.react-joyride__beacon span:first-child{background-color:#00739c !important}.react-joyride__beacon span:last-child{background-color:rgba(26,129,165,0.4) !important;border:2px solid #00739c !important}.react-joyride__tooltip button[data-action="primary"]{background:#0085ba !important;border-color:#006a95 #00648c #00648c !important;box-shadow:inset 0 -1px 0 #00648c !important;color:#fff !important;text-decoration:none !important;text-shadow:0 -1px 1px #005d82,1px 0 1px #005d82,0 1px 1px #005d82,-1px 0 1px #005d82 !important;padding:2px 20px !important;height:auto !important;line-height:28px !important;font-size:14px !important}.react-joyride__tooltip button[data-action="back"]{color:#23282d !important;font-size:14px !important}.react-notification-root .notification-container-bottom-left{bottom:40px}.react-notification-root .notification-container-mobile-bottom{bottom:60px}@media (min-width: 782px){.react-joyride__spotlight,.__floater,.__floater__open,.react-joyride__beacon{margin-top:-32px}}@media (max-width: 782px){#otter .otter-header .otter-container .otter-logo{justify-content:center}#otter .otter-info{background-image:none !important}.react-joyride__spotlight,.__floater,.__floater__open,.react-joyride__beacon{margin-top:-44px}}@media (max-width: 600px){.react-joyride__spotlight,.__floater,.__floater__open,.react-joyride__beacon{margin-top:0}}
2
3
+ .notification-container-bottom-center,.notification-container-bottom-left,.notification-container-bottom-right,.notification-container-top-center,.notification-container-top-left,.notification-container-top-right{width:325px;position:absolute;pointer-events:all}.notification-container-top-center{transform:translateX(-50%);top:20px;left:50%}.notification-container-bottom-center{transform:translateX(-50%);bottom:20px;left:50%}.notification-container-top-left{left:20px;top:20px}.notification-container-top-right{right:20px;top:20px}.notification-container-bottom-left{left:20px;bottom:20px}.notification-container-bottom-right{bottom:20px;right:20px}.notification-container-mobile-bottom,.notification-container-mobile-top{pointer-events:all;position:absolute}.notification-container-mobile-top{right:20px;left:20px;top:20px}.notification-container-mobile-bottom{right:20px;left:20px;bottom:20px;margin-bottom:-15px}.notification-default{border-left:8px solid #0562c7}.notification-default,.notification-default .timer{background-color:#007bff}.notification-default .timer-filler{background-color:#fff}.notification-default .notification-close{background-color:#007bff}.notification-success{border-left:8px solid #1f8838}.notification-success,.notification-success .timer{background-color:#28a745}.notification-success .timer-filler{background-color:#fff}.notification-success .notification-close{background-color:#28a745}.notification-danger{border-left:8px solid #bd1120}.notification-danger,.notification-danger .timer{background-color:#dc3545}.notification-danger .timer-filler{background-color:#fff}.notification-danger .notification-close{background-color:#dc3545}.notification-info{border-left:8px solid #138b9e}.notification-info,.notification-info .timer{background-color:#17a2b8}.notification-info .timer-filler{background-color:#fff}.notification-info .notification-close{background-color:#17a2b8}.notification-warning{border-left:8px solid #ce9c09}.notification-warning,.notification-warning .timer{background-color:#eab000}.notification-warning .timer-filler{background-color:#fff}.notification-warning .notification-close{background-color:#eab000}.notification-awesome{border-left:8px solid #4c3fb1}.notification-awesome,.notification-awesome .timer{background-color:#685dc3}.notification-awesome .timer-filler{background-color:#fff}.notification-awesome .notification-close{background-color:#685dc3}@-webkit-keyframes timer{0%{width:100%}to{width:0}}@keyframes timer{0%{width:100%}to{width:0}}.react-notification-root{position:fixed;z-index:9000;pointer-events:none;width:100%;height:100%}.notification-item{display:flex;position:relative;border-radius:3px;margin-bottom:15px;box-shadow:1px 3px 4px rgba(0,0,0,0.2);cursor:pointer}.notification-item .timer{width:100%;margin-top:10px}.notification-item .timer,.notification-item .timer .timer-filler{height:3px;border-radius:5px}.notification-item .notification-title{color:#fff;font-weight:700;font-size:14px;margin-top:5px;margin-bottom:5px}.notification-item .notification-message{color:#fff;max-width:calc(100% - 15px);font-size:14px;line-height:150%;word-wrap:break-word;margin-bottom:0;margin-top:0}.notification-item .notification-content{padding:8px 15px;display:inline-block;width:100%}.notification-item .notification-close{width:18px;height:18px;border-radius:50%;display:inline-block;position:absolute;right:10px;top:10px}.notification-item .notification-close:after{content:"\D7";position:absolute;transform:translate(-50%, -50%);color:#fff;font-size:12px;left:50%;top:50%}.n-parent{width:275px}.notification-container-mobile-bottom .n-parent,.notification-container-mobile-bottom .notification-item,.notification-container-mobile-top .n-parent,.notification-container-mobile-top .notification-item{max-width:100%;width:100%}.notification-container-bottom-right .n-parent,.notification-container-top-right .n-parent{margin-left:auto}.notification-container-bottom-left .n-parent,.notification-container-top-left .n-parent{margin-right:auto}.notification-container-mobile-bottom .n-parent,.notification-container-mobile-top .n-parent{margin-left:auto;margin-right:auto}
4
build/build.js CHANGED
@@ -1,4 +1,4 @@
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=23)}([function(e,t,n){e.exports=n(17)()},function(e,t){e.exports=React},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getObjectType=function(e){return Object.prototype.toString.call(e).slice(8,-1)};var o=function(e){return function(n){return t.getObjectType(n)===e}},r=function(e){return function(t){return typeof t===e}},i=function(e){switch(e){case null:return"null";case!0:case!1:return"boolean"}switch(typeof e){case"undefined":return"undefined";case"string":return"string";case"number":return"number";case"bigint":return"bigint";case"symbol":return"symbol"}if(i.array(e))return"Array";if(i.function(e))return"Function";var n=t.getObjectType(e);return n||"Object"};i.array=Array.isArray,i.arrayOf=function(e,t){return!(!i.array(e)&&!i.function(t))&&e.every((function(e){return t(e)}))},i.asyncFunction=o("AsyncFunction"),i.boolean=function(e){return!0===e||!1===e},i.date=o("Date"),i.defined=function(e){return!i.undefined(e)},i.domElement=function(e){return i.object(e)&&!i.plainObject(e)&&1===e.nodeType&&i.string(e.nodeName)&&["innerHTML","ownerDocument","style","attributes","nodeValue"].every((function(t){return t in e}))},i.empty=function(e){return i.string(e)&&0===e.length||i.array(e)&&0===e.length||i.object(e)&&!i.map(e)&&!i.set(e)&&0===Object.keys(e).length||i.set(e)&&0===e.size||i.map(e)&&0===e.size},i.error=o("Error"),i.function=o("Function"),i.generator=function(e){return i.iterable(e)&&i.function(e.next)&&i.function(e.throw)},i.generatorFunction=o("GeneratorFunction"),i.instanceOf=function(e,t){return!(!e||!t)&&Object.getPrototypeOf(e)===t.prototype},i.iterable=function(e){return!i.nullOrUndefined(e)&&i.function(e[Symbol.iterator])},i.map=o("Map"),i.nan=function(e){return Number.isNaN(e)},i.null=function(e){return null===e},i.nullOrUndefined=function(e){return i.null(e)||i.undefined(e)},i.number=function(e){return r("number")(e)&&!i.nan(e)},i.numericString=function(e){return i.string(e)&&e.length>0&&!Number.isNaN(Number(e))},i.object=function(e){return!i.nullOrUndefined(e)&&(i.function(e)||"object"==typeof e)},i.oneOf=function(e,t){return!!i.array(e)&&e.indexOf(t)>-1},i.plainObject=function(e){if("Object"!==t.getObjectType(e))return!1;var n=Object.getPrototypeOf(e);return null===n||n===Object.getPrototypeOf({})},i.promise=o("Promise"),i.propertyOf=function(e,t,n){if(!i.object(e)||!t)return!1;var o=e[t];return i.function(n)?n(o):i.defined(o)},i.regexp=o("RegExp"),i.set=o("Set"),i.string=r("string"),i.symbol=r("symbol"),i.undefined=r("undefined"),i.weakMap=o("WeakMap"),i.weakSet=o("WeakSet"),t.default=i},function(e,t,n){"use strict";var o=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$typeof===r}(e)}(e)};var r="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function i(e,t){return!1!==t.clone&&t.isMergeableObject(e)?u((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function a(e,t,n){return e.concat(t).map((function(e){return i(e,n)}))}function s(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return e.propertyIsEnumerable(t)})):[]}(e))}function l(e,t){try{return t in e}catch(e){return!1}}function c(e,t,n){var o={};return n.isMergeableObject(e)&&s(e).forEach((function(t){o[t]=i(e[t],n)})),s(t).forEach((function(r){(function(e,t){return l(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,r)||(l(e,r)&&n.isMergeableObject(t[r])?o[r]=function(e,t){if(!t.customMerge)return u;var n=t.customMerge(e);return"function"==typeof n?n:u}(r,n)(e[r],t[r],n):o[r]=i(t[r],n))})),o}function u(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||a,n.isMergeableObject=n.isMergeableObject||o,n.cloneUnlessOtherwiseSpecified=i;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):c(e,t,n):i(t,n)}u.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return u(e,n,t)}),{})};var p=u;e.exports=p},function(e,t){e.exports=ReactDOM},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(19),r=n(20);function i(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.every((function(e){return"number"==typeof e}))}t.default=function(e,t){if(!e||!t)throw new Error("Missing required parameters");return{changed:function(n){var i=r.get(e,n),a=r.get(t,n);return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.every(Array.isArray)}(i,a)||function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.every((function(e){if(!e)return!1;var t=Object.getPrototypeOf(e);return"Object"===Object.prototype.toString.call(e).slice(8,-1)&&(null===t||t===Object.getPrototypeOf({}))}))}(i,a)?!!o.diff(i,a):i!==a},changedFrom:function(n,o,i){if(void 0===n)throw new Error("Key parameter is required");var a=void 0!==o&&void 0!==i,s=r.get(e,n),l=r.get(t,n),c=Array.isArray(o)?o.indexOf(s)>=0:s===o,u=Array.isArray(i)?i.indexOf(l)>=0:l===i;return c&&(a?u:!a)},changedTo:function(n,o){if(void 0===n)throw new Error("Key parameter is required");var i=r.get(e,n),a=r.get(t,n),s=Array.isArray(o)?o.indexOf(i)<0:i!==o,l=Array.isArray(o)?o.indexOf(a)>=0:a===o;return s&&l},increased:function(n){if(void 0===n)throw new Error("Key parameter is required");return i(r.get(e,n),r.get(t,n))&&r.get(e,n)<r.get(t,n)},decreased:function(n){if(void 0===n)throw new Error("Key parameter is required");return i(r.get(e,n),r.get(t,n))&&r.get(e,n)>r.get(t,n)}}}},function(e,t,n){"use strict";e.exports=n(21)},function(e,t,n){var o;
2
/*!
3
Copyright (c) 2015 Jed Watson.
4
Based on code that is Copyright 2013-2015, Facebook, Inc.
@@ -28,12 +28,12 @@
28
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
29
* SOFTWARE.
30
*/
31
- var n="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,o=function(){for(var e=["Edge","Trident","Firefox"],t=0;t<e.length;t+=1)if(n&&navigator.userAgent.indexOf(e[t])>=0)return 1;return 0}();var r=n&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then((function(){t=!1,e()})))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout((function(){t=!1,e()}),o))}};function i(e){return e&&"[object Function]"==={}.toString.call(e)}function a(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}function s(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function l(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=a(e),n=t.overflow,o=t.overflowX,r=t.overflowY;return/(auto|scroll|overlay)/.test(n+r+o)?e:l(s(e))}function c(e){return e&&e.referenceNode?e.referenceNode:e}var u=n&&!(!window.MSInputMethodContext||!document.documentMode),p=n&&/MSIE 10/.test(navigator.userAgent);function f(e){return 11===e?u:10===e?p:u||p}function d(e){if(!e)return document.documentElement;for(var t=f(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var o=n&&n.nodeName;return o&&"BODY"!==o&&"HTML"!==o?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===a(n,"position")?d(n):n:e?e.ownerDocument.documentElement:document.documentElement}function h(e){return null!==e.parentNode?h(e.parentNode):e}function m(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,o=n?e:t,r=n?t:e,i=document.createRange();i.setStart(o,0),i.setEnd(r,0);var a,s,l=i.commonAncestorContainer;if(e!==l&&t!==l||o.contains(r))return"BODY"===(s=(a=l).nodeName)||"HTML"!==s&&d(a.firstElementChild)!==a?d(l):l;var c=h(e);return c.host?m(c.host,t):m(e,h(t).host)}function y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===t?"scrollTop":"scrollLeft",o=e.nodeName;if("BODY"===o||"HTML"===o){var r=e.ownerDocument.documentElement,i=e.ownerDocument.scrollingElement||r;return i[n]}return e[n]}function g(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=y(t,"top"),r=y(t,"left"),i=n?-1:1;return e.top+=o*i,e.bottom+=o*i,e.left+=r*i,e.right+=r*i,e}function b(e,t){var n="x"===t?"Left":"Top",o="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"],10)+parseFloat(e["border"+o+"Width"],10)}function v(e,t,n,o){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],f(10)?parseInt(n["offset"+e])+parseInt(o["margin"+("Height"===e?"Top":"Left")])+parseInt(o["margin"+("Height"===e?"Bottom":"Right")]):0)}function w(e){var t=e.body,n=e.documentElement,o=f(10)&&getComputedStyle(n);return{height:v("Height",t,n,o),width:v("Width",t,n,o)}}var E=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},O=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),S=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},k=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e};function x(e){return k({},e,{right:e.left+e.width,bottom:e.top+e.height})}function T(e){var t={};try{if(f(10)){t=e.getBoundingClientRect();var n=y(e,"top"),o=y(e,"left");t.top+=n,t.left+=o,t.bottom+=n,t.right+=o}else t=e.getBoundingClientRect()}catch(e){}var r={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},i="HTML"===e.nodeName?w(e.ownerDocument):{},s=i.width||e.clientWidth||r.width,l=i.height||e.clientHeight||r.height,c=e.offsetWidth-s,u=e.offsetHeight-l;if(c||u){var p=a(e);c-=b(p,"x"),u-=b(p,"y"),r.width-=c,r.height-=u}return x(r)}function C(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=f(10),r="HTML"===t.nodeName,i=T(e),s=T(t),c=l(e),u=a(t),p=parseFloat(u.borderTopWidth,10),d=parseFloat(u.borderLeftWidth,10);n&&r&&(s.top=Math.max(s.top,0),s.left=Math.max(s.left,0));var h=x({top:i.top-s.top-p,left:i.left-s.left-d,width:i.width,height:i.height});if(h.marginTop=0,h.marginLeft=0,!o&&r){var m=parseFloat(u.marginTop,10),y=parseFloat(u.marginLeft,10);h.top-=p-m,h.bottom-=p-m,h.left-=d-y,h.right-=d-y,h.marginTop=m,h.marginLeft=y}return(o&&!n?t.contains(c):t===c&&"BODY"!==c.nodeName)&&(h=g(h,t)),h}function N(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,o=C(e,n),r=Math.max(n.clientWidth,window.innerWidth||0),i=Math.max(n.clientHeight,window.innerHeight||0),a=t?0:y(n),s=t?0:y(n,"left"),l={top:a-o.top+o.marginTop,left:s-o.left+o.marginLeft,width:r,height:i};return x(l)}function P(e){var t=e.nodeName;if("BODY"===t||"HTML"===t)return!1;if("fixed"===a(e,"position"))return!0;var n=s(e);return!!n&&P(n)}function I(e){if(!e||!e.parentElement||f())return document.documentElement;for(var t=e.parentElement;t&&"none"===a(t,"transform");)t=t.parentElement;return t||document.documentElement}function j(e,t,n,o){var r=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={top:0,left:0},a=r?I(e):m(e,c(t));if("viewport"===o)i=N(a,r);else{var u=void 0;"scrollParent"===o?"BODY"===(u=l(s(t))).nodeName&&(u=e.ownerDocument.documentElement):u="window"===o?e.ownerDocument.documentElement:o;var p=C(u,a,r);if("HTML"!==u.nodeName||P(a))i=p;else{var f=w(e.ownerDocument),d=f.height,h=f.width;i.top+=p.top-p.marginTop,i.bottom=d+p.top,i.left+=p.left-p.marginLeft,i.right=h+p.left}}var y="number"==typeof(n=n||0);return i.left+=y?n:n.left||0,i.top+=y?n:n.top||0,i.right-=y?n:n.right||0,i.bottom-=y?n:n.bottom||0,i}function R(e){return e.width*e.height}function M(e,t,n,o,r){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var a=j(n,o,i,r),s={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},l=Object.keys(s).map((function(e){return k({key:e},s[e],{area:R(s[e])})})).sort((function(e,t){return t.area-e.area})),c=l.filter((function(e){var t=e.width,o=e.height;return t>=n.clientWidth&&o>=n.clientHeight})),u=c.length>0?c[0].key:l[0].key,p=e.split("-")[1];return u+(p?"-"+p:"")}function _(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,r=o?I(t):m(t,c(n));return C(n,r,o)}function A(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),o=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+o,height:e.offsetHeight+n}}function L(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,(function(e){return t[e]}))}function D(e,t,n){n=n.split("-")[0];var o=A(e),r={width:o.width,height:o.height},i=-1!==["right","left"].indexOf(n),a=i?"top":"left",s=i?"left":"top",l=i?"height":"width",c=i?"width":"height";return r[a]=t[a]+t[l]/2-o[l]/2,r[s]=n===s?t[s]-o[c]:t[L(s)],r}function B(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function F(e,t,n){return(void 0===n?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex((function(e){return e[t]===n}));var o=B(e,(function(e){return e[t]===n}));return e.indexOf(o)}(e,"name",n))).forEach((function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&i(n)&&(t.offsets.popper=x(t.offsets.popper),t.offsets.reference=x(t.offsets.reference),t=n(t,e))})),t}function z(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=_(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=M(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=D(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=F(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function W(e,t){return e.some((function(e){var n=e.name;return e.enabled&&n===t}))}function H(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),o=0;o<t.length;o++){var r=t[o],i=r?""+r+n:e;if(void 0!==document.body.style[i])return i}return null}function U(){return this.state.isDestroyed=!0,W(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[H("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function q(e){var t=e.ownerDocument;return t?t.defaultView:window}function G(e,t,n,o){n.updateBound=o,q(e).addEventListener("resize",n.updateBound,{passive:!0});var r=l(e);return function e(t,n,o,r){var i="BODY"===t.nodeName,a=i?t.ownerDocument.defaultView:t;a.addEventListener(n,o,{passive:!0}),i||e(l(a.parentNode),n,o,r),r.push(a)}(r,"scroll",n.updateBound,n.scrollParents),n.scrollElement=r,n.eventsEnabled=!0,n}function V(){this.state.eventsEnabled||(this.state=G(this.reference,this.options,this.state,this.scheduleUpdate))}function Y(){var e,t;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,q(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach((function(e){e.removeEventListener("scroll",t.updateBound)})),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t))}function $(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function K(e,t){Object.keys(t).forEach((function(n){var o="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&$(t[n])&&(o="px"),e.style[n]=t[n]+o}))}var X=n&&/Firefox/i.test(navigator.userAgent);function J(e,t,n){var o=B(e,(function(e){return e.name===t})),r=!!o&&e.some((function(e){return e.name===n&&e.enabled&&e.order<o.order}));if(!r){var i="`"+t+"`",a="`"+n+"`";console.warn(a+" modifier is required by "+i+" modifier in order to work, be sure to include it before "+i+"!")}return r}var Z=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],Q=Z.slice(3);function ee(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=Q.indexOf(e),o=Q.slice(n+1).concat(Q.slice(0,n));return t?o.reverse():o}var te="flip",ne="clockwise",oe="counterclockwise";function re(e,t,n,o){var r=[0,0],i=-1!==["right","left"].indexOf(o),a=e.split(/(\+|\-)/).map((function(e){return e.trim()})),s=a.indexOf(B(a,(function(e){return-1!==e.search(/,|\s/)})));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1!==s?[a.slice(0,s).concat([a[s].split(l)[0]]),[a[s].split(l)[1]].concat(a.slice(s+1))]:[a];return(c=c.map((function(e,o){var r=(1===o?!i:i)?"height":"width",a=!1;return e.reduce((function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,a=!0,e):a?(e[e.length-1]+=t,a=!1,e):e.concat(t)}),[]).map((function(e){return function(e,t,n,o){var r=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+r[1],a=r[2];if(!i)return e;if(0===a.indexOf("%")){var s=void 0;switch(a){case"%p":s=n;break;case"%":case"%r":default:s=o}return x(s)[t]/100*i}if("vh"===a||"vw"===a){return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*i}return i}(e,r,t,n)}))}))).forEach((function(e,t){e.forEach((function(n,o){$(n)&&(r[t]+=n*("-"===e[o-1]?-1:1))}))})),r}var ie={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split("-")[0],o=t.split("-")[1];if(o){var r=e.offsets,i=r.reference,a=r.popper,s=-1!==["bottom","top"].indexOf(n),l=s?"left":"top",c=s?"width":"height",u={start:S({},l,i[l]),end:S({},l,i[l]+i[c]-a[c])};e.offsets.popper=k({},a,u[o])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n=t.offset,o=e.placement,r=e.offsets,i=r.popper,a=r.reference,s=o.split("-")[0],l=void 0;return l=$(+n)?[+n,0]:re(n,i,a,s),"left"===s?(i.top+=l[0],i.left-=l[1]):"right"===s?(i.top+=l[0],i.left+=l[1]):"top"===s?(i.left+=l[0],i.top-=l[1]):"bottom"===s&&(i.left+=l[0],i.top+=l[1]),e.popper=i,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var n=t.boundariesElement||d(e.instance.popper);e.instance.reference===n&&(n=d(n));var o=H("transform"),r=e.instance.popper.style,i=r.top,a=r.left,s=r[o];r.top="",r.left="",r[o]="";var l=j(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);r.top=i,r.left=a,r[o]=s,t.boundaries=l;var c=t.priority,u=e.offsets.popper,p={primary:function(e){var n=u[e];return u[e]<l[e]&&!t.escapeWithReference&&(n=Math.max(u[e],l[e])),S({},e,n)},secondary:function(e){var n="right"===e?"left":"top",o=u[n];return u[e]>l[e]&&!t.escapeWithReference&&(o=Math.min(u[n],l[e]-("right"===e?u.width:u.height))),S({},n,o)}};return c.forEach((function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";u=k({},u,p[t](e))})),e.offsets.popper=u,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,o=t.reference,r=e.placement.split("-")[0],i=Math.floor,a=-1!==["top","bottom"].indexOf(r),s=a?"right":"bottom",l=a?"left":"top",c=a?"width":"height";return n[s]<i(o[l])&&(e.offsets.popper[l]=i(o[l])-n[c]),n[l]>i(o[s])&&(e.offsets.popper[l]=i(o[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var n;if(!J(e.instance.modifiers,"arrow","keepTogether"))return e;var o=t.element;if("string"==typeof o){if(!(o=e.instance.popper.querySelector(o)))return e}else if(!e.instance.popper.contains(o))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var r=e.placement.split("-")[0],i=e.offsets,s=i.popper,l=i.reference,c=-1!==["left","right"].indexOf(r),u=c?"height":"width",p=c?"Top":"Left",f=p.toLowerCase(),d=c?"left":"top",h=c?"bottom":"right",m=A(o)[u];l[h]-m<s[f]&&(e.offsets.popper[f]-=s[f]-(l[h]-m)),l[f]+m>s[h]&&(e.offsets.popper[f]+=l[f]+m-s[h]),e.offsets.popper=x(e.offsets.popper);var y=l[f]+l[u]/2-m/2,g=a(e.instance.popper),b=parseFloat(g["margin"+p],10),v=parseFloat(g["border"+p+"Width"],10),w=y-e.offsets.popper[f]-b-v;return w=Math.max(Math.min(s[u]-m,w),0),e.arrowElement=o,e.offsets.arrow=(S(n={},f,Math.round(w)),S(n,d,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(W(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=j(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),o=e.placement.split("-")[0],r=L(o),i=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case te:a=[o,r];break;case ne:a=ee(o);break;case oe:a=ee(o,!0);break;default:a=t.behavior}return a.forEach((function(s,l){if(o!==s||a.length===l+1)return e;o=e.placement.split("-")[0],r=L(o);var c=e.offsets.popper,u=e.offsets.reference,p=Math.floor,f="left"===o&&p(c.right)>p(u.left)||"right"===o&&p(c.left)<p(u.right)||"top"===o&&p(c.bottom)>p(u.top)||"bottom"===o&&p(c.top)<p(u.bottom),d=p(c.left)<p(n.left),h=p(c.right)>p(n.right),m=p(c.top)<p(n.top),y=p(c.bottom)>p(n.bottom),g="left"===o&&d||"right"===o&&h||"top"===o&&m||"bottom"===o&&y,b=-1!==["top","bottom"].indexOf(o),v=!!t.flipVariations&&(b&&"start"===i&&d||b&&"end"===i&&h||!b&&"start"===i&&m||!b&&"end"===i&&y),w=!!t.flipVariationsByContent&&(b&&"start"===i&&h||b&&"end"===i&&d||!b&&"start"===i&&y||!b&&"end"===i&&m),E=v||w;(f||g||E)&&(e.flipped=!0,(f||g)&&(o=a[l+1]),E&&(i=function(e){return"end"===e?"start":"start"===e?"end":e}(i)),e.placement=o+(i?"-"+i:""),e.offsets.popper=k({},e.offsets.popper,D(e.instance.popper,e.offsets.reference,e.placement)),e=F(e.instance.modifiers,e,"flip"))})),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],o=e.offsets,r=o.popper,i=o.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return r[a?"left":"top"]=i[n]-(s?r[a?"width":"height"]:0),e.placement=L(t),e.offsets.popper=x(r),e}},hide:{order:800,enabled:!0,fn:function(e){if(!J(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=B(e.instance.modifiers,(function(e){return"preventOverflow"===e.name})).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var n=t.x,o=t.y,r=e.offsets.popper,i=B(e.instance.modifiers,(function(e){return"applyStyle"===e.name})).gpuAcceleration;void 0!==i&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a=void 0!==i?i:t.gpuAcceleration,s=d(e.instance.popper),l=T(s),c={position:r.position},u=function(e,t){var n=e.offsets,o=n.popper,r=n.reference,i=Math.round,a=Math.floor,s=function(e){return e},l=i(r.width),c=i(o.width),u=-1!==["left","right"].indexOf(e.placement),p=-1!==e.placement.indexOf("-"),f=t?u||p||l%2==c%2?i:a:s,d=t?i:s;return{left:f(l%2==1&&c%2==1&&!p&&t?o.left-1:o.left),top:d(o.top),bottom:d(o.bottom),right:f(o.right)}}(e,window.devicePixelRatio<2||!X),p="bottom"===n?"top":"bottom",f="right"===o?"left":"right",h=H("transform"),m=void 0,y=void 0;if(y="bottom"===p?"HTML"===s.nodeName?-s.clientHeight+u.bottom:-l.height+u.bottom:u.top,m="right"===f?"HTML"===s.nodeName?-s.clientWidth+u.right:-l.width+u.right:u.left,a&&h)c[h]="translate3d("+m+"px, "+y+"px, 0)",c[p]=0,c[f]=0,c.willChange="transform";else{var g="bottom"===p?-1:1,b="right"===f?-1:1;c[p]=y*g,c[f]=m*b,c.willChange=p+", "+f}var v={"x-placement":e.placement};return e.attributes=k({},v,e.attributes),e.styles=k({},c,e.styles),e.arrowStyles=k({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){var t,n;return K(e.instance.popper,e.styles),t=e.instance.popper,n=e.attributes,Object.keys(n).forEach((function(e){!1!==n[e]?t.setAttribute(e,n[e]):t.removeAttribute(e)})),e.arrowElement&&Object.keys(e.arrowStyles).length&&K(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,n,o,r){var i=_(r,t,e,n.positionFixed),a=M(n.placement,i,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",a),K(t,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},ae=function(){function e(t,n){var o=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};E(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(o.update)},this.update=r(this.update.bind(this)),this.options=k({},e.Defaults,a),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(k({},e.Defaults.modifiers,a.modifiers)).forEach((function(t){o.options.modifiers[t]=k({},e.Defaults.modifiers[t]||{},a.modifiers?a.modifiers[t]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(e){return k({name:e},o.options.modifiers[e])})).sort((function(e,t){return e.order-t.order})),this.modifiers.forEach((function(e){e.enabled&&i(e.onLoad)&&e.onLoad(o.reference,o.popper,o.options,e,o.state)})),this.update();var s=this.options.eventsEnabled;s&&this.enableEventListeners(),this.state.eventsEnabled=s}return O(e,[{key:"update",value:function(){return z.call(this)}},{key:"destroy",value:function(){return U.call(this)}},{key:"enableEventListeners",value:function(){return V.call(this)}},{key:"disableEventListeners",value:function(){return Y.call(this)}}]),e}();ae.Utils=("undefined"!=typeof window?window:e).PopperUtils,ae.placements=Z,ae.Defaults=ie,t.a=ae}).call(this,n(11))},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t){var n=new Error("Element already at target scroll position"),o=new Error("Scroll cancelled"),r=Math.min,i=Date.now;function a(e){return function(t,a,c,u){"function"==typeof(c=c||{})&&(u=c,c={}),"function"!=typeof u&&(u=l);var p=i(),f=t[e],d=c.ease||s,h=isNaN(c.duration)?350:+c.duration,m=!1;return f===a?u(n,t[e]):requestAnimationFrame((function n(s){if(m)return u(o,t[e]);var l=i(),c=r(1,(l-p)/h),y=d(c);t[e]=y*(a-f)+f,c<1?requestAnimationFrame(n):requestAnimationFrame((function(){u(null,t[e])}))})),function(){m=!0}}}function s(e){return.5*(1-Math.cos(Math.PI*e))}function l(){}e.exports={left:a("scrollLeft"),top:a("scrollTop")}},function(e,t,n){"use strict";(function(e){var o=n(1),r=n.n(o),i=n(0),a=n.n(i),s=n(9),l=n.n(s),c=n(10),u=n(3),p=n.n(u),f=n(2),d=n.n(f),h=n(5),m=n.n(h),y=n(4),g=n.n(y),b=n(7);function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function w(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function E(e,t,n){return t&&w(e.prototype,t),n&&w(e,n),e}function O(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function S(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function k(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?S(Object(n),!0).forEach((function(t){O(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):S(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function x(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&C(e,t)}function T(e){return(T=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function C(e,t){return(C=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function N(e,t){if(null==e)return{};var n,o,r=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function P(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function I(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?P(e):t}var j={flip:{padding:20},preventOverflow:{padding:10}},R={INIT:"init",IDLE:"idle",OPENING:"opening",OPEN:"open",CLOSING:"closing",ERROR:"error"},M=n.n(b).a.canUseDOM,_=void 0!==g.a.createPortal;function A(){return"ontouchstart"in window&&/Mobi/.test(navigator.userAgent)}function L(e){var t=e.title,n=e.data,o=e.warn,r=void 0!==o&&o,i=e.debug,a=void 0!==i&&i,s=r?console.warn||console.error:console.log;a&&t&&n&&(console.groupCollapsed("%creact-floater: ".concat(t),"color: #9b00ff; font-weight: bold; font-size: 12px;"),Array.isArray(n)?n.forEach((function(e){d.a.plainObject(e)&&e.key?s.apply(console,[e.key,e.value]):s.apply(console,[e])})):s.apply(console,[n]),console.groupEnd())}function D(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];e.addEventListener(t,n,o)}function B(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];e.removeEventListener(t,n,o)}function F(){}var z=function(e){function t(e){var n;return v(this,t),n=I(this,T(t).call(this,e)),M?(n.node=document.createElement("div"),e.id&&(n.node.id=e.id),e.zIndex&&(n.node.style.zIndex=e.zIndex),document.body.appendChild(n.node),n):I(n)}return x(t,e),E(t,[{key:"componentDidMount",value:function(){M&&(_||this.renderPortal())}},{key:"componentDidUpdate",value:function(){M&&(_||this.renderPortal())}},{key:"componentWillUnmount",value:function(){M&&this.node&&(_||g.a.unmountComponentAtNode(this.node),document.body.removeChild(this.node))}},{key:"renderPortal",value:function(){if(!M)return null;var e=this.props,t=e.children,n=e.setRef;return _?g.a.createPortal(t,this.node):(n(g.a.unstable_renderSubtreeIntoContainer(this,t.length>1?r.a.createElement("div",null,t):t[0],this.node)),null)}},{key:"renderReact16",value:function(){var e=this.props,t=e.hasChildren,n=e.placement,o=e.target;return t?this.renderPortal():o||"center"===n?this.renderPortal():null}},{key:"render",value:function(){return _?this.renderReact16():null}}]),t}(r.a.Component);O(z,"propTypes",{children:a.a.oneOfType([a.a.element,a.a.array]),hasChildren:a.a.bool,id:a.a.oneOfType([a.a.string,a.a.number]),placement:a.a.string,setRef:a.a.func.isRequired,target:a.a.oneOfType([a.a.object,a.a.string]),zIndex:a.a.number});var W=function(e){function t(){return v(this,t),I(this,T(t).apply(this,arguments))}return x(t,e),E(t,[{key:"render",value:function(){var e,t=this.props,n=t.placement,o=t.setArrowRef,i=t.styles.arrow,a=i.color,s=i.display,l=i.length,c=i.margin,u=i.position,p=i.spread,f={display:s,position:u},d=p,h=l;return n.startsWith("top")?(e="0,0 ".concat(d/2,",").concat(h," ").concat(d,",0"),f.bottom=0,f.marginLeft=c,f.marginRight=c):n.startsWith("bottom")?(e="".concat(d,",").concat(h," ").concat(d/2,",0 0,").concat(h),f.top=0,f.marginLeft=c,f.marginRight=c):n.startsWith("left")?(h=p,e="0,0 ".concat(d=l,",").concat(h/2," 0,").concat(h),f.right=0,f.marginTop=c,f.marginBottom=c):n.startsWith("right")&&(h=p,e="".concat(d=l,",").concat(h," ").concat(d,",0 0,").concat(h/2),f.left=0,f.marginTop=c,f.marginBottom=c),r.a.createElement("div",{className:"__floater__arrow",style:this.parentStyle},r.a.createElement("span",{ref:o,style:f},r.a.createElement("svg",{width:d,height:h,version:"1.1",xmlns:"http://www.w3.org/2000/svg"},r.a.createElement("polygon",{points:e,fill:a}))))}},{key:"parentStyle",get:function(){var e=this.props,t=e.placement,n=e.styles.arrow.length,o={pointerEvents:"none",position:"absolute",width:"100%"};return t.startsWith("top")?(o.bottom=0,o.left=0,o.right=0,o.height=n):t.startsWith("bottom")?(o.left=0,o.right=0,o.top=0,o.height=n):t.startsWith("left")?(o.right=0,o.top=0,o.bottom=0):t.startsWith("right")&&(o.left=0,o.top=0),o}}]),t}(r.a.Component);O(W,"propTypes",{placement:a.a.string.isRequired,setArrowRef:a.a.func.isRequired,styles:a.a.object.isRequired});var H=function(e){var t=e.handleClick,n=e.styles,o=n.color,i=n.height,a=n.width,s=N(n,["color","height","width"]);return r.a.createElement("button",{"aria-label":"close",onClick:t,style:s,type:"button"},r.a.createElement("svg",{width:"".concat(a,"px"),height:"".concat(i,"px"),viewBox:"0 0 18 18",version:"1.1",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid"},r.a.createElement("g",null,r.a.createElement("path",{d:"M8.13911129,9.00268191 L0.171521827,17.0258467 C-0.0498027049,17.248715 -0.0498027049,17.6098394 0.171521827,17.8327545 C0.28204354,17.9443526 0.427188206,17.9998706 0.572051765,17.9998706 C0.71714958,17.9998706 0.862013139,17.9443526 0.972581703,17.8327545 L9.0000937,9.74924618 L17.0276057,17.8327545 C17.1384085,17.9443526 17.2832721,17.9998706 17.4281356,17.9998706 C17.5729992,17.9998706 17.718097,17.9443526 17.8286656,17.8327545 C18.0499901,17.6098862 18.0499901,17.2487618 17.8286656,17.0258467 L9.86135722,9.00268191 L17.8340066,0.973848225 C18.0553311,0.750979934 18.0553311,0.389855532 17.8340066,0.16694039 C17.6126821,-0.0556467968 17.254037,-0.0556467968 17.0329467,0.16694039 L9.00042166,8.25611765 L0.967006424,0.167268345 C0.745681892,-0.0553188426 0.387317931,-0.0553188426 0.165993399,0.167268345 C-0.0553311331,0.390136635 -0.0553311331,0.751261038 0.165993399,0.974176179 L8.13920499,9.00268191 L8.13911129,9.00268191 Z",fill:o}))))};H.propTypes={handleClick:a.a.func.isRequired,styles:a.a.object.isRequired};var U=function(e){var t=e.content,n=e.footer,o=e.handleClick,i=e.open,a=e.positionWrapper,s=e.showCloseButton,l=e.title,c=e.styles,u={content:r.a.isValidElement(t)?t:r.a.createElement("div",{className:"__floater__content",style:c.content},t)};return l&&(u.title=r.a.isValidElement(l)?l:r.a.createElement("div",{className:"__floater__title",style:c.title},l)),n&&(u.footer=r.a.isValidElement(n)?n:r.a.createElement("div",{className:"__floater__footer",style:c.footer},n)),!s&&!a||d.a.boolean(i)||(u.close=r.a.createElement(H,{styles:c.close,handleClick:o})),r.a.createElement("div",{className:"__floater__container",style:c.container},u.close,u.title,u.content,u.footer)};U.propTypes={content:a.a.node.isRequired,footer:a.a.node,handleClick:a.a.func.isRequired,open:a.a.bool,positionWrapper:a.a.bool.isRequired,showCloseButton:a.a.bool.isRequired,styles:a.a.object.isRequired,title:a.a.node};var q=function(e){function t(){return v(this,t),I(this,T(t).apply(this,arguments))}return x(t,e),E(t,[{key:"render",value:function(){var e=this.props,t=e.component,n=e.handleClick,o=e.hideArrow,i=e.setFloaterRef,a=e.status,s={},l=["__floater"];return t?r.a.isValidElement(t)?s.content=r.a.cloneElement(t,{closeFn:n}):s.content=t({closeFn:n}):s.content=r.a.createElement(U,this.props),a===R.OPEN&&l.push("__floater__open"),o||(s.arrow=r.a.createElement(W,this.props)),r.a.createElement("div",{ref:i,className:l.join(" "),style:this.style},r.a.createElement("div",{className:"__floater__body"},s.content,s.arrow))}},{key:"style",get:function(){var e=this.props,t=e.disableAnimation,n=e.component,o=e.placement,r=e.hideArrow,i=e.status,a=e.styles,s=a.arrow.length,l=a.floater,c=a.floaterCentered,u=a.floaterClosing,p=a.floaterOpening,f=a.floaterWithAnimation,d=a.floaterWithComponent,h={};return r||(o.startsWith("top")?h.padding="0 0 ".concat(s,"px"):o.startsWith("bottom")?h.padding="".concat(s,"px 0 0"):o.startsWith("left")?h.padding="0 ".concat(s,"px 0 0"):o.startsWith("right")&&(h.padding="0 0 0 ".concat(s,"px"))),-1!==[R.OPENING,R.OPEN].indexOf(i)&&(h=k({},h,{},p)),i===R.CLOSING&&(h=k({},h,{},u)),i!==R.OPEN||t||(h=k({},h,{},f)),"center"===o&&(h=k({},h,{},c)),n&&(h=k({},h,{},d)),k({},l,{},h)}}]),t}(r.a.Component);O(q,"propTypes",{component:a.a.oneOfType([a.a.func,a.a.element]),content:a.a.node,disableAnimation:a.a.bool.isRequired,footer:a.a.node,handleClick:a.a.func.isRequired,hideArrow:a.a.bool.isRequired,open:a.a.bool,placement:a.a.string.isRequired,positionWrapper:a.a.bool.isRequired,setArrowRef:a.a.func.isRequired,setFloaterRef:a.a.func.isRequired,showCloseButton:a.a.bool,status:a.a.string.isRequired,styles:a.a.object.isRequired,title:a.a.node});var G=function(e){function t(){return v(this,t),I(this,T(t).apply(this,arguments))}return x(t,e),E(t,[{key:"render",value:function(){var e,t=this.props,n=t.children,o=t.handleClick,i=t.handleMouseEnter,a=t.handleMouseLeave,s=t.setChildRef,l=t.setWrapperRef,c=t.style,u=t.styles;if(n)if(1===r.a.Children.count(n))if(r.a.isValidElement(n)){var p=d.a.function(n.type)?"innerRef":"ref";e=r.a.cloneElement(r.a.Children.only(n),O({},p,s))}else e=r.a.createElement("span",null,n);else e=n;return e?r.a.createElement("span",{ref:l,style:k({},u,{},c),onClick:o,onMouseEnter:i,onMouseLeave:a},e):null}}]),t}(r.a.Component);O(G,"propTypes",{children:a.a.node,handleClick:a.a.func.isRequired,handleMouseEnter:a.a.func.isRequired,handleMouseLeave:a.a.func.isRequired,setChildRef:a.a.func.isRequired,setWrapperRef:a.a.func.isRequired,style:a.a.object,styles:a.a.object.isRequired});var V={zIndex:100};var Y=["position","top","right","bottom","left"],$=function(t){function n(e){var t;return v(this,n),O(P(t=I(this,T(n).call(this,e))),"setArrowRef",(function(e){t.arrowRef=e})),O(P(t),"setChildRef",(function(e){t.childRef=e})),O(P(t),"setFloaterRef",(function(e){t.floaterRef||(t.floaterRef=e)})),O(P(t),"setWrapperRef",(function(e){t.wrapperRef=e})),O(P(t),"handleTransitionEnd",(function(){var e=t.state.status,n=t.props.callback;t.wrapperPopper&&t.wrapperPopper.instance.update(),t.setState({status:e===R.OPENING?R.OPEN:R.IDLE},(function(){var e=t.state.status;n(e===R.OPEN?"open":"close",t.props)}))})),O(P(t),"handleClick",(function(){var e=t.props,n=e.event,o=e.open;if(!d.a.boolean(o)){var r=t.state,i=r.positionWrapper,a=r.status;("click"===t.event||"hover"===t.event&&i)&&(L({title:"click",data:[{event:n,status:a===R.OPEN?"closing":"opening"}],debug:t.debug}),t.toggle())}})),O(P(t),"handleMouseEnter",(function(){var e=t.props,n=e.event,o=e.open;if(!d.a.boolean(o)&&!A()){var r=t.state.status;"hover"===t.event&&r===R.IDLE&&(L({title:"mouseEnter",data:[{key:"originalEvent",value:n}],debug:t.debug}),clearTimeout(t.eventDelayTimeout),t.toggle())}})),O(P(t),"handleMouseLeave",(function(){var e=t.props,n=e.event,o=e.eventDelay,r=e.open;if(!d.a.boolean(r)&&!A()){var i=t.state,a=i.status,s=i.positionWrapper;"hover"===t.event&&(L({title:"mouseLeave",data:[{key:"originalEvent",value:n}],debug:t.debug}),o?-1===[R.OPENING,R.OPEN].indexOf(a)||s||t.eventDelayTimeout||(t.eventDelayTimeout=setTimeout((function(){delete t.eventDelayTimeout,t.toggle()}),1e3*o)):t.toggle(R.IDLE))}})),t.state={currentPlacement:e.placement,positionWrapper:e.wrapperOptions.position&&!!e.target,status:R.INIT,statusWrapper:R.INIT},t._isMounted=!1,M&&window.addEventListener("load",(function(){t.popper&&t.popper.instance.update(),t.wrapperPopper&&t.wrapperPopper.instance.update()})),t}return x(n,t),E(n,[{key:"componentDidMount",value:function(){if(M){var e=this.state.positionWrapper,t=this.props,n=t.children,o=t.open,r=t.target;this._isMounted=!0,L({title:"init",data:{hasChildren:!!n,hasTarget:!!r,isControlled:d.a.boolean(o),positionWrapper:e,target:this.target,floater:this.floaterRef},debug:this.debug}),this.initPopper(),!n&&r&&d.a.boolean(o)}}},{key:"componentDidUpdate",value:function(e,t){if(M){var n,o=this.props,r=o.autoOpen,i=o.open,a=o.target,s=o.wrapperOptions,l=m()(t,this.state),c=l.changedFrom,u=l.changedTo;if(e.open!==i)d.a.boolean(i)&&(n=i?R.OPENING:R.CLOSING),this.toggle(n);e.wrapperOptions.position===s.position&&e.target===a||this.changeWrapperPosition(this.props),u("status",R.IDLE)&&i?this.toggle(R.OPEN):c("status",R.INIT,R.IDLE)&&r&&this.toggle(R.OPEN),this.popper&&u("status",R.OPENING)&&this.popper.instance.update(),this.floaterRef&&(u("status",R.OPENING)||u("status",R.CLOSING))&&function(e,t,n){var o,r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];D(e,t,o=function(r){n(r),B(e,t,o)},r)}(this.floaterRef,"transitionend",this.handleTransitionEnd)}}},{key:"componentWillUnmount",value:function(){M&&(this._isMounted=!1,this.popper&&this.popper.instance.destroy(),this.wrapperPopper&&this.wrapperPopper.instance.destroy())}},{key:"initPopper",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.target,n=this.state.positionWrapper,o=this.props,r=o.disableFlip,i=o.getPopper,a=o.hideArrow,s=o.offset,l=o.placement,u=o.wrapperOptions,p="top"===l||"bottom"===l?"flip":["right","bottom-end","top-end","left","top-start","bottom-start"];if("center"===l)this.setState({status:R.IDLE});else if(t&&this.floaterRef){var f=this.options,h=f.arrow,m=f.flip,y=f.offset,g=N(f,["arrow","flip","offset"]);new c.a(t,this.floaterRef,{placement:l,modifiers:k({arrow:k({enabled:!a,element:this.arrowRef},h),flip:k({enabled:!r,behavior:p},m),offset:k({offset:"0, ".concat(s,"px")},y)},g),onCreate:function(t){e.popper=t,i(t,"floater"),e._isMounted&&e.setState({currentPlacement:t.placement,status:R.IDLE}),l!==t.placement&&setTimeout((function(){t.instance.update()}),1)},onUpdate:function(t){e.popper=t;var n=e.state.currentPlacement;e._isMounted&&t.placement!==n&&e.setState({currentPlacement:t.placement})}})}if(n){var b=d.a.undefined(u.offset)?0:u.offset;new c.a(this.target,this.wrapperRef,{placement:u.placement||l,modifiers:{arrow:{enabled:!1},offset:{offset:"0, ".concat(b,"px")},flip:{enabled:!1}},onCreate:function(t){e.wrapperPopper=t,e._isMounted&&e.setState({statusWrapper:R.IDLE}),i(t,"wrapper"),l!==t.placement&&setTimeout((function(){t.instance.update()}),1)}})}}},{key:"changeWrapperPosition",value:function(e){var t=e.target,n=e.wrapperOptions;this.setState({positionWrapper:n.position&&!!t})}},{key:"toggle",value:function(e){var t=this.state.status===R.OPEN?R.CLOSING:R.OPENING;d.a.undefined(e)||(t=e),this.setState({status:t})}},{key:"render",value:function(){var e=this.state,t=e.currentPlacement,n=e.positionWrapper,o=e.status,i=this.props,a=i.children,s=i.component,l=i.content,c=i.disableAnimation,u=i.footer,p=i.hideArrow,f=i.id,d=i.open,h=i.showCloseButton,m=i.style,y=i.target,g=i.title,b=r.a.createElement(G,{handleClick:this.handleClick,handleMouseEnter:this.handleMouseEnter,handleMouseLeave:this.handleMouseLeave,setChildRef:this.setChildRef,setWrapperRef:this.setWrapperRef,style:m,styles:this.styles.wrapper},a),v={};return n?v.wrapperInPortal=b:v.wrapperAsChildren=b,r.a.createElement("span",null,r.a.createElement(z,{hasChildren:!!a,id:f,placement:t,setRef:this.setFloaterRef,target:y,zIndex:this.styles.options.zIndex},r.a.createElement(q,{component:s,content:l,disableAnimation:c,footer:u,handleClick:this.handleClick,hideArrow:p||"center"===t,open:d,placement:t,positionWrapper:n,setArrowRef:this.setArrowRef,setFloaterRef:this.setFloaterRef,showCloseButton:h,status:o,styles:this.styles,title:g}),v.wrapperInPortal),v.wrapperAsChildren)}},{key:"debug",get:function(){return this.props.debug||!!e.ReactFloaterDebug}},{key:"event",get:function(){var e=this.props,t=e.disableHoverToClick,n=e.event;return"hover"===n&&A()&&!t?"click":n}},{key:"options",get:function(){var e=this.props.options;return p()(j,e||{})}},{key:"styles",get:function(){var e,t=this,n=this.state,o=n.status,r=n.positionWrapper,i=n.statusWrapper,a=this.props.styles,s=p()(function(e){var t=p()(V,e.options||{});return{wrapper:{cursor:"help",display:"inline-flex",flexDirection:"column",zIndex:t.zIndex},wrapperPosition:{left:-1e3,position:"absolute",top:-1e3,visibility:"hidden"},floater:{display:"inline-block",filter:"drop-shadow(0 0 3px rgba(0, 0, 0, 0.3))",maxWidth:300,opacity:0,position:"relative",transition:"opacity 0.3s",visibility:"hidden",zIndex:t.zIndex},floaterOpening:{opacity:1,visibility:"visible"},floaterWithAnimation:{opacity:1,transition:"opacity 0.3s, transform 0.2s",visibility:"visible"},floaterWithComponent:{maxWidth:"100%"},floaterClosing:{opacity:0,visibility:"visible"},floaterCentered:{left:"50%",position:"fixed",top:"50%",transform:"translate(-50%, -50%)"},container:{backgroundColor:"#fff",color:"#666",minHeight:60,minWidth:200,padding:20,position:"relative",zIndex:10},title:{borderBottom:"1px solid #555",color:"#555",fontSize:18,marginBottom:5,paddingBottom:6,paddingRight:18},content:{fontSize:15},close:{backgroundColor:"transparent",border:0,borderRadius:0,color:"#555",fontSize:0,height:15,outline:"none",padding:10,position:"absolute",right:0,top:0,width:15,WebkitAppearance:"none"},footer:{borderTop:"1px solid #ccc",fontSize:13,marginTop:10,paddingTop:5},arrow:{color:"#fff",display:"inline-flex",length:16,margin:8,position:"absolute",spread:32},options:t}}(a),a);r&&(e=-1===[R.IDLE].indexOf(o)||-1===[R.IDLE].indexOf(i)?s.wrapperPosition:this.wrapperPopper.styles,s.wrapper=k({},s.wrapper,{},e));if(this.target){var l=window.getComputedStyle(this.target);this.wrapperStyles?s.wrapper=k({},s.wrapper,{},this.wrapperStyles):-1===["relative","static"].indexOf(l.position)&&(this.wrapperStyles={},r||(Y.forEach((function(e){t.wrapperStyles[e]=l[e]})),s.wrapper=k({},s.wrapper,{},this.wrapperStyles),this.target.style.position="relative",this.target.style.top="auto",this.target.style.right="auto",this.target.style.bottom="auto",this.target.style.left="auto"))}return s}},{key:"target",get:function(){if(!M)return null;var e=this.props.target;return e?d.a.domElement(e)?e:document.querySelector(e):this.childRef||this.wrapperRef}}]),n}(r.a.Component);O($,"propTypes",{autoOpen:a.a.bool,callback:a.a.func,children:a.a.node,component:l()(a.a.oneOfType([a.a.func,a.a.element]),(function(e){return!e.content})),content:l()(a.a.node,(function(e){return!e.component})),debug:a.a.bool,disableAnimation:a.a.bool,disableFlip:a.a.bool,disableHoverToClick:a.a.bool,event:a.a.oneOf(["hover","click"]),eventDelay:a.a.number,footer:a.a.node,getPopper:a.a.func,hideArrow:a.a.bool,id:a.a.oneOfType([a.a.string,a.a.number]),offset:a.a.number,open:a.a.bool,options:a.a.object,placement:a.a.oneOf(["top","top-start","top-end","bottom","bottom-start","bottom-end","left","left-start","left-end","right","right-start","right-end","auto","center"]),showCloseButton:a.a.bool,style:a.a.object,styles:a.a.object,target:a.a.oneOfType([a.a.object,a.a.string]),title:a.a.node,wrapperOptions:a.a.shape({offset:a.a.number,placement:a.a.oneOf(["top","top-start","top-end","bottom","bottom-start","bottom-end","left","left-start","left-end","right","right-start","right-end","auto"]),position:a.a.bool})}),O($,"defaultProps",{autoOpen:!1,callback:F,debug:!1,disableAnimation:!1,disableFlip:!1,disableHoverToClick:!1,event:"click",eventDelay:.4,getPopper:F,hideArrow:!1,offset:15,placement:"bottom",showCloseButton:!1,styles:{},target:null,wrapperOptions:{position:!1}}),t.a=$}).call(this,n(11))},function(e,t,n){var o;
32
/*!
33
Copyright (c) 2017 Jed Watson.
34
Licensed under the MIT License (MIT), see
35
http://jedwatson.github.io/classnames
36
- */!function(){"use strict";var n={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var o=arguments[t];if(o){var i=typeof o;if("string"===i||"number"===i)e.push(o);else if(Array.isArray(o)&&o.length){var a=r.apply(null,o);a&&e.push(a)}else if("object"===i)for(var s in o)n.call(o,s)&&o[s]&&e.push(s)}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(o=function(){return r}.apply(t,[]))||(e.exports=o)}()},function(e,t,n){e.exports=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}return 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=6)}([function(e,t){e.exports=n(1)},function(e,t,n){e.exports=n(2)()},function(e,t,n){"use strict";var o=n(3);function r(){}e.exports=function(){function e(e,t,n,r,i,a){if(a!==o){var s=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 s.name="Invariant Violation",s}}function t(){return e}var n={array:e.isRequired=e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=r,n.PropTypes=n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){},,function(e,t,n){"use strict";n.r(t);var o=n(0),r=n.n(o),i="notification-item",a="bottom-left",s="bottom-right",l="bottom-center",c="top-left",u="top-right",p="top-center",f="top",d="bottom",h="success",m="danger",y="info",g="default",b="warning",v="SLIDING_ANIMATION_EXIT",w="TOUCH_SLIDING_ANIMATION_EXIT",E="REMOVAL",O={TIMEOUT:1,CLICK:2,TOUCH:3,MANUAL:4},S="className property of dismissIcon option is required",k="content property of dismissIcon option is required",x="className property of dismissIcon option must be a String",T="content property of dismissIcon option must be a valid React element",C="animationIn option must be an array",N="animationOut option must be an array",P="duration property of dismiss option is required",I="duration property of dismiss option must be a Number",j="duration property of dismiss option must be a positive Number",R="title option must be a String.",M="message option is required",_="message option must be a String",A="type option is required",L="type option must be a String",D="type option not found",B="container option is required",F="container option must be a String",z="click property of dismissable option must be a Boolean",W="touch property of dismissable option must be a Boolean",H="width option must be a Number",U="insert option must be a String",q="duration property of transition option must be a Number",G="cubicBezier property of transition option must be a String",V="delay property of transition option must be a Number",Y="custom type not found";function $(e){return e?"".concat(e,"px"):void 0}function K(e){return null==e}function X(e){return"string"==typeof e}function J(e){return"number"==typeof e}function Z(e){return"boolean"==typeof e}function Q(e){return!K(e)&&e.constructor===Array}function ee(e,t){var n=t.duration,o=t.cubicBezier,r=t.delay,i=e||{};if(K(i.duration)&&(i.duration=n),K(i.cubicBezier)&&(i.cubicBezier=o),K(i.delay)&&(i.delay=r),!J(i.duration))throw new Error(q);if(!X(i.cubicBezier))throw new Error(G);if(!J(i.delay))throw new Error(V);return i}function te(e){return e===a||e===s||e===l}function ne(e){return e===c||e===u||e===p}function oe(e){var t=e.type,n=e.userDefinedTypes;if(e.content)return[i];if(!n)return function(e){switch(e.toLowerCase()){case g:return[i,"notification-default"];case h:return[i,"notification-success"];case m:return[i,"notification-danger"];case b:return[i,"notification-warning"];case y:return[i,"notification-info"];default:return[i]}}(t);var o=n.find((function(e){return e.name===t}));if(!o)throw new Error(Y);return[i].concat(o.htmlClasses)}function re(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:500,t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"linear",n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:0,o=3<arguments.length&&void 0!==arguments[3]?arguments[3]:"height";return"".concat(e,"ms ").concat(o," ").concat(t," ").concat(n,"ms")}function ie(e){return re(e.slidingExit.duration,e.slidingExit.cubicBezier,e.slidingExit.delay,"all")}function ae(e,t,n){var o,r,i=2*window.innerWidth,a=re((o=e.touchSlidingExit.swipe).duration,o.cubicBezier,o.delay,"left"),s=re((r=e.touchSlidingExit.fade).duration,r.cubicBezier,r.delay,"opacity");return{opacity:0,position:"relative",transition:"".concat(a,", ").concat(s),left:"".concat(0<=n-t?i:-i,"px")}}function se(e,t){return{height:"".concat(t,"px"),width:$(e.width),transition:re(e.slidingExit.duration,e.slidingExit.cubicBezier,e.slidingExit.delay)}}function le(e){return(le="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ce(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function ue(e){return(ue=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function pe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fe(e,t){return(fe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var de=function(e){function t(e){var n,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),this,(n=!(o=ue(t).call(this,e))||"object"!==le(o)&&"function"!=typeof o?pe(this):o).endOfSmartSliding=!1,n.onTransitionEnd=n.onTransitionEnd.bind(pe(n)),n.onNotificationClick=n.onNotificationClick.bind(pe(n)),n.setDismissTimeout=n.setDismissTimeout.bind(pe(n)),n.onSmartSlidingEnd=n.onSmartSlidingEnd.bind(pe(n)),n.onTouchSmartSlidingEnd=n.onTouchSmartSlidingEnd.bind(pe(n)),n.onTouchStart=n.onTouchStart.bind(pe(n)),n.onTouchMove=n.onTouchMove.bind(pe(n)),n.onTouchEnd=n.onTouchEnd.bind(pe(n)),n.rootDOM=r.a.createRef(),n.state=function(e){var t,n=e.notification,o=e.isFirstNotification,r=((t=n).insert===f&&ne(t.container)||t.insert===d&&te(t.container))&&!o,i={};return i.animatedElementClasses=oe(n),i.rootElementStyle={height:"0",marginBottom:0,overflow:"hidden",width:$(n.width)},r?i.animatedElementClasses.push("notification-invisible"):n.animationIn&&0<n.animationIn.length&&n.animationIn.forEach((function(e){return i.animatedElementClasses.push(e)})),i.hasSliding=r,i}(e),n}var n,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fe(e,t)}(t,r.a.Component),n=t,(o=[{key:"componentDidMount",value:function(){this.smartSliding(),this.setRemovalTimeout(this.props.notification.dismiss)}},{key:"componentWillUnmount",value:function(){this.timeoutId&&(this.timeoutId=clearTimeout(this.timeoutId))}},{key:"setDismissTimeout",value:function(e){var t=this;this.timeoutId=setTimeout((function(){var e=t.props,n=e.notification,o=e.toggleTimeoutRemoval;n.stage!==E&&n.stage!==w&&t.setState({rootElementStyle:se(n,t.rootDOM.current.scrollHeight)},(function(){return requestAnimationFrame((function(){return o(n)}))}))}),e)}},{key:"setRemovalTimeout",value:function(e){e&&0<e.duration&&this.setDismissTimeout(e.duration)}},{key:"onTransitionEnd",value:function(){var e=this.props.notification,t=e.animationIn,n=oe(e);n.push("notification-visible"),n=n.concat(t||[]),this.setState({animatedElementClasses:n,rootElementStyle:{height:"auto",width:$(e.width)}})}},{key:"onTouchSmartSlidingEnd",value:function(e){e.stopPropagation(),e.target.isSameNode(this.rootDOM.current)&&(this.endOfSmartSliding&&this.props.toggleRemoval(this.props.notification),this.endOfSmartSliding=!0)}},{key:"onSmartSlidingEnd",value:function(){var e=this.props.notification;e.animationOut&&e.animationOut.length&&!this.endOfSmartSliding||this.props.toggleRemoval(e),this.endOfSmartSliding=!0}},{key:"smartSliding",value:function(){var e=this.props.notification,t=e.slidingEnter,n=oe(e),o={transition:e.resized?void 0:re(t.duration,t.cubicBezier,t.delay),width:$(e.width),height:"".concat(this.rootDOM.current.scrollHeight,"px")};!e.resized&&e.animationIn&&0<e.animationIn.length&&e.animationIn.forEach((function(e){return n.push(e)})),this.setState({rootElementStyle:o,animatedElementClasses:n})}},{key:"onNotificationClick",value:function(){var e=this,t=this.props.notification,n=se(t,this.rootDOM.current.scrollHeight);this.setState({rootElementStyle:n},(function(){return requestAnimationFrame((function(){e.props.onClickHandler(t)}))}))}},{key:"onTouchStart",value:function(e){this.setState({startX:e.touches[0].pageX,currentX:e.touches[0].pageX})}},{key:"onTouchMove",value:function(e){var t,n,o=this.props,r=o.notification,i=o.toggleTouchEnd,a=e.touches[0].pageX-this.state.startX;t=a,n=Math.abs(t),.4*window.innerWidth<=n?this.setState({animatedElementClasses:oe(r),rootElementStyle:se(r,this.rootDOM.current.scrollHeight)},(function(){requestAnimationFrame((function(){return i(r)}))})):this.setState({currentX:e.touches[0].pageX,childElementStyle:{position:"relative",left:"".concat(0+a,"px")}})}},{key:"onTouchEnd",value:function(){var e=this.props.notification.touchSlidingBack;this.setState({childElementStyle:{left:"0",position:"relative",transition:re(e.duration,e.cubicBezier,e.delay,"left")}})}},{key:"render",value:function(){var e=this.props.notification,t=this.state.childElementStyle,n=this.onAnimationEnd,o=null,i=!1,a=this.state.hasSliding?this.onTransitionEnd:null,s=function(e,t){var n,o,r,i,a,s,l,c,u,p=t.animatedElementClasses,f=t.rootElementStyle,d=t.currentX,h=t.startX;return"TOUCH_SLIDING_ANIMATION_EXIT"===e.stage?(i=d,a=h,s=oe(r=e),{childElementStyle:ae(r,a,i),animatedElementClasses:s,rootElementStyle:{height:0,marginBottom:0,transition:ie(r),width:$(r.width)}}):"SLIDING_ANIMATION_EXIT"===e.stage?(c=(l=e).animationOut,u=oe(l),c&&c.forEach((function(e){return u.push(e)})),{rootElementStyle:{height:0,marginBottom:0,transition:ie(l),width:$(l.width)},animatedElementClasses:u}):(n=e.resized?(o=f,oe(e)):(o=f,p),{rootElementStyle:o,animatedElementClasses:n})}(e,this.state),l=(s.animatedElementClasses||[]).join(" "),c=s.rootElementStyle;if(e.dismissable.click&&(o=this.onNotificationClick),e.stage===E?(n=null,c=se(e,this.rootDOM.current.scrollHeight)):e.stage===v?(n=this.onSmartSlidingEnd,a=this.onSmartSlidingEnd):e.stage===w&&(n=this.onTouchSmartSlidingEnd,a=this.onTouchSmartSlidingEnd,o=null,t=s.childElementStyle,i=!0),e.content)return r.a.createElement("div",{onTouchStart:i?null:this.onTouchStart,onTouchMove:i?null:this.onTouchMove,onTouchEnd:i?null:this.onTouchEnd,onTouchCancel:i?null:this.onTouchEnd,onClick:o,className:"notification-item-root",onAnimationEnd:n,onTransitionEnd:a,ref:this.rootDOM,style:c},r.a.createElement("div",{className:"".concat(l," notification-item-child"),style:t},e.content));var u,p,f,d=r.a.createElement("div",{className:"notification-close",onClick:this.onNotificationClick},r.a.createElement("span",null,"×")),h=e.dismissIcon?(u=e,p=this.onNotificationClick,u.dismissIcon?r.a.createElement("div",{className:u.dismissIcon.className,onClick:p},u.dismissIcon.content):r.a.createElement("div",{className:"notification-close",onClick:p},r.a.createElement("span",null,"×"))):d;return e.title&&(f=r.a.createElement("h4",{className:"notification-title"},e.title)),r.a.createElement("div",{onTouchStart:i?null:this.onTouchStart,onTouchMove:i?null:this.onTouchMove,onTouchEnd:i?null:this.onTouchEnd,onTouchCancel:i?null:this.onTouchEnd,onClick:o,className:"notification-item-root",onAnimationEnd:n,onTransitionEnd:a,ref:this.rootDOM,style:c},r.a.createElement("div",{className:"".concat(l," notification-item-child"),style:t},r.a.createElement("div",{className:"notification-content"},h,f,r.a.createElement("p",{className:"notification-message"},this.props.notification.message))))}}])&&ce(n.prototype,o),t}(),he=n(1),me=n.n(he);function ye(e){return(ye="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ge(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function be(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function ve(e){return(ve=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function we(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ee(e,t){return(Ee=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}n(4);var Oe=function(e){function t(e){var n,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),this,(n=!(o=ve(t).call(this,e))||"object"!==ye(o)&&"function"!=typeof o?we(this):o).state={isMobile:e.isMobile,breakpoint:e.breakpoint,notifications:[]},Q(e.types)&&(n.state.userDefinedTypes=e.types),n.addNotification=n.addNotification.bind(we(n)),n.onNotificationClick=n.onNotificationClick.bind(we(n)),n.toggleRemoval=n.toggleRemoval.bind(we(n)),n.toggleTimeoutRemoval=n.toggleTimeoutRemoval.bind(we(n)),n.handleResize=n.handleResize.bind(we(n)),n.renderReactNotifications=n.renderReactNotifications.bind(we(n)),n.toggleTouchEnd=n.toggleTouchEnd.bind(we(n)),n}var n,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ee(e,t)}(t,r.a.Component),n=t,(o=[{key:"componentDidMount",value:function(){var e=this;this.setState({width:window.innerWidth},(function(){window.addEventListener("resize",e.handleResize)}))}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"handleResize",value:function(){this.setState({width:window.innerWidth,notifications:this.state.notifications.map((function(e){return e.resized=!0,e}))})}},{key:"toggleTimeoutRemoval",value:function(e){var t=O.TIMEOUT;this.setState({notifications:this.state.notifications.map((function(n){return n.id===e.id&&(n.stage="SLIDING_ANIMATION_EXIT",n.removedBy=t),n}))})}},{key:"addNotification",value:function(e){var t=function(e,t){var n=e,o=n.insert,i=n.container,a=n.dismissIcon,s=n.animationIn,l=n.animationOut,c=n.slidingEnter,u=n.slidingExit,p=n.touchSlidingBack,f=n.touchSlidingExit,d=n.dismissable,v=n.dismiss,w=n.width,E=n.id;return n.id=E||Math.random().toString(36).substr(2,9),function(e){var t=e.content,n=e.title;if(!t&&!K(n)&&!X(n))throw new Error(R)}(n),function(e){var t=e.content,n=e.message;if(!t){if(!n)throw new Error(M);if(!X(n))throw new Error(_)}}(n),n.type=function(e,t){var n=e.content,o=e.type;if(!n){if(!o)throw new Error(A);if(!X(o))throw new Error(L);if(!t&&o!==h&&o!==m&&o!==y&&o!==g&&o!==b)throw new Error(D);return o.toLowerCase()}}(n,t),t&&!n.content&&(n.userDefinedTypes=function(e,t){var n=e.type;if(!e.content&&n!==h&&n!==m&&n!==y&&n!==g&&n!==b&&t){if(!t.find((function(e){return e.name===n})))throw new Error(Y);return t}}(n,t)),n.container=function(e){if(!e)throw new Error(B);if(!X(e))throw new Error(F);return e.toLowerCase()}(i),n.insert=function(e){if(!e)return"top";if(!X(e))throw new Error(U);return e.toLowerCase()}(o),n.dismissable=function(e){var t=e;if(!t)return{click:!0,touch:!0};if(K(t.click)&&(t.click=!0),K(t.touch)&&(t.touch=!0),!Z(t.click))throw new Error(z);if(!Z(t.touch))throw new Error(W);return t}(d),function(e){if(!K(e)){var t=e.className,n=e.content;if(!t)throw new Error(S);if(!X(t))throw new Error(x);if(!n)throw new Error(k);if(!r.a.isValidElement(n))throw new Error(T)}}(a),n.animationIn=function(e){if(K(e))return[];if(!Q(e))throw new Error(C);return e}(s),n.animationOut=function(e){if(K(e))return[];if(!Q(e))throw new Error(N);return e}(l),K(w)||(n.width=function(e){if(K(e))return 0;if(!J(e))throw new Error(H);return e}(w)),n.slidingEnter=ee(c,{duration:600,cubicBezier:"linear",delay:0}),n.slidingExit=ee(u,{duration:600,cubicBezier:"linear",delay:0}),n.touchSlidingBack=ee(p,{duration:600,cubicBezier:"ease-in",delay:0}),n.touchSlidingExit=f||{},n.touchSlidingExit.swipe=ee(n.touchSlidingExit.swipe||{},{duration:600,cubicBezier:"ease-in",delay:0}),n.touchSlidingExit.fade=ee(n.touchSlidingExit.fade||{},{duration:300,cubicBezier:"ease-in",delay:0}),function(e){if(e){if(K(e.duration))throw new Error(P);if(!J(e.duration))throw new Error(I);if(e.duration<0)throw new Error(j)}}(v),n}(e,this.state.userDefinedTypes);return this.setState((function(e){return{notifications:t.insert===f?[t].concat(ge(e.notifications)):[].concat(ge(e.notifications),[t])}})),t.id}},{key:"removeNotification",value:function(e){var t=this;this.setState({notifications:this.state.notifications.map((function(t){return t.id===e&&(t.stage=E,t.removedBy=O.API),t}))},(function(){requestAnimationFrame((function(){t.setState({notifications:t.state.notifications.map((function(t){return t.id===e&&(t.stage=v,t.removedBy=O.API),t}))})}))}))}},{key:"onNotificationClick",value:function(e){var t=this,n=e.dismissable,o=e.dismissIcon;(n&&n.click||o)&&requestAnimationFrame((function(){t.setState({notifications:t.state.notifications.map((function(t){return t.id===e.id&&(t.stage=v,t.removedBy=O.CLICK),t}))})}))}},{key:"toggleTouchEnd",value:function(e){this.setState({notifications:this.state.notifications.map((function(t){return t.id===e.id&&(t.stage="TOUCH_SLIDING_ANIMATION_EXIT",t.removedBy=O.TOUCH),t}))})}},{key:"toggleRemoval",value:function(e){var t=this;this.setState({notifications:this.state.notifications.filter((function(t){return t.id!==e.id}))},(function(){t.props.onNotificationRemoval&&t.props.onNotificationRemoval(e.id,e.removedBy)}))}},{key:"renderReactNotifications",value:function(e){var t=this;return e.map((function(n){return r.a.createElement(de,{key:n.id,notification:n,isFirstNotification:1===e.length,onClickHandler:t.onNotificationClick,toggleRemoval:t.toggleRemoval,toggleTimeoutRemoval:t.toggleTimeoutRemoval,toggleTouchEnd:t.toggleTouchEnd})}))}},{key:"render",value:function(){var e,t,n,o=this.state;if(this.props.isMobile&&o.width<=o.breakpoint){var i=(e=o.notifications,t=[],n=[],e.forEach((function(e){var o=e.container.toLowerCase();if(ne(o))n.push(e);else{if(!te(o))throw new Error("Container ".concat(e.container," is not valid"));t.push(e)}})),{top:n,bottom:t}),f=this.renderReactNotifications(i.top),d=this.renderReactNotifications(i.bottom);return r.a.createElement("div",{className:"react-notification-root"},r.a.createElement("div",{className:"notification-container-mobile-top"},f),r.a.createElement("div",{className:"notification-container-mobile-bottom"},d))}var h,m,y,g,b,v,w,E=(h=o.notifications,m=[],y=[],g=[],b=[],v=[],w=[],h.forEach((function(e){var t=e.container.toLowerCase();if(t===c)m.push(e);else if(t===u)y.push(e);else if(t===p)g.push(e);else if(t===a)b.push(e);else if(t===s)v.push(e);else{if(t!==l)throw new Error("Container ".concat(e.container," is not valid"));w.push(e)}})),{topLeft:m,topRight:y,topCenter:g,bottomLeft:b,bottomRight:v,bottomCenter:w}),O=this.renderReactNotifications(E.topLeft),S=this.renderReactNotifications(E.topRight),k=this.renderReactNotifications(E.topCenter),x=this.renderReactNotifications(E.bottomLeft),T=this.renderReactNotifications(E.bottomRight),C=this.renderReactNotifications(E.bottomCenter);return r.a.createElement("div",{className:"react-notification-root"},r.a.createElement("div",{className:"notification-container-top-left"},O),r.a.createElement("div",{className:"notification-container-top-right"},S),r.a.createElement("div",{className:"notification-container-bottom-left"},x),r.a.createElement("div",{className:"notification-container-bottom-right"},T),r.a.createElement("div",{className:"notification-container-top-center"},k),r.a.createElement("div",{className:"notification-container-bottom-center"},C))}}])&&be(n.prototype,o),t}();Oe.propTypes={isMobile:me.a.bool,breakpoint:me.a.number,types:me.a.array,onNotificationRemoval:me.a.func},Oe.defaultProps={isMobile:!0,breakpoint:768},t.default=Oe}])},function(e,t,n){},function(e,t,n){"use strict";var o=n(18);function r(){}function i(){}i.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,i,a){if(a!==o){var s=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 s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:r};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){var o,r;r=function(e){var t=["N","E","A","D"];function n(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}function o(e,t){Object.defineProperty(this,"kind",{value:e,enumerable:!0}),t&&t.length&&Object.defineProperty(this,"path",{value:t,enumerable:!0})}function r(e,t,n){r.super_.call(this,"E",e),Object.defineProperty(this,"lhs",{value:t,enumerable:!0}),Object.defineProperty(this,"rhs",{value:n,enumerable:!0})}function i(e,t){i.super_.call(this,"N",e),Object.defineProperty(this,"rhs",{value:t,enumerable:!0})}function a(e,t){a.super_.call(this,"D",e),Object.defineProperty(this,"lhs",{value:t,enumerable:!0})}function s(e,t,n){s.super_.call(this,"A",e),Object.defineProperty(this,"index",{value:t,enumerable:!0}),Object.defineProperty(this,"item",{value:n,enumerable:!0})}function l(e,t,n){var o=e.slice((n||t)+1||e.length);return e.length=t<0?e.length+t:t,e.push.apply(e,o),e}function c(e){var t=typeof e;return"object"!==t?t:e===Math?"math":null===e?"null":Array.isArray(e)?"array":"[object Date]"===Object.prototype.toString.call(e)?"date":"function"==typeof e.toString&&/^\/.*\//.test(e.toString())?"regexp":"object"}function u(e){var t=0;if(0===e.length)return t;for(var n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n),t&=t;return t}function p(e){var t=0,n=c(e);if("array"===n)return e.forEach((function(e){t+=p(e)})),t+u("[type: array, hash: "+t+"]");if("object"===n){for(var o in e)if(e.hasOwnProperty(o)){var r="[ type: object, key: "+o+", value hash: "+p(e[o])+"]";t+=u(r)}return t}return t+u("[ type: "+n+" ; value: "+e+"]")}function f(e,t,n,o,l,u,d,h){n=n||[],d=d||[];var m=(l=l||[]).slice(0);if(null!=u){if(o){if("function"==typeof o&&o(m,u))return;if("object"==typeof o){if(o.prefilter&&o.prefilter(m,u))return;if(o.normalize){var y=o.normalize(m,u,e,t);y&&(e=y[0],t=y[1])}}}m.push(u)}"regexp"===c(e)&&"regexp"===c(t)&&(e=e.toString(),t=t.toString());var g,b,v,w,E=typeof e,O=typeof t,S="undefined"!==E||d&&d.length>0&&d[d.length-1].lhs&&Object.getOwnPropertyDescriptor(d[d.length-1].lhs,u),k="undefined"!==O||d&&d.length>0&&d[d.length-1].rhs&&Object.getOwnPropertyDescriptor(d[d.length-1].rhs,u);if(!S&&k)n.push(new i(m,t));else if(!k&&S)n.push(new a(m,e));else if(c(e)!==c(t))n.push(new r(m,e,t));else if("date"===c(e)&&e-t!=0)n.push(new r(m,e,t));else if("object"===E&&null!==e&&null!==t){for(g=d.length-1;g>-1;--g)if(d[g].lhs===e){w=!0;break}if(w)e!==t&&n.push(new r(m,e,t));else{if(d.push({lhs:e,rhs:t}),Array.isArray(e)){for(h&&(e.sort((function(e,t){return p(e)-p(t)})),t.sort((function(e,t){return p(e)-p(t)}))),g=t.length-1,b=e.length-1;g>b;)n.push(new s(m,g,new i(void 0,t[g--])));for(;b>g;)n.push(new s(m,b,new a(void 0,e[b--])));for(;g>=0;--g)f(e[g],t[g],n,o,m,g,d,h)}else{var x=Object.keys(e),T=Object.keys(t);for(g=0;g<x.length;++g)v=x[g],(w=T.indexOf(v))>=0?(f(e[v],t[v],n,o,m,v,d,h),T[w]=null):f(e[v],void 0,n,o,m,v,d,h);for(g=0;g<T.length;++g)(v=T[g])&&f(void 0,t[v],n,o,m,v,d,h)}d.length=d.length-1}}else e!==t&&("number"===E&&isNaN(e)&&isNaN(t)||n.push(new r(m,e,t)))}function d(e,t,n,o,r){var i=[];if(f(e,t,i,o,null,null,null,r),n)for(var a=0;a<i.length;++a)n(i[a]);return i}function h(e,t,n,o){var r=d(e,t,o?function(e){e&&o.push(e)}:void 0,n);return o||(r.length?r:void 0)}function m(e,n,o){if(void 0===o&&n&&~t.indexOf(n.kind)&&(o=n),e&&o&&o.kind){for(var r=e,i=-1,a=o.path?o.path.length-1:0;++i<a;)void 0===r[o.path[i]]&&(r[o.path[i]]=void 0!==o.path[i+1]&&"number"==typeof o.path[i+1]?[]:{}),r=r[o.path[i]];switch(o.kind){case"A":o.path&&void 0===r[o.path[i]]&&(r[o.path[i]]=[]),function e(t,n,o){if(o.path&&o.path.length){var r,i=t[n],a=o.path.length-1;for(r=0;r<a;r++)i=i[o.path[r]];switch(o.kind){case"A":e(i[o.path[r]],o.index,o.item);break;case"D":delete i[o.path[r]];break;case"E":case"N":i[o.path[r]]=o.rhs}}else switch(o.kind){case"A":e(t[n],o.index,o.item);break;case"D":t=l(t,n);break;case"E":case"N":t[n]=o.rhs}return t}(o.path?r[o.path[i]]:r,o.index,o.item);break;case"D":delete r[o.path[i]];break;case"E":case"N":r[o.path[i]]=o.rhs}}}return n(r,o),n(i,o),n(a,o),n(s,o),Object.defineProperties(h,{diff:{value:h,enumerable:!0},orderIndependentDiff:{value:function(e,t,n,o){var r=o?function(e){e&&o.push(e)}:void 0,i=d(e,t,r,n,!0);return o||(i.length?i:void 0)},enumerable:!0},observableDiff:{value:d,enumerable:!0},orderIndependentObservableDiff:{value:function(e,t,n,o,r,i,a){return f(e,t,n,o,r,i,a,!0)},enumerable:!0},orderIndepHash:{value:p,enumerable:!0},applyDiff:{value:function(e,t,n){e&&t&&d(e,t,(function(o){n&&!n(e,t,o)||m(e,t,o)}))},enumerable:!0},applyChange:{value:m,enumerable:!0},revertChange:{value:function(e,t,n){if(e&&t&&n&&n.kind){var o,r,i=e;for(r=n.path.length-1,o=0;o<r;o++)void 0===i[n.path[o]]&&(i[n.path[o]]={}),i=i[n.path[o]];switch(n.kind){case"A":!function e(t,n,o){if(o.path&&o.path.length){var r,i=t[n],a=o.path.length-1;for(r=0;r<a;r++)i=i[o.path[r]];switch(o.kind){case"A":e(i[o.path[r]],o.index,o.item);break;case"D":case"E":i[o.path[r]]=o.lhs;break;case"N":delete i[o.path[r]]}}else switch(o.kind){case"A":e(t[n],o.index,o.item);break;case"D":case"E":t[n]=o.lhs;break;case"N":t=l(t,n)}return t}(i[n.path[o]],n.index,n.item);break;case"D":case"E":i[n.path[o]]=n.lhs;break;case"N":delete i[n.path[o]]}}},enumerable:!0},isConflict:{value:function(){return"undefined"!=typeof $conflict},enumerable:!0}}),h.DeepDiff=h,e&&(e.DeepDiff=h),h}(this),void 0===(o=function(){return r}.call(t,n,t,e))||(e.exports=o)},function(e,t,n){"use strict";
37
/**
38
* @license nested-property https://github.com/cosmosio/nested-property
39
*
@@ -48,4 +48,4 @@ var n="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typ
48
*
49
* This source code is licensed under the MIT license found in the
50
* LICENSE file in the root directory of this source tree.
51
- */Object.defineProperty(t,"__esModule",{value:!0});var o="function"==typeof Symbol&&Symbol.for,r=o?Symbol.for("react.element"):60103,i=o?Symbol.for("react.portal"):60106,a=o?Symbol.for("react.fragment"):60107,s=o?Symbol.for("react.strict_mode"):60108,l=o?Symbol.for("react.profiler"):60114,c=o?Symbol.for("react.provider"):60109,u=o?Symbol.for("react.context"):60110,p=o?Symbol.for("react.async_mode"):60111,f=o?Symbol.for("react.concurrent_mode"):60111,d=o?Symbol.for("react.forward_ref"):60112,h=o?Symbol.for("react.suspense"):60113,m=o?Symbol.for("react.suspense_list"):60120,y=o?Symbol.for("react.memo"):60115,g=o?Symbol.for("react.lazy"):60116,b=o?Symbol.for("react.fundamental"):60117,v=o?Symbol.for("react.responder"):60118,w=o?Symbol.for("react.scope"):60119;function E(e){if("object"==typeof e&&null!==e){var t=e.$typeof;switch(t){case r:switch(e=e.type){case p:case f:case a:case l:case s:case h:return e;default:switch(e=e&&e.$typeof){case u:case d:case g:case y:case c:return e;default:return t}}case i:return t}}}function O(e){return E(e)===f}t.typeOf=E,t.AsyncMode=p,t.ConcurrentMode=f,t.ContextConsumer=u,t.ContextProvider=c,t.Element=r,t.ForwardRef=d,t.Fragment=a,t.Lazy=g,t.Memo=y,t.Portal=i,t.Profiler=l,t.StrictMode=s,t.Suspense=h,t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===f||e===l||e===s||e===h||e===m||"object"==typeof e&&null!==e&&(e.$typeof===g||e.$typeof===y||e.$typeof===c||e.$typeof===u||e.$typeof===d||e.$typeof===b||e.$typeof===v||e.$typeof===w)},t.isAsyncMode=function(e){return O(e)||E(e)===p},t.isConcurrentMode=O,t.isContextConsumer=function(e){return E(e)===u},t.isContextProvider=function(e){return E(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$typeof===r},t.isForwardRef=function(e){return E(e)===d},t.isFragment=function(e){return E(e)===a},t.isLazy=function(e){return E(e)===g},t.isMemo=function(e){return E(e)===y},t.isPortal=function(e){return E(e)===i},t.isProfiler=function(e){return E(e)===l},t.isStrictMode=function(e){return E(e)===s},t.isSuspense=function(e){return E(e)===h}},function(e,t,n){},function(e,t,n){"use strict";n.r(t);n(16);var o=n(1),r=n.n(o),i=(n(0),n(5)),a=n.n(i),s=n(2),l=n.n(s),c=n(4),u=n.n(c),p=n(7),f=n.n(p),d=n(12),h=n.n(d),m=n(8),y=n.n(m),g=n(6),b=n(3),v=n.n(b),w=n(13);function E(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function O(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function S(e,t,n){return t&&O(e.prototype,t),n&&O(e,n),e}function k(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function x(){return(x=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function T(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function C(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?T(Object(n),!0).forEach((function(t){k(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):T(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function N(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&I(e,t)}function P(e){return(P=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function I(e,t){return(I=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function j(e,t){if(null==e)return{};var n,o,r=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function R(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function M(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?R(e):t}var _={INIT:"init",START:"start",STOP:"stop",RESET:"reset",PREV:"prev",NEXT:"next",GO:"go",CLOSE:"close",SKIP:"skip",UPDATE:"update"},A="tour:start",L="step:before",D="beacon",B="tooltip",F="step:after",z="tour:end",W="tour:status",H="error:target_not_found",U={INIT:"init",READY:"ready",BEACON:"beacon",TOOLTIP:"tooltip",COMPLETE:"complete",ERROR:"error"},q={IDLE:"idle",READY:"ready",WAITING:"waiting",RUNNING:"running",PAUSED:"paused",SKIPPED:"skipped",FINISHED:"finished",ERROR:"error"},G=f.a.canUseDOM,V=void 0!==c.createPortal;function Y(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:navigator.userAgent,t=e;return"undefined"==typeof window?t="node":document.documentMode?t="ie":/Edge/.test(e)?t="edge":Boolean(window.opera)||e.indexOf(" OPR/")>=0?t="opera":void 0!==window.InstallTrigger?t="firefox":window.chrome?t="chrome":/(Version\/([0-9._]+).*Safari|CriOS|FxiOS| Mobile\/)/.test(e)&&(t="safari"),t}function $(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}function K(e){var t=[];return function e(n){if("string"==typeof n||"number"==typeof n)t.push(n);else if(Array.isArray(n))n.forEach((function(t){return e(t)}));else if(n&&n.props){var o=n.props.children;Array.isArray(o)?o.forEach((function(t){return e(t)})):e(o)}}(e),t.join(" ").trim()}function X(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function J(e,t){return!(!l.a.plainObject(e)||!l.a.array(t))&&Object.keys(e).every((function(e){return-1!==t.indexOf(e)}))}function Z(e){var t=e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])#x2F;i,(function(e,t,n,o){return t+t+n+n+o+o})),n=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})#x2F;i.exec(t);return n?[parseInt(n[1],16),parseInt(n[2],16),parseInt(n[3],16)]:[]}function Q(e){return e.disableBeacon||"center"===e.placement}function ee(){return!(-1!==["chrome","safari","firefox","opera"].indexOf(Y()))}function te(e){var t=e.title,n=e.data,o=e.warn,r=void 0!==o&&o,i=e.debug,a=void 0!==i&&i,s=r?console.warn||console.error:console.log;a&&(t&&n?(console.groupCollapsed("%creact-joyride: ".concat(t),"color: #ff0044; font-weight: bold; font-size: 12px;"),Array.isArray(n)?n.forEach((function(e){l.a.plainObject(e)&&e.key?s.apply(console,[e.key,e.value]):s.apply(console,[e])})):s.apply(console,[n]),console.groupEnd()):console.error("Missing title or data props"))}var ne={action:"",controlled:!1,index:0,lifecycle:U.INIT,size:0,status:q.IDLE},oe=["action","index","lifecycle","status"];function re(e){var t=new Map,n=new Map;return new(function(){function e(){var t=this,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=o.continuous,i=void 0!==r&&r,a=o.stepIndex,s=o.steps,c=void 0===s?[]:s;E(this,e),k(this,"listener",void 0),k(this,"setSteps",(function(e){var o=t.getState(),r=o.size,i=o.status,a={size:e.length,status:i};n.set("steps",e),i===q.WAITING&&!r&&e.length&&(a.status=q.RUNNING),t.setState(a)})),k(this,"addListener",(function(e){t.listener=e})),k(this,"update",(function(e){if(!J(e,oe))throw new Error("State is not valid. Valid keys: ".concat(oe.join(", ")));t.setState(C({},t.getNextState(C({},t.getState(),{},e,{action:e.action||_.UPDATE}),!0)))})),k(this,"start",(function(e){var n=t.getState(),o=n.index,r=n.size;t.setState(C({},t.getNextState({action:_.START,index:l.a.number(e)?e:o},!0),{status:r?q.RUNNING:q.WAITING}))})),k(this,"stop",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=t.getState(),o=n.index,r=n.status;-1===[q.FINISHED,q.SKIPPED].indexOf(r)&&t.setState(C({},t.getNextState({action:_.STOP,index:o+(e?1:0)}),{status:q.PAUSED}))})),k(this,"close",(function(){var e=t.getState(),n=e.index;e.status===q.RUNNING&&t.setState(C({},t.getNextState({action:_.CLOSE,index:n+1})))})),k(this,"go",(function(e){var n=t.getState(),o=n.controlled,r=n.status;if(!o&&r===q.RUNNING){var i=t.getSteps()[e];t.setState(C({},t.getNextState({action:_.GO,index:e}),{status:i?r:q.FINISHED}))}})),k(this,"info",(function(){return t.getState()})),k(this,"next",(function(){var e=t.getState(),n=e.index;e.status===q.RUNNING&&t.setState(t.getNextState({action:_.NEXT,index:n+1}))})),k(this,"open",(function(){t.getState().status===q.RUNNING&&t.setState(C({},t.getNextState({action:_.UPDATE,lifecycle:U.TOOLTIP})))})),k(this,"prev",(function(){var e=t.getState(),n=e.index;e.status===q.RUNNING&&t.setState(C({},t.getNextState({action:_.PREV,index:n-1})))})),k(this,"reset",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=t.getState(),o=n.controlled;o||t.setState(C({},t.getNextState({action:_.RESET,index:0}),{status:e?q.RUNNING:q.READY}))})),k(this,"skip",(function(){t.getState().status===q.RUNNING&&t.setState({action:_.SKIP,lifecycle:U.INIT,status:q.SKIPPED})})),this.setState({action:_.INIT,controlled:l.a.number(a),continuous:i,index:l.a.number(a)?a:0,lifecycle:U.INIT,status:c.length?q.READY:q.IDLE},!0),this.setSteps(c)}return S(e,[{key:"setState",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=this.getState(),r=C({},o,{},e),i=r.action,a=r.index,s=r.lifecycle,l=r.size,c=r.status;t.set("action",i),t.set("index",a),t.set("lifecycle",s),t.set("size",l),t.set("status",c),n&&(t.set("controlled",e.controlled),t.set("continuous",e.continuous)),this.listener&&this.hasUpdatedState(o)&&this.listener(this.getState())}},{key:"getState",value:function(){return t.size?{action:t.get("action")||"",controlled:t.get("controlled")||!1,index:parseInt(t.get("index"),10),lifecycle:t.get("lifecycle")||"",size:t.get("size")||0,status:t.get("status")||""}:C({},ne)}},{key:"getNextState",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.getState(),o=n.action,r=n.controlled,i=n.index,a=n.size,s=n.status,c=l.a.number(e.index)?e.index:i,u=r&&!t?i:Math.min(Math.max(c,0),a);return{action:e.action||o,controlled:r,index:u,lifecycle:e.lifecycle||U.INIT,size:e.size||a,status:u===a?q.FINISHED:e.status||s}}},{key:"hasUpdatedState",value:function(e){return JSON.stringify(e)!==JSON.stringify(this.getState())}},{key:"getSteps",value:function(){var e=n.get("steps");return Array.isArray(e)?e:[]}},{key:"getHelpers",value:function(){return{close:this.close,go:this.go,info:this.info,next:this.next,open:this.open,prev:this.prev,reset:this.reset,skip:this.skip}}}]),e}())(e)}function ie(){return document.scrollingElement||document.createElement("body")}function ae(e){return e?e.getBoundingClientRect():{}}function se(e){return"string"==typeof e?document.querySelector(e):e}function le(e){return e&&1===e.nodeType?getComputedStyle(e):{}}function ce(e,t,n){var o=y()(e);return o.isSameNode(ie())?n?document:ie():o.scrollHeight>o.offsetHeight||t?o:(o.style.overflow="initial",ie())}function ue(e,t){return!!e&&!ce(e,t).isSameNode(ie())}function pe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"fixed";if(!(e&&e instanceof HTMLElement))return!1;var n=e.nodeName;return"BODY"!==n&&"HTML"!==n&&(le(e).position===t||pe(e.parentNode,t))}function fe(e,t,n){if(!e)return 0;var o=y()(e),r=e.offsetTop;return ue(e,n)&&!function(e){return e.offsetParent!==document.body}(e)&&(r-=o.offsetTop),Math.floor(r-t)}!function(e){function t(t,n,o,r,i,a){var s=r||"<<anonymous>>",l=a||o;if(null==n[o])return t?new Error("Required ".concat(i," `").concat(l,"` was not specified in `").concat(s,"`.")):null;for(var c=arguments.length,u=new Array(c>6?c-6:0),p=6;p<c;p++)u[p-6]=arguments[p];return e.apply(void 0,[n,o,s,i,l].concat(u))}var n=t.bind(null,!1);n.isRequired=t.bind(null,!0)}((function(e,t,n,o,i){var a=e[t],s=a;if(!r.a.isValidElement(a)&&Object(g.isValidElementType)(a)){s=r.a.createElement(s,{ref:function(){},step:{}})}if(l.a.string(a)||l.a.number(a)||!Object(g.isValidElementType)(a)||-1===[g.Element,g.ForwardRef].indexOf(Object(g.typeOf)(s)))return new Error("Invalid ".concat(o," `").concat(i,"` supplied to `").concat(n,"`. Expected a React class or forwardRef."))}));var de={arrowColor:"#fff",backgroundColor:"#fff",beaconSize:36,overlayColor:"rgba(0, 0, 0, 0.5)",primaryColor:"#f04",spotlightShadow:"0 0 15px rgba(0, 0, 0, 0.5)",textColor:"#333",zIndex:100},he={backgroundColor:"transparent",border:0,borderRadius:0,color:"#555",cursor:"pointer",fontSize:16,lineHeight:1,padding:8,WebkitAppearance:"none"},me={borderRadius:4,position:"absolute"};var ye={floaterProps:{options:{preventOverflow:{boundariesElement:"scrollParent"}},wrapperOptions:{offset:-18,position:!0}},locale:{back:"Back",close:"Close",last:"Last",next:"Next",open:"Open the dialog",skip:"Skip"},step:{event:"click",placement:"bottom",offset:10}};function ge(e){var t=["beaconComponent","disableCloseOnEsc","disableOverlay","disableOverlayClose","disableScrolling","disableScrollParentFix","floaterProps","hideBackButton","locale","showProgress","showSkipButton","spotlightClicks","spotlightPadding","styles","tooltipComponent"];return Object.keys(e).filter((function(e){return-1!==t.indexOf(e)})).reduce((function(t,n){return t[n]=e[n],t}),{})}function be(e,t){if(!e)return null;var n=v.a.all([ge(t),ye.step,e],{isMergeableObject:l.a.plainObject}),o=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=v()(de,e.options||{}),n=290;window.innerWidth>480&&(n=380),t.width&&(n=window.innerWidth<t.width?window.innerWidth-30:t.width);var o={bottom:0,left:0,overflow:"hidden",position:"absolute",right:0,top:0,zIndex:t.zIndex},r={beacon:C({},he,{display:"inline-block",height:t.beaconSize,position:"relative",width:t.beaconSize,zIndex:t.zIndex}),beaconInner:{animation:"joyride-beacon-inner 1.2s infinite ease-in-out",backgroundColor:t.primaryColor,borderRadius:"50%",display:"block",height:"50%",left:"50%",opacity:.7,position:"absolute",top:"50%",transform:"translate(-50%, -50%)",width:"50%"},beaconOuter:{animation:"joyride-beacon-outer 1.2s infinite ease-in-out",backgroundColor:"rgba(".concat(Z(t.primaryColor).join(","),", 0.2)"),border:"2px solid ".concat(t.primaryColor),borderRadius:"50%",boxSizing:"border-box",display:"block",height:"100%",left:0,opacity:.9,position:"absolute",top:0,transformOrigin:"center",width:"100%"},tooltip:{backgroundColor:t.backgroundColor,borderRadius:5,boxSizing:"border-box",color:t.textColor,fontSize:16,maxWidth:"100%",padding:15,position:"relative",width:n},tooltipContainer:{lineHeight:1.4,textAlign:"center"},tooltipTitle:{fontSize:18,margin:0},tooltipContent:{padding:"20px 10px"},tooltipFooter:{alignItems:"center",display:"flex",justifyContent:"flex-end",marginTop:15},tooltipFooterSpacer:{flex:1},buttonNext:C({},he,{backgroundColor:t.primaryColor,borderRadius:4,color:"#fff"}),buttonBack:C({},he,{color:t.primaryColor,marginLeft:"auto",marginRight:5}),buttonClose:C({},he,{color:t.textColor,height:14,padding:15,position:"absolute",right:0,top:0,width:14}),buttonSkip:C({},he,{color:t.textColor,fontSize:14}),overlay:C({},o,{backgroundColor:t.overlayColor,mixBlendMode:"hard-light"}),overlayLegacy:C({},o),overlayLegacyCenter:C({},o,{backgroundColor:t.overlayColor}),spotlight:C({},me,{backgroundColor:"gray"}),spotlightLegacy:C({},me,{boxShadow:"0 0 0 9999px ".concat(t.overlayColor,", ").concat(t.spotlightShadow)}),floaterStyles:{arrow:{color:t.arrowColor},options:{zIndex:t.zIndex}},options:t};return v()(r,e)}(v()(t.styles||{},e.styles||{})),r=ue(se(e.target),n.disableScrollParentFix),i=v.a.all([t.floaterProps||{},ye.floaterProps,n.floaterProps||{}]);return i.offset=n.offset,i.styles=v()(i.styles||{},o.floaterStyles||{}),delete o.floaterStyles,i.offset+=t.spotlightPadding||e.spotlightPadding,e.placementBeacon&&(i.wrapperOptions.placement=e.placementBeacon),r&&(i.options.preventOverflow.boundariesElement="window"),C({},n,{locale:v.a.all([ye.locale,t.locale||{},n.locale||{}]),floaterProps:i,styles:o})}function ve(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return l.a.plainObject(e)?!!e.target||(te({title:"validateStep",data:"target is missing from the step",warn:!0,debug:t}),!1):(te({title:"validateStep",data:"step must be an object",warn:!0,debug:t}),!1)}function we(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return l.a.array(e)?e.every((function(e){return ve(e,t)})):(te({title:"validateSteps",data:"steps must be an array",warn:!0,debug:t}),!1)}var Ee=function e(t){var n=this,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(E(this,e),k(this,"element",void 0),k(this,"options",void 0),k(this,"canBeTabbed",(function(e){var t=e.tabIndex;return(null===t||t<0)&&(t=void 0),!isNaN(t)&&n.canHaveFocus(e,!0)})),k(this,"canHaveFocus",(function(e,t){var o=e.nodeName.toLowerCase();return(/input|select|textarea|button|object/.test(o)&&!e.getAttribute("disabled")||"a"===o&&e.getAttribute("href")||t)&&n.isVisible(e)})),k(this,"findValidTabElements",(function(){return[].slice.call(n.element.querySelectorAll("*"),0).filter(n.canBeTabbed)})),k(this,"handleKeyDown",(function(e){var t=n.options.keyCode,o=void 0===t?9:t;e.keyCode===o&&n.interceptTab(e)})),k(this,"interceptTab",(function(e){e.preventDefault();var t=n.findValidTabElements(),o=e.shiftKey;if(t.length){var r=t.indexOf(document.activeElement);-1===r||!o&&r+1===t.length?r=0:o&&0===r?r=t.length-1:r+=o?-1:1,t[r].focus()}})),k(this,"isHidden",(function(e){var t=e.offsetWidth<=0&&e.offsetHeight<=0,n=window.getComputedStyle(e);return!(!t||e.innerHTML)||(t&&"visible"!==n.getPropertyValue("overflow")||"none"===n.getPropertyValue("display"))})),k(this,"isVisible",(function(e){for(var t=e;t;)if(t instanceof HTMLElement){if(t===document.body)break;if(n.isHidden(t))return!1;t=t.parentNode}return!0})),k(this,"removeScope",(function(){window.removeEventListener("keydown",n.handleKeyDown)})),k(this,"checkFocus",(function(e){document.activeElement!==e&&(e.focus(),window.requestAnimationFrame((function(){return n.checkFocus(e)})))})),k(this,"setFocus",(function(){var e=n.options.selector;if(e){var t=n.element.querySelector(e);t&&window.requestAnimationFrame((function(){return n.checkFocus(t)}))}})),!(t instanceof HTMLElement))throw new TypeError("Invalid parameter: element must be an HTMLElement");this.element=t,this.options=o,window.addEventListener("keydown",this.handleKeyDown,!1),this.setFocus()},Oe=function(e){function t(e){var n;if(E(this,t),k(R(n=M(this,P(t).call(this,e))),"setBeaconRef",(function(e){n.beacon=e})),!e.beaconComponent){var o=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css",r.id="joyride-beacon-animation",r.appendChild(document.createTextNode("\n @keyframes joyride-beacon-inner {\n 20% {\n opacity: 0.9;\n }\n \n 90% {\n opacity: 0.7;\n }\n }\n \n @keyframes joyride-beacon-outer {\n 0% {\n transform: scale(1);\n }\n \n 45% {\n opacity: 0.7;\n transform: scale(0.75);\n }\n \n 100% {\n opacity: 0.9;\n transform: scale(1);\n }\n }\n ")),o.appendChild(r)}return n}return N(t,e),S(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props.shouldFocus;setTimeout((function(){l.a.domElement(e.beacon)&&t&&e.beacon.focus()}),0)}},{key:"componentWillUnmount",value:function(){var e=document.getElementById("joyride-beacon-animation");e&&e.parentNode.removeChild(e)}},{key:"render",value:function(){var e,t=this.props,n=t.beaconComponent,o=t.locale,i=t.onClickOrHover,a=t.styles,s={"aria-label":o.open,onClick:i,onMouseEnter:i,ref:this.setBeaconRef,title:o.open};if(n){var l=n;e=r.a.createElement(l,s)}else e=r.a.createElement("button",x({key:"JoyrideBeacon",className:"react-joyride__beacon",style:a.beacon,type:"button"},s),r.a.createElement("span",{style:a.beaconInner}),r.a.createElement("span",{style:a.beaconOuter}));return e}}]),t}(r.a.Component),Se=function(e){var t=e.styles;return r.a.createElement("div",{key:"JoyrideSpotlight",className:"react-joyride__spotlight",style:t})},ke=function(e){function t(){var e,n;E(this,t);for(var o=arguments.length,r=new Array(o),i=0;i<o;i++)r[i]=arguments[i];return k(R(n=M(this,(e=P(t)).call.apply(e,[this].concat(r)))),"_isMounted",!1),k(R(n),"state",{mouseOverSpotlight:!1,isScrolling:!1,showSpotlight:!0}),k(R(n),"handleMouseMove",(function(e){var t=n.state.mouseOverSpotlight,o=n.spotlightStyles,r=o.height,i=o.left,a=o.position,s=o.top,l=o.width,c="fixed"===a?e.clientY:e.pageY,u="fixed"===a?e.clientX:e.pageX,p=u>=i&&u<=i+l&&(c>=s&&c<=s+r);p!==t&&n.updateState({mouseOverSpotlight:p})})),k(R(n),"handleScroll",(function(){var e=se(n.props.target);n.scrollParent!==document?(n.state.isScrolling||n.updateState({isScrolling:!0,showSpotlight:!1}),clearTimeout(n.scrollTimeout),n.scrollTimeout=setTimeout((function(){n.updateState({isScrolling:!1,showSpotlight:!0})}),50)):pe(e,"sticky")&&n.updateState({})})),k(R(n),"handleResize",(function(){clearTimeout(n.resizeTimeout),n.resizeTimeout=setTimeout((function(){n._isMounted&&n.forceUpdate()}),100)})),n}return N(t,e),S(t,[{key:"componentDidMount",value:function(){var e=this.props,t=(e.debug,e.disableScrolling,e.disableScrollParentFix),n=se(e.target);this.scrollParent=ce(n,t,!0),this._isMounted=!0,window.addEventListener("resize",this.handleResize)}},{key:"componentDidUpdate",value:function(e){var t=this,n=this.props,o=n.lifecycle,r=n.spotlightClicks,i=a()(e,this.props),s=i.changed;(0,i.changedTo)("lifecycle",U.TOOLTIP)&&(this.scrollParent.addEventListener("scroll",this.handleScroll,{passive:!0}),setTimeout((function(){t.state.isScrolling||t.updateState({showSpotlight:!0})}),100)),(s("spotlightClicks")||s("disableOverlay")||s("lifecycle"))&&(r&&o===U.TOOLTIP?window.addEventListener("mousemove",this.handleMouseMove,!1):o!==U.TOOLTIP&&window.removeEventListener("mousemove",this.handleMouseMove))}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,window.removeEventListener("mousemove",this.handleMouseMove),window.removeEventListener("resize",this.handleResize),clearTimeout(this.resizeTimeout),clearTimeout(this.scrollTimeout),this.scrollParent.removeEventListener("scroll",this.handleScroll)}},{key:"updateState",value:function(e){this._isMounted&&this.setState(e)}},{key:"render",value:function(){var e=this.state,t=e.mouseOverSpotlight,n=e.showSpotlight,o=this.props,i=o.disableOverlay,a=o.lifecycle,s=o.onClickOverlay,l=o.placement,c=o.styles;if(i||a!==U.TOOLTIP)return null;var u=c.overlay;ee()&&(u="center"===l?c.overlayLegacyCenter:c.overlayLegacy);var p,f,d,h=C({cursor:"pointer",height:(p=document,f=p.body,d=p.documentElement,f&&d?Math.max(f.scrollHeight,f.offsetHeight,d.clientHeight,d.scrollHeight,d.offsetHeight):0),pointerEvents:t?"none":"auto"},u),m="center"!==l&&n&&r.a.createElement(Se,{styles:this.spotlightStyles});if("safari"===Y()){h.mixBlendMode,h.zIndex;var y=j(h,["mixBlendMode","zIndex"]);m=r.a.createElement("div",{style:C({},y)},m),delete h.backgroundColor}return r.a.createElement("div",{className:"react-joyride__overlay",style:h,onClick:s},m)}},{key:"spotlightStyles",get:function(){var e=this.state.showSpotlight,t=this.props,n=t.disableScrollParentFix,o=t.spotlightClicks,r=t.spotlightPadding,i=t.styles,a=se(t.target),s=ae(a),l=pe(a),c=function(e,t,n){var o=ae(e),r=ce(e,n),i=ue(e,n),a=0;r instanceof HTMLElement&&(a=r.scrollTop);var s=o.top+(i||pe(e)?0:a);return Math.floor(s-t)}(a,r,n);return C({},ee()?i.spotlightLegacy:i.spotlight,{height:Math.round(s.height+2*r),left:Math.round(s.left-r),opacity:e?1:0,pointerEvents:o?"none":"auto",position:l?"fixed":"absolute",top:c,transition:"opacity 0.2s",width:Math.round(s.width+2*r)})}}]),t}(r.a.Component),xe=function(e){var t=e.styles,n=j(e,["styles"]),o=t.color,i=t.height,a=t.width,s=j(t,["color","height","width"]);return r.a.createElement("button",x({style:s,type:"button"},n),r.a.createElement("svg",{width:"number"==typeof a?"".concat(a,"px"):a,height:"number"==typeof i?"".concat(i,"px"):i,viewBox:"0 0 18 18",version:"1.1",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid"},r.a.createElement("g",null,r.a.createElement("path",{d:"M8.13911129,9.00268191 L0.171521827,17.0258467 C-0.0498027049,17.248715 -0.0498027049,17.6098394 0.171521827,17.8327545 C0.28204354,17.9443526 0.427188206,17.9998706 0.572051765,17.9998706 C0.71714958,17.9998706 0.862013139,17.9443526 0.972581703,17.8327545 L9.0000937,9.74924618 L17.0276057,17.8327545 C17.1384085,17.9443526 17.2832721,17.9998706 17.4281356,17.9998706 C17.5729992,17.9998706 17.718097,17.9443526 17.8286656,17.8327545 C18.0499901,17.6098862 18.0499901,17.2487618 17.8286656,17.0258467 L9.86135722,9.00268191 L17.8340066,0.973848225 C18.0553311,0.750979934 18.0553311,0.389855532 17.8340066,0.16694039 C17.6126821,-0.0556467968 17.254037,-0.0556467968 17.0329467,0.16694039 L9.00042166,8.25611765 L0.967006424,0.167268345 C0.745681892,-0.0553188426 0.387317931,-0.0553188426 0.165993399,0.167268345 C-0.0553311331,0.390136635 -0.0553311331,0.751261038 0.165993399,0.974176179 L8.13920499,9.00268191 L8.13911129,9.00268191 Z",fill:o}))))},Te=function(e){function t(){return E(this,t),M(this,P(t).apply(this,arguments))}return N(t,e),S(t,[{key:"render",value:function(){var e=this.props,t=e.backProps,n=e.closeProps,o=e.continuous,i=e.index,a=e.isLastStep,s=e.primaryProps,l=e.size,c=e.skipProps,u=e.step,p=e.tooltipProps,f=u.content,d=u.hideBackButton,h=u.hideCloseButton,m=u.hideFooter,y=u.showProgress,g=u.showSkipButton,b=u.title,v=u.styles,w=u.locale,E=w.back,O=w.close,S=w.last,k=w.next,T=w.skip,C={primary:O};return o&&(C.primary=a?S:k,y&&(C.primary=r.a.createElement("span",null,C.primary," (",i+1,"/",l,")"))),g&&!a&&(C.skip=r.a.createElement("button",x({style:v.buttonSkip,type:"button","aria-live":"off"},c),T)),!d&&i>0&&(C.back=r.a.createElement("button",x({style:v.buttonBack,type:"button"},t),E)),C.close=!h&&r.a.createElement(xe,x({styles:v.buttonClose},n)),r.a.createElement("div",x({key:"JoyrideTooltip",className:"react-joyride__tooltip",style:v.tooltip},p),r.a.createElement("div",{style:v.tooltipContainer},b&&r.a.createElement("h4",{style:v.tooltipTitle,"aria-label":b},b),r.a.createElement("div",{style:v.tooltipContent},f)),!m&&r.a.createElement("div",{style:v.tooltipFooter},r.a.createElement("div",{style:v.tooltipFooterSpacer},C.skip),C.back,r.a.createElement("button",x({style:v.buttonNext,type:"button"},s),C.primary)),C.close)}}]),t}(r.a.Component),Ce=function(e){function t(){var e,n;E(this,t);for(var o=arguments.length,r=new Array(o),i=0;i<o;i++)r[i]=arguments[i];return k(R(n=M(this,(e=P(t)).call.apply(e,[this].concat(r)))),"handleClickBack",(function(e){e.preventDefault(),n.props.helpers.prev()})),k(R(n),"handleClickClose",(function(e){e.preventDefault(),n.props.helpers.close()})),k(R(n),"handleClickPrimary",(function(e){e.preventDefault();var t=n.props,o=t.continuous,r=t.helpers;o?r.next():r.close()})),k(R(n),"handleClickSkip",(function(e){e.preventDefault(),n.props.helpers.skip()})),k(R(n),"getElementsProps",(function(){var e=n.props,t=e.continuous,o=e.isLastStep,r=e.setTooltipRef,i=e.step,a=K(i.locale.back),s=K(i.locale.close),l=K(i.locale.last),c=K(i.locale.next),u=K(i.locale.skip),p=t?c:s;return o&&(p=l),{backProps:{"aria-label":a,"data-action":"back",onClick:n.handleClickBack,role:"button",title:a},closeProps:{"aria-label":s,"data-action":"close",onClick:n.handleClickClose,role:"button",title:s},primaryProps:{"aria-label":p,"data-action":"primary",onClick:n.handleClickPrimary,role:"button",title:p},skipProps:{"aria-label":u,"data-action":"skip",onClick:n.handleClickSkip,role:"button",title:u},tooltipProps:{"aria-modal":!0,ref:r,role:"alertdialog"}}})),n}return N(t,e),S(t,[{key:"render",value:function(){var e,t=this.props,n=t.continuous,o=t.index,i=t.isLastStep,a=t.size,s=t.step,l=(s.beaconComponent,s.tooltipComponent),c=j(s,["beaconComponent","tooltipComponent"]);if(l){var u=C({},this.getElementsProps(),{continuous:n,index:o,isLastStep:i,size:a,step:c}),p=l;e=r.a.createElement(p,u)}else e=r.a.createElement(Te,x({},this.getElementsProps(),{continuous:n,index:o,isLastStep:i,size:a,step:s}));return e}}]),t}(r.a.Component),Ne=function(e){function t(e){var n;return E(this,t),n=M(this,P(t).call(this,e)),G?(n.node=document.createElement("div"),e.id&&(n.node.id=e.id),document.body.appendChild(n.node),n):M(n)}return N(t,e),S(t,[{key:"componentDidMount",value:function(){G&&(V||this.renderReact15())}},{key:"componentDidUpdate",value:function(){G&&(V||this.renderReact15())}},{key:"componentWillUnmount",value:function(){G&&this.node&&(V||u.a.unmountComponentAtNode(this.node),document.body.removeChild(this.node))}},{key:"renderReact15",value:function(){if(!G)return null;var e=this.props.children;return u.a.unstable_renderSubtreeIntoContainer(this,e,this.node),null}},{key:"renderReact16",value:function(){if(!G||!V)return null;var e=this.props.children;return u.a.createPortal(e,this.node)}},{key:"render",value:function(){return V?this.renderReact16():null}}]),t}(r.a.Component),Pe=function(e){function t(){var e,n;E(this,t);for(var o=arguments.length,r=new Array(o),i=0;i<o;i++)r[i]=arguments[i];return k(R(n=M(this,(e=P(t)).call.apply(e,[this].concat(r)))),"scope",{removeScope:function(){}}),k(R(n),"handleClickHoverBeacon",(function(e){var t=n.props,o=t.step,r=t.update;"mouseenter"===e.type&&"hover"!==o.event||r({lifecycle:U.TOOLTIP})})),k(R(n),"handleClickOverlay",(function(){var e=n.props,t=e.helpers;e.step.disableOverlayClose||t.close()})),k(R(n),"setTooltipRef",(function(e){n.tooltip=e})),k(R(n),"setPopper",(function(e,t){var o=n.props,r=o.action,i=o.setPopper,a=o.update;"wrapper"===t?n.beaconPopper=e:n.tooltipPopper=e,i(e,t),n.beaconPopper&&n.tooltipPopper&&a({action:r===_.CLOSE?_.CLOSE:r,lifecycle:U.READY})})),n}return N(t,e),S(t,[{key:"componentDidMount",value:function(){var e=this.props,t=e.debug,n=e.index;te({title:"step:".concat(n),data:[{key:"props",value:this.props}],debug:t})}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.action,o=t.callback,r=t.continuous,i=t.controlled,s=t.debug,l=t.index,c=t.lifecycle,u=t.size,p=t.status,f=t.step,d=t.update,h=a()(e,this.props),m=h.changed,y=h.changedTo,g=h.changedFrom,b={action:n,controlled:i,index:l,lifecycle:c,size:u,status:p},v=r&&n!==_.CLOSE&&(l>0||n===_.PREV),w=m("action")||m("index")||m("lifecycle")||m("status"),E=g("lifecycle",[U.TOOLTIP,U.INIT],U.INIT);if(y("action",[_.NEXT,_.PREV,_.SKIP,_.CLOSE])&&(E||i)&&o(C({},b,{index:e.index,lifecycle:U.COMPLETE,step:e.step,type:F})),w&&f){var O=se(f.target),S=!!O;S&&function(e){if(!e)return!1;for(var t=e;t&&t!==document.body;){if(t instanceof HTMLElement){var n=getComputedStyle(t),o=n.display,r=n.visibility;if("none"===o||"hidden"===r)return!1}t=t.parentNode}return!0}(O)?(g("status",q.READY,q.RUNNING)||g("lifecycle",U.INIT,U.READY))&&o(C({},b,{step:f,type:L})):(console.warn(S?"Target not visible":"Target not mounted",f),o(C({},b,{type:H,step:f})),i||d({index:l+(-1!==[_.PREV].indexOf(n)?-1:1)}))}g("lifecycle",U.INIT,U.READY)&&d({lifecycle:Q(f)||v?U.TOOLTIP:U.BEACON}),m("index")&&te({title:"step:".concat(c),data:[{key:"props",value:this.props}],debug:s}),y("lifecycle",U.BEACON)&&o(C({},b,{step:f,type:D})),y("lifecycle",U.TOOLTIP)&&(o(C({},b,{step:f,type:B})),this.scope=new Ee(this.tooltip,{selector:"[data-action=primary]"}),this.scope.setFocus()),g("lifecycle",[U.TOOLTIP,U.INIT],U.INIT)&&(this.scope.removeScope(),delete this.beaconPopper,delete this.tooltipPopper)}},{key:"componentWillUnmount",value:function(){this.scope.removeScope()}},{key:"render",value:function(){var e=this.props,t=e.continuous,n=e.debug,o=e.helpers,i=e.index,a=e.lifecycle,s=e.shouldScroll,c=e.size,u=e.step,p=se(u.target);return ve(u)&&l.a.domElement(p)?r.a.createElement("div",{key:"JoyrideStep-".concat(i),className:"react-joyride__step"},r.a.createElement(Ne,{id:"react-joyride-portal"},r.a.createElement(ke,x({},u,{debug:n,lifecycle:a,onClickOverlay:this.handleClickOverlay}))),r.a.createElement(w.a,x({component:r.a.createElement(Ce,{continuous:t,helpers:o,index:i,isLastStep:i+1===c,setTooltipRef:this.setTooltipRef,size:c,step:u}),debug:n,getPopper:this.setPopper,id:"react-joyride-step-".concat(i),isPositioned:u.isFixed||pe(p),open:this.open,placement:u.placement,target:u.target},u.floaterProps),r.a.createElement(Oe,{beaconComponent:u.beaconComponent,locale:u.locale,onClickOrHover:this.handleClickHoverBeacon,shouldFocus:s,styles:u.styles}))):null}},{key:"open",get:function(){var e=this.props,t=e.step,n=e.lifecycle;return!(!Q(t)&&n!==U.TOOLTIP)}}]),t}(r.a.Component),Ie=function(e){function t(e){var n;return E(this,t),k(R(n=M(this,P(t).call(this,e))),"initStore",(function(){var e=n.props,t=e.debug,o=e.getHelpers,r=e.run,i=e.stepIndex;n.store=new re(C({},n.props,{controlled:r&&l.a.number(i)})),n.helpers=n.store.getHelpers();var a=n.store.addListener;return te({title:"init",data:[{key:"props",value:n.props},{key:"state",value:n.state}],debug:t}),a(n.syncState),o(n.helpers),n.store.getState()})),k(R(n),"callback",(function(e){var t=n.props.callback;l.a.function(t)&&t(e)})),k(R(n),"handleKeyboard",(function(e){var t=n.state,o=t.index,r=t.lifecycle,i=n.props.steps[o],a=window.Event?e.which:e.keyCode;r===U.TOOLTIP&&27===a&&i&&!i.disableCloseOnEsc&&n.store.close()})),k(R(n),"syncState",(function(e){n.setState(e)})),k(R(n),"setPopper",(function(e,t){"wrapper"===t?n.beaconPopper=e:n.tooltipPopper=e})),k(R(n),"shouldScroll",(function(e,t,n,o,r,i,a){return!e&&(0!==t||n||o===U.TOOLTIP)&&"center"!==r.placement&&(!r.isFixed||!pe(i))&&a.lifecycle!==o&&-1!==[U.BEACON,U.TOOLTIP].indexOf(o)})),n.state=n.initStore(),n}return N(t,e),S(t,[{key:"componentDidMount",value:function(){if(G){var e=this.props,t=e.disableCloseOnEsc,n=e.debug,o=e.run,r=e.steps,i=this.store.start;we(r,n)&&o&&i(),t||document.body.addEventListener("keydown",this.handleKeyboard,{passive:!0})}}},{key:"componentDidUpdate",value:function(e,t){if(G){var n=this.state,r=n.action,i=n.controlled,s=n.index,c=n.lifecycle,u=n.status,p=this.props,f=p.debug,d=p.run,h=p.stepIndex,m=p.steps,y=e.steps,g=e.stepIndex,b=this.store,v=b.setSteps,w=b.reset,E=b.start,O=b.stop,S=b.update,k=a()(e,this.props).changed,x=a()(t,this.state),T=x.changed,N=x.changedFrom,P=x.changedTo,I=be(m[s],this.props),j=!function e(t,n){var r,i=Object(o.isValidElement)(t)||Object(o.isValidElement)(n),a=l.a.undefined(t)||l.a.undefined(n);if($(t)!==$(n)||i||a)return!1;if(l.a.domElement(t))return t.isSameNode(n);if(l.a.number(t))return t===n;if(l.a.function(t))return t.toString()===n.toString();for(var s in t)if(X(t,s)){if(void 0===t[s]||void 0===n[s])return!1;if(r=$(t[s]),-1!==["object","array"].indexOf(r)&&e(t[s],n[s]))continue;if("function"===r&&e(t[s],n[s]))continue;if(t[s]!==n[s])return!1}for(var c in n)if(X(n,c)&&void 0===t[c])return!1;return!0}(y,m),R=l.a.number(h)&&k("stepIndex");if(j&&(we(m,f)?v(m):console.warn("Steps are not valid",m)),k("run")&&(d?E(h):O()),R){var M=g<h?_.NEXT:_.PREV;r===_.STOP&&(M=_.START),-1===[q.FINISHED,q.SKIPPED].indexOf(u)&&S({action:r===_.CLOSE?_.CLOSE:M,index:h,lifecycle:U.INIT})}var L=C({},this.state,{index:s,step:I});if(P("action",[_.NEXT,_.PREV,_.SKIP,_.CLOSE])&&P("status",q.PAUSED)){var D=be(m[t.index],this.props);this.callback(C({},L,{index:t.index,lifecycle:U.COMPLETE,step:D,type:F}))}if(P("status",[q.FINISHED,q.SKIPPED])){var B=be(m[t.index],this.props);i||this.callback(C({},L,{index:t.index,lifecycle:U.COMPLETE,step:B,type:F})),this.callback(C({},L,{type:z,step:B,index:t.index})),w()}else N("status",[q.IDLE,q.READY],q.RUNNING)?this.callback(C({},L,{type:A})):T("status")?this.callback(C({},L,{type:W})):P("action",_.RESET)&&this.callback(C({},L,{type:W}));I&&(this.scrollToStep(t),"center"===I.placement&&u===q.RUNNING&&c===U.INIT&&this.store.update({lifecycle:U.READY}))}}},{key:"componentWillUnmount",value:function(){this.props.disableCloseOnEsc||document.body.removeEventListener("keydown",this.handleKeyboard)}},{key:"scrollToStep",value:function(e){var t=this.state,n=t.index,o=t.lifecycle,r=t.status,i=this.props,a=i.debug,s=i.disableScrolling,l=i.disableScrollParentFix,c=i.scrollToFirstStep,u=i.scrollOffset,p=i.scrollDuration,f=be(i.steps[n],this.props);if(f){var d=se(f.target),m=this.shouldScroll(s,n,c,o,f,d,e);if(r===q.RUNNING&&m){var y=ue(d,l),g=ce(d,l),b=Math.floor(fe(d,u,l))||0;if(te({title:"scrollToStep",data:[{key:"index",value:n},{key:"lifecycle",value:o},{key:"status",value:r}],debug:a}),o===U.BEACON&&this.beaconPopper){var v=this.beaconPopper,w=v.placement,E=v.popper;-1!==["bottom"].indexOf(w)||y||(b=Math.floor(E.top-u))}else if(o===U.TOOLTIP&&this.tooltipPopper){var O=this.tooltipPopper,S=O.flipped,k=O.placement,x=O.popper;-1===["top","right","left"].indexOf(k)||S||y?b-=f.spotlightPadding:b=Math.floor(x.top-u)}b=b>=0?b:0,r===q.RUNNING&&function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ie(),n=arguments.length>2?arguments[2]:void 0;new Promise((function(o,r){var i=t.scrollTop,a=e>i?e-i:i-e;h.a.top(t,e,{duration:a<100?50:n},(function(e){return e&&"Element already at target scroll position"!==e.message?r(e):o()}))}))}(b,g,p)}}}},{key:"render",value:function(){if(!G)return null;var e,t=this.state,n=t.index,o=t.status,i=this.props,a=i.continuous,s=i.debug,l=i.disableScrolling,c=i.scrollToFirstStep,u=be(i.steps[n],this.props);return o===q.RUNNING&&u&&(e=r.a.createElement(Pe,x({},this.state,{callback:this.callback,continuous:a,debug:s,setPopper:this.setPopper,helpers:this.helpers,shouldScroll:!l&&(0!==n||c),step:u,update:this.store.update}))),r.a.createElement("div",{className:"react-joyride"},e)}}]),t}(r.a.Component);k(Ie,"defaultProps",{continuous:!1,debug:!1,disableCloseOnEsc:!1,disableOverlay:!1,disableOverlayClose:!1,disableScrolling:!1,disableScrollParentFix:!1,getHelpers:function(){},hideBackButton:!1,run:!0,scrollOffset:20,scrollDuration:300,scrollToFirstStep:!1,showSkipButton:!1,showProgress:!1,spotlightClicks:!1,spotlightPadding:10,steps:[]});var je=Ie;function Re(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],o=!0,r=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(o=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);o=!0);}catch(e){r=!0,i=e}finally{try{o||null==s.return||s.return()}finally{if(r)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var Me=lodash.debounce,_e=wp.i18n.__,Ae=wp.components,Le=Ae.Button,De=Ae.Modal,Be=wp.element,Fe=Be.Fragment,ze=Be.useEffect,We=Be.useRef,He=Be.useState,Ue=function(){var e=Re(He(!0),2),t=e[0],n=e[1],o=Re(He(!1),2),r=o[0],i=o[1],a=We(null);ze((function(){wp.api.loadPromise.then((function(){a.current=new wp.api.models.Settings}))}),[]);var s=[{target:".otter-step-one",content:_e("Howdy, I'm Ollie The Otter! I will help you configure your Otter experience. So let's start the magic!"),disableBeacon:!0},{target:".otter-step-two",content:_e("Jazz up your blocks with some sparkly custom CSS or Blocks Animation right inside the block. Here you can enable modules to enhance your experience with Block Editor.")},{target:".otter-step-three",content:_e("Section Block is the signature feature of Otter. It allows you to build beautiful layouts right inside the Block Editor. You can set Section Block as the default block for your new Pages.")},{target:".otter-step-four",content:_e("We love maps! Here you can set your Google Maps API key for Otter's Map Block.")},{target:".otter-step-five",content:_e("If you don't have an API key, you can register one by clicking here.")},{target:".otter-step-six",content:_e("Help us in making our plugin better with anonymous data tracking.")},{target:".otter-step-seven",content:_e("If you ever need any help, we are a team of real Otter-lovers who would love to help you out.")},{target:".otter-step-eight",content:_e("And if you love what we do, please leave us a review at WordPress.org. Your review keeps us motivated to make awesome things.")},{target:".otter-step-one",content:_e("That's it for now! Hope you enjoy Otter and love it as much as we do.")}],l=Me((function(e){if(t&&n(!1),"ready"===e||"finished"===e||"skipped"===e){var o=new wp.api.models.Settings({themeisle_blocks_settings_tour:!1}).save();o.success((function(e,t){a.current.fetch()})),o.error((function(e,t){console.warning(e.responseJSON.message)}))}}),1e3);return wp.element.createElement(Fe,null,t&&wp.element.createElement(De,{title:_e("Welcome to Otter!"),isDismissable:!1,className:"otter-onboarding-modal"},wp.element.createElement("div",{className:"otter-onboarding-modal-content"},_e("Would you like to start the onboarding wizard which will help you personalize the plugin for yourself?")),wp.element.createElement("div",{className:"otter-onboarding-modal-action"},wp.element.createElement(Le,{isPrimary:!0,isLarge:!0,onClick:function(){n(!1),i(!0)}},_e("Start")),wp.element.createElement(Le,{isDefault:!0,isLarge:!0,onClick:function(){return l("skipped")}},_e("Skip")))),wp.element.createElement(je,{continuous:!0,run:r,steps:s,scrollToFirstStep:!0,showSkipButton:!0,locale:{back:_e("Back"),close:_e("Close"),last:_e("Finish"),next:_e("Next"),skip:_e("Skip")},callback:function(e){return l(e.status)}}))},qe=n(14),Ge=n.n(qe),Ve=wp.i18n.__,Ye=function(){return wp.element.createElement("header",{className:"otter-header"},wp.element.createElement("div",{className:Ge()("otter-container","otter-step-one")},wp.element.createElement("div",{className:"otter-logo"},wp.element.createElement("img",{src:otterObj.assetsPath+"images/logo.png",title:Ve("Gutenberg Blocks and Template Library by Otter")}),wp.element.createElement("abbr",{title:"Version: ".concat(otterObj.version),className:"version"},otterObj.version))))},$e=n(15),Ke=n.n($e);n(22);function Xe(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],o=!0,r=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(o=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);o=!0);}catch(e){r=!0,i=e}finally{try{o||null==s.return||s.return()}finally{if(r)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var Je=wp.i18n.__,Ze=wp.components,Qe=Ze.BaseControl,et=Ze.Button,tt=Ze.ExternalLink,nt=Ze.PanelBody,ot=Ze.PanelRow,rt=Ze.Placeholder,it=Ze.Spinner,at=Ze.ToggleControl,st=wp.element,lt=st.Fragment,ct=st.useEffect,ut=st.useRef,pt=st.useState,ft=function(){ct((function(){wp.api.loadPromise.then((function(){k.current=new wp.api.models.Settings,!1===t&&k.current.fetch().then((function(e){p(Boolean(e.themeisle_blocks_settings_css_module)),h(Boolean(e.themeisle_blocks_settings_blocks_animation)),g(Boolean(e.themeisle_blocks_settings_default_block)),w(e.themeisle_google_map_block_api_key),S(e.otter_blocks_logger_flag),n(!0)}))}))}),[]);var e=Xe(pt(!1),2),t=e[0],n=e[1],o=Xe(pt(!1),2),r=o[0],i=o[1],a=Xe(pt(null),2),s=a[0],l=a[1],c=Xe(pt(!1),2),u=c[0],p=c[1],f=Xe(pt(!1),2),d=f[0],h=f[1],m=Xe(pt(!0),2),y=m[0],g=m[1],b=Xe(pt(""),2),v=b[0],w=b[1],E=Xe(pt("no"),2),O=E[0],S=E[1],k=ut(null),x=ut(null),T=function(e,t,n){i(!0),N(Je("Updating settings…"),"info");var o=new wp.api.models.Settings(function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},e,n)).save();o.success((function(n,o){x.current.removeNotification(s),"success"===o&&(C(t,n[e]),setTimeout((function(){N(Je("Settings saved."),"success"),i(!1)}),800)),"error"===o&&setTimeout((function(){N(Je("An unknown error occurred."),"danger"),i(!1)}),800),k.current.fetch()})),o.error((function(e,t){x.current.removeNotification(s),setTimeout((function(){N(e.responseJSON.message?e.responseJSON.message:Je("An unknown error occurred."),"danger"),i(!1)}),800)}))},C=function(e,t){switch(e){case"cssModule":p(t);break;case"blocksAnimation":h(t);break;case"isDefaultSection":g(t);break;case"googleMapsAPI":w(t);break;case"isLoggingData":S(t)}},N=function(e,t){var n=x.current.addNotification({message:e,type:t,insert:"top",container:"top-right",slidingEnter:{duration:0,delay:0},dismiss:{duration:2e3},dismissable:{click:!0}});l(n)};return t?wp.element.createElement(lt,null,wp.element.createElement(Ke.a,{ref:x}),wp.element.createElement("div",{className:"otter-main"},wp.element.createElement("div",{className:"otter-step-two"},wp.element.createElement(nt,{title:Je("Modules")},wp.element.createElement(ot,null,wp.element.createElement(at,{label:Je("Enable Custom CSS Module"),help:"Custom CSS module allows to add custom CSS to each block in Block Editor.",checked:u,onChange:function(){return T("themeisle_blocks_settings_css_module","cssModule",!u)}})),wp.element.createElement(ot,null,wp.element.createElement(at,{label:Je("Enable Blocks Animation Module"),help:"Blocks Animation module allows to add CSS animations to each block in Block Editor.",checked:d,onChange:function(){return T("themeisle_blocks_settings_blocks_animation","blocksAnimation",!d)}})))),wp.element.createElement("div",{className:"otter-step-three"},wp.element.createElement(nt,{title:Je("Section")},wp.element.createElement(ot,null,wp.element.createElement(at,{label:Je("Make Section your default block for Pages"),help:"Everytime you create a new page, Section block will be appended there by default.",checked:y,onChange:function(){return T("themeisle_blocks_settings_default_block","isDefaultSection",!y)}})))),wp.element.createElement("div",{className:"otter-step-four"},wp.element.createElement(nt,{title:Je("Maps")},wp.element.createElement(ot,null,wp.element.createElement(Qe,{label:Je("Google Maps API"),help:"In order to use Google Maps block, you need to use Google Maps and Places API.",id:"otter-options-google-map-api",className:"otter-text-field"},wp.element.createElement("input",{type:"text",id:"otter-options-google-map-api",value:v,placeholder:Je("Google Maps API Key"),disabled:r,onChange:function(e){return w(e.target.value)}}),wp.element.createElement("div",{className:"otter-text-field-button-group"},wp.element.createElement(et,{isPrimary:!0,isLarge:!0,disabled:r,onClick:function(){return T("themeisle_google_map_block_api_key","googleMapsAPI",v)}},Je("Save")),wp.element.createElement(tt,{href:"https://developers.google.com/maps/documentation/javascript/get-api-key",className:"otter-step-five"},Je("Get API Key"))))))),wp.element.createElement("div",{className:"otter-step-six"},wp.element.createElement(nt,{title:Je("Other")},wp.element.createElement(ot,null,wp.element.createElement(at,{label:Je("Anonymous Data Tracking."),help:"Become a contributor by opting in to our anonymous data tracking. We guarantee no sensitive data is collected.",checked:"yes"===O,onChange:function(){return T("otter_blocks_logger_flag","isLoggingData","yes"===O?"no":"yes")}})))),wp.element.createElement(nt,null,wp.element.createElement("div",{className:"otter-info"},wp.element.createElement("h2",null,Je("Got a question for us?")),wp.element.createElement("p",null,Je("We would love to help you out if you need any help with Otter.")),wp.element.createElement("div",{className:"otter-info-button-group"},wp.element.createElement(et,{isDefault:!0,isLarge:!0,target:"_blank",href:"https://wordpress.org/support/plugin/otter-blocks",className:"otter-step-seven"},Je("Ask a question")),wp.element.createElement(et,{isDefault:!0,isLarge:!0,target:"_blank",href:"https://wordpress.org/support/plugin/otter-blocks/reviews/#new-post",className:"otter-step-eight"},Je("Leave a review"))))))):wp.element.createElement(rt,null,wp.element.createElement(it,null))},dt=wp.i18n.__,ht=function(){return wp.element.createElement("footer",{className:"otter-footer"},wp.element.createElement("div",{className:"otter-container"},dt("No otters were harmed during the making of this plugin.")))},mt=wp.element,yt=mt.render,gt=mt.Fragment;yt(wp.element.createElement((function(){return wp.element.createElement(gt,null,Boolean(otterObj.showTour)&&wp.element.createElement(Ue,null),wp.element.createElement(Ye,null),wp.element.createElement(ft,null),wp.element.createElement(ht,null))}),null),document.getElementById("otter"))}]);
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=24)}([function(e,t,n){e.exports=n(18)()},function(e,t){e.exports=React},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getObjectType=function(e){return Object.prototype.toString.call(e).slice(8,-1)};var o=function(e){return function(n){return t.getObjectType(n)===e}},r=function(e){return function(t){return typeof t===e}},i=function(e){switch(e){case null:return"null";case!0:case!1:return"boolean"}switch(typeof e){case"undefined":return"undefined";case"string":return"string";case"number":return"number";case"bigint":return"bigint";case"symbol":return"symbol"}if(i.array(e))return"Array";if(i.function(e))return"Function";var n=t.getObjectType(e);return n||"Object"};i.array=Array.isArray,i.arrayOf=function(e,t){return!(!i.array(e)&&!i.function(t))&&e.every((function(e){return t(e)}))},i.asyncFunction=o("AsyncFunction"),i.boolean=function(e){return!0===e||!1===e},i.date=o("Date"),i.defined=function(e){return!i.undefined(e)},i.domElement=function(e){return i.object(e)&&!i.plainObject(e)&&1===e.nodeType&&i.string(e.nodeName)&&["innerHTML","ownerDocument","style","attributes","nodeValue"].every((function(t){return t in e}))},i.empty=function(e){return i.string(e)&&0===e.length||i.array(e)&&0===e.length||i.object(e)&&!i.map(e)&&!i.set(e)&&0===Object.keys(e).length||i.set(e)&&0===e.size||i.map(e)&&0===e.size},i.error=o("Error"),i.function=o("Function"),i.generator=function(e){return i.iterable(e)&&i.function(e.next)&&i.function(e.throw)},i.generatorFunction=o("GeneratorFunction"),i.instanceOf=function(e,t){return!(!e||!t)&&Object.getPrototypeOf(e)===t.prototype},i.iterable=function(e){return!i.nullOrUndefined(e)&&i.function(e[Symbol.iterator])},i.map=o("Map"),i.nan=function(e){return Number.isNaN(e)},i.null=function(e){return null===e},i.nullOrUndefined=function(e){return i.null(e)||i.undefined(e)},i.number=function(e){return r("number")(e)&&!i.nan(e)},i.numericString=function(e){return i.string(e)&&e.length>0&&!Number.isNaN(Number(e))},i.object=function(e){return!i.nullOrUndefined(e)&&(i.function(e)||"object"==typeof e)},i.oneOf=function(e,t){return!!i.array(e)&&e.indexOf(t)>-1},i.plainObject=function(e){if("Object"!==t.getObjectType(e))return!1;var n=Object.getPrototypeOf(e);return null===n||n===Object.getPrototypeOf({})},i.promise=o("Promise"),i.propertyOf=function(e,t,n){if(!i.object(e)||!t)return!1;var o=e[t];return i.function(n)?n(o):i.defined(o)},i.regexp=o("RegExp"),i.set=o("Set"),i.string=r("string"),i.symbol=r("symbol"),i.undefined=r("undefined"),i.weakMap=o("WeakMap"),i.weakSet=o("WeakSet"),t.default=i},function(e,t,n){"use strict";var o=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$typeof===r}(e)}(e)};var r="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function i(e,t){return!1!==t.clone&&t.isMergeableObject(e)?u((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function a(e,t,n){return e.concat(t).map((function(e){return i(e,n)}))}function s(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return e.propertyIsEnumerable(t)})):[]}(e))}function l(e,t){try{return t in e}catch(e){return!1}}function c(e,t,n){var o={};return n.isMergeableObject(e)&&s(e).forEach((function(t){o[t]=i(e[t],n)})),s(t).forEach((function(r){(function(e,t){return l(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,r)||(l(e,r)&&n.isMergeableObject(t[r])?o[r]=function(e,t){if(!t.customMerge)return u;var n=t.customMerge(e);return"function"==typeof n?n:u}(r,n)(e[r],t[r],n):o[r]=i(t[r],n))})),o}function u(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||a,n.isMergeableObject=n.isMergeableObject||o,n.cloneUnlessOtherwiseSpecified=i;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):c(e,t,n):i(t,n)}u.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return u(e,n,t)}),{})};var p=u;e.exports=p},function(e,t){e.exports=ReactDOM},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(20),r=n(21);function i(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.every((function(e){return"number"==typeof e}))}t.default=function(e,t){if(!e||!t)throw new Error("Missing required parameters");return{changed:function(n){var i=r.get(e,n),a=r.get(t,n);return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.every(Array.isArray)}(i,a)||function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.every((function(e){if(!e)return!1;var t=Object.getPrototypeOf(e);return"Object"===Object.prototype.toString.call(e).slice(8,-1)&&(null===t||t===Object.getPrototypeOf({}))}))}(i,a)?!!o.diff(i,a):i!==a},changedFrom:function(n,o,i){if(void 0===n)throw new Error("Key parameter is required");var a=void 0!==o&&void 0!==i,s=r.get(e,n),l=r.get(t,n),c=Array.isArray(o)?o.indexOf(s)>=0:s===o,u=Array.isArray(i)?i.indexOf(l)>=0:l===i;return c&&(a?u:!a)},changedTo:function(n,o){if(void 0===n)throw new Error("Key parameter is required");var i=r.get(e,n),a=r.get(t,n),s=Array.isArray(o)?o.indexOf(i)<0:i!==o,l=Array.isArray(o)?o.indexOf(a)>=0:a===o;return s&&l},increased:function(n){if(void 0===n)throw new Error("Key parameter is required");return i(r.get(e,n),r.get(t,n))&&r.get(e,n)<r.get(t,n)},decreased:function(n){if(void 0===n)throw new Error("Key parameter is required");return i(r.get(e,n),r.get(t,n))&&r.get(e,n)>r.get(t,n)}}}},function(e,t,n){"use strict";e.exports=n(16)},function(e,t,n){"use strict";e.exports=n(22)},function(e,t,n){var o;
2
/*!
3
Copyright (c) 2015 Jed Watson.
4
Based on code that is Copyright 2013-2015, Facebook, Inc.
28
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
29
* SOFTWARE.
30
*/
31
+ var n="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,o=function(){for(var e=["Edge","Trident","Firefox"],t=0;t<e.length;t+=1)if(n&&navigator.userAgent.indexOf(e[t])>=0)return 1;return 0}();var r=n&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then((function(){t=!1,e()})))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout((function(){t=!1,e()}),o))}};function i(e){return e&&"[object Function]"==={}.toString.call(e)}function a(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}function s(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function l(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=a(e),n=t.overflow,o=t.overflowX,r=t.overflowY;return/(auto|scroll|overlay)/.test(n+r+o)?e:l(s(e))}function c(e){return e&&e.referenceNode?e.referenceNode:e}var u=n&&!(!window.MSInputMethodContext||!document.documentMode),p=n&&/MSIE 10/.test(navigator.userAgent);function f(e){return 11===e?u:10===e?p:u||p}function d(e){if(!e)return document.documentElement;for(var t=f(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var o=n&&n.nodeName;return o&&"BODY"!==o&&"HTML"!==o?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===a(n,"position")?d(n):n:e?e.ownerDocument.documentElement:document.documentElement}function h(e){return null!==e.parentNode?h(e.parentNode):e}function m(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,o=n?e:t,r=n?t:e,i=document.createRange();i.setStart(o,0),i.setEnd(r,0);var a,s,l=i.commonAncestorContainer;if(e!==l&&t!==l||o.contains(r))return"BODY"===(s=(a=l).nodeName)||"HTML"!==s&&d(a.firstElementChild)!==a?d(l):l;var c=h(e);return c.host?m(c.host,t):m(e,h(t).host)}function y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===t?"scrollTop":"scrollLeft",o=e.nodeName;if("BODY"===o||"HTML"===o){var r=e.ownerDocument.documentElement,i=e.ownerDocument.scrollingElement||r;return i[n]}return e[n]}function v(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=y(t,"top"),r=y(t,"left"),i=n?-1:1;return e.top+=o*i,e.bottom+=o*i,e.left+=r*i,e.right+=r*i,e}function g(e,t){var n="x"===t?"Left":"Top",o="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"],10)+parseFloat(e["border"+o+"Width"],10)}function b(e,t,n,o){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],f(10)?parseInt(n["offset"+e])+parseInt(o["margin"+("Height"===e?"Top":"Left")])+parseInt(o["margin"+("Height"===e?"Bottom":"Right")]):0)}function w(e){var t=e.body,n=e.documentElement,o=f(10)&&getComputedStyle(n);return{height:b("Height",t,n,o),width:b("Width",t,n,o)}}var E=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},O=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),S=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},k=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e};function x(e){return k({},e,{right:e.left+e.width,bottom:e.top+e.height})}function P(e){var t={};try{if(f(10)){t=e.getBoundingClientRect();var n=y(e,"top"),o=y(e,"left");t.top+=n,t.left+=o,t.bottom+=n,t.right+=o}else t=e.getBoundingClientRect()}catch(e){}var r={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},i="HTML"===e.nodeName?w(e.ownerDocument):{},s=i.width||e.clientWidth||r.width,l=i.height||e.clientHeight||r.height,c=e.offsetWidth-s,u=e.offsetHeight-l;if(c||u){var p=a(e);c-=g(p,"x"),u-=g(p,"y"),r.width-=c,r.height-=u}return x(r)}function C(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=f(10),r="HTML"===t.nodeName,i=P(e),s=P(t),c=l(e),u=a(t),p=parseFloat(u.borderTopWidth,10),d=parseFloat(u.borderLeftWidth,10);n&&r&&(s.top=Math.max(s.top,0),s.left=Math.max(s.left,0));var h=x({top:i.top-s.top-p,left:i.left-s.left-d,width:i.width,height:i.height});if(h.marginTop=0,h.marginLeft=0,!o&&r){var m=parseFloat(u.marginTop,10),y=parseFloat(u.marginLeft,10);h.top-=p-m,h.bottom-=p-m,h.left-=d-y,h.right-=d-y,h.marginTop=m,h.marginLeft=y}return(o&&!n?t.contains(c):t===c&&"BODY"!==c.nodeName)&&(h=v(h,t)),h}function N(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,o=C(e,n),r=Math.max(n.clientWidth,window.innerWidth||0),i=Math.max(n.clientHeight,window.innerHeight||0),a=t?0:y(n),s=t?0:y(n,"left"),l={top:a-o.top+o.marginTop,left:s-o.left+o.marginLeft,width:r,height:i};return x(l)}function T(e){var t=e.nodeName;if("BODY"===t||"HTML"===t)return!1;if("fixed"===a(e,"position"))return!0;var n=s(e);return!!n&&T(n)}function j(e){if(!e||!e.parentElement||f())return document.documentElement;for(var t=e.parentElement;t&&"none"===a(t,"transform");)t=t.parentElement;return t||document.documentElement}function I(e,t,n,o){var r=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={top:0,left:0},a=r?j(e):m(e,c(t));if("viewport"===o)i=N(a,r);else{var u=void 0;"scrollParent"===o?"BODY"===(u=l(s(t))).nodeName&&(u=e.ownerDocument.documentElement):u="window"===o?e.ownerDocument.documentElement:o;var p=C(u,a,r);if("HTML"!==u.nodeName||T(a))i=p;else{var f=w(e.ownerDocument),d=f.height,h=f.width;i.top+=p.top-p.marginTop,i.bottom=d+p.top,i.left+=p.left-p.marginLeft,i.right=h+p.left}}var y="number"==typeof(n=n||0);return i.left+=y?n:n.left||0,i.top+=y?n:n.top||0,i.right-=y?n:n.right||0,i.bottom-=y?n:n.bottom||0,i}function R(e){return e.width*e.height}function M(e,t,n,o,r){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var a=I(n,o,i,r),s={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},l=Object.keys(s).map((function(e){return k({key:e},s[e],{area:R(s[e])})})).sort((function(e,t){return t.area-e.area})),c=l.filter((function(e){var t=e.width,o=e.height;return t>=n.clientWidth&&o>=n.clientHeight})),u=c.length>0?c[0].key:l[0].key,p=e.split("-")[1];return u+(p?"-"+p:"")}function L(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,r=o?j(t):m(t,c(n));return C(n,r,o)}function _(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),o=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+o,height:e.offsetHeight+n}}function A(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,(function(e){return t[e]}))}function D(e,t,n){n=n.split("-")[0];var o=_(e),r={width:o.width,height:o.height},i=-1!==["right","left"].indexOf(n),a=i?"top":"left",s=i?"left":"top",l=i?"height":"width",c=i?"width":"height";return r[a]=t[a]+t[l]/2-o[l]/2,r[s]=n===s?t[s]-o[c]:t[A(s)],r}function F(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function W(e,t,n){return(void 0===n?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex((function(e){return e[t]===n}));var o=F(e,(function(e){return e[t]===n}));return e.indexOf(o)}(e,"name",n))).forEach((function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&i(n)&&(t.offsets.popper=x(t.offsets.popper),t.offsets.reference=x(t.offsets.reference),t=n(t,e))})),t}function B(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=L(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=M(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=D(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=W(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function z(e,t){return e.some((function(e){var n=e.name;return e.enabled&&n===t}))}function H(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),o=0;o<t.length;o++){var r=t[o],i=r?""+r+n:e;if(void 0!==document.body.style[i])return i}return null}function U(){return this.state.isDestroyed=!0,z(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[H("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function q(e){var t=e.ownerDocument;return t?t.defaultView:window}function G(e,t,n,o){n.updateBound=o,q(e).addEventListener("resize",n.updateBound,{passive:!0});var r=l(e);return function e(t,n,o,r){var i="BODY"===t.nodeName,a=i?t.ownerDocument.defaultView:t;a.addEventListener(n,o,{passive:!0}),i||e(l(a.parentNode),n,o,r),r.push(a)}(r,"scroll",n.updateBound,n.scrollParents),n.scrollElement=r,n.eventsEnabled=!0,n}function V(){this.state.eventsEnabled||(this.state=G(this.reference,this.options,this.state,this.scheduleUpdate))}function Y(){var e,t;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,q(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach((function(e){e.removeEventListener("scroll",t.updateBound)})),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t))}function $(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function K(e,t){Object.keys(t).forEach((function(n){var o="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&$(t[n])&&(o="px"),e.style[n]=t[n]+o}))}var X=n&&/Firefox/i.test(navigator.userAgent);function J(e,t,n){var o=F(e,(function(e){return e.name===t})),r=!!o&&e.some((function(e){return e.name===n&&e.enabled&&e.order<o.order}));if(!r){var i="`"+t+"`",a="`"+n+"`";console.warn(a+" modifier is required by "+i+" modifier in order to work, be sure to include it before "+i+"!")}return r}var Z=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],Q=Z.slice(3);function ee(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=Q.indexOf(e),o=Q.slice(n+1).concat(Q.slice(0,n));return t?o.reverse():o}var te="flip",ne="clockwise",oe="counterclockwise";function re(e,t,n,o){var r=[0,0],i=-1!==["right","left"].indexOf(o),a=e.split(/(\+|\-)/).map((function(e){return e.trim()})),s=a.indexOf(F(a,(function(e){return-1!==e.search(/,|\s/)})));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1!==s?[a.slice(0,s).concat([a[s].split(l)[0]]),[a[s].split(l)[1]].concat(a.slice(s+1))]:[a];return(c=c.map((function(e,o){var r=(1===o?!i:i)?"height":"width",a=!1;return e.reduce((function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,a=!0,e):a?(e[e.length-1]+=t,a=!1,e):e.concat(t)}),[]).map((function(e){return function(e,t,n,o){var r=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+r[1],a=r[2];if(!i)return e;if(0===a.indexOf("%")){var s=void 0;switch(a){case"%p":s=n;break;case"%":case"%r":default:s=o}return x(s)[t]/100*i}if("vh"===a||"vw"===a){return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*i}return i}(e,r,t,n)}))}))).forEach((function(e,t){e.forEach((function(n,o){$(n)&&(r[t]+=n*("-"===e[o-1]?-1:1))}))})),r}var ie={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split("-")[0],o=t.split("-")[1];if(o){var r=e.offsets,i=r.reference,a=r.popper,s=-1!==["bottom","top"].indexOf(n),l=s?"left":"top",c=s?"width":"height",u={start:S({},l,i[l]),end:S({},l,i[l]+i[c]-a[c])};e.offsets.popper=k({},a,u[o])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n=t.offset,o=e.placement,r=e.offsets,i=r.popper,a=r.reference,s=o.split("-")[0],l=void 0;return l=$(+n)?[+n,0]:re(n,i,a,s),"left"===s?(i.top+=l[0],i.left-=l[1]):"right"===s?(i.top+=l[0],i.left+=l[1]):"top"===s?(i.left+=l[0],i.top-=l[1]):"bottom"===s&&(i.left+=l[0],i.top+=l[1]),e.popper=i,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var n=t.boundariesElement||d(e.instance.popper);e.instance.reference===n&&(n=d(n));var o=H("transform"),r=e.instance.popper.style,i=r.top,a=r.left,s=r[o];r.top="",r.left="",r[o]="";var l=I(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);r.top=i,r.left=a,r[o]=s,t.boundaries=l;var c=t.priority,u=e.offsets.popper,p={primary:function(e){var n=u[e];return u[e]<l[e]&&!t.escapeWithReference&&(n=Math.max(u[e],l[e])),S({},e,n)},secondary:function(e){var n="right"===e?"left":"top",o=u[n];return u[e]>l[e]&&!t.escapeWithReference&&(o=Math.min(u[n],l[e]-("right"===e?u.width:u.height))),S({},n,o)}};return c.forEach((function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";u=k({},u,p[t](e))})),e.offsets.popper=u,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,o=t.reference,r=e.placement.split("-")[0],i=Math.floor,a=-1!==["top","bottom"].indexOf(r),s=a?"right":"bottom",l=a?"left":"top",c=a?"width":"height";return n[s]<i(o[l])&&(e.offsets.popper[l]=i(o[l])-n[c]),n[l]>i(o[s])&&(e.offsets.popper[l]=i(o[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var n;if(!J(e.instance.modifiers,"arrow","keepTogether"))return e;var o=t.element;if("string"==typeof o){if(!(o=e.instance.popper.querySelector(o)))return e}else if(!e.instance.popper.contains(o))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var r=e.placement.split("-")[0],i=e.offsets,s=i.popper,l=i.reference,c=-1!==["left","right"].indexOf(r),u=c?"height":"width",p=c?"Top":"Left",f=p.toLowerCase(),d=c?"left":"top",h=c?"bottom":"right",m=_(o)[u];l[h]-m<s[f]&&(e.offsets.popper[f]-=s[f]-(l[h]-m)),l[f]+m>s[h]&&(e.offsets.popper[f]+=l[f]+m-s[h]),e.offsets.popper=x(e.offsets.popper);var y=l[f]+l[u]/2-m/2,v=a(e.instance.popper),g=parseFloat(v["margin"+p],10),b=parseFloat(v["border"+p+"Width"],10),w=y-e.offsets.popper[f]-g-b;return w=Math.max(Math.min(s[u]-m,w),0),e.arrowElement=o,e.offsets.arrow=(S(n={},f,Math.round(w)),S(n,d,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(z(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=I(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),o=e.placement.split("-")[0],r=A(o),i=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case te:a=[o,r];break;case ne:a=ee(o);break;case oe:a=ee(o,!0);break;default:a=t.behavior}return a.forEach((function(s,l){if(o!==s||a.length===l+1)return e;o=e.placement.split("-")[0],r=A(o);var c=e.offsets.popper,u=e.offsets.reference,p=Math.floor,f="left"===o&&p(c.right)>p(u.left)||"right"===o&&p(c.left)<p(u.right)||"top"===o&&p(c.bottom)>p(u.top)||"bottom"===o&&p(c.top)<p(u.bottom),d=p(c.left)<p(n.left),h=p(c.right)>p(n.right),m=p(c.top)<p(n.top),y=p(c.bottom)>p(n.bottom),v="left"===o&&d||"right"===o&&h||"top"===o&&m||"bottom"===o&&y,g=-1!==["top","bottom"].indexOf(o),b=!!t.flipVariations&&(g&&"start"===i&&d||g&&"end"===i&&h||!g&&"start"===i&&m||!g&&"end"===i&&y),w=!!t.flipVariationsByContent&&(g&&"start"===i&&h||g&&"end"===i&&d||!g&&"start"===i&&y||!g&&"end"===i&&m),E=b||w;(f||v||E)&&(e.flipped=!0,(f||v)&&(o=a[l+1]),E&&(i=function(e){return"end"===e?"start":"start"===e?"end":e}(i)),e.placement=o+(i?"-"+i:""),e.offsets.popper=k({},e.offsets.popper,D(e.instance.popper,e.offsets.reference,e.placement)),e=W(e.instance.modifiers,e,"flip"))})),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],o=e.offsets,r=o.popper,i=o.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return r[a?"left":"top"]=i[n]-(s?r[a?"width":"height"]:0),e.placement=A(t),e.offsets.popper=x(r),e}},hide:{order:800,enabled:!0,fn:function(e){if(!J(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=F(e.instance.modifiers,(function(e){return"preventOverflow"===e.name})).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var n=t.x,o=t.y,r=e.offsets.popper,i=F(e.instance.modifiers,(function(e){return"applyStyle"===e.name})).gpuAcceleration;void 0!==i&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a=void 0!==i?i:t.gpuAcceleration,s=d(e.instance.popper),l=P(s),c={position:r.position},u=function(e,t){var n=e.offsets,o=n.popper,r=n.reference,i=Math.round,a=Math.floor,s=function(e){return e},l=i(r.width),c=i(o.width),u=-1!==["left","right"].indexOf(e.placement),p=-1!==e.placement.indexOf("-"),f=t?u||p||l%2==c%2?i:a:s,d=t?i:s;return{left:f(l%2==1&&c%2==1&&!p&&t?o.left-1:o.left),top:d(o.top),bottom:d(o.bottom),right:f(o.right)}}(e,window.devicePixelRatio<2||!X),p="bottom"===n?"top":"bottom",f="right"===o?"left":"right",h=H("transform"),m=void 0,y=void 0;if(y="bottom"===p?"HTML"===s.nodeName?-s.clientHeight+u.bottom:-l.height+u.bottom:u.top,m="right"===f?"HTML"===s.nodeName?-s.clientWidth+u.right:-l.width+u.right:u.left,a&&h)c[h]="translate3d("+m+"px, "+y+"px, 0)",c[p]=0,c[f]=0,c.willChange="transform";else{var v="bottom"===p?-1:1,g="right"===f?-1:1;c[p]=y*v,c[f]=m*g,c.willChange=p+", "+f}var b={"x-placement":e.placement};return e.attributes=k({},b,e.attributes),e.styles=k({},c,e.styles),e.arrowStyles=k({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){var t,n;return K(e.instance.popper,e.styles),t=e.instance.popper,n=e.attributes,Object.keys(n).forEach((function(e){!1!==n[e]?t.setAttribute(e,n[e]):t.removeAttribute(e)})),e.arrowElement&&Object.keys(e.arrowStyles).length&&K(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,n,o,r){var i=L(r,t,e,n.positionFixed),a=M(n.placement,i,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",a),K(t,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},ae=function(){function e(t,n){var o=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};E(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(o.update)},this.update=r(this.update.bind(this)),this.options=k({},e.Defaults,a),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(k({},e.Defaults.modifiers,a.modifiers)).forEach((function(t){o.options.modifiers[t]=k({},e.Defaults.modifiers[t]||{},a.modifiers?a.modifiers[t]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(e){return k({name:e},o.options.modifiers[e])})).sort((function(e,t){return e.order-t.order})),this.modifiers.forEach((function(e){e.enabled&&i(e.onLoad)&&e.onLoad(o.reference,o.popper,o.options,e,o.state)})),this.update();var s=this.options.eventsEnabled;s&&this.enableEventListeners(),this.state.eventsEnabled=s}return O(e,[{key:"update",value:function(){return B.call(this)}},{key:"destroy",value:function(){return U.call(this)}},{key:"enableEventListeners",value:function(){return V.call(this)}},{key:"disableEventListeners",value:function(){return Y.call(this)}}]),e}();ae.Utils=("undefined"!=typeof window?window:e).PopperUtils,ae.placements=Z,ae.Defaults=ie,t.a=ae}).call(this,n(12))},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t){var n=new Error("Element already at target scroll position"),o=new Error("Scroll cancelled"),r=Math.min,i=Date.now;function a(e){return function(t,a,c,u){"function"==typeof(c=c||{})&&(u=c,c={}),"function"!=typeof u&&(u=l);var p=i(),f=t[e],d=c.ease||s,h=isNaN(c.duration)?350:+c.duration,m=!1;return f===a?u(n,t[e]):requestAnimationFrame((function n(s){if(m)return u(o,t[e]);var l=i(),c=r(1,(l-p)/h),y=d(c);t[e]=y*(a-f)+f,c<1?requestAnimationFrame(n):requestAnimationFrame((function(){u(null,t[e])}))})),function(){m=!0}}}function s(e){return.5*(1-Math.cos(Math.PI*e))}function l(){}e.exports={left:a("scrollLeft"),top:a("scrollTop")}},function(e,t,n){"use strict";(function(e){var o=n(1),r=n.n(o),i=n(0),a=n.n(i),s=n(10),l=n.n(s),c=n(11),u=n(3),p=n.n(u),f=n(2),d=n.n(f),h=n(5),m=n.n(h),y=n(4),v=n.n(y),g=n(8);function b(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function w(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function E(e,t,n){return t&&w(e.prototype,t),n&&w(e,n),e}function O(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function S(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function k(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?S(Object(n),!0).forEach((function(t){O(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):S(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function x(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&C(e,t)}function P(e){return(P=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function C(e,t){return(C=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function N(e,t){if(null==e)return{};var n,o,r=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function T(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function j(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?T(e):t}var I={flip:{padding:20},preventOverflow:{padding:10}},R={INIT:"init",IDLE:"idle",OPENING:"opening",OPEN:"open",CLOSING:"closing",ERROR:"error"},M=n.n(g).a.canUseDOM,L=void 0!==v.a.createPortal;function _(){return"ontouchstart"in window&&/Mobi/.test(navigator.userAgent)}function A(e){var t=e.title,n=e.data,o=e.warn,r=void 0!==o&&o,i=e.debug,a=void 0!==i&&i,s=r?console.warn||console.error:console.log;a&&t&&n&&(console.groupCollapsed("%creact-floater: ".concat(t),"color: #9b00ff; font-weight: bold; font-size: 12px;"),Array.isArray(n)?n.forEach((function(e){d.a.plainObject(e)&&e.key?s.apply(console,[e.key,e.value]):s.apply(console,[e])})):s.apply(console,[n]),console.groupEnd())}function D(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];e.addEventListener(t,n,o)}function F(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];e.removeEventListener(t,n,o)}function W(){}var B=function(e){function t(e){var n;return b(this,t),n=j(this,P(t).call(this,e)),M?(n.node=document.createElement("div"),e.id&&(n.node.id=e.id),e.zIndex&&(n.node.style.zIndex=e.zIndex),document.body.appendChild(n.node),n):j(n)}return x(t,e),E(t,[{key:"componentDidMount",value:function(){M&&(L||this.renderPortal())}},{key:"componentDidUpdate",value:function(){M&&(L||this.renderPortal())}},{key:"componentWillUnmount",value:function(){M&&this.node&&(L||v.a.unmountComponentAtNode(this.node),document.body.removeChild(this.node))}},{key:"renderPortal",value:function(){if(!M)return null;var e=this.props,t=e.children,n=e.setRef;return L?v.a.createPortal(t,this.node):(n(v.a.unstable_renderSubtreeIntoContainer(this,t.length>1?r.a.createElement("div",null,t):t[0],this.node)),null)}},{key:"renderReact16",value:function(){var e=this.props,t=e.hasChildren,n=e.placement,o=e.target;return t?this.renderPortal():o||"center"===n?this.renderPortal():null}},{key:"render",value:function(){return L?this.renderReact16():null}}]),t}(r.a.Component);O(B,"propTypes",{children:a.a.oneOfType([a.a.element,a.a.array]),hasChildren:a.a.bool,id:a.a.oneOfType([a.a.string,a.a.number]),placement:a.a.string,setRef:a.a.func.isRequired,target:a.a.oneOfType([a.a.object,a.a.string]),zIndex:a.a.number});var z=function(e){function t(){return b(this,t),j(this,P(t).apply(this,arguments))}return x(t,e),E(t,[{key:"render",value:function(){var e,t=this.props,n=t.placement,o=t.setArrowRef,i=t.styles.arrow,a=i.color,s=i.display,l=i.length,c=i.margin,u=i.position,p=i.spread,f={display:s,position:u},d=p,h=l;return n.startsWith("top")?(e="0,0 ".concat(d/2,",").concat(h," ").concat(d,",0"),f.bottom=0,f.marginLeft=c,f.marginRight=c):n.startsWith("bottom")?(e="".concat(d,",").concat(h," ").concat(d/2,",0 0,").concat(h),f.top=0,f.marginLeft=c,f.marginRight=c):n.startsWith("left")?(h=p,e="0,0 ".concat(d=l,",").concat(h/2," 0,").concat(h),f.right=0,f.marginTop=c,f.marginBottom=c):n.startsWith("right")&&(h=p,e="".concat(d=l,",").concat(h," ").concat(d,",0 0,").concat(h/2),f.left=0,f.marginTop=c,f.marginBottom=c),r.a.createElement("div",{className:"__floater__arrow",style:this.parentStyle},r.a.createElement("span",{ref:o,style:f},r.a.createElement("svg",{width:d,height:h,version:"1.1",xmlns:"http://www.w3.org/2000/svg"},r.a.createElement("polygon",{points:e,fill:a}))))}},{key:"parentStyle",get:function(){var e=this.props,t=e.placement,n=e.styles.arrow.length,o={pointerEvents:"none",position:"absolute",width:"100%"};return t.startsWith("top")?(o.bottom=0,o.left=0,o.right=0,o.height=n):t.startsWith("bottom")?(o.left=0,o.right=0,o.top=0,o.height=n):t.startsWith("left")?(o.right=0,o.top=0,o.bottom=0):t.startsWith("right")&&(o.left=0,o.top=0),o}}]),t}(r.a.Component);O(z,"propTypes",{placement:a.a.string.isRequired,setArrowRef:a.a.func.isRequired,styles:a.a.object.isRequired});var H=function(e){var t=e.handleClick,n=e.styles,o=n.color,i=n.height,a=n.width,s=N(n,["color","height","width"]);return r.a.createElement("button",{"aria-label":"close",onClick:t,style:s,type:"button"},r.a.createElement("svg",{width:"".concat(a,"px"),height:"".concat(i,"px"),viewBox:"0 0 18 18",version:"1.1",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid"},r.a.createElement("g",null,r.a.createElement("path",{d:"M8.13911129,9.00268191 L0.171521827,17.0258467 C-0.0498027049,17.248715 -0.0498027049,17.6098394 0.171521827,17.8327545 C0.28204354,17.9443526 0.427188206,17.9998706 0.572051765,17.9998706 C0.71714958,17.9998706 0.862013139,17.9443526 0.972581703,17.8327545 L9.0000937,9.74924618 L17.0276057,17.8327545 C17.1384085,17.9443526 17.2832721,17.9998706 17.4281356,17.9998706 C17.5729992,17.9998706 17.718097,17.9443526 17.8286656,17.8327545 C18.0499901,17.6098862 18.0499901,17.2487618 17.8286656,17.0258467 L9.86135722,9.00268191 L17.8340066,0.973848225 C18.0553311,0.750979934 18.0553311,0.389855532 17.8340066,0.16694039 C17.6126821,-0.0556467968 17.254037,-0.0556467968 17.0329467,0.16694039 L9.00042166,8.25611765 L0.967006424,0.167268345 C0.745681892,-0.0553188426 0.387317931,-0.0553188426 0.165993399,0.167268345 C-0.0553311331,0.390136635 -0.0553311331,0.751261038 0.165993399,0.974176179 L8.13920499,9.00268191 L8.13911129,9.00268191 Z",fill:o}))))};H.propTypes={handleClick:a.a.func.isRequired,styles:a.a.object.isRequired};var U=function(e){var t=e.content,n=e.footer,o=e.handleClick,i=e.open,a=e.positionWrapper,s=e.showCloseButton,l=e.title,c=e.styles,u={content:r.a.isValidElement(t)?t:r.a.createElement("div",{className:"__floater__content",style:c.content},t)};return l&&(u.title=r.a.isValidElement(l)?l:r.a.createElement("div",{className:"__floater__title",style:c.title},l)),n&&(u.footer=r.a.isValidElement(n)?n:r.a.createElement("div",{className:"__floater__footer",style:c.footer},n)),!s&&!a||d.a.boolean(i)||(u.close=r.a.createElement(H,{styles:c.close,handleClick:o})),r.a.createElement("div",{className:"__floater__container",style:c.container},u.close,u.title,u.content,u.footer)};U.propTypes={content:a.a.node.isRequired,footer:a.a.node,handleClick:a.a.func.isRequired,open:a.a.bool,positionWrapper:a.a.bool.isRequired,showCloseButton:a.a.bool.isRequired,styles:a.a.object.isRequired,title:a.a.node};var q=function(e){function t(){return b(this,t),j(this,P(t).apply(this,arguments))}return x(t,e),E(t,[{key:"render",value:function(){var e=this.props,t=e.component,n=e.handleClick,o=e.hideArrow,i=e.setFloaterRef,a=e.status,s={},l=["__floater"];return t?r.a.isValidElement(t)?s.content=r.a.cloneElement(t,{closeFn:n}):s.content=t({closeFn:n}):s.content=r.a.createElement(U,this.props),a===R.OPEN&&l.push("__floater__open"),o||(s.arrow=r.a.createElement(z,this.props)),r.a.createElement("div",{ref:i,className:l.join(" "),style:this.style},r.a.createElement("div",{className:"__floater__body"},s.content,s.arrow))}},{key:"style",get:function(){var e=this.props,t=e.disableAnimation,n=e.component,o=e.placement,r=e.hideArrow,i=e.status,a=e.styles,s=a.arrow.length,l=a.floater,c=a.floaterCentered,u=a.floaterClosing,p=a.floaterOpening,f=a.floaterWithAnimation,d=a.floaterWithComponent,h={};return r||(o.startsWith("top")?h.padding="0 0 ".concat(s,"px"):o.startsWith("bottom")?h.padding="".concat(s,"px 0 0"):o.startsWith("left")?h.padding="0 ".concat(s,"px 0 0"):o.startsWith("right")&&(h.padding="0 0 0 ".concat(s,"px"))),-1!==[R.OPENING,R.OPEN].indexOf(i)&&(h=k({},h,{},p)),i===R.CLOSING&&(h=k({},h,{},u)),i!==R.OPEN||t||(h=k({},h,{},f)),"center"===o&&(h=k({},h,{},c)),n&&(h=k({},h,{},d)),k({},l,{},h)}}]),t}(r.a.Component);O(q,"propTypes",{component:a.a.oneOfType([a.a.func,a.a.element]),content:a.a.node,disableAnimation:a.a.bool.isRequired,footer:a.a.node,handleClick:a.a.func.isRequired,hideArrow:a.a.bool.isRequired,open:a.a.bool,placement:a.a.string.isRequired,positionWrapper:a.a.bool.isRequired,setArrowRef:a.a.func.isRequired,setFloaterRef:a.a.func.isRequired,showCloseButton:a.a.bool,status:a.a.string.isRequired,styles:a.a.object.isRequired,title:a.a.node});var G=function(e){function t(){return b(this,t),j(this,P(t).apply(this,arguments))}return x(t,e),E(t,[{key:"render",value:function(){var e,t=this.props,n=t.children,o=t.handleClick,i=t.handleMouseEnter,a=t.handleMouseLeave,s=t.setChildRef,l=t.setWrapperRef,c=t.style,u=t.styles;if(n)if(1===r.a.Children.count(n))if(r.a.isValidElement(n)){var p=d.a.function(n.type)?"innerRef":"ref";e=r.a.cloneElement(r.a.Children.only(n),O({},p,s))}else e=r.a.createElement("span",null,n);else e=n;return e?r.a.createElement("span",{ref:l,style:k({},u,{},c),onClick:o,onMouseEnter:i,onMouseLeave:a},e):null}}]),t}(r.a.Component);O(G,"propTypes",{children:a.a.node,handleClick:a.a.func.isRequired,handleMouseEnter:a.a.func.isRequired,handleMouseLeave:a.a.func.isRequired,setChildRef:a.a.func.isRequired,setWrapperRef:a.a.func.isRequired,style:a.a.object,styles:a.a.object.isRequired});var V={zIndex:100};var Y=["position","top","right","bottom","left"],$=function(t){function n(e){var t;return b(this,n),O(T(t=j(this,P(n).call(this,e))),"setArrowRef",(function(e){t.arrowRef=e})),O(T(t),"setChildRef",(function(e){t.childRef=e})),O(T(t),"setFloaterRef",(function(e){t.floaterRef||(t.floaterRef=e)})),O(T(t),"setWrapperRef",(function(e){t.wrapperRef=e})),O(T(t),"handleTransitionEnd",(function(){var e=t.state.status,n=t.props.callback;t.wrapperPopper&&t.wrapperPopper.instance.update(),t.setState({status:e===R.OPENING?R.OPEN:R.IDLE},(function(){var e=t.state.status;n(e===R.OPEN?"open":"close",t.props)}))})),O(T(t),"handleClick",(function(){var e=t.props,n=e.event,o=e.open;if(!d.a.boolean(o)){var r=t.state,i=r.positionWrapper,a=r.status;("click"===t.event||"hover"===t.event&&i)&&(A({title:"click",data:[{event:n,status:a===R.OPEN?"closing":"opening"}],debug:t.debug}),t.toggle())}})),O(T(t),"handleMouseEnter",(function(){var e=t.props,n=e.event,o=e.open;if(!d.a.boolean(o)&&!_()){var r=t.state.status;"hover"===t.event&&r===R.IDLE&&(A({title:"mouseEnter",data:[{key:"originalEvent",value:n}],debug:t.debug}),clearTimeout(t.eventDelayTimeout),t.toggle())}})),O(T(t),"handleMouseLeave",(function(){var e=t.props,n=e.event,o=e.eventDelay,r=e.open;if(!d.a.boolean(r)&&!_()){var i=t.state,a=i.status,s=i.positionWrapper;"hover"===t.event&&(A({title:"mouseLeave",data:[{key:"originalEvent",value:n}],debug:t.debug}),o?-1===[R.OPENING,R.OPEN].indexOf(a)||s||t.eventDelayTimeout||(t.eventDelayTimeout=setTimeout((function(){delete t.eventDelayTimeout,t.toggle()}),1e3*o)):t.toggle(R.IDLE))}})),t.state={currentPlacement:e.placement,positionWrapper:e.wrapperOptions.position&&!!e.target,status:R.INIT,statusWrapper:R.INIT},t._isMounted=!1,M&&window.addEventListener("load",(function(){t.popper&&t.popper.instance.update(),t.wrapperPopper&&t.wrapperPopper.instance.update()})),t}return x(n,t),E(n,[{key:"componentDidMount",value:function(){if(M){var e=this.state.positionWrapper,t=this.props,n=t.children,o=t.open,r=t.target;this._isMounted=!0,A({title:"init",data:{hasChildren:!!n,hasTarget:!!r,isControlled:d.a.boolean(o),positionWrapper:e,target:this.target,floater:this.floaterRef},debug:this.debug}),this.initPopper(),!n&&r&&d.a.boolean(o)}}},{key:"componentDidUpdate",value:function(e,t){if(M){var n,o=this.props,r=o.autoOpen,i=o.open,a=o.target,s=o.wrapperOptions,l=m()(t,this.state),c=l.changedFrom,u=l.changedTo;if(e.open!==i)d.a.boolean(i)&&(n=i?R.OPENING:R.CLOSING),this.toggle(n);e.wrapperOptions.position===s.position&&e.target===a||this.changeWrapperPosition(this.props),u("status",R.IDLE)&&i?this.toggle(R.OPEN):c("status",R.INIT,R.IDLE)&&r&&this.toggle(R.OPEN),this.popper&&u("status",R.OPENING)&&this.popper.instance.update(),this.floaterRef&&(u("status",R.OPENING)||u("status",R.CLOSING))&&function(e,t,n){var o,r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];D(e,t,o=function(r){n(r),F(e,t,o)},r)}(this.floaterRef,"transitionend",this.handleTransitionEnd)}}},{key:"componentWillUnmount",value:function(){M&&(this._isMounted=!1,this.popper&&this.popper.instance.destroy(),this.wrapperPopper&&this.wrapperPopper.instance.destroy())}},{key:"initPopper",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.target,n=this.state.positionWrapper,o=this.props,r=o.disableFlip,i=o.getPopper,a=o.hideArrow,s=o.offset,l=o.placement,u=o.wrapperOptions,p="top"===l||"bottom"===l?"flip":["right","bottom-end","top-end","left","top-start","bottom-start"];if("center"===l)this.setState({status:R.IDLE});else if(t&&this.floaterRef){var f=this.options,h=f.arrow,m=f.flip,y=f.offset,v=N(f,["arrow","flip","offset"]);new c.a(t,this.floaterRef,{placement:l,modifiers:k({arrow:k({enabled:!a,element:this.arrowRef},h),flip:k({enabled:!r,behavior:p},m),offset:k({offset:"0, ".concat(s,"px")},y)},v),onCreate:function(t){e.popper=t,i(t,"floater"),e._isMounted&&e.setState({currentPlacement:t.placement,status:R.IDLE}),l!==t.placement&&setTimeout((function(){t.instance.update()}),1)},onUpdate:function(t){e.popper=t;var n=e.state.currentPlacement;e._isMounted&&t.placement!==n&&e.setState({currentPlacement:t.placement})}})}if(n){var g=d.a.undefined(u.offset)?0:u.offset;new c.a(this.target,this.wrapperRef,{placement:u.placement||l,modifiers:{arrow:{enabled:!1},offset:{offset:"0, ".concat(g,"px")},flip:{enabled:!1}},onCreate:function(t){e.wrapperPopper=t,e._isMounted&&e.setState({statusWrapper:R.IDLE}),i(t,"wrapper"),l!==t.placement&&setTimeout((function(){t.instance.update()}),1)}})}}},{key:"changeWrapperPosition",value:function(e){var t=e.target,n=e.wrapperOptions;this.setState({positionWrapper:n.position&&!!t})}},{key:"toggle",value:function(e){var t=this.state.status===R.OPEN?R.CLOSING:R.OPENING;d.a.undefined(e)||(t=e),this.setState({status:t})}},{key:"render",value:function(){var e=this.state,t=e.currentPlacement,n=e.positionWrapper,o=e.status,i=this.props,a=i.children,s=i.component,l=i.content,c=i.disableAnimation,u=i.footer,p=i.hideArrow,f=i.id,d=i.open,h=i.showCloseButton,m=i.style,y=i.target,v=i.title,g=r.a.createElement(G,{handleClick:this.handleClick,handleMouseEnter:this.handleMouseEnter,handleMouseLeave:this.handleMouseLeave,setChildRef:this.setChildRef,setWrapperRef:this.setWrapperRef,style:m,styles:this.styles.wrapper},a),b={};return n?b.wrapperInPortal=g:b.wrapperAsChildren=g,r.a.createElement("span",null,r.a.createElement(B,{hasChildren:!!a,id:f,placement:t,setRef:this.setFloaterRef,target:y,zIndex:this.styles.options.zIndex},r.a.createElement(q,{component:s,content:l,disableAnimation:c,footer:u,handleClick:this.handleClick,hideArrow:p||"center"===t,open:d,placement:t,positionWrapper:n,setArrowRef:this.setArrowRef,setFloaterRef:this.setFloaterRef,showCloseButton:h,status:o,styles:this.styles,title:v}),b.wrapperInPortal),b.wrapperAsChildren)}},{key:"debug",get:function(){return this.props.debug||!!e.ReactFloaterDebug}},{key:"event",get:function(){var e=this.props,t=e.disableHoverToClick,n=e.event;return"hover"===n&&_()&&!t?"click":n}},{key:"options",get:function(){var e=this.props.options;return p()(I,e||{})}},{key:"styles",get:function(){var e,t=this,n=this.state,o=n.status,r=n.positionWrapper,i=n.statusWrapper,a=this.props.styles,s=p()(function(e){var t=p()(V,e.options||{});return{wrapper:{cursor:"help",display:"inline-flex",flexDirection:"column",zIndex:t.zIndex},wrapperPosition:{left:-1e3,position:"absolute",top:-1e3,visibility:"hidden"},floater:{display:"inline-block",filter:"drop-shadow(0 0 3px rgba(0, 0, 0, 0.3))",maxWidth:300,opacity:0,position:"relative",transition:"opacity 0.3s",visibility:"hidden",zIndex:t.zIndex},floaterOpening:{opacity:1,visibility:"visible"},floaterWithAnimation:{opacity:1,transition:"opacity 0.3s, transform 0.2s",visibility:"visible"},floaterWithComponent:{maxWidth:"100%"},floaterClosing:{opacity:0,visibility:"visible"},floaterCentered:{left:"50%",position:"fixed",top:"50%",transform:"translate(-50%, -50%)"},container:{backgroundColor:"#fff",color:"#666",minHeight:60,minWidth:200,padding:20,position:"relative",zIndex:10},title:{borderBottom:"1px solid #555",color:"#555",fontSize:18,marginBottom:5,paddingBottom:6,paddingRight:18},content:{fontSize:15},close:{backgroundColor:"transparent",border:0,borderRadius:0,color:"#555",fontSize:0,height:15,outline:"none",padding:10,position:"absolute",right:0,top:0,width:15,WebkitAppearance:"none"},footer:{borderTop:"1px solid #ccc",fontSize:13,marginTop:10,paddingTop:5},arrow:{color:"#fff",display:"inline-flex",length:16,margin:8,position:"absolute",spread:32},options:t}}(a),a);r&&(e=-1===[R.IDLE].indexOf(o)||-1===[R.IDLE].indexOf(i)?s.wrapperPosition:this.wrapperPopper.styles,s.wrapper=k({},s.wrapper,{},e));if(this.target){var l=window.getComputedStyle(this.target);this.wrapperStyles?s.wrapper=k({},s.wrapper,{},this.wrapperStyles):-1===["relative","static"].indexOf(l.position)&&(this.wrapperStyles={},r||(Y.forEach((function(e){t.wrapperStyles[e]=l[e]})),s.wrapper=k({},s.wrapper,{},this.wrapperStyles),this.target.style.position="relative",this.target.style.top="auto",this.target.style.right="auto",this.target.style.bottom="auto",this.target.style.left="auto"))}return s}},{key:"target",get:function(){if(!M)return null;var e=this.props.target;return e?d.a.domElement(e)?e:document.querySelector(e):this.childRef||this.wrapperRef}}]),n}(r.a.Component);O($,"propTypes",{autoOpen:a.a.bool,callback:a.a.func,children:a.a.node,component:l()(a.a.oneOfType([a.a.func,a.a.element]),(function(e){return!e.content})),content:l()(a.a.node,(function(e){return!e.component})),debug:a.a.bool,disableAnimation:a.a.bool,disableFlip:a.a.bool,disableHoverToClick:a.a.bool,event:a.a.oneOf(["hover","click"]),eventDelay:a.a.number,footer:a.a.node,getPopper:a.a.func,hideArrow:a.a.bool,id:a.a.oneOfType([a.a.string,a.a.number]),offset:a.a.number,open:a.a.bool,options:a.a.object,placement:a.a.oneOf(["top","top-start","top-end","bottom","bottom-start","bottom-end","left","left-start","left-end","right","right-start","right-end","auto","center"]),showCloseButton:a.a.bool,style:a.a.object,styles:a.a.object,target:a.a.oneOfType([a.a.object,a.a.string]),title:a.a.node,wrapperOptions:a.a.shape({offset:a.a.number,placement:a.a.oneOf(["top","top-start","top-end","bottom","bottom-start","bottom-end","left","left-start","left-end","right","right-start","right-end","auto"]),position:a.a.bool})}),O($,"defaultProps",{autoOpen:!1,callback:W,debug:!1,disableAnimation:!1,disableFlip:!1,disableHoverToClick:!1,event:"click",eventDelay:.4,getPopper:W,hideArrow:!1,offset:15,placement:"bottom",showCloseButton:!1,styles:{},target:null,wrapperOptions:{position:!1}}),t.a=$}).call(this,n(12))},function(e,t,n){var o;
32
/*!
33
Copyright (c) 2017 Jed Watson.
34
Licensed under the MIT License (MIT), see
35
http://jedwatson.github.io/classnames
36
+ */!function(){"use strict";var n={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var o=arguments[t];if(o){var i=typeof o;if("string"===i||"number"===i)e.push(o);else if(Array.isArray(o)&&o.length){var a=r.apply(null,o);a&&e.push(a)}else if("object"===i)for(var s in o)n.call(o,s)&&o[s]&&e.push(s)}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(o=function(){return r}.apply(t,[]))||(e.exports=o)}()},function(e,t,n){e.exports=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}return 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=5)}([function(e,t){e.exports=n(1)},function(e,t,n){e.exports=n(2)()},function(e,t,n){"use strict";var o=n(3);function r(){}function i(){}i.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,i,a){if(a!==o){var s=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 s.name="Invariant Violation",s}}function t(){return e}var n={array:e.isRequired=e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:r};return n.PropTypes=n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){},function(e,t,n){"use strict";n.r(t);var o=n(0),r=n.n(o),i=n(1),a=n.n(i),s="notification-item",l="bottom-left",c="bottom-right",u="bottom-center",p="top-left",f="top-right",d="top-center",h="success",m="danger",y="info",v="default",g="warning",b="timeout",w=function(e){return null==e};function E(e){return e===l||e===c||e===u}function O(e){return e===p||e===f||e===d}function S(e){var t=e.type,n=e.content,o=e.userDefinedTypes,r=[s];if(n)return r;if(w(o))return function(e){switch(e){case v:return[s,"notification-default"];case h:return[s,"notification-success"];case m:return[s,"notification-danger"];case g:return[s,"notification-warning"];case y:return[s,"notification-info"];default:return[s]}}(t);var i=o.find((function(e){return e.name===t}));return r.concat(i.htmlClasses)}function k(e,t){var n=e.duration,o=e.timingFunction,r=e.delay;return"".concat(n,"ms ").concat(t," ").concat(o," ").concat(r,"ms")}function x(e,t){var n=t.duration,o=t.timingFunction,r=t.delay,i=e||{};return w(i.duration)&&(i.duration=n),w(i.timingFunction)&&(i.timingFunction=o),w(i.delay)&&(i.delay=r),i}function P(e,t){var n,o,r=e,i=r.id,a=r.type,s=r.insert,l=r.content,c=r.container,u=r.animationIn,p=r.animationOut,f=r.slidingEnter,d=r.slidingExit,b=r.touchRevert,E=r.touchSlidingExit,O=r.dismiss,S=r.width,k=r.onRemoval;function P(e,t,n){return{duration:e,timingFunction:t,delay:n}}r.id=i||Math.random().toString(36).substr(2,9),r.type=l?null:a.toLowerCase(),t&&!l&&(r.userDefinedTypes=function(e,t){var n=e.content,o=e.type;if(!n&&o!==h&&o!==m&&o!==y&&o!==v&&o!==g&&t)return t}(r,t)),w(S)||(r.width=S),r.container=c.toLowerCase(),r.insert=(s||"top").toLowerCase(),r.dismiss=(o={duration:0,click:!0,touch:!0,onScreen:!1,waitForAnimation:!1,showIcon:!1},(n=O)?(Object.keys(o).forEach((function(e){w(n[e])&&(n[e]=o[e])})),n):o),r.animationIn=u||[],r.animationOut=p||[],r.onRemoval=k||function(){},r.slidingEnter=x(f,P(600,"linear",0)),r.slidingExit=x(d,P(600,"linear",0)),r.touchRevert=x(b,P(600,"linear",0));var C=E||{},N=C.swipe,T=C.fade;return r.touchSlidingExit=C,r.touchSlidingExit.swipe=x(N||{},P(600,"linear",0)),r.touchSlidingExit.fade=x(T||{},P(300,"linear",0)),r}function C(e,t){var n,o,r=t;this.pause=function(){clearTimeout(n),r-=Date.now()-o},this.resume=function(){o=Date.now(),clearTimeout(n),n=setTimeout(e,r)},this.clear=function(){clearTimeout(n)},this.resume()}var N=new function(){var e=this;return this.types=null,this.add=function(){},this.addNotification=function(t){var n=e.types;return e.add(P(t,n))},this.removeNotification=function(){},this.register=function(t){var n=t.addNotification,o=t.removeNotification,r=t.types;e.add=n,e.removeNotification=o,e.types=r},this};function T(e){return(T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function j(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],o=!0,r=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(o=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);o=!0);}catch(e){r=!0,i=e}finally{try{o||null==s.return||s.return()}finally{if(r)throw i}}return n}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function I(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function R(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?I(Object(n),!0).forEach((function(t){M(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):I(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function M(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function L(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function _(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function A(e){return(A=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function D(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function F(e,t){return(F=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var W=function(){function e(t){var n,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),(n=!(o=A(e).call(this,t))||"object"!==T(o)&&"function"!=typeof o?D(this):o).rootElementRef=r.a.createRef(),n.onClick=n.onClick.bind(D(n)),n.onTouchStart=n.onTouchStart.bind(D(n)),n.onTouchMove=n.onTouchMove.bind(D(n)),n.onTouchEnd=n.onTouchEnd.bind(D(n)),n.onMouseEnter=n.onMouseEnter.bind(D(n)),n.onMouseLeave=n.onMouseLeave.bind(D(n));var i=t.notification.width;return n.state={parentStyle:{height:0,overflow:"hidden",width:i?"".concat(i,"px"):"auto"},htmlClassList:S(t.notification),animationPlayState:"running",touchEnabled:!0},n}var t,n;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&F(e,t)}(e,r.a.Component),t=e,(n=[{key:"componentWillUnmount",value:function(){this.timer&&this.timer.clear()}},{key:"componentDidMount",value:function(){function e(){l&&!c&&(o.timer=new C((function(){return o.removeNotification(b)}),l))}var t,n,o=this,r=this.props,i=r.notification,a=r.count,s=i.dismiss,l=s.duration,c=s.onScreen,u=this.rootElementRef.current.scrollHeight,p=(t=i,!((n=a)<=1)&&1<n&&("top"===t.insert&&O(t.container)||"bottom"===t.insert&&E(t.container)));this.setState((function(t){return{parentStyle:{width:t.parentStyle.width,height:"".concat(u,"px"),transition:p?k(i.slidingEnter,"height"):"10ms height"},onTransitionEnd:e}}),(function(){requestAnimationFrame((function(){o.setState((function(e){return{htmlClassList:[].concat(L(i.animationIn),L(e.htmlClassList))}}))}))}))}},{key:"componentDidUpdate",value:function(e){var t=e.removed;this.props.removed&&!t&&this.removeNotification("manual")}},{key:"removeNotification",value:function(e){function t(){return i(a,(function(){return s(a,e)}))}var n=this,o=this.props,r=o.notification,i=o.toggleRemoval,a=r.id,s=r.onRemoval,l=r.dismiss.waitForAnimation,c=[].concat(L(r.animationOut),L(S(r))),u={height:0,transition:k(r.slidingExit,"height")};return l?this.setState((function(e){var o=e.parentStyle.width;return{htmlClassList:c,onAnimationEnd:function(){n.setState({parentStyle:R({width:o},u),onTransitionEnd:t})}}})):this.setState((function(e){return{parentStyle:R({width:e.parentStyle.width},u),onTransitionEnd:t,htmlClassList:c}}))}},{key:"onClick",value:function(){var e=this.props.notification.dismiss;(e.click||e.showIcon)&&this.removeNotification("click")}},{key:"onTouchStart",value:function(e){var t=j(e.touches,1)[0].pageX;this.setState((function(e){var n=e.parentStyle;return{startX:t,currentX:t,parentStyle:R({},n,{position:"relative"})}}))}},{key:"onTouchMove",value:function(e){var t,n,o=this,r=e.touches,i=this.state.startX,a=this.props,s=a.toggleRemoval,l=a.notification,c=l.id,u=l.onRemoval,p=l.slidingExit,f=l.touchSlidingExit,d=f.swipe,h=f.fade,m=j(r,1)[0].pageX,y=m-i,v=2*window.innerWidth,g="".concat(0<=m-i?v:-v,"px");if(t=y,n=Math.abs(t),.4*window.innerWidth<=n){var b=k(d,"left"),w=k(h,"opacity"),E=function(){s(c,(function(){return u(c,"touch")}))};return this.setState((function(e){return{touchEnabled:!1,parentStyle:R({},e.parentStyle,{left:g,opacity:0,transition:"".concat(b,", ").concat(w)}),onTransitionEnd:function(){o.setState((function(e){return{parentStyle:R({},e.parentStyle,{height:0,transition:k(p,"height")}),onTransitionEnd:E}}))}}}))}return this.setState((function(e){var t=e.parentStyle;return{currentX:m,parentStyle:R({},t,{left:"".concat(0+y,"px")})}}))}},{key:"onTouchEnd",value:function(){var e=this.props.notification.touchRevert;this.setState((function(t){return{parentStyle:R({},t.parentStyle,{left:0,transition:k(e,"left")})}}))}},{key:"onMouseEnter",value:function(){this.timer?this.timer.pause():this.setState({animationPlayState:"paused"})}},{key:"onMouseLeave",value:function(){this.timer?this.timer.resume():this.setState({animationPlayState:"running"})}},{key:"renderTimer",value:function(){var e=this,t=this.props.notification.dismiss,n=t.duration,o=t.onScreen,i=this.state.animationPlayState;if(n&&o){var a={animationName:"timer",animationDuration:"".concat(n,"ms"),animationTimingFunction:"linear",animationFillMode:"forwards",animationDelay:0,animationPlayState:i};return r.a.createElement("div",{className:"timer"},r.a.createElement("div",{className:"timer-filler",onAnimationEnd:function(){return e.removeNotification(b)},style:a}))}}},{key:"renderCustomContent",value:function(){var e=this.state.htmlClassList,t=this.props.notification,n=t.id,o=t.content,i=t.dismiss,a=i.duration,s=i.pauseOnHover,l=0<a&&s;return r.a.createElement("div",{className:"".concat([].concat(L(e),["n-child"]).join(" ")),onMouseEnter:l?this.onMouseEnter:null,onMouseLeave:l?this.onMouseLeave:null},r.a.isValidElement(o)?o:r.a.createElement(o,{id:n}))}},{key:"renderNotification",value:function(){var e=this.props.notification,t=e.title,n=e.message,o=e.dismiss,i=o.showIcon,a=o.duration,s=o.pauseOnHover,l=this.state.htmlClassList,c=0<a&&s;return r.a.createElement("div",{className:"".concat([].concat(L(l),["n-child"]).join(" ")),onMouseEnter:c?this.onMouseEnter:null,onMouseLeave:c?this.onMouseLeave:null},r.a.createElement("div",{className:"notification-content"},i&&r.a.createElement("div",{className:"notification-close",onClick:this.onClick}),t&&r.a.createElement("div",{className:"notification-title"},t),r.a.createElement("div",{className:"notification-message"},n),this.renderTimer()))}},{key:"render",value:function(){var e=this.props.notification,t=e.content,n=e.dismiss.click,o=this.state,i=o.parentStyle,a=o.onAnimationEnd,s=o.onTransitionEnd,l=o.touchEnabled;return r.a.createElement("div",{ref:this.rootElementRef,onClick:n?this.onClick:null,className:"n-parent",style:i,onAnimationEnd:a,onTransitionEnd:s,onTouchStart:l?this.onTouchStart:null,onTouchMove:l?this.onTouchMove:null,onTouchEnd:l?this.onTouchEnd:null},t?this.renderCustomContent():this.renderNotification())}}])&&_(t.prototype,n),e}();function B(e){return(B="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function z(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function H(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function U(e){return(U=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function q(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function G(e,t){return(G=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}W.propTypes={toggleRemoval:a.a.func.isRequired,count:a.a.number.isRequired,removed:a.a.bool},n(4),n.d(t,"default",(function(){return V})),n.d(t,"store",(function(){return N}));var V=function(){function e(t){var n,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this,(n=!(o=U(e).call(this,t))||"object"!==B(o)&&"function"!=typeof o?q(this):o).state={isMobile:t.isMobile,breakpoint:t.breakpoint,notifications:[]},n.add=n.add.bind(q(n)),n.remove=n.remove.bind(q(n)),n.toggleRemoval=n.toggleRemoval.bind(q(n)),n.handleResize=n.handleResize.bind(q(n)),n}var t,n;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&G(e,t)}(e,r.a.Component),t=e,(n=[{key:"componentDidMount",value:function(){var e=this.props.types;N.register({addNotification:this.add,removeNotification:this.remove,types:e}),this.setState({width:window.innerWidth}),window.addEventListener("resize",this.handleResize)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.handleResize)}},{key:"handleResize",value:function(){this.setState({width:window.innerWidth})}},{key:"add",value:function(e){return this.setState((function(t){var n=t.notifications;return{notifications:"top"===e.insert?[e].concat(z(n)):[].concat(z(n),[e])}})),e.id}},{key:"remove",value:function(e){this.setState((function(t){return{notifications:t.notifications.map((function(t){return t.id===e&&(t.removed=!0),t}))}}))}},{key:"toggleRemoval",value:function(e,t){this.setState((function(t){return{notifications:t.notifications.filter((function(t){return t.id!==e}))}}),t)}},{key:"renderNotifications",value:function(e){var t=this;return e.map((function(n){return r.a.createElement(W,{id:n.id,key:n.id,notification:n,toggleRemoval:t.toggleRemoval,count:e.length,removed:n.removed})}))}},{key:"renderMobileNotifications",value:function(e){var t,n,o=e.className,i=e.id,a=this.state.notifications,s=(t=[],n=[],a.forEach((function(e){var o=e.container;O(o)?t.push(e):E(o)&&n.push(e)})),{top:t,bottom:n}),l=this.renderNotifications(s.top),c=this.renderNotifications(s.bottom);return r.a.createElement("div",{id:i,key:"mobile",className:"react-notification-root ".concat(o||"")},r.a.createElement("div",{className:"notification-container-mobile-top"},l),r.a.createElement("div",{className:"notification-container-mobile-bottom"},c))}},{key:"renderScreenNotifications",value:function(e){var t,n,o,i,a,s,h=e.className,m=e.id,y=this.state.notifications,v=(t=[],n=[],o=[],i=[],a=[],s=[],y.forEach((function(e){var r=e.container;r===p?t.push(e):r===f?n.push(e):r===d?o.push(e):r===l?i.push(e):r===c?a.push(e):r===u&&s.push(e)})),{topLeft:t,topRight:n,topCenter:o,bottomLeft:i,bottomRight:a,bottomCenter:s}),g=this.renderNotifications(v.topLeft),b=this.renderNotifications(v.topRight),w=this.renderNotifications(v.topCenter),E=this.renderNotifications(v.bottomLeft),O=this.renderNotifications(v.bottomRight),S=this.renderNotifications(v.bottomCenter);return r.a.createElement("div",{id:m,key:"screen",className:"react-notification-root ".concat(h||"")},r.a.createElement("div",{className:"notification-container-top-left"},g),r.a.createElement("div",{className:"notification-container-top-right"},b),r.a.createElement("div",{className:"notification-container-bottom-left"},E),r.a.createElement("div",{className:"notification-container-bottom-right"},O),r.a.createElement("div",{className:"notification-container-top-center"},w),r.a.createElement("div",{className:"notification-container-bottom-center"},S))}},{key:"render",value:function(){var e=this.props.isMobile,t=this.state,n=t.width,o=t.breakpoint;return e&&n<=o?this.renderMobileNotifications(this.props):this.renderScreenNotifications(this.props)}}])&&H(t.prototype,n),e}();V.propTypes={isMobile:a.a.bool,breakpoint:a.a.number,types:a.a.array},V.defaultProps={isMobile:!0,breakpoint:768}}])},function(e,t,n){},function(e,t,n){"use strict";var o=n(19);function r(){}function i(){}i.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,i,a){if(a!==o){var s=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 s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:r};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){var o,r;r=function(e){var t=["N","E","A","D"];function n(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}function o(e,t){Object.defineProperty(this,"kind",{value:e,enumerable:!0}),t&&t.length&&Object.defineProperty(this,"path",{value:t,enumerable:!0})}function r(e,t,n){r.super_.call(this,"E",e),Object.defineProperty(this,"lhs",{value:t,enumerable:!0}),Object.defineProperty(this,"rhs",{value:n,enumerable:!0})}function i(e,t){i.super_.call(this,"N",e),Object.defineProperty(this,"rhs",{value:t,enumerable:!0})}function a(e,t){a.super_.call(this,"D",e),Object.defineProperty(this,"lhs",{value:t,enumerable:!0})}function s(e,t,n){s.super_.call(this,"A",e),Object.defineProperty(this,"index",{value:t,enumerable:!0}),Object.defineProperty(this,"item",{value:n,enumerable:!0})}function l(e,t,n){var o=e.slice((n||t)+1||e.length);return e.length=t<0?e.length+t:t,e.push.apply(e,o),e}function c(e){var t=typeof e;return"object"!==t?t:e===Math?"math":null===e?"null":Array.isArray(e)?"array":"[object Date]"===Object.prototype.toString.call(e)?"date":"function"==typeof e.toString&&/^\/.*\//.test(e.toString())?"regexp":"object"}function u(e){var t=0;if(0===e.length)return t;for(var n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n),t&=t;return t}function p(e){var t=0,n=c(e);if("array"===n)return e.forEach((function(e){t+=p(e)})),t+u("[type: array, hash: "+t+"]");if("object"===n){for(var o in e)if(e.hasOwnProperty(o)){var r="[ type: object, key: "+o+", value hash: "+p(e[o])+"]";t+=u(r)}return t}return t+u("[ type: "+n+" ; value: "+e+"]")}function f(e,t,n,o,l,u,d,h){n=n||[],d=d||[];var m=(l=l||[]).slice(0);if(null!=u){if(o){if("function"==typeof o&&o(m,u))return;if("object"==typeof o){if(o.prefilter&&o.prefilter(m,u))return;if(o.normalize){var y=o.normalize(m,u,e,t);y&&(e=y[0],t=y[1])}}}m.push(u)}"regexp"===c(e)&&"regexp"===c(t)&&(e=e.toString(),t=t.toString());var v,g,b,w,E=typeof e,O=typeof t,S="undefined"!==E||d&&d.length>0&&d[d.length-1].lhs&&Object.getOwnPropertyDescriptor(d[d.length-1].lhs,u),k="undefined"!==O||d&&d.length>0&&d[d.length-1].rhs&&Object.getOwnPropertyDescriptor(d[d.length-1].rhs,u);if(!S&&k)n.push(new i(m,t));else if(!k&&S)n.push(new a(m,e));else if(c(e)!==c(t))n.push(new r(m,e,t));else if("date"===c(e)&&e-t!=0)n.push(new r(m,e,t));else if("object"===E&&null!==e&&null!==t){for(v=d.length-1;v>-1;--v)if(d[v].lhs===e){w=!0;break}if(w)e!==t&&n.push(new r(m,e,t));else{if(d.push({lhs:e,rhs:t}),Array.isArray(e)){for(h&&(e.sort((function(e,t){return p(e)-p(t)})),t.sort((function(e,t){return p(e)-p(t)}))),v=t.length-1,g=e.length-1;v>g;)n.push(new s(m,v,new i(void 0,t[v--])));for(;g>v;)n.push(new s(m,g,new a(void 0,e[g--])));for(;v>=0;--v)f(e[v],t[v],n,o,m,v,d,h)}else{var x=Object.keys(e),P=Object.keys(t);for(v=0;v<x.length;++v)b=x[v],(w=P.indexOf(b))>=0?(f(e[b],t[b],n,o,m,b,d,h),P[w]=null):f(e[b],void 0,n,o,m,b,d,h);for(v=0;v<P.length;++v)(b=P[v])&&f(void 0,t[b],n,o,m,b,d,h)}d.length=d.length-1}}else e!==t&&("number"===E&&isNaN(e)&&isNaN(t)||n.push(new r(m,e,t)))}function d(e,t,n,o,r){var i=[];if(f(e,t,i,o,null,null,null,r),n)for(var a=0;a<i.length;++a)n(i[a]);return i}function h(e,t,n,o){var r=d(e,t,o?function(e){e&&o.push(e)}:void 0,n);return o||(r.length?r:void 0)}function m(e,n,o){if(void 0===o&&n&&~t.indexOf(n.kind)&&(o=n),e&&o&&o.kind){for(var r=e,i=-1,a=o.path?o.path.length-1:0;++i<a;)void 0===r[o.path[i]]&&(r[o.path[i]]=void 0!==o.path[i+1]&&"number"==typeof o.path[i+1]?[]:{}),r=r[o.path[i]];switch(o.kind){case"A":o.path&&void 0===r[o.path[i]]&&(r[o.path[i]]=[]),function e(t,n,o){if(o.path&&o.path.length){var r,i=t[n],a=o.path.length-1;for(r=0;r<a;r++)i=i[o.path[r]];switch(o.kind){case"A":e(i[o.path[r]],o.index,o.item);break;case"D":delete i[o.path[r]];break;case"E":case"N":i[o.path[r]]=o.rhs}}else switch(o.kind){case"A":e(t[n],o.index,o.item);break;case"D":t=l(t,n);break;case"E":case"N":t[n]=o.rhs}return t}(o.path?r[o.path[i]]:r,o.index,o.item);break;case"D":delete r[o.path[i]];break;case"E":case"N":r[o.path[i]]=o.rhs}}}return n(r,o),n(i,o),n(a,o),n(s,o),Object.defineProperties(h,{diff:{value:h,enumerable:!0},orderIndependentDiff:{value:function(e,t,n,o){var r=o?function(e){e&&o.push(e)}:void 0,i=d(e,t,r,n,!0);return o||(i.length?i:void 0)},enumerable:!0},observableDiff:{value:d,enumerable:!0},orderIndependentObservableDiff:{value:function(e,t,n,o,r,i,a){return f(e,t,n,o,r,i,a,!0)},enumerable:!0},orderIndepHash:{value:p,enumerable:!0},applyDiff:{value:function(e,t,n){e&&t&&d(e,t,(function(o){n&&!n(e,t,o)||m(e,t,o)}))},enumerable:!0},applyChange:{value:m,enumerable:!0},revertChange:{value:function(e,t,n){if(e&&t&&n&&n.kind){var o,r,i=e;for(r=n.path.length-1,o=0;o<r;o++)void 0===i[n.path[o]]&&(i[n.path[o]]={}),i=i[n.path[o]];switch(n.kind){case"A":!function e(t,n,o){if(o.path&&o.path.length){var r,i=t[n],a=o.path.length-1;for(r=0;r<a;r++)i=i[o.path[r]];switch(o.kind){case"A":e(i[o.path[r]],o.index,o.item);break;case"D":case"E":i[o.path[r]]=o.lhs;break;case"N":delete i[o.path[r]]}}else switch(o.kind){case"A":e(t[n],o.index,o.item);break;case"D":case"E":t[n]=o.lhs;break;case"N":t=l(t,n)}return t}(i[n.path[o]],n.index,n.item);break;case"D":case"E":i[n.path[o]]=n.lhs;break;case"N":delete i[n.path[o]]}}},enumerable:!0},isConflict:{value:function(){return"undefined"!=typeof $conflict},enumerable:!0}}),h.DeepDiff=h,e&&(e.DeepDiff=h),h}(this),void 0===(o=function(){return r}.call(t,n,t,e))||(e.exports=o)},function(e,t,n){"use strict";
37
/**
38
* @license nested-property https://github.com/cosmosio/nested-property
39
*
48
*
49
* This source code is licensed under the MIT license found in the
50
* LICENSE file in the root directory of this source tree.
51
+ */Object.defineProperty(t,"__esModule",{value:!0});var o="function"==typeof Symbol&&Symbol.for,r=o?Symbol.for("react.element"):60103,i=o?Symbol.for("react.portal"):60106,a=o?Symbol.for("react.fragment"):60107,s=o?Symbol.for("react.strict_mode"):60108,l=o?Symbol.for("react.profiler"):60114,c=o?Symbol.for("react.provider"):60109,u=o?Symbol.for("react.context"):60110,p=o?Symbol.for("react.async_mode"):60111,f=o?Symbol.for("react.concurrent_mode"):60111,d=o?Symbol.for("react.forward_ref"):60112,h=o?Symbol.for("react.suspense"):60113,m=o?Symbol.for("react.suspense_list"):60120,y=o?Symbol.for("react.memo"):60115,v=o?Symbol.for("react.lazy"):60116,g=o?Symbol.for("react.fundamental"):60117,b=o?Symbol.for("react.responder"):60118,w=o?Symbol.for("react.scope"):60119;function E(e){if("object"==typeof e&&null!==e){var t=e.$typeof;switch(t){case r:switch(e=e.type){case p:case f:case a:case l:case s:case h:return e;default:switch(e=e&&e.$typeof){case u:case d:case v:case y:case c:return e;default:return t}}case i:return t}}}function O(e){return E(e)===f}t.typeOf=E,t.AsyncMode=p,t.ConcurrentMode=f,t.ContextConsumer=u,t.ContextProvider=c,t.Element=r,t.ForwardRef=d,t.Fragment=a,t.Lazy=v,t.Memo=y,t.Portal=i,t.Profiler=l,t.StrictMode=s,t.Suspense=h,t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===f||e===l||e===s||e===h||e===m||"object"==typeof e&&null!==e&&(e.$typeof===v||e.$typeof===y||e.$typeof===c||e.$typeof===u||e.$typeof===d||e.$typeof===g||e.$typeof===b||e.$typeof===w)},t.isAsyncMode=function(e){return O(e)||E(e)===p},t.isConcurrentMode=O,t.isContextConsumer=function(e){return E(e)===u},t.isContextProvider=function(e){return E(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$typeof===r},t.isForwardRef=function(e){return E(e)===d},t.isFragment=function(e){return E(e)===a},t.isLazy=function(e){return E(e)===v},t.isMemo=function(e){return E(e)===y},t.isPortal=function(e){return E(e)===i},t.isProfiler=function(e){return E(e)===l},t.isStrictMode=function(e){return E(e)===s},t.isSuspense=function(e){return E(e)===h}},function(e,t,n){},function(e,t,n){"use strict";n.r(t);var o=n(6),r=n.n(o),i=(n(17),n(1)),a=n.n(i),s=(n(0),n(5)),l=n.n(s),c=n(2),u=n.n(c),p=n(4),f=n.n(p),d=n(8),h=n.n(d),m=n(13),y=n.n(m),v=n(9),g=n.n(v),b=n(7),w=n(3),E=n.n(w),O=n(14);function S(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function k(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function x(e,t,n){return t&&k(e.prototype,t),n&&k(e,n),e}function P(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function C(){return(C=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function N(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function T(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?N(Object(n),!0).forEach((function(t){P(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):N(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function j(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&R(e,t)}function I(e){return(I=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function R(e,t){return(R=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function M(e,t){if(null==e)return{};var n,o,r=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function L(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?L(e):t}var A={INIT:"init",START:"start",STOP:"stop",RESET:"reset",PREV:"prev",NEXT:"next",GO:"go",CLOSE:"close",SKIP:"skip",UPDATE:"update"},D="tour:start",F="step:before",W="beacon",B="tooltip",z="step:after",H="tour:end",U="tour:status",q="error:target_not_found",G={INIT:"init",READY:"ready",BEACON:"beacon",TOOLTIP:"tooltip",COMPLETE:"complete",ERROR:"error"},V={IDLE:"idle",READY:"ready",WAITING:"waiting",RUNNING:"running",PAUSED:"paused",SKIPPED:"skipped",FINISHED:"finished",ERROR:"error"},Y=h.a.canUseDOM,$=void 0!==p.createPortal;function K(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:navigator.userAgent,t=e;return"undefined"==typeof window?t="node":document.documentMode?t="ie":/Edge/.test(e)?t="edge":Boolean(window.opera)||e.indexOf(" OPR/")>=0?t="opera":void 0!==window.InstallTrigger?t="firefox":window.chrome?t="chrome":/(Version\/([0-9._]+).*Safari|CriOS|FxiOS| Mobile\/)/.test(e)&&(t="safari"),t}function X(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}function J(e){var t=[];return function e(n){if("string"==typeof n||"number"==typeof n)t.push(n);else if(Array.isArray(n))n.forEach((function(t){return e(t)}));else if(n&&n.props){var o=n.props.children;Array.isArray(o)?o.forEach((function(t){return e(t)})):e(o)}}(e),t.join(" ").trim()}function Z(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Q(e,t){return!(!u.a.plainObject(e)||!u.a.array(t))&&Object.keys(e).every((function(e){return-1!==t.indexOf(e)}))}function ee(e){var t=e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])#x2F;i,(function(e,t,n,o){return t+t+n+n+o+o})),n=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})#x2F;i.exec(t);return n?[parseInt(n[1],16),parseInt(n[2],16),parseInt(n[3],16)]:[]}function te(e){return e.disableBeacon||"center"===e.placement}function ne(){return!(-1!==["chrome","safari","firefox","opera"].indexOf(K()))}function oe(e){var t=e.title,n=e.data,o=e.warn,r=void 0!==o&&o,i=e.debug,a=void 0!==i&&i,s=r?console.warn||console.error:console.log;a&&(t&&n?(console.groupCollapsed("%creact-joyride: ".concat(t),"color: #ff0044; font-weight: bold; font-size: 12px;"),Array.isArray(n)?n.forEach((function(e){u.a.plainObject(e)&&e.key?s.apply(console,[e.key,e.value]):s.apply(console,[e])})):s.apply(console,[n]),console.groupEnd()):console.error("Missing title or data props"))}var re={action:"",controlled:!1,index:0,lifecycle:G.INIT,size:0,status:V.IDLE},ie=["action","index","lifecycle","status"];function ae(e){var t=new Map,n=new Map;return new(function(){function e(){var t=this,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=o.continuous,i=void 0!==r&&r,a=o.stepIndex,s=o.steps,l=void 0===s?[]:s;S(this,e),P(this,"listener",void 0),P(this,"setSteps",(function(e){var o=t.getState(),r=o.size,i=o.status,a={size:e.length,status:i};n.set("steps",e),i===V.WAITING&&!r&&e.length&&(a.status=V.RUNNING),t.setState(a)})),P(this,"addListener",(function(e){t.listener=e})),P(this,"update",(function(e){if(!Q(e,ie))throw new Error("State is not valid. Valid keys: ".concat(ie.join(", ")));t.setState(T({},t.getNextState(T({},t.getState(),{},e,{action:e.action||A.UPDATE}),!0)))})),P(this,"start",(function(e){var n=t.getState(),o=n.index,r=n.size;t.setState(T({},t.getNextState({action:A.START,index:u.a.number(e)?e:o},!0),{status:r?V.RUNNING:V.WAITING}))})),P(this,"stop",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=t.getState(),o=n.index,r=n.status;-1===[V.FINISHED,V.SKIPPED].indexOf(r)&&t.setState(T({},t.getNextState({action:A.STOP,index:o+(e?1:0)}),{status:V.PAUSED}))})),P(this,"close",(function(){var e=t.getState(),n=e.index;e.status===V.RUNNING&&t.setState(T({},t.getNextState({action:A.CLOSE,index:n+1})))})),P(this,"go",(function(e){var n=t.getState(),o=n.controlled,r=n.status;if(!o&&r===V.RUNNING){var i=t.getSteps()[e];t.setState(T({},t.getNextState({action:A.GO,index:e}),{status:i?r:V.FINISHED}))}})),P(this,"info",(function(){return t.getState()})),P(this,"next",(function(){var e=t.getState(),n=e.index;e.status===V.RUNNING&&t.setState(t.getNextState({action:A.NEXT,index:n+1}))})),P(this,"open",(function(){t.getState().status===V.RUNNING&&t.setState(T({},t.getNextState({action:A.UPDATE,lifecycle:G.TOOLTIP})))})),P(this,"prev",(function(){var e=t.getState(),n=e.index;e.status===V.RUNNING&&t.setState(T({},t.getNextState({action:A.PREV,index:n-1})))})),P(this,"reset",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=t.getState(),o=n.controlled;o||t.setState(T({},t.getNextState({action:A.RESET,index:0}),{status:e?V.RUNNING:V.READY}))})),P(this,"skip",(function(){t.getState().status===V.RUNNING&&t.setState({action:A.SKIP,lifecycle:G.INIT,status:V.SKIPPED})})),this.setState({action:A.INIT,controlled:u.a.number(a),continuous:i,index:u.a.number(a)?a:0,lifecycle:G.INIT,status:l.length?V.READY:V.IDLE},!0),this.setSteps(l)}return x(e,[{key:"setState",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=this.getState(),r=T({},o,{},e),i=r.action,a=r.index,s=r.lifecycle,l=r.size,c=r.status;t.set("action",i),t.set("index",a),t.set("lifecycle",s),t.set("size",l),t.set("status",c),n&&(t.set("controlled",e.controlled),t.set("continuous",e.continuous)),this.listener&&this.hasUpdatedState(o)&&this.listener(this.getState())}},{key:"getState",value:function(){return t.size?{action:t.get("action")||"",controlled:t.get("controlled")||!1,index:parseInt(t.get("index"),10),lifecycle:t.get("lifecycle")||"",size:t.get("size")||0,status:t.get("status")||""}:T({},re)}},{key:"getNextState",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.getState(),o=n.action,r=n.controlled,i=n.index,a=n.size,s=n.status,l=u.a.number(e.index)?e.index:i,c=r&&!t?i:Math.min(Math.max(l,0),a);return{action:e.action||o,controlled:r,index:c,lifecycle:e.lifecycle||G.INIT,size:e.size||a,status:c===a?V.FINISHED:e.status||s}}},{key:"hasUpdatedState",value:function(e){return JSON.stringify(e)!==JSON.stringify(this.getState())}},{key:"getSteps",value:function(){var e=n.get("steps");return Array.isArray(e)?e:[]}},{key:"getHelpers",value:function(){return{close:this.close,go:this.go,info:this.info,next:this.next,open:this.open,prev:this.prev,reset:this.reset,skip:this.skip}}}]),e}())(e)}function se(){return document.scrollingElement||document.createElement("body")}function le(e){return e?e.getBoundingClientRect():{}}function ce(e){return"string"==typeof e?document.querySelector(e):e}function ue(e){return e&&1===e.nodeType?getComputedStyle(e):{}}function pe(e,t,n){var o=g()(e);return o.isSameNode(se())?n?document:se():o.scrollHeight>o.offsetHeight||t?o:(o.style.overflow="initial",se())}function fe(e,t){return!!e&&!pe(e,t).isSameNode(se())}function de(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"fixed";if(!(e&&e instanceof HTMLElement))return!1;var n=e.nodeName;return"BODY"!==n&&"HTML"!==n&&(ue(e).position===t||de(e.parentNode,t))}function he(e,t,n){if(!e)return 0;var o=g()(e),r=e.offsetTop;return fe(e,n)&&!function(e){return e.offsetParent!==document.body}(e)&&(r-=o.offsetTop),Math.floor(r-t)}!function(e){function t(t,n,o,r,i,a){var s=r||"<<anonymous>>",l=a||o;if(null==n[o])return t?new Error("Required ".concat(i," `").concat(l,"` was not specified in `").concat(s,"`.")):null;for(var c=arguments.length,u=new Array(c>6?c-6:0),p=6;p<c;p++)u[p-6]=arguments[p];return e.apply(void 0,[n,o,s,i,l].concat(u))}var n=t.bind(null,!1);n.isRequired=t.bind(null,!0)}((function(e,t,n,o,r){var i=e[t],s=i;if(!a.a.isValidElement(i)&&Object(b.isValidElementType)(i)){s=a.a.createElement(s,{ref:function(){},step:{}})}if(u.a.string(i)||u.a.number(i)||!Object(b.isValidElementType)(i)||-1===[b.Element,b.ForwardRef].indexOf(Object(b.typeOf)(s)))return new Error("Invalid ".concat(o," `").concat(r,"` supplied to `").concat(n,"`. Expected a React class or forwardRef."))}));var me={arrowColor:"#fff",backgroundColor:"#fff",beaconSize:36,overlayColor:"rgba(0, 0, 0, 0.5)",primaryColor:"#f04",spotlightShadow:"0 0 15px rgba(0, 0, 0, 0.5)",textColor:"#333",zIndex:100},ye={backgroundColor:"transparent",border:0,borderRadius:0,color:"#555",cursor:"pointer",fontSize:16,lineHeight:1,padding:8,WebkitAppearance:"none"},ve={borderRadius:4,position:"absolute"};var ge={floaterProps:{options:{preventOverflow:{boundariesElement:"scrollParent"}},wrapperOptions:{offset:-18,position:!0}},locale:{back:"Back",close:"Close",last:"Last",next:"Next",open:"Open the dialog",skip:"Skip"},step:{event:"click",placement:"bottom",offset:10}};function be(e){var t=["beaconComponent","disableCloseOnEsc","disableOverlay","disableOverlayClose","disableScrolling","disableScrollParentFix","floaterProps","hideBackButton","locale","showProgress","showSkipButton","spotlightClicks","spotlightPadding","styles","tooltipComponent"];return Object.keys(e).filter((function(e){return-1!==t.indexOf(e)})).reduce((function(t,n){return t[n]=e[n],t}),{})}function we(e,t){if(!e)return null;var n=E.a.all([be(t),ge.step,e],{isMergeableObject:u.a.plainObject}),o=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=E()(me,e.options||{}),n=290;window.innerWidth>480&&(n=380),t.width&&(n=window.innerWidth<t.width?window.innerWidth-30:t.width);var o={bottom:0,left:0,overflow:"hidden",position:"absolute",right:0,top:0,zIndex:t.zIndex},r={beacon:T({},ye,{display:"inline-block",height:t.beaconSize,position:"relative",width:t.beaconSize,zIndex:t.zIndex}),beaconInner:{animation:"joyride-beacon-inner 1.2s infinite ease-in-out",backgroundColor:t.primaryColor,borderRadius:"50%",display:"block",height:"50%",left:"50%",opacity:.7,position:"absolute",top:"50%",transform:"translate(-50%, -50%)",width:"50%"},beaconOuter:{animation:"joyride-beacon-outer 1.2s infinite ease-in-out",backgroundColor:"rgba(".concat(ee(t.primaryColor).join(","),", 0.2)"),border:"2px solid ".concat(t.primaryColor),borderRadius:"50%",boxSizing:"border-box",display:"block",height:"100%",left:0,opacity:.9,position:"absolute",top:0,transformOrigin:"center",width:"100%"},tooltip:{backgroundColor:t.backgroundColor,borderRadius:5,boxSizing:"border-box",color:t.textColor,fontSize:16,maxWidth:"100%",padding:15,position:"relative",width:n},tooltipContainer:{lineHeight:1.4,textAlign:"center"},tooltipTitle:{fontSize:18,margin:0},tooltipContent:{padding:"20px 10px"},tooltipFooter:{alignItems:"center",display:"flex",justifyContent:"flex-end",marginTop:15},tooltipFooterSpacer:{flex:1},buttonNext:T({},ye,{backgroundColor:t.primaryColor,borderRadius:4,color:"#fff"}),buttonBack:T({},ye,{color:t.primaryColor,marginLeft:"auto",marginRight:5}),buttonClose:T({},ye,{color:t.textColor,height:14,padding:15,position:"absolute",right:0,top:0,width:14}),buttonSkip:T({},ye,{color:t.textColor,fontSize:14}),overlay:T({},o,{backgroundColor:t.overlayColor,mixBlendMode:"hard-light"}),overlayLegacy:T({},o),overlayLegacyCenter:T({},o,{backgroundColor:t.overlayColor}),spotlight:T({},ve,{backgroundColor:"gray"}),spotlightLegacy:T({},ve,{boxShadow:"0 0 0 9999px ".concat(t.overlayColor,", ").concat(t.spotlightShadow)}),floaterStyles:{arrow:{color:t.arrowColor},options:{zIndex:t.zIndex}},options:t};return E()(r,e)}(E()(t.styles||{},e.styles||{})),r=fe(ce(e.target),n.disableScrollParentFix),i=E.a.all([t.floaterProps||{},ge.floaterProps,n.floaterProps||{}]);return i.offset=n.offset,i.styles=E()(i.styles||{},o.floaterStyles||{}),delete o.floaterStyles,i.offset+=t.spotlightPadding||e.spotlightPadding,e.placementBeacon&&(i.wrapperOptions.placement=e.placementBeacon),r&&(i.options.preventOverflow.boundariesElement="window"),T({},n,{locale:E.a.all([ge.locale,t.locale||{},n.locale||{}]),floaterProps:i,styles:o})}function Ee(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return u.a.plainObject(e)?!!e.target||(oe({title:"validateStep",data:"target is missing from the step",warn:!0,debug:t}),!1):(oe({title:"validateStep",data:"step must be an object",warn:!0,debug:t}),!1)}function Oe(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return u.a.array(e)?e.every((function(e){return Ee(e,t)})):(oe({title:"validateSteps",data:"steps must be an array",warn:!0,debug:t}),!1)}var Se=function e(t){var n=this,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(S(this,e),P(this,"element",void 0),P(this,"options",void 0),P(this,"canBeTabbed",(function(e){var t=e.tabIndex;return(null===t||t<0)&&(t=void 0),!isNaN(t)&&n.canHaveFocus(e,!0)})),P(this,"canHaveFocus",(function(e,t){var o=e.nodeName.toLowerCase();return(/input|select|textarea|button|object/.test(o)&&!e.getAttribute("disabled")||"a"===o&&e.getAttribute("href")||t)&&n.isVisible(e)})),P(this,"findValidTabElements",(function(){return[].slice.call(n.element.querySelectorAll("*"),0).filter(n.canBeTabbed)})),P(this,"handleKeyDown",(function(e){var t=n.options.keyCode,o=void 0===t?9:t;e.keyCode===o&&n.interceptTab(e)})),P(this,"interceptTab",(function(e){e.preventDefault();var t=n.findValidTabElements(),o=e.shiftKey;if(t.length){var r=t.indexOf(document.activeElement);-1===r||!o&&r+1===t.length?r=0:o&&0===r?r=t.length-1:r+=o?-1:1,t[r].focus()}})),P(this,"isHidden",(function(e){var t=e.offsetWidth<=0&&e.offsetHeight<=0,n=window.getComputedStyle(e);return!(!t||e.innerHTML)||(t&&"visible"!==n.getPropertyValue("overflow")||"none"===n.getPropertyValue("display"))})),P(this,"isVisible",(function(e){for(var t=e;t;)if(t instanceof HTMLElement){if(t===document.body)break;if(n.isHidden(t))return!1;t=t.parentNode}return!0})),P(this,"removeScope",(function(){window.removeEventListener("keydown",n.handleKeyDown)})),P(this,"checkFocus",(function(e){document.activeElement!==e&&(e.focus(),window.requestAnimationFrame((function(){return n.checkFocus(e)})))})),P(this,"setFocus",(function(){var e=n.options.selector;if(e){var t=n.element.querySelector(e);t&&window.requestAnimationFrame((function(){return n.checkFocus(t)}))}})),!(t instanceof HTMLElement))throw new TypeError("Invalid parameter: element must be an HTMLElement");this.element=t,this.options=o,window.addEventListener("keydown",this.handleKeyDown,!1),this.setFocus()},ke=function(e){function t(e){var n;if(S(this,t),P(L(n=_(this,I(t).call(this,e))),"setBeaconRef",(function(e){n.beacon=e})),!e.beaconComponent){var o=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css",r.id="joyride-beacon-animation",r.appendChild(document.createTextNode("\n @keyframes joyride-beacon-inner {\n 20% {\n opacity: 0.9;\n }\n \n 90% {\n opacity: 0.7;\n }\n }\n \n @keyframes joyride-beacon-outer {\n 0% {\n transform: scale(1);\n }\n \n 45% {\n opacity: 0.7;\n transform: scale(0.75);\n }\n \n 100% {\n opacity: 0.9;\n transform: scale(1);\n }\n }\n ")),o.appendChild(r)}return n}return j(t,e),x(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props.shouldFocus;setTimeout((function(){u.a.domElement(e.beacon)&&t&&e.beacon.focus()}),0)}},{key:"componentWillUnmount",value:function(){var e=document.getElementById("joyride-beacon-animation");e&&e.parentNode.removeChild(e)}},{key:"render",value:function(){var e,t=this.props,n=t.beaconComponent,o=t.locale,r=t.onClickOrHover,i=t.styles,s={"aria-label":o.open,onClick:r,onMouseEnter:r,ref:this.setBeaconRef,title:o.open};if(n){var l=n;e=a.a.createElement(l,s)}else e=a.a.createElement("button",C({key:"JoyrideBeacon",className:"react-joyride__beacon",style:i.beacon,type:"button"},s),a.a.createElement("span",{style:i.beaconInner}),a.a.createElement("span",{style:i.beaconOuter}));return e}}]),t}(a.a.Component),xe=function(e){var t=e.styles;return a.a.createElement("div",{key:"JoyrideSpotlight",className:"react-joyride__spotlight",style:t})},Pe=function(e){function t(){var e,n;S(this,t);for(var o=arguments.length,r=new Array(o),i=0;i<o;i++)r[i]=arguments[i];return P(L(n=_(this,(e=I(t)).call.apply(e,[this].concat(r)))),"_isMounted",!1),P(L(n),"state",{mouseOverSpotlight:!1,isScrolling:!1,showSpotlight:!0}),P(L(n),"handleMouseMove",(function(e){var t=n.state.mouseOverSpotlight,o=n.spotlightStyles,r=o.height,i=o.left,a=o.position,s=o.top,l=o.width,c="fixed"===a?e.clientY:e.pageY,u="fixed"===a?e.clientX:e.pageX,p=u>=i&&u<=i+l&&(c>=s&&c<=s+r);p!==t&&n.updateState({mouseOverSpotlight:p})})),P(L(n),"handleScroll",(function(){var e=ce(n.props.target);n.scrollParent!==document?(n.state.isScrolling||n.updateState({isScrolling:!0,showSpotlight:!1}),clearTimeout(n.scrollTimeout),n.scrollTimeout=setTimeout((function(){n.updateState({isScrolling:!1,showSpotlight:!0})}),50)):de(e,"sticky")&&n.updateState({})})),P(L(n),"handleResize",(function(){clearTimeout(n.resizeTimeout),n.resizeTimeout=setTimeout((function(){n._isMounted&&n.forceUpdate()}),100)})),n}return j(t,e),x(t,[{key:"componentDidMount",value:function(){var e=this.props,t=(e.debug,e.disableScrolling,e.disableScrollParentFix),n=ce(e.target);this.scrollParent=pe(n,t,!0),this._isMounted=!0,window.addEventListener("resize",this.handleResize)}},{key:"componentDidUpdate",value:function(e){var t=this,n=this.props,o=n.lifecycle,r=n.spotlightClicks,i=l()(e,this.props),a=i.changed;(0,i.changedTo)("lifecycle",G.TOOLTIP)&&(this.scrollParent.addEventListener("scroll",this.handleScroll,{passive:!0}),setTimeout((function(){t.state.isScrolling||t.updateState({showSpotlight:!0})}),100)),(a("spotlightClicks")||a("disableOverlay")||a("lifecycle"))&&(r&&o===G.TOOLTIP?window.addEventListener("mousemove",this.handleMouseMove,!1):o!==G.TOOLTIP&&window.removeEventListener("mousemove",this.handleMouseMove))}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,window.removeEventListener("mousemove",this.handleMouseMove),window.removeEventListener("resize",this.handleResize),clearTimeout(this.resizeTimeout),clearTimeout(this.scrollTimeout),this.scrollParent.removeEventListener("scroll",this.handleScroll)}},{key:"updateState",value:function(e){this._isMounted&&this.setState(e)}},{key:"render",value:function(){var e=this.state,t=e.mouseOverSpotlight,n=e.showSpotlight,o=this.props,r=o.disableOverlay,i=o.lifecycle,s=o.onClickOverlay,l=o.placement,c=o.styles;if(r||i!==G.TOOLTIP)return null;var u=c.overlay;ne()&&(u="center"===l?c.overlayLegacyCenter:c.overlayLegacy);var p,f,d,h=T({cursor:"pointer",height:(p=document,f=p.body,d=p.documentElement,f&&d?Math.max(f.scrollHeight,f.offsetHeight,d.clientHeight,d.scrollHeight,d.offsetHeight):0),pointerEvents:t?"none":"auto"},u),m="center"!==l&&n&&a.a.createElement(xe,{styles:this.spotlightStyles});if("safari"===K()){h.mixBlendMode,h.zIndex;var y=M(h,["mixBlendMode","zIndex"]);m=a.a.createElement("div",{style:T({},y)},m),delete h.backgroundColor}return a.a.createElement("div",{className:"react-joyride__overlay",style:h,onClick:s},m)}},{key:"spotlightStyles",get:function(){var e=this.state.showSpotlight,t=this.props,n=t.disableScrollParentFix,o=t.spotlightClicks,r=t.spotlightPadding,i=t.styles,a=ce(t.target),s=le(a),l=de(a),c=function(e,t,n){var o=le(e),r=pe(e,n),i=fe(e,n),a=0;r instanceof HTMLElement&&(a=r.scrollTop);var s=o.top+(i||de(e)?0:a);return Math.floor(s-t)}(a,r,n);return T({},ne()?i.spotlightLegacy:i.spotlight,{height:Math.round(s.height+2*r),left:Math.round(s.left-r),opacity:e?1:0,pointerEvents:o?"none":"auto",position:l?"fixed":"absolute",top:c,transition:"opacity 0.2s",width:Math.round(s.width+2*r)})}}]),t}(a.a.Component),Ce=function(e){var t=e.styles,n=M(e,["styles"]),o=t.color,r=t.height,i=t.width,s=M(t,["color","height","width"]);return a.a.createElement("button",C({style:s,type:"button"},n),a.a.createElement("svg",{width:"number"==typeof i?"".concat(i,"px"):i,height:"number"==typeof r?"".concat(r,"px"):r,viewBox:"0 0 18 18",version:"1.1",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid"},a.a.createElement("g",null,a.a.createElement("path",{d:"M8.13911129,9.00268191 L0.171521827,17.0258467 C-0.0498027049,17.248715 -0.0498027049,17.6098394 0.171521827,17.8327545 C0.28204354,17.9443526 0.427188206,17.9998706 0.572051765,17.9998706 C0.71714958,17.9998706 0.862013139,17.9443526 0.972581703,17.8327545 L9.0000937,9.74924618 L17.0276057,17.8327545 C17.1384085,17.9443526 17.2832721,17.9998706 17.4281356,17.9998706 C17.5729992,17.9998706 17.718097,17.9443526 17.8286656,17.8327545 C18.0499901,17.6098862 18.0499901,17.2487618 17.8286656,17.0258467 L9.86135722,9.00268191 L17.8340066,0.973848225 C18.0553311,0.750979934 18.0553311,0.389855532 17.8340066,0.16694039 C17.6126821,-0.0556467968 17.254037,-0.0556467968 17.0329467,0.16694039 L9.00042166,8.25611765 L0.967006424,0.167268345 C0.745681892,-0.0553188426 0.387317931,-0.0553188426 0.165993399,0.167268345 C-0.0553311331,0.390136635 -0.0553311331,0.751261038 0.165993399,0.974176179 L8.13920499,9.00268191 L8.13911129,9.00268191 Z",fill:o}))))},Ne=function(e){function t(){return S(this,t),_(this,I(t).apply(this,arguments))}return j(t,e),x(t,[{key:"render",value:function(){var e=this.props,t=e.backProps,n=e.closeProps,o=e.continuous,r=e.index,i=e.isLastStep,s=e.primaryProps,l=e.size,c=e.skipProps,u=e.step,p=e.tooltipProps,f=u.content,d=u.hideBackButton,h=u.hideCloseButton,m=u.hideFooter,y=u.showProgress,v=u.showSkipButton,g=u.title,b=u.styles,w=u.locale,E=w.back,O=w.close,S=w.last,k=w.next,x=w.skip,P={primary:O};return o&&(P.primary=i?S:k,y&&(P.primary=a.a.createElement("span",null,P.primary," (",r+1,"/",l,")"))),v&&!i&&(P.skip=a.a.createElement("button",C({style:b.buttonSkip,type:"button","aria-live":"off"},c),x)),!d&&r>0&&(P.back=a.a.createElement("button",C({style:b.buttonBack,type:"button"},t),E)),P.close=!h&&a.a.createElement(Ce,C({styles:b.buttonClose},n)),a.a.createElement("div",C({key:"JoyrideTooltip",className:"react-joyride__tooltip",style:b.tooltip},p),a.a.createElement("div",{style:b.tooltipContainer},g&&a.a.createElement("h4",{style:b.tooltipTitle,"aria-label":g},g),a.a.createElement("div",{style:b.tooltipContent},f)),!m&&a.a.createElement("div",{style:b.tooltipFooter},a.a.createElement("div",{style:b.tooltipFooterSpacer},P.skip),P.back,a.a.createElement("button",C({style:b.buttonNext,type:"button"},s),P.primary)),P.close)}}]),t}(a.a.Component),Te=function(e){function t(){var e,n;S(this,t);for(var o=arguments.length,r=new Array(o),i=0;i<o;i++)r[i]=arguments[i];return P(L(n=_(this,(e=I(t)).call.apply(e,[this].concat(r)))),"handleClickBack",(function(e){e.preventDefault(),n.props.helpers.prev()})),P(L(n),"handleClickClose",(function(e){e.preventDefault(),n.props.helpers.close()})),P(L(n),"handleClickPrimary",(function(e){e.preventDefault();var t=n.props,o=t.continuous,r=t.helpers;o?r.next():r.close()})),P(L(n),"handleClickSkip",(function(e){e.preventDefault(),n.props.helpers.skip()})),P(L(n),"getElementsProps",(function(){var e=n.props,t=e.continuous,o=e.isLastStep,r=e.setTooltipRef,i=e.step,a=J(i.locale.back),s=J(i.locale.close),l=J(i.locale.last),c=J(i.locale.next),u=J(i.locale.skip),p=t?c:s;return o&&(p=l),{backProps:{"aria-label":a,"data-action":"back",onClick:n.handleClickBack,role:"button",title:a},closeProps:{"aria-label":s,"data-action":"close",onClick:n.handleClickClose,role:"button",title:s},primaryProps:{"aria-label":p,"data-action":"primary",onClick:n.handleClickPrimary,role:"button",title:p},skipProps:{"aria-label":u,"data-action":"skip",onClick:n.handleClickSkip,role:"button",title:u},tooltipProps:{"aria-modal":!0,ref:r,role:"alertdialog"}}})),n}return j(t,e),x(t,[{key:"render",value:function(){var e,t=this.props,n=t.continuous,o=t.index,r=t.isLastStep,i=t.size,s=t.step,l=(s.beaconComponent,s.tooltipComponent),c=M(s,["beaconComponent","tooltipComponent"]);if(l){var u=T({},this.getElementsProps(),{continuous:n,index:o,isLastStep:r,size:i,step:c}),p=l;e=a.a.createElement(p,u)}else e=a.a.createElement(Ne,C({},this.getElementsProps(),{continuous:n,index:o,isLastStep:r,size:i,step:s}));return e}}]),t}(a.a.Component),je=function(e){function t(e){var n;return S(this,t),n=_(this,I(t).call(this,e)),Y?(n.node=document.createElement("div"),e.id&&(n.node.id=e.id),document.body.appendChild(n.node),n):_(n)}return j(t,e),x(t,[{key:"componentDidMount",value:function(){Y&&($||this.renderReact15())}},{key:"componentDidUpdate",value:function(){Y&&($||this.renderReact15())}},{key:"componentWillUnmount",value:function(){Y&&this.node&&($||f.a.unmountComponentAtNode(this.node),document.body.removeChild(this.node))}},{key:"renderReact15",value:function(){if(!Y)return null;var e=this.props.children;return f.a.unstable_renderSubtreeIntoContainer(this,e,this.node),null}},{key:"renderReact16",value:function(){if(!Y||!$)return null;var e=this.props.children;return f.a.createPortal(e,this.node)}},{key:"render",value:function(){return $?this.renderReact16():null}}]),t}(a.a.Component),Ie=function(e){function t(){var e,n;S(this,t);for(var o=arguments.length,r=new Array(o),i=0;i<o;i++)r[i]=arguments[i];return P(L(n=_(this,(e=I(t)).call.apply(e,[this].concat(r)))),"scope",{removeScope:function(){}}),P(L(n),"handleClickHoverBeacon",(function(e){var t=n.props,o=t.step,r=t.update;"mouseenter"===e.type&&"hover"!==o.event||r({lifecycle:G.TOOLTIP})})),P(L(n),"handleClickOverlay",(function(){var e=n.props,t=e.helpers;e.step.disableOverlayClose||t.close()})),P(L(n),"setTooltipRef",(function(e){n.tooltip=e})),P(L(n),"setPopper",(function(e,t){var o=n.props,r=o.action,i=o.setPopper,a=o.update;"wrapper"===t?n.beaconPopper=e:n.tooltipPopper=e,i(e,t),n.beaconPopper&&n.tooltipPopper&&a({action:r===A.CLOSE?A.CLOSE:r,lifecycle:G.READY})})),n}return j(t,e),x(t,[{key:"componentDidMount",value:function(){var e=this.props,t=e.debug,n=e.index;oe({title:"step:".concat(n),data:[{key:"props",value:this.props}],debug:t})}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.action,o=t.callback,r=t.continuous,i=t.controlled,a=t.debug,s=t.index,c=t.lifecycle,u=t.size,p=t.status,f=t.step,d=t.update,h=l()(e,this.props),m=h.changed,y=h.changedTo,v=h.changedFrom,g={action:n,controlled:i,index:s,lifecycle:c,size:u,status:p},b=r&&n!==A.CLOSE&&(s>0||n===A.PREV),w=m("action")||m("index")||m("lifecycle")||m("status"),E=v("lifecycle",[G.TOOLTIP,G.INIT],G.INIT);if(y("action",[A.NEXT,A.PREV,A.SKIP,A.CLOSE])&&(E||i)&&o(T({},g,{index:e.index,lifecycle:G.COMPLETE,step:e.step,type:z})),w&&f){var O=ce(f.target),S=!!O;S&&function(e){if(!e)return!1;for(var t=e;t&&t!==document.body;){if(t instanceof HTMLElement){var n=getComputedStyle(t),o=n.display,r=n.visibility;if("none"===o||"hidden"===r)return!1}t=t.parentNode}return!0}(O)?(v("status",V.READY,V.RUNNING)||v("lifecycle",G.INIT,G.READY))&&o(T({},g,{step:f,type:F})):(console.warn(S?"Target not visible":"Target not mounted",f),o(T({},g,{type:q,step:f})),i||d({index:s+(-1!==[A.PREV].indexOf(n)?-1:1)}))}v("lifecycle",G.INIT,G.READY)&&d({lifecycle:te(f)||b?G.TOOLTIP:G.BEACON}),m("index")&&oe({title:"step:".concat(c),data:[{key:"props",value:this.props}],debug:a}),y("lifecycle",G.BEACON)&&o(T({},g,{step:f,type:W})),y("lifecycle",G.TOOLTIP)&&(o(T({},g,{step:f,type:B})),this.scope=new Se(this.tooltip,{selector:"[data-action=primary]"}),this.scope.setFocus()),v("lifecycle",[G.TOOLTIP,G.INIT],G.INIT)&&(this.scope.removeScope(),delete this.beaconPopper,delete this.tooltipPopper)}},{key:"componentWillUnmount",value:function(){this.scope.removeScope()}},{key:"render",value:function(){var e=this.props,t=e.continuous,n=e.debug,o=e.helpers,r=e.index,i=e.lifecycle,s=e.shouldScroll,l=e.size,c=e.step,p=ce(c.target);return Ee(c)&&u.a.domElement(p)?a.a.createElement("div",{key:"JoyrideStep-".concat(r),className:"react-joyride__step"},a.a.createElement(je,{id:"react-joyride-portal"},a.a.createElement(Pe,C({},c,{debug:n,lifecycle:i,onClickOverlay:this.handleClickOverlay}))),a.a.createElement(O.a,C({component:a.a.createElement(Te,{continuous:t,helpers:o,index:r,isLastStep:r+1===l,setTooltipRef:this.setTooltipRef,size:l,step:c}),debug:n,getPopper:this.setPopper,id:"react-joyride-step-".concat(r),isPositioned:c.isFixed||de(p),open:this.open,placement:c.placement,target:c.target},c.floaterProps),a.a.createElement(ke,{beaconComponent:c.beaconComponent,locale:c.locale,onClickOrHover:this.handleClickHoverBeacon,shouldFocus:s,styles:c.styles}))):null}},{key:"open",get:function(){var e=this.props,t=e.step,n=e.lifecycle;return!(!te(t)&&n!==G.TOOLTIP)}}]),t}(a.a.Component),Re=function(e){function t(e){var n;return S(this,t),P(L(n=_(this,I(t).call(this,e))),"initStore",(function(){var e=n.props,t=e.debug,o=e.getHelpers,r=e.run,i=e.stepIndex;n.store=new ae(T({},n.props,{controlled:r&&u.a.number(i)})),n.helpers=n.store.getHelpers();var a=n.store.addListener;return oe({title:"init",data:[{key:"props",value:n.props},{key:"state",value:n.state}],debug:t}),a(n.syncState),o(n.helpers),n.store.getState()})),P(L(n),"callback",(function(e){var t=n.props.callback;u.a.function(t)&&t(e)})),P(L(n),"handleKeyboard",(function(e){var t=n.state,o=t.index,r=t.lifecycle,i=n.props.steps[o],a=window.Event?e.which:e.keyCode;r===G.TOOLTIP&&27===a&&i&&!i.disableCloseOnEsc&&n.store.close()})),P(L(n),"syncState",(function(e){n.setState(e)})),P(L(n),"setPopper",(function(e,t){"wrapper"===t?n.beaconPopper=e:n.tooltipPopper=e})),P(L(n),"shouldScroll",(function(e,t,n,o,r,i,a){return!e&&(0!==t||n||o===G.TOOLTIP)&&"center"!==r.placement&&(!r.isFixed||!de(i))&&a.lifecycle!==o&&-1!==[G.BEACON,G.TOOLTIP].indexOf(o)})),n.state=n.initStore(),n}return j(t,e),x(t,[{key:"componentDidMount",value:function(){if(Y){var e=this.props,t=e.disableCloseOnEsc,n=e.debug,o=e.run,r=e.steps,i=this.store.start;Oe(r,n)&&o&&i(),t||document.body.addEventListener("keydown",this.handleKeyboard,{passive:!0})}}},{key:"componentDidUpdate",value:function(e,t){if(Y){var n=this.state,o=n.action,r=n.controlled,a=n.index,s=n.lifecycle,c=n.status,p=this.props,f=p.debug,d=p.run,h=p.stepIndex,m=p.steps,y=e.steps,v=e.stepIndex,g=this.store,b=g.setSteps,w=g.reset,E=g.start,O=g.stop,S=g.update,k=l()(e,this.props).changed,x=l()(t,this.state),P=x.changed,C=x.changedFrom,N=x.changedTo,j=we(m[a],this.props),I=!function e(t,n){var o,r=Object(i.isValidElement)(t)||Object(i.isValidElement)(n),a=u.a.undefined(t)||u.a.undefined(n);if(X(t)!==X(n)||r||a)return!1;if(u.a.domElement(t))return t.isSameNode(n);if(u.a.number(t))return t===n;if(u.a.function(t))return t.toString()===n.toString();for(var s in t)if(Z(t,s)){if(void 0===t[s]||void 0===n[s])return!1;if(o=X(t[s]),-1!==["object","array"].indexOf(o)&&e(t[s],n[s]))continue;if("function"===o&&e(t[s],n[s]))continue;if(t[s]!==n[s])return!1}for(var l in n)if(Z(n,l)&&void 0===t[l])return!1;return!0}(y,m),R=u.a.number(h)&&k("stepIndex");if(I&&(Oe(m,f)?b(m):console.warn("Steps are not valid",m)),k("run")&&(d?E(h):O()),R){var M=v<h?A.NEXT:A.PREV;o===A.STOP&&(M=A.START),-1===[V.FINISHED,V.SKIPPED].indexOf(c)&&S({action:o===A.CLOSE?A.CLOSE:M,index:h,lifecycle:G.INIT})}var L=T({},this.state,{index:a,step:j});if(N("action",[A.NEXT,A.PREV,A.SKIP,A.CLOSE])&&N("status",V.PAUSED)){var _=we(m[t.index],this.props);this.callback(T({},L,{index:t.index,lifecycle:G.COMPLETE,step:_,type:z}))}if(N("status",[V.FINISHED,V.SKIPPED])){var F=we(m[t.index],this.props);r||this.callback(T({},L,{index:t.index,lifecycle:G.COMPLETE,step:F,type:z})),this.callback(T({},L,{type:H,step:F,index:t.index})),w()}else C("status",[V.IDLE,V.READY],V.RUNNING)?this.callback(T({},L,{type:D})):P("status")?this.callback(T({},L,{type:U})):N("action",A.RESET)&&this.callback(T({},L,{type:U}));j&&(this.scrollToStep(t),"center"===j.placement&&c===V.RUNNING&&s===G.INIT&&this.store.update({lifecycle:G.READY}))}}},{key:"componentWillUnmount",value:function(){this.props.disableCloseOnEsc||document.body.removeEventListener("keydown",this.handleKeyboard)}},{key:"scrollToStep",value:function(e){var t=this.state,n=t.index,o=t.lifecycle,r=t.status,i=this.props,a=i.debug,s=i.disableScrolling,l=i.disableScrollParentFix,c=i.scrollToFirstStep,u=i.scrollOffset,p=i.scrollDuration,f=we(i.steps[n],this.props);if(f){var d=ce(f.target),h=this.shouldScroll(s,n,c,o,f,d,e);if(r===V.RUNNING&&h){var m=fe(d,l),v=pe(d,l),g=Math.floor(he(d,u,l))||0;if(oe({title:"scrollToStep",data:[{key:"index",value:n},{key:"lifecycle",value:o},{key:"status",value:r}],debug:a}),o===G.BEACON&&this.beaconPopper){var b=this.beaconPopper,w=b.placement,E=b.popper;-1!==["bottom"].indexOf(w)||m||(g=Math.floor(E.top-u))}else if(o===G.TOOLTIP&&this.tooltipPopper){var O=this.tooltipPopper,S=O.flipped,k=O.placement,x=O.popper;-1===["top","right","left"].indexOf(k)||S||m?g-=f.spotlightPadding:g=Math.floor(x.top-u)}g=g>=0?g:0,r===V.RUNNING&&function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:se(),n=arguments.length>2?arguments[2]:void 0;new Promise((function(o,r){var i=t.scrollTop,a=e>i?e-i:i-e;y.a.top(t,e,{duration:a<100?50:n},(function(e){return e&&"Element already at target scroll position"!==e.message?r(e):o()}))}))}(g,v,p)}}}},{key:"render",value:function(){if(!Y)return null;var e,t=this.state,n=t.index,o=t.status,r=this.props,i=r.continuous,s=r.debug,l=r.disableScrolling,c=r.scrollToFirstStep,u=we(r.steps[n],this.props);return o===V.RUNNING&&u&&(e=a.a.createElement(Ie,C({},this.state,{callback:this.callback,continuous:i,debug:s,setPopper:this.setPopper,helpers:this.helpers,shouldScroll:!l&&(0!==n||c),step:u,update:this.store.update}))),a.a.createElement("div",{className:"react-joyride"},e)}}]),t}(a.a.Component);P(Re,"defaultProps",{continuous:!1,debug:!1,disableCloseOnEsc:!1,disableOverlay:!1,disableOverlayClose:!1,disableScrolling:!1,disableScrollParentFix:!1,getHelpers:function(){},hideBackButton:!1,run:!0,scrollOffset:20,scrollDuration:300,scrollToFirstStep:!1,showSkipButton:!1,showProgress:!1,spotlightClicks:!1,spotlightPadding:10,steps:[]});var Me=Re;function Le(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],o=!0,r=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(o=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);o=!0);}catch(e){r=!0,i=e}finally{try{o||null==s.return||s.return()}finally{if(r)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var _e=lodash.debounce,Ae=wp.i18n.__,De=wp.components,Fe=De.Button,We=De.Modal,Be=wp.element,ze=Be.Fragment,He=Be.useEffect,Ue=Be.useRef,qe=Be.useState,Ge=function(){var e=Le(qe(!0),2),t=e[0],n=e[1],o=Le(qe(!1),2),r=o[0],i=o[1],a=Ue(null);He((function(){wp.api.loadPromise.then((function(){a.current=new wp.api.models.Settings}))}),[]);var s=[{target:".otter-step-one",content:Ae("Howdy, I'm Ollie The Otter! I will help you configure your Otter experience. So let's start the magic!"),disableBeacon:!0},{target:".otter-step-two",content:Ae("Jazz up your blocks with some sparkly custom CSS or Blocks Animation right inside the block. Here you can enable modules to enhance your experience with Block Editor.")},{target:".otter-step-three",content:Ae("Section Block is the signature feature of Otter. It allows you to build beautiful layouts right inside the Block Editor. You can set Section Block as the default block for your new Pages.")},{target:".otter-step-four",content:Ae("We love maps! Here you can set your Google Maps API key for Otter's Map Block.")},{target:".otter-step-five",content:Ae("If you don't have an API key, you can register one by clicking here.")},{target:".otter-step-six",content:Ae("Help us in making our plugin better with anonymous data tracking.")},{target:".otter-step-seven",content:Ae("If you ever need any help, we are a team of real Otter-lovers who would love to help you out.")},{target:".otter-step-eight",content:Ae("And if you love what we do, please leave us a review at WordPress.org. Your review keeps us motivated to make awesome things.")},{target:".otter-step-one",content:Ae("That's it for now! Hope you enjoy Otter and love it as much as we do.")}],l=_e((function(e){if(t&&n(!1),"ready"===e||"finished"===e||"skipped"===e){var o=new wp.api.models.Settings({themeisle_blocks_settings_tour:!1}).save();o.success((function(e,t){a.current.fetch()})),o.error((function(e,t){console.warning(e.responseJSON.message)}))}}),1e3);return wp.element.createElement(ze,null,t&&wp.element.createElement(We,{title:Ae("Welcome to Otter!"),isDismissable:!1,className:"otter-onboarding-modal"},wp.element.createElement("div",{className:"otter-onboarding-modal-content"},Ae("Would you like to start the onboarding wizard which will help you personalize the plugin for yourself?")),wp.element.createElement("div",{className:"otter-onboarding-modal-action"},wp.element.createElement(Fe,{isPrimary:!0,isLarge:!0,onClick:function(){n(!1),i(!0)}},Ae("Start")),wp.element.createElement(Fe,{isDefault:!0,isLarge:!0,onClick:function(){return l("skipped")}},Ae("Skip")))),wp.element.createElement(Me,{continuous:!0,run:r,steps:s,scrollToFirstStep:!0,showSkipButton:!0,locale:{back:Ae("Back"),close:Ae("Close"),last:Ae("Finish"),next:Ae("Next"),skip:Ae("Skip")},callback:function(e){return l(e.status)}}))},Ve=n(15),Ye=n.n(Ve),$e=wp.i18n.__,Ke=function(){return wp.element.createElement("header",{className:"otter-header"},wp.element.createElement("div",{className:Ye()("otter-container","otter-step-one")},wp.element.createElement("div",{className:"otter-logo"},wp.element.createElement("img",{src:otterObj.assetsPath+"images/logo.png",title:$e("Gutenberg Blocks and Template Library by Otter")}),wp.element.createElement("abbr",{title:"Version: ".concat(otterObj.version),className:"version"},otterObj.version))))};n(23);function Xe(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],o=!0,r=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(o=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);o=!0);}catch(e){r=!0,i=e}finally{try{o||null==s.return||s.return()}finally{if(r)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var Je=wp.i18n.__,Ze=wp.components,Qe=Ze.BaseControl,et=Ze.Button,tt=Ze.ExternalLink,nt=Ze.PanelBody,ot=Ze.PanelRow,rt=Ze.Placeholder,it=Ze.Spinner,at=Ze.ToggleControl,st=wp.element,lt=st.Fragment,ct=st.useEffect,ut=st.useRef,pt=st.useState,ft=function(){ct((function(){wp.api.loadPromise.then((function(){x.current=new wp.api.models.Settings,!1===t&&x.current.fetch().then((function(e){f(Boolean(e.themeisle_blocks_settings_css_module)),m(Boolean(e.themeisle_blocks_settings_blocks_animation)),g(Boolean(e.themeisle_blocks_settings_default_block)),E(e.themeisle_google_map_block_api_key),k(e.otter_blocks_logger_flag),n(!0)}))}))}),[]);var e=Xe(pt(!1),2),t=e[0],n=e[1],r=Xe(pt(!1),2),i=r[0],a=r[1],s=Xe(pt(null),2),l=s[0],c=s[1],u=Xe(pt(!1),2),p=u[0],f=u[1],d=Xe(pt(!1),2),h=d[0],m=d[1],y=Xe(pt(!0),2),v=y[0],g=y[1],b=Xe(pt(""),2),w=b[0],E=b[1],O=Xe(pt("no"),2),S=O[0],k=O[1],x=ut(null),P=(ut(null),function(e,t,n){a(!0),N(Je("Updating settings…"),"info");var r=new wp.api.models.Settings(function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},e,n)).save();r.success((function(n,r){o.store.removeNotification(l),"success"===r&&(C(t,n[e]),setTimeout((function(){N(Je("Settings saved."),"success"),a(!1)}),800)),"error"===r&&setTimeout((function(){N(Je("An unknown error occurred."),"danger"),a(!1)}),800),x.current.fetch()})),r.error((function(e,t){o.store.removeNotification(l),setTimeout((function(){N(e.responseJSON.message?e.responseJSON.message:Je("An unknown error occurred."),"danger"),a(!1)}),800)}))}),C=function(e,t){switch(e){case"cssModule":f(t);break;case"blocksAnimation":m(t);break;case"isDefaultSection":g(t);break;case"googleMapsAPI":E(t);break;case"isLoggingData":k(t)}},N=function(e,t){var n=o.store.addNotification({message:e,type:t,insert:"top",container:"bottom-left",isMobile:!0,dismiss:{duration:2e3,showIcon:!0},dismissable:{click:!0,touch:!0}});c(n)};return t?wp.element.createElement(lt,null,wp.element.createElement("div",{className:"otter-main"},wp.element.createElement("div",{className:"otter-step-two"},wp.element.createElement(nt,{title:Je("Modules")},wp.element.createElement(ot,null,wp.element.createElement(at,{label:Je("Enable Custom CSS Module"),help:"Custom CSS module allows to add custom CSS to each block in Block Editor.",checked:p,onChange:function(){return P("themeisle_blocks_settings_css_module","cssModule",!p)}})),wp.element.createElement(ot,null,wp.element.createElement(at,{label:Je("Enable Blocks Animation Module"),help:"Blocks Animation module allows to add CSS animations to each block in Block Editor.",checked:h,onChange:function(){return P("themeisle_blocks_settings_blocks_animation","blocksAnimation",!h)}})))),wp.element.createElement("div",{className:"otter-step-three"},wp.element.createElement(nt,{title:Je("Section")},wp.element.createElement(ot,null,wp.element.createElement(at,{label:Je("Make Section your default block for Pages"),help:"Everytime you create a new page, Section block will be appended there by default.",checked:v,onChange:function(){return P("themeisle_blocks_settings_default_block","isDefaultSection",!v)}})))),wp.element.createElement("div",{className:"otter-step-four"},wp.element.createElement(nt,{title:Je("Maps")},wp.element.createElement(ot,null,wp.element.createElement(Qe,{label:Je("Google Maps API"),help:"In order to use Google Maps block, you need to use Google Maps and Places API.",id:"otter-options-google-map-api",className:"otter-text-field"},wp.element.createElement("input",{type:"text",id:"otter-options-google-map-api",value:w,placeholder:Je("Google Maps API Key"),disabled:i,onChange:function(e){return E(e.target.value)}}),wp.element.createElement("div",{className:"otter-text-field-button-group"},wp.element.createElement(et,{isPrimary:!0,isLarge:!0,disabled:i,onClick:function(){return P("themeisle_google_map_block_api_key","googleMapsAPI",w)}},Je("Save")),wp.element.createElement(tt,{href:"https://developers.google.com/maps/documentation/javascript/get-api-key",className:"otter-step-five"},Je("Get API Key"))))))),wp.element.createElement("div",{className:"otter-step-six"},wp.element.createElement(nt,{title:Je("Other")},wp.element.createElement(ot,null,wp.element.createElement(at,{label:Je("Anonymous Data Tracking."),help:"Become a contributor by opting in to our anonymous data tracking. We guarantee no sensitive data is collected.",checked:"yes"===S,onChange:function(){return P("otter_blocks_logger_flag","isLoggingData","yes"===S?"no":"yes")}})))),wp.element.createElement(nt,null,wp.element.createElement("div",{className:"otter-info"},wp.element.createElement("h2",null,Je("Got a question for us?")),wp.element.createElement("p",null,Je("We would love to help you out if you need any help with Otter.")),wp.element.createElement("div",{className:"otter-info-button-group"},wp.element.createElement(et,{isDefault:!0,isLarge:!0,target:"_blank",href:"https://wordpress.org/support/plugin/otter-blocks",className:"otter-step-seven"},Je("Ask a question")),wp.element.createElement(et,{isDefault:!0,isLarge:!0,target:"_blank",href:"https://wordpress.org/support/plugin/otter-blocks/reviews/#new-post",className:"otter-step-eight"},Je("Leave a review"))))))):wp.element.createElement(rt,null,wp.element.createElement(it,null))},dt=wp.i18n.__,ht=function(){return wp.element.createElement("footer",{className:"otter-footer"},wp.element.createElement("div",{className:"otter-container"},dt("No otters were harmed during the making of this plugin.")))},mt=wp.element,yt=mt.render,vt=mt.Fragment;yt(wp.element.createElement((function(){return wp.element.createElement(vt,null,Boolean(otterObj.showTour)&&wp.element.createElement(Ge,null),wp.element.createElement(r.a,null),wp.element.createElement(Ke,null),wp.element.createElement(ft,null),wp.element.createElement(ht,null))}),null),document.getElementById("otter"))}]);
class-otter-blocks.php CHANGED
@@ -76,8 +76,8 @@ class Otter_Blocks {
76
\ThemeIsle\GutenbergAnimation::instance();
77
}
78
79
- if ( class_exists( '\ThemeIsle\GutenbergBlocks' ) ) {
80
- \ThemeIsle\GutenbergBlocks::instance( $this->name );
81
}
82
}
83
76
\ThemeIsle\GutenbergAnimation::instance();
77
}
78
79
+ if ( class_exists( '\ThemeIsle\GutenbergBlocks\Main' ) ) {
80
+ \ThemeIsle\GutenbergBlocks\Main::instance( $this->name );
81
}
82
}
83
otter-blocks.php CHANGED
@@ -7,7 +7,7 @@
7
* Plugin Name: Gutenberg Blocks and Template Library by Otter
8
* Plugin URI: https://themeisle.com/plugins/otter-blocks
9
* Description: Create beautiful and attracting posts, pages, and landing pages with Gutenberg Blocks and Template Library by Otter. Otter comes with dozens of Gutenberg blocks that are all you need to build beautiful pages.
10
- * Version: 1.3.3
11
* Author: ThemeIsle
12
* Author URI: https://themeisle.com
13
* License: GPL-2.0+
@@ -26,7 +26,7 @@ if ( ! defined( 'WPINC' ) ) {
26
define( 'OTTER_BLOCKS_BASEFILE', __FILE__ );
27
define( 'OTTER_BLOCKS_URL', plugins_url( '/', __FILE__ ) );
28
define( 'OTTER_BLOCKS_PATH', dirname( __FILE__ ) );
29
- define( 'OTTER_BLOCKS_VERSION', '1.3.3' );
30
define( 'OTTER_BLOCKS_DEV', false );
31
32
$vendor_file = OTTER_BLOCKS_PATH . '/vendor/autoload.php';
7
* Plugin Name: Gutenberg Blocks and Template Library by Otter
8
* Plugin URI: https://themeisle.com/plugins/otter-blocks
9
* Description: Create beautiful and attracting posts, pages, and landing pages with Gutenberg Blocks and Template Library by Otter. Otter comes with dozens of Gutenberg blocks that are all you need to build beautiful pages.
10
+ * Version: 1.4.0
11
* Author: ThemeIsle
12
* Author URI: https://themeisle.com
13
* License: GPL-2.0+
26
define( 'OTTER_BLOCKS_BASEFILE', __FILE__ );
27
define( 'OTTER_BLOCKS_URL', plugins_url( '/', __FILE__ ) );
28
define( 'OTTER_BLOCKS_PATH', dirname( __FILE__ ) );
29
+ define( 'OTTER_BLOCKS_VERSION', '1.4.0' );
30
define( 'OTTER_BLOCKS_DEV', false );
31
32
$vendor_file = OTTER_BLOCKS_PATH . '/vendor/autoload.php';
readme.md CHANGED
@@ -46,6 +46,23 @@ It has:
46
47
## Changelog ##
48
49
##### [Version 1.3.3](https://github.com/Codeinwp/otter-blocks/compare/v1.3.2...v1.3.3) (2020-01-19)
50
51
Fix issue with Custom CSS module not working
46
47
## Changelog ##
48
49
+ #### [Version 1.4.0](https://github.com/Codeinwp/otter-blocks/compare/v1.3.3...v1.4.0) (2020-02-23)
50
+
51
+ - Add Column Width control to Sidebar
52
+ - Remove Inline CSS from Blocks
53
+ - Fix Block ID Mechanism
54
+ - Add Global Defaults
55
+ - Improve Vertical Alignment to Section Block
56
+ - Add option to disable Arrows/Bullets in Slider Block
57
+ - Option to reverse columns in Section
58
+ - Add theme_support for global defaults
59
+ - Inherit Sizing values
60
+ - Button Group consistency with Button Block
61
+ - Add Anchor field to Advanced Heading Block
62
+
63
+
64
+
65
+
66
##### [Version 1.3.3](https://github.com/Codeinwp/otter-blocks/compare/v1.3.2...v1.3.3) (2020-01-19)
67
68
Fix issue with Custom CSS module not working
readme.txt CHANGED
@@ -46,6 +46,23 @@ It has:
46
47
== Changelog ==
48
49
##### [Version 1.3.3](https://github.com/Codeinwp/otter-blocks/compare/v1.3.2...v1.3.3) (2020-01-19)
50
51
Fix issue with Custom CSS module not working
46
47
== Changelog ==
48
49
+ #### [Version 1.4.0](https://github.com/Codeinwp/otter-blocks/compare/v1.3.3...v1.4.0) (2020-02-23)
50
+
51
+ - Add Column Width control to Sidebar
52
+ - Remove Inline CSS from Blocks
53
+ - Fix Block ID Mechanism
54
+ - Add Global Defaults
55
+ - Improve Vertical Alignment to Section Block
56
+ - Add option to disable Arrows/Bullets in Slider Block
57
+ - Option to reverse columns in Section
58
+ - Add theme_support for global defaults
59
+ - Inherit Sizing values
60
+ - Button Group consistency with Button Block
61
+ - Add Anchor field to Advanced Heading Block
62
+
63
+
64
+
65
+
66
##### [Version 1.3.3](https://github.com/Codeinwp/otter-blocks/compare/v1.3.2...v1.3.3) (2020-01-19)
67
68
Fix issue with Custom CSS module not working
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
5
require_once __DIR__ . '/composer/autoload_real.php';
6
7
- return ComposerAutoloaderInitcbd4a7763149624d73d2762228551835::getLoader();
4
5
require_once __DIR__ . '/composer/autoload_real.php';
6
7
+ return ComposerAutoloaderInit8d9048eef076a4e3255709ce305b6909::getLoader();
vendor/codeinwp/gutenberg-animation/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
### [Version 1.0.4](https://github.com/Codeinwp/gutenberg-animation/compare/v1.0.3...v1.0.4) (2020-01-06)
2
3
> Things are getting better every day. :rocket:
1
+ ##### [Version 1.0.5](https://github.com/Codeinwp/gutenberg-animation/compare/v1.0.4...v1.0.5) (2020-02-15)
2
+
3
+ - Adds additional animation delay options.
4
+
5
### [Version 1.0.4](https://github.com/Codeinwp/gutenberg-animation/compare/v1.0.3...v1.0.4) (2020-01-06)
6
7
> Things are getting better every day. :rocket:
vendor/codeinwp/gutenberg-animation/README.md CHANGED
@@ -27,4 +27,4 @@ How to release a new version:
27
- `release: <release short description>` - for patch release
28
- `release(minor): <release short description>` - for minor release
29
- `release(major): <release short description>` - for major release
30
- The release notes will inherit the body of the commit message which triggered the release. For more details check the [simple-preset]()https://github.com/Codeinwp/conventional-changelog-simple-preset that we use.
27
- `release: <release short description>` - for patch release
28
- `release(minor): <release short description>` - for minor release
29
- `release(major): <release short description>` - for major release
30
+ The release notes will inherit the body of the commit message which triggered the release. For more details check the [simple-preset](https://github.com/Codeinwp/conventional-changelog-simple-preset) that we use.
vendor/codeinwp/gutenberg-animation/assets/css/style.css CHANGED
@@ -1,3 +1,18 @@
1
.hidden-animated {
2
visibility: hidden;
3
- }
1
.hidden-animated {
2
visibility: hidden;
3
+ }
4
+
5
+ .animated.delay-100ms {
6
+ -webkit-animation-delay: 100ms;
7
+ animation-delay: 100ms;
8
+ }
9
+
10
+ .animated.delay-200ms {
11
+ -webkit-animation-delay: 200ms;
12
+ animation-delay: 200ms;
13
+ }
14
+
15
+ .animated.delay-500ms {
16
+ -webkit-animation-delay: 500ms;
17
+ animation-delay: 500ms;
18
+ }
vendor/codeinwp/gutenberg-animation/build/animate.js CHANGED
@@ -1 +1 @@
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=0)}([function(t,e){var n=["none","bounce","flash","pulse","rubberBand","shake","headShake","swing","tada","wobble","jello","heartBeat","hinge","jackInTheBox","bounceIn","bounceInDown","bounceInLeft","bounceInRight","bounceInUp","bounceOut","bounceOutDown","bounceOutLeft","bounceOutRight","bounceOutUp","fadeIn","fadeInDown","fadeInDownBig","fadeInLeft","fadeInLeftBig","fadeInRight","fadeInRightBig","fadeInUp","fadeOut","fadeOutDown","fadeOutDownBig","fadeOutLeft","fadeOutLeftBig","fadeOutRight","fadeOutRightBig","fadeOutUp","fadeOutUpBig","flip","flipInX","flipInY","flipOutX","flipOutY","lightSpeedIn","lightSpeedOut","rotateIn","rotateInDownLeft","rotateInDownRight","rotateInUpLeft","rotateInUpRight","rotateOut","rotateOutDownLeft","rotateOutDownRight","rotateOutUpLeft","rotateOutUpRight","slideInDown","slideInLeft","slideInRight","slideInUp","slideOutDown","slideOutLeft","slideOutRight","slideOutUp","zoomIn","zoomInDown","zoomInLeft","zoomInRight","zoomInUp","zoomOut","zoomOutDown","zoomOutLeft","zoomOutRight","zoomOutUp","rollIn","rollOut"],o=["bounceOut","bounceOutDown","bounceOutLeft","bounceOutRight","bounceOutUp","fadeOut","fadeOutDown","fadeOutDownBig","fadeOutLeft","fadeOutLeftBig","fadeOutRight","fadeOutRightBig","fadeOutUp","fadeOutUpBig","flipOutX","flipOutY","lightSpeedOut","rotateOut","rotateOutDownLeft","rotateOutDownRight","rotateOutUpLeft","rotateOutUpRight","slideOutDown","slideOutLeft","slideOutRight","slideOutUp","zoomOut","zoomOutDown","zoomOutLeft","zoomOutRight","zoomOutUp","rollOut"],i=["none","delay-2s","delay-3s","delay-4s","delay-5s"],u=["none","slow","slower","fast","faster"];window.onload=function(){var t=document.querySelectorAll(".animated"),e=!0,r=!1,f=void 0;try{for(var l,s=function(){var t=l.value;if(classes=t.classList,t.animationClasses=[],!a(t)){var e=n.find((function(t){return Array.from(classes).find((function(e){return e===t}))})),r=i.find((function(t){return Array.from(classes).find((function(e){return e===t}))})),f=u.find((function(t){return Array.from(classes).find((function(e){return e===t}))}));t.classList.add("hidden-animated"),e&&(t.animationClasses.push(e),t.classList.remove(e)),r&&(t.animationClasses.push(r),t.classList.remove(r)),f&&(t.animationClasses.push(f),t.classList.remove(f))}o.forEach((function(e){t.className.includes(e)&&t.addEventListener("animationend",(function(){t.classList.remove(e)}))}))},d=t[Symbol.iterator]();!(e=(l=d.next()).done);e=!0)s()}catch(t){r=!0,f=t}finally{try{e||null==d.return||d.return()}finally{if(r)throw f}}window.onscroll=function(){var e=!0,n=!1,o=void 0;try{for(var i,u=function(){var t=i.value;t.getBoundingClientRect().top<=.75*window.innerHeight&&0<t.getBoundingClientRect().top&&(t.animationClasses&&0<t.animationClasses.length&&(t.animationClasses.forEach((function(e){return t.classList.add(e)})),t.classList.remove("hidden-animated"),delete t.animationClasses))},a=t[Symbol.iterator]();!(e=(i=a.next()).done);e=!0)u()}catch(t){n=!0,o=t}finally{try{e||null==a.return||a.return()}finally{if(n)throw o}}}};var a=function(t){var e=window.scrollY||window.pageYOffset,n=t.getBoundingClientRect().top+e,o=e,i=e+window.innerHeight,u=n,a=n+t.clientHeight;return a>=o&&a<=i||u<=i&&u>=o}}]);
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=0)}([function(t,e){var n=["none","bounce","flash","pulse","rubberBand","shake","headShake","swing","tada","wobble","jello","heartBeat","hinge","jackInTheBox","bounceIn","bounceInDown","bounceInLeft","bounceInRight","bounceInUp","bounceOut","bounceOutDown","bounceOutLeft","bounceOutRight","bounceOutUp","fadeIn","fadeInDown","fadeInDownBig","fadeInLeft","fadeInLeftBig","fadeInRight","fadeInRightBig","fadeInUp","fadeOut","fadeOutDown","fadeOutDownBig","fadeOutLeft","fadeOutLeftBig","fadeOutRight","fadeOutRightBig","fadeOutUp","fadeOutUpBig","flip","flipInX","flipInY","flipOutX","flipOutY","lightSpeedIn","lightSpeedOut","rotateIn","rotateInDownLeft","rotateInDownRight","rotateInUpLeft","rotateInUpRight","rotateOut","rotateOutDownLeft","rotateOutDownRight","rotateOutUpLeft","rotateOutUpRight","slideInDown","slideInLeft","slideInRight","slideInUp","slideOutDown","slideOutLeft","slideOutRight","slideOutUp","zoomIn","zoomInDown","zoomInLeft","zoomInRight","zoomInUp","zoomOut","zoomOutDown","zoomOutLeft","zoomOutRight","zoomOutUp","rollIn","rollOut"],o=["bounceOut","bounceOutDown","bounceOutLeft","bounceOutRight","bounceOutUp","fadeOut","fadeOutDown","fadeOutDownBig","fadeOutLeft","fadeOutLeftBig","fadeOutRight","fadeOutRightBig","fadeOutUp","fadeOutUpBig","flipOutX","flipOutY","lightSpeedOut","rotateOut","rotateOutDownLeft","rotateOutDownRight","rotateOutUpLeft","rotateOutUpRight","slideOutDown","slideOutLeft","slideOutRight","slideOutUp","zoomOut","zoomOutDown","zoomOutLeft","zoomOutRight","zoomOutUp","rollOut"],i=["none","delay-100ms","delay-200ms","delay-500ms","delay-1s","delay-2s","delay-3s","delay-4s","delay-5s"],a=["none","slow","slower","fast","faster"];window.onload=function(){var t=document.querySelectorAll(".animated"),e=!0,r=!1,f=void 0;try{for(var l,s=function(){var t=l.value;if(classes=t.classList,t.animationClasses=[],!u(t)){var e=n.find((function(t){return Array.from(classes).find((function(e){return e===t}))})),r=i.find((function(t){return Array.from(classes).find((function(e){return e===t}))})),f=a.find((function(t){return Array.from(classes).find((function(e){return e===t}))}));t.classList.add("hidden-animated"),e&&(t.animationClasses.push(e),t.classList.remove(e)),r&&(t.animationClasses.push(r),t.classList.remove(r)),f&&(t.animationClasses.push(f),t.classList.remove(f))}o.forEach((function(e){t.className.includes(e)&&t.addEventListener("animationend",(function(){t.classList.remove(e)}))}))},d=t[Symbol.iterator]();!(e=(l=d.next()).done);e=!0)s()}catch(t){r=!0,f=t}finally{try{e||null==d.return||d.return()}finally{if(r)throw f}}window.onscroll=function(){var e=!0,n=!1,o=void 0;try{for(var i,a=function(){var t=i.value;t.getBoundingClientRect().top<=.75*window.innerHeight&&0<t.getBoundingClientRect().top&&(t.animationClasses&&0<t.animationClasses.length&&(t.animationClasses.forEach((function(e){return t.classList.add(e)})),t.classList.remove("hidden-animated"),delete t.animationClasses))},u=t[Symbol.iterator]();!(e=(i=u.next()).done);e=!0)a()}catch(t){n=!0,o=t}finally{try{e||null==u.return||u.return()}finally{if(n)throw o}}}};var u=function(t){var e=window.scrollY||window.pageYOffset,n=t.getBoundingClientRect().top+e,o=e,i=e+window.innerHeight,a=n,u=n+t.clientHeight;return u>=o&&u<=i||a<=i&&a>=o}}]);
vendor/codeinwp/gutenberg-animation/build/build.js CHANGED
@@ -1 +1 @@
1
- !function(e){var t={};function a(l){if(t[l])return t[l].exports;var n=t[l]={i:l,l:!1,exports:{}};return e[l].call(n.exports,n,n.exports,a),n.l=!0,n.exports}a.m=e,a.c=t,a.d=function(e,t,l){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:l})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var l=Object.create(null);if(a.r(l),Object.defineProperty(l,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)a.d(l,n,function(t){return e[t]}.bind(null,n));return l},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=1)}([,function(e,t,a){"use strict";a.r(t);var l=wp.i18n.__,n=[{label:l("None"),value:"none"},{label:l("Bounce"),value:"bounce"},{label:l("Flash"),value:"flash"},{label:l("Pulse"),value:"pulse"},{label:l("Rubber Band"),value:"rubberBand"},{label:l("Shake"),value:"shake"},{label:l("Head Shake"),value:"headShake"},{label:l("Swing"),value:"swing"},{label:l("TaDa"),value:"tada"},{label:l("Wobble"),value:"wobble"},{label:l("Jello"),value:"jello"},{label:l("Heart Beat"),value:"heartBeat"},{label:l("Hinge"),value:"hinge"},{label:l("Jack In The Box"),value:"jackInTheBox"},{label:l("Bounce In"),value:"bounceIn"},{label:l("Bounce In Down"),value:"bounceInDown"},{label:l("Bounce In Left"),value:"bounceInLeft"},{label:l("Bounce In Right"),value:"bounceInRight"},{label:l("Bounce In Up"),value:"bounceInUp"},{label:l("Bounce Out"),value:"bounceOut"},{label:l("Bounce Out Down"),value:"bounceOutDown"},{label:l("Bounce Out Left"),value:"bounceOutLeft"},{label:l("Bounce Out Right"),value:"bounceOutRight"},{label:l("Bounce Out Up"),value:"bounceOutUp"},{label:l("Fade In"),value:"fadeIn"},{label:l("Fade In Down"),value:"fadeInDown"},{label:l("Fade In Down Big"),value:"fadeInDownBig"},{label:l("Fade In Left"),value:"fadeInLeft"},{label:l("Fade In Left Big"),value:"fadeInLeftBig"},{label:l("Fade In Right"),value:"fadeInRight"},{label:l("Fade In Left Big"),value:"fadeInRightBig"},{label:l("Fade In Up"),value:"fadeInUp"},{label:l("Fade Out"),value:"fadeOut"},{label:l("Fade Out Down"),value:"fadeOutDown"},{label:l("Fade Out Down Big"),value:"fadeOutDownBig"},{label:l("Fade Out Left"),value:"fadeOutLeft"},{label:l("Fade Out Left Big"),value:"fadeOutLeftBig"},{label:l("Fade Out Right"),value:"fadeOutRight"},{label:l("Fade In Left Big"),value:"fadeOutRightBig"},{label:l("Fade Out Up"),value:"fadeOutUp"},{label:l("Fade Out Up Big"),value:"fadeOutUpBig"},{label:l("Flip"),value:"flip"},{label:l("Flip In X"),value:"flipInX"},{label:l("Flip In Y"),value:"flipInY"},{label:l("Flip Out X"),value:"flipOutX"},{label:l("Flip Out Y"),value:"flipOutY"},{label:l("Light Speed In"),value:"lightSpeedIn"},{label:l("Light Speed Out"),value:"lightSpeedOut"},{label:l("Rotate In"),value:"rotateIn"},{label:l("Rotate In Down Left"),value:"rotateInDownLeft"},{label:l("Rotate In Down Right"),value:"rotateInDownRight"},{label:l("Rotate In Up Left"),value:"rotateInUpLeft"},{label:l("Rotate In Up Right"),value:"rotateInUpRight"},{label:l("Rotate Out"),value:"rotateOut"},{label:l("Rotate Out Down Left"),value:"rotateOutDownLeft"},{label:l("Rotate Out Down Right"),value:"rotateOutDownRight"},{label:l("Rotate Out Up Left"),value:"rotateOutUpLeft"},{label:l("Rotate Out Up Right"),value:"rotateOutUpRight"},{label:l("Slide In Down"),value:"slideInDown"},{label:l("Slide In Left"),value:"slideInLeft"},{label:l("Slide In Right"),value:"slideInRight"},{label:l("Slide In Up"),value:"slideInUp"},{label:l("Slide Out Down"),value:"slideOutDown"},{label:l("Slide Out Left"),value:"slideOutLeft"},{label:l("Slide Out Right"),value:"slideOutRight"},{label:l("Slide Out Up"),value:"slideOutUp"},{label:l("Zoom In"),value:"zoomIn"},{label:l("Zoom In Down"),value:"zoomInDown"},{label:l("Zoom In Left"),value:"zoomInLeft"},{label:l("Zoom In Right"),value:"zoomInRight"},{label:l("Zoom In Up"),value:"zoomInUp"},{label:l("Zoom Out"),value:"zoomOut"},{label:l("Zoom Out Down"),value:"zoomOutDown"},{label:l("Zoom Out Left"),value:"zoomOutLeft"},{label:l("Zoom Out Right"),value:"zoomOutRight"},{label:l("Zoom Out Up"),value:"zoomOutUp"},{label:l("Roll In"),value:"rollIn"},{label:l("Roll Out"),value:"rollOut"}],o=["bounceOut","bounceOutDown","bounceOutLeft","bounceOutRight","bounceOutUp","fadeOut","fadeOutDown","fadeOutDownBig","fadeOutLeft","fadeOutLeftBig","fadeOutRight","fadeOutRightBig","fadeOutUp","fadeOutUpBig","flipOutX","flipOutY","lightSpeedOut","rotateOut","rotateOutDownLeft","rotateOutDownRight","rotateOutUpLeft","rotateOutUpRight","slideOutDown","slideOutLeft","slideOutRight","slideOutUp","zoomOut","zoomOutDown","zoomOutLeft","zoomOutRight","zoomOutUp","rollOut"],u=[{label:l("Default"),value:"none"},{label:l("Two Second"),value:"delay-2s"},{label:l("Three Second"),value:"delay-3s"},{label:l("Four Second"),value:"delay-4s"},{label:l("Five Second"),value:"delay-5s"}],i=[{label:l("Default"),value:"none"},{label:l("Slow"),value:"slow"},{label:l("Slower"),value:"slower"},{label:l("Fast"),value:"fast"},{label:l("Faster"),value:"faster"}];function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e,t,a,l,n,o,u){try{var i=e[o](u),r=i.value}catch(e){return void a(e)}i.done?t(r):Promise.resolve(r).then(l,n)}function p(e,t){for(var a=0;a<t.length;a++){var l=t[a];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,l.key,l)}}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var b=wp.i18n.__,v=wp.components.SelectControl,m=wp.element,h=m.Component,O=m.Fragment,g=function(e){function t(){var e,a,l;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),a=this,(e=!(l=c(t).apply(this,arguments))||"object"!==r(l)&&"function"!=typeof l?f(a):l).updateAnimation=e.updateAnimation.bind(f(e)),e.updateDelay=e.updateDelay.bind(f(e)),e.updateSpeed=e.updateSpeed.bind(f(e)),e.state={animation:"none",delay:"default",speed:"default"},e}var a,l,m,h,g;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(t,e),a=t,(l=[{key:"componentDidMount",value:function(){var e;if(this.props.attributes.className){e=(e=this.props.attributes.className).split(" ");var t=Array.from(n).find((function(t){return e.find((function(e){return e===t.value}))})),a=Array.from(u).find((function(t){return e.find((function(e){return e===t.value}))})),l=Array.from(i).find((function(t){return e.find((function(e){return e===t.value}))}));this.setState({animation:t?t.value:"none",delay:a?a.value:"default",speed:l?l.value:"default"})}}},{key:"updateAnimation",value:(h=regeneratorRuntime.mark((function e(t){var a,l,n,u,i=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return l="none"!==t?t:"",this.props.attributes.className?(a=(a=this.props.attributes.className).split(" "),n=a.find((function(e){return e===i.state.animation})),a.find((function(e){return"animated"===e}))||a.push("animated"),n?a=a.join(" ").replace(this.state.animation,l):(a.push(l),a=a.join(" "))):a="animated ".concat(l),"none"===t&&(a=a.replace("animated","").replace(this.state.delay,"").replace(this.state.speed,""),this.setState({delay:"default",speed:"defualt"})),a=a.replace(/\s+/g," "),this.setState({animation:t}),e.next=7,this.props.setAttributes({className:a});case 7:(u=document.querySelector("#block-".concat(this.props.clientId," .animated")))&&o.forEach((function(e){u.className.includes(e)&&u.addEventListener("animationend",(function(){u.classList.remove(e),u.addEventListener("animationstart",(function(){u.classList.remove(e)}))}))}));case 9:case"end":return e.stop()}}),e,this)})),g=function(){var e=this,t=arguments;return new Promise((function(a,l){var n=h.apply(e,t);function o(e){s(n,a,l,o,u,"next",e)}function u(e){s(n,a,l,o,u,"throw",e)}o(void 0)}))},function(e){return g.apply(this,arguments)})},{key:"updateDelay",value:function(e){var t,a=this,l="none"!==e?e:"";this.props.attributes.className?(t=(t=this.props.attributes.className).split(" ")).find((function(e){return e===a.state.delay}))?t=t.join(" ").replace(this.state.delay,l):(t.push(l),t=t.join(" ")):t=l,t=t.replace(/\s+/g," "),this.setState({delay:e}),this.props.setAttributes({className:t})}},{key:"updateSpeed",value:function(e){var t,a=this,l="none"!==e?e:"";this.props.attributes.className?(t=(t=this.props.attributes.className).split(" ")).find((function(e){return e===a.state.speed}))?t=t.join(" ").replace(this.state.speed,l):(t.push(l),t=t.join(" ")):t=l,t=t.replace(/\s+/g," "),this.setState({speed:e}),this.props.setAttributes({className:t})}},{key:"render",value:function(){return wp.element.createElement(O,null,wp.element.createElement(v,{label:b("Animation"),value:this.state.animation||"none",options:n,onChange:this.updateAnimation}),"none"!==this.state.animation&&wp.element.createElement(O,null,wp.element.createElement(v,{label:b("Delay"),value:this.state.delay||"default",options:u,onChange:this.updateDelay}),wp.element.createElement(v,{label:b("Speed"),value:this.state.speed||"default",options:i,onChange:this.updateSpeed})))}}])&&p(a.prototype,l),m&&p(a,m),t}(h),w=wp.i18n.__,I=wp.blocks.hasBlockSupport,y=wp.components.PanelBody,R=wp.compose.createHigherOrderComponent,S=(wp.blockEditor||wp.editor).InspectorControls,D=wp.element.Fragment;(0,wp.hooks.addFilter)("editor.BlockEdit","themeisle-custom-css/with-inspector-controls",R((function(e){return function(t){return I(t.name,"customClassName",!0)&&t.isSelected?wp.element.createElement(D,null,wp.element.createElement(e,t),wp.element.createElement(S,null,wp.element.createElement(y,{title:w("Animations"),initialOpen:!1},wp.element.createElement(g,{clientId:t.clientId,setAttributes:t.setAttributes,attributes:t.attributes})))):wp.element.createElement(e,t)}}),"withInspectorControl"))}]);
1
+ !function(e){var t={};function a(l){if(t[l])return t[l].exports;var n=t[l]={i:l,l:!1,exports:{}};return e[l].call(n.exports,n,n.exports,a),n.l=!0,n.exports}a.m=e,a.c=t,a.d=function(e,t,l){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:l})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var l=Object.create(null);if(a.r(l),Object.defineProperty(l,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)a.d(l,n,function(t){return e[t]}.bind(null,n));return l},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=1)}([,function(e,t,a){"use strict";a.r(t);var l=wp.i18n.__,n=[{label:l("None"),value:"none"},{label:l("Bounce"),value:"bounce"},{label:l("Flash"),value:"flash"},{label:l("Pulse"),value:"pulse"},{label:l("Rubber Band"),value:"rubberBand"},{label:l("Shake"),value:"shake"},{label:l("Head Shake"),value:"headShake"},{label:l("Swing"),value:"swing"},{label:l("TaDa"),value:"tada"},{label:l("Wobble"),value:"wobble"},{label:l("Jello"),value:"jello"},{label:l("Heart Beat"),value:"heartBeat"},{label:l("Hinge"),value:"hinge"},{label:l("Jack In The Box"),value:"jackInTheBox"},{label:l("Bounce In"),value:"bounceIn"},{label:l("Bounce In Down"),value:"bounceInDown"},{label:l("Bounce In Left"),value:"bounceInLeft"},{label:l("Bounce In Right"),value:"bounceInRight"},{label:l("Bounce In Up"),value:"bounceInUp"},{label:l("Bounce Out"),value:"bounceOut"},{label:l("Bounce Out Down"),value:"bounceOutDown"},{label:l("Bounce Out Left"),value:"bounceOutLeft"},{label:l("Bounce Out Right"),value:"bounceOutRight"},{label:l("Bounce Out Up"),value:"bounceOutUp"},{label:l("Fade In"),value:"fadeIn"},{label:l("Fade In Down"),value:"fadeInDown"},{label:l("Fade In Down Big"),value:"fadeInDownBig"},{label:l("Fade In Left"),value:"fadeInLeft"},{label:l("Fade In Left Big"),value:"fadeInLeftBig"},{label:l("Fade In Right"),value:"fadeInRight"},{label:l("Fade In Right Big"),value:"fadeInRightBig"},{label:l("Fade In Up"),value:"fadeInUp"},{label:l("Fade Out"),value:"fadeOut"},{label:l("Fade Out Down"),value:"fadeOutDown"},{label:l("Fade Out Down Big"),value:"fadeOutDownBig"},{label:l("Fade Out Left"),value:"fadeOutLeft"},{label:l("Fade Out Left Big"),value:"fadeOutLeftBig"},{label:l("Fade Out Right"),value:"fadeOutRight"},{label:l("Fade In Left Big"),value:"fadeOutRightBig"},{label:l("Fade Out Up"),value:"fadeOutUp"},{label:l("Fade Out Up Big"),value:"fadeOutUpBig"},{label:l("Flip"),value:"flip"},{label:l("Flip In X"),value:"flipInX"},{label:l("Flip In Y"),value:"flipInY"},{label:l("Flip Out X"),value:"flipOutX"},{label:l("Flip Out Y"),value:"flipOutY"},{label:l("Light Speed In"),value:"lightSpeedIn"},{label:l("Light Speed Out"),value:"lightSpeedOut"},{label:l("Rotate In"),value:"rotateIn"},{label:l("Rotate In Down Left"),value:"rotateInDownLeft"},{label:l("Rotate In Down Right"),value:"rotateInDownRight"},{label:l("Rotate In Up Left"),value:"rotateInUpLeft"},{label:l("Rotate In Up Right"),value:"rotateInUpRight"},{label:l("Rotate Out"),value:"rotateOut"},{label:l("Rotate Out Down Left"),value:"rotateOutDownLeft"},{label:l("Rotate Out Down Right"),value:"rotateOutDownRight"},{label:l("Rotate Out Up Left"),value:"rotateOutUpLeft"},{label:l("Rotate Out Up Right"),value:"rotateOutUpRight"},{label:l("Slide In Down"),value:"slideInDown"},{label:l("Slide In Left"),value:"slideInLeft"},{label:l("Slide In Right"),value:"slideInRight"},{label:l("Slide In Up"),value:"slideInUp"},{label:l("Slide Out Down"),value:"slideOutDown"},{label:l("Slide Out Left"),value:"slideOutLeft"},{label:l("Slide Out Right"),value:"slideOutRight"},{label:l("Slide Out Up"),value:"slideOutUp"},{label:l("Zoom In"),value:"zoomIn"},{label:l("Zoom In Down"),value:"zoomInDown"},{label:l("Zoom In Left"),value:"zoomInLeft"},{label:l("Zoom In Right"),value:"zoomInRight"},{label:l("Zoom In Up"),value:"zoomInUp"},{label:l("Zoom Out"),value:"zoomOut"},{label:l("Zoom Out Down"),value:"zoomOutDown"},{label:l("Zoom Out Left"),value:"zoomOutLeft"},{label:l("Zoom Out Right"),value:"zoomOutRight"},{label:l("Zoom Out Up"),value:"zoomOutUp"},{label:l("Roll In"),value:"rollIn"},{label:l("Roll Out"),value:"rollOut"}],o=["bounceOut","bounceOutDown","bounceOutLeft","bounceOutRight","bounceOutUp","fadeOut","fadeOutDown","fadeOutDownBig","fadeOutLeft","fadeOutLeftBig","fadeOutRight","fadeOutRightBig","fadeOutUp","fadeOutUpBig","flipOutX","flipOutY","lightSpeedOut","rotateOut","rotateOutDownLeft","rotateOutDownRight","rotateOutUpLeft","rotateOutUpRight","slideOutDown","slideOutLeft","slideOutRight","slideOutUp","zoomOut","zoomOutDown","zoomOutLeft","zoomOutRight","zoomOutUp","rollOut"],u=[{label:l("Default"),value:"none"},{label:l("100 Milliseconds"),value:"delay-100ms"},{label:l("200 Milliseconds"),value:"delay-200ms"},{label:l("500 Milliseconds"),value:"delay-500ms"},{label:l("One Second"),value:"delay-1s"},{label:l("Two Second"),value:"delay-2s"},{label:l("Three Second"),value:"delay-3s"},{label:l("Four Second"),value:"delay-4s"},{label:l("Five Second"),value:"delay-5s"}],i=[{label:l("Default"),value:"none"},{label:l("Slow"),value:"slow"},{label:l("Slower"),value:"slower"},{label:l("Fast"),value:"fast"},{label:l("Faster"),value:"faster"}];function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e,t,a,l,n,o,u){try{var i=e[o](u),r=i.value}catch(e){return void a(e)}i.done?t(r):Promise.resolve(r).then(l,n)}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var a=0;a<t.length;a++){var l=t[a];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,l.key,l)}}function d(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?b(e):t}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function b(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var m=wp.i18n.__,h=wp.components.SelectControl,O=wp.element,g=O.Component,w=O.Fragment,y=function(e){function t(){var e;return p(this,t),(e=d(this,f(t).apply(this,arguments))).updateAnimation=e.updateAnimation.bind(b(e)),e.updateDelay=e.updateDelay.bind(b(e)),e.updateSpeed=e.updateSpeed.bind(b(e)),e.state={animation:"none",delay:"default",speed:"default"},e}var a,l,r,O,g;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v(e,t)}(t,e),a=t,(l=[{key:"componentDidMount",value:function(){var e;if(this.props.attributes.className){e=(e=this.props.attributes.className).split(" ");var t=Array.from(n).find((function(t){return e.find((function(e){return e===t.value}))})),a=Array.from(u).find((function(t){return e.find((function(e){return e===t.value}))})),l=Array.from(i).find((function(t){return e.find((function(e){return e===t.value}))}));this.setState({animation:t?t.value:"none",delay:a?a.value:"default",speed:l?l.value:"default"})}}},{key:"updateAnimation",value:(O=regeneratorRuntime.mark((function e(t){var a,l,n,u,i=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return l="none"!==t?t:"",this.props.attributes.className?(a=(a=this.props.attributes.className).split(" "),n=a.find((function(e){return e===i.state.animation})),a.find((function(e){return"animated"===e}))||a.push("animated"),n?a=a.join(" ").replace(this.state.animation,l):(a.push(l),a=a.join(" "))):a="animated ".concat(l),"none"===t&&(a=a.replace("animated","").replace(this.state.delay,"").replace(this.state.speed,""),this.setState({delay:"default",speed:"defualt"})),a=a.replace(/\s+/g," "),this.setState({animation:t}),e.next=7,this.props.setAttributes({className:a});case 7:(u=document.querySelector("#block-".concat(this.props.clientId," .animated")))&&o.forEach((function(e){u.className.includes(e)&&u.addEventListener("animationend",(function(){u.classList.remove(e),u.addEventListener("animationstart",(function(){u.classList.remove(e)}))}))}));case 9:case"end":return e.stop()}}),e,this)})),g=function(){var e=this,t=arguments;return new Promise((function(a,l){var n=O.apply(e,t);function o(e){s(n,a,l,o,u,"next",e)}function u(e){s(n,a,l,o,u,"throw",e)}o(void 0)}))},function(e){return g.apply(this,arguments)})},{key:"updateDelay",value:function(e){var t,a=this,l="none"!==e?e:"";this.props.attributes.className?(t=(t=this.props.attributes.className).split(" ")).find((function(e){return e===a.state.delay}))?t=t.join(" ").replace(this.state.delay,l):(t.push(l),t=t.join(" ")):t=l,t=t.replace(/\s+/g," "),this.setState({delay:e}),this.props.setAttributes({className:t})}},{key:"updateSpeed",value:function(e){var t,a=this,l="none"!==e?e:"";this.props.attributes.className?(t=(t=this.props.attributes.className).split(" ")).find((function(e){return e===a.state.speed}))?t=t.join(" ").replace(this.state.speed,l):(t.push(l),t=t.join(" ")):t=l,t=t.replace(/\s+/g," "),this.setState({speed:e}),this.props.setAttributes({className:t})}},{key:"render",value:function(){return wp.element.createElement(w,null,wp.element.createElement(h,{label:m("Animation"),value:this.state.animation||"none",options:n,onChange:this.updateAnimation}),"none"!==this.state.animation&&wp.element.createElement(w,null,wp.element.createElement(h,{label:m("Delay"),value:this.state.delay||"default",options:u,onChange:this.updateDelay}),wp.element.createElement(h,{label:m("Speed"),value:this.state.speed||"default",options:i,onChange:this.updateSpeed})))}}])&&c(a.prototype,l),r&&c(a,r),t}(g),I=wp.i18n.__,R=wp.blocks.hasBlockSupport,S=wp.components.PanelBody,D=wp.compose.createHigherOrderComponent,L=(wp.blockEditor||wp.editor).InspectorControls,B=wp.element.Fragment;(0,wp.hooks.addFilter)("editor.BlockEdit","themeisle-custom-css/with-inspector-controls",D((function(e){return function(t){return R(t.name,"customClassName",!0)&&t.isSelected?wp.element.createElement(B,null,wp.element.createElement(e,t),wp.element.createElement(L,null,wp.element.createElement(S,{title:I("Animations"),initialOpen:!1},wp.element.createElement(y,{clientId:t.clientId,setAttributes:t.setAttributes,attributes:t.attributes})))):wp.element.createElement(e,t)}}),"withInspectorControl"))}]);
vendor/codeinwp/gutenberg-animation/class-gutenberg-animation.php CHANGED
@@ -83,12 +83,17 @@ class GutenbergAnimation {
83
$version
84
);
85
86
if ( is_admin() ) {
87
return;
88
}
89
90
-
91
-
92
wp_enqueue_script(
93
'themeisle-gutenberg-animation-frontend',
94
plugin_dir_url( $this->get_dir() ) . $this->slug . '/build/animate.js',
@@ -96,13 +101,6 @@ class GutenbergAnimation {
96
$version,
97
true
98
);
99
-
100
- wp_enqueue_style(
101
- 'themeisle-gutenberg-animation-style',
102
- plugin_dir_url( $this->get_dir() ) . $this->slug . '/assets/css/style.css',
103
- array(),
104
- $version
105
- );
106
}
107
108
/**
83
$version
84
);
85
86
+ wp_enqueue_style(
87
+ 'themeisle-gutenberg-animation-style',
88
+ plugin_dir_url( $this->get_dir() ) . $this->slug . '/assets/css/style.css',
89
+ array(),
90
+ $version
91
+ );
92
+
93
if ( is_admin() ) {
94
return;
95
}
96
97
wp_enqueue_script(
98
'themeisle-gutenberg-animation-frontend',
99
plugin_dir_url( $this->get_dir() ) . $this->slug . '/build/animate.js',
101
$version,
102
true
103
);
104
}
105
106
/**
vendor/codeinwp/gutenberg-animation/load.php CHANGED
@@ -8,8 +8,9 @@
8
* @since 1.0.0
9
*/
10
11
- define( 'THEMEISLE_GUTENBERG_ANIMATION_VERSION', '1.0.4' );
12
define( 'THEMEISLE_GUTENBERG_ANIMATION_DEV', false );
13
if ( function_exists( 'add_action' ) ) {
14
add_action(
15
'plugins_loaded',
8
* @since 1.0.0
9
*/
10
11
+ define( 'THEMEISLE_GUTENBERG_ANIMATION_VERSION', '1.0.5' );
12
define( 'THEMEISLE_GUTENBERG_ANIMATION_DEV', false );
13
+
14
if ( function_exists( 'add_action' ) ) {
15
add_action(
16
'plugins_loaded',
vendor/codeinwp/gutenberg-blocks/CHANGELOG.md CHANGED
@@ -1,3 +1,25 @@
1
##### [Version 1.3.4](https://github.com/Codeinwp/gutenberg-blocks/compare/v1.3.3...v1.3.4) (2020-01-09)
2
3
Fix issue with icons not appearing in Chrome
1
+ #### [Version 1.4.0](https://github.com/Codeinwp/gutenberg-blocks/compare/v1.3.6...v1.4.0) (2020-02-22)
2
+
3
+ - Add Column Width control to Sidebar
4
+ - Remove Inline CSS from Blocks
5
+ - Fix Block ID Mechanism
6
+ - Add Global Defaults
7
+ - Improve Vertical Alignment to Section Block
8
+ - Add option to disable Arrows/Bullets in Slider Block
9
+ - Option to reverse columns in Section
10
+ - Add theme_support for global defaults
11
+ - Inherit Sizing values
12
+ - Button Group consistency with Button Block
13
+ - Add Anchor field to Advanced Heading Block
14
+
15
+ ##### [Version 1.3.6](https://github.com/Codeinwp/gutenberg-blocks/compare/v1.3.5...v1.3.6) (2020-02-13)
16
+
17
+ * Fix library autoloading in multiple plugins
18
+
19
+ ##### [Version 1.3.5](https://github.com/Codeinwp/gutenberg-blocks/compare/v1.3.4...v1.3.5) (2020-02-03)
20
+
21
+ * Fix issue with library autoloading in different plugins
22
+
23
##### [Version 1.3.4](https://github.com/Codeinwp/gutenberg-blocks/compare/v1.3.3...v1.3.4) (2020-01-09)
24
25
Fix issue with icons not appearing in Chrome
vendor/codeinwp/gutenberg-blocks/build/blocks.js CHANGED
@@ -1 +1 @@
1
- !function(e){function t(t){for(var a,r,i=t[0],c=t[1],p=t[2],m=0,s=[];m<i.length;m++)r=i[m],Object.prototype.hasOwnProperty.call(l,r)&&l[r]&&s.push(l[r][0]),l[r]=0;for(a in c)Object.prototype.hasOwnProperty.call(c,a)&&(e[a]=c[a]);for(d&&d(t);s.length;)s.shift()();return o.push.apply(o,p||[]),n()}function n(){for(var e,t=0;t<o.length;t++){for(var n=o[t],a=!0,i=1;i<n.length;i++){var c=n[i];0!==l[c]&&(a=!1)}a&&(o.splice(t--,1),e=r(r.s=n[0]))}return e}var a={},l={2:0},o=[];function r(t){if(a[t])return a[t].exports;var n=a[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,r),n.l=!0,n.exports}r.e=function(e){var t=[],n=l[e];if(0!==n)if(n)t.push(n[2]);else{var a=new Promise((function(t,a){n=l[e]=[t,a]}));t.push(n[2]=a);var o,i=document.createElement("script");i.charset="utf-8",i.timeout=120,r.nc&&i.setAttribute("nonce",r.nc),i.src=function(e){return r.p+"chunk-"+({}[e]||e)+".js"}(e);var c=new Error;o=function(t){i.onerror=i.onload=null,clearTimeout(p);var n=l[e];if(0!==n){if(n){var a=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;c.message="Loading chunk "+e+" failed.\n("+a+": "+o+")",c.name="ChunkLoadError",c.type=a,c.request=o,n[1](c)}l[e]=void 0}};var p=setTimeout((function(){o({type:"timeout",target:i})}),12e4);i.onerror=i.onload=o,document.head.appendChild(i)}return Promise.all(t)},r.m=e,r.c=a,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__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 a in e)r.d(n,a,function(t){return e[t]}.bind(null,a));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r.oe=function(e){throw console.error(e),e};var i=window.tiOtterWebpackJsonp=window.tiOtterWebpackJsonp||[],c=i.push.bind(i);i.push=t,i=i.slice();for(var p=0;p<i.length;p++)t(i[p]);var d=c;o.push([36,0]),n()}([,,function(e,t,n){"use strict";n.d(t,"l",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"d",(function(){return c})),n.d(t,"f",(function(){return p})),n.d(t,"e",(function(){return d})),n.d(t,"h",(function(){return m})),n.d(t,"g",(function(){return s})),n.d(t,"q",(function(){return u})),n.d(t,"i",(function(){return b})),n.d(t,"n",(function(){return g})),n.d(t,"m",(function(){return h})),n.d(t,"p",(function(){return w})),n.d(t,"o",(function(){return y})),n.d(t,"r",(function(){return f})),n.d(t,"b",(function(){return v})),n.d(t,"s",(function(){return k})),n.d(t,"j",(function(){return T})),n.d(t,"c",(function(){return E})),n.d(t,"k",(function(){return x}));var a=wp.components,l=a.Path,o=a.SVG,r=function(){return wp.element.createElement(o,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 29 32",width:"20",height:"20",className:"otter-icon"},wp.element.createElement(l,{d:"M19.831 7.877c0.001-0.003 0.001-0.005 0.001-0.009s-0-0.006-0.001-0.009l0 0c-0.047-0.081-0.092-0.164-0.132-0.247l-0.057-0.115c-0.277-0.498-0.381-0.99-1.033-1.064h-0.045c-0.001 0-0.002 0-0.003 0-0.486 0-0.883 0.382-0.908 0.862l-0 0.002c0.674 0.126 1.252 0.278 1.813 0.468l-0.092-0.027 0.283 0.096 0.147 0.053s0.028 0 0.028-0.011z"}),wp.element.createElement(l,{d:"M23.982 13.574c-0.008-2.41-0.14-4.778-0.39-7.112l0.026 0.299 0.070-0.019c0.459-0.139 0.787-0.558 0.787-1.053 0-0.479-0.307-0.887-0.735-1.037l-0.008-0.002h-0.026c-0.479-0.164-0.874-0.468-1.149-0.861l-0.005-0.007c-2.7-3.96-8.252-3.781-8.252-3.781s-5.55-0.179-8.25 3.781c-0.28 0.401-0.676 0.704-1.14 0.862l-0.016 0.005c-0.441 0.148-0.754 0.557-0.754 1.040 0 0.009 0 0.017 0 0.026l-0-0.001c-0 0.010-0.001 0.022-0.001 0.034 0 0.493 0.335 0.907 0.789 1.029l0.007 0.002 0.045 0.011c-0.224 2.034-0.356 4.403-0.364 6.801l-0 0.012s-9.493 13.012-1.277 17.515c4.733 2.431 6.881-0.769 6.881-0.769s1.397-1.661-1.784-3.355v-4.609c0.006-0.344 0.282-0.621 0.625-0.628h1.212v-0.59c0-0.275 0.223-0.498 0.498-0.498v0h1.665c0.274 0.001 0.496 0.224 0.496 0.498 0 0 0 0 0 0v0 0.59h2.721v-0.59c0-0.275 0.223-0.498 0.498-0.498v0h1.665c0.271 0.005 0.49 0.226 0.49 0.498 0 0 0 0 0 0v0 0.59h1.209c0 0 0 0 0 0 0.349 0 0.633 0.28 0.639 0.627v4.584c-3.193 1.703-1.784 3.355-1.784 3.355s2.148 3.193 6.879 0.769c8.222-4.503-1.269-17.515-1.269-17.515zM22.586 10.261c-0.097 1.461-0.67 2.772-1.563 3.797l0.007-0.008c-1.703 2.010-4.407 3.249-6.721 4.432v0c-2.325-1.177-5.026-2.416-6.736-4.432-0.883-1.019-1.455-2.329-1.555-3.769l-0.001-0.020c-0.126-2.22 0.583-5.929 3.044-6.74 2.416-0.788 3.947 1.288 4.494 2.227 0.152 0.258 0.429 0.428 0.745 0.428s0.593-0.17 0.743-0.424l0.002-0.004c0.551-0.932 2.080-3.008 4.494-2.22 2.474 0.805 3.174 4.513 3.046 6.734z"}),wp.element.createElement(l,{d:"M19.463 10.087h-0.028c-0.192 0.026-0.121 0.251-0.047 0.356 0.254 0.349 0.407 0.787 0.407 1.26 0 0.006-0 0.012-0 0.018v-0.001c-0.001 0.469-0.255 0.878-0.633 1.1l-0.006 0.003c-0.739 0.426-1.377-0.145-2.054-0.398-0.72-0.269-1.552-0.434-2.42-0.455l-0.009-0v-1.033c1.020-0.233 1.894-0.76 2.551-1.486l0.004-0.004c0.151-0.163 0.244-0.383 0.244-0.623 0-0.316-0.159-0.595-0.402-0.76l-0.003-0.002c-0.768-0.551-1.728-0.881-2.764-0.881-1.054 0-2.029 0.341-2.819 0.92l0.013-0.009c-0.224 0.166-0.367 0.429-0.367 0.726 0 0.226 0.083 0.433 0.221 0.591l-0.001-0.001c0.665 0.751 1.55 1.295 2.553 1.53l0.033 0.007v1.050c-0.742 0.021-1.448 0.14-2.118 0.343l0.057-0.015c-0.341 0.103-0.631 0.219-0.908 0.358l0.033-0.015c-0.519 0.26-1.037 0.436-1.58 0.121-0.371-0.213-0.617-0.607-0.617-1.058 0-0.002 0-0.004 0-0.007v0c0-0.002 0-0.004 0-0.007 0-0.47 0.153-0.905 0.411-1.257l-0.004 0.006c0.047-0.068 0.089-0.17 0.026-0.241s-0.189 0-0.27 0.030c-0.189 0.099-0.348 0.227-0.479 0.381l-0.002 0.002c-0.245 0.296-0.394 0.679-0.394 1.097 0 0.004 0 0.007 0 0.011v-0.001c0.008 0.706 0.393 1.321 0.964 1.651l0.009 0.005c0.296 0.178 0.654 0.283 1.036 0.283 0.364 0 0.706-0.095 1.001-0.263l-0.010 0.005c0.877-0.461 1.917-0.731 3.019-0.731 0.069 0 0.137 0.001 0.206 0.003l-0.010-0h0.030c1.277 0 2.382 0.266 3.266 0.775 0.27 0.159 0.594 0.253 0.94 0.253 0.001 0 0.002 0 0.003 0h-0c0.355-0.002 0.688-0.098 0.974-0.265l-0.009 0.005c0.606-0.357 1.007-1.007 1.007-1.75 0-0.001 0-0.003 0-0.004v0c0.001-0.026 0.002-0.056 0.002-0.086 0-0.625-0.34-1.171-0.846-1.462l-0.008-0.004c-0.056-0.040-0.125-0.065-0.199-0.070l-0.001-0zM13.101 8.831c-0.238 0.213-0.468 0.581-0.832 0.345-0.061-0.041-0.114-0.086-0.161-0.136l-0-0c-0.063-0.063-0.101-0.15-0.101-0.247 0-0.133 0.074-0.248 0.182-0.308l0.002-0.001c0.594-0.309 1.203-0.543 1.884-0.49-0.324 0.281-0.649 0.56-0.973 0.837z"}),wp.element.createElement(l,{d:"M15.89 13.578c-0.367 0.483-0.941 0.792-1.588 0.792s-1.221-0.309-1.585-0.787l-0.004-0.005c-0.064-0.103-0.177-0.171-0.306-0.171-0.199 0-0.36 0.161-0.36 0.36 0 0.091 0.034 0.174 0.090 0.238l-0-0c0.499 0.659 1.283 1.080 2.164 1.080s1.665-0.421 2.159-1.073l0.005-0.007c0.043-0.059 0.068-0.132 0.068-0.212 0-0.116-0.055-0.22-0.14-0.286l-0.001-0.001c-0.059-0.045-0.134-0.072-0.215-0.072-0.117 0-0.221 0.056-0.286 0.143l-0.001 0.001z"}),wp.element.createElement(l,{d:"M18.507 11.707c0 0.194-0.157 0.351-0.351 0.351s-0.351-0.157-0.351-0.351c0-0.194 0.157-0.351 0.351-0.351s0.351 0.157 0.351 0.351z"}),wp.element.createElement(l,{d:"M17.389 11.049c0 0.194-0.157 0.351-0.351 0.351s-0.351-0.157-0.351-0.351c0-0.194 0.157-0.351 0.351-0.351s0.351 0.157 0.351 0.351z"}),wp.element.createElement(l,{d:"M10.798 11.707c0 0.194-0.157 0.351-0.351 0.351s-0.351-0.157-0.351-0.351c0-0.194 0.157-0.351 0.351-0.351s0.351 0.157 0.351 0.351z"}),wp.element.createElement(l,{d:"M11.918 11.049c0 0.194-0.157 0.351-0.351 0.351s-0.351-0.157-0.351-0.351c0-0.194 0.157-0.351 0.351-0.351s0.351 0.157 0.351 0.351z"}),wp.element.createElement(l,{d:"M8.773 7.877c-0.001-0.003-0.002-0.005-0.002-0.009s0.001-0.006 0.002-0.009l-0 0c0.047-0.081 0.089-0.164 0.132-0.247 0.019-0.038 0.036-0.079 0.057-0.115 0.275-0.498 0.379-0.99 1.033-1.064h0.045c0 0 0.001 0 0.001 0 0.487 0 0.884 0.382 0.91 0.862l0 0.002c-0.678 0.124-1.261 0.277-1.827 0.468l0.092-0.027-0.275 0.096-0.1 0.036-0.045 0.017s-0.023 0-0.023-0.011z"}))},i=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M17.348 20.657v-0.135c1.029-0.471 1.758-1.446 1.916-2.563 0.434-0.157 0.739-0.576 0.739-1.051 0-0.408-0.221-0.774-0.562-0.969 0.036-0.111 0.065-0.223 0.087-0.335 0.182-0.901-0.025-1.822-0.583-2.592-0.548-0.758-1.373-1.281-2.321-1.473-0.255-0.051-0.515-0.077-0.773-0.077-0.813 0-1.607 0.262-2.234 0.739-0.646 0.49-1.088 1.187-1.244 1.962-0.118 0.587-0.070 1.193 0.139 1.762-0.355 0.191-0.59 0.566-0.59 0.985 0 0.481 0.31 0.901 0.751 1.055 0.163 1.144 0.916 2.128 1.978 2.587v0.106c-2.207 0.5-3.729 2.151-3.729 4.079v0.515h10.153v-0.515c0-1.929-1.522-3.58-3.729-4.080zM15.853 12.492c0.189 0 0.381 0.019 0.569 0.057 0.693 0.14 1.293 0.519 1.689 1.066 0.369 0.511 0.518 1.111 0.423 1.701-0.507-0.237-1.173-0.487-1.874-0.583-1.318-0.18-1.339-0.241-1.417-0.469l-0.252-0.728-0.579 0.512c-0.062 0.054-0.528 0.464-1.066 0.91-0.015-0.198-0.002-0.396 0.037-0.593 0.219-1.086 1.257-1.873 2.469-1.873zM13.67 16.025c0.361-0.292 0.718-0.594 0.977-0.816 0.358 0.323 0.916 0.414 1.874 0.545 0.65 0.089 1.287 0.349 1.748 0.578v1.161c0 1.268-1.031 2.299-2.299 2.299s-2.299-1.031-2.299-2.299v-1.468zM15.682 20.81c0.213 0.019 0.425 0.017 0.635-0.006v0.318l-0.318 0.177-0.317-0.176v-0.313zM12.006 24.22c0.237-1.154 1.25-2.113 2.646-2.501v0.010l1.346 0.748 1.35-0.748v-0.010c1.396 0.388 2.409 1.348 2.646 2.502l-7.987-0zM21.076 27.499h-10.153c-0.307 0-0.556-0.249-0.556-0.556s0.249-0.556 0.556-0.556h10.153c0.307 0 0.556 0.249 0.556 0.556s-0.249 0.556-0.556 0.556zM28.112 3.393h-9.422v-1.689c0-0.832-0.677-1.509-1.509-1.509h-2.363c-0.832 0-1.509 0.677-1.509 1.509v1.689h-9.422c-0.832 0-1.509 0.677-1.509 1.509v25.395c0 0.832 0.677 1.509 1.509 1.509h24.225c0.832 0 1.509-0.677 1.509-1.509v-25.395c-0-0.832-0.677-1.509-1.509-1.509zM14.421 1.703c0-0.219 0.178-0.397 0.397-0.397h2.363c0.219 0 0.397 0.178 0.397 0.397v5.083c0 0.219-0.178 0.397-0.397 0.397h-2.363c-0.219 0-0.397-0.178-0.397-0.397v-5.083zM28.509 30.297c0 0.219-0.178 0.397-0.397 0.397h-24.225c-0.219 0-0.397-0.178-0.397-0.397v-25.395c0-0.219 0.178-0.397 0.397-0.397h9.422v2.282c0 0.832 0.677 1.509 1.509 1.509h2.363c0.832 0 1.509-0.677 1.509-1.509v-2.282h9.422c0.219 0 0.397 0.178 0.397 0.397v25.395z"}))},c=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M30.457 11.777h-28.914c-0.829 0-1.503 0.674-1.503 1.503v5.606c0 0.829 0.674 1.503 1.503 1.503h28.914c0.829 0 1.503-0.674 1.503-1.503v-5.606c-0-0.829-0.674-1.503-1.503-1.503zM30.84 18.886c0 0.211-0.172 0.383-0.383 0.383h-28.914c-0.211 0-0.383-0.172-0.383-0.383v-5.606c0-0.211 0.172-0.383 0.383-0.383h28.914c0.211 0 0.383 0.172 0.383 0.383v5.606zM4.67 15.133c-0.525 0-0.95 0.425-0.95 0.95s0.425 0.95 0.95 0.95 0.95-0.425 0.95-0.95c0-0.525-0.425-0.95-0.95-0.95zM7.947 15.133c-0.525 0-0.95 0.425-0.95 0.95s0.425 0.95 0.95 0.95c0.525 0 0.95-0.425 0.95-0.95s-0.425-0.95-0.95-0.95zM11.224 15.133c-0.525 0-0.95 0.425-0.95 0.95s0.425 0.95 0.95 0.95c0.525 0 0.95-0.425 0.95-0.95s-0.425-0.95-0.95-0.95zM27.871 15.523h-11.386c-0.309 0-0.56 0.251-0.56 0.56s0.251 0.56 0.56 0.56h11.386c0.309 0 0.56-0.251 0.56-0.56s-0.251-0.56-0.56-0.56zM30.457 23.388h-28.914c-0.829 0-1.503 0.674-1.503 1.503v5.606c0 0.829 0.674 1.503 1.503 1.503h28.914c0.829 0 1.503-0.674 1.503-1.503v-5.606c-0-0.829-0.674-1.503-1.503-1.503zM30.84 30.497c0 0.211-0.172 0.383-0.383 0.383h-28.914c-0.211 0-0.383-0.172-0.383-0.383v-5.606c0-0.211 0.172-0.383 0.383-0.383h28.914c0.211 0 0.383 0.172 0.383 0.383v5.606zM4.67 26.744c-0.525 0-0.95 0.425-0.95 0.95s0.425 0.95 0.95 0.95 0.95-0.425 0.95-0.95c0-0.525-0.425-0.95-0.95-0.95zM7.947 26.744c-0.525 0-0.95 0.425-0.95 0.95s0.425 0.95 0.95 0.95c0.525 0 0.95-0.425 0.95-0.95s-0.425-0.95-0.95-0.95zM11.224 26.744c-0.525 0-0.95 0.425-0.95 0.95s0.425 0.95 0.95 0.95c0.525 0 0.95-0.425 0.95-0.95s-0.425-0.95-0.95-0.95zM27.871 27.134h-11.386c-0.309 0-0.56 0.251-0.56 0.56s0.251 0.56 0.56 0.56h11.386c0.309 0 0.56-0.251 0.56-0.56s-0.251-0.56-0.56-0.56zM30.457 0h-28.914c-0.829 0-1.503 0.674-1.503 1.503v5.606c0 0.829 0.674 1.503 1.503 1.503h28.914c0.829 0 1.503-0.674 1.503-1.503v-5.606c0-0.829-0.674-1.503-1.503-1.503zM30.84 7.109c0 0.211-0.172 0.383-0.383 0.383h-28.914c-0.211 0-0.383-0.172-0.383-0.383v-5.606c0-0.211 0.172-0.383 0.383-0.383h28.914c0.211 0 0.383 0.172 0.383 0.383v5.606zM5.62 4.306c0 0.525-0.425 0.95-0.95 0.95s-0.95-0.425-0.95-0.95c0-0.525 0.425-0.95 0.95-0.95s0.95 0.425 0.95 0.95zM7.947 3.356c-0.525 0-0.95 0.425-0.95 0.95s0.425 0.95 0.95 0.95c0.525 0 0.95-0.425 0.95-0.95s-0.425-0.95-0.95-0.95zM11.224 3.356c-0.525 0-0.95 0.425-0.95 0.95s0.425 0.95 0.95 0.95c0.525 0 0.95-0.425 0.95-0.95s-0.425-0.95-0.95-0.95zM27.871 3.746h-11.386c-0.309 0-0.56 0.251-0.56 0.56s0.251 0.56 0.56 0.56h11.386c0.309 0 0.56-0.251 0.56-0.56s-0.251-0.56-0.56-0.56z"}))},p=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M30.584 0.099h-29.068c-0.781 0-1.417 0.635-1.417 1.416v29.068c0 0.781 0.635 1.416 1.417 1.416h29.068c0.781 0 1.416-0.635 1.416-1.416v-29.068c0-0.781-0.635-1.416-1.416-1.416zM1.515 1.219h29.068c0.163 0 0.296 0.133 0.296 0.296v3.476h-29.661v-3.476c0-0.163 0.133-0.296 0.296-0.296zM30.584 30.88h-29.068c-0.163 0-0.296-0.133-0.296-0.296v-24.472h29.661v24.472c0 0.163-0.133 0.296-0.296 0.296zM26.999 20.461h-21.062c-0.838 0-1.52 0.682-1.52 1.52v5.601c0 0.838 0.682 1.52 1.52 1.52h21.062c0.838 0 1.52-0.682 1.52-1.52v-5.601c0-0.838-0.682-1.52-1.52-1.52zM27.399 27.582c0 0.221-0.18 0.4-0.4 0.4h-21.062c-0.221 0-0.4-0.18-0.4-0.4v-5.601c0-0.221 0.179-0.4 0.4-0.4h21.062c0.221 0 0.4 0.179 0.4 0.4v5.601zM5.937 16.247h5.432c0.838 0 1.52-0.682 1.52-1.52v-5.432c0-0.838-0.682-1.52-1.52-1.52h-5.432c-0.838 0-1.52 0.682-1.52 1.52v5.432c0 0.838 0.682 1.52 1.52 1.52zM5.537 9.294c0-0.221 0.179-0.4 0.4-0.4h5.432c0.221 0 0.4 0.179 0.4 0.4v5.432c0 0.221-0.18 0.4-0.4 0.4h-5.432c-0.221 0-0.4-0.18-0.4-0.4v-5.432zM27.959 17.714h-22.982c-0.309 0-0.56 0.251-0.56 0.56s0.251 0.56 0.56 0.56h22.982c0.309 0 0.56-0.251 0.56-0.56s-0.251-0.56-0.56-0.56zM27.959 14.793h-12.696c-0.309 0-0.56 0.251-0.56 0.56s0.251 0.56 0.56 0.56h12.696c0.309 0 0.56-0.251 0.56-0.56s-0.251-0.56-0.56-0.56zM27.959 11.433h-12.696c-0.309 0-0.56 0.251-0.56 0.56s0.251 0.56 0.56 0.56h12.696c0.309 0 0.56-0.251 0.56-0.56s-0.251-0.56-0.56-0.56zM27.959 8.072h-12.696c-0.309 0-0.56 0.251-0.56 0.56s0.251 0.56 0.56 0.56h12.696c0.309 0 0.56-0.251 0.56-0.56s-0.251-0.56-0.56-0.56zM4.543 3.051c0 0.497-0.403 0.9-0.9 0.9s-0.9-0.403-0.9-0.9c0-0.497 0.403-0.9 0.9-0.9s0.9 0.403 0.9 0.9zM7.384 3.051c0 0.497-0.403 0.9-0.9 0.9s-0.9-0.403-0.9-0.9c0-0.497 0.403-0.9 0.9-0.9s0.9 0.403 0.9 0.9zM10.224 3.051c0 0.497-0.403 0.9-0.9 0.9s-0.9-0.403-0.9-0.9c0-0.497 0.403-0.9 0.9-0.9s0.9 0.403 0.9 0.9z"}))},d=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M31.276 3.351h-14.587l-3.23-3.028c-0.103-0.097-0.239-0.15-0.38-0.15h-12.354c-0.307 0-0.556 0.249-0.556 0.556v30.697c0 0.307 0.249 0.556 0.556 0.556h30.551c0.307 0 0.556-0.249 0.556-0.556v-27.518c0-0.307-0.249-0.556-0.556-0.556zM1.281 1.286h11.578l3.23 3.028c0.103 0.097 0.239 0.15 0.38 0.15h14.25v3.013h-29.439v-6.191zM30.719 30.87h-29.439v-22.281h29.439v22.281z"}))},m=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M30.958 13.988h-0.64c-0.572-5.298-4.029-9.744-8.764-11.73h5.439v0.555c0 0.309 0.25 0.559 0.559 0.559h2.23c0.309 0 0.559-0.25 0.559-0.559v-2.229c0-0.309-0.25-0.559-0.559-0.559h-2.23c-0.309 0-0.559 0.25-0.559 0.559v0.555h-9.319v-0.555c0-0.309-0.25-0.559-0.559-0.559h-2.23c-0.309 0-0.559 0.25-0.559 0.559v0.555h-9.319v-0.555c0-0.309-0.25-0.559-0.559-0.559h-2.229c-0.309 0-0.559 0.25-0.559 0.559v2.229c0 0.309 0.25 0.559 0.559 0.559h2.229c0.309 0 0.559-0.25 0.559-0.559v-0.555h5.439c-4.735 1.987-8.191 6.432-8.764 11.73h-0.64c-0.309 0-0.559 0.25-0.559 0.559v2.229c0 0.309 0.25 0.559 0.559 0.559h2.23c0.309 0 0.559-0.25 0.559-0.559v-2.229c0-0.309-0.25-0.559-0.559-0.559h-0.464c0.709-6.044 5.49-10.86 11.518-11.621v0.446c0 0.309 0.25 0.559 0.559 0.559h2.23c0.309 0 0.559-0.25 0.559-0.559v-0.446c6.028 0.761 10.809 5.578 11.518 11.621h-0.464c-0.309 0-0.559 0.25-0.559 0.559v2.23c0 0.309 0.25 0.559 0.559 0.559h2.23c0.309 0 0.559-0.25 0.559-0.559v-2.229c0-0.309-0.25-0.559-0.559-0.559zM29.223 2.253h-1.111v-1.111h1.111v1.111zM2.777 1.142h1.111v1.111h-1.111v-1.111zM2.712 15.608v0.609h-1.111v-0.973c0.001-0.046 0.002-0.092 0.003-0.138h1.108v0.501zM16 1.142c0.186 0 0.371 0.005 0.555 0.012v1.099h-1.111v-1.099c0.184-0.007 0.37-0.012 0.556-0.012zM30.399 15.25v0.967h-1.111v-1.111h1.107c0.002 0.048 0.003 0.096 0.004 0.144zM16.512 4.461c-0.089-0.204-0.29-0.336-0.513-0.336s-0.424 0.132-0.513 0.336l-7.287 16.694c-0.058 0.134-0.062 0.285-0.011 0.421l0.009 0.023c0.059 0.157 0.186 0.279 0.345 0.333 1.743 0.585 2.914 2.213 2.914 4.052 0 0.766-0.206 1.518-0.595 2.175-0.012 0.020-0.022 0.041-0.032 0.063-0.063 0.091-0.101 0.201-0.101 0.32v2.832c0 0.307 0.248 0.557 0.555 0.559l9.42 0.068c0.001 0 0.003 0 0.004 0 0.307 0 0.557-0.248 0.559-0.555 0.002-0.309-0.246-0.561-0.555-0.563l-8.865-0.064v-1.405h8.654c0.234 0 0.443-0.145 0.524-0.364l0.153-0.41c0.059-0.158 0.043-0.335-0.043-0.48-0.389-0.657-0.595-1.409-0.595-2.174 0-1.838 1.171-3.467 2.914-4.052 0.16-0.054 0.287-0.176 0.346-0.334l0.009-0.023c0.051-0.136 0.047-0.287-0.011-0.42l-7.287-16.694zM16 20.028c0.619 0 1.122 0.503 1.122 1.122s-0.504 1.122-1.122 1.122c-0.619 0-1.122-0.503-1.122-1.122s0.503-1.122 1.122-1.122zM19.424 25.983c0 0.802 0.179 1.591 0.52 2.31h-7.887c0.341-0.719 0.52-1.509 0.52-2.31 0-2.121-1.235-4.020-3.127-4.894l5.991-13.726v11.616c-0.966 0.249-1.682 1.128-1.682 2.17 0 1.236 1.005 2.241 2.241 2.241s2.241-1.005 2.241-2.241c0-1.043-0.716-1.921-1.682-2.17v-11.616l5.991 13.726c-1.892 0.874-3.127 2.773-3.127 4.894z"}))},s=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M30.424 0.171h-28.847c-0.775 0-1.406 0.631-1.406 1.406v28.848c0 0.775 0.631 1.406 1.406 1.406h28.847c0.775 0 1.406-0.631 1.406-1.406v-28.848c0-0.775-0.631-1.406-1.406-1.406zM1.576 1.282h28.847c0.162 0 0.294 0.132 0.294 0.294v3.45h-29.435v-3.45c0-0.162 0.132-0.294 0.294-0.294zM30.424 30.718h-28.847c-0.162 0-0.294-0.132-0.294-0.294v-24.286h29.435v24.286c0 0.162-0.132 0.294-0.294 0.294zM3.688 3.994c0.493 0 0.893-0.4 0.893-0.893s-0.4-0.893-0.893-0.893-0.893 0.4-0.893 0.893c0 0.493 0.4 0.893 0.893 0.893zM6.507 3.994c0.493 0 0.893-0.4 0.893-0.893s-0.4-0.893-0.893-0.893-0.893 0.4-0.893 0.893c0 0.493 0.4 0.893 0.893 0.893zM9.326 3.994c0.493 0 0.893-0.4 0.893-0.893s-0.4-0.893-0.893-0.893-0.893 0.4-0.893 0.893c0 0.493 0.4 0.893 0.893 0.893zM20.662 19.394l3.855-3.758c0.152-0.148 0.206-0.369 0.141-0.57s-0.239-0.348-0.449-0.378l-5.328-0.774-2.383-4.828c-0.094-0.19-0.287-0.31-0.498-0.31s-0.405 0.12-0.498 0.31l-2.383 4.828-5.328 0.774c-0.209 0.030-0.383 0.177-0.449 0.378s-0.011 0.422 0.141 0.57l3.855 3.758-0.91 5.307c-0.036 0.209 0.050 0.419 0.221 0.544s0.398 0.141 0.585 0.042l4.766-2.506 4.766 2.506c0.081 0.043 0.17 0.064 0.259 0.064 0.115 0 0.23-0.036 0.327-0.106 0.171-0.124 0.257-0.335 0.221-0.544l-0.91-5.307zM16.259 21.661c-0.162-0.085-0.355-0.085-0.517 0l-4.027 2.117 0.769-4.485c0.031-0.18-0.029-0.364-0.16-0.492l-3.258-3.176 4.503-0.654c0.181-0.026 0.338-0.14 0.418-0.304l2.014-4.080 2.014 4.080c0.081 0.164 0.238 0.278 0.419 0.304l4.503 0.654-3.258 3.176c-0.131 0.128-0.191 0.312-0.16 0.492l0.769 4.485-4.027-2.117zM16 25.179c-0.307 0-0.556 0.249-0.556 0.556v1.887c0 0.307 0.249 0.556 0.556 0.556s0.556-0.249 0.556-0.556v-1.887c0-0.307-0.249-0.556-0.556-0.556zM25.319 20.446l-1.794-0.583c-0.293-0.095-0.606 0.065-0.7 0.357s0.065 0.606 0.357 0.7l1.794 0.583c0.057 0.019 0.115 0.027 0.172 0.027 0.234 0 0.452-0.149 0.529-0.384 0.095-0.292-0.065-0.606-0.357-0.7zM20.218 12.197c0.099 0.072 0.213 0.106 0.326 0.106 0.172 0 0.341-0.079 0.45-0.229l1.109-1.526c0.18-0.248 0.125-0.596-0.123-0.776s-0.596-0.125-0.776 0.123l-1.109 1.526c-0.18 0.248-0.125 0.596 0.123 0.776zM11.006 12.075c0.109 0.15 0.278 0.229 0.45 0.229 0.113 0 0.228-0.034 0.326-0.106 0.248-0.18 0.303-0.528 0.123-0.776l-1.109-1.526c-0.18-0.248-0.528-0.303-0.776-0.123s-0.303 0.528-0.123 0.776l1.109 1.526zM8.475 19.863l-1.794 0.583c-0.292 0.095-0.452 0.408-0.357 0.7 0.076 0.235 0.294 0.384 0.529 0.384 0.057 0 0.115-0.009 0.172-0.027l1.794-0.583c0.292-0.095 0.452-0.408 0.357-0.7s-0.408-0.452-0.7-0.357z"}))},u=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M6.348 13.197c-0.308 0-0.557 0.249-0.557 0.557s0.249 0.557 0.557 0.557c0.495 0 1.655 0.598 1.655 1.759 0 0.308 0.249 0.557 0.557 0.557s0.557-0.249 0.557-0.557c0-1.886-1.803-2.873-2.769-2.873zM25.842 3.161c0.495 0 1.655 0.598 1.655 1.759 0 0.308 0.249 0.557 0.557 0.557s0.557-0.249 0.557-0.557c0-1.886-1.802-2.873-2.769-2.873-0.308 0-0.557 0.249-0.557 0.557s0.249 0.557 0.557 0.557zM25.742 22.433c-0.826 0-1.641 0.22-2.359 0.636-0.567 0.328-1.040 0.758-1.41 1.252l-11.344-6.569c0.069-0.174 0.13-0.353 0.179-0.537 0.276-1.036 0.194-2.11-0.226-3.079l11.319-6.555c0.878 1.235 2.316 1.986 3.848 1.986 0.825 0 1.641-0.22 2.359-0.636 1.090-0.631 1.869-1.649 2.194-2.866s0.155-2.488-0.476-3.578c-0.841-1.452-2.406-2.353-4.085-2.353-0.826 0-1.641 0.22-2.359 0.636-2.051 1.188-2.872 3.694-2.015 5.833l-11.344 6.569c-0.884-1.176-2.285-1.888-3.776-1.888-0.825 0-1.641 0.22-2.359 0.636-2.25 1.303-3.021 4.194-1.718 6.444 0.841 1.452 2.406 2.353 4.085 2.353 0.826 0 1.641-0.22 2.359-0.636 0.595-0.345 1.097-0.805 1.483-1.35l11.319 6.554c-0.567 1.323-0.526 2.888 0.249 4.227 0.841 1.452 2.406 2.353 4.085 2.353 0.825 0 1.641-0.22 2.359-0.636 1.090-0.631 1.869-1.649 2.194-2.866s0.155-2.488-0.476-3.578c-0.841-1.452-2.406-2.353-4.085-2.353zM23.941 1.734c0.549-0.318 1.171-0.486 1.801-0.486 1.283 0 2.479 0.689 3.121 1.798 0.482 0.833 0.611 1.803 0.363 2.733s-0.843 1.707-1.675 2.189c-0.549 0.318-1.171 0.486-1.801 0.486-1.283 0-2.479-0.689-3.121-1.798-0.995-1.719-0.407-3.927 1.312-4.922zM8.056 19.117c-0.549 0.318-1.171 0.486-1.801 0.486-1.283 0-2.479-0.689-3.121-1.797-0.995-1.719-0.407-3.927 1.312-4.922 0.549-0.318 1.171-0.486 1.801-0.486 1.283 0 2.479 0.689 3.121 1.798 0.482 0.833 0.611 1.803 0.363 2.733s-0.843 1.707-1.675 2.189zM29.226 28.077c-0.248 0.93-0.843 1.707-1.675 2.189-0.549 0.318-1.171 0.486-1.801 0.486-1.283 0-2.479-0.689-3.121-1.797-0.995-1.719-0.407-3.927 1.312-4.922 0.549-0.318 1.171-0.486 1.801-0.486 1.283 0 2.479 0.689 3.121 1.798 0.482 0.832 0.611 1.803 0.363 2.733zM25.842 24.346c-0.308 0-0.557 0.249-0.557 0.557s0.249 0.557 0.557 0.557c0.495 0 1.655 0.598 1.655 1.759 0 0.308 0.249 0.557 0.557 0.557s0.557-0.249 0.557-0.557c0-1.886-1.802-2.873-2.769-2.873z"}))},b=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M16 27.667l7.849-7.849c0.146-0.139 0.464-0.469 0.478-0.483l0.006-0.007c1.972-2.116 3.059-4.874 3.059-7.766 0-6.282-5.11-11.392-11.392-11.392s-11.392 5.11-11.392 11.392c0 2.893 1.086 5.651 3.058 7.766l8.334 8.339zM16 1.265c5.677 0 10.297 4.619 10.297 10.297 0 2.613-0.981 5.104-2.761 7.016-0.092 0.096-0.343 0.353-0.446 0.451l-7.089 7.089-7.539-7.543c-1.779-1.911-2.758-4.401-2.758-7.012 0-5.678 4.619-10.297 10.297-10.297zM17.755 4.005c1.966 0 5.792 2.149 5.792 6.090 0 0.303 0.245 0.548 0.548 0.548s0.548-0.245 0.548-0.548c0-2.051-0.906-3.953-2.552-5.354-1.306-1.112-3.008-1.831-4.335-1.831-0.302 0-0.548 0.245-0.548 0.548s0.245 0.548 0.548 0.548zM22.875 24.197c-0.427-0.174-0.886-0.33-1.371-0.467l-0.897 0.897c2.645 0.631 4.275 1.756 4.275 2.802 0 1.564-3.648 3.306-8.882 3.306s-8.882-1.742-8.882-3.306c0-1.045 1.631-2.171 4.275-2.802l-0.897-0.897c-0.485 0.137-0.944 0.293-1.371 0.467-2.001 0.818-3.102 1.966-3.102 3.232s1.102 2.415 3.102 3.232c1.845 0.754 4.287 1.169 6.875 1.169s5.030-0.415 6.875-1.169c2.001-0.818 3.102-1.966 3.102-3.232s-1.102-2.415-3.102-3.232zM16.032 16.804c-3.043 0-5.519-2.476-5.519-5.519s2.476-5.519 5.519-5.519c3.043 0 5.519 2.476 5.519 5.519s-2.476 5.519-5.519 5.519zM16.032 6.862c-2.439 0-4.423 1.984-4.423 4.423s1.984 4.423 4.423 4.423c2.439 0 4.423-1.984 4.423-4.423s-1.984-4.423-4.423-4.423z"}))},g=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M4.285 5.775c0.004 0 0.009 0.001 0.013 0.001h8.279c0.307 0 0.556-0.249 0.556-0.556s-0.249-0.556-0.556-0.556h-8.279c-0.307 0-0.556 0.249-0.556 0.556 0 0.302 0.242 0.548 0.542 0.555zM3.743 8.005c0 0.307 0.249 0.556 0.556 0.556h13.679c0.307 0 0.556-0.249 0.556-0.556s-0.249-0.556-0.556-0.556h-13.679c-0.307 0-0.556 0.249-0.556 0.556zM17.977 10.236h-13.679c-0.145 0-0.276 0.056-0.375 0.147-0.11 0.102-0.18 0.247-0.18 0.409 0 0.307 0.249 0.556 0.556 0.556h13.679c0.307 0 0.556-0.249 0.556-0.556 0-0.162-0.070-0.307-0.18-0.409-0.099-0.091-0.23-0.147-0.375-0.147zM17.977 13.022h-13.679c-0.307 0-0.556 0.249-0.556 0.556s0.249 0.556 0.556 0.556h13.679c0.307 0 0.556-0.249 0.556-0.556s-0.249-0.556-0.556-0.556zM17.977 15.807h-13.679c-0.145 0-0.276 0.056-0.375 0.147-0.11 0.102-0.18 0.247-0.18 0.409 0 0.307 0.249 0.556 0.556 0.556h13.679c0.307 0 0.556-0.249 0.556-0.556 0-0.162-0.070-0.307-0.18-0.409-0.099-0.091-0.23-0.147-0.375-0.147zM17.977 18.593h-13.679c-0.307 0-0.556 0.249-0.556 0.555s0.249 0.556 0.556 0.556h13.679c0.307 0 0.556-0.249 0.556-0.556s-0.249-0.555-0.556-0.555zM17.977 21.379h-13.679c-0.307 0-0.556 0.249-0.556 0.556s0.249 0.556 0.556 0.556h13.679c0.307 0 0.556-0.249 0.556-0.556s-0.249-0.556-0.556-0.556zM17.977 24.165h-13.679c-0.145 0-0.276 0.056-0.375 0.147-0.11 0.102-0.18 0.247-0.18 0.409 0 0.307 0.249 0.556 0.556 0.556h13.679c0.307 0 0.556-0.249 0.556-0.556 0-0.162-0.070-0.307-0.18-0.409-0.099-0.091-0.23-0.147-0.375-0.147zM21.93 4.466l-4.277-3.87c-0.094-0.085-0.212-0.132-0.334-0.139h-15.831c-0.812 0-1.473 0.664-1.473 1.481v28.153c0 0.817 0.661 1.481 1.473 1.481h19.174c0.812 0 1.473-0.664 1.473-1.481v-25.222c-0.008-0.163-0.086-0.308-0.205-0.403zM17.833 2.238l2.331 2.109h-2.331v-2.109zM21.043 30.091c0 0.215-0.171 0.39-0.381 0.39h-19.174c-0.21 0-0.382-0.175-0.382-0.39v-28.153c0-0.215 0.171-0.39 0.382-0.39h15.251v3.348c0 0.303 0.245 0.549 0.547 0.549h3.758v24.647zM31.975 3.213c-0.125-1.57-1.442-2.809-3.044-2.809-0 0-0 0-0 0-0.816 0-1.583 0.318-2.16 0.895-0.519 0.519-0.827 1.191-0.884 1.915h-0.010v0.242c0 0.001-0 0.002-0 0.003s0 0.001 0 0.001l-0 24.342h0.003c0.010 0.096 0.045 0.191 0.108 0.273l2.509 3.305c0.103 0.136 0.264 0.216 0.435 0.216s0.331-0.080 0.435-0.216l2.508-3.305c0.063-0.083 0.098-0.177 0.108-0.274h0.003v-24.589h-0.011zM27.543 2.070c0.371-0.371 0.864-0.575 1.388-0.575h0c0.893 0 1.649 0.6 1.886 1.417h-3.772c0.091-0.315 0.26-0.604 0.498-0.842zM28.362 26.711l-1.394 0 0-22.406h3.926v22.406h-1.442l0-18.071-1.090 0 0 18.071zM28.931 30.148l-1.781-2.346 3.562-0-1.781 2.346z"}))},h=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M31.908 1.543c0-0.815-0.677-1.478-1.51-1.478h-28.731c-0.815 0-1.478 0.677-1.478 1.51v14.441c0 0.022 0.002 0.044 0.004 0.065-0.003 0.021-0.004 0.043-0.004 0.065v14.357c0 0.815 0.677 1.478 1.51 1.478h28.731c0.815 0 1.478-0.677 1.478-1.51v-14.441c0-0.022-0.002-0.044-0.004-0.065 0.003-0.021 0.004-0.043 0.004-0.065v-14.357zM30.792 1.543v13.799h-4.324c0.587-0.66 0.932-1.525 0.932-2.453 0-0.737-0.218-1.423-0.592-2-0.648-1.066-1.82-1.78-3.156-1.78-2.034 0-3.689 1.655-3.689 3.689 0 0.745 0.223 1.449 0.615 2.039 0.111 0.178 0.236 0.347 0.376 0.504h-4.372v-6.025c0-0.184-0.090-0.347-0.228-0.449-0.101-0.103-0.242-0.167-0.398-0.167h-0.173c-0.24 0-0.453 0.153-0.529 0.38-0.352 1.049-1.332 1.754-2.439 1.754-0.419 0-0.815-0.101-1.166-0.28-0.776-0.444-1.301-1.279-1.301-2.235 0-1.419 1.154-2.574 2.574-2.574 0.408 0 0.799 0.096 1.147 0.27 0.546 0.305 0.976 0.804 1.185 1.426 0.052 0.155 0.169 0.275 0.314 0.335 0.092 0.065 0.204 0.103 0.322 0.103h0.133c0.308 0 0.558-0.25 0.558-0.558v-6.142h13.816c0.217 0 0.394 0.162 0.394 0.362zM1.305 1.575c0-0.217 0.162-0.394 0.362-0.394h13.732v4.404c-0.239-0.216-0.505-0.401-0.793-0.549-0.536-0.297-1.148-0.464-1.791-0.464-2.034 0-3.689 1.655-3.689 3.689 0 1.423 0.81 2.659 1.992 3.274 0.534 0.301 1.149 0.473 1.804 0.473 0.939 0 1.813-0.354 2.476-0.955v4.404h-6.016c-0.308 0-0.558 0.25-0.558 0.558v0.173c0 0.127 0.043 0.245 0.117 0.34 0.065 0.129 0.178 0.231 0.321 0.279 0.562 0.189 1.023 0.558 1.332 1.030 0.232 0.39 0.364 0.842 0.364 1.318 0 1.419-1.154 2.574-2.574 2.574-0.894 0-1.682-0.458-2.144-1.151-0.236-0.389-0.372-0.844-0.372-1.331-0-1.107 0.705-2.087 1.754-2.44 0.227-0.076 0.38-0.289 0.38-0.529v-0.133c0-0.106-0.030-0.204-0.081-0.288-0.068-0.231-0.282-0.4-0.535-0.4h-6.084v-13.883zM1.305 30.505v-13.799h4.324c-0.587 0.66-0.932 1.525-0.932 2.453 0 0.737 0.218 1.424 0.592 2 0.647 1.066 1.82 1.78 3.156 1.78 2.034 0 3.689-1.655 3.689-3.689-0-0.745-0.223-1.449-0.615-2.040-0.111-0.178-0.236-0.347-0.376-0.504h4.372v6.025c0 0.184 0.090 0.347 0.228 0.449 0.101 0.103 0.242 0.167 0.398 0.167h0.173c0.24 0 0.453-0.153 0.529-0.38 0.352-1.049 1.332-1.754 2.439-1.754 0.419 0 0.815 0.101 1.165 0.28 0.776 0.444 1.301 1.279 1.301 2.236 0 1.419-1.154 2.574-2.574 2.574-0.408 0-0.799-0.096-1.147-0.27-0.546-0.305-0.976-0.804-1.185-1.426-0.052-0.155-0.169-0.275-0.314-0.336-0.092-0.065-0.204-0.103-0.322-0.103h-0.133c-0.308 0-0.558 0.25-0.558 0.558v6.142h-13.816c-0.217-0-0.394-0.163-0.394-0.362zM30.792 30.472c0 0.217-0.162 0.394-0.362 0.394h-13.732v-4.404c0.239 0.216 0.505 0.401 0.792 0.548 0.536 0.297 1.148 0.464 1.791 0.464 2.034 0 3.689-1.655 3.689-3.689 0-1.423-0.81-2.659-1.993-3.274-0.534-0.301-1.149-0.473-1.804-0.473-0.939 0-1.813 0.354-2.476 0.955v-4.404h6.016c0.308 0 0.558-0.25 0.558-0.558v-0.173c0-0.126-0.044-0.245-0.117-0.34-0.064-0.129-0.178-0.231-0.321-0.279-0.562-0.189-1.023-0.558-1.332-1.030-0.232-0.389-0.363-0.842-0.363-1.318 0-1.419 1.154-2.574 2.574-2.574 0.894 0 1.682 0.458 2.144 1.151 0.236 0.389 0.372 0.844 0.372 1.331 0 1.107-0.705 2.087-1.754 2.439-0.227 0.076-0.38 0.289-0.38 0.529v0.133c0 0.106 0.030 0.204 0.081 0.289 0.068 0.231 0.282 0.4 0.535 0.4h6.084v13.883z"}))},w=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M15.517 23.581c-0.036 0.002-0.069-0.003-0.102-0.009-0.108-0.019-0.211-0.070-0.294-0.153l-9.153-9.153c-0.104-0.104-0.162-0.245-0.162-0.392s0.058-0.288 0.163-0.392l2.13-2.129c0.217-0.217 0.568-0.217 0.784 0l6.633 6.633 12.94-12.94c0.217-0.217 0.568-0.217 0.785 0l2.13 2.13c0.104 0.104 0.163 0.245 0.163 0.392s-0.058 0.288-0.162 0.392l-15.46 15.46c-0.104 0.104-0.245 0.163-0.392 0.163zM7.145 13.873l8.37 8.37 14.678-14.678-1.345-1.345-12.94 12.94c-0.217 0.217-0.568 0.217-0.785 0l-6.633-6.633-1.345 1.345zM30.087 11.781c0.401 1.337 0.618 2.753 0.618 4.219 0 8.108-6.596 14.704-14.705 14.704s-14.704-6.596-14.704-14.704c0-8.108 6.596-14.705 14.704-14.705 3.79 0 7.25 1.442 9.86 3.805l0.785-0.785c-2.812-2.564-6.549-4.129-10.645-4.129-8.72 0-15.814 7.094-15.814 15.814s7.094 15.814 15.814 15.814c8.72 0 15.814-7.094 15.814-15.814 0-1.784-0.297-3.501-0.845-5.102l-0.883 0.883z"}))},y=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M17.425 25.368h-3.22v-2.107c-1.234-0.109-2.518-0.463-3.389-0.944l-0.373-0.206 0.93-3.628 0.622 0.341c0.602 0.33 1.835 0.883 3.323 0.883 0.769 0 1.545-0.244 1.545-0.789 0-0.365-0.235-0.783-1.938-1.358-1.985-0.668-4.264-1.78-4.264-4.477 0-2.098 1.387-3.709 3.652-4.289v-2.162h3.22v1.931c1.366 0.11 2.263 0.465 2.838 0.736l0.416 0.196-0.937 3.53-0.621-0.298c-0.539-0.259-1.442-0.692-2.853-0.692-0.488 0-1.307 0.088-1.307 0.681 0 0.448 1.192 0.94 2.231 1.319 2.781 0.973 3.971 2.344 3.971 4.58 0 1.114-0.391 2.124-1.13 2.922-0.668 0.721-1.601 1.236-2.716 1.503v2.328zM15.307 24.266h1.016v-2.139l0.457-0.079c2.090-0.36 3.389-1.676 3.389-3.433 0-1.446-0.551-2.601-3.24-3.542-1.624-0.592-2.962-1.176-2.962-2.357 0-0.862 0.633-1.783 2.409-1.783 1.213 0 2.119 0.278 2.746 0.536l0.36-1.354c-0.565-0.222-1.372-0.445-2.517-0.479l-0.535-0.016v-1.886h-1.016v1.959l-0.45 0.084c-2.005 0.375-3.202 1.61-3.202 3.305 0 1.577 1.051 2.604 3.514 3.432 1.396 0.472 2.688 1.089 2.688 2.402 0 1.149-1.039 1.891-2.647 1.891-1.312 0-2.447-0.366-3.222-0.708l-0.369 1.437c0.709 0.309 1.808 0.617 3.045 0.654l0.535 0.016v2.058zM15.901 30.607c-8.054 0-14.607-6.552-14.607-14.606s6.552-14.607 14.607-14.607c8.054 0 14.607 6.552 14.607 14.607 0 2.567-0.667 4.981-1.834 7.079l1.095 0.293c1.174-2.2 1.841-4.71 1.841-7.373 0-8.662-7.047-15.709-15.709-15.709s-15.709 7.047-15.709 15.709 7.047 15.709 15.709 15.709c2.752 0 5.34-0.712 7.592-1.96l-0.294-1.099c-2.148 1.244-4.641 1.957-7.297 1.957zM29.539 31.709c-0.141 0-0.282-0.054-0.39-0.161l-2.673-2.673-0.86 1.786c-0.1 0.208-0.32 0.331-0.548 0.31s-0.421-0.184-0.481-0.406l-1.977-7.377c-0.051-0.19 0.004-0.393 0.143-0.532s0.342-0.194 0.532-0.143l7.377 1.977c0.222 0.060 0.385 0.252 0.406 0.481s-0.102 0.448-0.31 0.548l-1.787 0.86 2.673 2.672c0.103 0.103 0.161 0.244 0.161 0.39s-0.058 0.286-0.161 0.39l-1.717 1.717c-0.108 0.107-0.249 0.161-0.39 0.161zM26.318 27.385c0.145 0 0.285 0.057 0.39 0.161l2.832 2.832 0.938-0.938-2.832-2.832c-0.126-0.126-0.184-0.306-0.154-0.482s0.143-0.327 0.304-0.404l1.148-0.552-5.020-1.345 1.345 5.020 0.552-1.148c0.077-0.161 0.228-0.274 0.404-0.304 0.031-0.005 0.062-0.008 0.092-0.008zM20.272 5.201c1.977 0 5.826 2.162 5.826 6.126 0 0.304 0.247 0.551 0.551 0.551s0.551-0.247 0.551-0.551c0-2.063-0.912-3.976-2.568-5.387-1.314-1.119-3.025-1.842-4.361-1.842-0.304 0-0.551 0.247-0.551 0.551s0.247 0.551 0.551 0.551z"}))},f=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M31.438 1.423h-30.877c-0.31 0-0.562 0.251-0.562 0.562v22.175c0 0.31 0.251 0.562 0.562 0.562h3.103v5.294c0 0.201 0.107 0.386 0.281 0.486 0.087 0.050 0.184 0.075 0.281 0.075s0.194-0.025 0.281-0.075l10.012-5.78h16.919c0.31 0 0.562-0.251 0.562-0.562v-22.175c0-0.31-0.251-0.562-0.562-0.562zM30.877 23.598h-16.508c-0.099 0-0.195 0.026-0.281 0.075l-9.3 5.369v-4.883c0-0.31-0.251-0.562-0.562-0.562h-3.103v-21.052h29.753v21.052zM4.386 7.532h22.894c0.31 0 0.562-0.251 0.562-0.562s-0.251-0.562-0.562-0.562h-22.894c-0.31 0-0.562 0.251-0.562 0.562s0.251 0.562 0.562 0.562zM4.386 11.865h22.894c0.31 0 0.562-0.251 0.562-0.562s-0.251-0.562-0.562-0.562h-22.894c-0.31 0-0.562 0.251-0.562 0.562s0.251 0.562 0.562 0.562zM4.386 16.198h22.894c0.31 0 0.562-0.251 0.562-0.562s-0.251-0.562-0.562-0.562h-22.894c-0.31 0-0.562 0.251-0.562 0.562s0.251 0.562 0.562 0.562zM4.386 20.53h22.894c0.31 0 0.562-0.251 0.562-0.562s-0.251-0.562-0.562-0.562h-22.894c-0.31 0-0.562 0.252-0.562 0.562s0.251 0.562 0.562 0.562z"}))},v=function(){return wp.element.createElement(o,{viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M0 448V64h18v384H0zm26.857-.273V64H36v383.727h-9.143zm27.143 0V64h8.857v383.727H54zm44.857 0V64h8.857v383.727h-8.857zm36 0V64h17.714v383.727h-17.714zm44.857 0V64h8.857v383.727h-8.857zm18 0V64h8.857v383.727h-8.857zm18 0V64h8.857v383.727h-8.857zm35.715 0V64h18v383.727h-18zm44.857 0V64h18v383.727h-18zm35.999 0V64h18.001v383.727h-18.001zm36.001 0V64h18.001v383.727h-18.001zm26.857 0V64h18v383.727h-18zm45.143 0V64h26.857v383.727h-26.857zm35.714 0V64h9.143v383.727H476zm18 .273V64h18v384h-18z"}))},k=function(){return wp.element.createElement(o,{className:"custom-icon",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M17.294,17.287l-14.588,0l0,-14.574l14.588,0c0,4.858 0,9.716 0,14.574Zm-13.738,-0.85l12.888,0l0,-12.874l-12.888,0c0,4.291 0,8.583 0,12.874Z"}),wp.element.createElement("rect",{x:"4.489",y:"4.744",width:"11.022",height:"2.512"}))},T=function(){return wp.element.createElement(o,{className:"custom-icon",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M17.294,17.287l-14.588,0l0,-14.574l14.588,0c0,4.858 0,9.716 0,14.574Zm-13.738,-0.85l12.888,0l0,-12.874l-12.888,0c0,4.291 0,8.583 0,12.874Z"}),wp.element.createElement("rect",{y:"8.744",width:"11.022",x:"4.489",height:"2.512"}))},E=function(){return wp.element.createElement(o,{className:"custom-icon",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M17.294,17.287l-14.588,0l0,-14.574l14.588,0c0,4.858 0,9.716 0,14.574Zm-13.738,-0.85l12.888,0l0,-12.874l-12.888,0c0,4.291 0,8.583 0,12.874Z"}),wp.element.createElement("rect",{x:"4.489",y:"12.802",width:"11.022",height:"2.512"}))},x=wp.element.createElement(o,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"20",height:"20"},wp.element.createElement(l,{d:"M5 5H3v2h2V5zm3 8h11v-2H8v2zm9-8H6v2h11V5zM7 11H5v2h2v-2zm0 8h2v-2H7v2zm3-2v2h11v-2H10z"}))},,function(e,t,n){"use strict";n.d(t,"b",(function(){return l})),n.d(t,"a",(function(){return o}));var a=wp.i18n.__,l=function(e){var t=document.createElement("div");return t.innerHTML=e,void 0!==t.innerText?t.innerText:t.textContent},o=function(e){var t=[a("January"),a("February"),a("March"),a("April"),a("May"),a("June"),a("July"),a("August"),a("September"),a("October"),a("November"),a("December")],n=(e=new Date(e)).getDate(),l=e.getMonth(),o=e.getFullYear();return n+" "+t[l]+", "+o}},function(e,t,n){"use strict";var a=n(0),l=n.n(a);n(51);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var r=wp.components,i=r.Popover,c=r.RangeControl,p=wp.element,d=p.Fragment,m=p.useRef,s=p.useState,u=function(e){var t=e.id,n=e.index,a=e.option,l=e.min,r=e.max,p=e.onChange,u=o(s(!1),2),b=u[0],g=u[1],h=m(null);return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-sizing-control-item"},n.disabled?wp.element.createElement("input",{type:"number",disabled:n.disabled,className:"wp-block-themeisle-blocks-sizing-control-item-input",id:"wp-block-themeisle-blocks-sizing-control-item-input-".concat(a)}):wp.element.createElement(d,null,wp.element.createElement("input",{type:"number",className:"wp-block-themeisle-blocks-sizing-control-item-input",id:"wp-block-themeisle-blocks-sizing-control-item-input-".concat(a,"-").concat(t),value:n.value,min:l,max:r,ref:h,onFocus:function(){return g(!b)},onChange:function(e){return p(n.type,parseInt(e.target.value))}}),b&&wp.element.createElement(i,{onFocusOutside:function(){h.current.contains(document.activeElement)||g(!1)}},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-sizing-control-overlay"},wp.element.createElement(c,{value:n.value,initialPosition:n.value,beforeIcon:"minus",afterIcon:"plus",min:l,max:r,onChange:function(e){return p(n.type,e)}})))),n.label&&wp.element.createElement("label",{className:"wp-block-themeisle-blocks-sizing-control-item-label",htmlFor:"wp-block-themeisle-blocks-sizing-control-item-input-".concat(a,"-").concat(t)},n.label))},b=wp.i18n.__,g=wp.components.IconButton,h=wp.compose.withInstanceId;t.a=h((function(e){var t=e.instanceId,n=e.label,a=e.type,o=e.min,r=e.max,i=e.changeType,c=e.options,p=e.onChange,d="inspector-sizing-control-".concat(t);return c&&1>c.length?b("Please specify more options."):wp.element.createElement("div",{id:d,className:"wp-block-themeisle-blocks-sizing-control"},wp.element.createElement("div",{className:"components-base-control__field"},n&&wp.element.createElement("label",{className:"components-base-control__label",htmlFor:d},n),wp.element.createElement("div",{className:l()("wp-block-themeisle-blocks-sizing-control-wrapper",{linking:a})},c.map((function(e,n){return wp.element.createElement(u,{id:t,index:e,option:n,min:o,max:r,onChange:p})})),a&&wp.element.createElement("div",{className:l()("wp-block-themeisle-blocks-sizing-control-item","toggle-linking",{"is-linked":"linked"===a})},wp.element.createElement(g,{icon:"linked"===a?"admin-links":"editor-unlink",tooltip:b("linked"===a?"Unlink Values":"Link Values"),className:"wp-block-themeisle-blocks-sizing-control-item-input",onClick:function(){return i("linked"===a?"unlinked":"linked")}})))))}))},function(e,t,n){"use strict";var a=n(0),l=n.n(a),o=(n(50),wp.i18n.__),r=wp.components,i=r.Button,c=r.Dashicon,p=r.Dropdown,d=r.IconButton,m=wp.compose.withInstanceId;t.a=m((function(e){var t=e.instanceId,n=e.label,a=e.changeViewType,r=e.view,m=e.children,s="inspector-responsive-control-".concat(t);return wp.element.createElement("div",{id:s,className:"wp-block-themeisle-blocks-responsive-control"},wp.element.createElement("div",{className:"components-base-control__field"},wp.element.createElement("div",{className:"components-base-control__title"},wp.element.createElement("label",{className:"components-base-control__label"},n),wp.element.createElement("div",{className:"floating-controls"},wp.element.createElement(p,{position:"top left",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return wp.element.createElement(d,{icon:"mobile"===r?"smartphone":r,label:o("Responsiveness Settings"),className:"is-button",onClick:n,"aria-expanded":t})},renderContent:function(e){var t=e.onToggle;return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-responsive-control-settings"},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-responsive-control-settings-title"},o("Responsiveness Settings")),wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-responsive-control-settings-item",{"is-selected":"desktop"===r}),onClick:function(){t(),a("desktop")}},wp.element.createElement(c,{icon:"desktop"}),wp.element.createElement("span",{className:"popover-title"},o("Desktop"))),wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-responsive-control-settings-item",{"is-selected":"tablet"===r}),onClick:function(){t(),a("tablet")}},wp.element.createElement(c,{icon:"tablet"}),wp.element.createElement("span",{className:"popover-title"},o("Tablet Devices"))),wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-responsive-control-settings-item",{"is-selected":"mobile"===r}),onClick:function(){t(),a("mobile")}},wp.element.createElement(c,{icon:"smartphone"}),wp.element.createElement("span",{className:"popover-title"},o("Smartphones"))))}}))),m))}))},function(e,t,n){"use strict";n(49);var a=wp.components,l=a.Dropdown,o=a.IconButton,r=wp.compose.withInstanceId;t.a=r((function(e){var t=e.label,n=e.instanceId,a=e.children,r="inspector-control-panel-control-".concat(n);return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-control-panel-control"},wp.element.createElement("div",{className:"components-base-control__field"},wp.element.createElement("div",{className:"components-base-control__title"},wp.element.createElement("label",{className:"components-base-control__label",for:r},t),wp.element.createElement("div",{className:"floating-controls"},wp.element.createElement(l,{position:"top left",headerTitle:t,expandOnMobile:!0,renderToggle:function(e){var n=e.isOpen,a=e.onToggle;return wp.element.createElement(o,{id:r,icon:"admin-settings",label:t,className:"is-button",onClick:a,"aria-expanded":n})},renderContent:function(){return wp.element.createElement("div",{className:"wp-block-themeisle-popover-settings"},a)}})))))}))},function(e,t,n){"use strict";n.r(t);var a=n(0),l=n.n(a),o=(n(68),n(69),wp.components),r=o.SVG,i=o.Path;t.default=function(e){var t=e.type,n=e.front,a=e.style,o=e.fill,c=e.invert,p=e.width,d=e.height;return"none"!==a&&wp.element.createElement("div",{className:l()("wp-block-themeisle-blocks-advanced-columns-separators",t),style:!n&&p?{transform:"".concat(p?"scaleX( ".concat(p/100," )"):"")}:{}},"bigTriangle"===a&&!1===c&&wp.element.createElement(r,{id:"bigTriangle",fill:o,viewBox:"0 0 100 100",width:"100%",height:d?"".concat(d,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"bottom"===t?{transform:"".concat("bottom"===t?"rotate(180deg)":"")}:{}},wp.element.createElement(i,{d:"M0 0 L50 100 L100 0 Z"})),"bigTriangle"===a&&!0===c&&wp.element.createElement(r,{id:"bigTriangle",fill:o,viewBox:"0 0 100 100",width:"100%",height:d?"".concat(d,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"top"===t?{transform:"".concat("top"===t?"rotate(180deg)":"")}:{}},wp.element.createElement(i,{d:"M100, 0l-50, 100l-50, -100l0, 100l100, 0l0, -100Z"})),"rightCurve"===a&&!1===c&&wp.element.createElement(r,{id:"rightCurve",fill:o,viewBox:"0 0 100 100",width:"100%",height:d?"".concat(d,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"top"===t?{transform:"".concat("top"===t?"rotate(180deg)":"")}:{}},wp.element.createElement(i,{d:"M0 100 C 20 0 50 0 100 100 Z"})),"rightCurve"===a&&!0===c&&wp.element.createElement(r,{id:"rightCurve",fill:o,viewBox:"0 0 100 100",width:"100%",height:d?"".concat(d,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"top"===t?{transform:"".concat("top"===t?"rotate(180deg)":"")}:{}},wp.element.createElement(i,{d:"M0 100 C 50 0 70 0 100 100 Z"})),"curve"===a&&wp.element.createElement(r,{id:"curve",fill:o,viewBox:"0 0 100 100",width:"100%",height:d?"".concat(d,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"top"===t?{transform:"".concat("top"===t?"rotate(180deg)":"")}:{}},wp.element.createElement(i,{d:"M0 100 C40 0 60 0 100 100 Z"})),"slant"===a&&!1===c&&wp.element.createElement(r,{id:"slant",fill:o,viewBox:"0 0 100 100",width:"100%",height:d?"".concat(d,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"bottom"===t?{transform:"".concat("bottom"===t?"rotate(180deg)":"")}:{}},wp.element.createElement(i,{d:"M0 0 L100 100 L100 0 Z"})),"slant"===a&&!0===c&&wp.element.createElement(r,{id:"slant",fill:o,viewBox:"0 0 100 100",width:"100%",height:d?"".concat(d,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"bottom"===t?{transform:"".concat("bottom"===t?"rotate(180deg)":"")}:{}},wp.element.createElement(i,{d:"M0 0 L0 100 L100 0 Z"})),"cloud"===a&&wp.element.createElement(r,{id:"cloud",fill:o,viewBox:"0 0 100 100",width:"100%",height:d?"".concat(d,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"top"===t?{transform:"".concat("top"===t?"rotate(180deg)":"")}:{}},wp.element.createElement(i,{d:"M-5 100 Q 10 -100 15 100 Z M10 100 Q 20 -20 30 100 M25 100 Q 35 -70 45 100 M40 100 Q 50 -100 60 100 M55 100 Q 65 -20 75 100 M70 100 Q 75 -45 90 100 M85 100 Q 90 -50 95 100 M90 100 Q 95 -25 105 100 Z"})))}},function(e,t){e.exports=React},function(e,t,n){"use strict";var a=n(0),l=n.n(a);n(48);function o(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var i=lodash,c=i.startCase,p=i.toLower,d=wp.i18n.__,m=wp.compose.withInstanceId,s=wp.components,u=s.Button,b=s.BaseControl,g=s.Dropdown,h=s.MenuGroup,w=s.MenuItem,y=s.SelectControl,f=s.TextControl,v=wp.element,k=v.useEffect,T=v.useState;t.a=m((function(e){var t=e.instanceId,n=e.label,a=e.value,i=e.valueVariant,m=e.valueStyle,s=e.valueTransform,v=e.isSelect,E=void 0!==v&&v,x=e.onChangeFontFamily,C=e.onChangeFontVariant,S=e.onChangeFontStyle,B=e.onChangeTextTransform;k((function(){fetch("https://www.googleapis.com/webfonts/v1/webfonts?key=AIzaSyClGdkPJ1BvgLOol5JAkQY4Mv2lkLYu00k").then((function(e){return e.json()})).then((function(e){N(e.items),a&&e.items.find((function(e){if(a===e.family){var t=e.variants.filter((function(e){return!1===e.includes("italic")})).map((function(e){return{label:c(p(e)),value:e}}));return z(t)}}))}))}),[]);var M=r(T(null),2),O=M[0],N=M[1],R=r(T(null),2),L=R[0],z=R[1],_=r(T(""),2),P=_[0],H=_[1],A="inspector-google-fonts-control-".concat(t);return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-google-fonts-control"},wp.element.createElement(b,{label:n,id:A},null!==O?E?wp.element.createElement(y,{value:a||"",id:A,options:[{label:d("Default"),value:""}].concat(o(O.map((function(e){return{label:e.family,value:e.family}})))),onChange:function(e){var t=[];if(""===e)return t=[{label:d("Regular"),value:"regular"},{label:d("Italic"),value:"italic"}],x(void 0),C(void 0),void z(t);x(e),C("regular"),t=O.find((function(t){return e===t.family})).variants.filter((function(e){return!1===e.includes("italic")})).map((function(e){return{label:c(p(e)),value:e}})),z(t)}}):wp.element.createElement(g,{contentClassName:"wp-block-themeisle-blocks-google-fonts-popover",position:"bottom center",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return wp.element.createElement(u,{isLarge:!0,className:"wp-block-themeisle-blocks-google-fonts-button",id:A,onClick:n,"aria-expanded":t},a||d("Select Font Family"))},renderContent:function(e){var t=e.onToggle;return wp.element.createElement(h,{label:d("Google Fonts")},wp.element.createElement(f,{value:P,onChange:function(e){return H(e)}}),wp.element.createElement("div",{className:"components-popover__items"},wp.element.createElement(w,{onClick:function(){t(),x(void 0),C(void 0),z([]),H("")}},d("Default")),O.map((function(e){if(!P||e.family.toLowerCase().includes(P.toLowerCase()))return wp.element.createElement(w,{className:l()({"is-selected":e.family===a}),onClick:function(){t(),x(e.family),C("regular");var n=e.variants.filter((function(e){return!1===e.includes("italic")})).map((function(e){return{label:c(p(e)),value:e}}));z(n),H("")}},e.family)}))))}}):d("Loading…")),L&&wp.element.createElement(y,{label:d("Font Width"),value:i||"regular",options:L,onChange:C}),wp.element.createElement(y,{label:d("Font Style"),value:m,options:[{label:d("Regular"),value:"normal"},{label:d("Italic"),value:"italic"}],onChange:S}),wp.element.createElement(y,{label:d("Font Transform"),value:s,options:[{label:d("Default"),value:"none"},{label:d("Uppercase"),value:"uppercase"},{label:d("Lowercase"),value:"lowercase"},{label:d("Capitalize"),value:"capitalize"}],onChange:B}))}))},function(e,t,n){"use strict";n.d(t,"b",(function(){return b})),n.d(t,"a",(function(){return g}));var a=n(0),l=n.n(a),o=(n(61),wp.components),r=o.BaseControl,i=o.Button,c=o.Dropdown,p=o.IconButton,d=o.Toolbar,m=wp.compose.withInstanceId,s=wp.blockEditor.BlockControls,u=wp.element.Fragment,b=m((function(e){var t=e.instanceId,n=e.label,a=e.value,o=e.options,c=e.onChange,p="inspector-style-switcher-control-".concat(t);return wp.element.createElement(r,{id:p,label:n},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-style-switcher"},o.map((function(e){return wp.element.createElement(i,{className:l()("blocks-style-switcher-item",{"is-active":e.value===a}),tabIndex:"0",onClick:function(){return function(e){return c(e)}(e.value)}},wp.element.createElement("div",{className:"blocks-style-switcher-item-preview"},wp.element.createElement("img",{src:e.image})),wp.element.createElement("div",{className:"blocks-style-switcher-item-label"},e.label))}))))})),g=function(e){var t=e.label,n=e.value,a=e.options,o=e.onChange;return wp.element.createElement(s,null,wp.element.createElement(d,{className:"wp-themesiel-blocks-block-styles-components-toolbar"},wp.element.createElement(c,{contentClassName:"wp-themesiel-blocks-block-styles-popover-content",position:"bottom center",renderToggle:function(e){var n=e.isOpen,a=e.onToggle;return wp.element.createElement(p,{className:"components-dropdown-menu__toggle",icon:"admin-appearance",onClick:a,"aria-haspopup":"true","aria-expanded":n,label:t,tooltip:t},wp.element.createElement("span",{className:"components-dropdown-menu__indicator"}))},renderContent:function(){return wp.element.createElement(u,null,wp.element.createElement("div",{className:"wp-block-themeisle-blocks-style-switcher"},a.map((function(e){return wp.element.createElement(i,{className:l()("blocks-style-switcher-item",{"is-active":e.value===n}),tabIndex:"0",onClick:function(){return function(e){return o(e)}(e.value)}},wp.element.createElement("div",{className:"blocks-style-switcher-item-preview"},wp.element.createElement("img",{src:e.image})),wp.element.createElement("div",{className:"blocks-style-switcher-item-label"},e.label))}))))}})))}},,,function(e,t,n){"use strict";t.a={1:{equal:["100"]},2:{equal:["50","50"],oneTwo:["33.34","66.66"],twoOne:["66.66","33.34"]},3:{equal:["33.33","33.33","33.33"],oneOneTwo:["25","25","50"],twoOneOne:["50","25","25"],oneTwoOne:["25","50","25"],oneThreeOne:["20","60","20"]},4:{equal:["25","25","25","25"]},5:{equal:["20","20","20","20","20"]},6:{equal:["16.66","16.66","16.66","16.66","16.66","16.66"]}}},function(e,t,n){"use strict";n.r(t);var a=n(0),l=n.n(a),o=(n(66),n(2)),r=wp.i18n.__,i=wp.components,c=i.Button,p=i.ButtonGroup,d=i.Icon,m=i.IconButton,s=i.Tooltip,u=wp.compose.withInstanceId;t.default=u((function(e){var t=e.label,n=e.instanceId,a=e.backgroundType,i=e.changeBackgroundType,u="inspector-background-control-".concat(n);return wp.element.createElement("div",{id:u,className:"components-base-control wp-block-themeisle-blocks-advanced-columns-background-control"},wp.element.createElement("div",{className:"components-base-control__field"},wp.element.createElement("div",{className:"components-base-control__title"},wp.element.createElement("label",{className:"components-base-control__label"},t),wp.element.createElement(p,{className:"linking-controls"},wp.element.createElement(m,{icon:"admin-customizer",label:r("Color"),className:l()("is-button",{"is-primary":"color"===a}),onClick:function(){i("color")}}),wp.element.createElement(m,{icon:"format-image",label:r("Image"),className:l()("is-button",{"is-primary":"image"===a}),onClick:function(){i("image")}}),wp.element.createElement(s,{text:r("Gradient")},wp.element.createElement(c,{label:r("Gradient"),className:l()("is-button",{"is-primary":"gradient"===a}),onClick:function(){i("gradient")}},wp.element.createElement(d,{icon:o.b})))))))}))},function(e,t){e.exports=ReactDOM},function(e,t,n){"use strict";n(67);var a=n(0),l=n.n(a),o=wp.components,r=o.Dashicon,i=o.Tooltip,c=function(e){var t=e.title,n=e.firstColor,a=e.secondColor,o=e.isSelected,c=e.onChange,p=wp.element.createElement("button",{type:"button","aria-pressed":o,className:l()("wp-block-themeisle-blocks-gradient-picker-control-option",{"is-active":o}),style:{background:"linear-gradient(90deg, ".concat(n," 0%, ").concat(a," 100%)")},onClick:function(){return c(n,0,a,100,"linear",90,"center center")}});return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-gradient-picker-control-option-wrapper"},t?wp.element.createElement(i,{text:t},p):p,o&&wp.element.createElement(r,{icon:"saved"}))},p=wp.i18n.__,d=[{title:p("Reef"),firstColor:"#36d1dc",secondColor:"#5b86e5"},{title:p("Mild"),firstColor:"#67B26F",secondColor:"#4ca2cd"},{title:p("Mojito"),firstColor:"#1D976C",secondColor:"#93F9B9"},{title:p("Nelson"),firstColor:"#f2709c",secondColor:"#ff9472"},{title:p("Orange Fun"),firstColor:"#fc4a1a",secondColor:"#f7b733"},{title:p("Evening Night"),firstColor:"#005AA7",secondColor:"#FFFDE4"},{title:p("Calm Darya"),firstColor:"#5f2c82",secondColor:"#49a09d"},{title:p("Opa"),firstColor:"#3D7EAA",secondColor:"#FFE47A"},{title:p("Bora Bora"),firstColor:"#2BC0E4",secondColor:"#EAECC6"},{title:p("Electric Violet"),firstColor:"#4776E6",secondColor:"#8E54E9"},{title:p("Pinky"),firstColor:"#DD5E89",secondColor:"#F7BB97"},{title:p("Purple Paradise"),firstColor:"#1D2B64",secondColor:"#F8CDDA"}],m=wp.i18n.__,s=wp.components,u=s.Button,b=s.ColorIndicator,g=s.Dropdown,h=s.RangeControl,w=s.SelectControl,y=wp.compose.withInstanceId,f=wp.blockEditor.ColorPalette,v=wp.element.Fragment;t.a=y((function(e){var t,n=e.label,a=e.instanceId,l=e.value,o=e.customGradient,r=void 0===o||o,i=e.onChange,p="inspector-gradient-picker-control-".concat(a),s=function(e){var t=e.firstColor,n=void 0===t?l.firstColor:t,a=e.firstLocation,o=void 0===a?l.firstLocation:a,r=e.secondColor,c=void 0===r?l.secondColor:r,p=e.secondLocation,d=void 0===p?l.secondLocation:p,m=e.type,s=void 0===m?l.type:m,u=e.angle,b=void 0===u?l.angle:u,g=e.position,h=void 0===g?l.position:g;i(n,o,c,d,s,b,h)};t="linear"===l.type?"".concat(l.angle,"deg"):"at ".concat(l.position);var y="".concat(l.type,"-gradient( ").concat(t,", ").concat(l.firstColor||"rgba( 0, 0, 0, 0 )"," ").concat(l.firstLocation,"%, ").concat(l.secondColor||"rgba( 0, 0, 0, 0 )"," ").concat(l.secondLocation,"% )"),k=d.some((function(e){return e.firstColor===l.firstColor&&e.secondColor===l.secondColor}));return wp.element.createElement("div",{id:p,className:"wp-block-themeisle-blocks-gradient-picker-control"},wp.element.createElement("div",{className:"components-base-control__field"},n&&wp.element.createElement("div",{className:"components-base-control__title"},wp.element.createElement("label",{className:"components-base-control__label"},n,!k&&wp.element.createElement(b,{colorValue:y}))),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-gradient-picker-control-presets"},d.map((function(e){return wp.element.createElement(c,{title:e.title,firstColor:e.firstColor,secondColor:e.secondColor,isSelected:e.firstColor===l.firstColor&&e.secondColor===l.secondColor,onChange:i})})),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-gradient-picker-control-custom-wrapper"},r&&wp.element.createElement(g,{className:"wp-block-themeisle-blocks-gradient-picker-control-dropdown-link-action",contentClassName:"wp-block-themeisle-blocks-gradient-picker-control-dropdown-content",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return wp.element.createElement(u,{"aria-expanded":t,onClick:n,isLink:!0},m("Custom Gradient"))},renderContent:function(){return wp.element.createElement(v,null,wp.element.createElement("p",null,m("First Color")),wp.element.createElement(f,{label:m("Color"),clearable:!1,value:l.firstColor,onChange:function(e){return s({firstColor:e})}}),wp.element.createElement(h,{label:m("Location"),value:l.firstLocation,min:0,max:100,onChange:function(e){return s({firstLocation:e})}}),wp.element.createElement("p",null,m("Second Color")),wp.element.createElement(f,{label:m("Color"),clearable:!1,value:l.secondColor,onChange:function(e){return s({secondColor:e})}}),wp.element.createElement(h,{label:m("Location"),value:l.secondLocation,min:0,max:100,onChange:function(e){return s({secondLocation:e})}}),wp.element.createElement(w,{label:m("Type"),value:l.type,options:[{label:"Linear",value:"linear"},{label:"Radial",value:"radial"}],onChange:function(e){return s({type:e})}}),"linear"===l.type?wp.element.createElement(h,{label:m("Angle"),value:l.angle,min:0,max:360,onChange:function(e){return s({angle:e})}}):wp.element.createElement(w,{label:m("Position"),value:l.position,options:[{label:"Top Left",value:"top left"},{label:"Top Center",value:"top center"},{label:"Top Right",value:"top right"},{label:"Center Left",value:"center left"},{label:"Center Center",value:"center center"},{label:"Center Right",value:"center right"},{label:"Bottom Left",value:"bottom left"},{label:"Bottom Center",value:"bottom center"},{label:"Bottom Right",value:"bottom right"}],onChange:function(e){return s({position:e})}}))}}),wp.element.createElement(u,{className:"wp-block-themeisle-blocks-gradient-picker-control-clear",type:"button",isSmall:!0,isDefault:!0,onClick:function(){return i("#ffffff",0,"#ffffff",100,"linear",90,"center center")}},m("Clear"))))))}))},function(e,t,n){"use strict";n.r(t);var a=n(0),l=n.n(a),o=n(4),r=wp.components,i=r.Placeholder,c=r.Spinner,p=(0,wp.data.withSelect)((function(e,t){var n=t.id,a=t.alt,l=t.size,o=n?e("core").getMedia(n):void 0,r=o?0<Object.keys(o.media_details.sizes).length&&o.media_details.sizes[l]?o.media_details.sizes[l].source_url:o.source_url:null;return o?{thumbnail:r,alt:o.alt_text||a}:{alt:a}}))((function(e){var t=e.alt,n=e.id,a=e.thumbnail,l=e.link,o=wp.element.createElement(i,null,wp.element.createElement(c,null));return a&&(o=wp.element.createElement("img",{src:a,alt:t,"data-id":n})),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-posts-grid-post-image"},wp.element.createElement("a",{href:l},o))})),d=wp.i18n,m=d.__,s=d.sprintf,u=function(e){var t=e.className,n=e.attributes,a=e.posts,r=e.categoriesList,i=e.authors,c=n.titleTag||"h5";return wp.element.createElement("div",{className:l()(t,"is-grid","wp-block-themeisle-blocks-posts-grid-columns-".concat(n.columns),{"has-shadow":n.imageBoxShadow})},a.map((function(e){var t,a;return r&&(t=r.find((function(t){return t.id===e.categories[0]}))),i&&(a=i.find((function(t){return t.id===e.author}))),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-posts-grid-post-blog wp-block-themeisle-blocks-posts-grid-post-plain"},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-posts-grid-post"},0!==e.featured_media&&n.displayFeaturedImage&&wp.element.createElement(p,{id:e.featured_media,link:e.link,alt:e.title.rendered,size:n.imageSize}),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-posts-grid-post-body"},n.template.map((function(l){return"category"===l&&void 0!==t&&n.displayCategory&&r?wp.element.createElement("span",{class:"wp-block-themeisle-blocks-posts-grid-post-category"},t.name):"title"===l&&n.displayTitle?wp.element.createElement(c,{className:"wp-block-themeisle-blocks-posts-grid-post-title"},wp.element.createElement("a",{href:e.link},Object(o.b)(e.title.rendered))):"meta"===l&&n.displayMeta&&(n.displayDate||n.displayAuthor)?wp.element.createElement("p",{className:"wp-block-themeisle-blocks-posts-grid-post-meta"},n.displayDate&&s(m("on %s"),Object(o.a)(e.date)),n.displayAuthor&&void 0!==a&&i&&s(m(" by %s"),a.name)):"description"===l&&0<n.excerptLength&&n.displayDescription?wp.element.createElement("p",{className:"wp-block-themeisle-blocks-posts-grid-post-description"},Object(o.b)(e.excerpt.rendered).substring(0,n.excerptLength)+"…"):void 0})))))})))},b=wp.i18n,g=b.__,h=b.sprintf,w=function(e){var t=e.className,n=e.attributes,a=e.posts,r=e.categoriesList,i=e.authors,c=n.titleTag||"h5";return wp.element.createElement("div",{className:l()(t,"is-list",{"has-shadow":n.imageBoxShadow})},a.map((function(e){var t,a;return r&&(t=r.find((function(t){return t.id===e.categories[0]}))),i&&(a=i.find((function(t){return t.id===e.author}))),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-posts-grid-post-blog wp-block-themeisle-blocks-posts-grid-post-plain"},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-posts-grid-post"},0!==e.featured_media&&n.displayFeaturedImage&&wp.element.createElement(p,{id:e.featured_media,link:e.link,alt:e.title.rendered,size:n.imageSize}),wp.element.createElement("div",{className:l()("wp-block-themeisle-blocks-posts-grid-post-body",{"is-full":!n.displayFeaturedImage})},n.template.map((function(l){return"category"===l&&void 0!==t&&n.displayCategory&&r?wp.element.createElement("span",{class:"wp-block-themeisle-blocks-posts-grid-post-category"},t.name):"title"===l&&n.displayTitle?wp.element.createElement(c,{className:"wp-block-themeisle-blocks-posts-grid-post-title"},wp.element.createElement("a",{href:e.link},Object(o.b)(e.title.rendered))):"meta"===l&&n.displayMeta&&(n.displayDate||n.displayAuthor)?wp.element.createElement("p",{className:"wp-block-themeisle-blocks-posts-grid-post-meta"},n.displayDate&&h(g("on %s"),Object(o.a)(e.date)),n.displayAuthor&&void 0!==a&&i&&h(g(" by %s"),a.name)):"description"===l&&0<n.excerptLength&&n.displayDescription?wp.element.createElement("p",{className:"wp-block-themeisle-blocks-posts-grid-post-description"},Object(o.b)(e.excerpt.rendered).substring(0,n.excerptLength)+"…"):void 0})))))})))};t.default=function(e){var t=e.className,n=e.attributes,a=e.posts,l=e.categoriesList,o=e.authors;return"grid"===n.style?wp.element.createElement(u,{className:t,attributes:n,posts:a,categoriesList:l,authors:o}):"list"===n.style?wp.element.createElement(w,{className:t,attributes:n,posts:a,categoriesList:l,authors:o}):void 0}},,function(e,t,n){"use strict";var a=n(0),l=n.n(a),o=n(21);n(54);function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var i=wp.i18n.__,c=wp.apiFetch,p=wp.components,d=p.BaseControl,m=p.IconButton,s=p.Popover,u=wp.compose,b=u.compose,g=u.withInstanceId,h=wp.data.withSelect,w=wp.element,y=w.useEffect,f=w.useRef,v=w.useState,k=wp.keycodes,T=k.DOWN,E=k.ENTER,x=k.TAB,C=k.UP,S=wp.url.addQueryArgs;t.a=b(g,h((function(e){if(e("core/block-editor"))return{fetchLinkSuggestions:(0,e("core/block-editor").getSettings)().__experimentalFetchLinkSuggestions}})))((function(e){var t=e.instanceId,n=e.label,a=e.help,p=e.placeholder,u=e.value,b=e.className,g=e.onChange,h=e.children,w=e.fetchLinkSuggestions;y((function(){_&&null!==A&&void 0!==M[A]&&!B&&null!==k.current&&(B=!0,Object(o.a)(M[A],k.current,{onlyScrollIfNeeded:!0}),setTimeout((function(){B=!1}),100))}));var k=f(null),B=!1,M=[],O=[],N=r(v(!1),2),R=N[0],L=N[1],z=r(v(!1),2),_=z[0],P=z[1],H=r(v(null),2),A=H[0],I=H[1],F=r(v([]),2),V=F[0],j=F[1],G=function(e){return function(t){M[e]=t}},D=function(e){g(e),P(!1)},W="inspector-link-control-".concat(t);return wp.element.createElement(d,{label:n,id:W,help:a,className:b},wp.element.createElement("div",{className:l()("wp-block-themeisle-blocks-link-control-wrapper",{"is-open":R})},wp.element.createElement("input",{type:"url",placeholder:p,value:u,onChange:function(e){g(e.target.value),function(e){var t;1>=e.length||/^https?:/.test(e)?P(!1):(P(!0),(t=w?w(e):c({path:S("/wp/v2/search",{search:e,per_page:20,type:"post"})})).then((function(e){O===t&&(j(e),I(null))})),O=t)}(e.target.value)},onKeyDown:function(e){if(_&&1<=V.length){var t=V[A];switch(e.keyCode){case C:e.stopPropagation(),e.preventDefault();var n=A?A-1:V.length-1;I(n);break;case T:e.stopPropagation(),e.preventDefault();var a=null===A||A===V.length-1?0:A+1;I(a);break;case x:case E:null!==A&&(e.stopPropagation(),D(t.url))}}},className:l()("components-text-control__input",{"is-full":void 0===h})}),_&&0<V.length&&wp.element.createElement(s,{position:"bottom",noArrow:!0,focusOnMount:!1,className:"wp-block-themeisle-blocks-link-control-popover"},wp.element.createElement("div",{ref:k,className:"wp-block-themeisle-blocks-link-control-popover-container"},V.map((function(e,t){return wp.element.createElement("button",{key:e.id,role:"option",tabIndex:"-1",ref:G(t),className:l()("block-editor-url-input__suggestion","editor-url-input__suggestion",{"is-selected":t===A}),onClick:function(){return D(e.url)}},e.title||i("Untitled Post"))})))),void 0!==h&&wp.element.createElement(m,{icon:"admin-generic",tooltip:i("Link Options"),onClick:function(){return L(!R)}})),R&&h)}))},,,,function(e,t,n){"use strict";n.r(t);var a=n(0),l=n.n(a),o=(n(70),wp.i18n.__),r=wp.components,i=r.Button,c=r.Dashicon,p=r.Dropdown,d=r.IconButton,m=r.Path,s=r.Rect,u=r.SVG,b=r.Tooltip,g=wp.compose.withInstanceId,h=wp.element.Fragment;t.default=g((function(e){var t,n=e.label,a=e.instanceId,r=e.onClick,g=e.layout,w=e.layoutTablet,y=e.layoutMobile,f=e.columns,v=e.changeViewType,k=e.view,T="inspector-layout-control-".concat(a);return"desktop"===k?t=g:"tablet"===k?t=w:"mobile"===k&&(t=y),wp.element.createElement("div",{id:T,className:"wp-block-themeisle-blocks-advanced-columns-layout-control"},wp.element.createElement("div",{className:"components-base-control__field"},wp.element.createElement("div",{className:"components-base-control__title"},wp.element.createElement("label",{className:"components-base-control__label"},n),wp.element.createElement("div",{className:"linking-controls"},wp.element.createElement(p,{position:"top left",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return wp.element.createElement(d,{icon:"mobile"===k?"smartphone":k,label:o("Responsiveness Settings"),className:"is-button",onClick:n,"aria-expanded":t})},renderContent:function(e){var t=e.onToggle;return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-responsive-control-settings"},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-responsive-control-settings-title"},o("Responsiveness Settings")),wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-responsive-control-settings-item",{"is-selected":"desktop"===k}),onClick:function(){t(),v("desktop")}},wp.element.createElement(c,{icon:"desktop"}),wp.element.createElement("span",{className:"popover-title"},o("Desktop"))),wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-responsive-control-settings-item",{"is-selected":"tablet"===k}),onClick:function(){t(),v("tablet")}},wp.element.createElement(c,{icon:"tablet"}),wp.element.createElement("span",{className:"popover-title"},o("Tablet Devices"))),wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-responsive-control-settings-item",{"is-selected":"mobile"===k}),onClick:function(){t(),v("mobile")}},wp.element.createElement(c,{icon:"smartphone"}),wp.element.createElement("span",{className:"popover-title"},o("Smartphones"))))}}))),1===f&&wp.element.createElement(b,{text:o("Single Row")},wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"equal"===t}),onClick:function(){return r("equal")}},wp.element.createElement(u,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(m,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}))))||2===f&&wp.element.createElement(h,null,wp.element.createElement(b,{text:o("Equal")},wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"equal"===t}),onClick:function(){return r("equal")}},wp.element.createElement(u,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(m,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(s,{x:"22.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(b,{text:o("1:2")},wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"oneTwo"===t}),onClick:function(){return r("oneTwo")}},wp.element.createElement(u,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(m,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(s,{x:"16.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(b,{text:o("2:1")},wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"twoOne"===t}),onClick:function(){return r("twoOne")}},wp.element.createElement(u,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(m,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(s,{x:"28.9",y:"13",width:"2.2",height:"22"})))),("mobile"==k||"tablet"==k)&&wp.element.createElement(b,{text:o("Collapsed Rows")},wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"collapsedRows"===t}),onClick:function(){return r("collapsedRows")}},wp.element.createElement(u,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(m,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(s,{x:"6",y:"22.9",width:"36",height:"2.2"})))))||3===f&&wp.element.createElement(h,null,wp.element.createElement(b,{text:o("Equal")},wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"equal"===t}),onClick:function(){return r("equal")}},wp.element.createElement(u,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(m,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(s,{x:"28.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(s,{x:"16.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(b,{text:o("1:1:2")},wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"oneOneTwo"===t}),onClick:function(){return r("oneOneTwo")}},wp.element.createElement(u,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(m,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(s,{x:"22.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(s,{x:"12.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(b,{text:o("2:1:1")},wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"twoOneOne"===t}),onClick:function(){return r("twoOneOne")}},wp.element.createElement(u,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(m,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(s,{x:"22.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(s,{x:"32.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(b,{text:o("1:2:1")},wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"oneTwoOne"===t}),onClick:function(){return r("oneTwoOne")}},wp.element.createElement(u,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(m,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(s,{x:"13.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(s,{x:"31.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(b,{text:o("1:3:1")},wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"oneThreeOne"===t}),onClick:function(){return r("oneThreeOne")}},wp.element.createElement(u,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(m,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(s,{x:"11.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(s,{x:"33.9",y:"13",width:"2.2",height:"22"})))),("mobile"==k||"tablet"==k)&&wp.element.createElement(b,{text:o("Collapsed Rows")},wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"collapsedRows"===t}),onClick:function(){return r("collapsedRows")}},wp.element.createElement(u,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(m,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(s,{x:"6",y:"22.9",width:"36",height:"2.2"})))))||4===f&&wp.element.createElement(h,null,wp.element.createElement(b,{text:o("Equal")},wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"equal"===t}),onClick:function(){return r("equal")}},wp.element.createElement(u,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(m,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(s,{x:"13.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(s,{x:"32.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(s,{x:"22.9",y:"13",width:"2.2",height:"22"})))),("mobile"==k||"tablet"==k)&&wp.element.createElement(h,null,wp.element.createElement(b,{text:o("Two Column Grid")},wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"twoColumnGrid"===t}),onClick:function(){return r("twoColumnGrid")}},wp.element.createElement(u,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(m,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(s,{x:"4",y:"22.9",width:"40",height:"2.2"}),wp.element.createElement(s,{x:"22.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(b,{text:o("Collapsed Rows")},wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"collapsedRows"===t}),onClick:function(){return r("collapsedRows")}},wp.element.createElement(u,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(m,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(s,{x:"6",y:"22.9",width:"36",height:"2.2"}))))))||5===f&&wp.element.createElement(h,null,wp.element.createElement(b,{text:o("Equal")},wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"equal"===t}),onClick:function(){return r("equal")}},wp.element.createElement(u,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(m,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(s,{x:"10.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(s,{x:"34.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(s,{x:"26.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(s,{x:"18.9",y:"13",width:"2.2",height:"22"})))),("mobile"==k||"tablet"==k)&&wp.element.createElement(b,{text:o("Collapsed Rows")},wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"collapsedRows"===t}),onClick:function(){return r("collapsedRows")}},wp.element.createElement(u,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(m,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(s,{x:"6",y:"22.9",width:"36",height:"2.2"})))))||6===f&&wp.element.createElement(h,null,wp.element.createElement(b,{text:o("Equal")},wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"equal"===t}),onClick:function(){return r("equal")}},wp.element.createElement(u,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(m,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(s,{x:"10.4",y:"13",width:"2.2",height:"22"}),wp.element.createElement(s,{x:"35.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(s,{x:"29.4",y:"13",width:"2.2",height:"22"}),wp.element.createElement(s,{x:"16.4",y:"13",width:"2.2",height:"22"}),wp.element.createElement(s,{x:"22.9",y:"13",width:"2.2",height:"22"})))),("mobile"==k||"tablet"==k)&&wp.element.createElement(h,null,wp.element.createElement(b,{text:o("Two Column Grid")},wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"twoColumnGrid"===t}),onClick:function(){return r("twoColumnGrid")}},wp.element.createElement(u,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(m,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(s,{x:"4",y:"18.9",width:"40",height:"2.2"}),wp.element.createElement(s,{x:"22.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(s,{x:"4",y:"26.9",width:"40",height:"2.2"})))),wp.element.createElement(b,{text:o("Three Column Grid")},wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"threeColumnGrid"===t}),onClick:function(){return r("threeColumnGrid")}},wp.element.createElement(u,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(m,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(s,{x:"4",y:"22.9",width:"40",height:"2.2"}),wp.element.createElement(s,{x:"28.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(s,{x:"16.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(b,{text:o("Collapsed Rows")},wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"collapsedRows"===t}),onClick:function(){return r("collapsedRows")}},wp.element.createElement(u,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(m,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(s,{x:"6",y:"22.9",width:"36",height:"2.2"}))))))))}))},function(e,t,n){"use strict";n.r(t);n(71);var a=n(2),l=n(0),o=n.n(l),r=n(13),i=n.n(r);n(72);function c(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var p=lodash,d=p.startCase,m=p.toLower,s=wp.i18n.__,u=wp.components,b=u.Button,g=u.Dashicon,h=u.Icon,w=u.TextControl,y=u.Tooltip,f=u.SelectControl,v=function(e){var t,n=e.preview,l=e.tab,r=e.blocksCategories,i=e.templateCategories,p=e.selectedCategory,u=e.selectedTemplate,v=e.search,k=e.togglePreview,T=e.changeTab,E=e.close,x=e.importTemplate,C=e.selectCategory,S=e.changeSearch,B=(t=("block"===l?r:i).map((function(e){return{label:d(m(e)),value:e}})),[{label:s("All Categories"),value:"all"}].concat(c(t)));return wp.element.createElement("div",{className:"library-modal-control-panel"},wp.element.createElement("div",{className:"library-modal-header"},wp.element.createElement("div",{className:"library-modal-header-logo"},n?wp.element.createElement(b,{className:"library-modal-header-tabs-button back-to-library","aria-label":s("Back to Library"),onClick:k},wp.element.createElement(g,{icon:"arrow-left-alt"})," ",s("Back to Library")):wp.element.createElement("div",{className:"library-modal-header-tabs-button"},wp.element.createElement(h,{icon:a.l}))),!n&&wp.element.createElement("div",{className:"library-modal-header-tabs"},wp.element.createElement(b,{className:o()("library-modal-header-tabs-button",{"is-selected":"block"===l}),onClick:function(){return T("block")}},wp.element.createElement(g,{icon:"screenoptions"}),s("Blocks")),wp.element.createElement(b,{className:o()("library-modal-header-tabs-button",{"is-selected":"template"===l}),onClick:function(){return T("template")}},wp.element.createElement(g,{icon:"editor-table"}),s("Templates"))),wp.element.createElement("div",{className:"library-modal-header-actions"},n&&wp.element.createElement(b,{className:"library-modal-header-tabs-button insert-button",onClick:function(){return x(u.template_url)},tabindex:"0"},wp.element.createElement(g,{icon:"arrow-down-alt",size:16}),s("Insert")),wp.element.createElement(y,{text:s("Close")},wp.element.createElement(b,{className:"library-modal-header-tabs-button","aria-label":s("Close settings"),onClick:E},wp.element.createElement(g,{icon:"no-alt"}))))),!n&&wp.element.createElement("div",{className:"library-modal-actions"},wp.element.createElement(f,{className:"library-modal-category-control",value:"all"===p?"all":p,onChange:C,options:B}),wp.element.createElement(w,{type:"text",value:v||"",placeholder:s("Search"),className:"library-modal-search-control",onChange:S})))},k=wp.i18n.__,T=wp.components.Notice,E=wp.element.Fragment,x=function(e){var t=e.isError,n=e.removeError,a=e.isMissing,l=e.removeMissing,o=e.missingBlocks;return wp.element.createElement(E,null,!Boolean(themeisleGutenberg.isCompatible)&&wp.element.createElement("div",{className:"library-modal-error"},wp.element.createElement(T,{status:"warning",isDismissible:!1,className:"version-warning",actions:[{label:k("Update Now"),url:themeisleGutenberg.updatePath}]},k("You are using an older version of Otter. Use the latest version of Otter to have maximum compatibility with Template Library."))),t&&wp.element.createElement("div",{className:"library-modal-error"},wp.element.createElement(T,{status:"error",onRemove:n},k("There seems to be an error. Please try again."))),a&&wp.element.createElement("div",{className:"library-modal-error"},wp.element.createElement(T,{status:"warning",className:"library-modal-missing",onRemove:l},k("You seem to be missing some blocks that are required by your selected template."),wp.element.createElement("details",null,wp.element.createElement("summary",null,k("View Missing Blocks")),wp.element.createElement("ul",null,o.map((function(e){return wp.element.createElement("li",null,e)})))))))},C=n(22),S=n.n(C),B=wp.i18n.__,M=wp.components.Button,O=function(e){var t=e.template,n=e.togglePreview,a=e.importTemplate;return wp.element.createElement("div",{"aria-label":t.title||B("Untitled Gutenberg Template"),className:"library-modal-content__item",tabindex:"0"},wp.element.createElement("div",{className:"library-modal-content__preview"},wp.element.createElement(S.a,null,wp.element.createElement("img",{src:t.screenshot_url||"https://raw.githubusercontent.com/Codeinwp/gutenberg-templates/master/assets/images/default.jpg"}))),wp.element.createElement("div",{className:"library-modal-content__footer"},wp.element.createElement("div",{className:"library-modal-content__footer_meta"},t.title&&"template"===t.type&&wp.element.createElement("h4",{className:"library-modal-content__footer_meta_title"},t.title,t.author&&B(" by ")+t.author," "),t.author&&"block"===t.type&&wp.element.createElement("h4",{className:"library-modal-content__footer_meta_author"},B("Author:")," ",t.author)),wp.element.createElement("div",{className:"library-modal-content__footer_actions"},t.demo_url&&wp.element.createElement(M,{isDefault:!0,isLarge:!0,className:"library-modal-overlay__actions",onClick:function(){return n(t)},tabindex:"0"},B("Preview")),wp.element.createElement(M,{isPrimary:!0,isLarge:!0,className:"library-modal-overlay__actions",onClick:function(){return a(t.template_url)},tabindex:"0"},B("Insert")))))},N=wp.i18n.__,R=wp.components.Spinner,L=function(e){var t=e.preview,n=e.isLoaded,a=e.data,l=e.tab,o=e.selectedTemplate,r=e.selectedCategory,i=e.search,c=e.togglePreview,p=e.importTemplate;return t?wp.element.createElement("div",{className:"library-modal-preview"},wp.element.createElement("iframe",{src:o.demo_url})):n?wp.element.createElement("div",{className:"library-modal-content"},a.map((function(e){if(e.template_url&&("all"===r||e.categories&&e.categories.includes(r))&&(!i||e.keywords&&e.keywords.some((function(e){return e.toLowerCase().includes(i.toLowerCase())})))&&l===e.type)return wp.element.createElement(O,{template:e,togglePreview:c,importTemplate:p})})),wp.element.createElement("div",{"aria-label":N("Coming Soon"),className:"library-modal-content__item"},wp.element.createElement("div",{className:"library-modal-content__preview"},wp.element.createElement(S.a,null,wp.element.createElement("img",{src:"https://raw.githubusercontent.com/Codeinwp/gutenberg-templates/master/assets/images/coming-soon.jpg"}))))):wp.element.createElement("div",{className:"library-modal-loader"},wp.element.createElement(R,null))};function z(e){return(z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function P(e,t,n,a,l,o,r){try{var i=e[o](r),c=i.value}catch(e){return void n(e)}i.done?t(c):Promise.resolve(c).then(a,l)}function H(e){return function(){var t=this,n=arguments;return new Promise((function(a,l){var o=e.apply(t,n);function r(e){P(o,a,l,r,i,"next",e)}function i(e){P(o,a,l,r,i,"throw",e)}r(void 0)}))}}wp.i18n.__;var A=wp.apiFetch,I=wp.components.Modal,F=wp.compose.compose,V=wp.data,j=V.withSelect,G=V.withDispatch,D=wp.element,W=D.useEffect,q=D.useState,Z=F(j((function(e,t){var n=t.clientId,a=e("core/block-editor").getBlock,l=e("core/blocks").getBlockTypes;return{block:a(n),availableBlocks:l()}})),G((function(e,t){var n=t.block,a=e("core/block-editor").replaceBlocks;return{importBlocks:function(e){return a(n.clientId,e)}}})))((function(e){var t=e.close,n=e.availableBlocks,a=e.importBlocks;W((function(){(function(){var e=H(regeneratorRuntime.mark((function e(){var t,n,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,A({path:"themeisle-gutenberg-blocks/v1/fetch_templates"});case 2:t=e.sent,n=[],a=[],t.map((function(e){e.categories&&e.template_url&&("block"===e.type&&e.categories.map((function(e){n.push(e)})),"template"===e.type&&e.categories.map((function(e){a.push(e)})))})),n=n.filter((function(e,t,n){return n.indexOf(e)===t})).sort(),a=a.filter((function(e,t,n){return n.indexOf(e)===t})).sort(),M(n),R(a),V(t),m(!0);case 12:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}})()()}),[]);var l=_(q("block"),2),r=l[0],c=l[1],p=_(q(!1),2),d=p[0],m=p[1],s=_(q(!1),2),u=s[0],b=s[1],g=_(q(!1),2),h=g[0],w=g[1],y=_(q("all"),2),f=y[0],k=y[1],T=_(q(""),2),E=T[0],C=T[1],S=_(q([]),2),B=S[0],M=S[1],O=_(q([]),2),N=O[0],R=O[1],P=_(q([]),2),F=P[0],V=P[1],j=_(q(!1),2),G=j[0],D=j[1],Z=_(q(null),2),U=Z[0],K=Z[1],Q=_(q([]),2),Y=Q[0],J=Q[1],X=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;D(!G),K(e)},$=function e(t){return Array.isArray(t)?t.map((function(t){return e(t)})):"object"===z(t)&&Object.keys(t).map((function(n){"clientId"===n&&(t[n]=i()()),"innerBlocks"===n&&t[n].map((function(t){e(t)}))})),t},ee=function e(t){var a=!1,l=[];return Array.isArray(t)?t.map((function(t){return e(t)})):"object"===z(t)&&Object.keys(t).some((function(o){"name"===o&&(void 0===n.find((function(e){return e.name===t.name}))&&(l.push(t.name),a=!0));"innerBlocks"===o&&t[o].map((function(t){return e(t)}))})),l=l.concat(l).filter((function(e,t,n){return n.indexOf(e)===t})),J(l),a},te=function(){var e=H(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return D(!1),m(!1),J([]),e.next=5,A({path:"themeisle-gutenberg-blocks/v1/import_template?url=".concat(t)});case 5:n=e.sent,null!==(n=$(n))?(m(!0),ee(n)?w(!0):a(n)):(m(!0),b(!0));case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return wp.element.createElement(I,{className:o()("wp-block-themeisle-library-modal",{"is-preview":G}),onRequestClose:t,isDismissable:!1,shouldCloseOnClickOutside:!1},wp.element.createElement(v,{preview:G,tab:r,changeTab:function(e){c(e),k("all"),C("")},blocksCategories:B,templateCategories:N,selectedTemplate:U,selectedCategory:f,search:E,togglePreview:X,close:t,importTemplate:te,selectCategory:function(e){return k(e)},changeSearch:function(e){return C(e)}}),wp.element.createElement(x,{isError:u,isMissing:h,missingBlocks:Y,removeError:function(){return b(!1)},removeMissing:function(){return w(!1)}}),wp.element.createElement(L,{preview:G,isLoaded:d,data:F,tab:r,selectedTemplate:U,selectedCategory:f,search:E,togglePreview:X,importTemplate:te}))}));function U(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var K=wp.i18n.__,Q=wp.components,Y=Q.Button,J=Q.Dashicon,X=Q.Icon,$=Q.Path,ee=Q.Placeholder,te=Q.Rect,ne=Q.SVG,ae=Q.Tooltip,le=wp.element.useState;t.default=function(e){var t=e.clientId,n=e.setupColumns,l=U(le(!1),2),o=l[0],r=l[1];return wp.element.createElement(ee,{label:K("Select Layout"),instructions:K("Select a layout to start with, or make one yourself."),icon:wp.element.createElement(X,{icon:a.f}),isColumnLayout:!0,className:"wp-block-themeisle-onboarding-component"},wp.element.createElement("div",{className:"wp-block-themeisle-layout-picker"},wp.element.createElement(ae,{text:K("Equal")},wp.element.createElement(Y,{isLarge:!0,className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return n(2,"equal")}},wp.element.createElement(ne,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement($,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(te,{x:"22.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(ae,{text:K("1:2")},wp.element.createElement(Y,{isLarge:!0,className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return n(2,"oneTwo")}},wp.element.createElement(ne,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement($,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(te,{x:"16.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(ae,{text:K("2:1")},wp.element.createElement(Y,{isLarge:!0,className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return n(2,"twoOne")}},wp.element.createElement(ne,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement($,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(te,{x:"28.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(ae,{text:K("Equal")},wp.element.createElement(Y,{isLarge:!0,className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return n(3,"equal")}},wp.element.createElement(ne,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement($,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(te,{x:"28.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(te,{x:"16.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(ae,{text:K("1:1:2")},wp.element.createElement(Y,{isLarge:!0,className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return n(3,"oneOneTwo")}},wp.element.createElement(ne,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement($,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(te,{x:"22.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(te,{x:"12.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(ae,{text:K("2:1:1")},wp.element.createElement(Y,{isLarge:!0,className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return n(3,"twoOneOne")}},wp.element.createElement(ne,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement($,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(te,{x:"22.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(te,{x:"32.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(ae,{text:K("1:2:1")},wp.element.createElement(Y,{isLarge:!0,className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return n(3,"oneTwoOne")}},wp.element.createElement(ne,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement($,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(te,{x:"13.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(te,{x:"31.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(ae,{text:K("1:3:1")},wp.element.createElement(Y,{isLarge:!0,className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return n(3,"oneThreeOne")}},wp.element.createElement(ne,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement($,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(te,{x:"11.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(te,{x:"33.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(ae,{text:K("Equal")},wp.element.createElement(Y,{isLarge:!0,className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return n(4,"equal")}},wp.element.createElement(ne,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement($,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(te,{x:"13.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(te,{x:"32.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(te,{x:"22.9",y:"13",width:"2.2",height:"22"}))))),wp.element.createElement(ae,{text:K("Open Template Library")},wp.element.createElement(Y,{isPrimary:!0,isLarge:!0,className:"wp-block-themeisle-template-library",onClick:function(){return r(!0)}},wp.element.createElement(J,{icon:"category"}),K("Template Library")),o&&wp.element.createElement(Z,{clientId:t,close:function(){return r(!1)}})),wp.element.createElement("div",{className:"wp-block-themeisle-layout-skipper"},wp.element.createElement(Y,{isLink:!0,onClick:function(){return n(1,"equal")}},K("Skip"))))}},,,,,function(e,t,n){"use strict";n.r(t);var a=n(2),l={id:{type:"string"},columns:{type:"number"},layout:{type:"string"},layoutTablet:{type:"string",default:"equal"},layoutMobile:{type:"string",default:"equal"},columnsGap:{type:"string",default:"default"},paddingType:{type:"string",default:"linked"},paddingTypeTablet:{type:"string",default:"linked"},paddingTypeMobile:{type:"string",default:"linked"},padding:{type:"number",default:20},paddingTablet:{type:"number",default:20},paddingMobile:{type:"number",default:20},paddingTop:{type:"number",default:20},paddingTopTablet:{type:"number",default:20},paddingTopMobile:{type:"number",default:20},paddingRight:{type:"number",default:20},paddingRightTablet:{type:"number",default:20},paddingRightMobile:{type:"number",default:20},paddingBottom:{type:"number",default:20},paddingBottomTablet:{type:"number",default:20},paddingBottomMobile:{type:"number",default:20},paddingLeft:{type:"number",default:20},paddingLeftTablet:{type:"number",default:20},paddingLeftMobile:{type:"number",default:20},marginType:{type:"string",default:"unlinked"},marginTypeTablet:{type:"string",default:"unlinked"},marginTypeMobile:{type:"string",default:"unlinked"},margin:{type:"number",default:20},marginTablet:{type:"number",default:20},marginMobile:{type:"number",default:20},marginTop:{type:"number",default:20},marginTopTablet:{type:"number",default:20},marginTopMobile:{type:"number",default:20},marginBottom:{type:"number",default:20},marginBottomTablet:{type:"number",default:20},marginBottomMobile:{type:"number",default:20},columnsWidth:{type:"number"},horizontalAlign:{type:"string",default:"unset"},columnsHeight:{type:"string",default:"auto"},columnsHeightCustom:{type:"number"},columnsHeightCustomTablet:{type:"number"},columnsHeightCustomMobile:{type:"number"},verticalAlign:{type:"string",default:"unset"},backgroundType:{type:"string",default:"color"},backgroundColor:{type:"string"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundAttachment:{type:"string",default:"scroll"},backgroundPosition:{type:"string",default:"top left"},backgroundRepeat:{type:"string",default:"repeat"},backgroundSize:{type:"string",default:"auto"},backgroundGradientFirstColor:{type:"string",default:"#36d1dc"},backgroundGradientFirstLocation:{type:"number",default:0},backgroundGradientSecondColor:{type:"string",default:"#5b86e5"},backgroundGradientSecondLocation:{type:"number",default:100},backgroundGradientType:{type:"string",default:"linear"},backgroundGradientAngle:{type:"number",default:90},backgroundGradientPosition:{type:"string",default:"center center"},backgroundOverlayOpacity:{type:"number",default:50},backgroundOverlayType:{type:"string",default:"color"},backgroundOverlayColor:{type:"string"},backgroundOverlayImageID:{type:"number"},backgroundOverlayImageURL:{type:"string"},backgroundOverlayAttachment:{type:"string",default:"scroll"},backgroundOverlayPosition:{type:"string",default:"top left"},backgroundOverlayRepeat:{type:"string",default:"repeat"},backgroundOverlaySize:{type:"string",default:"auto"},backgroundOverlayGradientFirstColor:{type:"string",default:"#36d1dc"},backgroundOverlayGradientFirstLocation:{type:"number",default:0},backgroundOverlayGradientSecondColor:{type:"string",default:"#5b86e5"},backgroundOverlayGradientSecondLocation:{type:"number",default:100},backgroundOverlayGradientType:{type:"string",default:"linear"},backgroundOverlayGradientAngle:{type:"number",default:90},backgroundOverlayGradientPosition:{type:"string",default:"center center"},backgroundOverlayFilterBlur:{type:"number",default:0},backgroundOverlayFilterBrightness:{type:"number",default:10},backgroundOverlayFilterContrast:{type:"number",default:10},backgroundOverlayFilterGrayscale:{type:"number",default:0},backgroundOverlayFilterHue:{type:"number",default:0},backgroundOverlayFilterSaturate:{type:"number",default:10},backgroundOverlayBlend:{type:"string",default:"normal"},borderType:{type:"string",default:"linked"},border:{type:"number",default:0},borderTop:{type:"number",default:0},borderRight:{type:"number",default:0},borderBottom:{type:"number",default:0},borderLeft:{type:"number",default:0},borderColor:{type:"string",default:"#000000"},borderRadiusType:{type:"string",default:"linked"},borderRadius:{type:"number",default:0},borderRadiusTop:{type:"number",default:0},borderRadiusRight:{type:"number",default:0},borderRadiusBottom:{type:"number",default:0},borderRadiusLeft:{type:"number",default:0},boxShadow:{type:"boolean",default:!1},boxShadowColor:{type:"string",default:"#000000"},boxShadowColorOpacity:{type:"number",default:50},boxShadowBlur:{type:"number",default:5},boxShadowSpread:{type:"number",default:0},boxShadowHorizontal:{type:"number",default:0},boxShadowVertical:{type:"number",default:0},dividerTopType:{type:"string",default:"none"},dividerTopColor:{type:"string",default:"#000000"},dividerTopWidth:{type:"number",default:100},dividerTopWidthTablet:{type:"number",default:100},dividerTopWidthMobile:{type:"number",default:100},dividerTopHeight:{type:"number",default:100},dividerTopHeightTablet:{type:"number",default:100},dividerTopHeightMobile:{type:"number",default:100},dividerTopInvert:{type:"boolean",default:!1},dividerBottomType:{type:"string",default:"none"},dividerBottomColor:{type:"string",default:"#000000"},dividerBottomWidth:{type:"number",default:100},dividerBottomWidthTablet:{type:"number",default:100},dividerBottomWidthMobile:{type:"number",default:100},dividerBottomHeight:{type:"number",default:100},dividerBottomHeightTablet:{type:"number",default:100},dividerBottomHeightMobile:{type:"number",default:100},dividerBottomInvert:{type:"boolean",default:!1},hide:{type:"boolean",default:!1},hideTablet:{type:"boolean",default:!1},hideMobile:{type:"boolean",default:!1},columnsHTMLTag:{type:"string",default:"div"}},o=n(0),r=n.n(o),i=n(3),c=n.n(i),p=n(8);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var u=wp.blockEditor.InnerBlocks,b=[{attributes:{align:{type:"string"},id:{type:"string"},columns:{type:"number"},layout:{type:"string"},layoutTablet:{type:"string",default:"equal"},layoutMobile:{type:"string",default:"equal"},columnsGap:{type:"string",default:"default"},paddingType:{type:"string",default:"linked"},paddingTypeTablet:{type:"string",default:"linked"},paddingTypeMobile:{type:"string",default:"linked"},padding:{type:"number",default:20},paddingTablet:{type:"number",default:20},paddingMobile:{type:"number",default:20},paddingTop:{type:"number",default:20},paddingTopTablet:{type:"number",default:20},paddingTopMobile:{type:"number",default:20},paddingRight:{type:"number",default:20},paddingRightTablet:{type:"number",default:20},paddingRightMobile:{type:"number",default:20},paddingBottom:{type:"number",default:20},paddingBottomTablet:{type:"number",default:20},paddingBottomMobile:{type:"number",default:20},paddingLeft:{type:"number",default:20},paddingLeftTablet:{type:"number",default:20},paddingLeftMobile:{type:"number",default:20},marginType:{type:"string",default:"unlinked"},marginTypeTablet:{type:"string",default:"unlinked"},marginTypeMobile:{type:"string",default:"unlinked"},margin:{type:"number",default:20},marginTablet:{type:"number",default:20},marginMobile:{type:"number",default:20},marginTop:{type:"number",default:20},marginTopTablet:{type:"number",default:20},marginTopMobile:{type:"number",default:20},marginBottom:{type:"number",default:20},marginBottomTablet:{type:"number",default:20},marginBottomMobile:{type:"number",default:20},columnsWidth:{type:"number"},columnsHeight:{type:"string",default:"auto"},columnsHeightCustom:{type:"number"},columnsHeightCustomTablet:{type:"number"},columnsHeightCustomMobile:{type:"number"},horizontalAlign:{type:"string",default:"unset"},verticalAlign:{type:"string",default:"unset"},backgroundType:{type:"string",default:"color"},backgroundColor:{type:"string"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundAttachment:{type:"string",default:"scroll"},backgroundPosition:{type:"string",default:"top left"},backgroundRepeat:{type:"string",default:"repeat"},backgroundSize:{type:"string",default:"auto"},backgroundGradientFirstColor:{type:"string",default:"#36d1dc"},backgroundGradientFirstLocation:{type:"number",default:0},backgroundGradientSecondColor:{type:"string",default:"#5b86e5"},backgroundGradientSecondLocation:{type:"number",default:100},backgroundGradientType:{type:"string",default:"linear"},backgroundGradientAngle:{type:"number",default:90},backgroundGradientPosition:{type:"string",default:"center center"},backgroundOverlayOpacity:{type:"number",default:50},backgroundOverlayType:{type:"string",default:"color"},backgroundOverlayColor:{type:"string"},backgroundOverlayImageID:{type:"number"},backgroundOverlayImageURL:{type:"string"},backgroundOverlayAttachment:{type:"string",default:"scroll"},backgroundOverlayPosition:{type:"string",default:"top left"},backgroundOverlayRepeat:{type:"string",default:"repeat"},backgroundOverlaySize:{type:"string",default:"auto"},backgroundOverlayGradientFirstColor:{type:"string",default:"#36d1dc"},backgroundOverlayGradientFirstLocation:{type:"number",default:0},backgroundOverlayGradientSecondColor:{type:"string",default:"#5b86e5"},backgroundOverlayGradientSecondLocation:{type:"number",default:100},backgroundOverlayGradientType:{type:"string",default:"linear"},backgroundOverlayGradientAngle:{type:"number",default:90},backgroundOverlayGradientPosition:{type:"string",default:"center center"},backgroundOverlayFilterBlur:{type:"number",default:0},backgroundOverlayFilterBrightness:{type:"number",default:10},backgroundOverlayFilterContrast:{type:"number",default:10},backgroundOverlayFilterGrayscale:{type:"number",default:0},backgroundOverlayFilterHue:{type:"number",default:0},backgroundOverlayFilterSaturate:{type:"number",default:10},backgroundOverlayBlend:{type:"string",default:"normal"},borderType:{type:"string",default:"linked"},border:{type:"number",default:0},borderTop:{type:"number",default:0},borderRight:{type:"number",default:0},borderBottom:{type:"number",default:0},borderLeft:{type:"number",default:0},borderColor:{type:"string",default:"#000000"},borderRadiusType:{type:"string",default:"linked"},borderRadius:{type:"number",default:0},borderRadiusTop:{type:"number",default:0},borderRadiusRight:{type:"number",default:0},borderRadiusBottom:{type:"number",default:0},borderRadiusLeft:{type:"number",default:0},boxShadow:{type:"boolean",default:!1},boxShadowColor:{type:"string",default:"#000000"},boxShadowColorOpacity:{type:"number",default:50},boxShadowBlur:{type:"number",default:5},boxShadowSpread:{type:"number",default:0},boxShadowHorizontal:{type:"number",default:0},boxShadowVertical:{type:"number",default:0},dividerTopType:{type:"string",default:"none"},dividerTopColor:{type:"string",default:"#000000"},dividerTopWidth:{type:"number",default:100},dividerTopWidthTablet:{type:"number",default:100},dividerTopWidthMobile:{type:"number",default:100},dividerTopHeight:{type:"number",default:100},dividerTopHeightTablet:{type:"number",default:100},dividerTopHeightMobile:{type:"number",default:100},dividerTopInvert:{type:"boolean",default:!1},dividerBottomType:{type:"string",default:"none"},dividerBottomColor:{type:"string",default:"#000000"},dividerBottomWidth:{type:"number",default:100},dividerBottomWidthTablet:{type:"number",default:100},dividerBottomWidthMobile:{type:"number",default:100},dividerBottomHeight:{type:"number",default:100},dividerBottomHeightTablet:{type:"number",default:100},dividerBottomHeightMobile:{type:"number",default:100},dividerBottomInvert:{type:"boolean",default:!1},hide:{type:"boolean",default:!1},hideTablet:{type:"boolean",default:!1},hideMobile:{type:"boolean",default:!1},columnsHTMLTag:{type:"string",default:"div"}},supports:{align:["wide","full"],html:!1},save:function(e){var t,n,a,l,o,i,d=e.attributes,s=d.id,b=d.columns,g=d.layout,h=d.layoutTablet,w=d.layoutMobile,y=d.columnsGap,f=d.columnsWidth,v=d.horizontalAlign,k=d.verticalAlign,T=d.backgroundType,E=d.backgroundColor,x=d.backgroundImageURL,C=d.backgroundAttachment,S=d.backgroundPosition,B=d.backgroundRepeat,M=d.backgroundSize,O=d.backgroundGradientFirstColor,N=d.backgroundGradientFirstLocation,R=d.backgroundGradientSecondColor,L=d.backgroundGradientSecondLocation,z=d.backgroundGradientType,_=d.backgroundGradientAngle,P=d.backgroundGradientPosition,H=d.backgroundOverlayOpacity,A=d.backgroundOverlayType,I=d.backgroundOverlayColor,F=d.backgroundOverlayImageURL,V=d.backgroundOverlayAttachment,j=d.backgroundOverlayPosition,G=d.backgroundOverlayRepeat,D=d.backgroundOverlaySize,W=d.backgroundOverlayGradientFirstColor,q=d.backgroundOverlayGradientFirstLocation,Z=d.backgroundOverlayGradientSecondColor,U=d.backgroundOverlayGradientSecondLocation,K=d.backgroundOverlayGradientType,Q=d.backgroundOverlayGradientAngle,Y=d.backgroundOverlayGradientPosition,J=d.backgroundOverlayFilterBlur,X=d.backgroundOverlayFilterBrightness,$=d.backgroundOverlayFilterContrast,ee=d.backgroundOverlayFilterGrayscale,te=d.backgroundOverlayFilterHue,ne=d.backgroundOverlayFilterSaturate,ae=d.backgroundOverlayBlend,le=d.borderType,oe=d.border,re=d.borderTop,ie=d.borderRight,ce=d.borderBottom,pe=d.borderLeft,de=d.borderColor,me=d.borderRadiusType,se=d.borderRadius,ue=d.borderRadiusTop,be=d.borderRadiusRight,ge=d.borderRadiusBottom,he=d.borderRadiusLeft,we=d.boxShadow,ye=d.boxShadowColor,fe=d.boxShadowColorOpacity,ve=d.boxShadowBlur,ke=d.boxShadowSpread,Te=d.boxShadowHorizontal,Ee=d.boxShadowVertical,xe=d.dividerTopType,Ce=d.dividerTopColor,Se=d.dividerTopInvert,Be=d.dividerBottomType,Me=d.dividerBottomColor,Oe=d.dividerBottomInvert,Ne=d.hide,Re=d.hideTablet,Le=d.hideMobile,ze=d.columnsHTMLTag;("color"===T&&(t={background:E}),"image"===T&&(t={backgroundImage:"url( '".concat(x,"' )"),backgroundAttachment:C,backgroundPosition:S,backgroundRepeat:B,backgroundSize:M}),"gradient"===T)&&(i="linear"===z?"".concat(_,"deg"):"at ".concat(P),t={background:"".concat(z,"-gradient( ").concat(i,", ").concat(O||"rgba( 0, 0, 0, 0 )"," ").concat(N,"%, ").concat(R||"rgba( 0, 0, 0, 0 )"," ").concat(L,"% )")});"linked"===le&&(a={borderWidth:"".concat(oe,"px"),borderStyle:"solid",borderColor:de}),"unlinked"===le&&(a={borderTopWidth:"".concat(re,"px"),borderRightWidth:"".concat(ie,"px"),borderBottomWidth:"".concat(ce,"px"),borderLeftWidth:"".concat(pe,"px"),borderStyle:"solid",borderColor:de}),"linked"===me&&(l={borderRadius:"".concat(se,"px")}),"unlinked"===me&&(l={borderTopLeftRadius:"".concat(ue,"px"),borderTopRightRadius:"".concat(be,"px"),borderBottomRightRadius:"".concat(ge,"px"),borderBottomLeftRadius:"".concat(he,"px")}),!0===we&&(o={boxShadow:"".concat(Te,"px ").concat(Ee,"px ").concat(ve,"px ").concat(ke,"px ").concat(c()(ye||"#000000",fe))});var _e,Pe=m({},t,{},a,{},l,{},o,{justifyContent:v});("color"===A&&(n={background:I,opacity:H/100}),"image"===A&&(n={backgroundImage:"url( '".concat(F,"' )"),backgroundAttachment:V,backgroundPosition:j,backgroundRepeat:G,backgroundSize:D,opacity:H/100}),"gradient"===A)&&(_e="linear"===K?"".concat(Q,"deg"):"at ".concat(Y),n={background:"".concat(K,"-gradient( ").concat(_e,", ").concat(W||"rgba( 0, 0, 0, 0 )"," ").concat(q,"%, ").concat(Z||"rgba( 0, 0, 0, 0 )"," ").concat(U,"% )"),opacity:H/100});var He=m({},n,{mixBlendMode:ae,filter:"blur( ".concat(J/10,"px ) brightness( ").concat(X/10," ) contrast( ").concat(#x2F;10," ) grayscale( ").concat(ee/100," ) hue-rotate( ").concat(te,"deg ) saturate( ").concat(ne/10," )")}),Ae={};f&&(Ae={maxWidth:f+"px"});var Ie=Ne?"":"has-desktop-".concat(g,"-layout"),Fe=Re?"":"has-tablet-".concat(h,"-layout"),Ve=Le?"":"has-mobile-".concat(w,"-layout"),je=r()(e.className,"has-".concat(b,"-columns"),Ie,Fe,Ve,{"hide-in-desktop":Ne},{"hide-in-tablet":Re},{"hide-in-mobile":Le},"has-".concat(y,"-gap"),"has-vertical-".concat(k));return wp.element.createElement(ze,{className:je,id:s,style:Pe},wp.element.createElement("div",{className:"wp-themeisle-block-overlay",style:He}),wp.element.createElement(p.default,{type:"top",front:!0,style:xe,fill:Ce,invert:Se}),wp.element.createElement("div",{className:"innerblocks-wrap",style:Ae},wp.element.createElement(u.Content,null)),wp.element.createElement(p.default,{type:"bottom",front:!0,style:Be,fill:Me,invert:Oe}))}}],g=n(14),h=n(24),w=n(5),y=n(6),f=n(15),v=n(17),k=n(7);function T(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function E(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var x=wp.i18n.__,C=wp.components,S=C.BaseControl,B=C.Button,M=C.ButtonGroup,O=C.Dashicon,N=C.Icon,R=C.IconButton,L=C.PanelBody,z=C.Tooltip,_=C.ToggleControl,P=C.RangeControl,H=C.SelectControl,A=C.TextControl,I=wp.blockEditor,F=I.ColorPalette,V=I.InspectorAdvancedControls,j=I.InspectorControls,G=I.MediaPlaceholder,D=wp.element,W=D.Fragment,q=D.useState,Z=function(e){var t=e.attributes,n=e.setAttributes,l=e.updateColumnsWidth,o=e.dividerViewType,i=e.setDividerViewType,c=E(q("layout"),2),p=c[0],d=c[1],m=E(q("desktop"),2),s=m[0],u=m[1],b=E(q("desktop"),2),g=b[0],C=b[1],I=E(q("desktop"),2),D=I[0],Z=I[1],U=E(q("desktop"),2),K=U[0],Q=U[1],Y=E(q("desktop"),2),J=Y[0],X=Y[1],$=E(q("desktop"),2),ee=$[0],te=$[1],ne=function(){var e;return"desktop"===g&&(e=t.paddingType),"tablet"===g&&(e=t.paddingTypeTablet),"mobile"===g&&(e=t.paddingTypeMobile),e};ne=ne();var ae={top:"paddingTop",right:"paddingRight",bottom:"paddingBottom",left:"paddingLeft"},le={top:"paddingTopTablet",right:"paddingRightTablet",bottom:"paddingBottomTablet",left:"paddingLeftTablet"},oe={top:"paddingTopMobile",right:"paddingRightMobile",bottom:"paddingBottomMobile",left:"paddingLeftMobile"},re=function(e){var n;return"top"==e&&("desktop"===g&&(n="linked"===t.paddingType?t.padding:t.paddingTop),"tablet"===g&&(n="linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingTopTablet),"mobile"===g&&(n="linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingTopMobile)),"right"==e&&("desktop"===g&&(n="linked"===t.paddingType?t.padding:t.paddingRight),"tablet"===g&&(n="linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingRightTablet),"mobile"===g&&(n="linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingRightMobile)),"bottom"==e&&("desktop"===g&&(n="linked"===t.paddingType?t.padding:t.paddingBottom),"tablet"===g&&(n="linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingBottomTablet),"mobile"===g&&(n="linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingBottomMobile)),"left"==e&&("desktop"===g&&(n="linked"===t.paddingType?t.padding:t.paddingLeft),"tablet"===g&&(n="linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingLeftTablet),"mobile"===g&&(n="linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingLeftMobile)),n},ie=function(){var e;return"desktop"===D&&(e=t.marginType),"tablet"===D&&(e=t.marginTypeTablet),"mobile"===D&&(e=t.marginTypeMobile),e};ie=ie();var ce={top:"marginTop",bottom:"marginBottom"},pe={top:"marginTopTablet",bottom:"marginBottomTablet"},de={top:"marginTopMobile",bottom:"marginBottomMobile"},me=function(e){var n;return"top"==e&&("desktop"===D&&(n="linked"===t.marginType?t.margin:t.marginTop),"tablet"===D&&(n="linked"===t.marginTypeTablet?t.marginTablet:t.marginTopTablet),"mobile"===D&&(n="linked"===t.marginTypeMobile?t.marginMobile:t.marginTopMobile)),"bottom"==e&&("desktop"===D&&(n="linked"===t.marginType?t.margin:t.marginBottom),"tablet"===D&&(n="linked"===t.marginTypeTablet?t.marginTablet:t.marginBottomTablet),"mobile"===D&&(n="linked"===t.marginTypeMobile?t.marginMobile:t.marginBottomMobile)),n},se=function(e){if(t.horizontalAlign===e)return n({horizontalAlign:"unset"});n({horizontalAlign:e})},ue=function(){var e;return"desktop"===K&&(e=t.columnsHeightCustom),"tablet"===K&&(e=t.columnsHeightCustomTablet),"mobile"===K&&(e=t.columnsHeightCustomMobile),e};ue=ue();var be=function(e){if(t.verticalAlign===e)return n({verticalAlign:"unset"});n({verticalAlign:e})},ge=function(){n({backgroundImageID:"",backgroundImageURL:""})},he=function(){n({backgroundOverlayImageID:"",backgroundOverlayImageURL:""})},we={top:"borderTop",right:"borderRight",bottom:"borderBottom",left:"borderLeft"},ye=function(e){var n;return"top"==e&&(n="linked"===t.borderType?t.border:t.borderTop),"right"==e&&(n="linked"===t.borderType?t.border:t.borderRight),"bottom"==e&&(n="linked"===t.borderType?t.border:t.borderBottom),"left"==e&&(n="linked"===t.borderType?t.border:t.borderLeft),n},fe={top:"borderRadiusTop",right:"borderRadiusRight",bottom:"borderRadiusBottom",left:"borderRadiusLeft"},ve=function(e){var n;return"top"==e&&(n="linked"===t.borderRadiusType?t.borderRadius:t.borderRadiusTop),"right"==e&&(n="linked"===t.borderRadiusType?t.borderRadius:t.borderRadiusRight),"bottom"==e&&(n="linked"===t.borderRadiusType?t.borderRadius:t.borderRadiusBottom),"left"==e&&(n="linked"===t.borderRadiusType?t.borderRadius:t.borderRadiusLeft),n},ke=function(){var e;return"top"==o&&(e=t.dividerTopType),"bottom"==o&&(e=t.dividerBottomType),e};ke=ke();var Te=function(){var e;return"top"==o&&(e=t.dividerTopColor),"bottom"==o&&(e=t.dividerBottomColor),e};Te=Te();var Ee=function(){var e;return"top"==o&&("desktop"==J&&(e=t.dividerTopWidth),"tablet"==J&&(e=t.dividerTopWidthTablet),"mobile"==J&&(e=t.dividerTopWidthMobile)),"bottom"==o&&("desktop"==J&&(e=t.dividerBottomWidth),"tablet"==J&&(e=t.dividerBottomWidthTablet),"mobile"==J&&(e=t.dividerBottomWidthMobile)),e};Ee=Ee();var xe=function(){var e;return"top"==o&&("desktop"==ee&&(e=t.dividerTopHeight),"tablet"==ee&&(e=t.dividerTopHeightTablet),"mobile"==ee&&(e=t.dividerTopHeightMobile)),"bottom"==o&&("desktop"==ee&&(e=t.dividerBottomHeight),"tablet"==ee&&(e=t.dividerBottomHeightTablet),"mobile"==ee&&(e=t.dividerBottomHeightMobile)),e};xe=xe();var Ce=function(){var e;return"top"==o&&(e=t.dividerTopInvert),"bottom"==o&&(e=t.dividerBottomInvert),e};Ce=Ce();var Se=function(e,t){"desktop"===t&&n({hide:e}),"tablet"===t&&n({hideTablet:e}),"mobile"===t&&n({hideMobile:e})};return wp.element.createElement(W,null,wp.element.createElement(j,null,wp.element.createElement(L,{className:"wp-block-themeisle-blocks-advanced-columns-header-panel"},wp.element.createElement(B,{className:r()("header-tab",{"is-selected":"layout"===p}),onClick:function(){return d("layout")}},wp.element.createElement("span",null,wp.element.createElement(O,{icon:"editor-table"}),x("Layout"))),wp.element.createElement(B,{className:r()("header-tab",{"is-selected":"style"===p}),onClick:function(){return d("style")}},wp.element.createElement("span",null,wp.element.createElement(O,{icon:"admin-customizer"}),x("Style"))),wp.element.createElement(B,{className:r()("header-tab",{"is-selected":"advanced"===p}),onClick:function(){return d("advanced")}},wp.element.createElement("span",null,wp.element.createElement(O,{icon:"admin-generic"}),x("Advanced")))),"layout"===p&&wp.element.createElement(W,null,wp.element.createElement(L,{title:x("Columns & Layout")},wp.element.createElement(P,{label:x("Columns"),value:t.columns,onChange:function(e){6>=e&&(n({columns:e,layout:"equal",layoutTablet:"equal",layoutMobile:"collapsedRows"}),l(e,"equal")),6<e&&(n({columns:6,layout:"equal",layoutTablet:"equal",layoutMobile:"collapsedRows"}),l(6,"equal")),1>=e&&(n({columns:1,layout:"equal",layoutTablet:"equal",layoutMobile:"equal"}),l(1,"equal"))},min:1,max:6}),wp.element.createElement(h.default,{label:x("Layout"),columns:t.columns,layout:t.layout,layoutTablet:t.layoutTablet,layoutMobile:t.layoutMobile,view:s,changeViewType:u,onClick:function(e){"desktop"===s&&(n({layout:e}),l(t.columns,e)),"tablet"===s&&n({layoutTablet:e}),"mobile"===s&&n({layoutMobile:e})}}),wp.element.createElement(H,{label:x("Columns Gap"),value:t.columnsGap,options:[{label:"Default (10px)",value:"default"},{label:"No Gap",value:"nogap"},{label:"Narrow (5px)",value:"narrow"},{label:"Extended (15px)",value:"extended"},{label:"Wide (20px)",value:"wide"},{label:"Wider (30px)",value:"wider"}],onChange:function(e){n({columnsGap:e})}})),wp.element.createElement(L,{title:x("Spacing"),initialOpen:!1},wp.element.createElement(y.a,{label:"Padding",view:g,changeViewType:C},wp.element.createElement(w.a,{type:ne,min:0,max:500,changeType:function(e){"desktop"===g&&n({paddingType:e}),"tablet"===g&&n({paddingTypeTablet:e}),"mobile"===g&&n({paddingTypeMobile:e})},onChange:function(e,a){"desktop"===g&&("linked"===t.paddingType?n({padding:a}):n(T({},ae[e],a))),"tablet"===g&&("linked"===t.paddingTypeTablet?n({paddingTablet:a}):n(T({},le[e],a))),"mobile"===g&&("linked"===t.paddingTypeMobile?n({paddingMobile:a}):n(T({},oe[e],a)))},options:[{label:x("Top"),type:"top",value:re("top")},{label:x("Right"),type:"right",value:re("right")},{label:x("Bottom"),type:"bottom",value:re("bottom")},{label:x("Left"),type:"left",value:re("left")}]})),wp.element.createElement(y.a,{label:"Margin",view:D,changeViewType:Z},wp.element.createElement(w.a,{type:ie,min:-500,max:500,changeType:function(e){"desktop"===D&&n({marginType:e}),"tablet"===D&&n({marginTypeTablet:e}),"mobile"===D&&n({marginTypeMobile:e})},onChange:function(e,a){"desktop"===D&&("linked"===t.marginType?n({margin:a}):n(T({},ce[e],a))),"tablet"===D&&("linked"===t.marginTypeTablet?n({marginTablet:a}):n(T({},pe[e],a))),"mobile"===D&&("linked"===t.marginTypeMobile?n({marginMobile:a}):n(T({},de[e],a)))},options:[{label:x("Top"),type:"top",value:me("top")},{label:x("Right"),disabled:!0},{label:x("Bottom"),type:"bottom",value:me("bottom")},{label:x("Left"),disabled:!0}]}))),wp.element.createElement(L,{title:x("Section Structure"),initialOpen:!1},wp.element.createElement(P,{label:x("Maximum Content Width"),value:t.columnsWidth||"",onChange:function(e){(0<=e&&1200>=e||void 0===e)&&n({columnsWidth:e})},min:0,max:1200}),t.columnsWidth&&wp.element.createElement(S,{label:"Horizontal Align"},wp.element.createElement(M,{className:"icon-buttom-group"},wp.element.createElement(z,{text:x("Left")},wp.element.createElement(R,{icon:"editor-alignleft",className:"is-button is-large",isPrimary:"flex-start"===t.horizontalAlign,onClick:function(){return se("flex-start")}})),wp.element.createElement(z,{text:x("Center")},wp.element.createElement(R,{icon:"editor-aligncenter",className:"is-button is-large",isPrimary:"center"===t.horizontalAlign,onClick:function(){return se("center")}})),wp.element.createElement(z,{text:x("Right")},wp.element.createElement(R,{icon:"editor-alignright",className:"is-button is-large",isPrimary:"flex-end"===t.horizontalAlign,onClick:function(){return se("flex-end")}})))),wp.element.createElement(H,{label:x("Minimum Height"),value:t.columnsHeight,options:[{label:"Default",value:"auto"},{label:"Fit to Screen",value:"100vh"},{label:"Custom",value:"custom"}],onChange:function(e){n({columnsHeight:e})}}),"custom"===t.columnsHeight&&wp.element.createElement(y.a,{label:"Custom Height",view:K,changeViewType:Q},wp.element.createElement(P,{value:ue||"",onChange:function(e){"desktop"===K&&n({columnsHeightCustom:e}),"tablet"===K&&n({columnsHeightCustomTablet:e}),"mobile"===K&&n({columnsHeightCustomMobile:e})},min:0,max:1e3})),"auto"!==t.columnsHeight&&wp.element.createElement(S,{label:"Vertical Align"},wp.element.createElement(M,{className:"icon-buttom-group"},wp.element.createElement(z,{text:x("Top")},wp.element.createElement(B,{className:"components-icon-button is-button is-large",isPrimary:"flex-start"===t.verticalAlign,onClick:function(){return be("flex-start")}},wp.element.createElement(N,{icon:a.s,size:20}))),wp.element.createElement(z,{text:x("Middle")},wp.element.createElement(B,{className:"components-icon-button is-button is-large",isPrimary:"center"===t.verticalAlign,onClick:function(){return be("center")}},wp.element.createElement(N,{icon:a.j,size:20}))),wp.element.createElement(z,{text:x("Bottom")},wp.element.createElement(B,{className:"components-icon-button is-button is-large",isPrimary:"flex-end"===t.verticalAlign,onClick:function(){return be("flex-end")}},wp.element.createElement(N,{icon:a.c,size:20})))))))||"style"===p&&wp.element.createElement(W,null,wp.element.createElement(L,{title:x("Background Settings"),className:"wp-block-themeisle-image-container"},wp.element.createElement(f.default,{label:x("Background Type"),backgroundType:t.backgroundType,changeBackgroundType:function(e){n({backgroundType:e})}}),"color"===t.backgroundType&&wp.element.createElement(W,null,wp.element.createElement("p",null,x("Background Color")),wp.element.createElement(F,{label:"Background Color",value:t.backgroundColor,onChange:function(e){n({backgroundColor:e})}}))||"image"===t.backgroundType&&(t.backgroundImageURL?wp.element.createElement(W,null,wp.element.createElement("div",{className:"image-body"},wp.element.createElement("div",{className:"image-container"},wp.element.createElement("div",{className:"image-holder",style:{backgroundImage:"url('".concat(t.backgroundImageURL,"')")}}),wp.element.createElement("div",{className:"image-delete",onClick:ge},wp.element.createElement(O,{icon:"trash"}),wp.element.createElement("span",null,x("Remove Image"))))),wp.element.createElement(B,{isDefault:!0,className:"image-delete-button",onClick:ge},x("Change or Remove Image")),wp.element.createElement(k.a,{label:"Background Settings"},wp.element.createElement(H,{label:x("Background Attachment"),value:t.backgroundAttachment,options:[{label:"Scroll",value:"scroll"},{label:"Fixed",value:"fixed"},{label:"Local",value:"local"}],onChange:function(e){n({backgroundAttachment:e})}}),wp.element.createElement(H,{label:x("Background Position"),value:t.backgroundPosition,options:[{label:"Default",value:"top left"},{label:"Top Left",value:"top left"},{label:"Top Center",value:"top center"},{label:"Top Right",value:"top right"},{label:"Center Left",value:"center left"},{label:"Center Center",value:"center center"},{label:"Center Right",value:"center right"},{label:"Bottom Left",value:"bottom left"},{label:"Bottom Center",value:"bottom center"},{label:"Bottom Right",value:"bottom right"}],onChange:function(e){n({backgroundPosition:e})}}),wp.element.createElement(H,{label:x("Background Repeat"),value:t.backgroundRepeat,options:[{label:"Repeat",value:"repeat"},{label:"No-repeat",value:"no-repeat"}],onChange:function(e){n({backgroundRepeat:e})}}),wp.element.createElement(H,{label:x("Background Size"),value:t.backgroundSize,options:[{label:"Auto",value:"auto"},{label:"Cover",value:"cover"},{label:"Contain",value:"contain"}],onChange:function(e){n({backgroundSize:e})}}))):wp.element.createElement(G,{icon:"format-image",labels:{title:x("Background Image"),name:x("an image")},value:t.backgroundImageID,onSelect:function(e){n({backgroundImageID:e.id,backgroundImageURL:e.url})},accept:"image/*",allowedTypes:["image"]}))||"gradient"===t.backgroundType&&wp.element.createElement(v.a,{label:"Background Gradient",value:{firstColor:t.backgroundGradientFirstColor,firstLocation:t.backgroundGradientFirstLocation,secondColor:t.backgroundGradientSecondColor,secondLocation:t.backgroundGradientSecondLocation,type:t.backgroundGradientType,angle:t.backgroundGradientAngle,position:t.backgroundGradientPosition},onChange:function(e,t,a,l,o,r,i){n({backgroundGradientFirstColor:e,backgroundGradientFirstLocation:t,backgroundGradientSecondColor:a,backgroundGradientSecondLocation:l,backgroundGradientType:o,backgroundGradientAngle:r,backgroundGradientPosition:i})}})),wp.element.createElement(L,{title:x("Background Overlay"),className:"wp-block-themeisle-image-container",initialOpen:!1},wp.element.createElement(f.default,{label:x("Overlay Type"),backgroundType:t.backgroundOverlayType,changeBackgroundType:function(e){n({backgroundOverlayType:e})}}),wp.element.createElement(P,{label:x("Overlay Opacity"),value:t.backgroundOverlayOpacity,onChange:function(e){n({backgroundOverlayOpacity:e})},min:0,max:100}),"color"===t.backgroundOverlayType&&wp.element.createElement(W,null,wp.element.createElement("p",null,x("Overlay Color")),wp.element.createElement(F,{label:"Overlay Color",value:t.backgroundOverlayColor,onChange:function(e){n({backgroundOverlayColor:e})}}))||"image"===t.backgroundOverlayType&&(t.backgroundOverlayImageURL?wp.element.createElement(W,null,wp.element.createElement("div",{className:"image-body"},wp.element.createElement("div",{className:"image-container"},wp.element.createElement("div",{className:"image-holder",style:{backgroundImage:"url('".concat(t.backgroundOverlayImageURL,"')")}}),wp.element.createElement("div",{className:"image-delete",onClick:he},wp.element.createElement(O,{icon:"trash"}),wp.element.createElement("span",null,x("Remove Image"))))),wp.element.createElement(B,{isDefault:!0,className:"image-delete-button",onClick:he},x("Change or Remove Image")),wp.element.createElement(k.a,{label:"Background Settings"},wp.element.createElement(H,{label:x("Background Attachment"),value:t.backgroundOverlayAttachment,options:[{label:"Scroll",value:"scroll"},{label:"Fixed",value:"fixed"},{label:"Local",value:"local"}],onChange:function(e){n({backgroundOverlayAttachment:e})}}),wp.element.createElement(H,{label:x("Background Position"),value:t.backgroundOverlayPosition,options:[{label:"Default",value:"top left"},{label:"Top Left",value:"top left"},{label:"Top Center",value:"top center"},{label:"Top Right",value:"top right"},{label:"Center Left",value:"center left"},{label:"Center Center",value:"center center"},{label:"Center Right",value:"center right"},{label:"Bottom Left",value:"bottom left"},{label:"Bottom Center",value:"bottom center"},{label:"Bottom Right",value:"bottom right"}],onChange:function(e){n({backgroundOverlayPosition:e})}}),wp.element.createElement(H,{label:x("Background Repeat"),value:t.backgroundOverlayRepeat,options:[{label:"Repeat",value:"repeat"},{label:"No-repeat",value:"no-repeat"}],onChange:function(e){n({backgroundOverlayRepeat:e})}}),wp.element.createElement(H,{label:x("Background Size"),value:t.backgroundOverlaySize,options:[{label:"Auto",value:"auto"},{label:"Cover",value:"cover"},{label:"Contain",value:"contain"}],onChange:function(e){n({backgroundOverlaySize:e})}}))):wp.element.createElement(G,{icon:"format-image",labels:{title:x("Background Image"),name:x("an image")},value:t.backgroundOverlayImageID,onSelect:function(e){n({backgroundOverlayImageID:e.id,backgroundOverlayImageURL:e.url})},accept:"image/*",allowedTypes:["image"]}))||"gradient"===t.backgroundOverlayType&&wp.element.createElement(v.a,{label:"Background Gradient",value:{firstColor:t.backgroundOverlayGradientFirstColor,firstLocation:t.backgroundOverlayGradientFirstLocation,secondColor:t.backgroundOverlayGradientSecondColor,secondLocation:t.backgroundOverlayGradientSecondLocation,type:t.backgroundOverlayGradientType,angle:t.backgroundOverlayGradientAngle,position:t.backgroundOverlayGradientPosition},onChange:function(e,t,a,l,o,r,i){n({backgroundOverlayGradientFirstColor:e,backgroundOverlayGradientFirstLocation:t,backgroundOverlayGradientSecondColor:a,backgroundOverlayGradientSecondLocation:l,backgroundOverlayGradientType:o,backgroundOverlayGradientAngle:r,backgroundOverlayGradientPosition:i})}}),wp.element.createElement(k.a,{label:"CSS Filters"},wp.element.createElement(P,{label:x("Blur"),value:t.backgroundOverlayFilterBlur,onChange:function(e){n({backgroundOverlayFilterBlur:e})},min:0,max:100}),wp.element.createElement(P,{label:x("Brightness"),value:t.backgroundOverlayFilterBrightness,onChange:function(e){n({backgroundOverlayFilterBrightness:e})},min:0,max:100}),wp.element.createElement(P,{label:x("Contrast"),value:t.backgroundOverlayFilterContrast,onChange:function(e){n({backgroundOverlayFilterContrast:e})},min:0,max:100}),wp.element.createElement(P,{label:x("Grayscale"),value:t.backgroundOverlayFilterGrayscale,onChange:function(e){n({backgroundOverlayFilterGrayscale:e})},min:0,max:100}),wp.element.createElement(P,{label:x("Hue"),value:t.backgroundOverlayFilterHue,onChange:function(e){n({backgroundOverlayFilterHue:e})},min:0,max:360}),wp.element.createElement(P,{label:x("Saturation"),value:t.backgroundOverlayFilterSaturate,onChange:function(e){n({backgroundOverlayFilterSaturate:e})},min:0,max:100})),wp.element.createElement(H,{label:x("Blend Mode"),value:t.backgroundOverlayBlend,options:[{label:"Normal",value:"normal"},{label:"Multiply",value:"multiply"},{label:"Screen",value:"screen"},{label:"Overlay",value:"overlay"},{label:"Darken",value:"darken"},{label:"Lighten",value:"lighten"},{label:"Color Dodge",value:"color-dodge"},{label:"Color Burn",value:"color-burn"},{label:"Hard Light",value:"hard-light"},{label:"Soft Light",value:"soft-light"},{label:"Difference",value:"difference"},{label:"Exclusion",value:"exclusion"},{label:"Hue",value:"hue"},{label:"Saturation",value:"saturation"},{label:"Color",value:"color"},{label:"Luminosity",value:"luminosity"}],onChange:function(e){n({backgroundOverlayBlend:e})}})),wp.element.createElement(L,{title:x("Border"),className:"wp-block-themeisle-border-container",initialOpen:!1},wp.element.createElement(w.a,{label:x("Border Width"),type:t.borderType,min:0,max:500,changeType:function(e){n({borderType:e})},onChange:function(e,a){"linked"===t.borderType?n({border:a}):n(T({},we[e],a))},options:[{label:x("Top"),type:"top",value:ye("top")},{label:x("Right"),type:"right",value:ye("right")},{label:x("Bottom"),type:"bottom",value:ye("bottom")},{label:x("Left"),type:"left",value:ye("left")}]}),wp.element.createElement(W,null,wp.element.createElement("p",null,x("Border Color")),wp.element.createElement(F,{label:"Border Color",value:t.borderColor,onChange:function(e){n({borderColor:e})}})),wp.element.createElement(w.a,{label:x("Border Radius"),type:t.borderRadiusType,min:0,max:500,changeType:function(e){n({borderRadiusType:e})},onChange:function(e,a){"linked"===t.borderRadiusType?n({borderRadius:a}):n(T({},fe[e],a))},options:[{label:x("Top"),type:"top",value:ve("top")},{label:x("Right"),type:"right",value:ve("right")},{label:x("Bottom"),type:"bottom",value:ve("bottom")},{label:x("Left"),type:"left",value:ve("left")}]}),wp.element.createElement(_,{label:"Box Shadow",checked:t.boxShadow,onChange:function(){n({boxShadow:!t.boxShadow})}}),t.boxShadow&&wp.element.createElement(W,null,wp.element.createElement(W,null,wp.element.createElement("p",null,x("Shadow Color")),wp.element.createElement(F,{label:"Shadow Color",value:t.boxShadowColor,onChange:function(e){n({boxShadowColor:e})}})),wp.element.createElement(k.a,{label:"Border Shadow"},wp.element.createElement(P,{label:x("Opacity"),value:t.boxShadowColorOpacity,onChange:function(e){n({boxShadowColorOpacity:e})},min:0,max:100}),wp.element.createElement(P,{label:x("Blur"),value:t.boxShadowBlur,onChange:function(e){n({boxShadowBlur:e})},min:0,max:100}),wp.element.createElement(P,{label:x("Spread"),value:t.boxShadowSpread,onChange:function(e){n({boxShadowSpread:e})},min:-100,max:100}),wp.element.createElement(P,{label:x("Horizontal"),value:t.boxShadowHorizontal,onChange:function(e){n({boxShadowHorizontal:e})},min:-100,max:100}),wp.element.createElement(P,{label:x("Vertical"),value:t.boxShadowVertical,onChange:function(e){n({boxShadowVertical:e})},min:-100,max:100})))),wp.element.createElement(L,{title:x("Shape Divider"),initialOpen:!1,className:"wp-block-themeisle-shape-divider"},wp.element.createElement(M,null,wp.element.createElement(B,{className:"is-button",isPrimary:"top"===o,onClick:function(){return i("top")}},x("Top")),wp.element.createElement(B,{className:"is-button",isPrimary:"bottom"===o,onClick:function(){return i("bottom")}},x("Bottom"))),wp.element.createElement(H,{label:x("Type"),value:ke,options:[{label:"None",value:"none"},{label:"Triangle",value:"bigTriangle"},{label:"Right Curve",value:"rightCurve"},{label:"Curve",value:"curve"},{label:"Slant",value:"slant"},{label:"Cloud",value:"cloud"}],onChange:function(e){"top"==o&&n({dividerTopType:e}),"bottom"==o&&n({dividerBottomType:e})}}),"none"!==ke&&wp.element.createElement(W,null,wp.element.createElement(W,null,wp.element.createElement("p",null,x("Color")),wp.element.createElement(F,{label:x("Color"),value:Te,onChange:function(e){"top"==o&&n({dividerTopColor:e}),"bottom"==o&&n({dividerBottomColor:e})}})),wp.element.createElement(y.a,{label:"Width",view:J,changeViewType:X},wp.element.createElement(P,{value:Ee,onChange:function(e){"top"==o&&("desktop"==J&&n({dividerTopWidth:e}),"tablet"==J&&n({dividerTopWidthTablet:e}),"mobile"==J&&n({dividerTopWidthMobile:e})),"bottom"==o&&("desktop"==J&&n({dividerBottomWidth:e}),"tablet"==J&&n({dividerBottomWidthTablet:e}),"mobile"==J&&n({dividerBottomWidthMobile:e}))},min:0,max:500})),wp.element.createElement(y.a,{label:"Height",view:ee,changeViewType:te},wp.element.createElement(P,{value:xe,onChange:function(e){"top"==o&&("desktop"==ee&&n({dividerTopHeight:e}),"tablet"==ee&&n({dividerTopHeightTablet:e}),"mobile"==ee&&n({dividerTopHeightMobile:e})),"bottom"==o&&("desktop"==ee&&n({dividerBottomHeight:e}),"tablet"==ee&&n({dividerBottomHeightTablet:e}),"mobile"==ee&&n({dividerBottomHeightMobile:e}))},min:0,max:500})),"curve"!==ke&&"cloud"!==ke&&wp.element.createElement(_,{label:"Invert Shape Divider",checked:Ce,onChange:function(){"top"==o&&n({dividerTopInvert:!t.dividerTopInvert}),"bottom"==o&&n({dividerBottomInvert:!t.dividerBottomInvert})}}))))||"advanced"===p&&wp.element.createElement(W,null,wp.element.createElement(L,{title:x("Responsive")},wp.element.createElement(_,{label:"Hide this section in Desktop devices?",checked:t.hide,onChange:function(e){return Se(e,"desktop")}}),wp.element.createElement(_,{label:"Hide this section in Tablet devices?",checked:t.hideTablet,onChange:function(e){return Se(e,"tablet")}}),wp.element.createElement(_,{label:"Hide this section in Mobile devices?",checked:t.hideMobile,onChange:function(e){return Se(e,"mobile")}})),wp.element.createElement(L,{title:x("Section Settings"),initialOpen:!1},wp.element.createElement(H,{label:x("HTML Tag"),value:t.columnsHTMLTag,options:[{label:"Default",value:"div"},{label:"div",value:"div"},{label:"section",value:"section"},{label:"header",value:"header"},{label:"footer",value:"footer"},{label:"article",value:"article"},{label:"main",value:"main"}],onChange:function(e){n({columnsHTMLTag:e})}})))),wp.element.createElement(V,null,wp.element.createElement(A,{label:x("HTML Anchor"),help:x("Anchors lets you link directly to a section on a page."),value:t.id,readonly:"readonly",onClick:function(e){return e.target.select()}})))};function U(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var K=wp.i18n.__,Q=wp.blockEditor,Y=Q.__experimentalBlockNavigationList,J=Q.BlockControls,X=wp.components,$=X.IconButton,ee=X.Modal,te=X.Toolbar,ne=wp.compose.compose,ae=wp.data,le=ae.withSelect,oe=ae.withDispatch,re=wp.element,ie=re.Fragment,ce=re.useState,pe=ne(le((function(e,t){var n=t.clientId,a=e("core/block-editor"),l=a.getSelectedBlockClientId;return{block:(0,a.getBlock)(n),selectedBlockClientId:l()}})),oe((function(e,t){t.block;return{selectBlock:e("core/block-editor").selectBlock}})))((function(e){e.clientId;var t=e.block,n=e.selectedBlockClientId,l=e.selectBlock,o=U(ce(!1),2),r=o[0],i=o[1];return wp.element.createElement(ie,null,wp.element.createElement(J,null,wp.element.createElement(te,{className:"wp-themesiel-blocks-block-navigator-components-toolbar"},wp.element.createElement($,{className:"components-toolbar__control",label:K("Open block navigator"),onClick:function(){return i(!0)},icon:a.k}))),r&&wp.element.createElement(ee,{title:K("Block Navigator"),closeLabel:K("Close"),onRequestClose:function(){return i(!1)}},wp.element.createElement(Y,{blocks:[t],selectedBlockClientId:n,selectBlock:l,showNestedBlocks:!0})))})),de=n(25);function me(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function se(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?me(Object(n),!0).forEach((function(t){ue(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):me(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ue(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function be(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var ge=lodash.times,he=wp.compose.compose,we=wp.data,ye=we.withDispatch,fe=we.withSelect,ve=wp.blockEditor,ke=ve.__experimentalBlockNavigationList,Te=ve.InnerBlocks,Ee=wp.element,xe=Ee.Fragment,Ce=Ee.useEffect,Se=Ee.useState,Be=wp.viewport.withViewportMatch,Me=he(ye((function(e){return{updateBlockAttributes:e("core/block-editor").updateBlockAttributes}})),fe((function(e,t){var n=t.clientId;return{sectionBlock:(0,e("core/block-editor").getBlock)(n)}})),Be({isLarger:">= large",isLarge:"<= large",isSmall:">= small",isSmaller:"<= small"}))((function(e){var t=e.attributes,n=e.setAttributes,a=e.className,l=e.clientId,o=e.updateBlockAttributes,i=e.sectionBlock,d=e.isLarger,m=e.isLarge,s=e.isSmall,u=e.isSmaller;Ce((function(){T()}),[]);var b,h,w,y,f,v,k,T=function(){if(void 0===t.id||t.id.substr(t.id.length-8)!==l.substr(0,8)){var e="wp-block-themeisle-blocks-advanced-columns-".concat(l.substr(0,8));n({id:e})}},E=be(Se("top"),2),x=E[0],C=E[1],S=d&&!m&&s&&!u,B=!d&&!m&&s&&!u,M=!(d||m||s||u),O=t.columnsHTMLTag;(S&&(b={paddingRight:"linked"===t.paddingType?"".concat(t.padding,"px"):"".concat(t.paddingRight,"px"),paddingLeft:"linked"===t.paddingType?"".concat(t.padding,"px"):"".concat(t.paddingLeft,"px"),marginTop:"linked"===t.marginType?"".concat(t.margin,"px"):"".concat(t.marginTop,"px"),marginBottom:"linked"===t.marginType?"".concat(t.margin,"px"):"".concat(t.marginBottom,"px"),minHeight:"custom"===t.columnsHeight?"".concat(t.columnsHeightCustom,"px"):t.columnsHeight}),B&&(b={paddingRight:"linked"===t.paddingTypeTablet?"".concat(t.paddingTablet,"px"):"".concat(t.paddingRightTablet,"px"),paddingLeft:"linked"===t.paddingTypeTablet?"".concat(t.paddingTablet,"px"):"".concat(t.paddingLeftTablet,"px"),marginTop:"linked"===t.marginTypeTablet?"".concat(t.marginTablet,"px"):"".concat(t.marginTopTablet,"px"),marginBottom:"linked"===t.marginTypeTablet?"".concat(t.marginTablet,"px"):"".concat(t.marginBottomTablet,"px"),minHeight:"custom"===t.columnsHeight?"".concat(t.columnsHeightCustomTablet,"px"):t.columnsHeight}),M&&(b={paddingRight:"linked"===t.paddingTypeMobile?"".concat(t.paddingMobile,"px"):"".concat(t.paddingRightMobile,"px"),paddingLeft:"linked"===t.paddingTypeMobile?"".concat(t.paddingMobile,"px"):"".concat(t.paddingLeftMobile,"px"),marginTop:"linked"===t.marginTypeMobile?"".concat(t.marginMobile,"px"):"".concat(t.marginTopMobile,"px"),marginBottom:"linked"===t.marginTypeMobile?"".concat(t.marginMobile,"px"):"".concat(t.marginBottomMobile,"px"),minHeight:"custom"===t.columnsHeight?"".concat(t.columnsHeightCustomMobile,"px"):t.columnsHeight}),"color"===t.backgroundType&&(h={background:t.backgroundColor}),"image"===t.backgroundType&&(h={backgroundImage:"url( '".concat(t.backgroundImageURL,"' )"),backgroundAttachment:t.backgroundAttachment,backgroundPosition:t.backgroundPosition,backgroundRepeat:t.backgroundRepeat,backgroundSize:t.backgroundSize}),"gradient"===t.backgroundType)&&(k="linear"===t.backgroundGradientType?"".concat(t.backgroundGradientAngle,"deg"):"at ".concat(t.backgroundGradientPosition),(t.backgroundGradientFirstColor||t.backgroundGradientSecondColor)&&(h={background:"".concat(t.backgroundGradientType,"-gradient( ").concat(k,", ").concat(t.backgroundGradientFirstColor||"rgba( 0, 0, 0, 0 )"," ").concat(t.backgroundGradientFirstLocation,"%, ").concat(t.backgroundGradientSecondColor||"rgba( 0, 0, 0, 0 )"," ").concat(t.backgroundGradientSecondLocation,"% )")}));"linked"===t.borderType&&(y={borderWidth:"".concat(t.border,"px"),borderStyle:"solid",borderColor:t.borderColor}),"unlinked"===t.borderType&&(y={borderTopWidth:"".concat(t.borderTop,"px"),borderRightWidth:"".concat(t.borderRight,"px"),borderBottomWidth:"".concat(t.borderBottom,"px"),borderLeftWidth:"".concat(t.borderLeft,"px"),borderStyle:"solid",borderColor:t.borderColor}),"linked"===t.borderRadiusType&&(f={borderRadius:"".concat(t.borderRadius,"px")}),"unlinked"===t.borderRadiusType&&(f={borderTopLeftRadius:"".concat(t.borderRadiusTop,"px"),borderTopRightRadius:"".concat(t.borderRadiusRight,"px"),borderBottomRightRadius:"".concat(t.borderRadiusBottom,"px"),borderBottomLeftRadius:"".concat(t.borderRadiusLeft,"px")}),!0===t.boxShadow&&(v={boxShadow:"".concat(t.boxShadowHorizontal,"px ").concat(t.boxShadowVertical,"px ").concat(t.boxShadowBlur,"px ").concat(t.boxShadowSpread,"px ").concat(c()(t.boxShadowColor?t.boxShadowColor:"#000000",t.boxShadowColorOpacity))});var N,R=se({},b,{},h,{},y,{},f,{},v,{alignItems:t.horizontalAlign,justifyContent:t.verticalAlign});("color"===t.backgroundOverlayType&&(w={background:t.backgroundOverlayColor,opacity:t.backgroundOverlayOpacity/100}),"image"===t.backgroundOverlayType&&(w={backgroundImage:"url( '".concat(t.backgroundOverlayImageURL,"' )"),backgroundAttachment:t.backgroundOverlayAttachment,backgroundPosition:t.backgroundOverlayPosition,backgroundRepeat:t.backgroundOverlayRepeat,backgroundSize:t.backgroundOverlaySize,opacity:t.backgroundOverlayOpacity/100}),"gradient"===t.backgroundOverlayType)&&(N="linear"===t.backgroundOverlayGradientType?"".concat(t.backgroundOverlayGradientAngle,"deg"):"at ".concat(t.backgroundOverlayGradientPosition),w={background:"".concat(t.backgroundOverlayGradientType,"-gradient( ").concat(N,", ").concat(t.backgroundOverlayGradientFirstColor||"rgba( 0, 0, 0, 0 )"," ").concat(t.backgroundOverlayGradientFirstLocation,"%, ").concat(t.backgroundOverlayGradientSecondColor||"rgba( 0, 0, 0, 0 )"," ").concat(t.backgroundOverlayGradientSecondLocation,"% )"),opacity:t.backgroundOverlayOpacity/100});var L=se({},w,{mixBlendMode:t.backgroundOverlayBlend,filter:"blur( ".concat(t.backgroundOverlayFilterBlur/10,"px ) brightness( ").concat(t.backgroundOverlayFilterBrightness/10," ) contrast( ").concat(t.backgroundOverlayFilterContrast/10," ) grayscale( ").concat(t.backgroundOverlayFilterGrayscale/100," ) hue-rotate( ").concat(t.backgroundOverlayFilterHue,"deg ) saturate( ").concat(t.backgroundOverlayFilterSaturate/10," )")}),z={};t.columnsWidth&&(z={maxWidth:t.columnsWidth+"px"});var _=r()(a,"has-".concat(t.columns,"-columns"),"has-desktop-".concat(t.layout,"-layout"),"has-tablet-".concat(t.layoutTablet,"-layout"),"has-mobile-".concat(t.layoutMobile,"-layout"),"has-".concat(t.columnsGap,"-gap")),P=function(e){var n;return"top"==e&&(S&&(n="linked"===t.paddingType?t.padding:t.paddingTop),B&&(n="linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingTopTablet),M&&(n="linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingTopMobile)),"bottom"==e&&(S&&(n="linked"===t.paddingType?t.padding:t.paddingBottom),B&&(n="linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingBottomTablet),M&&(n="linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingBottomMobile)),n},H=function(){var e;return S&&(e=t.dividerTopWidth),B&&(e=t.dividerTopWidthTablet),M&&(e=t.dividerTopWidthMobile),e};H=H();var A=function(){var e;return S&&(e=t.dividerBottomWidth),B&&(e=t.dividerBottomWidthTablet),M&&(e=t.dividerBottomWidthMobile),e};A=A();var I=function(){var e;return S&&(e=t.dividerTopHeight),B&&(e=t.dividerTopHeightTablet),M&&(e=t.dividerTopHeightMobile),e};I=I();var F=function(){var e;return S&&(e=t.dividerBottomHeight),B&&(e=t.dividerBottomHeightTablet),M&&(e=t.dividerBottomHeightMobile),e};F=F();var V;return t.columns?wp.element.createElement(xe,null,ke&&wp.element.createElement(pe,{clientId:l}),wp.element.createElement(Z,{attributes:t,setAttributes:n,updateColumnsWidth:function(e,t){i.innerBlocks.map((function(n,a){o(n.clientId,{columnWidth:parseFloat(g.a[e][t][a])})}))},dividerViewType:x,setDividerViewType:C}),wp.element.createElement(O,{className:_,id:t.id,style:R},wp.element.createElement("div",{className:"wp-themeisle-block-overlay",style:L}),wp.element.createElement("div",{className:"wp-themeisle-block-advanced-columns-padding-container",style:{height:"".concat(P("top"),"px")}},wp.element.createElement("div",{className:"block-space-size"},wp.element.createElement("span",{id:"paddingTop"},"".concat(P("top"),"px")))),wp.element.createElement(p.default,{type:"top",style:t.dividerTopType,fill:t.dividerTopColor,invert:t.dividerTopInvert,width:H,height:I}),wp.element.createElement("div",{className:"innerblocks-wrap",style:z},wp.element.createElement(Te,{allowedBlocks:["themeisle-blocks/advanced-columns"],template:(V=t.columns,ge(V,(function(e){return["themeisle-blocks/advanced-column",{columnWidth:parseFloat(g.a[V][t.layout][e])}]}))),templateLock:"all"})),wp.element.createElement(p.default,{type:"bottom",style:t.dividerBottomType,fill:t.dividerBottomColor,invert:t.dividerBottomInvert,width:A,height:F}),wp.element.createElement("div",{className:"wp-themeisle-block-advanced-columns-padding-container",style:{height:"".concat(P("bottom"),"px")}},wp.element.createElement("div",{className:"block-space-size"},wp.element.createElement("span",{id:"paddingBottom"},"".concat(P("bottom"),"px")))))):wp.element.createElement(de.default,{clientId:l,setupColumns:function(e,t){n(1>=e?{columns:e,layout:t,layoutTablet:"equal",layoutMobile:"equal"}:{columns:e,layout:t,layoutTablet:"equal",layoutMobile:"collapsedRows"})}})}));function Oe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Ne(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Oe(Object(n),!0).forEach((function(t){Re(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Oe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Re(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Le=wp.blockEditor.InnerBlocks,ze=function(e){var t,n,a,l,o,i,d=e.attributes,m=e.className,s=d.columnsHTMLTag;("color"===d.backgroundType&&(t={background:d.backgroundColor}),"image"===d.backgroundType&&(t={backgroundImage:"url( '".concat(d.backgroundImageURL,"' )"),backgroundAttachment:d.backgroundAttachment,backgroundPosition:d.backgroundPosition,backgroundRepeat:d.backgroundRepeat,backgroundSize:d.backgroundSize}),"gradient"===d.backgroundType)&&(i="linear"===d.backgroundGradientType?"".concat(d.backgroundGradientAngle,"deg"):"at ".concat(d.backgroundGradientPosition),t={background:"".concat(d.backgroundGradientType,"-gradient( ").concat(i,", ").concat(d.backgroundGradientFirstColor||"rgba( 0, 0, 0, 0 )"," ").concat(d.backgroundGradientFirstLocation,"%, ").concat(d.backgroundGradientSecondColor||"rgba( 0, 0, 0, 0 )"," ").concat(d.backgroundGradientSecondLocation,"% )")});"linked"===d.borderType&&(a={borderWidth:"".concat(d.border,"px"),borderStyle:"solid",borderColor:d.borderColor}),"unlinked"===d.borderType&&(a={borderTopWidth:"".concat(d.borderTop,"px"),borderRightWidth:"".concat(d.borderRight,"px"),borderBottomWidth:"".concat(d.borderBottom,"px"),borderLeftWidth:"".concat(d.borderLeft,"px"),borderStyle:"solid",borderColor:d.borderColor}),"linked"===d.borderRadiusType&&(l={borderRadius:"".concat(d.borderRadius,"px")}),"unlinked"===d.borderRadiusType&&(l={borderTopLeftRadius:"".concat(d.borderRadiusTop,"px"),borderTopRightRadius:"".concat(d.borderRadiusRight,"px"),borderBottomRightRadius:"".concat(d.borderRadiusBottom,"px"),borderBottomLeftRadius:"".concat(d.borderRadiusLeft,"px")}),!0===d.boxShadow&&(o={boxShadow:"".concat(d.boxShadowHorizontal,"px ").concat(d.boxShadowVertical,"px ").concat(d.boxShadowBlur,"px ").concat(d.boxShadowSpread,"px ").concat(c()(d.boxShadowColor?d.boxShadowColor:"#000000",d.boxShadowColorOpacity))});var u,b=Ne({},t,{},a,{},l,{},o,{justifyContent:d.horizontalAlign});("color"===d.backgroundOverlayType&&(n={background:d.backgroundOverlayColor,opacity:d.backgroundOverlayOpacity/100}),"image"===d.backgroundOverlayType&&(n={backgroundImage:"url( '".concat(d.backgroundOverlayImageURL,"' )"),backgroundAttachment:d.backgroundOverlayAttachment,backgroundPosition:d.backgroundOverlayPosition,backgroundRepeat:d.backgroundOverlayRepeat,backgroundSize:d.backgroundOverlaySize,opacity:d.backgroundOverlayOpacity/100}),"gradient"===d.backgroundOverlayType)&&(u="linear"===d.backgroundOverlayGradientType?"".concat(d.backgroundOverlayGradientAngle,"deg"):"at ".concat(d.backgroundOverlayGradientPosition),n={background:"".concat(d.backgroundOverlayGradientType,"-gradient( ").concat(u,", ").concat(d.backgroundOverlayGradientFirstColor||"rgba( 0, 0, 0, 0 )"," ").concat(d.backgroundOverlayGradientFirstLocation,"%, ").concat(d.backgroundOverlayGradientSecondColor||"rgba( 0, 0, 0, 0 )"," ").concat(d.backgroundOverlayGradientSecondLocation,"% )"),opacity:d.backgroundOverlayOpacity/100});var g=Ne({},n,{mixBlendMode:d.backgroundOverlayBlend}),h={};d.columnsWidth&&(h={maxWidth:d.columnsWidth+"px"});var w=d.hide?"":"has-desktop-".concat(d.layout,"-layout"),y=d.hideTablet?"":"has-tablet-".concat(d.layoutTablet,"-layout"),f=d.hideMobile?"":"has-mobile-".concat(d.layoutMobile,"-layout"),v=r()(m,"has-".concat(d.columns,"-columns"),w,y,f,{"hide-in-desktop":d.hide},{"hide-in-tablet":d.hideTablet},{"hide-in-mobile":d.hideMobile},"has-".concat(d.columnsGap,"-gap"),"has-vertical-".concat(d.verticalAlign));return wp.element.createElement(s,{className:v,id:d.id,style:b},wp.element.createElement("div",{className:"wp-themeisle-block-overlay",style:g}),wp.element.createElement(p.default,{type:"top",front:!0,style:d.dividerTopType,fill:d.dividerTopColor,invert:d.dividerTopInvert}),wp.element.createElement("div",{className:"innerblocks-wrap",style:h},wp.element.createElement(Le.Content,null)),wp.element.createElement(p.default,{type:"bottom",front:!0,style:d.dividerBottomType,fill:d.dividerBottomColor,invert:d.dividerBottomInvert}))},_e=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/advanced-columns",{title:_e("Section"),description:_e("Add a Section block that displays content in multiple columns, then add whatever content blocks you’d like."),icon:a.f,category:"themeisle-blocks",keywords:["advanced columns","layout","grid"],attributes:l,supports:{align:["wide","full"],html:!1},deprecated:b,edit:Me,save:ze})},function(e,t,n){"use strict";n.r(t);var a=n(2),l={id:{type:"string"},paddingType:{type:"string",default:"linked"},paddingTypeTablet:{type:"string",default:"linked"},paddingTypeMobile:{type:"string",default:"linked"},padding:{type:"number",default:20},paddingTablet:{type:"number",default:20},paddingMobile:{type:"number",default:20},paddingTop:{type:"number",default:20},paddingTopTablet:{type:"number",default:20},paddingTopMobile:{type:"number",default:20},paddingRight:{type:"number",default:20},paddingRightTablet:{type:"number",default:20},paddingRightMobile:{type:"number",default:20},paddingBottom:{type:"number",default:20},paddingBottomTablet:{type:"number",default:20},paddingBottomMobile:{type:"number",default:20},paddingLeft:{type:"number",default:20},paddingLeftTablet:{type:"number",default:20},paddingLeftMobile:{type:"number",default:20},marginType:{type:"string",default:"unlinked"},marginTypeTablet:{type:"string",default:"unlinked"},marginTypeMobile:{type:"string",default:"unlinked"},margin:{type:"number",default:20},marginTablet:{type:"number",default:20},marginMobile:{type:"number",default:20},marginTop:{type:"number",default:20},marginTopTablet:{type:"number",default:20},marginTopMobile:{type:"number",default:20},marginRight:{type:"number",default:0},marginRightTablet:{type:"number",default:0},marginRightMobile:{type:"number",default:0},marginBottom:{type:"number",default:20},marginBottomTablet:{type:"number",default:20},marginBottomMobile:{type:"number",default:20},marginLeft:{type:"number",default:0},marginLeftTablet:{type:"number",default:0},marginLeftMobile:{type:"number",default:0},backgroundType:{type:"string",default:"color"},backgroundColor:{type:"string"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundAttachment:{type:"string",default:"scroll"},backgroundPosition:{type:"string",default:"top left"},backgroundRepeat:{type:"string",default:"repeat"},backgroundSize:{type:"string",default:"auto"},backgroundGradientFirstColor:{type:"string",default:"#36d1dc"},backgroundGradientFirstLocation:{type:"number",default:0},backgroundGradientSecondColor:{type:"string",default:"#5b86e5"},backgroundGradientSecondLocation:{type:"number",default:100},backgroundGradientType:{type:"string",default:"linear"},backgroundGradientAngle:{type:"number",default:90},backgroundGradientPosition:{type:"string",default:"center center"},borderType:{type:"string",default:"linked"},border:{type:"number",default:0},borderTop:{type:"number",default:0},borderRight:{type:"number",default:0},borderBottom:{type:"number",default:0},borderLeft:{type:"number",default:0},borderColor:{type:"string",default:"#000000"},borderRadiusType:{type:"string",default:"linked"},borderRadius:{type:"number",default:0},borderRadiusTop:{type:"number",default:0},borderRadiusRight:{type:"number",default:0},borderRadiusBottom:{type:"number",default:0},borderRadiusLeft:{type:"number",default:0},boxShadow:{type:"boolean",default:!1},boxShadowColor:{type:"string",default:"#000000"},boxShadowColorOpacity:{type:"number",default:50},boxShadowBlur:{type:"number",default:5},boxShadowSpread:{type:"number",default:0},boxShadowHorizontal:{type:"number",default:0},boxShadowVertical:{type:"number",default:0},columnsHTMLTag:{type:"string",default:"div"},columnWidth:{type:"string"}},o=n(3),r=n.n(o),i=n(14),c=n(0),p=n.n(c),d=n(5),m=n(6),s=n(15),u=n(17),b=n(7);function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function h(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var w=wp.i18n.__,y=wp.components,f=y.Button,v=y.Dashicon,k=y.PanelBody,T=y.ToggleControl,E=y.RangeControl,x=y.SelectControl,C=wp.blockEditor,S=C.ColorPalette,B=C.InspectorControls,M=C.MediaPlaceholder,O=wp.element,N=O.Fragment,R=O.useState,L=function(e){var t=e.attributes,n=e.setAttributes,a=h(R("layout"),2),l=a[0],o=a[1],r=h(R("desktop"),2),i=r[0],c=r[1],y=h(R("desktop"),2),C=y[0],O=y[1],L=function(){var e;return"desktop"===i&&(e=t.paddingType),"tablet"===i&&(e=t.paddingTypeTablet),"mobile"===i&&(e=t.paddingTypeMobile),e};L=L();var z={top:"paddingTop",right:"paddingRight",bottom:"paddingBottom",left:"paddingLeft"},_={top:"paddingTopTablet",right:"paddingRightTablet",bottom:"paddingBottomTablet",left:"paddingLeftTablet"},P={top:"paddingTopMobile",right:"paddingRightMobile",bottom:"paddingBottomMobile",left:"paddingLeftMobile"},H=function(e){var n;return"top"==e&&("desktop"===i&&(n="linked"===t.paddingType?t.padding:t.paddingTop),"tablet"===i&&(n="linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingTopTablet),"mobile"===i&&(n="linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingTopMobile)),"right"==e&&("desktop"===i&&(n="linked"===t.paddingType?t.padding:t.paddingRight),"tablet"===i&&(n="linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingRightTablet),"mobile"===i&&(n="linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingRightMobile)),"bottom"==e&&("desktop"===i&&(n="linked"===t.paddingType?t.padding:t.paddingBottom),"tablet"===i&&(n="linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingBottomTablet),"mobile"===i&&(n="linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingBottomMobile)),"left"==e&&("desktop"===i&&(n="linked"===t.paddingType?t.padding:t.paddingLeft),"tablet"===i&&(n="linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingLeftTablet),"mobile"===i&&(n="linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingLeftMobile)),n},A=function(){var e;return"desktop"===C&&(e=t.marginType),"tablet"===C&&(e=t.marginTypeTablet),"mobile"===C&&(e=t.marginTypeMobile),e};A=A();var I={top:"marginTop",right:"marginRight",bottom:"marginBottom",left:"marginLeft"},F={top:"marginTopTablet",right:"marginRightTablet",bottom:"marginBottomTablet",left:"marginLeftTablet"},V={top:"marginTopMobile",right:"marginRightMobile",bottom:"marginBottomMobile",left:"marginLeftMobile"},j=function(e){var n;return"top"==e&&("desktop"===C&&(n="linked"===t.marginType?t.margin:t.marginTop),"tablet"===C&&(n="linked"===t.marginTypeTablet?t.marginTablet:t.marginTopTablet),"mobile"===C&&(n="linked"===t.marginTypeMobile?t.marginMobile:t.marginTopMobile)),"right"==e&&("desktop"===C&&(n="linked"===t.marginType?t.margin:t.marginRight),"tablet"===C&&(n="linked"===t.marginTypeTablet?t.marginTablet:t.marginRightTablet),"mobile"===C&&(n="linked"===t.marginTypeMobile?t.marginMobile:t.marginRightMobile)),"bottom"==e&&("desktop"===C&&(n="linked"===t.marginType?t.margin:t.marginBottom),"tablet"===C&&(n="linked"===t.marginTypeTablet?t.marginTablet:t.marginBottomTablet),"mobile"===C&&(n="linked"===t.marginTypeMobile?t.marginMobile:t.marginBottomMobile)),"left"==e&&("desktop"===C&&(n="linked"===t.marginType?t.margin:t.marginLeft),"tablet"===C&&(n="linked"===t.marginTypeTablet?t.marginTablet:t.marginLeftTablet),"mobile"===C&&(n="linked"===t.marginTypeMobile?t.marginMobile:t.marginLeftMobile)),n},G=function(){n({backgroundImageID:"",backgroundImageURL:""})},D={top:"borderTop",right:"borderRight",bottom:"borderBottom",left:"borderLeft"},W=function(e){var n;return"top"==e&&(n="linked"===t.borderType?t.border:t.borderTop),"right"==e&&(n="linked"===t.borderType?t.border:t.borderRight),"bottom"==e&&(n="linked"===t.borderType?t.border:t.borderBottom),"left"==e&&(n="linked"===t.borderType?t.border:t.borderLeft),n},q={top:"borderRadiusTop",right:"borderRadiusRight",bottom:"borderRadiusBottom",left:"borderRadiusLeft"},Z=function(e){var n;return"top"==e&&(n="linked"===t.borderRadiusType?t.borderRadius:t.borderRadiusTop),"right"==e&&(n="linked"===t.borderRadiusType?t.borderRadius:t.borderRadiusRight),"bottom"==e&&(n="linked"===t.borderRadiusType?t.borderRadius:t.borderRadiusBottom),"left"==e&&(n="linked"===t.borderRadiusType?t.borderRadius:t.borderRadiusLeft),n};return wp.element.createElement(B,null,wp.element.createElement(k,{className:"wp-block-themeisle-blocks-advanced-columns-header-panel"},wp.element.createElement(f,{className:p()("header-tab",{"is-selected":"layout"===l}),onClick:function(){return o("layout")}},wp.element.createElement("span",null,wp.element.createElement(v,{icon:"editor-table"}),w("Layout"))),wp.element.createElement(f,{className:p()("header-tab",{"is-selected":"style"===l}),onClick:function(){return o("style")}},wp.element.createElement("span",null,wp.element.createElement(v,{icon:"admin-customizer"}),w("Style"))),wp.element.createElement(f,{className:p()("header-tab",{"is-selected":"advanced"===l}),onClick:function(){return o("advanced")}},wp.element.createElement("span",null,wp.element.createElement(v,{icon:"admin-generic"}),w("Advanced")))),"layout"===l&&wp.element.createElement(N,null,wp.element.createElement(k,{title:w("Spacing")},wp.element.createElement(m.a,{label:"Padding",view:i,changeViewType:c},wp.element.createElement(d.a,{type:L,min:0,max:500,changeType:function(e){"desktop"===i&&n({paddingType:e}),"tablet"===i&&n({paddingTypeTablet:e}),"mobile"===i&&n({paddingTypeMobile:e})},onChange:function(e,a){"desktop"===i&&("linked"===t.paddingType?n({padding:a}):n(g({},z[e],a))),"tablet"===i&&("linked"===t.paddingTypeTablet?n({paddingTablet:a}):n(g({},_[e],a))),"mobile"===i&&("linked"===t.paddingTypeMobile?n({paddingMobile:a}):n(g({},P[e],a)))},options:[{label:w("Top"),type:"top",value:H("top")},{label:w("Right"),type:"right",value:H("right")},{label:w("Bottom"),type:"bottom",value:H("bottom")},{label:w("Left"),type:"left",value:H("left")}]})),wp.element.createElement(m.a,{label:"Margin",view:C,changeViewType:O},wp.element.createElement(d.a,{type:A,min:-500,max:500,changeType:function(e){"desktop"===C&&n({marginType:e}),"tablet"===C&&n({marginTypeTablet:e}),"mobile"===C&&n({marginTypeMobile:e})},onChange:function(e,a){"desktop"===C&&("linked"===t.marginType?n({margin:a}):n(g({},I[e],a))),"tablet"===C&&("linked"===t.marginTypeTablet?n({marginTablet:a}):n(g({},F[e],a))),"mobile"===C&&("linked"===t.marginTypeMobile?n({marginMobile:a}):n(g({},V[e],a)))},options:[{label:w("Top"),type:"top",value:j("top")},{label:w("Right"),type:"right",value:j("right")},{label:w("Bottom"),type:"bottom",value:j("bottom")},{label:w("Left"),type:"left",value:j("left")}]}))))||"style"===l&&wp.element.createElement(N,null,wp.element.createElement(k,{title:w("Background Settings"),className:"wp-block-themeisle-image-container"},wp.element.createElement(s.default,{label:w("Background Type"),backgroundType:t.backgroundType,changeBackgroundType:function(e){n({backgroundType:e})}}),"color"===t.backgroundType&&wp.element.createElement(N,null,wp.element.createElement("p",null,w("Background Color")),wp.element.createElement(S,{label:"Background Color",value:t.backgroundColor,onChange:function(e){n({backgroundColor:e})}}))||"image"===t.backgroundType&&(t.backgroundImageURL?wp.element.createElement(N,null,wp.element.createElement("div",{className:"image-body"},wp.element.createElement("div",{className:"image-container"},wp.element.createElement("div",{className:"image-holder",style:{backgroundImage:"url('".concat(t.backgroundImageURL,"')")}}),wp.element.createElement("div",{className:"image-delete",onClick:G},wp.element.createElement(v,{icon:"trash"}),wp.element.createElement("span",null,w("Remove Image"))))),wp.element.createElement(f,{isDefault:!0,className:"image-delete-button",onClick:G},w("Change or Remove Image")),wp.element.createElement(b.a,{label:"Background Settings"},wp.element.createElement(x,{label:w("Background Attachment"),value:t.backgroundAttachment,options:[{label:"Scroll",value:"scroll"},{label:"Fixed",value:"fixed"},{label:"Local",value:"local"}],onChange:function(e){n({backgroundAttachment:e})}}),wp.element.createElement(x,{label:w("Background Position"),value:t.backgroundPosition,options:[{label:"Default",value:"top left"},{label:"Top Left",value:"top left"},{label:"Top Center",value:"top center"},{label:"Top Right",value:"top right"},{label:"Center Left",value:"center left"},{label:"Center Center",value:"center center"},{label:"Center Right",value:"center right"},{label:"Bottom Left",value:"bottom left"},{label:"Bottom Center",value:"bottom center"},{label:"Bottom Right",value:"bottom right"}],onChange:function(e){n({backgroundPosition:e})}}),wp.element.createElement(x,{label:w("Background Repeat"),value:t.backgroundRepeat,options:[{label:"Repeat",value:"repeat"},{label:"No-repeat",value:"no-repeat"}],onChange:function(e){n({backgroundRepeat:e})}}),wp.element.createElement(x,{label:w("Background Size"),value:t.backgroundSize,options:[{label:"Auto",value:"auto"},{label:"Cover",value:"cover"},{label:"Contain",value:"contain"}],onChange:function(e){n({backgroundSize:e})}}))):wp.element.createElement(M,{icon:"format-image",labels:{title:w("Background Image"),name:w("an image")},value:t.backgroundImageID,onSelect:function(e){n({backgroundImageID:e.id,backgroundImageURL:e.url})},accept:"image/*",allowedTypes:["image"]}))||"gradient"===t.backgroundType&&wp.element.createElement(u.a,{label:"Background Gradient",value:{firstColor:t.backgroundGradientFirstColor,firstLocation:t.backgroundGradientFirstLocation,secondColor:t.backgroundGradientSecondColor,secondLocation:t.backgroundGradientSecondLocation,type:t.backgroundGradientType,angle:t.backgroundGradientAngle,position:t.backgroundGradientPosition},onChange:function(e,t,a,l,o,r,i){n({backgroundGradientFirstColor:e,backgroundGradientFirstLocation:t,backgroundGradientSecondColor:a,backgroundGradientSecondLocation:l,backgroundGradientType:o,backgroundGradientAngle:r,backgroundGradientPosition:i})}})),wp.element.createElement(k,{title:w("Border"),className:"wp-block-themeisle-border-container",initialOpen:!1},wp.element.createElement(d.a,{label:w("Border Width"),type:t.borderType,min:0,max:500,changeType:function(e){n({borderType:e})},onChange:function(e,a){"linked"===t.borderType?n({border:a}):n(g({},D[e],a))},options:[{label:w("Top"),type:"top",value:W("top")},{label:w("Right"),type:"right",value:W("right")},{label:w("Bottom"),type:"bottom",value:W("bottom")},{label:w("Left"),type:"left",value:W("left")}]}),wp.element.createElement(N,null,wp.element.createElement("p",null,w("Border Color")),wp.element.createElement(S,{label:"Border Color",value:t.borderColor,onChange:function(e){n({borderColor:e})}})),wp.element.createElement(d.a,{label:w("Border Radius"),type:t.borderRadiusType,min:0,max:500,changeType:function(e){n({borderRadiusType:e})},onChange:function(e,a){"linked"===t.borderRadiusType?n({borderRadius:a}):n(g({},q[e],a))},options:[{label:w("Top"),type:"top",value:Z("top")},{label:w("Right"),type:"right",value:Z("right")},{label:w("Bottom"),type:"bottom",value:Z("bottom")},{label:w("Left"),type:"left",value:Z("left")}]}),wp.element.createElement(T,{label:"Box Shadow",checked:t.boxShadow,onChange:function(){n({boxShadow:!t.boxShadow})}}),t.boxShadow&&wp.element.createElement(N,null,wp.element.createElement(N,null,wp.element.createElement("p",null,w("Shadow Color")),wp.element.createElement(S,{label:"Shadow Color",value:t.boxShadowColor,onChange:function(e){n({boxShadowColor:e})}})),wp.element.createElement(b.a,{label:"Shadow Properties"},wp.element.createElement(E,{label:w("Opacity"),value:t.boxShadowColorOpacity,onChange:function(e){n({boxShadowColorOpacity:e})},min:0,max:100}),wp.element.createElement(E,{label:w("Blur"),value:t.boxShadowBlur,onChange:function(e){n({boxShadowBlur:e})},min:0,max:100}),wp.element.createElement(E,{label:w("Spread"),value:t.boxShadowSpread,onChange:function(e){n({boxShadowSpread:e})},min:-100,max:100}),wp.element.createElement(E,{label:w("Horizontal"),value:t.boxShadowHorizontal,onChange:function(e){n({boxShadowHorizontal:e})},min:-100,max:100}),wp.element.createElement(E,{label:w("Vertical"),value:t.boxShadowVertical,onChange:function(e){n({boxShadowVertical:e})},min:-100,max:100})))))||"advanced"===l&&wp.element.createElement(k,{title:w("Section Settings")},wp.element.createElement(x,{label:w("HTML Tag"),value:t.columnsHTMLTag,options:[{label:"Default",value:"div"},{label:"div",value:"div"},{label:"section",value:"section"},{label:"header",value:"header"},{label:"footer",value:"footer"},{label:"article",value:"article"},{label:"main",value:"main"}],onChange:function(e){n({columnsHTMLTag:e})}})))};function z(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function _(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function P(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}wp.i18n.__;var H=wp.components.ResizableBox,A=wp.compose.compose,I=wp.data,F=I.withDispatch,V=I.withSelect,j=wp.blockEditor.InnerBlocks,G=wp.element,D=G.Fragment,W=G.useEffect,q=G.useState,Z=wp.viewport.withViewportMatch,U=A(F((function(e){return{updateBlockAttributes:e("core/block-editor").updateBlockAttributes}})),V((function(e,t){var n=t.clientId,a=e("core/block-editor"),l=a.getAdjacentBlockClientId,o=a.getBlock,r=a.getBlockRootClientId,i=o(n),c=l(n),p=o(c),d=r(n);return{adjacentBlockClientId:c,adjacentBlock:p,parentClientId:d,parentBlock:o(d),hasInnerBlocks:!(!i||!i.innerBlocks.length)}})),Z({isLarger:">= large",isLarge:"<= large",isSmall:">= small",isSmaller:"<= small"}))((function(e){var t=e.attributes,n=e.setAttributes,a=e.className,l=e.clientId,o=e.toggleSelection,c=e.updateBlockAttributes,p=e.adjacentBlockClientId,d=e.adjacentBlock,m=e.parentClientId,s=e.parentBlock,u=e.hasInnerBlocks,b=e.isLarger,g=e.isLarge,h=e.isSmall,w=e.isSmaller;W((function(){y()}),[]);var y=function(){if(void 0===t.id||t.id.substr(t.id.length-8)!==l.substr(0,8)){var e="wp-block-themeisle-blocks-advanced-column-".concat(l.substr(0,8));n({id:e})}},f=P(q(0),2),v=f[0],k=f[1],T=P(q(0),2),E=T[0],x=T[1],C=b&&!g&&h&&!w,S=!b&&!g&&h&&!w,B=!(b||g||h||w);void 0===t.columnWidth&&s.innerBlocks.map((function(e,t){if(l===e.clientId){var n=s.attributes.columns,a=s.attributes.layout;c(l,{columnWidth:parseFloat(i.a[n][a][t])})}}));var M=document.getElementById("block-".concat(l));null!==M&&(M.style.flexBasis=C?"".concat(t.columnWidth,"%"):"");var O,N,R,A,I,F,V=t.columnsHTMLTag;(C&&(O={paddingTop:"linked"===t.paddingType?"".concat(t.padding,"px"):"".concat(t.paddingTop,"px"),paddingRight:"linked"===t.paddingType?"".concat(t.padding,"px"):"".concat(t.paddingRight,"px"),paddingBottom:"linked"===t.paddingType?"".concat(t.padding,"px"):"".concat(t.paddingBottom,"px"),paddingLeft:"linked"===t.paddingType?"".concat(t.padding,"px"):"".concat(t.paddingLeft,"px"),marginTop:"linked"===t.marginType?"".concat(t.margin,"px"):"".concat(t.marginTop,"px"),marginRight:"linked"===t.marginType?"".concat(t.margin,"px"):"".concat(t.marginRight,"px"),marginBottom:"linked"===t.marginType?"".concat(t.margin,"px"):"".concat(t.marginBottom,"px"),marginLeft:"linked"===t.marginType?"".concat(t.margin,"px"):"".concat(t.marginLeft,"px")}),S&&(O={paddingTop:"linked"===t.paddingTypeTablet?"".concat(t.paddingTablet,"px"):"".concat(t.paddingTopTablet,"px"),paddingRight:"linked"===t.paddingTypeTablet?"".concat(t.paddingTablet,"px"):"".concat(t.paddingRightTablet,"px"),paddingBottom:"linked"===t.paddingTypeTablet?"".concat(t.paddingTablet,"px"):"".concat(t.paddingBottomTablet,"px"),paddingLeft:"linked"===t.paddingTypeTablet?"".concat(t.paddingTablet,"px"):"".concat(t.paddingLeftTablet,"px"),marginTop:"linked"===t.marginTypeTablet?"".concat(t.marginTablet,"px"):"".concat(t.marginTopTablet,"px"),marginRight:"linked"===t.marginTypeTablet?"".concat(t.marginTablet,"px"):"".concat(t.marginRightTablet,"px"),marginBottom:"linked"===t.marginTypeTablet?"".concat(t.marginTablet,"px"):"".concat(t.marginBottomTablet,"px"),marginLeft:"linked"===t.marginTypeTablet?"".concat(t.marginTablet,"px"):"".concat(t.marginLeftTablet,"px")}),B&&(O={paddingTop:"linked"===t.paddingTypeMobile?"".concat(t.paddingMobile,"px"):"".concat(t.paddingTopMobile,"px"),paddingRight:"linked"===t.paddingTypeMobile?"".concat(t.paddingMobile,"px"):"".concat(t.paddingRightMobile,"px"),paddingBottom:"linked"===t.paddingTypeMobile?"".concat(t.paddingMobile,"px"):"".concat(t.paddingBottomMobile,"px"),paddingLeft:"linked"===t.paddingTypeMobile?"".concat(t.paddingMobile,"px"):"".concat(t.paddingLeftMobile,"px"),marginTop:"linked"===t.marginTypeMobile?"".concat(t.marginMobile,"px"):"".concat(t.marginTopMobile,"px"),marginRight:"linked"===t.marginTypeMobile?"".concat(t.marginMobile,"px"):"".concat(t.marginRightMobile,"px"),marginBottom:"linked"===t.marginTypeMobile?"".concat(t.marginMobile,"px"):"".concat(t.marginBottomMobile,"px"),marginLeft:"linked"===t.marginTypeMobile?"".concat(t.marginMobile,"px"):"".concat(t.marginLeftMobile,"px")}),"color"===t.backgroundType&&(N={background:t.backgroundColor}),"image"===t.backgroundType&&(N={backgroundImage:"url( '".concat(t.backgroundImageURL,"' )"),backgroundAttachment:t.backgroundAttachment,backgroundPosition:t.backgroundPosition,backgroundRepeat:t.backgroundRepeat,backgroundSize:t.backgroundSize}),"gradient"===t.backgroundType)&&(F="linear"===t.backgroundGradientType?"".concat(t.backgroundGradientAngle,"deg"):"at ".concat(t.backgroundGradientPosition),(t.backgroundGradientFirstColor||t.backgroundGradientSecondColor)&&(N={background:"".concat(t.backgroundGradientType,"-gradient( ").concat(F,", ").concat(t.backgroundGradientFirstColor||"rgba( 0, 0, 0, 0 )"," ").concat(t.backgroundGradientFirstLocation,"%, ").concat(t.backgroundGradientSecondColor||"rgba( 0, 0, 0, 0 )"," ").concat(t.backgroundGradientSecondLocation,"% )")}));"linked"===t.borderType&&(R={borderWidth:"".concat(t.border,"px"),borderStyle:"solid",borderColor:t.borderColor}),"unlinked"===t.borderType&&(R={borderTopWidth:"".concat(t.borderTop,"px"),borderRightWidth:"".concat(t.borderRight,"px"),borderBottomWidth:"".concat(t.borderBottom,"px"),borderLeftWidth:"".concat(t.borderLeft,"px"),borderStyle:"solid",borderColor:t.borderColor}),"linked"===t.borderRadiusType&&(A={borderRadius:"".concat(t.borderRadius,"px")}),"unlinked"===t.borderRadiusType&&(A={borderTopLeftRadius:"".concat(t.borderRadiusTop,"px"),borderTopRightRadius:"".concat(t.borderRadiusRight,"px"),borderBottomRightRadius:"".concat(t.borderRadiusBottom,"px"),borderBottomLeftRadius:"".concat(t.borderRadiusLeft,"px")}),!0===t.boxShadow&&(I={boxShadow:"".concat(t.boxShadowHorizontal,"px ").concat(t.boxShadowVertical,"px ").concat(t.boxShadowBlur,"px ").concat(t.boxShadowSpread,"px ").concat(r()(t.boxShadowColor?t.boxShadowColor:"#000000",t.boxShadowColorOpacity))});var G=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?z(Object(n),!0).forEach((function(t){_(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):z(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},O,{},N,{},R,{},A,{},I);return wp.element.createElement(D,null,wp.element.createElement(L,{attributes:t,setAttributes:n}),wp.element.createElement(H,{className:"block-library-spacer__resize-container wp-themeisle-block-advanced-column-resize-container",enable:{right:!!p},handleWrapperClass:"wp-themeisle-block-advanced-column-resize-container-handle",onResizeStart:function(e,n,a,r){var i=document.querySelector("#block-".concat(l," .wp-themeisle-block-advanced-column-resize-container-handle .components-resizable-box__handle")),c=document.createElement("div"),p=document.createElement("div");c.setAttribute("class","resizable-tooltip resizable-tooltip-left"),c.innerHTML="".concat(parseFloat(t.columnWidth).toFixed(0),"%"),i.appendChild(c),p.setAttribute("class","resizable-tooltip resizable-tooltip-right"),p.innerHTML="".concat(parseFloat(d.attributes.columnWidth).toFixed(0),"%"),i.appendChild(p),k(t.columnWidth),x(d.attributes.columnWidth),o(!1)},onResize:function(e,t,a,l){var o=document.getElementById("block-".concat(m)).getBoundingClientRect().width,r=l.width/o*100,i=parseFloat(v)+r,d=E-r,s=document.querySelector(".resizable-tooltip-left"),u=document.querySelector(".resizable-tooltip-right");10<=i&&10<=d&&(s.innerHTML="".concat(i.toFixed(0),"%"),u.innerHTML="".concat(d.toFixed(0),"%"),n({columnWidth:i.toFixed(2)}),c(p,{columnWidth:d.toFixed(2)}))},onResizeStop:function(e,t,n,a){var l=document.querySelector(".resizable-tooltip-left"),r=document.querySelector(".resizable-tooltip-right");l.parentNode.removeChild(l),r.parentNode.removeChild(r),o(!0)}},wp.element.createElement(V,{className:a,id:t.id,style:G},wp.element.createElement(j,{templateLock:!1,renderAppender:!u&&j.ButtonBlockAppender}))))}));function K(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Q(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Y=wp.blockEditor.InnerBlocks,J=function(e){var t,n,a,l,o,i=e.attributes,c=e.className,p=i.columnsHTMLTag;("color"===i.backgroundType&&(t={background:i.backgroundColor}),"image"===i.backgroundType&&(t={backgroundImage:"url( '".concat(i.backgroundImageURL,"' )"),backgroundAttachment:i.backgroundAttachment,backgroundPosition:i.backgroundPosition,backgroundRepeat:i.backgroundRepeat,backgroundSize:i.backgroundSize}),"gradient"===i.backgroundType)&&(o="linear"===i.backgroundGradientType?"".concat(i.backgroundGradientAngle,"deg"):"at ".concat(i.backgroundGradientPosition),t={background:"".concat(i.backgroundGradientType,"-gradient( ").concat(o,", ").concat(i.backgroundGradientFirstColor||"rgba( 0, 0, 0, 0 )"," ").concat(i.backgroundGradientFirstLocation,"%, ").concat(i.backgroundGradientSecondColor||"rgba( 0, 0, 0, 0 )"," ").concat(i.backgroundGradientSecondLocation,"% )")});"linked"===i.borderType&&(n={borderWidth:"".concat(i.border,"px"),borderStyle:"solid",borderColor:i.borderColor}),"unlinked"===i.borderType&&(n={borderTopWidth:"".concat(i.borderTop,"px"),borderRightWidth:"".concat(i.borderRight,"px"),borderBottomWidth:"".concat(i.borderBottom,"px"),borderLeftWidth:"".concat(i.borderLeft,"px"),borderStyle:"solid",borderColor:i.borderColor}),"linked"===i.borderRadiusType&&(a={borderRadius:"".concat(i.borderRadius,"px")}),"unlinked"===i.borderRadiusType&&(a={borderTopLeftRadius:"".concat(i.borderRadiusTop,"px"),borderTopRightRadius:"".concat(i.borderRadiusRight,"px"),borderBottomRightRadius:"".concat(i.borderRadiusBottom,"px"),borderBottomLeftRadius:"".concat(i.borderRadiusLeft,"px")}),!0===i.boxShadow&&(l={boxShadow:"".concat(i.boxShadowHorizontal,"px ").concat(i.boxShadowVertical,"px ").concat(i.boxShadowBlur,"px ").concat(i.boxShadowSpread,"px ").concat(r()(i.boxShadowColor?i.boxShadowColor:"#000000",i.boxShadowColorOpacity))});var d=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?K(Object(n),!0).forEach((function(t){Q(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):K(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t,{},n,{},a,{},l);return wp.element.createElement(p,{className:c,id:i.id,style:d},wp.element.createElement(Y.Content,null))},X=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/advanced-column",{title:X("Section Column"),description:X("A single column within a Section block."),parent:["themeisle-blocks/advanced-columns"],icon:a.e,category:"themeisle-blocks",attributes:l,supports:{inserter:!1,reusable:!1,html:!1},edit:U,save:J})},function(e,t,n){"use strict";n.r(t);var a=n(2),l=wp.i18n.__,o=wp.blockEditor.InnerBlocks,r=[["core/image",{align:"center"}],["themeisle-blocks/advanced-heading",{content:l("John Doe"),align:"center",fontSize:24,tag:"h3",marginTop:25,marginBottom:10,marginTopTablet:25,marginTopMobile:25}],["themeisle-blocks/advanced-heading",{content:l("Jedi Master"),align:"center",fontSize:14,tag:"h6",marginTop:10,marginBottom:10}],["themeisle-blocks/advanced-heading",{content:l('"What is the point of being alive if you don’t at least try to do something remarkable?"'),align:"center",color:"#999999",tag:"p",fontSize:14,marginTop:10,marginBottom:20}]],i=function(e){var t=e.className;return wp.element.createElement("div",{className:t},wp.element.createElement(o,{template:r}))},c=(wp.i18n.__,wp.blockEditor.InnerBlocks),p=function(e){var t=e.className;return wp.element.createElement("div",{className:t},wp.element.createElement(c.Content,null))},d=wp.i18n.__,m=wp.blocks.registerBlockType;wp.blockEditor.InnerBlocks;m("themeisle-blocks/testimonials",{title:d("Testimonials"),description:d("Display kudos from customers and clients and display them on your website."),icon:a.r,category:"themeisle-blocks",keywords:["testimonials","quotes","business"],edit:i,save:p})},function(e,t,n){"use strict";n.r(t);var a=n(2),l=wp.i18n.__,o=wp.blockEditor.InnerBlocks,r=[["themeisle-blocks/font-awesome-icons",{fontSize:62,prefix:"fab",icon:"angellist"}],["themeisle-blocks/advanced-heading",{content:l("Basic"),align:"center",tag:"h4",marginBottom:20}],["themeisle-blocks/advanced-heading",{content:l("Lorem ipsum dolor sit amet elit do, consectetur adipiscing, sed eiusmod tempor incididunt ut labore et dolore magna aliqua."),align:"center",color:"#999999",tag:"p",fontSize:14,marginBottom:20}],["themeisle-blocks/button-group",{align:"center",buttons:1,data:[{text:l("Know More"),newTab:!1,color:"#ffffff",background:"#32373c",hoverColor:"#ffffff",hoverBackground:"#444a50",borderSize:0,borderRadius:3,boxShadow:!1,boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:1,boxShadowHorizontal:0,boxShadowVertical:0,hoverBoxShadowColorOpacity:50,hoverBoxShadowBlur:5,hoverBoxShadowSpread:1,hoverBoxShadowHorizontal:0,hoverBoxShadowVertical:0,iconType:"none",paddingTopBottom:12,paddingLeftRight:24}]}]],i=function(e){var t=e.className;return wp.element.createElement("div",{className:t},wp.element.createElement(o,{template:r}))},c=(wp.i18n.__,wp.blockEditor.InnerBlocks),p=function(e){var t=e.className;return wp.element.createElement("div",{className:t},wp.element.createElement(c.Content,null))},d=wp.i18n.__,m=wp.blocks.registerBlockType;wp.blockEditor.InnerBlocks;m("themeisle-blocks/service",{title:d("Service"),description:d("Use this Service block to showcase services your website offers."),icon:a.p,category:"themeisle-blocks",keywords:["services","icon","features"],edit:i,save:p})},function(e,t,n){"use strict";n.r(t);var a=n(2),l=wp.i18n.__,o=wp.blockEditor.InnerBlocks,r=[["themeisle-blocks/advanced-heading",{content:l("Basic"),align:"center",tag:"h5"}],["themeisle-blocks/advanced-heading",{content:l("$9.99"),align:"center",tag:"h3",fontSize:36,fontFamily:"Roboto Slab",fontVariant:"normal"}],["themeisle-blocks/advanced-heading",{content:l("Per Month"),align:"center",tag:"p",fontSize:12,marginBottom:0}],["core/separator",{}],["themeisle-blocks/advanced-heading",{content:l("First Feature"),align:"center",tag:"p",fontSize:12,marginBottom:0}],["core/separator",{}],["themeisle-blocks/advanced-heading",{content:l("Second Feature"),align:"center",tag:"p",fontSize:12,marginBottom:0}],["core/separator",{}],["themeisle-blocks/advanced-heading",{content:l("Last Feature"),align:"center",tag:"p",fontSize:12,marginBottom:0}],["core/separator",{}],["themeisle-blocks/button-group",{align:"center",buttons:1,data:[{text:l("Buy Now"),newTab:!1,color:"#ffffff",background:"#32373c",hoverColor:"#ffffff",hoverBackground:"#444a50",borderSize:0,borderRadius:3,boxShadow:!1,boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:1,boxShadowHorizontal:0,boxShadowVertical:0,hoverBoxShadowColorOpacity:50,hoverBoxShadowBlur:5,hoverBoxShadowSpread:1,hoverBoxShadowHorizontal:0,hoverBoxShadowVertical:0,iconType:"none",paddingTopBottom:12,paddingLeftRight:24}]}]],i=function(e){var t=e.className;return wp.element.createElement("div",{className:t},wp.element.createElement(o,{template:r}))},c=(wp.i18n.__,wp.blockEditor.InnerBlocks),p=function(e){var t=e.className;return wp.element.createElement("div",{className:t},wp.element.createElement(c.Content,null))},d=wp.i18n.__,m=wp.blocks.registerBlockType;wp.blockEditor.InnerBlocks;m("themeisle-blocks/pricing",{title:d("Pricing"),description:d("Pricing tables are a critical part in showcasing your services, prices and overall offerings."),icon:a.o,category:"themeisle-blocks",keywords:["pricing","table","money"],edit:i,save:p})},,function(e,t,n){n(37),n(100),n(98),n(93),n(92),n(94),n(90),n(97),n(18),n(95),n(31),n(30),n(15),n(24),n(25),n(8),n(79),n(96),n(91),n(86),n(34),n(33),e.exports=n(32)},function(e,t,n){n.p=window.themeisleGutenberg.packagePath},,,function(e,t){function n(e,t,n,a,l,o,r){try{var i=e[o](r),c=i.value}catch(e){return void n(e)}i.done?t(c):Promise.resolve(c).then(a,l)}function a(e){return function(){var t=this,a=arguments;return new Promise((function(l,o){var r=e.apply(t,a);function i(e){n(r,l,o,i,c,"next",e)}function c(e){n(r,l,o,i,c,"throw",e)}i(void 0)}))}}var l=lodash.debounce,o=wp.apiFetch,r=wp.data,i=r.select,c=r.subscribe,p=l(a(regeneratorRuntime.mark((function e(){var t,n,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=i("core/editor"),n=t.getCurrentPostId,a=n(),e.next=4,o({path:"themeisle-gutenberg-blocks/v1/save_post_meta/".concat(a),method:"POST"});case 4:case"end":return e.stop()}}),e)}))),1e3),d={};c((function(){var e=i("core/editor"),t=e.isCurrentPostPublished,n=e.isSavingPost,a=e.isPublishingPost,l=e.isAutosavingPost,r=e.__experimentalGetReusableBlocks,c=e.__experimentalIsSavingReusableBlock,m=l(),s=a(),u=n(),b=r(),g=t();b.map((function(e){if(e){var t=(n=e.id,c(n));t&&!e.isTemporary&&(d[e.id]={id:e.id,isSaving:!0}),t||e.isTemporary||!d[e.id]||e.id===d[e.id].id&&!t&&d[e.id].isSaving&&(d[e.id].isSaving=!1,o({path:"themeisle-gutenberg-blocks/v1/save_block_meta/".concat(e.id),method:"POST"}))}var n})),!(s||g&&u)||m||status||p()}))},,function(e,t,n){},,function(e,t,n){},function(e,t){var n=wp.i18n.__,a=wp.richText,l=a.registerFormatType,o=a.toggleFormat,r=wp.blockEditor,i=r.RichTextShortcut,c=r.RichTextToolbarButton,p=wp.element.Fragment,d="themeisle-blocks/mark";l(d,{name:d,title:n("Highlight"),tagName:"mark",className:null,edit:function(e){var t=e.isActive,a=e.value,l=e.onChange,r=function(){return l(o(a,{type:d}))};return wp.element.createElement(p,null,wp.element.createElement(i,{type:"primary",character:"m",onUse:r}),wp.element.createElement(c,{icon:"admin-customizer",title:n("Highlight"),onClick:r,isActive:t,shortcutType:"access",shortcutCharacter:"m"}))}})},,,,,,,,function(e,t,n){},,function(e,t,n){},,function(e,t,n){},,,,,,function(e,t,n){},function(e,t,n){},,,,function(e,t,n){},,,,,,,,,,,function(e,t,n){"use strict";n.r(t);n(80),n(81),n(30),n(31)},function(e,t,n){},,function(e,t,n){},,function(e,t,n){},,function(e,t,n){"use strict";n.r(t);n(34),n(33),n(32)},,,,function(e,t,n){"use strict";n.r(t);n(57),n(58);var a=n(2),l={id:{type:"string"},style:{type:"string",default:"standard"},location:{type:"string",default:"La Sagrada Familia, Barcelona, Spain"},latitude:{type:"string"},longitude:{type:"string"},type:{type:"string",default:"roadmap"},zoom:{type:"number",default:15},height:{type:"number",default:400},draggable:{type:"boolean",default:!0},mapTypeControl:{type:"boolean",default:!0},zoomControl:{type:"boolean",default:!0},fullscreenControl:{type:"boolean",default:!0},streetViewControl:{type:"boolean",default:!0},markers:{type:"array",default:[]}},o=n(0),r=n.n(o),i=n(13),c=n.n(i),p=wp.i18n.__,d=wp.components,m=d.Button,s=d.ExternalLink,u=d.Placeholder,b=d.Spinner,g=d.TextControl,h=function(e){var t=e.className,n=e.api,a=e.isAPILoaded,l=e.isAPISaved,o=e.isSaving,r=e.changeAPI,i=e.saveAPIKey;return a?l?void 0:wp.element.createElement(u,{icon:"admin-site",label:p("Google Maps"),instructions:p("A Google Maps API key is required, please enter one below."),className:t},wp.element.createElement(g,{type:"text",placeholder:p("Google Maps API Key"),value:n,className:"components-placeholder__input",onChange:r}),wp.element.createElement(m,{isLarge:!0,type:"submit",onClick:i,isBusy:o,disabled:""===n},p("Save API Key")),wp.element.createElement("div",{className:"components-placeholder__instructions"},wp.element.createElement("p",{className:"components-placeholder__text"},p("Need an API key? Get one "),wp.element.createElement(s,{href:"https://developers.google.com/maps/documentation/javascript/get-api-key"},p("here."))),wp.element.createElement("p",{className:"components-placeholder__text"},p("You need to activate Maps and Places API.")))):wp.element.createElement(u,null,wp.element.createElement(b,null),p("Loading…"))},w=n(11),y=wp.i18n.__,f=wp.components,v=f.BaseControl,k=f.Button,T=f.ExternalLink,E=f.IconButton,x=f.SelectControl,C=f.TextControl,S=f.TextareaControl,B=wp.element.useRef,M=function(e){var t=e.marker,n=e.isOpen,a=e.isPlaceAPIAvailable,l=e.openMarker,o=e.removeMarker,i=e.changeMarkerProp,c=B(null);return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-google-map-marker"},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-google-map-marker-title-area"},wp.element.createElement(k,{className:"wp-block-themeisle-blocks-google-map-marker-title",onClick:function(){return l(t.id)}},t.title||y("Custom Marker")),wp.element.createElement(E,{icon:"no-alt",label:y("Remove Marker"),className:"wp-block-themeisle-blocks-google-map-marker-remove",onClick:function(){return o(t.id)}})),wp.element.createElement("div",{className:r()("wp-block-themeisle-blocks-google-map-marker-control-area",{opened:t.id===n})},wp.element.createElement(v,{label:y("Location"),id:"themeisle-location-search-".concat(t.id)},wp.element.createElement("input",{type:"text",id:"themeisle-location-search-".concat(t.id),placeholder:y("Enter a location…"),value:t.location,className:"wp-block-themeisle-blocks-google-map-search",ref:c,onFocus:function(){var e=document.getElementsByClassName("pac-container");Object.keys(e).forEach((function(t){return e[t].remove()}));var n=new google.maps.places.SearchBox(c.current);n.addListener("places_changed",(function(){var e=n.getPlaces();e&&0<e.length&&e.forEach((function(e){var n=e.formatted_address||e.name,a=e.geometry.location.lat(),l=e.geometry.location.lng();i(t.id,"location",n),i(t.id,"latitude",a),i(t.id,"longitude",l)}))}))},onChange:function(e){return i(t.id,"location",e.target.value)},disabled:!a}),!a&&wp.element.createElement("p",null,y("To enable locations earch, please ensure Places API is activated in the Google Developers Console.")+" ",wp.element.createElement(T,{href:"https://developers.google.com/places/web-service/intro"},y("More info.")))),wp.element.createElement(C,{label:y("Latitude"),type:"text",value:t.latitude,onChange:function(e){return i(t.id,"latitude",e)}}),wp.element.createElement(C,{label:y("Longitude"),type:"text",value:t.longitude,onChange:function(e){return i(t.id,"longitude",e)}}),wp.element.createElement(x,{label:y("Map Icon"),value:t.icon||"https://maps.google.com/mapfiles/ms/icons/red-dot.png",options:[{label:y("Red"),value:"https://maps.google.com/mapfiles/ms/icons/red-dot.png"},{label:y("Blue"),value:"https://maps.google.com/mapfiles/ms/icons/blue-dot.png"},{label:y("Yellow"),value:"https://maps.google.com/mapfiles/ms/icons/yellow-dot.png"},{label:y("Green"),value:"https://maps.google.com/mapfiles/ms/icons/green-dot.png"},{label:y("Orange"),value:"https://maps.google.com/mapfiles/ms/icons/orange-dot.png"}],onChange:function(e){return i(t.id,"icon",e)}}),wp.element.createElement(C,{label:y("Title"),type:"text",value:t.title,onChange:function(e){return i(t.id,"title",e)}}),wp.element.createElement(S,{label:y("Description"),type:"text",value:t.description,onChange:function(e){return i(t.id,"description",e)}})))};function O(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var N=wp.i18n.__,R=wp.components.Button,L=wp.element,z=L.Fragment,_=L.useEffect,P=L.useState,H=function(e){var t=e.initialOpen,n=e.markers,a=e.isPlaceAPIAvailable,l=e.addMarker,o=e.removeMarker,r=e.changeMarkerProp;_((function(){!1!==t&&p(t)}),[t]);var i=O(P(null),2),c=i[0],p=i[1],d=function(e){c===e&&(e=null),p(e)};return wp.element.createElement(z,null,wp.element.createElement("div",{className:"wp-block-themeisle-blocks-google-map-marker-group"},n.map((function(e){return wp.element.createElement(M,{marker:e,isOpen:c,isPlaceAPIAvailable:a,openMarker:d,removeMarker:o,changeMarkerProp:r})}))),wp.element.createElement(R,{isDefault:!0,isLarge:!0,className:"wp-block-themeisle-blocks-google-map-marker-add",onClick:l},N("Add Marker")))},A=wp.i18n.__,I=wp.components,F=I.BaseControl,V=I.Button,j=I.ExternalLink,G=I.PanelBody,D=I.RangeControl,W=I.SelectControl,q=I.TextControl,Z=I.ToggleControl,U=wp.blockEditor.InspectorControls,K=wp.element.useRef,Q=function(e){var t=e.attributes,n=e.setAttributes,a=e.map,l=e.changeStyle,o=e.isPlaceAPIAvailable,r=e.isMarkerOpen,i=e.setMarkerOpen,c=e.removeMarker,p=e.changeMarkerProp,d=e.addMarkerManual,m=e.api,s=e.isSaving,u=e.changeAPI,b=e.saveAPIKey,g=K(null);return wp.element.createElement(U,null,wp.element.createElement(G,{title:A("Styles"),initialOpen:!1},wp.element.createElement(w.b,{value:t.style,options:[{label:A("Standard"),value:"standard",image:themeisleGutenberg.assetsPath+"/icons/map-standard.png"},{label:A("Silver"),value:"silver",image:themeisleGutenberg.assetsPath+"/icons/map-silver.png"},{label:A("Retro"),value:"retro",image:themeisleGutenberg.assetsPath+"/icons/map-retro.png"},{label:A("Dark"),value:"dark",image:themeisleGutenberg.assetsPath+"/icons/map-dark.png"},{label:A("Night"),value:"night",image:themeisleGutenberg.assetsPath+"/icons/map-night.png"},{label:A("Aubergine"),value:"aubergine",image:themeisleGutenberg.assetsPath+"/icons/map-aubergine.png"}],onChange:l})),wp.element.createElement(G,{title:A("Location")},wp.element.createElement(F,{label:A("Location"),id:"wp-block-themeisle-blocks-google-map-search"},wp.element.createElement("input",{type:"text",id:"wp-block-themeisle-blocks-google-map-search",placeholder:A("Enter a location…"),value:t.location,className:"wp-block-themeisle-blocks-google-map-search",ref:g,onFocus:function(){var e=document.getElementsByClassName("pac-container");Object.keys(e).forEach((function(t){return e[t].remove()}));var t=new google.maps.places.SearchBox(g.current);t.addListener("places_changed",(function(){var e=t.getPlaces();e&&0<e.length&&e.forEach((function(e){var t=e.geometry.location.lat(),l=e.geometry.location.lng(),o=new google.maps.LatLng(t,l);a.setCenter(o),n({location:e.formatted_address||e.name,latitude:t.toString(),longitude:l.toString()})}))}))},onChange:function(e){n({location:e.target.value})},disabled:!o}),!o&&wp.element.createElement("p",null,A("To enable locations earch, please ensure Places API is activated in the Google Developers Console.")+" ",wp.element.createElement(j,{href:"https://developers.google.com/places/web-service/intro"},A("More info.")))),wp.element.createElement(q,{label:A("Latitude"),type:"text",placeholder:A("Enter latitude…"),value:t.latitude,onChange:function(e){n({latitude:e.toString()});var l=Number(e),o=t.longitude,r=new google.maps.LatLng(l,o);a.setCenter(r)}}),wp.element.createElement(q,{label:A("Longitude"),type:"text",placeholder:A("Enter longitude"),value:t.longitude,onChange:function(e){n({longitude:e.toString()});var l=t.latitude,o=Number(e),r=new google.maps.LatLng(l,o);a.setCenter(r)}})),wp.element.createElement(G,{title:A("Positioning & Zooming"),initialOpen:!1},wp.element.createElement(W,{label:A("Map Type"),value:t.type,options:[{label:A("Road Map"),value:"roadmap"},{label:A("Satellite View"),value:"satellite"},{label:A("Hybrid"),value:"hybrid"},{label:A("Terrain"),value:"terrain"}],onChange:function(e){n({type:e}),a.setMapTypeId(google.maps.MapTypeId[e.toUpperCase()])}}),wp.element.createElement(D,{label:A("Map Zoom Level"),value:t.zoom,onChange:function(e){n({zoom:e}),a.setZoom(e)},min:0,max:20}),wp.element.createElement(D,{label:A("Map Height"),value:t.height,onChange:function(e){n({height:e})},min:100,max:1400})),wp.element.createElement(G,{title:A("Controls"),initialOpen:!1},wp.element.createElement(F,null,A("The following changes will not affect block preview during the editing process. You can click outside the block to see the changes take effect.")),wp.element.createElement(Z,{label:"Draggable Map",checked:t.draggable,onChange:function(){n({draggable:!t.draggable})}}),wp.element.createElement(Z,{label:"Map Type Control",checked:t.mapTypeControl,onChange:function(){n({mapTypeControl:!t.mapTypeControl})}}),wp.element.createElement(Z,{label:"Zoom Control",checked:t.zoomControl,onChange:function(){n({zoomControl:!t.zoomControl})}}),wp.element.createElement(Z,{label:"Full Screen Control",checked:t.fullscreenControl,onChange:function(){n({fullscreenControl:!t.fullscreenControl})}}),wp.element.createElement(Z,{label:"Streen View Control",checked:t.streetViewControl,onChange:function(){n({streetViewControl:!t.streetViewControl})}})),wp.element.createElement(G,{title:A("Markers"),initialOpen:!1,opened:!1!==r||void 0,onToggle:function(){!1!==r&&i(!0)}},wp.element.createElement(H,{markers:t.markers,removeMarker:c,changeMarkerProp:p,addMarker:d,isPlaceAPIAvailable:o,initialOpen:r})),wp.element.createElement(G,{title:A("Global Settings"),initialOpen:!1},wp.element.createElement(q,{label:A("Google Maps API Key"),type:"text",placeholder:A("Google Maps API Key"),value:m,className:"components-placeholder__input",onChange:u,help:A("Changing the API key effects all Google Map Embed blocks. You will have to refresh the page after changing your API keys.")}),wp.element.createElement(V,{isLarge:!0,type:"submit",onClick:b,isBusy:s},A("Save API Key"))))};function Y(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var J=wp.i18n.__,X=wp.components,$=X.BaseControl,ee=X.Button,te=X.ButtonGroup,ne=X.Modal,ae=X.SelectControl,le=X.TextControl,oe=X.TextareaControl,re=wp.element,ie=re.useEffect,ce=re.useRef,pe=re.useState,de=re.Fragment,me=function(e){var t=e.marker,n=e.isAdvanced,a=e.isPlaceAPIAvailable,l=e.addMarker,o=e.close;ie((function(){p(t.id),s(t.location),g(t.title),y(t.icon),k(t.description),x(t.latitude),B(t.longitude)}),[t]);var r=ce(null),i=Y(pe(t.id),2),c=i[0],p=i[1],d=Y(pe(t.location),2),m=d[0],s=d[1],u=Y(pe(t.title),2),b=u[0],g=u[1],h=Y(pe(t.icon),2),w=h[0],y=h[1],f=Y(pe(t.description),2),v=f[0],k=f[1],T=Y(pe(t.latitude),2),E=T[0],x=T[1],C=Y(pe(t.longitude),2),S=C[0],B=C[1];return wp.element.createElement(ne,{title:J("Add Marker"),onRequestClose:o,shouldCloseOnClickOutside:!1},n&&wp.element.createElement(de,null,wp.element.createElement($,{label:J("Location"),id:"themeisle-location-search-".concat(t.id)},wp.element.createElement("input",{type:"text",id:"themeisle-location-search-".concat(c),placeholder:J("Enter a location…"),value:m,className:"wp-block-themeisle-blocks-google-map-search",ref:r,onFocus:function(){var e=document.getElementsByClassName("pac-container");Object.keys(e).forEach((function(t){return e[t].remove()}));var t=new google.maps.places.SearchBox(r.current);t.addListener("places_changed",(function(){var e=t.getPlaces();e&&0<e.length&&e.forEach((function(e){var t=e.formatted_address||e.name,n=e.geometry.location.lat(),a=e.geometry.location.lng();s(t),x(n),B(a)}))}))},onChange:function(e){return s(e.target.value)},disabled:!a})),wp.element.createElement(le,{label:J("Latitude"),type:"text",value:E,onChange:x}),wp.element.createElement(le,{label:J("Longitude"),type:"text",value:S,onChange:B})),wp.element.createElement(le,{label:J("Title"),type:"text",value:b,onChange:g}),wp.element.createElement(oe,{label:J("Description"),type:"text",value:v,onChange:k}),wp.element.createElement(ae,{label:J("Map Icon"),value:w||"https://maps.google.com/mapfiles/ms/icons/red-dot.png",options:[{label:J("Red"),value:"https://maps.google.com/mapfiles/ms/icons/red-dot.png"},{label:J("Blue"),value:"https://maps.google.com/mapfiles/ms/icons/blue-dot.png"},{label:J("Yellow"),value:"https://maps.google.com/mapfiles/ms/icons/yellow-dot.png"},{label:J("Green"),value:"https://maps.google.com/mapfiles/ms/icons/green-dot.png"},{label:J("Orange"),value:"https://maps.google.com/mapfiles/ms/icons/orange-dot.png"}],onChange:y}),wp.element.createElement(te,null,wp.element.createElement(ee,{isLarge:!0,isPrimary:!0,onClick:function(){return l(m,b,w,v,E,S)}},J("Add")),wp.element.createElement(ee,{isLarge:!0,isDefault:!0,onClick:o},J("Cancel"))))},se=wp.i18n.__,ue=wp.components,be=ue.Button,ge=(ue.Dashicon,wp.element),he=ge.Fragment,we=ge.useEffect,ye=function(e){var t=e.attributes,n=e.className,a=e.initMap,l=e.displayMap,o=e.isMapLoaded,i=e.selectMarker,c=e.isSelectingMarker;return we((function(){l&&a()}),[l]),wp.element.createElement(he,null,wp.element.createElement("div",{id:t.id,className:r()(n,{"is-selecting-marker":c}),style:{height:t.height+"px"}}),o&&wp.element.createElement(be,{className:"wp-block-themeisle-blocks-google-map-marker-button",title:se("Add Button"),onClick:i},wp.element.createElement("span",{className:"dashicons dashicons-sticky"})))},fe={standard:[],silver:[{elementType:"geometry",stylers:[{color:"#f5f5f5"}]},{elementType:"labels.icon",stylers:[{visibility:"off"}]},{elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{elementType:"labels.text.stroke",stylers:[{color:"#f5f5f5"}]},{featureType:"administrative.land_parcel",elementType:"labels.text.fill",stylers:[{color:"#bdbdbd"}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#eeeeee"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"poi.park",elementType:"geometry",stylers:[{color:"#e5e5e5"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#ffffff"}]},{featureType:"road.arterial",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#dadada"}]},{featureType:"road.highway",elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{featureType:"road.local",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]},{featureType:"transit.line",elementType:"geometry",stylers:[{color:"#e5e5e5"}]},{featureType:"transit.station",elementType:"geometry",stylers:[{color:"#eeeeee"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#c9c9c9"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]}],retro:[{elementType:"geometry",stylers:[{color:"#ebe3cd"}]},{elementType:"labels.text.fill",stylers:[{color:"#523735"}]},{elementType:"labels.text.stroke",stylers:[{color:"#f5f1e6"}]},{featureType:"administrative",elementType:"geometry.stroke",stylers:[{color:"#c9b2a6"}]},{featureType:"administrative.land_parcel",elementType:"geometry.stroke",stylers:[{color:"#dcd2be"}]},{featureType:"administrative.land_parcel",elementType:"labels.text.fill",stylers:[{color:"#ae9e90"}]},{featureType:"landscape.natural",elementType:"geometry",stylers:[{color:"#dfd2ae"}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#dfd2ae"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#93817c"}]},{featureType:"poi.park",elementType:"geometry.fill",stylers:[{color:"#a5b076"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#447530"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#f5f1e6"}]},{featureType:"road.arterial",elementType:"geometry",stylers:[{color:"#fdfcf8"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#f8c967"}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{color:"#e9bc62"}]},{featureType:"road.highway.controlled_access",elementType:"geometry",stylers:[{color:"#e98d58"}]},{featureType:"road.highway.controlled_access",elementType:"geometry.stroke",stylers:[{color:"#db8555"}]},{featureType:"road.local",elementType:"labels.text.fill",stylers:[{color:"#806b63"}]},{featureType:"transit.line",elementType:"geometry",stylers:[{color:"#dfd2ae"}]},{featureType:"transit.line",elementType:"labels.text.fill",stylers:[{color:"#8f7d77"}]},{featureType:"transit.line",elementType:"labels.text.stroke",stylers:[{color:"#ebe3cd"}]},{featureType:"transit.station",elementType:"geometry",stylers:[{color:"#dfd2ae"}]},{featureType:"water",elementType:"geometry.fill",stylers:[{color:"#b9d3c2"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#92998d"}]}],dark:[{elementType:"geometry",stylers:[{color:"#212121"}]},{elementType:"labels.icon",stylers:[{visibility:"off"}]},{elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{elementType:"labels.text.stroke",stylers:[{color:"#212121"}]},{featureType:"administrative",elementType:"geometry",stylers:[{color:"#757575"}]},{featureType:"administrative.country",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]},{featureType:"administrative.land_parcel",stylers:[{visibility:"off"}]},{featureType:"administrative.locality",elementType:"labels.text.fill",stylers:[{color:"#bdbdbd"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"poi.park",elementType:"geometry",stylers:[{color:"#181818"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{featureType:"poi.park",elementType:"labels.text.stroke",stylers:[{color:"#1b1b1b"}]},{featureType:"road",elementType:"geometry.fill",stylers:[{color:"#2c2c2c"}]},{featureType:"road",elementType:"labels.text.fill",stylers:[{color:"#8a8a8a"}]},{featureType:"road.arterial",elementType:"geometry",stylers:[{color:"#373737"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#3c3c3c"}]},{featureType:"road.highway.controlled_access",elementType:"geometry",stylers:[{color:"#4e4e4e"}]},{featureType:"road.local",elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{featureType:"transit",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#000000"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#3d3d3d"}]}],night:[{elementType:"geometry",stylers:[{color:"#242f3e"}]},{elementType:"labels.text.fill",stylers:[{color:"#746855"}]},{elementType:"labels.text.stroke",stylers:[{color:"#242f3e"}]},{featureType:"administrative.locality",elementType:"labels.text.fill",stylers:[{color:"#d59563"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#d59563"}]},{featureType:"poi.park",elementType:"geometry",stylers:[{color:"#263c3f"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#6b9a76"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#38414e"}]},{featureType:"road",elementType:"geometry.stroke",stylers:[{color:"#212a37"}]},{featureType:"road",elementType:"labels.text.fill",stylers:[{color:"#9ca5b3"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#746855"}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{color:"#1f2835"}]},{featureType:"road.highway",elementType:"labels.text.fill",stylers:[{color:"#f3d19c"}]},{featureType:"transit",elementType:"geometry",stylers:[{color:"#2f3948"}]},{featureType:"transit.station",elementType:"labels.text.fill",stylers:[{color:"#d59563"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#17263c"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#515c6d"}]},{featureType:"water",elementType:"labels.text.stroke",stylers:[{color:"#17263c"}]}],aubergine:[{elementType:"geometry",stylers:[{color:"#1d2c4d"}]},{elementType:"labels.text.fill",stylers:[{color:"#8ec3b9"}]},{elementType:"labels.text.stroke",stylers:[{color:"#1a3646"}]},{featureType:"administrative.country",elementType:"geometry.stroke",stylers:[{color:"#4b6878"}]},{featureType:"administrative.land_parcel",elementType:"labels.text.fill",stylers:[{color:"#64779e"}]},{featureType:"administrative.province",elementType:"geometry.stroke",stylers:[{color:"#4b6878"}]},{featureType:"landscape.man_made",elementType:"geometry.stroke",stylers:[{color:"#334e87"}]},{featureType:"landscape.natural",elementType:"geometry",stylers:[{color:"#023e58"}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#283d6a"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#6f9ba5"}]},{featureType:"poi",elementType:"labels.text.stroke",stylers:[{color:"#1d2c4d"}]},{featureType:"poi.park",elementType:"geometry.fill",stylers:[{color:"#023e58"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#3C7680"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#304a7d"}]},{featureType:"road",elementType:"labels.text.fill",stylers:[{color:"#98a5be"}]},{featureType:"road",elementType:"labels.text.stroke",stylers:[{color:"#1d2c4d"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#2c6675"}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{color:"#255763"}]},{featureType:"road.highway",elementType:"labels.text.fill",stylers:[{color:"#b0d5ce"}]},{featureType:"road.highway",elementType:"labels.text.stroke",stylers:[{color:"#023e58"}]},{featureType:"transit",elementType:"labels.text.fill",stylers:[{color:"#98a5be"}]},{featureType:"transit",elementType:"labels.text.stroke",stylers:[{color:"#1d2c4d"}]},{featureType:"transit.line",elementType:"geometry.fill",stylers:[{color:"#283d6a"}]},{featureType:"transit.station",elementType:"geometry",stylers:[{color:"#3a4762"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#0e1626"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#4e6d70"}]}]};function ve(e,t,n,a,l,o,r){try{var i=e[o](r),c=i.value}catch(e){return void n(e)}i.done?t(c):Promise.resolve(c).then(a,l)}function ke(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function Te(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var Ee=wp.i18n.__,xe=wp.components.ResizableBox,Ce=wp.element,Se=Ce.Fragment,Be=Ce.useEffect,Me=Ce.useRef,Oe=Ce.useState,Ne=function(e){var t=e.attributes,n=e.setAttributes,a=e.className,l=e.clientId,o=e.isSelected,i=e.toggleSelection;Be((function(){ee(),window.isMapLoaded=window.isMapLoaded||!1,window["removeMarker_".concat(l.substr(0,8))]=oe,m.current=document.createElement("script"),m.current.type="text/javascript",m.current.async=!0,m.current.defer=!0,m.current.id="themeisle-google-map-api-loading"}),[]),Be((function(){!1!==x&&void 0!==window.google&&s.current.setOptions({mapTypeControl:!!o||t.mapTypeControl,zoomControl:!!o||t.zoomControl,fullscreenControl:!!o||t.fullscreenControl,streetViewControl:!!o||t.streetViewControl})}),[o]),Be((function(){b.current=Te(t.markers)}),[t.markers]);var p=Me([]),d=Me(null),m=Me(null),s=Me(null),u=Me(null),b=Me(Te(t.markers)),g=ke(Oe(""),2),y=g[0],f=g[1],v=ke(Oe(!1),2),k=v[0],T=v[1],E=ke(Oe(!1),2),x=E[0],C=E[1],S=ke(Oe(!1),2),B=S[0],M=S[1],O=ke(Oe(!1),2),N=O[0],R=O[1],L=ke(Oe(!0),2),z=L[0],_=L[1],P=ke(Oe(!1),2),H=P[0],A=P[1],I=ke(Oe(!1),2),F=I[0],V=I[1],j=ke(Oe(!1),2),G=j[0],D=j[1],W=ke(Oe(!1),2),q=W[0],Z=W[1],U=ke(Oe(!1),2),K=U[0],Y=U[1],J=ke(Oe({}),2),X=J[0],$=J[1],ee=function(){var e,a=(e=regeneratorRuntime.mark((function e(){var a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0!==t.id&&t.id.substr(t.id.length-8)===l.substr(0,8)){e.next=4;break}return a="wp-block-themeisle-blocks-google-map-".concat(l.substr(0,8)),e.next=4,n({id:a});case 4:return e.next=6,wp.api.loadPromise.then((function(){d.current=new wp.api.models.Settings}));case 6:!1===Boolean(themeisleGutenberg.mapsAPI)?k||d.current.fetch().then((function(e){f(e.themeisle_google_map_block_api_key),T(!0),""!==e.themeisle_google_map_block_api_key&&(C(!0),te(e.themeisle_google_map_block_api_key))})):k||(f(themeisleGutenberg.mapsAPI),T(!0),C(!0),te(themeisleGutenberg.mapsAPI));case 7:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(a,l){var o=e.apply(t,n);function r(e){ve(o,a,l,r,i,"next",e)}function i(e){ve(o,a,l,r,i,"throw",e)}r(void 0)}))});return function(){return a.apply(this,arguments)}}(),te=function(e){window.isMapLoaded||(window.isMapLoaded=!0,m.current.onload=function(){document.getElementById("themeisle-google-map-api-loading").id="themeisle-google-map-api",A(!0)},m.current.src="https://maps.googleapis.com/maps/api/js?key=".concat(e,"&libraries=places&cache=").concat(Math.random()),document.head.appendChild(m.current)),document.getElementById("themeisle-google-map-api")&&A(!0)},ne=function(e,t,n,a){var o='<div class="wp-block-themeisle-blocks-map-overview"><h6 class="wp-block-themeisle-blocks-map-overview-title">'.concat(n,'</h6><div class="wp-block-themeisle-blocks-map-overview-content">').concat(a?"<p>".concat(a,"</p>"):"",'<a class="wp-block-themeisle-blocks-map-overview-delete" onclick="removeMarker_').concat(l.substr(0,8),"( '").concat(t,"' )\">").concat(Ee("Delete Marker"),"</a></div></div>"),r=new google.maps.InfoWindow({content:o});e.addListener("click",(function(){u.current=r,r.open(s.current,e)})),google.maps.event.addListener(r,"domready",(function(){V(t)})),google.maps.event.addListener(r,"closeclick",(function(){V(!1)}))},ae=function(e){e.forEach((function(e){var t=e.latitude,n=e.longitude,a=new google.maps.LatLng(t,n),l=new google.maps.Marker({position:a,map:s.current,title:e.title,draggable:!0,icon:e.icon||"https://maps.google.com/mapfiles/ms/icons/red-dot.png"});google.maps.event.addListener(l,"dragend",(function(t){var n=t.latLng.lat(),a=t.latLng.lng();le(e.id,"latitude",n),le(e.id,"longitude",a)})),p.current.push(l),google.maps.event.addListener(l,"click",(function(e){u.current&&u.current.close()})),ne(l,e.id,e.title,e.description)}))},le=function(e,t,a){var l=Te(b.current);l.map((function(n){if(n.id===e)return n[t]=a.toString()})),re(),ae(l),n({markers:l})},oe=function(e){var t=Te(b.current);t=t.filter((function(t){return t.id!==e})),n({markers:t}),re(),V(!1),0<t.length&&ae(t)},re=function(){for(var e=0;e<p.current.length;e++)p.current[e].setMap(null);p.current=[]},ie=function(){if(!1===Boolean(themeisleGutenberg.mapsAPI)){R(!0);var e=new wp.api.models.Settings({themeisle_google_map_block_api_key:y}).save();e.success((function(e,t){if("success"===t){var n=!1;d.current.fetch(),""!==e.themeisle_google_map_block_api_key&&(n=!0),R(!1),C(n),""!==e.themeisle_google_map_block_api_key&&(window.isMapLoaded=!1,te(e.themeisle_google_map_block_api_key))}"error"===t&&console.log(e),d.current.fetch()})),e.error((function(e,t){console.log(e)}))}},ce=function(e){n({style:e}),s.current.setOptions({styles:fe[e]})};return k&&x?wp.element.createElement(Se,null,wp.element.createElement(w.a,{label:Ee("Block Styles"),value:t.style,options:[{label:Ee("Standard"),value:"standard",image:themeisleGutenberg.assetsPath+"/icons/map-standard.png"},{label:Ee("Silver"),value:"silver",image:themeisleGutenberg.assetsPath+"/icons/map-silver.png"},{label:Ee("Retro"),value:"retro",image:themeisleGutenberg.assetsPath+"/icons/map-retro.png"},{label:Ee("Dark"),value:"dark",image:themeisleGutenberg.assetsPath+"/icons/map-dark.png"},{label:Ee("Night"),value:"night",image:themeisleGutenberg.assetsPath+"/icons/map-night.png"},{label:Ee("Aubergine"),value:"aubergine",image:themeisleGutenberg.assetsPath+"/icons/map-aubergine.png"}],onChange:ce}),wp.element.createElement(Q,{attributes:t,setAttributes:n,map:s.current,changeStyle:ce,isPlaceAPIAvailable:z,isMarkerOpen:F,setMarkerOpen:V,removeMarker:oe,changeMarkerProp:le,addMarkerManual:function(){var e=c()(),t=Ee("Custom Marker"),n=s.current.getCenter(),a=n.lat(),l=n.lng();Z(!0),Y(!0),$({id:e,location:"",title:t,icon:"https://maps.google.com/mapfiles/ms/icons/red-dot.png",description:"",latitude:a,longitude:l})},api:y,isSaving:N,changeAPI:f,saveAPIKey:ie}),q&&wp.element.createElement(me,{marker:X,isAdvanced:K,isPlaceAPIAvailable:z,close:function(){return Z(!1)},addMarker:function(e,a,l,o,r,i){var d=new google.maps.LatLng(r,i),m=c()(),b=new google.maps.Marker({position:d,map:s.current,title:a,draggable:!0,icon:l});google.maps.event.addListener(b,"dragend",(function(e){var t=e.latLng.lat(),n=e.latLng.lng();le(m,"latitude",t),le(m,"longitude",n)})),p.current.push(b);var g=Te(t.markers),h={id:m,location:e,title:a,icon:l,description:o,latitude:r,longitude:i};g.push(h),n({markers:g}),google.maps.event.addListener(b,"click",(function(e){u.current&&u.current.close()})),ne(b,h.id,a,o),Z(!1),D(!1)}}),wp.element.createElement(xe,{size:{height:t.height},enable:{top:!1,right:!1,bottom:!0,left:!1},minHeight:100,maxHeight:1400,onResizeStart:function(){i(!1)},onResizeStop:function(e,a,l,o){n({height:parseInt(t.height+o.height,10)}),i(!0)},className:r()("wp-block-themeisle-blocks-google-map-resizer",{"is-focused":o})},wp.element.createElement(ye,{attributes:t,className:a,initMap:function(){if(s.current=new google.maps.Map(document.getElementById(t.id),{center:{lat:Number(t.latitude)||41.4036299,lng:Number(t.longitude)||2.1743558000000576},gestureHandling:"cooperative",zoom:t.zoom,mapTypeId:t.type,styles:fe[t.style]}),t.location&&void 0===t.latitude&&void 0===t.longitude){var e={query:t.location,fields:["name","geometry"]};new google.maps.places.PlacesService(s.current).findPlaceFromQuery(e,(function(e,t){t===google.maps.places.PlacesServiceStatus.OK&&0<e.length&&s.current.setCenter(e[0].geometry.location)}))}google.maps.event.addListenerOnce(s.current,"idle",(function(){M(!0)})),s.current.addListener("zoom_changed",(function(){var e=s.current.getZoom();n({zoom:e})})),s.current.addListener("maptypeid_changed",(function(){var e=s.current.getMapTypeId();n({type:e})})),s.current.addListener("bounds_changed",(function(){var e=s.current.getCenter(),t=e.lat(),a=e.lng();n({latitude:t.toString(),longitude:a.toString()})})),0<t.markers.length&&ae(t.markers);var a={query:t.location,fields:["name","geometry"]};new google.maps.places.PlacesService(s.current).findPlaceFromQuery(a,(function(e,t){"REQUEST_DENIED"===t&&_(!1)}))},displayMap:H,isMapLoaded:B,selectMarker:function(){D(!G),G?google.maps.event.clearListeners(s.current,"click"):s.current.addListener("click",(function(e){google.maps.event.clearListeners(s.current,"click");var t=c()(),n=Ee("Custom Marker"),a=e.latLng.lat(),l=e.latLng.lng();Z(!0),Y(!1),$({id:t,location:"",title:n,icon:"https://maps.google.com/mapfiles/ms/icons/red-dot.png",description:"",latitude:a,longitude:l})}))},isSelectingMarker:G}))):wp.element.createElement(h,{className:a,api:y,isAPILoaded:k,isAPISaved:x,changeAPI:f,saveAPIKey:ie})},Re=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/google-map",{title:Re("Google Map"),description:Re("Display a Google Map on your website with Google Map block."),icon:a.i,category:"themeisle-blocks",keywords:["map","google","orbitfox"],attributes:l,supports:{align:["wide","full"],html:!1},edit:Ne,save:function(){return null}})},function(e,t,n){"use strict";n.r(t);n(84),n(85);var a={id:{type:"string"},images:{type:"array",default:[],source:"query",selector:".wp-block-themeisle-blocks-slider-item-wrapper",query:{id:{type:"number",source:"attribute",selector:"img",attribute:"data-id"},url:{type:"string",source:"attribute",selector:"img",attribute:"src"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:""},caption:{type:"string",source:"html",selector:"figcaption",default:""}}},perView:{type:"number",default:1},gap:{type:"number",default:0},peek:{type:"number",default:0},autoplay:{type:"boolean",default:!0},height:{type:"number",default:400}},l=lodash,o=l.filter,r=l.every,i=wp.blocks.createBlock,c={from:[{type:"block",isMultiBlock:!0,blocks:["core/image"],transform:function(e){var t=e[0].align;t=r(e,["align",t])?t:void 0;var n=o(e,(function(e){return e.url}));return i("themeisle-blocks/slider",{images:n.map((function(e){return{id:e.id,url:e.url,alt:e.alt,caption:e.caption}})),align:t})}},{type:"block",blocks:["core/gallery"],transform:function(e){var t=e.images,n=e.align;return i("themeisle-blocks/slider",{images:t.map((function(e){return{id:e.id,url:e.url,alt:e.alt,caption:e.caption}})),align:n})}}],to:[{type:"block",blocks:["core/image"],transform:function(e){var t=e.images,n=e.align;return 0<t.length?t.map((function(e){var t=e.id,a=e.url,l=e.alt,o=e.caption;return i("core/image",{id:t,url:a,alt:l,caption:o,align:n})})):i("core/image",{align:n})}},{type:"block",blocks:["core/gallery"],transform:function(e){var t=e.images,n=e.align;return i("core/gallery",{images:t.map((function(e){return{id:e.id,url:e.url,alt:e.alt,caption:e.caption}})),align:n})}}]},p=n(0),d=n.n(p),m=lodash.debounce,s=wp.blockEditor.MediaPlaceholder,u=function(e){e.attributes;var t=e.labels,n=e.icon,a=e.isAppender,l=void 0!==a&&a,o=e.value,r=void 0===o?{}:o,i=e.onSelectImages,c=m(i,250);return wp.element.createElement(s,{labels:t,icon:n,accept:"image/*",allowedTypes:["image"],isAppender:l,className:"wp-block-themeisle-blocks-slider-uploader",value:r,onSelect:c,multiple:!0})},b=wp.i18n.__,g=lodash.max,h=wp.blockEditor.InspectorControls,w=wp.components,y=w.PanelBody,f=w.RangeControl,v=w.ToggleControl,k=wp.element.Fragment,T=function(e){var t=e.attributes,n=e.setAttributes,a=e.slider,l=e.changePerView;return wp.element.createElement(h,null,wp.element.createElement(y,{title:b("Settings")},t.images.length&&wp.element.createElement(k,null,wp.element.createElement(f,{label:b("Slides Per Page"),help:b("A number of visible slides."),value:t.perView,onChange:l,min:1,max:g([Math.round(t.images.length/2),1])}),1<t.perView&&wp.element.createElement(k,null,wp.element.createElement(f,{label:b("Gap"),help:b("A size of the space between slides."),value:t.gap,onChange:function(e){n({gap:Number(e)}),a.update({gap:Number(e)})},min:0,max:100}),wp.element.createElement(f,{label:b("Peek"),help:b("The value of the future slides which have to be visible in the current slide."),value:t.peek,onChange:function(e){n({peek:Number(e)}),a.update({peek:Number(e)})},min:0,max:100})),wp.element.createElement(f,{label:b("Height"),help:b("Slider height in pixels."),value:t.height,onChange:function(e){n({height:Number(e)})},min:100,max:1400}),wp.element.createElement(v,{label:b("Autoplay"),help:b("Autoplay slider in the front."),checked:t.autoplay,onChange:function(e){n({autoplay:e}),a.update({autoplay:!!e&&2e3})}}))))};function E(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var x=wp.i18n.__,C=lodash.filter,S=wp.blockEditor.RichText,B=wp.components.IconButton,M=wp.element.Fragment,O=function(e){var t=e.images,n=e.image,a=e.index,l=e.isFirstItem,o=e.isLastItem,r=e.isSelected,i=e.setAttributes,c=e.setSelectedImage,p=function(e,n){var a=E(t);a.splice(n,1,t[e]),a.splice(e,1,t[n]),c(n),i({images:a})};return wp.element.createElement("div",{className:d()("wp-block-themeisle-blocks-slider-item-wrapper glide__slide",{"is-selected":r}),tabIndex:"0",onClick:function(){return c(n.id)},onFocus:function(){return c(n.id)}},wp.element.createElement("figure",null,wp.element.createElement("img",{key:n.id,className:"wp-block-themeisle-blocks-slider-item",src:n.url,alt:n.alt,title:n.alt,"data-id":n.id}),r&&wp.element.createElement(M,null,wp.element.createElement("div",{className:"wp-block-themeisle-blocks-slider-item-move-menu"},wp.element.createElement(B,{icon:"arrow-left-alt2",onClick:l?void 0:function(){0!==a&&p(a,a-1)},className:"wp-block-themeisle-blocks-slider-item-move-backward",label:x("Move image backward"),"aria-disabled":l,disabled:!r}),wp.element.createElement(B,{icon:"arrow-right-alt2",onClick:o?void 0:function(){a!==t.length-1&&p(a,a+1)},className:"wp-block-themeisle-blocks-slider-item-move-forward",label:x("Move image forward"),"aria-disabled":o,disabled:!r})),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-slider-item-delete-menu"},wp.element.createElement(B,{icon:"no-alt",onClick:function(){var e=C(t,(function(e,t){return a!==t}));c(null),i({images:e})},className:"wp-block-themeisle-blocks-slider-item-delete",label:x("Remove image")}))),(r||!S.isEmpty(n.caption))&&wp.element.createElement(S,{tagName:"figcaption",placeholder:r?x("Write caption…"):null,value:n.caption,onChange:function(e){var n=E(t);n[a].caption=e,i({images:n})},multiline:!1})))},N=wp.components,R=N.Path,L=N.SVG,z=wp.element.Fragment,_=function(e){var t=e.attributes;return wp.element.createElement(z,null,wp.element.createElement("div",{className:"glide__arrows","data-glide-el":"controls"},wp.element.createElement("button",{className:"glide__arrow glide__arrow--left","data-glide-dir":"<"},wp.element.createElement(L,{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 100 100"},wp.element.createElement(R,{d:"M 10,50 L 60,100 L 70,90 L 30,50 L 70,10 L 60,0 Z"}))),wp.element.createElement("button",{className:"glide__arrow glide__arrow--right","data-glide-dir":">"},wp.element.createElement(L,{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 100 100"},wp.element.createElement(R,{d:"M 10,50 L 60,100 L 70,90 L 30,50 L 70,10 L 60,0 Z"})))),wp.element.createElement("div",{className:"glide__bullets","data-glide-el":"controls[nav]"},t.images.map((function(e,t){return wp.element.createElement("button",{className:"glide__bullet","data-glide-dir":"=".concat(t)})}))))};function P(e,t,n,a,l,o,r){try{var i=e[o](r),c=i.value}catch(e){return void n(e)}i.done?t(c):Promise.resolve(c).then(a,l)}function H(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var A=wp.i18n.__,I=lodash.max,F=wp.components.ResizableBox,V=wp.element,j=V.Fragment,G=V.useEffect,D=V.useRef,W=V.useState,q=function(e){var t=e.attributes,n=e.setAttributes,a=e.className,l=e.clientId,o=e.isSelected,r=e.toggleSelection;G((function(){return s(),function(){t.images.length&&i.current.destroy()}}),[]),G((function(){t.images.length&&(m(null),null!==i.current&&(i.current.destroy(),b()))}),[o,t.align]),G((function(){t.images.length&&t.perView>t.images.length&&h(I([Math.round(t.images.length/2),1]))}),[t.images]);var i=D(null),c=H(W(null),2),p=c[0],m=c[1],s=function(){var e,a=(e=regeneratorRuntime.mark((function e(){var a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0!==t.id&&t.id.substr(t.id.length-8)===l.substr(0,8)){e.next=4;break}return a="wp-block-themeisle-blocks-slider-".concat(l.substr(0,8)),e.next=4,n({id:a});case 4:t.images.length&&b();case 5:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(a,l){var o=e.apply(t,n);function r(e){P(o,a,l,r,i,"next",e)}function i(e){P(o,a,l,r,i,"throw",e)}r(void 0)}))});return function(){return a.apply(this,arguments)}}(),b=function(){i.current=new Glide("#".concat(t.id),{type:"carousel",keyboard:!1,perView:t.perView,gap:t.gap,peek:t.peek,autoplay:!1,breakpoints:{800:{perView:1,peek:0,gap:0}}}).mount()},g=function(e){n({images:e.map((function(e){return{id:e.id,url:e.url,alt:e.alt,caption:e.caption}}))}),null!==i.current&&i.current.destroy(),b()},h=function(e){n({perView:Number(e)}),i.current.update({perView:Number(e)}),1===e&&(n({gap:0,peek:0}),i.current.update({gap:0,peek:0}))};return Array.isArray(t.images)&&!t.images.length?wp.element.createElement(u,{labels:{title:A("Slider"),instructions:A("Drag images, upload new ones or select files from your library.")},icon:"images-alt2",onSelectImages:g}):wp.element.createElement(j,null,wp.element.createElement(T,{attributes:t,setAttributes:n,slider:i.current,changePerView:h}),wp.element.createElement(F,{size:{height:t.height},enable:{top:!1,right:!1,bottom:!0,left:!1},minHeight:100,maxHeight:1400,onResizeStart:function(){r(!1)},onResizeStop:function(e,a,l,o){n({height:parseInt(t.height+o.height,10)}),r(!0)},className:d()("wp-block-themeisle-blocks-slider-resizer",{"is-focused":o})},wp.element.createElement("div",{id:t.id,className:d()("wp-block-themeisle-blocks-slider","glide",a)},wp.element.createElement("div",{className:"glide__track","data-glide-el":"track"},wp.element.createElement("div",{className:"glide__slides",style:{height:"".concat(t.height,"px")}},t.images.map((function(e,a){return wp.element.createElement(O,{images:t.images,image:e,index:a,isFirstItem:0===a,isLastItem:a+1===t.images.length,isSelected:o&&e.id===p,setAttributes:n,setSelectedImage:m})}))),wp.element.createElement(_,{attributes:t})))),o&&wp.element.createElement(u,{labels:{title:"",instructions:""},icon:null,onSelectImages:g,isAppender:!0,value:t.images}))},Z=(wp.i18n.__,wp.blockEditor.RichText),U=function(e){var t=e.attributes,n=e.className;return wp.element.createElement("div",{id:t.id,className:d()("wp-block-themeisle-blocks-slider","glide",n),"data-per-view":t.perView,"data-gap":t.gap,"data-peek":t.peek,"data-autoplay":t.autoplay},wp.element.createElement("div",{className:"glide__track","data-glide-el":"track"},wp.element.createElement("div",{className:"glide__slides",style:{height:"".concat(t.height,"px")}},t.images.map((function(e){return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-slider-item-wrapper glide__slide",tabIndex:"0"},wp.element.createElement("figure",null,wp.element.createElement("img",{key:e.id,className:"wp-block-themeisle-blocks-slider-item",src:e.url,alt:e.alt,title:e.alt,"data-id":e.id}),!Z.isEmpty(e.caption)&&wp.element.createElement(Z.Content,{tagName:"figcaption",value:e.caption})))}))),wp.element.createElement(_,{attributes:t})))},K=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/slider",{title:K("Slider"),description:K("Minimal image slider to showcase beautiful images."),icon:"images-alt2",category:"themeisle-blocks",keywords:["slider","gallery","carousel"],attributes:a,transforms:c,supports:{align:["wide","full"]},edit:q,save:U})},function(e,t,n){"use strict";n.r(t);n(52),n(53);var a=n(2),l={id:{type:"string"},buttons:{type:"number",default:2},align:{type:"string"},spacing:{type:"number",default:20},collapse:{type:"string",default:"collapse-none"},fontSize:{type:"number",default:18},fontFamily:{type:"string"},fontVariant:{type:"string"},textTransform:{type:"string"},fontStyle:{type:"string",default:"normal"},lineHeight:{type:"number"},data:{type:"array",default:[{text:"",link:"",newTab:!1,color:"#ffffff",background:"#32373c",border:"",hoverColor:"",hoverBackground:"",hoverBorder:"",borderSize:0,borderRadius:0,boxShadow:!1,boxShadowColor:"",boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:1,boxShadowHorizontal:0,boxShadowVertical:0,hoverBoxShadowColor:"",hoverBoxShadowColorOpacity:50,hoverBoxShadowBlur:5,hoverBoxShadowSpread:1,hoverBoxShadowHorizontal:0,hoverBoxShadowVertical:0,iconType:"none",prefix:"",icon:"",paddingTopBottom:12,paddingLeftRight:24},{text:"",link:"",newTab:!1,color:"#ffffff",background:"#32373c",border:"",hoverColor:"",hoverBackground:"",hoverBorder:"",borderSize:0,borderRadius:0,boxShadow:!1,boxShadowColor:"",boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:1,boxShadowHorizontal:0,boxShadowVertical:0,hoverBoxShadowColor:"",hoverBoxShadowColorOpacity:50,hoverBoxShadowBlur:5,hoverBoxShadowSpread:1,hoverBoxShadowHorizontal:0,hoverBoxShadowVertical:0,iconType:"none",prefix:"",icon:"",paddingTopBottom:12,paddingLeftRight:24}]}},o=n(0),r=n.n(o);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var p=lodash.times,d=wp.editor.RichText,m=wp.element.Fragment,s=[{attributes:{id:{type:"string"},buttons:{type:"number",default:2},align:{type:"string"},spacing:{type:"number",default:20},collapse:{type:"string",default:"collapse-none"},fontSize:{type:"number",default:18},fontFamily:{type:"string"},fontVariant:{type:"string"},textTransform:{type:"string"},fontStyle:{type:"string",default:"normal"},lineHeight:{type:"number"},data:{type:"array",default:[{text:"",link:"",newTab:!1,color:"#ffffff",background:"#32373c",border:"",hoverColor:"",hoverBackground:"",hoverBorder:"",borderSize:0,borderRadius:0,boxShadow:!1,boxShadowColor:"",boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:1,boxShadowHorizontal:0,boxShadowVertical:0,hoverBoxShadowColor:"",hoverBoxShadowColorOpacity:50,hoverBoxShadowBlur:5,hoverBoxShadowSpread:1,hoverBoxShadowHorizontal:0,hoverBoxShadowVertical:0,iconType:"none",prefix:"",icon:"",paddingTopBottom:12,paddingLeftRight:24},{text:"",link:"",newTab:!1,color:"#ffffff",background:"#32373c",border:"",hoverColor:"",hoverBackground:"",hoverBorder:"",borderSize:0,borderRadius:0,boxShadow:!1,boxShadowColor:"",boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:1,boxShadowHorizontal:0,boxShadowVertical:0,hoverBoxShadowColor:"",hoverBoxShadowColorOpacity:50,hoverBoxShadowBlur:5,hoverBoxShadowSpread:1,hoverBoxShadowHorizontal:0,hoverBoxShadowVertical:0,iconType:"none",prefix:"",icon:"",paddingTopBottom:12,paddingLeftRight:24}]}},save:function(e){var t=e.attributes,n=t.id,a=t.buttons,l=t.align,o=t.collapse,s=t.fontSize,u=t.fontFamily,b=t.fontStyle,g=t.fontVariant,h=t.textTransform,w=t.lineHeight,y=t.data,f={fontSize:"".concat(s,"px"),fontFamily:u,fontWeight:g,fontStyle:b,textTransform:h,lineHeight:w&&"".concat(w,"px")},v=function(e){var t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},f,{borderWidth:"".concat(y[e].borderSize,"px"),borderRadius:"".concat(y[e].borderRadius,"px"),padding:"".concat(y[e].paddingTopBottom,"px ").concat(y[e].paddingLeftRight,"px ")});return wp.element.createElement(m,null,wp.element.createElement("a",{href:y[e].link,target:y[e].newTab?"_blank":"_self",className:r()("wp-block-themeisle-blocks-button","wp-block-themeisle-blocks-button-".concat(e)),style:t},("left"===y[e].iconType||"only"===y[e].iconType)&&wp.element.createElement("i",{className:r()(y[e].prefix,"fa-fw","fa-".concat(y[e].icon),{"margin-right":"left"===y[e].iconType})}),"only"!==y[e].iconType&&wp.element.createElement(d.Content,{tagName:"span",value:y[e].text}),"right"===y[e].iconType&&wp.element.createElement("i",{className:"".concat(y[e].prefix," fa-fw fa-").concat(y[e].icon," margin-left")})))},k="collapse-none"!==o?o:"";return wp.element.createElement("div",{id:n,className:r()(e.className,k),style:{justifyContent:l,alignItems:l||"flex-start"}},p(a,(function(e){return v(e)})))}}],u=n(19),b=n.n(u),g=n(10),h=wp.i18n.__,w=wp.components,y=w.Dropdown,f=w.IconButton,v=w.RangeControl,k=w.Toolbar,T=wp.blockEditor,E=T.AlignmentToolbar,x=T.BlockControls,C=wp.element.Fragment,S=function(e){var t=e.attributes,n=e.setAttributes,a=e.changeFontSize,l=e.changeFontFamily,o=e.changeFontVariant,r=e.changeFontStyle,i=e.changeTextTransform,c=e.changeLineHeight;return wp.element.createElement(x,null,wp.element.createElement(E,{value:t.align,onChange:function(e){n({align:e})},alignmentControls:[{icon:"editor-alignleft",title:h("Align left"),align:"flex-start"},{icon:"editor-aligncenter",title:h("Align center"),align:"center"},{icon:"editor-alignright",title:h("Align right"),align:"flex-end"}]}),wp.element.createElement(k,{className:"wp-themesiel-blocks-button-group-components-toolbar"},wp.element.createElement(y,{contentClassName:"wp-themesiel-blocks-button-group-popover-content",position:"bottom center",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return wp.element.createElement(f,{className:"components-dropdown-menu__toggle",icon:"editor-textcolor",onClick:n,"aria-haspopup":"true","aria-expanded":t,label:h("Typography Settings"),tooltip:h("Typography Settings")},wp.element.createElement("span",{className:"components-dropdown-menu__indicator"}))},renderContent:function(){return wp.element.createElement(C,null,wp.element.createElement(v,{label:h("Font Size"),value:t.fontSize,onChange:a,min:0,max:50}),wp.element.createElement(g.a,{label:h("Font Family"),value:t.fontFamily,onChangeFontFamily:l,isSelect:!0,valueVariant:t.fontVariant,onChangeFontVariant:o,valueStyle:t.fontStyle,onChangeFontStyle:r,valueTransform:t.textTransform,onChangeTextTransform:i}),wp.element.createElement(v,{label:h("Line Height"),value:t.lineHeight,onChange:c,min:0,max:200}))}})))},B=n(4),M=n(7),O=n(20),N=n(5);function R(e){return(R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function L(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var z=wp.i18n.__,_=lodash.times,P=wp.components,H=P.BaseControl,A=P.Button,I=P.ButtonGroup,F=P.Dashicon,V=P.Dropdown,j=P.MenuGroup,G=P.MenuItem,D=P.Icon,W=P.PanelBody,q=P.Placeholder,Z=P.RangeControl,U=P.SelectControl,K=P.Spinner,Q=P.ToggleControl,Y=wp.blockEditor,J=Y.ColorPalette,X=Y.InspectorControls,$=wp.element,ee=$.Fragment,te=$.useState,ne=React.lazy((function(){return Promise.all([n.e(0),n.e(1)]).then(n.bind(null,103))})),ae=function(e){var t=e.attributes,n=e.setAttributes,l=e.selectedButton,o=e.wait,i=e.changeButtons,c=e.changeButton,p=e.updateButton,d=e.changeFontSize,m=e.changeFontFamily,s=e.changeFontVariant,u=e.changeFontStyle,b=e.changeTextTransform,h=e.changeLineHeight,w=L(te("buttons"),2),y=w[0],f=w[1],v=L(te(!1),2),k=v[0],T=v[1];return wp.element.createElement(X,null,wp.element.createElement(W,{className:"wp-block-themeisle-blocks-button-group-header-panel"},wp.element.createElement(A,{className:r()("header-tab",{"is-selected":"buttons"===y}),onClick:function(){return f("buttons")}},wp.element.createElement("span",null,wp.element.createElement(D,{icon:a.d}),z("Buttons"))),wp.element.createElement(A,{className:r()("header-tab",{"is-selected":"group"===y}),onClick:function(){return f("group")}},wp.element.createElement("span",null,wp.element.createElement(F,{icon:"admin-generic"}),z("Group Settings")))),"buttons"===y&&wp.element.createElement(ee,null,wp.element.createElement(W,{opened:!0},wp.element.createElement(Z,{label:z("Number of Buttons"),value:t.buttons,onChange:i,min:1,max:5}),wp.element.createElement(H,{label:z("Edit Button")},wp.element.createElement(V,{contentClassName:"wp-block-themeisle-blocks-select-button-popover",position:"bottom center",renderToggle:function(e){var n=e.isOpen,a=e.onToggle;return wp.element.createElement(A,{isLarge:!0,className:"wp-block-themeisle-blocks-select-button-button",onClick:a,"aria-expanded":n},z("Button")+" "+(l+1)+": "+Object(B.b)(t.data[l].text))},renderContent:function(e){var n=e.onToggle;return wp.element.createElement(j,null,_(t.buttons,(function(e){return wp.element.createElement(G,{onClick:function(){c(e),n()}},z("Button")+" "+(e+1)+": "+Object(B.b)(t.data[e].text))})))}}))),o?wp.element.createElement(q,null,wp.element.createElement(K,null)):wp.element.createElement(ee,null,wp.element.createElement(W,{title:z("Link")},wp.element.createElement(O.a,{label:"Link",placeholder:z("https://…"),value:t.data[l].link,onChange:function(e){return p({link:e},l)}},wp.element.createElement(Q,{label:"Open in New Tab?",checked:t.data[l].newTab,onChange:function(){return p({newTab:!t.data[l].newTab},l)}}))),wp.element.createElement(W,{title:z("Color & Border"),initialOpen:!1},wp.element.createElement(I,{className:"wp-block-themeisle-blocks-button-group-hover-control"},wp.element.createElement(A,{isDefault:!0,isLarge:!0,isPrimary:!k,onClick:function(){return T(!1)}},z("Normal")),wp.element.createElement(A,{isDefault:!0,isLarge:!0,isPrimary:k,onClick:function(){return T(!0)}},z("Hover"))),k?wp.element.createElement(ee,null,wp.element.createElement(H,{label:"Hover Color"},wp.element.createElement(J,{label:"Hover Color",value:t.data[l].hoverColor,onChange:function(e){return p({hoverColor:e},l)}})),wp.element.createElement(H,{label:"Hover Background"},wp.element.createElement(J,{label:"Hover Background",value:t.data[l].hoverBackground,onChange:function(e){return p({hoverBackground:e},l)}})),wp.element.createElement(H,{label:"Hover Border"},wp.element.createElement(J,{label:"Hover Border",value:t.data[l].hoverBorder,onChange:function(e){return p({hoverBorder:e},l)}}))):wp.element.createElement(ee,null,wp.element.createElement(H,{label:"Color"},wp.element.createElement(J,{label:"Color",value:t.data[l].color,onChange:function(e){return p({color:e},l)}})),wp.element.createElement(H,{label:"Background"},wp.element.createElement(J,{label:"Background",value:t.data[l].background,onChange:function(e){return p({background:e},l)}})),wp.element.createElement(H,{label:"Border"},wp.element.createElement(J,{label:"Border",value:t.data[l].border,onChange:function(e){return p({border:e},l)}}))),wp.element.createElement(Z,{label:z("Border Width"),className:"border-width",beforeIcon:"move",value:t.data[l].borderSize,onChange:function(e){return p({borderSize:e},l)},min:0,max:10}),wp.element.createElement(Z,{label:z("Border Radius"),beforeIcon:"move",value:t.data[l].borderRadius,onChange:function(e){return p({borderRadius:e},l)},min:0,max:100})),wp.element.createElement(W,{title:z("Box Shadow"),initialOpen:!1},wp.element.createElement(Q,{label:"Box Shadow",checked:t.data[l].boxShadow,onChange:function(e){return p({boxShadow:!t.data[l].boxShadow},l)}}),t.data[l].boxShadow&&wp.element.createElement(ee,null,wp.element.createElement(I,{className:"wp-block-themeisle-blocks-button-group-hover-control"},wp.element.createElement(A,{isDefault:!0,isLarge:!0,isPrimary:!k,onClick:function(){return T(!1)}},z("Normal")),wp.element.createElement(A,{isDefault:!0,isLarge:!0,isPrimary:k,onClick:function(){return T(!0)}},z("Hover"))),!k&&wp.element.createElement(ee,null,wp.element.createElement(H,{label:"Shadow Color"},wp.element.createElement(J,{label:"Shadow Color",value:t.data[l].boxShadowColor,onChange:function(e){return p({boxShadowColor:e},l)}})),wp.element.createElement(M.a,{label:"Shadow Properties"},wp.element.createElement(Z,{label:z("Opacity"),value:t.data[l].boxShadowColorOpacity,onChange:function(e){return p({boxShadowColorOpacity:e},l)},min:0,max:100}),wp.element.createElement(Z,{label:z("Blur"),value:t.data[l].boxShadowBlur,onChange:function(e){return p({boxShadowBlur:e},l)},min:0,max:100}),wp.element.createElement(Z,{label:z("Spread"),value:t.data[l].boxShadowSpread,onChange:function(e){return p({boxShadowSpread:e},l)},min:-100,max:100}),wp.element.createElement(Z,{label:z("Horizontal"),value:t.data[l].boxShadowHorizontal,onChange:function(e){return p({boxShadowHorizontal:e},l)},min:-100,max:100}),wp.element.createElement(Z,{label:z("Vertical"),value:t.data[l].boxShadowVertical,onChange:function(e){return p({boxShadowVertical:e},l)},min:-100,max:100})))||k&&wp.element.createElement(ee,null,wp.element.createElement(H,{label:"Hover Shadow Color"},wp.element.createElement(J,{label:"Hover Shadow Color",value:t.data[l].hoverBoxShadowColor,onChange:function(e){return p({hoverBoxShadowColor:e},l)}})),wp.element.createElement(M.a,{label:"Hover Shadow Properties"},wp.element.createElement(Z,{label:z("Opacity"),value:t.data[l].hoverBoxShadowColorOpacity,onChange:function(e){return p({hoverBoxShadowColorOpacity:e},l)},min:0,max:100}),wp.element.createElement(Z,{label:z("Blur"),value:t.data[l].hoverBoxShadowBlur,onChange:function(e){return p({hoverBoxShadowBlur:e},l)},min:0,max:100}),wp.element.createElement(Z,{label:z("Spread"),value:t.data[l].hoverBoxShadowSpread,onChange:function(e){return p({hoverBoxShadowSpread:e},l)},min:-100,max:100}),wp.element.createElement(Z,{label:z("Horizontal"),value:t.data[l].hoverBoxShadowHorizontal,onChange:function(e){return p({hoverBoxShadowHorizontal:e},l)},min:-100,max:100}),wp.element.createElement(Z,{label:z("Vertical"),value:t.data[l].hoverBoxShadowVertical,onChange:function(e){return p({hoverBoxShadowVertical:e},l)},min:-100,max:100}))))),wp.element.createElement(W,{title:z("Icon Settings"),initialOpen:!1},wp.element.createElement(U,{label:z("Icon Position"),value:t.data[l].iconType,options:[{label:"No Icon",value:"none"},{label:"Left",value:"left"},{label:"Right",value:"right"},{label:"Icon Only",value:"only"}],onChange:function(e){return p({iconType:e},l)}}),"none"!==t.data[l].iconType&&wp.element.createElement(ee,null,wp.element.createElement(React.Suspense,{fallback:wp.element.createElement(q,null,wp.element.createElement(K,null))},wp.element.createElement(ne,{label:z("Icon Picker"),prefix:t.data[l].prefix,icon:t.data[l].icon,onChange:function(e){"object"===R(e)?p({icon:e.name,prefix:e.prefix},l):p({icon:e},l)}})))),wp.element.createElement(W,{title:z("Spacing"),initialOpen:!1},wp.element.createElement(N.a,{label:z("Padding"),min:0,max:100,onChange:function(e,t){return function(e,t,n){"top"!==e&&"bottom"!==e||p({paddingTopBottom:t},n),"left"!==e&&"right"!==e||p({paddingLeftRight:t},n)}(e,t,l)},options:[{label:z("Top"),type:"top",value:t.data[l].paddingTopBottom},{label:z("Right"),type:"right",value:t.data[l].paddingLeftRight},{label:z("Bottom"),type:"bottom",value:t.data[l].paddingTopBottom},{label:z("Left"),type:"left",value:t.data[l].paddingLeftRight}]}))))||"group"===y&&wp.element.createElement(ee,null,wp.element.createElement(W,{title:z("Spacing")},wp.element.createElement(Z,{label:z("Spacing"),value:t.spacing,onChange:function(e){n({spacing:e})},min:0,max:50}),wp.element.createElement(U,{label:z("Collapse On"),value:t.collapse,options:[{label:"None",value:"collapse-none"},{label:"Desktop",value:"collapse-desktop"},{label:"Tablet",value:"collapse-tablet"},{label:"Mobile",value:"collapse-mobile"}],onChange:function(e){n({collapse:e})}})),wp.element.createElement(W,{title:z("Typography Settings"),initialOpen:!1},wp.element.createElement(Z,{label:z("Font Size"),value:t.fontSize,onChange:d,min:0,max:50}),wp.element.createElement(g.a,{label:z("Font Family"),value:t.fontFamily,onChangeFontFamily:m,valueVariant:t.fontVariant,onChangeFontVariant:s,valueStyle:t.fontStyle,onChangeFontStyle:u,valueTransform:t.textTransform,onChangeTextTransform:b}),wp.element.createElement(Z,{label:z("Line Height"),value:t.lineHeight,onChange:h,min:0,max:200}))))},le=n(3),oe=n.n(le);function re(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function ie(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ce(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var pe=wp.i18n.__,de=wp.blockEditor.RichText,me=wp.element,se=me.Fragment,ue=me.useState,be=function(e){var t=e.index,n=e.attributes,a=e.changeButton,l=e.updateButton,o=ce(ue((function(){return 0===t})),2),i=o[0],c=o[1],p={};n.data[t].boxShadow&&(p={boxShadow:"".concat(n.data[t].boxShadowHorizontal,"px ").concat(n.data[t].boxShadowVertical,"px ").concat(n.data[t].boxShadowBlur,"px ").concat(n.data[t].boxShadowSpread,"px ").concat(oe()(n.data[t].boxShadowColor?n.data[t].boxShadowColor:"#000000",n.data[t].boxShadowColorOpacity))});var d=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?re(Object(n),!0).forEach((function(t){ie(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):re(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({fontSize:"".concat(n.fontSize,"px"),fontFamily:n.fontFamily,fontWeight:n.fontVariant,fontStyle:n.fontStyle,textTransform:n.textTransform,lineHeight:n.lineHeight&&"".concat(n.lineHeight,"px"),color:n.data[t].color,background:n.data[t].background,border:"".concat(n.data[t].borderSize,"px solid ").concat(n.data[t].border),borderRadius:"".concat(n.data[t].borderRadius,"px")},p,{padding:"".concat(n.data[t].paddingTopBottom,"px ").concat(n.data[t].paddingLeftRight,"px "),marginLeft:0===t?"0px":"".concat(n.spacing/2,"px"),marginRight:n.buttons===t+1?"0px":"".concat(n.spacing/2,"px")});return wp.element.createElement(se,null,wp.element.createElement("style",null,"#".concat(n.id," .wp-block-themeisle-blocks-button-").concat(t,":hover {\n\t\t\t\t\tcolor: ").concat(n.data[t].hoverColor?n.data[t].hoverColor:n.data[t].color," !important;\n\t\t\t\t\tbackground: ").concat(n.data[t].hoverBackground?n.data[t].hoverBackground:n.data[t].background," !important;\n\t\t\t\t\tborder: ").concat(n.data[t].borderSize,"px solid ").concat(n.data[t].hoverBorder?n.data[t].hoverBorder:n.data[t].border," !important;\n\t\t\t\t\t").concat(n.data[t].boxShadow&&"box-shadow: ".concat(n.data[t].hoverBoxShadowHorizontal,"px ").concat(n.data[t].hoverBoxShadowVertical,"px ").concat(n.data[t].hoverBoxShadowBlur,"px ").concat(n.data[t].hoverBoxShadowSpread,"px ").concat(oe()(n.data[t].hoverBoxShadowColor?n.data[t].hoverBoxShadowColor:"#000000",n.data[t].hoverBoxShadowColorOpacity)," !important;"),"\n\t\t\t\t}")),wp.element.createElement("div",{style:d,className:r()("wp-block-themeisle-blocks-button","wp-block-themeisle-blocks-button-".concat(t)),onClick:function(){c(!0),a(t)},onBlur:function(){return c(!1)}},("left"===n.data[t].iconType||"only"===n.data[t].iconType)&&wp.element.createElement("i",{className:r()(n.data[t].prefix,"fa-fw","fa-".concat(n.data[t].icon),{"margin-right":"left"===n.data[t].iconType})}),"only"!==n.data[t].iconType&&wp.element.createElement(de,{placeholder:pe("Add text…"),value:n.data[t].text,onChange:function(e){return l({text:e},t)},tagName:"div",keepPlaceholderOnFocus:i,withoutInteractiveFormatting:!0}),"right"===n.data[t].iconType&&wp.element.createElement("i",{className:"".concat(n.data[t].prefix," fa-fw fa-").concat(n.data[t].icon," margin-left")})))};function ge(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function he(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function we(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function ye(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var fe=wp.i18n.__,ve=lodash.times,ke=wp.components.IconButton,Te=wp.element,Ee=Te.Fragment,xe=Te.useEffect,Ce=Te.useState,Se=function(e){var t=e.attributes,n=e.setAttributes,a=e.className,l=e.isSelected,o=e.clientId;xe((function(){i()}),[]);var i=function(){if(void 0===t.id||t.id.substr(t.id.length-8)!==o.substr(0,8)){var e="wp-block-themeisle-blocks-button-group-".concat(o.substr(0,8));n({id:e})}},c=ye(Ce(0),2),p=c[0],d=c[1],m=ye(Ce(!1),2),s=m[0],u=m[1],g=function(e){d(e),u(!0),setTimeout((function(){u(!1)}),500)},h=function(e){if(1<=e&&5>=e){if(t.data.length<e){var a=we(t.data);ve(e-t.data.length,(function(e){a.push({text:t.data[0].text,link:t.data[0].link,newTab:t.data[0].newTab,color:t.data[0].color,border:t.data[0].border,background:t.data[0].background,hoverColor:t.data[0].hoverColor,hoverBackground:t.data[0].hoverBackground,hoverBorder:t.data[0].hoverBorder,borderSize:t.data[0].borderSize,borderRadius:t.data[0].borderRadius,boxShadow:t.data[0].boxShadow,boxShadowColor:t.data[0].boxShadowColor,boxShadowColorOpacity:t.data[0].boxShadowColorOpacity,boxShadowBlur:t.data[0].boxShadowBlur,boxShadowSpread:t.data[0].boxShadowSpread,boxShadowHorizontal:t.data[0].boxShadowHorizontal,boxShadowVertical:t.data[0].boxShadowVertical,hoverBoxShadowColor:t.data[0].hoverBoxShadowColor,hoverBoxShadowColorOpacity:t.data[0].hoverBoxShadowColorOpacity,hoverBoxShadowBlur:t.data[0].hoverBoxShadowBlur,hoverBoxShadowSpread:t.data[0].hoverBoxShadowSpread,hoverBoxShadowHorizontal:t.data[0].hoverBoxShadowHorizontal,hoverBoxShadowVertical:t.data[0].hoverBoxShadowVertical,iconType:t.data[0].iconType,prefix:t.data[0].prefix,icon:t.data[0].icon,paddingTopBottom:t.data[0].paddingTopBottom,paddingLeftRight:t.data[0].paddingLeftRight})})),n({data:a})}n({buttons:e}),d(0)}},w=function(e){n({fontSize:e})},y=function(e){n({fontFamily:e,fontVariant:"normal",fontStyle:"normal"})},f=function(e){n({fontVariant:e})},v=function(e){n({fontStyle:e})},k=function(e){n({textTransform:e})},T=function(e){n({lineHeight:e})},E=function(e,a){var l=t.data.map((function(t,n){return a===n&&(t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ge(Object(n),!0).forEach((function(t){he(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ge(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t,{},e)),t}));n({data:l})},x="collapse-none"!==t.collapse?t.collapse:"";return wp.element.createElement(Ee,null,t.fontFamily&&wp.element.createElement(b.a,{fonts:[{font:t.fontFamily,weights:t.fontVariant&&["".concat(t.fontVariant+("italic"===t.fontStyle?":i":""))]}]}),wp.element.createElement(S,{attributes:t,setAttributes:n,changeFontSize:w,changeFontFamily:y,changeFontVariant:f,changeFontStyle:v,changeTextTransform:k,changeLineHeight:T}),wp.element.createElement(ae,{attributes:t,setAttributes:n,selectedButton:p,wait:s,changeButtons:h,changeButton:g,updateButton:E,changeFontSize:w,changeFontFamily:y,changeFontVariant:f,changeFontStyle:v,changeTextTransform:k,changeLineHeight:T}),wp.element.createElement("div",{id:t.id,className:r()(a,x),style:{justifyContent:t.align,alignItems:t.align?t.align:"flex-start"}},ve(t.buttons,(function(e){return wp.element.createElement(be,{index:e,attributes:t,isSelected:l,changeButton:g,updateButton:E})})),l&&4>=t.buttons&&wp.element.createElement(ke,{className:"wp-block-themeisle-blocks-button-inserter",icon:"plus-alt",onClick:function(){return h(t.buttons+1)},label:fe("Add Button")})))},Be=wp.blockEditor.RichText,Me=wp.element.Fragment,Oe=function(e){var t=e.index,n=e.attributes,a={fontSize:"".concat(n.fontSize,"px"),fontFamily:n.fontFamily,fontWeight:n.fontVariant,fontStyle:n.fontStyle,textTransform:n.textTransform,lineHeight:n.lineHeight&&"".concat(n.lineHeight,"px"),borderWidth:"".concat(n.data[t].borderSize,"px"),borderRadius:"".concat(n.data[t].borderRadius,"px"),padding:"".concat(n.data[t].paddingTopBottom,"px ").concat(n.data[t].paddingLeftRight,"px ")};return wp.element.createElement(Me,null,wp.element.createElement("a",{href:n.data[t].link,target:n.data[t].newTab?"_blank":"_self",className:r()("wp-block-themeisle-blocks-button","wp-block-themeisle-blocks-button-".concat(t)),style:a,rel:"noopener noreferrer"},("left"===n.data[t].iconType||"only"===n.data[t].iconType)&&wp.element.createElement("i",{className:r()(n.data[t].prefix,"fa-fw","fa-".concat(n.data[t].icon),{"margin-right":"left"===n.data[t].iconType})}),"only"!==n.data[t].iconType&&wp.element.createElement(Be.Content,{tagName:"span",value:n.data[t].text}),"right"===n.data[t].iconType&&wp.element.createElement("i",{className:"".concat(n.data[t].prefix," fa-fw fa-").concat(n.data[t].icon," margin-left")})))},Ne=lodash.times,Re=function(e){var t=e.attributes,n=e.className,a="collapse-none"!==t.collapse?t.collapse:"";return wp.element.createElement("div",{id:t.id,className:r()(n,a),style:{justifyContent:t.align,alignItems:t.align?t.align:"flex-start"}},Ne(t.buttons,(function(e){return wp.element.createElement(Oe,{index:e,attributes:t})})))},Le=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/button-group",{title:Le("Button Group"),description:Le("Prompt visitors to take action with a button group."),icon:a.d,category:"themeisle-blocks",keywords:[Le("buttons"),Le("button group"),Le("advanced buttons")],attributes:l,deprecated:s,edit:Se,save:Re})},function(e,t,n){"use strict";n.r(t);n(43),n(44),n(45);var a=n(2),l={id:{type:"string"},content:{type:"string",source:"html",selector:"h1,h2,h3,h4,h5,h6,div,p,span",default:""},tag:{default:"h2",type:"string"},align:{type:"string"},alignTablet:{type:"string"},alignMobile:{type:"string"},headingColor:{type:"string",default:"#000000"},highlightColor:{type:"string"},highlightBackground:{type:"string"},fontSize:{type:"number"},fontSizeTablet:{type:"number"},fontSizeMobile:{type:"number"},fontFamily:{type:"string"},fontVariant:{type:"string"},fontStyle:{type:"string",default:"normal"},textTransform:{type:"string",default:"none"},lineHeight:{type:"number"},letterSpacing:{type:"number"},textShadow:{type:"boolean",default:!1},textShadowColor:{type:"string",default:"#000000"},textShadowColorOpacity:{type:"number",default:50},textShadowBlur:{type:"number",default:5},textShadowHorizontal:{type:"number",default:0},textShadowVertical:{type:"number",default:0},paddingType:{type:"string",default:"linked"},paddingTypeTablet:{type:"string",default:"linked"},paddingTypeMobile:{type:"string",default:"linked"},padding:{type:"number",default:0},paddingTablet:{type:"number",default:0},paddingMobile:{type:"number",default:0},paddingTop:{type:"number",default:0},paddingTopTablet:{type:"number",default:0},paddingTopMobile:{type:"number",default:0},paddingRight:{type:"number",default:0},paddingRightTablet:{type:"number",default:0},paddingRightMobile:{type:"number",default:0},paddingBottom:{type:"number",default:0},paddingBottomTablet:{type:"number",default:0},paddingBottomMobile:{type:"number",default:0},paddingLeft:{type:"number",default:0},paddingLeftTablet:{type:"number",default:0},paddingLeftMobile:{type:"number",default:0},marginType:{type:"string",default:"unlinked"},marginTypeTablet:{type:"string",default:"unlinked"},marginTypeMobile:{type:"string",default:"unlinked"},margin:{type:"number",default:0},marginTablet:{type:"number",default:0},marginMobile:{type:"number",default:0},marginTop:{type:"number",default:0},marginTopTablet:{type:"number",default:0},marginTopMobile:{type:"number",default:0},marginBottom:{type:"number",default:25},marginBottomTablet:{type:"number",default:25},marginBottomMobile:{type:"number",default:20}},o=wp.blocks.createBlock,r={from:[{type:"block",blocks:["core/heading"],transform:function(e){var t=e.content;return o("themeisle-blocks/advanced-heading",{content:t})}},{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return o("themeisle-blocks/advanced-heading",{content:t})}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return o("core/paragraph",{content:t})}}]},i=n(0),c=n.n(i),p=n(3),d=n.n(p),m=n(19),s=n.n(m),u=n(10),b=wp.i18n.__,g=wp.components,h=(g.Button,g.Dropdown),w=g.DropdownMenu,y=g.IconButton,f=g.RangeControl,v=g.SVG,k=g.Toolbar,T=wp.blockEditor.BlockControls,E=wp.element.Fragment,x=function(e){var t=e.attributes,n=e.setAttributes,a=e.changeFontFamily,l=e.changeFontVariant,o=e.changeFontStyle,r=e.changeTextTransform,i=e.changeLineHeight,c=e.changeLetterSpacing,p=function(e){return"h1"===e?wp.element.createElement(v,{style:{width:"25px",height:"20px"}},wp.element.createElement("text",{style:{fontSize:"12px"},x:"0",y:"15"},"H1")):"h2"===e?wp.element.createElement(v,{style:{width:"25px",height:"20px"}},wp.element.createElement("text",{style:{fontSize:"12px"},x:"0",y:"15"},"H2")):"h3"===e?wp.element.createElement(v,{style:{width:"25px",height:"20px"}},wp.element.createElement("text",{style:{fontSize:"12px"},x:"0",y:"15"},"H3")):"h4"===e?wp.element.createElement(v,{style:{width:"25px",height:"20px"}},wp.element.createElement("text",{style:{fontSize:"12px"},x:"0",y:"15"},"H4")):"h5"===e?wp.element.createElement(v,{style:{width:"25px",height:"20px"}},wp.element.createElement("text",{style:{fontSize:"12px"},x:"0",y:"15"},"H5")):"h6"===e?wp.element.createElement(v,{style:{width:"25px",height:"20px"}},wp.element.createElement("text",{style:{fontSize:"12px"},x:"0",y:"15"},"H6")):"div"===e?wp.element.createElement(v,{style:{width:"25px",height:"20px"}},wp.element.createElement("text",{style:{fontSize:"12px"},x:"0",y:"15"},"DIV")):"p"===e?wp.element.createElement(v,{style:{width:"25px",height:"20px"}},wp.element.createElement("text",{x:"0",y:"15"},"P")):"span"===e?wp.element.createElement(v,{style:{width:"25px",height:"20px"}},wp.element.createElement("text",{style:{fontSize:"12px"},x:"0",y:"15"},"SPAN")):void 0},d=function(e){n({tag:e})};return wp.element.createElement(T,null,wp.element.createElement(w,{icon:p(t.tag),label:b("Select tag"),className:"components-toolbar",controls:[{title:b("Heading 1"),icon:p("h1"),onClick:function(){return d("h1")}},{title:b("Heading 2"),icon:p("h2"),onClick:function(){return d("h2")}},{title:b("Heading 3"),icon:p("h3"),onClick:function(){return d("h3")}},{title:b("Heading 4"),icon:p("h4"),onClick:function(){return d("h4")}},{title:b("Heading 5"),icon:p("h5"),onClick:function(){return d("h5")}},{title:b("Heading 6"),icon:p("h6"),onClick:function(){return d("h6")}},{title:b("Division"),icon:p("div"),onClick:function(){return d("div")}},{title:b("Paragraph"),icon:p("p"),onClick:function(){return d("p")}},{title:b("Span Tag"),icon:p("span"),onClick:function(){return d("span")}}]}),wp.element.createElement(k,{className:"wp-themesiel-blocks-advanced-heading-components-toolbar"},wp.element.createElement(h,{contentClassName:"wp-themesiel-blocks-advanced-heading-popover-content",position:"bottom center",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return wp.element.createElement(y,{className:"components-dropdown-menu__toggle",icon:"editor-textcolor",onClick:n,"aria-haspopup":"true","aria-expanded":t,label:b("Typography Settings"),tooltip:b("Typography Settings")},wp.element.createElement("span",{className:"components-dropdown-menu__indicator"}))},renderContent:function(){return wp.element.createElement(E,null,wp.element.createElement(u.a,{label:b("Font Family"),value:t.fontFamily,onChangeFontFamily:a,isSelect:!0,valueVariant:t.fontVariant,onChangeFontVariant:l,valueStyle:t.fontStyle,onChangeFontStyle:o,valueTransform:t.textTransform,onChangeTextTransform:r}),wp.element.createElement(f,{label:b("Line Height"),value:t.lineHeight,onChange:i,min:0,max:200}),wp.element.createElement(f,{label:b("Letter Spacing"),value:t.letterSpacing,onChange:c,min:-50,max:100}))}})))},C=n(7),S=n(6),B=n(5);function M(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function O(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var N=wp.i18n.__,R=wp.components,L=R.Button,z=R.Dashicon,_=R.PanelBody,P=R.RangeControl,H=R.ToggleControl,A=(R.Toolbar,wp.blockEditor),I=A.AlignmentToolbar,F=A.ColorPalette,V=A.InspectorControls,j=wp.element,G=j.Fragment,D=j.useState,W=function(e){var t=e.attributes,n=e.setAttributes,a=e.changeFontFamily,l=e.changeFontVariant,o=e.changeFontStyle,r=e.changeTextTransform,i=e.changeLineHeight,p=e.changeLetterSpacing,d=e.fontSizeViewType,m=e.setFontSizeViewType,s=e.alignmentViewType,b=e.setAlignmentViewType,g=e.paddingViewType,h=e.setPaddingViewType,w=e.marginViewType,y=e.setMarginViewType,f=O(D("style"),2),v=f[0],k=f[1],T=function(){var e;return"desktop"===d&&(e=t.fontSize),"tablet"===d&&(e=t.fontSizeTablet),"mobile"===d&&(e=t.fontSizeMobile),e};T=T();var E=function(){var e;return"desktop"===s&&(e=t.align),"tablet"===s&&(e=t.alignTablet),"mobile"===s&&(e=t.alignMobile),e};E=E();var x=function(){var e;return"desktop"===g&&(e=t.paddingType),"tablet"===g&&(e=t.paddingTypeTablet),"mobile"===g&&(e=t.paddingTypeMobile),e};x=x();var R={top:"paddingTop",right:"paddingRight",bottom:"paddingBottom",left:"paddingLeft"},A={top:"paddingTopTablet",right:"paddingRightTablet",bottom:"paddingBottomTablet",left:"paddingLeftTablet"},j={top:"paddingTopMobile",right:"paddingRightMobile",bottom:"paddingBottomMobile",left:"paddingLeftMobile"},W=function(e){var n;return"top"==e&&("desktop"===g&&(n="linked"===t.paddingType?t.padding:t.paddingTop),"tablet"===g&&(n="linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingTopTablet),"mobile"===g&&(n="linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingTopMobile)),"right"==e&&("desktop"===g&&(n="linked"===t.paddingType?t.padding:t.paddingRight),"tablet"===g&&(n="linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingRightTablet),"mobile"===g&&(n="linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingRightMobile)),"bottom"==e&&("desktop"===g&&(n="linked"===t.paddingType?t.padding:t.paddingBottom),"tablet"===g&&(n="linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingBottomTablet),"mobile"===g&&(n="linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingBottomMobile)),"left"==e&&("desktop"===g&&(n="linked"===t.paddingType?t.padding:t.paddingLeft),"tablet"===g&&(n="linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingLeftTablet),"mobile"===g&&(n="linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingLeftMobile)),n},q=function(){var e;return"desktop"===w&&(e=t.marginType),"tablet"===w&&(e=t.marginTypeTablet),"mobile"===w&&(e=t.marginTypeMobile),e};q=q();var Z={top:"marginTop",bottom:"marginBottom"},U={top:"marginTopTablet",bottom:"marginBottomTablet"},K={top:"marginTopMobile",bottom:"marginBottomMobile"},Q=function(e){var n;return"top"==e&&("desktop"===w&&(n="linked"===t.marginType?t.margin:t.marginTop),"tablet"===w&&(n="linked"===t.marginTypeTablet?t.marginTablet:t.marginTopTablet),"mobile"===w&&(n="linked"===t.marginTypeMobile?t.marginMobile:t.marginTopMobile)),"bottom"==e&&("desktop"===w&&(n="linked"===t.marginType?t.margin:t.marginBottom),"tablet"===w&&(n="linked"===t.marginTypeTablet?t.marginTablet:t.marginBottomTablet),"mobile"===w&&(n="linked"===t.marginTypeMobile?t.marginMobile:t.marginBottomMobile)),n};return wp.element.createElement(V,null,wp.element.createElement(_,{className:"wp-block-themeisle-blocks-advanced-heading-header-panel"},wp.element.createElement(L,{className:c()("header-tab",{"is-selected":"style"===v}),onClick:function(){return k("style")}},wp.element.createElement("span",null,wp.element.createElement(z,{icon:"admin-customizer"}),N("Style"))),wp.element.createElement(L,{className:c()("header-tab",{"is-selected":"advanced"===v}),onClick:function(){return k("advanced")}},wp.element.createElement("span",null,wp.element.createElement(z,{icon:"admin-generic"}),N("Advanced")))),"style"===v&&wp.element.createElement(G,null,wp.element.createElement(_,{title:N("General Settings")},wp.element.createElement(G,null,wp.element.createElement("p",null,N("Heading Color")),wp.element.createElement(F,{label:"Heading Color",value:t.headingColor,onChange:function(e){n({headingColor:e})}})),wp.element.createElement(S.a,{label:"Font Size",view:d,changeViewType:m},wp.element.createElement(P,{value:T||"",onChange:function(e){"desktop"===d&&n({fontSize:e}),"tablet"===d&&n({fontSizeTablet:e}),"mobile"===d&&n({fontSizeMobile:e})},min:1,max:500})),wp.element.createElement(S.a,{label:"Alignment",view:s,changeViewType:b},wp.element.createElement(I,{value:E,onChange:function(e){"desktop"===s&&n({align:e}),"tablet"===s&&n({alignTablet:e}),"mobile"===s&&n({alignMobile:e})},isCollapsed:!1}))),wp.element.createElement(_,{title:N("Typography Settings"),initialOpen:!1},wp.element.createElement(u.a,{label:N("Font Family"),value:t.fontFamily,onChangeFontFamily:a,valueVariant:t.fontVariant,onChangeFontVariant:l,valueStyle:t.fontStyle,onChangeFontStyle:o,valueTransform:t.textTransform,onChangeTextTransform:r}),wp.element.createElement(P,{label:N("Line Height"),value:t.lineHeight,onChange:i,min:0,max:200}),wp.element.createElement(P,{label:N("Letter Spacing"),value:t.letterSpacing,onChange:p,min:-50,max:100}),wp.element.createElement(H,{label:"Shadow Properties",checked:t.textShadow,onChange:function(e){n({textShadow:e})}}),t.textShadow&&wp.element.createElement(G,null,wp.element.createElement(G,null,wp.element.createElement("p",null,N("Color")),wp.element.createElement(F,{label:N("Color"),value:t.textShadowColor,onChange:function(e){n({textShadowColor:e})}})),wp.element.createElement(C.a,{label:"Shadow Properties"},wp.element.createElement(P,{label:N("Opacity"),value:t.textShadowColorOpacity,onChange:function(e){n({textShadowColorOpacity:e})},min:0,max:100}),wp.element.createElement(P,{label:N("Blur"),value:t.textShadowBlur,onChange:function(e){n({textShadowBlur:e})},min:0,max:100}),wp.element.createElement(P,{label:N("Horizontal"),value:t.textShadowHorizontal,onChange:function(e){n({textShadowHorizontal:e})},min:-100,max:100}),wp.element.createElement(P,{label:N("Vertical"),value:t.textShadowVertical,onChange:function(e){n({textShadowVertical:e})},min:-100,max:100})))))||"advanced"===v&&wp.element.createElement(G,null,wp.element.createElement(_,{title:N("Highlight Color")},wp.element.createElement(G,null,wp.element.createElement("p",null,N("Highlight Color")),wp.element.createElement(F,{label:"Highlight Color",value:t.highlightColor,onChange:function(e){n({highlightColor:e})}})),wp.element.createElement(G,null,wp.element.createElement("p",null,N("Highlight Background")),wp.element.createElement(F,{label:"Highlight Background",value:t.highlightBackground,onChange:function(e){n({highlightBackground:e})}}))),wp.element.createElement(_,{title:N("Spacing"),initialOpen:!1},wp.element.createElement(S.a,{label:"Padding",view:g,changeViewType:h},wp.element.createElement(B.a,{type:x,min:0,max:500,changeType:function(e){"desktop"===g&&n({paddingType:e}),"tablet"===g&&n({paddingTypeTablet:e}),"mobile"===g&&n({paddingTypeMobile:e})},onChange:function(e,a){"desktop"===g&&("linked"===t.paddingType?n({padding:a}):n(M({},R[e],a))),"tablet"===g&&("linked"===t.paddingTypeTablet?n({paddingTablet:a}):n(M({},A[e],a))),"mobile"===g&&("linked"===t.paddingTypeMobile?n({paddingMobile:a}):n(M({},j[e],a)))},options:[{label:N("Top"),type:"top",value:W("top")},{label:N("Right"),type:"right",value:W("right")},{label:N("Bottom"),type:"bottom",value:W("bottom")},{label:N("Left"),type:"left",value:W("left")}]})),wp.element.createElement(S.a,{label:"Margin",view:w,changeViewType:y},wp.element.createElement(B.a,{type:q,min:-500,max:500,changeType:function(e){"desktop"===w&&n({marginType:e}),"tablet"===w&&n({marginTypeTablet:e}),"mobile"===w&&n({marginTypeMobile:e})},onChange:function(e,a){"desktop"===w&&("linked"===t.marginType?n({margin:a}):n(M({},Z[e],a))),"tablet"===w&&("linked"===t.marginTypeTablet?n({marginTablet:a}):n(M({},U[e],a))),"mobile"===w&&("linked"===t.marginTypeMobile?n({marginMobile:a}):n(M({},K[e],a)))},options:[{label:N("Top"),type:"top",value:Q("top")},{label:N("Right"),disabled:!0},{label:N("Bottom"),type:"bottom",value:Q("bottom")},{label:N("Left"),disabled:!0}]})))))};function q(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Z(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function U(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var K=wp.i18n.__,Q=wp.blocks.createBlock,Y=wp.blockEditor.RichText,J=wp.element,X=J.Fragment,$=J.useEffect,ee=J.useState,te=(0,wp.viewport.withViewportMatch)({isLarger:">= large",isLarge:"<= large",isSmall:">= small",isSmaller:"<= small"})((function(e){var t=e.attributes,n=e.setAttributes,a=e.className,l=e.clientId,o=e.mergeBlocks,r=e.insertBlocksAfter,i=e.onReplace,p=e.isLarger,m=e.isLarge,u=e.isSmall,b=e.isSmaller;$((function(){y()}),[]);var g,h,w,y=function(){if(void 0===t.id||t.id.substr(t.id.length-8)!==l.substr(0,8)){var e="wp-block-themeisle-blocks-advanced-heading-".concat(l.substr(0,8));n({id:e})}},f=U(ee("desktop"),2),v=f[0],k=f[1],T=U(ee("desktop"),2),E=T[0],C=T[1],S=U(ee("desktop"),2),B=S[0],M=S[1],O=U(ee("desktop"),2),N=O[0],R=O[1],L=!p&&!m&&u&&!b,z=!(p||m||u||b),_=function(e){n({fontFamily:e,fontVariant:"normal",fontStyle:"normal"})},P=function(e){n({fontVariant:e})},H=function(e){n({fontStyle:e})},A=function(e){n({textTransform:e})},I=function(e){n({lineHeight:e})},F=function(e){n({letterSpacing:e})};p&&!m&&u&&!b&&(g={fontSize:"".concat(t.fontSize,"px")},h={textAlign:t.align,paddingTop:"linked"===t.paddingType?"".concat(t.padding,"px"):"".concat(t.paddingTop,"px"),paddingRight:"linked"===t.paddingType?"".concat(t.padding,"px"):"".concat(t.paddingRight,"px"),paddingBottom:"linked"===t.paddingType?"".concat(t.padding,"px"):"".concat(t.paddingBottom,"px"),paddingLeft:"linked"===t.paddingType?"".concat(t.padding,"px"):"".concat(t.paddingLeft,"px"),marginTop:"linked"===t.marginType?"".concat(t.margin,"px"):"".concat(t.marginTop,"px"),marginBottom:"linked"===t.marginType?"".concat(t.margin,"px"):"".concat(t.marginBottom,"px")}),L&&(g={fontSize:"".concat(t.fontSizeTablet,"px")},h={textAlign:t.alignTablet,paddingTop:"linked"===t.paddingTypeTablet?"".concat(t.paddingTablet,"px"):"".concat(t.paddingTopTablet,"px"),paddingRight:"linked"===t.paddingTypeTablet?"".concat(t.paddingTablet,"px"):"".concat(t.paddingRightTablet,"px"),paddingBottom:"linked"===t.paddingTypeTablet?"".concat(t.paddingTablet,"px"):"".concat(t.paddingBottomTablet,"px"),paddingLeft:"linked"===t.paddingTypeTablet?"".concat(t.paddingTablet,"px"):"".concat(t.paddingLeftTablet,"px"),marginTop:"linked"===t.marginTypeTablet?"".concat(t.marginTablet,"px"):"".concat(t.marginTopTablet,"px"),marginBottom:"linked"===t.marginTypeTablet?"".concat(t.marginTablet,"px"):"".concat(t.marginBottomTablet,"px")}),z&&(g={fontSize:"".concat(t.fontSizeMobile,"px")},h={textAlign:t.alignMobile,paddingTop:"linked"===t.paddingTypeMobile?"".concat(t.paddingMobile,"px"):"".concat(t.paddingTopMobile,"px"),paddingRight:"linked"===t.paddingTypeMobile?"".concat(t.paddingMobile,"px"):"".concat(t.paddingRightMobile,"px"),paddingBottom:"linked"===t.paddingTypeMobile?"".concat(t.paddingMobile,"px"):"".concat(t.paddingBottomMobile,"px"),paddingLeft:"linked"===t.paddingTypeMobile?"".concat(t.paddingMobile,"px"):"".concat(t.paddingLeftMobile,"px"),marginTop:"linked"===t.marginTypeMobile?"".concat(t.marginMobile,"px"):"".concat(t.marginTopMobile,"px"),marginBottom:"linked"===t.marginTypeMobile?"".concat(t.marginMobile,"px"):"".concat(t.marginBottomMobile,"px")}),t.textShadow&&(w={textShadow:"".concat(t.textShadowHorizontal,"px ").concat(t.textShadowVertical,"px ").concat(t.textShadowBlur,"px ").concat(d()(t.textShadowColor?t.textShadowColor:"#000000",t.textShadowColorOpacity))});var V=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?q(Object(n),!0).forEach((function(t){Z(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):q(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({color:t.headingColor},g,{fontFamily:t.fontFamily?t.fontFamily:"inherit",fontWeight:"regular"===t.fontVariant?"normal":t.fontVariant,fontStyle:t.fontStyle,textTransform:t.textTransform,lineHeight:t.lineHeight&&"".concat(t.lineHeight,"px"),letterSpacing:t.letterSpacing&&"".concat(t.letterSpacing,"px")},h,{},w);return wp.element.createElement(X,null,wp.element.createElement("style",null,".".concat(t.id," mark {\n\t\t\t\t\t\tcolor: ").concat(t.highlightColor,";\n\t\t\t\t\t\tbackground: ").concat(t.highlightBackground,";\n\t\t\t\t\t}")),t.fontFamily&&wp.element.createElement(s.a,{fonts:[{font:t.fontFamily,weights:t.fontVariant&&["".concat(t.fontVariant+("italic"===t.fontStyle?":i":""))]}]}),wp.element.createElement(x,{attributes:t,setAttributes:n,changeFontFamily:_,changeFontVariant:P,changeFontStyle:H,changeTextTransform:A,changeLineHeight:I,changeLetterSpacing:F}),wp.element.createElement(W,{attributes:t,setAttributes:n,changeFontFamily:_,changeFontVariant:P,changeFontStyle:H,changeTextTransform:A,changeLineHeight:I,changeLetterSpacing:F,fontSizeViewType:v,setFontSizeViewType:k,alignmentViewType:E,setAlignmentViewType:C,paddingViewType:B,setPaddingViewType:M,marginViewType:N,setMarginViewType:R}),wp.element.createElement(Y,{identifier:"content",className:c()(t.id,a),value:t.content,placeholder:K("Write heading…"),tagName:t.tag,formattingControls:["bold","italic","link","strikethrough","mark"],allowedFormats:["core/bold","core/italic","core/link","core/strikethrough","themeisle-blocks/mark"],onMerge:o,unstableOnSplit:r?function(e,t){n({content:e});for(var a=arguments.length,l=new Array(a>2?a-2:0),o=2;o<a;o++)l[o-2]=arguments[o];r([].concat(l,[Q("core/paragraph",{content:t})]))}:void 0,onRemove:function(){return i([])},style:V,onChange:function(e){n({content:e})}}))}));function ne(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function ae(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var le=wp.blockEditor.RichText,oe=function(e){var t,n=e.attributes,a=e.className;n.textShadow&&(t={textShadow:"".concat(n.textShadowHorizontal,"px ").concat(n.textShadowVertical,"px ").concat(n.textShadowBlur,"px ").concat(d()(n.textShadowColor?n.textShadowColor:"#000000",n.textShadowColorOpacity))});var l=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ne(Object(n),!0).forEach((function(t){ae(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ne(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({color:n.headingColor,fontFamily:n.fontFamily,fontWeight:"regular"===n.fontVariant?"normal":n.fontVariant,fontStyle:n.fontStyle,textTransform:n.textTransform,lineHeight:n.lineHeight&&"".concat(n.lineHeight,"px"),letterSpacing:n.letterSpacing&&"".concat(n.letterSpacing,"px")},t);return wp.element.createElement(le.Content,{tagName:n.tag,value:n.content,id:n.id,className:c()(n.id,a),style:l})},re=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/advanced-heading",{title:re("Advanced Heading"),description:re("Advanced Heading gives a spin to editor's Heading block with much needed customization options."),icon:a.h,category:"themeisle-blocks",keywords:[re("heading"),re("title"),re("advanced heading")],attributes:l,transforms:r,edit:te,save:oe})},function(e,t,n){"use strict";n.r(t);n(55),n(56);var a=n(2),l={id:{type:"string"},align:{type:"string"},prefix:{type:"string",default:"fab"},icon:{type:"string",default:"themeisle"},link:{type:"string"},newTab:{type:"boolean",default:!1},fontSize:{type:"number",default:16},padding:{type:"number",default:5},margin:{type:"number",default:5},backgroundColor:{type:"string"},textColor:{type:"string"},borderColor:{type:"string"},backgroundColorHover:{type:"string"},textColorHover:{type:"string"},borderColorHover:{type:"string"},borderSize:{type:"number",default:0},borderRadius:{type:"number",default:0}};function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var i=[{attributes:{align:{type:"string"},prefix:{type:"string",default:"fab"},icon:{type:"string",default:"themeisle"},fontSize:{type:"number",default:16},padding:{type:"number",default:5},margin:{type:"number",default:5},backgroundColor:{type:"string"},textColor:{type:"string"},borderColor:{type:"string"},borderSize:{type:"number",default:0},borderRadius:{type:"number",default:0}},save:function(e){var t={borderRadius:e.attributes.borderRadius+"%",fontSize:e.attributes.fontSize+"px",padding:e.attributes.padding+"px"},n={color:e.attributes.textColor,backgroundColor:e.attributes.backgroundColor,borderColor:e.attributes.borderColor,borderRadius:e.attributes.borderRadius+"%",borderStyle:"solid",borderWidth:e.attributes.borderSize+"px",display:"inline-block",margin:e.attributes.margin+"px"};return wp.element.createElement("p",{className:e.className,style:{textAlign:e.attributes.align}},wp.element.createElement("span",{className:"undefined-container",style:n},wp.element.createElement("i",{className:"".concat(e.attributes.prefix," fa-").concat(e.attributes.icon),style:t})))}},{attributes:{prefix:{type:"string",default:"fab"},icon:{type:"string",default:"themeisle"},fontSize:{type:"number",default:16},padding:{type:"number",default:5},margin:{type:"number",default:5},backgroundColor:{type:"string"},textColor:{type:"string"},borderColor:{type:"string"},borderSize:{type:"number",default:0},borderRadius:{type:"number",default:0}},supports:{align:["left","center","right"]},migrate:function(e){var t="center";return e.className.includes("alignleft")&&(t="left"),e.className.includes("aligncenter")&&(t="center"),e.className.includes("alignright")&&(t="right"),function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e,{align:t,className:""})},save:function(e){var t={borderRadius:e.attributes.borderRadius+"%",fontSize:e.attributes.fontSize+"px",padding:e.attributes.padding+"px"},n={color:e.attributes.textColor,backgroundColor:e.attributes.backgroundColor,borderColor:e.attributes.borderColor,borderRadius:e.attributes.borderRadius+"%",borderStyle:"solid",borderWidth:e.attributes.borderSize+"px",display:"inline-block",margin:e.attributes.margin+"px"};return wp.element.createElement("p",{className:e.className,style:{textAlign:e.attributes.align}},wp.element.createElement("span",{className:"".concat(e.className,"-container"),style:n},wp.element.createElement("i",{className:"".concat(e.attributes.prefix," fa-").concat(e.attributes.icon),style:t})))}}],c=wp.i18n.__,p=wp.blockEditor,d=p.AlignmentToolbar,m=p.BlockControls,s=function(e){var t=e.attributes,n=e.setAttributes;return wp.element.createElement(m,null,wp.element.createElement(d,{value:t.align,onChange:function(e){n({align:e})},alignmentControls:[{icon:"editor-alignleft",title:c("Align left"),align:"left"},{icon:"editor-aligncenter",title:c("Align center"),align:"center"},{icon:"editor-alignright",title:c("Align right"),align:"right"}]}))},u=n(20);function b(e){return(b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function g(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var h=wp.i18n.__,w=wp.components,y=w.BaseControl,f=w.Button,v=w.ButtonGroup,k=w.PanelBody,T=w.Placeholder,E=w.RangeControl,x=w.Spinner,C=w.ToggleControl,S=wp.blockEditor,B=S.ColorPalette,M=S.ContrastChecker,O=S.InspectorControls,N=wp.element,R=N.Fragment,L=N.useState,z=React.lazy((function(){return Promise.all([n.e(0),n.e(1)]).then(n.bind(null,103))})),_=function(e){var t=e.attributes,n=e.setAttributes,a=g(L(!1),2),l=a[0],o=a[1];return wp.element.createElement(O,null,wp.element.createElement(k,{title:h("Icon Settings")},wp.element.createElement(React.Suspense,{fallback:wp.element.createElement(T,null,wp.element.createElement(x,null))},wp.element.createElement(z,{label:h("Icon Picker"),prefix:t.prefix,icon:t.icon,onChange:function(e){"object"===b(e)?n({icon:e.name,prefix:e.prefix}):n({icon:e})}})),wp.element.createElement(u.a,{label:h("Link"),placeholder:"https://…",value:t.link,onChange:function(e){n({link:e})}},wp.element.createElement(C,{label:"Open in New Tab?",checked:t.newTab,onChange:function(){n({newTab:!t.newTab})}}))),wp.element.createElement(k,{title:h("Icon Sizes"),className:"blocks-font-size",initialOpen:!1},wp.element.createElement(E,{label:h("Text Size"),value:t.fontSize||"",initialPosition:16,onChange:function(e){n({fontSize:e})},min:12,max:140,beforeIcon:"editor-textcolor",afterIcon:"editor-textcolor"}),wp.element.createElement(E,{label:h("Padding"),value:t.padding||"",initialPosition:5,onChange:function(e){n({padding:e})},min:0,max:100,beforeIcon:"minus",afterIcon:"plus"}),wp.element.createElement(E,{label:h("Margin"),value:t.margin||"",initialPosition:5,onChange:function(e){n({margin:e})},min:0,max:100,beforeIcon:"minus",afterIcon:"plus"})),wp.element.createElement(k,{title:h("Color"),initialOpen:!1},wp.element.createElement(v,{className:"wp-block-themeisle-blocks-font-awesome-icons-hover-control"},wp.element.createElement(f,{isDefault:!0,isLarge:!0,isPrimary:!l,onClick:function(){return o(!1)}},h("Normal")),wp.element.createElement(f,{isDefault:!0,isLarge:!0,isPrimary:l,onClick:function(){return o(!0)}},h("Hover"))),l?wp.element.createElement(R,null,wp.element.createElement(y,{label:"Hover Background"},wp.element.createElement(B,{label:"Hover Background",value:t.backgroundColorHover,onChange:function(e){n({backgroundColorHover:e})}})),wp.element.createElement(y,{label:"Hover Icon"},wp.element.createElement(B,{label:"Hover Icon",value:t.textColorHover,onChange:function(e){n({textColorHover:e})}})),wp.element.createElement(y,{label:"Hover Border"},wp.element.createElement(B,{label:"Hover Border",value:t.borderColorHover,onChange:function(e){n({borderColorHover:e})}})),wp.element.createElement(M,{textColor:t.textColorHover,backgroundColor:t.backgroundColorHover})):wp.element.createElement(R,null,wp.element.createElement(y,{label:"Background"},wp.element.createElement(B,{label:"Background",value:t.backgroundColor,onChange:function(e){n({backgroundColor:e})}})),wp.element.createElement(y,{label:"Icon"},wp.element.createElement(B,{label:"Icon",value:t.textColor,onChange:function(e){n({textColor:e})}})),wp.element.createElement(y,{label:"Border"},wp.element.createElement(B,{label:"Border",value:t.borderColor,onChange:function(e){n({borderColor:e})}})),wp.element.createElement(M,{textColor:t.textColor,backgroundColor:t.backgroundColor}))),wp.element.createElement(k,{title:h("Border Settings"),initialOpen:!1},wp.element.createElement(E,{label:h("Border Size"),value:t.borderSize,onChange:function(e){n({borderSize:e})},min:0,max:120,beforeIcon:"minus",afterIcon:"plus"}),wp.element.createElement(E,{label:h("Border Radius"),value:t.borderRadius,onChange:function(e){n({borderRadius:e})},min:0,max:100,beforeIcon:"grid-view",afterIcon:"marker"})))},P=(wp.i18n.__,wp.element),H=P.Fragment,A=P.useEffect,I=function(e){var t=e.attributes,n=e.setAttributes,a=e.className,l=e.clientId;A((function(){o()}),[]);var o=function(){if(void 0===t.id||t.id.substr(t.id.length-8)!==l.substr(0,8)){var e="wp-block-themeisle-blocks-font-awesome-icons-".concat(l.substr(0,8));n({id:e})}},r={borderRadius:t.borderRadius+"%",fontSize:t.fontSize+"px",padding:t.padding+"px"},i={color:t.textColor,backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderRadius:t.borderRadius+"%",borderStyle:"solid",borderWidth:t.borderSize+"px",display:"inline-block",margin:t.margin+"px"};return wp.element.createElement(H,null,wp.element.createElement(s,{attributes:t,setAttributes:n}),wp.element.createElement(_,{attributes:t,setAttributes:n}),wp.element.createElement("style",null,"#".concat(t.id," .").concat(a,"-container:hover {\n\t\t\t\t\t\tcolor: ").concat(t.textColorHover?t.textColorHover:t.textColor," !important;\n\t\t\t\t\t\tbackground: ").concat(t.backgroundColorHover?t.backgroundColorHover:t.backgroundColor," !important;\n\t\t\t\t\t\tborder-color: ").concat(t.borderColorHover?t.borderColorHover:t.borderColor," !important;\n\t\t\t\t\t}")),wp.element.createElement("p",{className:a,id:t.id,style:{textAlign:t.align}},wp.element.createElement("span",{className:"wp-block-themeisle-blocks-font-awesome-icons-container",style:i},wp.element.createElement("i",{className:"".concat(t.prefix," fa-").concat(t.icon),style:r}))))},F=function(e){var t=e.attributes,n=e.className,a={borderRadius:t.borderRadius+"%",borderStyle:"solid",borderWidth:t.borderSize+"px",display:"inline-block",margin:t.margin+"px"},l={borderRadius:t.borderRadius+"%",fontSize:t.fontSize+"px",padding:t.padding+"px"},o=function(){return wp.element.createElement("i",{className:"".concat(t.prefix," fa-").concat(t.icon),style:l})};return wp.element.createElement("p",{className:n,id:t.id,style:{textAlign:t.align}},wp.element.createElement("span",{className:"wp-block-themeisle-blocks-font-awesome-icons-container",style:a},t.link?wp.element.createElement("a",{href:t.link,target:t.newTab?"_blank":"_self",style:{color:t.textColor},rel:"noopener noreferrer"},wp.element.createElement(o,null)):wp.element.createElement(o,null)))},V=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/font-awesome-icons",{title:V("Font Awesome Icons"),description:V("Share buttons for your website visitors to share content on any social sharing service."),icon:a.g,category:"themeisle-blocks",keywords:["font awesome","dashicons","icons"],attributes:l,deprecated:i,edit:I,save:F})},function(e,t,n){"use strict";n.r(t);n(64),n(65);var a=n(2),l={style:{type:"string",default:"grid"},columns:{type:"number",default:3},template:{type:"array",default:["category","title","meta","description"]},categories:{type:"string"},postsToShow:{type:"number",default:5},order:{type:"string",default:"desc"},orderBy:{type:"string",default:"date"},imageSize:{type:"string",default:"full"},imageBoxShadow:{type:"boolean",default:!0},displayFeaturedImage:{type:"boolean",default:!0},displayCategory:{type:"boolean",default:!0},displayTitle:{type:"boolean",default:!0},titleTag:{type:"string",default:"h5"},displayMeta:{type:"boolean",default:!0},displayDescription:{type:"boolean",default:!0},excerptLength:{type:"number",default:100},displayDate:{type:"boolean",default:!0},displayAuthor:{type:"boolean",default:!0}},o=n(11),r=n(35),i=n.n(r),c=n(0),p=n.n(c),d=n(23);function m(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var s=lodash,u=s.startCase,b=s.toLower,g=wp.i18n.__,h=wp.components,w=h.IconButton,y=h.TextControl,f=h.SelectControl,v=h.ToggleControl,k=wp.element,T=k.Fragment,E=k.useState,x=Object(d.c)((function(){return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-posts-grid-builder-handle"},wp.element.createElement("span",null))})),C=function(e){var t,n=e.value,a=e.disabled,l=e.getFields,o=e.toggleFields,r=e.imageSize,i=e.titleTag,c=e.excerptLimit,d=m(E(!1),2),s=d[0],h=d[1],k=u(b(n)),C="hidden",S=g("Display ".concat(k));switch(l(n)&&(C="visibility",S=g("Hide ".concat(k))),n){case"image":case"title":case"meta":case"description":t=!0;break;default:t=!1}return wp.element.createElement("div",{className:p()("wp-block-themeisle-blocks-posts-grid-builder-item-area","wp-block-themeisle-blocks-posts-grid-builder-item-area-".concat(n))},wp.element.createElement("div",{className:p()("wp-block-themeisle-blocks-posts-grid-builder-item",{disabled:a,hidden:!l(n),editable:t})},!a&&wp.element.createElement(x,null),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-posts-grid-builder-label"},k),t&&wp.element.createElement(w,{icon:s?"arrow-up-alt2":"arrow-down-alt2",label:g(s?"Close Settings":"Open Settings"),className:"wp-block-themeisle-blocks-posts-grid-builder-button",onClick:function(){return h(!s)}}),wp.element.createElement(w,{icon:C,label:S,className:"wp-block-themeisle-blocks-posts-grid-builder-button",onClick:function(){o(n),h(!1)}})),t&&wp.element.createElement("div",{className:p()("wp-block-themeisle-blocks-posts-grid-builder-control-area",{opened:s&&l(n)})},"image"===n&&wp.element.createElement(T,null,wp.element.createElement(f,{label:g("Image Size"),value:r.value,options:[{label:g("Thumbnail"),value:"thumbnail"},{label:g("Medium"),value:"medium"},{label:g("Medium Large"),value:"medium_large"},{label:g("Large"),value:"large"},{label:g("Full"),value:"full"}],onChange:r.onChange}),wp.element.createElement(v,{label:"Display Box Shadow?",checked:l("imageBoxShadow"),onChange:function(){return o("imageBoxShadow")}})),"title"===n&&wp.element.createElement(f,{label:g("Title Tag"),value:i.value||"h5",options:[{label:g("H1"),value:"h1"},{label:g("H2"),value:"h2"},{label:g("H3"),value:"h3"},{label:g("H4"),value:"h4"},{label:g("H5"),value:"h5"},{label:g("H6"),value:"h6"}],onChange:i.onChange}),"description"===n&&wp.element.createElement(y,{label:g("Excerpt Limit"),type:"number",value:c.value,onChange:c.onChange}),"meta"===n&&wp.element.createElement(T,null,wp.element.createElement(v,{label:"Display Date?",checked:l("date"),onChange:function(){return o("date")}}),wp.element.createElement(v,{label:"Display Author?",checked:l("author"),onChange:function(){return o("author")}}))))},S=Object(d.b)((function(e){var t=e.value,n=e.disabled,a=e.getFields,l=e.toggleFields,o=e.titleTag,r=e.excerptLimit;return wp.element.createElement(C,{value:t,disabled:n,getFields:a,toggleFields:l,titleTag:o,excerptLimit:r})})),B=Object(d.a)((function(e){var t=e.template,n=e.getFields,a=e.toggleFields,l=e.titleTag,o=e.excerptLimit;return wp.element.createElement("div",null,t.map((function(e,t){return wp.element.createElement(S,{key:"item-".concat(t),index:t,value:e,getFields:n,toggleFields:a,titleTag:l,excerptLimit:o})})))}));function M(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var O=wp.i18n.__,N=wp.element,R=N.Fragment,L=N.useState,z=function(e){var t=e.attributes,n=e.setAttributes,a=e.getFields,l=e.toggleFields,o=e.imageSize,r=e.titleTag,c=e.excerptLimit,d=M(L(!1),2);d[0],d[1];return wp.element.createElement(R,null,wp.element.createElement("div",{className:p()("wp-block-themeisle-blocks-posts-grid-builder",t.style)},wp.element.createElement(C,{value:O("image"),disabled:!0,getFields:a,toggleFields:l,imageSize:o}),wp.element.createElement(B,{template:t.template,onSortEnd:function(e){var a=e.oldIndex,l=e.newIndex,o=i()(t.template,a,l);n({template:o})},getFields:a,toggleFields:l,titleTag:r,excerptLimit:c,useDragHandle:!0})))},_=n(18),P=wp.i18n.__,H=wp.components,A=H.PanelBody,I=H.QueryControls,F=H.RangeControl,V=wp.blockEditor.InspectorControls,j=(wp.element.Fragment,function(e){var t=e.attributes,n=e.setAttributes,a=e.changeStyle,l=e.categoriesList;return wp.element.createElement(V,null,wp.element.createElement(A,{title:P("Styles"),initialOpen:!1},wp.element.createElement(o.b,{value:t.style,options:[{label:P("Grid"),value:"grid",image:themeisleGutenberg.assetsPath+"/icons/posts-grid.jpg"},{label:P("List"),value:"list",image:themeisleGutenberg.assetsPath+"/icons/posts-list.jpg"}],onChange:a})),wp.element.createElement(A,{title:P("Settings")},"grid"===t.style&&wp.element.createElement(F,{label:P("Columns"),value:t.columns,onChange:function(e){n({columns:e})},min:1,max:5}),wp.element.createElement(I,{order:t.order,orderBy:t.orderBy,numberOfItems:t.postsToShow,categoriesList:l,selectedCategoryId:t.categories,onOrderChange:function(e){return n({order:e})},onOrderByChange:function(e){return n({orderBy:e})},onCategoryChange:function(e){return n({categories:""!==e?e:void 0})},onNumberOfItemsChange:function(e){return n({postsToShow:e})}})),wp.element.createElement(A,{title:P("Design & Layout"),initialOpen:!1},wp.element.createElement(z,{attributes:t,getFields:function(e){return"image"===e?t.displayFeaturedImage:"imageBoxShadow"===e?t.imageBoxShadow:"category"===e?t.displayCategory:"title"===e?t.displayTitle:"meta"===e?t.displayMeta:"description"===e?t.displayDescription:"date"===e?t.displayDate:"author"===e?t.displayAuthor:void 0},toggleFields:function(e){"image"===e&&n({displayFeaturedImage:!t.displayFeaturedImage}),"imageBoxShadow"===e&&n({imageBoxShadow:!t.imageBoxShadow}),"category"===e&&n({displayCategory:!t.displayCategory}),"title"===e&&n({displayTitle:!t.displayTitle}),"meta"===e&&n({displayMeta:!t.displayMeta}),"description"===e&&n({displayDescription:!t.displayDescription}),"date"===e&&n({displayDate:!t.displayDate}),"author"===e&&n({displayAuthor:!t.displayAuthor})},setAttributes:n,imageSize:{value:t.imageSize,onChange:function(e){n({imageSize:e})}},titleTag:{value:t.titleTag,onChange:function(e){n({titleTag:e})}},excerptLimit:{value:t.excerptLength,onChange:function(e){n({excerptLength:e})}}})))}),G=lodash,D=G.isUndefined,W=G.pickBy,q=wp.i18n.__,Z=wp.components,U=Z.Disabled,K=Z.Placeholder,Q=Z.Spinner,Y=wp.data.withSelect,J=wp.element.Fragment,X=Y((function(e,t){var n=t.attributes,a=n.categories,l=n.order,o=n.orderBy,r=n.postsToShow,i=W({categories:a,order:l,orderby:o,per_page:r},(function(e){return!D(e)}));return{posts:e("core").getEntityRecords("postType","post",i),categoriesList:e("core").getEntityRecords("taxonomy","category",{per_page:100}),authors:e("core").getAuthors()}}))((function(e){var t=e.attributes,n=e.setAttributes,a=e.className,l=e.posts,r=e.categoriesList,i=e.authors,c=function(e){n({style:e})};return l&&r&&i?0===l.length?wp.element.createElement(K,null,q("No Posts")):wp.element.createElement(J,null,wp.element.createElement(o.a,{label:q("Block Styles"),value:t.style,options:[{label:q("Grid"),value:"grid",image:themeisleGutenberg.assetsPath+"/icons/posts-grid.jpg"},{label:q("List"),value:"list",image:themeisleGutenberg.assetsPath+"/icons/posts-list.jpg"}],onChange:c}),wp.element.createElement(j,{attributes:t,setAttributes:n,changeStyle:c,categoriesList:r}),wp.element.createElement(U,null,wp.element.createElement(_.default,{className:a,attributes:t,posts:l,categoriesList:r,authors:i}))):wp.element.createElement(K,null,wp.element.createElement(Q,null),q("Loading Posts"))})),$=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/posts-grid",{title:$("Posts"),description:$("Display a list of your most recent posts in a beautiful layout."),icon:a.n,category:"themeisle-blocks",keywords:["posts","grid","news"],attributes:l,supports:{align:["wide","full"],html:!1},edit:X,save:function(){return null}})},function(e,t,n){"use strict";n.r(t);n(82),n(83);var a=n(2),l={facebook:{type:"boolean",default:!0},twitter:{type:"boolean",default:!0},linkedin:{type:"boolean",default:!0},pinterest:{type:"boolean",default:!1},tumblr:{type:"boolean",default:!1},reddit:{type:"boolean",default:!1}},o=n(0),r=n.n(o),i=wp.i18n.__,c={facebook:{label:i("Facebook"),icon:"facebook-f"},twitter:{label:i("Twitter"),icon:"twitter"},linkedin:{label:i("Linkedin"),icon:"linkedin-in"},pinterest:{label:i("Pinterest"),icon:"pinterest-p"},tumblr:{label:i("Tumblr"),icon:"tumblr"},reddit:{label:i("Reddit"),icon:"reddit-alien"}},p=wp.components,d=p.Path,m=p.SVG,s=function(e){var t=e.icon;return"facebook"===t?wp.element.createElement(m,{className:"wp-block-themeisle-toolbar",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 264 512"},wp.element.createElement(d,{fill:"currentColor",d:"M76.7 512V283H0v-91h76.7v-71.7C76.7 42.4 124.3 0 193.8 0c33.3 0 61.9 2.5 70.2 3.6V85h-48.2c-37.8 0-45.1 18-45.1 44.3V192H256l-11.7 91h-73.6v229"})):"twitter"===t?wp.element.createElement(m,{className:"wp-block-themeisle-toolbar",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},wp.element.createElement(d,{fill:"currentColor",d:"M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"})):"linkedin"===t?wp.element.createElement(m,{className:"wp-block-themeisle-toolbar",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512"},wp.element.createElement(d,{fill:"currentColor",d:"M100.3 480H7.4V180.9h92.9V480zM53.8 140.1C24.1 140.1 0 115.5 0 85.8 0 56.1 24.1 32 53.8 32c29.7 0 53.8 24.1 53.8 53.8 0 29.7-24.1 54.3-53.8 54.3zM448 480h-92.7V334.4c0-34.7-.7-79.2-48.3-79.2-48.3 0-55.7 37.7-55.7 76.7V480h-92.8V180.9h89.1v40.8h1.3c12.4-23.5 42.7-48.3 87.9-48.3 94 0 111.3 61.9 111.3 142.3V480z"})):"pinterest"===t?wp.element.createElement(m,{className:"wp-block-themeisle-toolbar",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512"},wp.element.createElement(d,{fill:"currentColor",d:"M204 6.5C101.4 6.5 0 74.9 0 185.6 0 256 39.6 296 63.6 296c9.9 0 15.6-27.6 15.6-35.4 0-9.3-23.7-29.1-23.7-67.8 0-80.4 61.2-137.4 140.4-137.4 68.1 0 118.5 38.7 118.5 109.8 0 53.1-21.3 152.7-90.3 152.7-24.9 0-46.2-18-46.2-43.8 0-37.8 26.4-74.4 26.4-113.4 0-66.2-93.9-54.2-93.9 25.8 0 16.8 2.1 35.4 9.6 50.7-13.8 59.4-42 147.9-42 209.1 0 18.9 2.7 37.5 4.5 56.4 3.4 3.8 1.7 3.4 6.9 1.5 50.4-69 48.6-82.5 71.4-172.8 12.3 23.4 44.1 36 69.3 36 106.2 0 153.9-103.5 153.9-196.8C384 71.3 298.2 6.5 204 6.5z"})):"tumblr"===t?wp.element.createElement(m,{className:"wp-block-themeisle-toolbar",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512"},wp.element.createElement(d,{fill:"currentColor",d:"M309.8 480.3c-13.6 14.5-50 31.7-97.4 31.7-120.8 0-147-88.8-147-140.6v-144H17.9c-5.5 0-10-4.5-10-10v-68c0-7.2 4.5-13.6 11.3-16 62-21.8 81.5-76 84.3-117.1.8-11 6.5-16.3 16.1-16.3h70.9c5.5 0 10 4.5 10 10v115.2h83c5.5 0 10 4.4 10 9.9v81.7c0 5.5-4.5 10-10 10h-83.4V360c0 34.2 23.7 53.6 68 35.8 4.8-1.9 9-3.2 12.7-2.2 3.5.9 5.8 3.4 7.4 7.9l22 64.3c1.8 5 3.3 10.6-.4 14.5z"})):"reddit"===t?wp.element.createElement(m,{className:"wp-block-themeisle-toolbar",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},wp.element.createElement(d,{fill:"currentColor",d:"M440.3 203.5c-15 0-28.2 6.2-37.9 15.9-35.7-24.7-83.8-40.6-137.1-42.3L293 52.3l88.2 19.8c0 21.6 17.6 39.2 39.2 39.2 22 0 39.7-18.1 39.7-39.7s-17.6-39.7-39.7-39.7c-15.4 0-28.7 9.3-35.3 22l-97.4-21.6c-4.9-1.3-9.7 2.2-11 7.1L246.3 177c-52.9 2.2-100.5 18.1-136.3 42.8-9.7-10.1-23.4-16.3-38.4-16.3-55.6 0-73.8 74.6-22.9 100.1-1.8 7.9-2.6 16.3-2.6 24.7 0 83.8 94.4 151.7 210.3 151.7 116.4 0 210.8-67.9 210.8-151.7 0-8.4-.9-17.2-3.1-25.1 49.9-25.6 31.5-99.7-23.8-99.7zM129.4 308.9c0-22 17.6-39.7 39.7-39.7 21.6 0 39.2 17.6 39.2 39.7 0 21.6-17.6 39.2-39.2 39.2-22 .1-39.7-17.6-39.7-39.2zm214.3 93.5c-36.4 36.4-139.1 36.4-175.5 0-4-3.5-4-9.7 0-13.7 3.5-3.5 9.7-3.5 13.2 0 27.8 28.5 120 29 149 0 3.5-3.5 9.7-3.5 13.2 0 4.1 4 4.1 10.2.1 13.7zm-.8-54.2c-21.6 0-39.2-17.6-39.2-39.2 0-22 17.6-39.7 39.2-39.7 22 0 39.7 17.6 39.7 39.7-.1 21.5-17.7 39.2-39.7 39.2z"})):wp.element.createElement(m,{className:"wp-block-themeisle-toolbar",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},wp.element.createElement(d,{fill:"currentColor",d:"M208 88.286c0-10 6.286-21.714 17.715-21.714 11.142 0 17.714 11.714 17.714 21.714 0 10.285-6.572 21.714-17.714 21.714C214.286 110 208 98.571 208 88.286zm304 160c0 36.001-11.429 102.286-36.286 129.714-22.858 24.858-87.428 61.143-120.857 70.572l-1.143.286v32.571c0 16.286-12.572 30.571-29.143 30.571-10 0-19.429-5.714-24.572-14.286-5.427 8.572-14.856 14.286-24.856 14.286-10 0-19.429-5.714-24.858-14.286-5.142 8.572-14.571 14.286-24.57 14.286-10.286 0-19.429-5.714-24.858-14.286-5.143 8.572-14.571 14.286-24.571 14.286-18.857 0-29.429-15.714-29.429-32.857-16.286 12.285-35.715 19.428-56.571 19.428-22 0-43.429-8.285-60.286-22.857 10.285-.286 20.571-2.286 30.285-5.714-20.857-5.714-39.428-18.857-52-36.286 21.37 4.645 46.209 1.673 67.143-11.143-22-22-56.571-58.857-68.572-87.428C1.143 321.714 0 303.714 0 289.429c0-49.714 20.286-160 86.286-160 10.571 0 18.857 4.858 23.143 14.857a158.792 158.792 0 0 1 12-15.428c2-2.572 5.714-5.429 7.143-8.286 7.999-12.571 11.714-21.142 21.714-34C182.571 45.428 232 17.143 285.143 17.143c6 0 12 .285 17.714 1.143C313.714 6.571 328.857 0 344.572 0c14.571 0 29.714 6 40 16.286.857.858 1.428 2.286 1.428 3.428 0 3.714-10.285 13.429-12.857 16.286 4.286 1.429 15.714 6.858 15.714 12 0 2.857-2.857 5.143-4.571 7.143 31.429 27.714 49.429 67.143 56.286 108 4.286-5.143 10.285-8.572 17.143-8.572 10.571 0 20.857 7.144 28.571 14.001C507.143 187.143 512 221.714 512 248.286zM188 89.428c0 18.286 12.571 37.143 32.286 37.143 19.714 0 32.285-18.857 32.285-37.143 0-18-12.571-36.857-32.285-36.857-19.715 0-32.286 18.858-32.286 36.857zM237.714 194c0-19.714 3.714-39.143 8.571-58.286-52.039 79.534-13.531 184.571 68.858 184.571 21.428 0 42.571-7.714 60-20 2-7.429 3.714-14.857 3.714-22.572 0-14.286-6.286-21.428-20.572-21.428-4.571 0-9.143.857-13.429 1.714-63.343 12.668-107.142 3.669-107.142-63.999zm-41.142 254.858c0-11.143-8.858-20.857-20.286-20.857-11.429 0-20 9.715-20 20.857v32.571c0 11.143 8.571 21.142 20 21.142 11.428 0 20.286-9.715 20.286-21.142v-32.571zm49.143 0c0-11.143-8.572-20.857-20-20.857-11.429 0-20.286 9.715-20.286 20.857v32.571c0 11.143 8.857 21.142 20.286 21.142 11.428 0 20-10 20-21.142v-32.571zm49.713 0c0-11.143-8.857-20.857-20.285-20.857-11.429 0-20.286 9.715-20.286 20.857v32.571c0 11.143 8.857 21.142 20.286 21.142 11.428 0 20.285-9.715 20.285-21.142v-32.571zm49.715 0c0-11.143-8.857-20.857-20.286-20.857-11.428 0-20.286 9.715-20.286 20.857v32.571c0 11.143 8.858 21.142 20.286 21.142 11.429 0 20.286-10 20.286-21.142v-32.571zM421.714 286c-30.857 59.142-90.285 102.572-158.571 102.572-96.571 0-160.571-84.572-160.571-176.572 0-16.857 2-33.429 6-49.714-20 33.715-29.714 72.572-29.714 111.429 0 60.286 24.857 121.715 71.429 160.857 5.143-9.714 14.857-16.286 26-16.286 10 0 19.428 5.714 24.571 14.286 5.429-8.571 14.571-14.286 24.858-14.286 10 0 19.428 5.714 24.571 14.286 5.429-8.571 14.857-14.286 24.858-14.286 10 0 19.428 5.714 24.857 14.286 5.143-8.571 14.571-14.286 24.572-14.286 10.857 0 20.857 6.572 25.714 16 43.427-36.286 68.569-92 71.426-148.286zm10.572-99.714c0-53.714-34.571-105.714-92.572-105.714-30.285 0-58.571 15.143-78.857 36.857C240.862 183.812 233.41 254 302.286 254c28.805 0 97.357-28.538 84.286 36.857 28.857-26 45.714-65.714 45.714-104.571z"}))};var u=wp.i18n.__,b=wp.blockEditor.BlockControls,g=wp.components,h=g.Toolbar,w=g.Button,y=g.Tooltip,f=function(e){var t=e.attributes,n=e.setAttributes,a=function(e){var a,l,o;n((a={},l=e,o=!t[e],l in a?Object.defineProperty(a,l,{value:o,enumerable:!0,configurable:!0,writable:!0}):a[l]=o,a))};return wp.element.createElement(b,null,wp.element.createElement(h,null,Object.keys(c).map((function(e,n){var l=t[e];return wp.element.createElement(y,{text:u("Display ".concat(c[e].label))},wp.element.createElement(w,{className:r()("components-icon-button","components-toolbar__control",{"is-active":l}),onClick:function(t){return a(e)}},wp.element.createElement(s,{icon:e})))}))))},v=(wp.i18n.__,wp.element.Fragment),k=function(e){var t=e.attributes,n=e.setAttributes,a=e.className;return wp.element.createElement(v,null,wp.element.createElement(f,{attributes:t,setAttributes:n}),wp.element.createElement("div",{className:r()(a,{"has-label":!t.className||!t.className.includes("is-style-icons")})},Object.keys(c).map((function(e,n){if(!0===t[e])return wp.element.createElement("a",{className:"social-icon is-".concat(e)},wp.element.createElement("i",{className:"fab fa-".concat(c[e].icon)}),(!t.className||!t.className.includes("is-style-icons"))&&c[e].label)}))))},T=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/sharing-icons",{title:T("Sharing Icons"),description:T("Share buttons for your website visitors to share content on any social sharing service."),icon:a.q,category:"themeisle-blocks",keywords:["social media","sharing","icons"],attributes:l,supports:{html:!0,align:["left","center","right"]},styles:[{name:"default",label:T("Regular"),isDefault:!0},{name:"icons",label:T("Icons Only")}],edit:k,save:function(){return null}})},function(e,t,n){"use strict";n.r(t);n(62),n(63);var a=n(2),l={slug:{type:"string"}},o=n(21);function r(e,t,n,a,l,o,r){try{var i=e[o](r),c=i.value}catch(e){return void n(e)}i.done?t(c):Promise.resolve(c).then(a,l)}function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var c=wp.i18n.__,p=wp.apiFetch,d=wp.components,m=d.Button,s=d.Placeholder,u=d.Dashicon,b=d.TextControl,g=d.Spinner,h=wp.element,w=h.useEffect,y=h.useRef,f=h.useState,v=wp.keycodes,k=v.DOWN,T=v.ENTER,E=v.TAB,x=v.UP,C=function(e){var t=e.attributes,n=e.setAttributes,a=e.isFetching,l=e.hasError,d=e.setError,h=e.fetchPlugin,v=e.saveData,C=e.className,S=y(null),B=!1,M=[],O=i(f(!1),2),N=O[0],R=O[1],L=i(f(""),2),z=L[0],P=L[1],H=i(f({}),2),A=H[0],I=H[1],F=i(f(null),2),V=F[0],j=F[1];w((function(){null===V||B||(B=!0,Object(o.a)(M[V],S.current,{onlyScrollIfNeeded:!0}),M[V].focus(),setTimeout((function(){B=!1}),100))}),[V]);var G=function(){var e,t=(e=regeneratorRuntime.mark((function e(t){var a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n({slug:""}),R(!0),d(!1),e.next=5,p({path:"themeisle-gutenberg-blocks/v1/get_plugins?search=".concat(encodeURIComponent(t))});case 5:if(!(a=e.sent).data.errors){e.next=12;break}return d(!0),R(!1),j(null),I({}),e.abrupt("return");case 12:R(!1),j(null),I(a.data.plugins);case 15:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(a,l){var o=e.apply(t,n);function i(e){r(o,a,l,i,c,"next",e)}function c(e){r(o,a,l,i,c,"throw",e)}i(void 0)}))});return function(e){return t.apply(this,arguments)}}(),D=function(e){if(Object.keys(A).length){e.stopPropagation(),e.preventDefault();A[V];var t=V?V-1:Object.keys(A).length-1;j(t)}},W=function(e){if(Object.keys(A).length){e.stopPropagation(),e.preventDefault();A[V];var t=null===V||V===Object.keys(A).length-1?0:V+1;j(t)}},q=function(e){n({slug:e.slug}),v(e),I({})};return a?wp.element.createElement(s,null,wp.element.createElement(g,null)):t.slug&&l?wp.element.createElement(s,{className:C},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-plugin-cards-error"},c("There seems to be an error. Make sure your internet is working properly."),wp.element.createElement(m,{isDefault:!0,isLarge:!0,onClick:h},c("Try again")))):wp.element.createElement(s,{icon:"admin-plugins",label:c("Plugin Card"),instructions:c("Search for the plugin you want to display."),className:C},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-plugin-cards-search-field"},wp.element.createElement(u,{icon:"search"}),N&&wp.element.createElement(g,null),wp.element.createElement(b,{type:"text",placeholder:c("Search for plugin…"),value:z,onChange:P,onKeyDown:function(e){switch(e.keyCode){case x:D(e);break;case k:W(e);break;case E:Object.keys(A).length&&!e.shiftKey&&j(0);break;case T:G(e.target.value)}},onFocus:function(){return j(null)}}),A&&wp.element.createElement("div",{tabIndex:"-1",className:"wp-block-themeisle-blocks-plugin-cards-search-results",ref:S},Object.keys(A).map((function(e){var t,n,a=A[e];return a.icons.svg&&(t=a.icons.svg),a.icons["2x"]&&(t=a.icons["2x"]),a.icons["1x"]&&(t=a.icons["1x"]),a.icons.default&&(t=a.icons.default),wp.element.createElement("button",{className:"wp-block-themeisle-blocks-plugin-cards-list-item",key:e,ref:(n=e,function(e){M[n]=e}),onClick:function(e){e.preventDefault(),q(a)},onKeyDown:function(e){return function(e,t){switch(e.keyCode){case x:D(e);break;case k:W(e);break;case E:if(e.shiftKey){0!==V&&D(e);break}if(V===Object.keys(A).length-1)break;W(e);break;case T:q(t)}}(e,a)}},wp.element.createElement("img",{src:t}),wp.element.createElement("span",{dangerouslySetInnerHTML:{__html:_.unescape(a.name)}}))})))),l&&wp.element.createElement("div",{className:"wp-block-themeisle-blocks-plugin-cards-error"},c("There seems to be an error. Make sure your internet is working properly."),wp.element.createElement(m,{isDefault:!0,isLarge:!0,onClick:function(){return G(z)}},c("Try again"))))},S=wp.i18n.__,B=wp.components,M=B.Dashicon,O=B.Button,N=B.Toolbar,R=B.Tooltip,L=wp.blockEditor.BlockControls,z=function(e){var t=e.setLoaded;return wp.element.createElement(L,null,wp.element.createElement(N,null,wp.element.createElement(R,{text:S("Edit")},wp.element.createElement(O,{className:"components-icon-button components-toolbar__control wp-block-themeisle-blocks-plugin-cards-edit-plugin-card",onClick:function(){return t(!1)}},wp.element.createElement(M,{icon:"edit"})))))},P=n(4);function H(e,t,n,a,l,o,r){try{var i=e[o](r),c=i.value}catch(e){return void n(e)}i.done?t(c):Promise.resolve(c).then(a,l)}function A(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var I=wp.i18n.__,F=wp.apiFetch,V=wp.components,j=(V.Dashicon,V.TextControl,V.Spinner,V.Button,V.Toolbar,V.Tooltip,wp.blockEditor.BlockControls,wp.element),G=j.Fragment,D=j.useEffect,W=j.useState,q=(wp.keycodes.ENTER,function(e){var t=e.attributes,n=e.setAttributes,a=e.className;D((function(){t.slug&&k()}),[]);var l,o,r,i,c,p=A(W(!1),2),d=p[0],m=p[1],s=A(W(!1),2),u=s[0],b=s[1],g=A(W(!1),2),h=g[0],w=g[1],y=A(W({}),2),f=y[0],v=y[1],k=function(){var e,n=(e=regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return m(!0),w(!1),b(!0),e.next=5,F({path:"themeisle-gutenberg-blocks/v1/get_plugin?slug=".concat(encodeURIComponent(t.slug))});case 5:if(!(n=e.sent).data.errors){e.next=11;break}return w(!0),m(!1),b(!1),e.abrupt("return");case 11:T(n.data),b(!1);case 13:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(a,l){var o=e.apply(t,n);function r(e){H(o,a,l,r,i,"next",e)}function i(e){H(o,a,l,r,i,"throw",e)}r(void 0)}))});return function(){return n.apply(this,arguments)}}(),T=function(e){var t;e.icons.svg&&(t=e.icons.svg),e.icons["2x"]&&(t=e.icons["2x"]),e.icons["1x"]&&(t=e.icons["1x"]),e.icons.default&&(t=e.icons.default),v({slug:e.slug,pluginIcon:t,pluginName:e.name,pluginAuthor:e.author,pluginRating:e.rating,pluginDescription:e.short_description,pluginInstalls:e.active_installs,pluginVersion:e.version,pluginTested:e.tested,pluginLink:e.download_link}),m(!0)};return!d||u?wp.element.createElement(C,{attributes:t,setAttributes:n,isFetching:u,hasError:h,setError:w,fetchPlugin:k,saveData:T,className:a}):wp.element.createElement(G,null,wp.element.createElement(z,{setLoaded:m}),wp.element.createElement("div",{className:a},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-plugin-cards-wrapper"},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-plugin-cards-header"},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-plugin-cards-main"},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-plugin-cards-logo"},wp.element.createElement("img",{src:f.pluginIcon,alt:Object(P.b)(f.pluginName),title:Object(P.b)(f.pluginName)})),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-plugin-cards-info"},wp.element.createElement("h4",null,Object(P.b)(f.pluginName)),wp.element.createElement("h5",{dangerouslySetInnerHTML:{__html:_.unescape(f.pluginAuthor)}})),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-plugin-cards-ratings",dangerouslySetInnerHTML:{__html:_.unescape((l=f.pluginRating,o=Math.floor(l/10)/2,r=Math.floor(o),i=Math.ceil(o-r),c=5-r-i,'<span className="star-full"></span>'.repeat(r)+'<span className="star-half"></span>'.repeat(i)+'<span className="star-empty"></span>'.repeat(c)))}}))),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-plugin-cards-details"},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-plugin-cards-description"},Object(P.b)(f.pluginDescription)),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-plugin-cards-stats"},wp.element.createElement("h5",null,I("Plugin Stats")),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-plugin-cards-stats-list"},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-plugin-cards-stat"},wp.element.createElement("span",{className:"wp-block-themeisle-blocks-plugin-cards-text-large"},f.pluginInstalls.toLocaleString(),"+"),I("active installs")),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-plugin-cards-stat"},wp.element.createElement("span",{className:"wp-block-themeisle-blocks-plugin-cards-text-large"},f.pluginVersion),I("version")),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-plugin-cards-stat"},wp.element.createElement("span",{className:"wp-block-themeisle-blocks-plugin-cards-text-large"},f.pluginTested),I("tested up to"))))),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-plugin-cards-download"},wp.element.createElement("a",{href:f.pluginLink},I("Download"))))))}),Z=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/plugin-cards",{title:Z("Plugin Card"),description:Z("Plugin Card block lets you display plugins data in your blog posts."),icon:a.m,category:"themeisle-blocks",keywords:["plugin","card","orbitfox"],attributes:l,supports:{html:!1},edit:q,save:function(){return null}})},function(e,t,n){"use strict";n.r(t);n(41),n(42);var a=n(2),l={id:{type:"number"}};function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var r=wp.i18n.__,i=wp.components,c=(i.Placeholder,i.Spinner),p=wp.data.withSelect,d=wp.element,m=d.useEffect,s=d.useState,u=p((function(e){return{postAuthor:e("core/editor").getEditedPostAttribute("author"),authors:e("core").getAuthors()}}))((function(e){var t=e.attributes,n=e.setAttributes,a=e.className,l=e.postAuthor,i=e.authors;m((function(){!d&&l&&i&&i.find((function(e){if(e.id===l)return l!==t.id&&n({id:e.id}),u(!0),h(e),e.id===l}))}),[l,i]);var p=o(s(!1),2),d=p[0],u=p[1],b=o(s({}),2),g=b[0],h=b[1];return d?wp.element.createElement("section",{className:a},wp.element.createElement("div",{className:"wp-block-themeisle-author-image"},wp.element.createElement("img",{className:"author-image",src:g.avatar_urls[96],alt:g.name})),wp.element.createElement("div",{className:"wp-block-themeisle-author-data"},wp.element.createElement("h4",null,g.name),wp.element.createElement("p",null,g.description))):wp.element.createElement("div",{className:"wp-block-themeisle-author-loading"},wp.element.createElement(c,null),wp.element.createElement("p",{className:"wp-block-themeisle-author-loading-text"},r("Loading…")))})),b=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/about-author",{title:b("About Author"),description:b("About Author block is the easiest way to add a author bio below your posts."),icon:a.a,category:"themeisle-blocks",keywords:["about","author","profile"],attributes:l,supports:{html:!1},edit:u,save:function(){return null}})},,function(e,t,n){"use strict";n.r(t);n(38);var a=n(2);n(39);function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function o(e,t,n,a,l,o,r){try{var i=e[o](r),c=i.value}catch(e){return void n(e)}i.done?t(c):Promise.resolve(c).then(a,l)}function r(e){return function(){var t=this,n=arguments;return new Promise((function(a,l){var r=e.apply(t,n);function i(e){o(r,a,l,i,c,"next",e)}function c(e){o(r,a,l,i,c,"throw",e)}i(void 0)}))}}var i=wp.i18n.__,c=wp.apiFetch,p=wp.components,d=p.BaseControl,m=p.CheckboxControl,s=p.Modal,u=wp.element,b=u.Fragment,g=u.useEffect,h=u.useRef,w=u.useState,y=wp.editPost.PluginMoreMenuItem,f=function(){g(r(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,c({path:"wp/v2/users/me?context=edit"});case 2:if(!t.sent.capabilities.manage_options){t.next=8;break}return a(!0),t.next=7,wp.api.loadPromise.then((function(){e.current=new wp.api.models.Settings}));case 7:!1===p&&e.current.fetch().then((function(e){k(Boolean(e.themeisle_blocks_settings_default_block)),u(!1)}));case 8:case"end":return t.stop()}}),t)}))),[]);var e=h(null),t=l(w(!1),2),n=t[0],a=t[1],o=l(w(!1),2),p=o[0],u=o[1],f=l(w(!1),2),v=f[0],k=f[1],T=l(w(!1),2),E=T[0],x=T[1];return wp.element.createElement(b,null,n&&wp.element.createElement(y,{onClick:function(){return x(!0)}},i("Otter Options")),E&&wp.element.createElement(s,{title:i("Otter Options"),overlayClassName:"wp-block-themeisle-blocks-options",onRequestClose:function(){return x(!1)}},wp.element.createElement(d,null,wp.element.createElement(m,{label:i("Make Section block your default block for Pages?"),checked:v,onChange:function(){var t=new wp.api.models.Settings({themeisle_blocks_settings_default_block:!Boolean(v)}).save();t.success((function(t,n){"success"===n&&(e.current.fetch(),k(Boolean(t.themeisle_blocks_settings_default_block))),"error"===n&&console.log(t),e.current.fetch()})),t.error((function(e,t){console.log(e)}))}}))))},v=(n(40),wp.components.Icon),k=wp.element.Fragment;(0,wp.plugins.registerPlugin)("themeisle-blocks",{icon:wp.element.createElement(v,{icon:a.l}),render:function(){return wp.element.createElement(k,null,wp.element.createElement(f,null))}})}]);
1
+ !function(e){function t(t){for(var a,r,i=t[0],c=t[1],d=t[2],m=0,s=[];m<i.length;m++)r=i[m],Object.prototype.hasOwnProperty.call(l,r)&&l[r]&&s.push(l[r][0]),l[r]=0;for(a in c)Object.prototype.hasOwnProperty.call(c,a)&&(e[a]=c[a]);for(p&&p(t);s.length;)s.shift()();return o.push.apply(o,d||[]),n()}function n(){for(var e,t=0;t<o.length;t++){for(var n=o[t],a=!0,i=1;i<n.length;i++){var c=n[i];0!==l[c]&&(a=!1)}a&&(o.splice(t--,1),e=r(r.s=n[0]))}return e}var a={},l={2:0},o=[];function r(t){if(a[t])return a[t].exports;var n=a[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,r),n.l=!0,n.exports}r.e=function(e){var t=[],n=l[e];if(0!==n)if(n)t.push(n[2]);else{var a=new Promise((function(t,a){n=l[e]=[t,a]}));t.push(n[2]=a);var o,i=document.createElement("script");i.charset="utf-8",i.timeout=120,r.nc&&i.setAttribute("nonce",r.nc),i.src=function(e){return r.p+"chunk-"+({}[e]||e)+".js"}(e);var c=new Error;o=function(t){i.onerror=i.onload=null,clearTimeout(d);var n=l[e];if(0!==n){if(n){var a=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;c.message="Loading chunk "+e+" failed.\n("+a+": "+o+")",c.name="ChunkLoadError",c.type=a,c.request=o,n[1](c)}l[e]=void 0}};var d=setTimeout((function(){o({type:"timeout",target:i})}),12e4);i.onerror=i.onload=o,document.head.appendChild(i)}return Promise.all(t)},r.m=e,r.c=a,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__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 a in e)r.d(n,a,function(t){return e[t]}.bind(null,a));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r.oe=function(e){throw console.error(e),e};var i=window.tiOtterWebpackJsonp=window.tiOtterWebpackJsonp||[],c=i.push.bind(i);i.push=t,i=i.slice();for(var d=0;d<i.length;d++)t(i[d]);var p=c;o.push([37,0]),n()}([,,function(e,t,n){"use strict";n.d(t,"l",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"d",(function(){return c})),n.d(t,"f",(function(){return d})),n.d(t,"e",(function(){return p})),n.d(t,"h",(function(){return m})),n.d(t,"g",(function(){return s})),n.d(t,"q",(function(){return u})),n.d(t,"i",(function(){return b})),n.d(t,"n",(function(){return g})),n.d(t,"m",(function(){return h})),n.d(t,"p",(function(){return f})),n.d(t,"o",(function(){return y})),n.d(t,"r",(function(){return w})),n.d(t,"b",(function(){return v})),n.d(t,"s",(function(){return k})),n.d(t,"j",(function(){return T})),n.d(t,"c",(function(){return E})),n.d(t,"k",(function(){return x}));var a=wp.components,l=a.Path,o=a.SVG,r=function(){return wp.element.createElement(o,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 29 32",width:"20",height:"20",className:"otter-icon"},wp.element.createElement(l,{d:"M19.831 7.877c0.001-0.003 0.001-0.005 0.001-0.009s-0-0.006-0.001-0.009l0 0c-0.047-0.081-0.092-0.164-0.132-0.247l-0.057-0.115c-0.277-0.498-0.381-0.99-1.033-1.064h-0.045c-0.001 0-0.002 0-0.003 0-0.486 0-0.883 0.382-0.908 0.862l-0 0.002c0.674 0.126 1.252 0.278 1.813 0.468l-0.092-0.027 0.283 0.096 0.147 0.053s0.028 0 0.028-0.011z"}),wp.element.createElement(l,{d:"M23.982 13.574c-0.008-2.41-0.14-4.778-0.39-7.112l0.026 0.299 0.070-0.019c0.459-0.139 0.787-0.558 0.787-1.053 0-0.479-0.307-0.887-0.735-1.037l-0.008-0.002h-0.026c-0.479-0.164-0.874-0.468-1.149-0.861l-0.005-0.007c-2.7-3.96-8.252-3.781-8.252-3.781s-5.55-0.179-8.25 3.781c-0.28 0.401-0.676 0.704-1.14 0.862l-0.016 0.005c-0.441 0.148-0.754 0.557-0.754 1.040 0 0.009 0 0.017 0 0.026l-0-0.001c-0 0.010-0.001 0.022-0.001 0.034 0 0.493 0.335 0.907 0.789 1.029l0.007 0.002 0.045 0.011c-0.224 2.034-0.356 4.403-0.364 6.801l-0 0.012s-9.493 13.012-1.277 17.515c4.733 2.431 6.881-0.769 6.881-0.769s1.397-1.661-1.784-3.355v-4.609c0.006-0.344 0.282-0.621 0.625-0.628h1.212v-0.59c0-0.275 0.223-0.498 0.498-0.498v0h1.665c0.274 0.001 0.496 0.224 0.496 0.498 0 0 0 0 0 0v0 0.59h2.721v-0.59c0-0.275 0.223-0.498 0.498-0.498v0h1.665c0.271 0.005 0.49 0.226 0.49 0.498 0 0 0 0 0 0v0 0.59h1.209c0 0 0 0 0 0 0.349 0 0.633 0.28 0.639 0.627v4.584c-3.193 1.703-1.784 3.355-1.784 3.355s2.148 3.193 6.879 0.769c8.222-4.503-1.269-17.515-1.269-17.515zM22.586 10.261c-0.097 1.461-0.67 2.772-1.563 3.797l0.007-0.008c-1.703 2.010-4.407 3.249-6.721 4.432v0c-2.325-1.177-5.026-2.416-6.736-4.432-0.883-1.019-1.455-2.329-1.555-3.769l-0.001-0.020c-0.126-2.22 0.583-5.929 3.044-6.74 2.416-0.788 3.947 1.288 4.494 2.227 0.152 0.258 0.429 0.428 0.745 0.428s0.593-0.17 0.743-0.424l0.002-0.004c0.551-0.932 2.080-3.008 4.494-2.22 2.474 0.805 3.174 4.513 3.046 6.734z"}),wp.element.createElement(l,{d:"M19.463 10.087h-0.028c-0.192 0.026-0.121 0.251-0.047 0.356 0.254 0.349 0.407 0.787 0.407 1.26 0 0.006-0 0.012-0 0.018v-0.001c-0.001 0.469-0.255 0.878-0.633 1.1l-0.006 0.003c-0.739 0.426-1.377-0.145-2.054-0.398-0.72-0.269-1.552-0.434-2.42-0.455l-0.009-0v-1.033c1.020-0.233 1.894-0.76 2.551-1.486l0.004-0.004c0.151-0.163 0.244-0.383 0.244-0.623 0-0.316-0.159-0.595-0.402-0.76l-0.003-0.002c-0.768-0.551-1.728-0.881-2.764-0.881-1.054 0-2.029 0.341-2.819 0.92l0.013-0.009c-0.224 0.166-0.367 0.429-0.367 0.726 0 0.226 0.083 0.433 0.221 0.591l-0.001-0.001c0.665 0.751 1.55 1.295 2.553 1.53l0.033 0.007v1.050c-0.742 0.021-1.448 0.14-2.118 0.343l0.057-0.015c-0.341 0.103-0.631 0.219-0.908 0.358l0.033-0.015c-0.519 0.26-1.037 0.436-1.58 0.121-0.371-0.213-0.617-0.607-0.617-1.058 0-0.002 0-0.004 0-0.007v0c0-0.002 0-0.004 0-0.007 0-0.47 0.153-0.905 0.411-1.257l-0.004 0.006c0.047-0.068 0.089-0.17 0.026-0.241s-0.189 0-0.27 0.030c-0.189 0.099-0.348 0.227-0.479 0.381l-0.002 0.002c-0.245 0.296-0.394 0.679-0.394 1.097 0 0.004 0 0.007 0 0.011v-0.001c0.008 0.706 0.393 1.321 0.964 1.651l0.009 0.005c0.296 0.178 0.654 0.283 1.036 0.283 0.364 0 0.706-0.095 1.001-0.263l-0.010 0.005c0.877-0.461 1.917-0.731 3.019-0.731 0.069 0 0.137 0.001 0.206 0.003l-0.010-0h0.030c1.277 0 2.382 0.266 3.266 0.775 0.27 0.159 0.594 0.253 0.94 0.253 0.001 0 0.002 0 0.003 0h-0c0.355-0.002 0.688-0.098 0.974-0.265l-0.009 0.005c0.606-0.357 1.007-1.007 1.007-1.75 0-0.001 0-0.003 0-0.004v0c0.001-0.026 0.002-0.056 0.002-0.086 0-0.625-0.34-1.171-0.846-1.462l-0.008-0.004c-0.056-0.040-0.125-0.065-0.199-0.070l-0.001-0zM13.101 8.831c-0.238 0.213-0.468 0.581-0.832 0.345-0.061-0.041-0.114-0.086-0.161-0.136l-0-0c-0.063-0.063-0.101-0.15-0.101-0.247 0-0.133 0.074-0.248 0.182-0.308l0.002-0.001c0.594-0.309 1.203-0.543 1.884-0.49-0.324 0.281-0.649 0.56-0.973 0.837z"}),wp.element.createElement(l,{d:"M15.89 13.578c-0.367 0.483-0.941 0.792-1.588 0.792s-1.221-0.309-1.585-0.787l-0.004-0.005c-0.064-0.103-0.177-0.171-0.306-0.171-0.199 0-0.36 0.161-0.36 0.36 0 0.091 0.034 0.174 0.090 0.238l-0-0c0.499 0.659 1.283 1.080 2.164 1.080s1.665-0.421 2.159-1.073l0.005-0.007c0.043-0.059 0.068-0.132 0.068-0.212 0-0.116-0.055-0.22-0.14-0.286l-0.001-0.001c-0.059-0.045-0.134-0.072-0.215-0.072-0.117 0-0.221 0.056-0.286 0.143l-0.001 0.001z"}),wp.element.createElement(l,{d:"M18.507 11.707c0 0.194-0.157 0.351-0.351 0.351s-0.351-0.157-0.351-0.351c0-0.194 0.157-0.351 0.351-0.351s0.351 0.157 0.351 0.351z"}),wp.element.createElement(l,{d:"M17.389 11.049c0 0.194-0.157 0.351-0.351 0.351s-0.351-0.157-0.351-0.351c0-0.194 0.157-0.351 0.351-0.351s0.351 0.157 0.351 0.351z"}),wp.element.createElement(l,{d:"M10.798 11.707c0 0.194-0.157 0.351-0.351 0.351s-0.351-0.157-0.351-0.351c0-0.194 0.157-0.351 0.351-0.351s0.351 0.157 0.351 0.351z"}),wp.element.createElement(l,{d:"M11.918 11.049c0 0.194-0.157 0.351-0.351 0.351s-0.351-0.157-0.351-0.351c0-0.194 0.157-0.351 0.351-0.351s0.351 0.157 0.351 0.351z"}),wp.element.createElement(l,{d:"M8.773 7.877c-0.001-0.003-0.002-0.005-0.002-0.009s0.001-0.006 0.002-0.009l-0 0c0.047-0.081 0.089-0.164 0.132-0.247 0.019-0.038 0.036-0.079 0.057-0.115 0.275-0.498 0.379-0.99 1.033-1.064h0.045c0 0 0.001 0 0.001 0 0.487 0 0.884 0.382 0.91 0.862l0 0.002c-0.678 0.124-1.261 0.277-1.827 0.468l0.092-0.027-0.275 0.096-0.1 0.036-0.045 0.017s-0.023 0-0.023-0.011z"}))},i=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M17.348 20.657v-0.135c1.029-0.471 1.758-1.446 1.916-2.563 0.434-0.157 0.739-0.576 0.739-1.051 0-0.408-0.221-0.774-0.562-0.969 0.036-0.111 0.065-0.223 0.087-0.335 0.182-0.901-0.025-1.822-0.583-2.592-0.548-0.758-1.373-1.281-2.321-1.473-0.255-0.051-0.515-0.077-0.773-0.077-0.813 0-1.607 0.262-2.234 0.739-0.646 0.49-1.088 1.187-1.244 1.962-0.118 0.587-0.070 1.193 0.139 1.762-0.355 0.191-0.59 0.566-0.59 0.985 0 0.481 0.31 0.901 0.751 1.055 0.163 1.144 0.916 2.128 1.978 2.587v0.106c-2.207 0.5-3.729 2.151-3.729 4.079v0.515h10.153v-0.515c0-1.929-1.522-3.58-3.729-4.080zM15.853 12.492c0.189 0 0.381 0.019 0.569 0.057 0.693 0.14 1.293 0.519 1.689 1.066 0.369 0.511 0.518 1.111 0.423 1.701-0.507-0.237-1.173-0.487-1.874-0.583-1.318-0.18-1.339-0.241-1.417-0.469l-0.252-0.728-0.579 0.512c-0.062 0.054-0.528 0.464-1.066 0.91-0.015-0.198-0.002-0.396 0.037-0.593 0.219-1.086 1.257-1.873 2.469-1.873zM13.67 16.025c0.361-0.292 0.718-0.594 0.977-0.816 0.358 0.323 0.916 0.414 1.874 0.545 0.65 0.089 1.287 0.349 1.748 0.578v1.161c0 1.268-1.031 2.299-2.299 2.299s-2.299-1.031-2.299-2.299v-1.468zM15.682 20.81c0.213 0.019 0.425 0.017 0.635-0.006v0.318l-0.318 0.177-0.317-0.176v-0.313zM12.006 24.22c0.237-1.154 1.25-2.113 2.646-2.501v0.010l1.346 0.748 1.35-0.748v-0.010c1.396 0.388 2.409 1.348 2.646 2.502l-7.987-0zM21.076 27.499h-10.153c-0.307 0-0.556-0.249-0.556-0.556s0.249-0.556 0.556-0.556h10.153c0.307 0 0.556 0.249 0.556 0.556s-0.249 0.556-0.556 0.556zM28.112 3.393h-9.422v-1.689c0-0.832-0.677-1.509-1.509-1.509h-2.363c-0.832 0-1.509 0.677-1.509 1.509v1.689h-9.422c-0.832 0-1.509 0.677-1.509 1.509v25.395c0 0.832 0.677 1.509 1.509 1.509h24.225c0.832 0 1.509-0.677 1.509-1.509v-25.395c-0-0.832-0.677-1.509-1.509-1.509zM14.421 1.703c0-0.219 0.178-0.397 0.397-0.397h2.363c0.219 0 0.397 0.178 0.397 0.397v5.083c0 0.219-0.178 0.397-0.397 0.397h-2.363c-0.219 0-0.397-0.178-0.397-0.397v-5.083zM28.509 30.297c0 0.219-0.178 0.397-0.397 0.397h-24.225c-0.219 0-0.397-0.178-0.397-0.397v-25.395c0-0.219 0.178-0.397 0.397-0.397h9.422v2.282c0 0.832 0.677 1.509 1.509 1.509h2.363c0.832 0 1.509-0.677 1.509-1.509v-2.282h9.422c0.219 0 0.397 0.178 0.397 0.397v25.395z"}))},c=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M30.457 11.777h-28.914c-0.829 0-1.503 0.674-1.503 1.503v5.606c0 0.829 0.674 1.503 1.503 1.503h28.914c0.829 0 1.503-0.674 1.503-1.503v-5.606c-0-0.829-0.674-1.503-1.503-1.503zM30.84 18.886c0 0.211-0.172 0.383-0.383 0.383h-28.914c-0.211 0-0.383-0.172-0.383-0.383v-5.606c0-0.211 0.172-0.383 0.383-0.383h28.914c0.211 0 0.383 0.172 0.383 0.383v5.606zM4.67 15.133c-0.525 0-0.95 0.425-0.95 0.95s0.425 0.95 0.95 0.95 0.95-0.425 0.95-0.95c0-0.525-0.425-0.95-0.95-0.95zM7.947 15.133c-0.525 0-0.95 0.425-0.95 0.95s0.425 0.95 0.95 0.95c0.525 0 0.95-0.425 0.95-0.95s-0.425-0.95-0.95-0.95zM11.224 15.133c-0.525 0-0.95 0.425-0.95 0.95s0.425 0.95 0.95 0.95c0.525 0 0.95-0.425 0.95-0.95s-0.425-0.95-0.95-0.95zM27.871 15.523h-11.386c-0.309 0-0.56 0.251-0.56 0.56s0.251 0.56 0.56 0.56h11.386c0.309 0 0.56-0.251 0.56-0.56s-0.251-0.56-0.56-0.56zM30.457 23.388h-28.914c-0.829 0-1.503 0.674-1.503 1.503v5.606c0 0.829 0.674 1.503 1.503 1.503h28.914c0.829 0 1.503-0.674 1.503-1.503v-5.606c-0-0.829-0.674-1.503-1.503-1.503zM30.84 30.497c0 0.211-0.172 0.383-0.383 0.383h-28.914c-0.211 0-0.383-0.172-0.383-0.383v-5.606c0-0.211 0.172-0.383 0.383-0.383h28.914c0.211 0 0.383 0.172 0.383 0.383v5.606zM4.67 26.744c-0.525 0-0.95 0.425-0.95 0.95s0.425 0.95 0.95 0.95 0.95-0.425 0.95-0.95c0-0.525-0.425-0.95-0.95-0.95zM7.947 26.744c-0.525 0-0.95 0.425-0.95 0.95s0.425 0.95 0.95 0.95c0.525 0 0.95-0.425 0.95-0.95s-0.425-0.95-0.95-0.95zM11.224 26.744c-0.525 0-0.95 0.425-0.95 0.95s0.425 0.95 0.95 0.95c0.525 0 0.95-0.425 0.95-0.95s-0.425-0.95-0.95-0.95zM27.871 27.134h-11.386c-0.309 0-0.56 0.251-0.56 0.56s0.251 0.56 0.56 0.56h11.386c0.309 0 0.56-0.251 0.56-0.56s-0.251-0.56-0.56-0.56zM30.457 0h-28.914c-0.829 0-1.503 0.674-1.503 1.503v5.606c0 0.829 0.674 1.503 1.503 1.503h28.914c0.829 0 1.503-0.674 1.503-1.503v-5.606c0-0.829-0.674-1.503-1.503-1.503zM30.84 7.109c0 0.211-0.172 0.383-0.383 0.383h-28.914c-0.211 0-0.383-0.172-0.383-0.383v-5.606c0-0.211 0.172-0.383 0.383-0.383h28.914c0.211 0 0.383 0.172 0.383 0.383v5.606zM5.62 4.306c0 0.525-0.425 0.95-0.95 0.95s-0.95-0.425-0.95-0.95c0-0.525 0.425-0.95 0.95-0.95s0.95 0.425 0.95 0.95zM7.947 3.356c-0.525 0-0.95 0.425-0.95 0.95s0.425 0.95 0.95 0.95c0.525 0 0.95-0.425 0.95-0.95s-0.425-0.95-0.95-0.95zM11.224 3.356c-0.525 0-0.95 0.425-0.95 0.95s0.425 0.95 0.95 0.95c0.525 0 0.95-0.425 0.95-0.95s-0.425-0.95-0.95-0.95zM27.871 3.746h-11.386c-0.309 0-0.56 0.251-0.56 0.56s0.251 0.56 0.56 0.56h11.386c0.309 0 0.56-0.251 0.56-0.56s-0.251-0.56-0.56-0.56z"}))},d=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M30.584 0.099h-29.068c-0.781 0-1.417 0.635-1.417 1.416v29.068c0 0.781 0.635 1.416 1.417 1.416h29.068c0.781 0 1.416-0.635 1.416-1.416v-29.068c0-0.781-0.635-1.416-1.416-1.416zM1.515 1.219h29.068c0.163 0 0.296 0.133 0.296 0.296v3.476h-29.661v-3.476c0-0.163 0.133-0.296 0.296-0.296zM30.584 30.88h-29.068c-0.163 0-0.296-0.133-0.296-0.296v-24.472h29.661v24.472c0 0.163-0.133 0.296-0.296 0.296zM26.999 20.461h-21.062c-0.838 0-1.52 0.682-1.52 1.52v5.601c0 0.838 0.682 1.52 1.52 1.52h21.062c0.838 0 1.52-0.682 1.52-1.52v-5.601c0-0.838-0.682-1.52-1.52-1.52zM27.399 27.582c0 0.221-0.18 0.4-0.4 0.4h-21.062c-0.221 0-0.4-0.18-0.4-0.4v-5.601c0-0.221 0.179-0.4 0.4-0.4h21.062c0.221 0 0.4 0.179 0.4 0.4v5.601zM5.937 16.247h5.432c0.838 0 1.52-0.682 1.52-1.52v-5.432c0-0.838-0.682-1.52-1.52-1.52h-5.432c-0.838 0-1.52 0.682-1.52 1.52v5.432c0 0.838 0.682 1.52 1.52 1.52zM5.537 9.294c0-0.221 0.179-0.4 0.4-0.4h5.432c0.221 0 0.4 0.179 0.4 0.4v5.432c0 0.221-0.18 0.4-0.4 0.4h-5.432c-0.221 0-0.4-0.18-0.4-0.4v-5.432zM27.959 17.714h-22.982c-0.309 0-0.56 0.251-0.56 0.56s0.251 0.56 0.56 0.56h22.982c0.309 0 0.56-0.251 0.56-0.56s-0.251-0.56-0.56-0.56zM27.959 14.793h-12.696c-0.309 0-0.56 0.251-0.56 0.56s0.251 0.56 0.56 0.56h12.696c0.309 0 0.56-0.251 0.56-0.56s-0.251-0.56-0.56-0.56zM27.959 11.433h-12.696c-0.309 0-0.56 0.251-0.56 0.56s0.251 0.56 0.56 0.56h12.696c0.309 0 0.56-0.251 0.56-0.56s-0.251-0.56-0.56-0.56zM27.959 8.072h-12.696c-0.309 0-0.56 0.251-0.56 0.56s0.251 0.56 0.56 0.56h12.696c0.309 0 0.56-0.251 0.56-0.56s-0.251-0.56-0.56-0.56zM4.543 3.051c0 0.497-0.403 0.9-0.9 0.9s-0.9-0.403-0.9-0.9c0-0.497 0.403-0.9 0.9-0.9s0.9 0.403 0.9 0.9zM7.384 3.051c0 0.497-0.403 0.9-0.9 0.9s-0.9-0.403-0.9-0.9c0-0.497 0.403-0.9 0.9-0.9s0.9 0.403 0.9 0.9zM10.224 3.051c0 0.497-0.403 0.9-0.9 0.9s-0.9-0.403-0.9-0.9c0-0.497 0.403-0.9 0.9-0.9s0.9 0.403 0.9 0.9z"}))},p=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M31.276 3.351h-14.587l-3.23-3.028c-0.103-0.097-0.239-0.15-0.38-0.15h-12.354c-0.307 0-0.556 0.249-0.556 0.556v30.697c0 0.307 0.249 0.556 0.556 0.556h30.551c0.307 0 0.556-0.249 0.556-0.556v-27.518c0-0.307-0.249-0.556-0.556-0.556zM1.281 1.286h11.578l3.23 3.028c0.103 0.097 0.239 0.15 0.38 0.15h14.25v3.013h-29.439v-6.191zM30.719 30.87h-29.439v-22.281h29.439v22.281z"}))},m=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M30.958 13.988h-0.64c-0.572-5.298-4.029-9.744-8.764-11.73h5.439v0.555c0 0.309 0.25 0.559 0.559 0.559h2.23c0.309 0 0.559-0.25 0.559-0.559v-2.229c0-0.309-0.25-0.559-0.559-0.559h-2.23c-0.309 0-0.559 0.25-0.559 0.559v0.555h-9.319v-0.555c0-0.309-0.25-0.559-0.559-0.559h-2.23c-0.309 0-0.559 0.25-0.559 0.559v0.555h-9.319v-0.555c0-0.309-0.25-0.559-0.559-0.559h-2.229c-0.309 0-0.559 0.25-0.559 0.559v2.229c0 0.309 0.25 0.559 0.559 0.559h2.229c0.309 0 0.559-0.25 0.559-0.559v-0.555h5.439c-4.735 1.987-8.191 6.432-8.764 11.73h-0.64c-0.309 0-0.559 0.25-0.559 0.559v2.229c0 0.309 0.25 0.559 0.559 0.559h2.23c0.309 0 0.559-0.25 0.559-0.559v-2.229c0-0.309-0.25-0.559-0.559-0.559h-0.464c0.709-6.044 5.49-10.86 11.518-11.621v0.446c0 0.309 0.25 0.559 0.559 0.559h2.23c0.309 0 0.559-0.25 0.559-0.559v-0.446c6.028 0.761 10.809 5.578 11.518 11.621h-0.464c-0.309 0-0.559 0.25-0.559 0.559v2.23c0 0.309 0.25 0.559 0.559 0.559h2.23c0.309 0 0.559-0.25 0.559-0.559v-2.229c0-0.309-0.25-0.559-0.559-0.559zM29.223 2.253h-1.111v-1.111h1.111v1.111zM2.777 1.142h1.111v1.111h-1.111v-1.111zM2.712 15.608v0.609h-1.111v-0.973c0.001-0.046 0.002-0.092 0.003-0.138h1.108v0.501zM16 1.142c0.186 0 0.371 0.005 0.555 0.012v1.099h-1.111v-1.099c0.184-0.007 0.37-0.012 0.556-0.012zM30.399 15.25v0.967h-1.111v-1.111h1.107c0.002 0.048 0.003 0.096 0.004 0.144zM16.512 4.461c-0.089-0.204-0.29-0.336-0.513-0.336s-0.424 0.132-0.513 0.336l-7.287 16.694c-0.058 0.134-0.062 0.285-0.011 0.421l0.009 0.023c0.059 0.157 0.186 0.279 0.345 0.333 1.743 0.585 2.914 2.213 2.914 4.052 0 0.766-0.206 1.518-0.595 2.175-0.012 0.020-0.022 0.041-0.032 0.063-0.063 0.091-0.101 0.201-0.101 0.32v2.832c0 0.307 0.248 0.557 0.555 0.559l9.42 0.068c0.001 0 0.003 0 0.004 0 0.307 0 0.557-0.248 0.559-0.555 0.002-0.309-0.246-0.561-0.555-0.563l-8.865-0.064v-1.405h8.654c0.234 0 0.443-0.145 0.524-0.364l0.153-0.41c0.059-0.158 0.043-0.335-0.043-0.48-0.389-0.657-0.595-1.409-0.595-2.174 0-1.838 1.171-3.467 2.914-4.052 0.16-0.054 0.287-0.176 0.346-0.334l0.009-0.023c0.051-0.136 0.047-0.287-0.011-0.42l-7.287-16.694zM16 20.028c0.619 0 1.122 0.503 1.122 1.122s-0.504 1.122-1.122 1.122c-0.619 0-1.122-0.503-1.122-1.122s0.503-1.122 1.122-1.122zM19.424 25.983c0 0.802 0.179 1.591 0.52 2.31h-7.887c0.341-0.719 0.52-1.509 0.52-2.31 0-2.121-1.235-4.020-3.127-4.894l5.991-13.726v11.616c-0.966 0.249-1.682 1.128-1.682 2.17 0 1.236 1.005 2.241 2.241 2.241s2.241-1.005 2.241-2.241c0-1.043-0.716-1.921-1.682-2.17v-11.616l5.991 13.726c-1.892 0.874-3.127 2.773-3.127 4.894z"}))},s=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M30.424 0.171h-28.847c-0.775 0-1.406 0.631-1.406 1.406v28.848c0 0.775 0.631 1.406 1.406 1.406h28.847c0.775 0 1.406-0.631 1.406-1.406v-28.848c0-0.775-0.631-1.406-1.406-1.406zM1.576 1.282h28.847c0.162 0 0.294 0.132 0.294 0.294v3.45h-29.435v-3.45c0-0.162 0.132-0.294 0.294-0.294zM30.424 30.718h-28.847c-0.162 0-0.294-0.132-0.294-0.294v-24.286h29.435v24.286c0 0.162-0.132 0.294-0.294 0.294zM3.688 3.994c0.493 0 0.893-0.4 0.893-0.893s-0.4-0.893-0.893-0.893-0.893 0.4-0.893 0.893c0 0.493 0.4 0.893 0.893 0.893zM6.507 3.994c0.493 0 0.893-0.4 0.893-0.893s-0.4-0.893-0.893-0.893-0.893 0.4-0.893 0.893c0 0.493 0.4 0.893 0.893 0.893zM9.326 3.994c0.493 0 0.893-0.4 0.893-0.893s-0.4-0.893-0.893-0.893-0.893 0.4-0.893 0.893c0 0.493 0.4 0.893 0.893 0.893zM20.662 19.394l3.855-3.758c0.152-0.148 0.206-0.369 0.141-0.57s-0.239-0.348-0.449-0.378l-5.328-0.774-2.383-4.828c-0.094-0.19-0.287-0.31-0.498-0.31s-0.405 0.12-0.498 0.31l-2.383 4.828-5.328 0.774c-0.209 0.030-0.383 0.177-0.449 0.378s-0.011 0.422 0.141 0.57l3.855 3.758-0.91 5.307c-0.036 0.209 0.050 0.419 0.221 0.544s0.398 0.141 0.585 0.042l4.766-2.506 4.766 2.506c0.081 0.043 0.17 0.064 0.259 0.064 0.115 0 0.23-0.036 0.327-0.106 0.171-0.124 0.257-0.335 0.221-0.544l-0.91-5.307zM16.259 21.661c-0.162-0.085-0.355-0.085-0.517 0l-4.027 2.117 0.769-4.485c0.031-0.18-0.029-0.364-0.16-0.492l-3.258-3.176 4.503-0.654c0.181-0.026 0.338-0.14 0.418-0.304l2.014-4.080 2.014 4.080c0.081 0.164 0.238 0.278 0.419 0.304l4.503 0.654-3.258 3.176c-0.131 0.128-0.191 0.312-0.16 0.492l0.769 4.485-4.027-2.117zM16 25.179c-0.307 0-0.556 0.249-0.556 0.556v1.887c0 0.307 0.249 0.556 0.556 0.556s0.556-0.249 0.556-0.556v-1.887c0-0.307-0.249-0.556-0.556-0.556zM25.319 20.446l-1.794-0.583c-0.293-0.095-0.606 0.065-0.7 0.357s0.065 0.606 0.357 0.7l1.794 0.583c0.057 0.019 0.115 0.027 0.172 0.027 0.234 0 0.452-0.149 0.529-0.384 0.095-0.292-0.065-0.606-0.357-0.7zM20.218 12.197c0.099 0.072 0.213 0.106 0.326 0.106 0.172 0 0.341-0.079 0.45-0.229l1.109-1.526c0.18-0.248 0.125-0.596-0.123-0.776s-0.596-0.125-0.776 0.123l-1.109 1.526c-0.18 0.248-0.125 0.596 0.123 0.776zM11.006 12.075c0.109 0.15 0.278 0.229 0.45 0.229 0.113 0 0.228-0.034 0.326-0.106 0.248-0.18 0.303-0.528 0.123-0.776l-1.109-1.526c-0.18-0.248-0.528-0.303-0.776-0.123s-0.303 0.528-0.123 0.776l1.109 1.526zM8.475 19.863l-1.794 0.583c-0.292 0.095-0.452 0.408-0.357 0.7 0.076 0.235 0.294 0.384 0.529 0.384 0.057 0 0.115-0.009 0.172-0.027l1.794-0.583c0.292-0.095 0.452-0.408 0.357-0.7s-0.408-0.452-0.7-0.357z"}))},u=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M6.348 13.197c-0.308 0-0.557 0.249-0.557 0.557s0.249 0.557 0.557 0.557c0.495 0 1.655 0.598 1.655 1.759 0 0.308 0.249 0.557 0.557 0.557s0.557-0.249 0.557-0.557c0-1.886-1.803-2.873-2.769-2.873zM25.842 3.161c0.495 0 1.655 0.598 1.655 1.759 0 0.308 0.249 0.557 0.557 0.557s0.557-0.249 0.557-0.557c0-1.886-1.802-2.873-2.769-2.873-0.308 0-0.557 0.249-0.557 0.557s0.249 0.557 0.557 0.557zM25.742 22.433c-0.826 0-1.641 0.22-2.359 0.636-0.567 0.328-1.040 0.758-1.41 1.252l-11.344-6.569c0.069-0.174 0.13-0.353 0.179-0.537 0.276-1.036 0.194-2.11-0.226-3.079l11.319-6.555c0.878 1.235 2.316 1.986 3.848 1.986 0.825 0 1.641-0.22 2.359-0.636 1.090-0.631 1.869-1.649 2.194-2.866s0.155-2.488-0.476-3.578c-0.841-1.452-2.406-2.353-4.085-2.353-0.826 0-1.641 0.22-2.359 0.636-2.051 1.188-2.872 3.694-2.015 5.833l-11.344 6.569c-0.884-1.176-2.285-1.888-3.776-1.888-0.825 0-1.641 0.22-2.359 0.636-2.25 1.303-3.021 4.194-1.718 6.444 0.841 1.452 2.406 2.353 4.085 2.353 0.826 0 1.641-0.22 2.359-0.636 0.595-0.345 1.097-0.805 1.483-1.35l11.319 6.554c-0.567 1.323-0.526 2.888 0.249 4.227 0.841 1.452 2.406 2.353 4.085 2.353 0.825 0 1.641-0.22 2.359-0.636 1.090-0.631 1.869-1.649 2.194-2.866s0.155-2.488-0.476-3.578c-0.841-1.452-2.406-2.353-4.085-2.353zM23.941 1.734c0.549-0.318 1.171-0.486 1.801-0.486 1.283 0 2.479 0.689 3.121 1.798 0.482 0.833 0.611 1.803 0.363 2.733s-0.843 1.707-1.675 2.189c-0.549 0.318-1.171 0.486-1.801 0.486-1.283 0-2.479-0.689-3.121-1.798-0.995-1.719-0.407-3.927 1.312-4.922zM8.056 19.117c-0.549 0.318-1.171 0.486-1.801 0.486-1.283 0-2.479-0.689-3.121-1.797-0.995-1.719-0.407-3.927 1.312-4.922 0.549-0.318 1.171-0.486 1.801-0.486 1.283 0 2.479 0.689 3.121 1.798 0.482 0.833 0.611 1.803 0.363 2.733s-0.843 1.707-1.675 2.189zM29.226 28.077c-0.248 0.93-0.843 1.707-1.675 2.189-0.549 0.318-1.171 0.486-1.801 0.486-1.283 0-2.479-0.689-3.121-1.797-0.995-1.719-0.407-3.927 1.312-4.922 0.549-0.318 1.171-0.486 1.801-0.486 1.283 0 2.479 0.689 3.121 1.798 0.482 0.832 0.611 1.803 0.363 2.733zM25.842 24.346c-0.308 0-0.557 0.249-0.557 0.557s0.249 0.557 0.557 0.557c0.495 0 1.655 0.598 1.655 1.759 0 0.308 0.249 0.557 0.557 0.557s0.557-0.249 0.557-0.557c0-1.886-1.802-2.873-2.769-2.873z"}))},b=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M16 27.667l7.849-7.849c0.146-0.139 0.464-0.469 0.478-0.483l0.006-0.007c1.972-2.116 3.059-4.874 3.059-7.766 0-6.282-5.11-11.392-11.392-11.392s-11.392 5.11-11.392 11.392c0 2.893 1.086 5.651 3.058 7.766l8.334 8.339zM16 1.265c5.677 0 10.297 4.619 10.297 10.297 0 2.613-0.981 5.104-2.761 7.016-0.092 0.096-0.343 0.353-0.446 0.451l-7.089 7.089-7.539-7.543c-1.779-1.911-2.758-4.401-2.758-7.012 0-5.678 4.619-10.297 10.297-10.297zM17.755 4.005c1.966 0 5.792 2.149 5.792 6.090 0 0.303 0.245 0.548 0.548 0.548s0.548-0.245 0.548-0.548c0-2.051-0.906-3.953-2.552-5.354-1.306-1.112-3.008-1.831-4.335-1.831-0.302 0-0.548 0.245-0.548 0.548s0.245 0.548 0.548 0.548zM22.875 24.197c-0.427-0.174-0.886-0.33-1.371-0.467l-0.897 0.897c2.645 0.631 4.275 1.756 4.275 2.802 0 1.564-3.648 3.306-8.882 3.306s-8.882-1.742-8.882-3.306c0-1.045 1.631-2.171 4.275-2.802l-0.897-0.897c-0.485 0.137-0.944 0.293-1.371 0.467-2.001 0.818-3.102 1.966-3.102 3.232s1.102 2.415 3.102 3.232c1.845 0.754 4.287 1.169 6.875 1.169s5.030-0.415 6.875-1.169c2.001-0.818 3.102-1.966 3.102-3.232s-1.102-2.415-3.102-3.232zM16.032 16.804c-3.043 0-5.519-2.476-5.519-5.519s2.476-5.519 5.519-5.519c3.043 0 5.519 2.476 5.519 5.519s-2.476 5.519-5.519 5.519zM16.032 6.862c-2.439 0-4.423 1.984-4.423 4.423s1.984 4.423 4.423 4.423c2.439 0 4.423-1.984 4.423-4.423s-1.984-4.423-4.423-4.423z"}))},g=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M4.285 5.775c0.004 0 0.009 0.001 0.013 0.001h8.279c0.307 0 0.556-0.249 0.556-0.556s-0.249-0.556-0.556-0.556h-8.279c-0.307 0-0.556 0.249-0.556 0.556 0 0.302 0.242 0.548 0.542 0.555zM3.743 8.005c0 0.307 0.249 0.556 0.556 0.556h13.679c0.307 0 0.556-0.249 0.556-0.556s-0.249-0.556-0.556-0.556h-13.679c-0.307 0-0.556 0.249-0.556 0.556zM17.977 10.236h-13.679c-0.145 0-0.276 0.056-0.375 0.147-0.11 0.102-0.18 0.247-0.18 0.409 0 0.307 0.249 0.556 0.556 0.556h13.679c0.307 0 0.556-0.249 0.556-0.556 0-0.162-0.070-0.307-0.18-0.409-0.099-0.091-0.23-0.147-0.375-0.147zM17.977 13.022h-13.679c-0.307 0-0.556 0.249-0.556 0.556s0.249 0.556 0.556 0.556h13.679c0.307 0 0.556-0.249 0.556-0.556s-0.249-0.556-0.556-0.556zM17.977 15.807h-13.679c-0.145 0-0.276 0.056-0.375 0.147-0.11 0.102-0.18 0.247-0.18 0.409 0 0.307 0.249 0.556 0.556 0.556h13.679c0.307 0 0.556-0.249 0.556-0.556 0-0.162-0.070-0.307-0.18-0.409-0.099-0.091-0.23-0.147-0.375-0.147zM17.977 18.593h-13.679c-0.307 0-0.556 0.249-0.556 0.555s0.249 0.556 0.556 0.556h13.679c0.307 0 0.556-0.249 0.556-0.556s-0.249-0.555-0.556-0.555zM17.977 21.379h-13.679c-0.307 0-0.556 0.249-0.556 0.556s0.249 0.556 0.556 0.556h13.679c0.307 0 0.556-0.249 0.556-0.556s-0.249-0.556-0.556-0.556zM17.977 24.165h-13.679c-0.145 0-0.276 0.056-0.375 0.147-0.11 0.102-0.18 0.247-0.18 0.409 0 0.307 0.249 0.556 0.556 0.556h13.679c0.307 0 0.556-0.249 0.556-0.556 0-0.162-0.070-0.307-0.18-0.409-0.099-0.091-0.23-0.147-0.375-0.147zM21.93 4.466l-4.277-3.87c-0.094-0.085-0.212-0.132-0.334-0.139h-15.831c-0.812 0-1.473 0.664-1.473 1.481v28.153c0 0.817 0.661 1.481 1.473 1.481h19.174c0.812 0 1.473-0.664 1.473-1.481v-25.222c-0.008-0.163-0.086-0.308-0.205-0.403zM17.833 2.238l2.331 2.109h-2.331v-2.109zM21.043 30.091c0 0.215-0.171 0.39-0.381 0.39h-19.174c-0.21 0-0.382-0.175-0.382-0.39v-28.153c0-0.215 0.171-0.39 0.382-0.39h15.251v3.348c0 0.303 0.245 0.549 0.547 0.549h3.758v24.647zM31.975 3.213c-0.125-1.57-1.442-2.809-3.044-2.809-0 0-0 0-0 0-0.816 0-1.583 0.318-2.16 0.895-0.519 0.519-0.827 1.191-0.884 1.915h-0.010v0.242c0 0.001-0 0.002-0 0.003s0 0.001 0 0.001l-0 24.342h0.003c0.010 0.096 0.045 0.191 0.108 0.273l2.509 3.305c0.103 0.136 0.264 0.216 0.435 0.216s0.331-0.080 0.435-0.216l2.508-3.305c0.063-0.083 0.098-0.177 0.108-0.274h0.003v-24.589h-0.011zM27.543 2.070c0.371-0.371 0.864-0.575 1.388-0.575h0c0.893 0 1.649 0.6 1.886 1.417h-3.772c0.091-0.315 0.26-0.604 0.498-0.842zM28.362 26.711l-1.394 0 0-22.406h3.926v22.406h-1.442l0-18.071-1.090 0 0 18.071zM28.931 30.148l-1.781-2.346 3.562-0-1.781 2.346z"}))},h=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M31.908 1.543c0-0.815-0.677-1.478-1.51-1.478h-28.731c-0.815 0-1.478 0.677-1.478 1.51v14.441c0 0.022 0.002 0.044 0.004 0.065-0.003 0.021-0.004 0.043-0.004 0.065v14.357c0 0.815 0.677 1.478 1.51 1.478h28.731c0.815 0 1.478-0.677 1.478-1.51v-14.441c0-0.022-0.002-0.044-0.004-0.065 0.003-0.021 0.004-0.043 0.004-0.065v-14.357zM30.792 1.543v13.799h-4.324c0.587-0.66 0.932-1.525 0.932-2.453 0-0.737-0.218-1.423-0.592-2-0.648-1.066-1.82-1.78-3.156-1.78-2.034 0-3.689 1.655-3.689 3.689 0 0.745 0.223 1.449 0.615 2.039 0.111 0.178 0.236 0.347 0.376 0.504h-4.372v-6.025c0-0.184-0.090-0.347-0.228-0.449-0.101-0.103-0.242-0.167-0.398-0.167h-0.173c-0.24 0-0.453 0.153-0.529 0.38-0.352 1.049-1.332 1.754-2.439 1.754-0.419 0-0.815-0.101-1.166-0.28-0.776-0.444-1.301-1.279-1.301-2.235 0-1.419 1.154-2.574 2.574-2.574 0.408 0 0.799 0.096 1.147 0.27 0.546 0.305 0.976 0.804 1.185 1.426 0.052 0.155 0.169 0.275 0.314 0.335 0.092 0.065 0.204 0.103 0.322 0.103h0.133c0.308 0 0.558-0.25 0.558-0.558v-6.142h13.816c0.217 0 0.394 0.162 0.394 0.362zM1.305 1.575c0-0.217 0.162-0.394 0.362-0.394h13.732v4.404c-0.239-0.216-0.505-0.401-0.793-0.549-0.536-0.297-1.148-0.464-1.791-0.464-2.034 0-3.689 1.655-3.689 3.689 0 1.423 0.81 2.659 1.992 3.274 0.534 0.301 1.149 0.473 1.804 0.473 0.939 0 1.813-0.354 2.476-0.955v4.404h-6.016c-0.308 0-0.558 0.25-0.558 0.558v0.173c0 0.127 0.043 0.245 0.117 0.34 0.065 0.129 0.178 0.231 0.321 0.279 0.562 0.189 1.023 0.558 1.332 1.030 0.232 0.39 0.364 0.842 0.364 1.318 0 1.419-1.154 2.574-2.574 2.574-0.894 0-1.682-0.458-2.144-1.151-0.236-0.389-0.372-0.844-0.372-1.331-0-1.107 0.705-2.087 1.754-2.44 0.227-0.076 0.38-0.289 0.38-0.529v-0.133c0-0.106-0.030-0.204-0.081-0.288-0.068-0.231-0.282-0.4-0.535-0.4h-6.084v-13.883zM1.305 30.505v-13.799h4.324c-0.587 0.66-0.932 1.525-0.932 2.453 0 0.737 0.218 1.424 0.592 2 0.647 1.066 1.82 1.78 3.156 1.78 2.034 0 3.689-1.655 3.689-3.689-0-0.745-0.223-1.449-0.615-2.040-0.111-0.178-0.236-0.347-0.376-0.504h4.372v6.025c0 0.184 0.090 0.347 0.228 0.449 0.101 0.103 0.242 0.167 0.398 0.167h0.173c0.24 0 0.453-0.153 0.529-0.38 0.352-1.049 1.332-1.754 2.439-1.754 0.419 0 0.815 0.101 1.165 0.28 0.776 0.444 1.301 1.279 1.301 2.236 0 1.419-1.154 2.574-2.574 2.574-0.408 0-0.799-0.096-1.147-0.27-0.546-0.305-0.976-0.804-1.185-1.426-0.052-0.155-0.169-0.275-0.314-0.336-0.092-0.065-0.204-0.103-0.322-0.103h-0.133c-0.308 0-0.558 0.25-0.558 0.558v6.142h-13.816c-0.217-0-0.394-0.163-0.394-0.362zM30.792 30.472c0 0.217-0.162 0.394-0.362 0.394h-13.732v-4.404c0.239 0.216 0.505 0.401 0.792 0.548 0.536 0.297 1.148 0.464 1.791 0.464 2.034 0 3.689-1.655 3.689-3.689 0-1.423-0.81-2.659-1.993-3.274-0.534-0.301-1.149-0.473-1.804-0.473-0.939 0-1.813 0.354-2.476 0.955v-4.404h6.016c0.308 0 0.558-0.25 0.558-0.558v-0.173c0-0.126-0.044-0.245-0.117-0.34-0.064-0.129-0.178-0.231-0.321-0.279-0.562-0.189-1.023-0.558-1.332-1.030-0.232-0.389-0.363-0.842-0.363-1.318 0-1.419 1.154-2.574 2.574-2.574 0.894 0 1.682 0.458 2.144 1.151 0.236 0.389 0.372 0.844 0.372 1.331 0 1.107-0.705 2.087-1.754 2.439-0.227 0.076-0.38 0.289-0.38 0.529v0.133c0 0.106 0.030 0.204 0.081 0.289 0.068 0.231 0.282 0.4 0.535 0.4h6.084v13.883z"}))},f=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M15.517 23.581c-0.036 0.002-0.069-0.003-0.102-0.009-0.108-0.019-0.211-0.070-0.294-0.153l-9.153-9.153c-0.104-0.104-0.162-0.245-0.162-0.392s0.058-0.288 0.163-0.392l2.13-2.129c0.217-0.217 0.568-0.217 0.784 0l6.633 6.633 12.94-12.94c0.217-0.217 0.568-0.217 0.785 0l2.13 2.13c0.104 0.104 0.163 0.245 0.163 0.392s-0.058 0.288-0.162 0.392l-15.46 15.46c-0.104 0.104-0.245 0.163-0.392 0.163zM7.145 13.873l8.37 8.37 14.678-14.678-1.345-1.345-12.94 12.94c-0.217 0.217-0.568 0.217-0.785 0l-6.633-6.633-1.345 1.345zM30.087 11.781c0.401 1.337 0.618 2.753 0.618 4.219 0 8.108-6.596 14.704-14.705 14.704s-14.704-6.596-14.704-14.704c0-8.108 6.596-14.705 14.704-14.705 3.79 0 7.25 1.442 9.86 3.805l0.785-0.785c-2.812-2.564-6.549-4.129-10.645-4.129-8.72 0-15.814 7.094-15.814 15.814s7.094 15.814 15.814 15.814c8.72 0 15.814-7.094 15.814-15.814 0-1.784-0.297-3.501-0.845-5.102l-0.883 0.883z"}))},y=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M17.425 25.368h-3.22v-2.107c-1.234-0.109-2.518-0.463-3.389-0.944l-0.373-0.206 0.93-3.628 0.622 0.341c0.602 0.33 1.835 0.883 3.323 0.883 0.769 0 1.545-0.244 1.545-0.789 0-0.365-0.235-0.783-1.938-1.358-1.985-0.668-4.264-1.78-4.264-4.477 0-2.098 1.387-3.709 3.652-4.289v-2.162h3.22v1.931c1.366 0.11 2.263 0.465 2.838 0.736l0.416 0.196-0.937 3.53-0.621-0.298c-0.539-0.259-1.442-0.692-2.853-0.692-0.488 0-1.307 0.088-1.307 0.681 0 0.448 1.192 0.94 2.231 1.319 2.781 0.973 3.971 2.344 3.971 4.58 0 1.114-0.391 2.124-1.13 2.922-0.668 0.721-1.601 1.236-2.716 1.503v2.328zM15.307 24.266h1.016v-2.139l0.457-0.079c2.090-0.36 3.389-1.676 3.389-3.433 0-1.446-0.551-2.601-3.24-3.542-1.624-0.592-2.962-1.176-2.962-2.357 0-0.862 0.633-1.783 2.409-1.783 1.213 0 2.119 0.278 2.746 0.536l0.36-1.354c-0.565-0.222-1.372-0.445-2.517-0.479l-0.535-0.016v-1.886h-1.016v1.959l-0.45 0.084c-2.005 0.375-3.202 1.61-3.202 3.305 0 1.577 1.051 2.604 3.514 3.432 1.396 0.472 2.688 1.089 2.688 2.402 0 1.149-1.039 1.891-2.647 1.891-1.312 0-2.447-0.366-3.222-0.708l-0.369 1.437c0.709 0.309 1.808 0.617 3.045 0.654l0.535 0.016v2.058zM15.901 30.607c-8.054 0-14.607-6.552-14.607-14.606s6.552-14.607 14.607-14.607c8.054 0 14.607 6.552 14.607 14.607 0 2.567-0.667 4.981-1.834 7.079l1.095 0.293c1.174-2.2 1.841-4.71 1.841-7.373 0-8.662-7.047-15.709-15.709-15.709s-15.709 7.047-15.709 15.709 7.047 15.709 15.709 15.709c2.752 0 5.34-0.712 7.592-1.96l-0.294-1.099c-2.148 1.244-4.641 1.957-7.297 1.957zM29.539 31.709c-0.141 0-0.282-0.054-0.39-0.161l-2.673-2.673-0.86 1.786c-0.1 0.208-0.32 0.331-0.548 0.31s-0.421-0.184-0.481-0.406l-1.977-7.377c-0.051-0.19 0.004-0.393 0.143-0.532s0.342-0.194 0.532-0.143l7.377 1.977c0.222 0.060 0.385 0.252 0.406 0.481s-0.102 0.448-0.31 0.548l-1.787 0.86 2.673 2.672c0.103 0.103 0.161 0.244 0.161 0.39s-0.058 0.286-0.161 0.39l-1.717 1.717c-0.108 0.107-0.249 0.161-0.39 0.161zM26.318 27.385c0.145 0 0.285 0.057 0.39 0.161l2.832 2.832 0.938-0.938-2.832-2.832c-0.126-0.126-0.184-0.306-0.154-0.482s0.143-0.327 0.304-0.404l1.148-0.552-5.020-1.345 1.345 5.020 0.552-1.148c0.077-0.161 0.228-0.274 0.404-0.304 0.031-0.005 0.062-0.008 0.092-0.008zM20.272 5.201c1.977 0 5.826 2.162 5.826 6.126 0 0.304 0.247 0.551 0.551 0.551s0.551-0.247 0.551-0.551c0-2.063-0.912-3.976-2.568-5.387-1.314-1.119-3.025-1.842-4.361-1.842-0.304 0-0.551 0.247-0.551 0.551s0.247 0.551 0.551 0.551z"}))},w=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M31.438 1.423h-30.877c-0.31 0-0.562 0.251-0.562 0.562v22.175c0 0.31 0.251 0.562 0.562 0.562h3.103v5.294c0 0.201 0.107 0.386 0.281 0.486 0.087 0.050 0.184 0.075 0.281 0.075s0.194-0.025 0.281-0.075l10.012-5.78h16.919c0.31 0 0.562-0.251 0.562-0.562v-22.175c0-0.31-0.251-0.562-0.562-0.562zM30.877 23.598h-16.508c-0.099 0-0.195 0.026-0.281 0.075l-9.3 5.369v-4.883c0-0.31-0.251-0.562-0.562-0.562h-3.103v-21.052h29.753v21.052zM4.386 7.532h22.894c0.31 0 0.562-0.251 0.562-0.562s-0.251-0.562-0.562-0.562h-22.894c-0.31 0-0.562 0.251-0.562 0.562s0.251 0.562 0.562 0.562zM4.386 11.865h22.894c0.31 0 0.562-0.251 0.562-0.562s-0.251-0.562-0.562-0.562h-22.894c-0.31 0-0.562 0.251-0.562 0.562s0.251 0.562 0.562 0.562zM4.386 16.198h22.894c0.31 0 0.562-0.251 0.562-0.562s-0.251-0.562-0.562-0.562h-22.894c-0.31 0-0.562 0.251-0.562 0.562s0.251 0.562 0.562 0.562zM4.386 20.53h22.894c0.31 0 0.562-0.251 0.562-0.562s-0.251-0.562-0.562-0.562h-22.894c-0.31 0-0.562 0.252-0.562 0.562s0.251 0.562 0.562 0.562z"}))},v=function(){return wp.element.createElement(o,{viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M0 448V64h18v384H0zm26.857-.273V64H36v383.727h-9.143zm27.143 0V64h8.857v383.727H54zm44.857 0V64h8.857v383.727h-8.857zm36 0V64h17.714v383.727h-17.714zm44.857 0V64h8.857v383.727h-8.857zm18 0V64h8.857v383.727h-8.857zm18 0V64h8.857v383.727h-8.857zm35.715 0V64h18v383.727h-18zm44.857 0V64h18v383.727h-18zm35.999 0V64h18.001v383.727h-18.001zm36.001 0V64h18.001v383.727h-18.001zm26.857 0V64h18v383.727h-18zm45.143 0V64h26.857v383.727h-26.857zm35.714 0V64h9.143v383.727H476zm18 .273V64h18v384h-18z"}))},k=function(){return wp.element.createElement(o,{className:"custom-icon",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M17.294,17.287l-14.588,0l0,-14.574l14.588,0c0,4.858 0,9.716 0,14.574Zm-13.738,-0.85l12.888,0l0,-12.874l-12.888,0c0,4.291 0,8.583 0,12.874Z"}),wp.element.createElement("rect",{x:"4.489",y:"4.744",width:"11.022",height:"2.512"}))},T=function(){return wp.element.createElement(o,{className:"custom-icon",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M17.294,17.287l-14.588,0l0,-14.574l14.588,0c0,4.858 0,9.716 0,14.574Zm-13.738,-0.85l12.888,0l0,-12.874l-12.888,0c0,4.291 0,8.583 0,12.874Z"}),wp.element.createElement("rect",{y:"8.744",width:"11.022",x:"4.489",height:"2.512"}))},E=function(){return wp.element.createElement(o,{className:"custom-icon",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M17.294,17.287l-14.588,0l0,-14.574l14.588,0c0,4.858 0,9.716 0,14.574Zm-13.738,-0.85l12.888,0l0,-12.874l-12.888,0c0,4.291 0,8.583 0,12.874Z"}),wp.element.createElement("rect",{x:"4.489",y:"12.802",width:"11.022",height:"2.512"}))},x=wp.element.createElement(o,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"20",height:"20"},wp.element.createElement(l,{d:"M5 5H3v2h2V5zm3 8h11v-2H8v2zm9-8H6v2h11V5zM7 11H5v2h2v-2zm0 8h2v-2H7v2zm3-2v2h11v-2H10z"}))},function(e,t,n){"use strict";var a=n(0),l=n.n(a);n(43);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var r=wp.components,i=r.Popover,c=r.RangeControl,d=wp.element,p=d.Fragment,m=d.useRef,s=d.useState,u=function(e){var t=e.id,n=e.index,a=e.option,l=e.min,r=e.max,d=e.onChange,u=o(s(!1),2),b=u[0],g=u[1],h=m(null);return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-sizing-control-item"},n.disabled?wp.element.createElement("input",{type:"number",disabled:n.disabled,className:"wp-block-themeisle-blocks-sizing-control-item-input",id:"wp-block-themeisle-blocks-sizing-control-item-input-".concat(a)}):wp.element.createElement(p,null,wp.element.createElement("input",{type:"number",className:"wp-block-themeisle-blocks-sizing-control-item-input",id:"wp-block-themeisle-blocks-sizing-control-item-input-".concat(a,"-").concat(t),value:n.value||"",min:l,max:r,ref:h,onFocus:function(){return g(!b)},onChange:function(e){return d(n.type,parseInt(e.target.value))}}),b&&wp.element.createElement(i,{onFocusOutside:function(){h.current.contains(document.activeElement)||g(!1)}},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-sizing-control-overlay"},wp.element.createElement(c,{value:n.value,initialPosition:n.value,beforeIcon:"minus",afterIcon:"plus",min:l,max:r,onChange:function(e){return d(n.type,e)}})))),n.label&&wp.element.createElement("label",{className:"wp-block-themeisle-blocks-sizing-control-item-label",htmlFor:"wp-block-themeisle-blocks-sizing-control-item-input-".concat(a,"-").concat(t)},n.label))},b=wp.i18n.__,g=wp.components.IconButton,h=wp.compose.withInstanceId;t.a=h((function(e){var t=e.instanceId,n=e.label,a=e.type,o=e.min,r=e.max,i=e.changeType,c=e.options,d=e.onChange,p="inspector-sizing-control-".concat(t);return c&&1>c.length?b("Please specify more options."):wp.element.createElement("div",{id:p,className:"wp-block-themeisle-blocks-sizing-control"},wp.element.createElement("div",{className:"components-base-control__field"},n&&wp.element.createElement("label",{className:"components-base-control__label",htmlFor:p},n),wp.element.createElement("div",{className:l()("wp-block-themeisle-blocks-sizing-control-wrapper",{linking:a})},c.map((function(e,n){return wp.element.createElement(u,{id:t,index:e,option:n,min:o,max:r,onChange:d})})),a&&wp.element.createElement("div",{className:l()("wp-block-themeisle-blocks-sizing-control-item","toggle-linking",{"is-linked":"linked"===a})},wp.element.createElement(g,{icon:"linked"===a?"admin-links":"editor-unlink",tooltip:b("linked"===a?"Unlink Values":"Link Values"),className:"wp-block-themeisle-blocks-sizing-control-item-input",onClick:function(){return i("linked"===a?"unlinked":"linked")}})))))}))},function(e,t,n){"use strict";var a=n(0),l=n.n(a),o=(n(42),wp.i18n.__),r=wp.components,i=r.Button,c=r.Dashicon,d=r.Dropdown,p=r.IconButton,m=wp.compose.withInstanceId;t.a=m((function(e){var t=e.instanceId,n=e.label,a=e.changeViewType,r=e.view,m=e.children,s="inspector-responsive-control-".concat(t);return wp.element.createElement("div",{id:s,className:"wp-block-themeisle-blocks-responsive-control"},wp.element.createElement("div",{className:"components-base-control__field"},wp.element.createElement("div",{className:"components-base-control__title"},wp.element.createElement("label",{className:"components-base-control__label"},n),wp.element.createElement("div",{className:"floating-controls"},wp.element.createElement(d,{position:"top left",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return wp.element.createElement(p,{icon:"mobile"===r?"smartphone":r,label:o("Responsiveness Settings"),className:"is-button",onClick:n,"aria-expanded":t})},renderContent:function(e){var t=e.onToggle;return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-responsive-control-settings"},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-responsive-control-settings-title"},o("Responsiveness Settings")),wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-responsive-control-settings-item",{"is-selected":"desktop"===r}),onClick:function(){t(),a("desktop")}},wp.element.createElement(c,{icon:"desktop"}),wp.element.createElement("span",{className:"popover-title"},o("Desktop"))),wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-responsive-control-settings-item",{"is-selected":"tablet"===r}),onClick:function(){t(),a("tablet")}},wp.element.createElement(c,{icon:"tablet"}),wp.element.createElement("span",{className:"popover-title"},o("Tablet Devices"))),wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-responsive-control-settings-item",{"is-selected":"mobile"===r}),onClick:function(){t(),a("mobile")}},wp.element.createElement(c,{icon:"smartphone"}),wp.element.createElement("span",{className:"popover-title"},o("Smartphones"))))}}))),m))}))},function(e,t,n){"use strict";t.a={"themeisle-blocks/advanced-heading":{tag:"h2",headingColor:"#000000",fontStyle:"normal",textTransform:"none",paddingType:"linked",paddingTypeTablet:"linked",paddingTypeMobile:"linked",padding:0,paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0,marginType:"unlinked",marginTypeTablet:"unlinked",marginTypeMobile:"unlinked",margin:0,marginTop:0,marginBottom:25},"themeisle-blocks/button-group":{spacing:20,collapse:"collapse-none",fontSize:18,fontStyle:"normal",data:{color:"#ffffff",background:"#32373c",paddingTopBottom:12,paddingLeftRight:24}},"themeisle-blocks/font-awesome-icons":{fontSize:16,padding:5,margin:5},"themeisle-blocks/advanced-columns":{columnsGap:"default",paddingType:"linked",paddingTypeTablet:"linked",paddingTypeMobile:"linked",padding:20,paddingTop:20,paddingRight:20,paddingBottom:20,paddingLeft:20,marginType:"unlinked",marginTypeTablet:"unlinked",marginTypeMobile:"unlinked",margin:20,marginTop:20,marginBottom:20,columnsHTMLTag:"div",horizontalAlign:"unset",columnsHeight:"auto",verticalAlign:"unset",hide:!1,hideTablet:!1,hideMobile:!1},"themeisle-blocks/advanced-column":{paddingType:"linked",paddingTypeTablet:"linked",paddingTypeMobile:"linked",padding:20,paddingTop:20,paddingRight:20,paddingBottom:20,paddingLeft:20,marginType:"unlinked",marginTypeTablet:"unlinked",marginTypeMobile:"unlinked",margin:20,marginTop:20,marginRight:0,marginBottom:20,marginLeft:0,columnsHTMLTag:"div"}}},,function(e,t,n){"use strict";n.d(t,"b",(function(){return l})),n.d(t,"a",(function(){return o}));var a=wp.i18n.__,l=function(e){var t=document.createElement("div");return t.innerHTML=e,void 0!==t.innerText?t.innerText:t.textContent},o=function(e){var t=[a("January"),a("February"),a("March"),a("April"),a("May"),a("June"),a("July"),a("August"),a("September"),a("October"),a("November"),a("December")],n=(e=new Date(e)).getDate(),l=e.getMonth(),o=e.getFullYear();return n+" "+t[l]+", "+o}},function(e,t,n){"use strict";n(52);var a=wp.components,l=a.Dropdown,o=a.IconButton,r=wp.compose.withInstanceId;t.a=r((function(e){var t=e.label,n=e.instanceId,a=e.children,r="inspector-control-panel-control-".concat(n);return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-control-panel-control"},wp.element.createElement("div",{className:"components-base-control__field"},wp.element.createElement("div",{className:"components-base-control__title"},wp.element.createElement("label",{className:"components-base-control__label",for:r},t),wp.element.createElement("div",{className:"floating-controls"},wp.element.createElement(l,{position:"top left",headerTitle:t,expandOnMobile:!0,renderToggle:function(e){var n=e.isOpen,a=e.onToggle;return wp.element.createElement(o,{id:r,icon:"admin-settings",label:t,className:"is-button",onClick:a,"aria-expanded":n})},renderContent:function(){return wp.element.createElement("div",{className:"wp-block-themeisle-popover-settings"},a)}})))))}))},function(e,t,n){"use strict";var a=n(0),l=n.n(a);n(41);function o(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var i=lodash,c=i.startCase,d=i.toLower,p=wp.i18n.__,m=wp.compose.withInstanceId,s=wp.components,u=s.Button,b=s.BaseControl,g=s.Dropdown,h=s.MenuGroup,f=s.MenuItem,y=s.SelectControl,w=s.TextControl,v=wp.element,k=v.useEffect,T=v.useState;t.a=m((function(e){var t=e.instanceId,n=e.label,a=e.value,i=e.valueVariant,m=e.valueStyle,s=e.valueTransform,v=e.isSelect,E=void 0!==v&&v,x=e.onChangeFontFamily,C=e.onChangeFontVariant,S=e.onChangeFontStyle,B=e.onChangeTextTransform;k((function(){fetch("https://www.googleapis.com/webfonts/v1/webfonts?key=AIzaSyClGdkPJ1BvgLOol5JAkQY4Mv2lkLYu00k").then((function(e){return e.json()})).then((function(e){R(e.items),a&&e.items.find((function(e){if(a===e.family){var t=e.variants.filter((function(e){return!1===e.includes("italic")})).map((function(e){return{label:c(d(e)),value:e}}));return z(t)}}))}))}),[]);var M=r(T(null),2),O=M[0],R=M[1],N=r(T(null),2),L=N[0],z=N[1],H=r(T(""),2),_=H[0],P=H[1],A="inspector-google-fonts-control-".concat(t);return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-google-fonts-control"},wp.element.createElement(b,{label:n,id:A},null!==O?E?wp.element.createElement(y,{value:a||"",id:A,options:[{label:p("Default"),value:""}].concat(o(O.map((function(e){return{label:e.family,value:e.family}})))),onChange:function(e){var t=[];if(""===e)return t=[{label:p("Regular"),value:"regular"},{label:p("Italic"),value:"italic"}],x(void 0),void z(t);x(e),t=O.find((function(t){return e===t.family})).variants.filter((function(e){return!1===e.includes("italic")})).map((function(e){return{label:c(d(e)),value:e}})),z(t)}}):wp.element.createElement(g,{contentClassName:"wp-block-themeisle-blocks-google-fonts-popover",position:"bottom center",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return wp.element.createElement(u,{isLarge:!0,className:"wp-block-themeisle-blocks-google-fonts-button",id:A,onClick:n,"aria-expanded":t},a||p("Select Font Family"))},renderContent:function(e){var t=e.onToggle;return wp.element.createElement(h,{label:p("Google Fonts")},wp.element.createElement(w,{value:_,onChange:function(e){return P(e)}}),wp.element.createElement("div",{className:"components-popover__items"},wp.element.createElement(f,{onClick:function(){t(),x(void 0),z([]),P("")}},p("Default")),O.map((function(e){if(!_||e.family.toLowerCase().includes(_.toLowerCase()))return wp.element.createElement(f,{className:l()({"is-selected":e.family===a}),onClick:function(){t(),x(e.family);var n=e.variants.filter((function(e){return!1===e.includes("italic")})).map((function(e){return{label:c(d(e)),value:e}}));z(n),P("")}},e.family)}))))}}):p("Loading…")),L&&wp.element.createElement(y,{label:p("Font Width"),value:i||"regular",options:L,onChange:C}),wp.element.createElement(y,{label:p("Font Style"),value:m,options:[{label:p("Regular"),value:"normal"},{label:p("Italic"),value:"italic"}],onChange:S}),wp.element.createElement(y,{label:p("Font Transform"),value:s,options:[{label:p("Default"),value:"none"},{label:p("Uppercase"),value:"uppercase"},{label:p("Lowercase"),value:"lowercase"},{label:p("Capitalize"),value:"capitalize"}],onChange:B}))}))},function(e,t){e.exports=React},function(e,t,n){"use strict";n.d(t,"b",(function(){return b})),n.d(t,"a",(function(){return g}));var a=n(0),l=n.n(a),o=(n(62),wp.components),r=o.BaseControl,i=o.Button,c=o.Dropdown,d=o.IconButton,p=o.Toolbar,m=wp.compose.withInstanceId,s=wp.blockEditor.BlockControls,u=wp.element.Fragment,b=m((function(e){var t=e.instanceId,n=e.label,a=e.value,o=e.options,c=e.onChange,d="inspector-style-switcher-control-".concat(t);return wp.element.createElement(r,{id:d,label:n},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-style-switcher"},o.map((function(e){return wp.element.createElement(i,{className:l()("blocks-style-switcher-item",{"is-active":e.value===a}),tabIndex:"0",onClick:function(){return function(e){return c(e)}(e.value)}},wp.element.createElement("div",{className:"blocks-style-switcher-item-preview"},wp.element.createElement("img",{src:e.image})),wp.element.createElement("div",{className:"blocks-style-switcher-item-label"},e.label))}))))})),g=function(e){var t=e.label,n=e.value,a=e.options,o=e.onChange;return wp.element.createElement(s,null,wp.element.createElement(p,{className:"wp-themesiel-blocks-block-styles-components-toolbar"},wp.element.createElement(c,{contentClassName:"wp-themesiel-blocks-block-styles-popover-content",position:"bottom center",renderToggle:function(e){var n=e.isOpen,a=e.onToggle;return wp.element.createElement(d,{className:"components-dropdown-menu__toggle",icon:"admin-appearance",onClick:a,"aria-haspopup":"true","aria-expanded":n,label:t,tooltip:t},wp.element.createElement("span",{className:"components-dropdown-menu__indicator"}))},renderContent:function(){return wp.element.createElement(u,null,wp.element.createElement("div",{className:"wp-block-themeisle-blocks-style-switcher"},a.map((function(e){return wp.element.createElement(i,{className:l()("blocks-style-switcher-item",{"is-active":e.value===n}),tabIndex:"0",onClick:function(){return function(e){return o(e)}(e.value)}},wp.element.createElement("div",{className:"blocks-style-switcher-item-preview"},wp.element.createElement("img",{src:e.image})),wp.element.createElement("div",{className:"blocks-style-switcher-item-label"},e.label))}))))}})))}},,function(e,t,n){"use strict";n.r(t);var a=n(0),l=n.n(a),o=(n(70),n(71),wp.components),r=o.SVG,i=o.Path;t.default=function(e){var t=e.type,n=e.front,a=e.style,o=e.fill,c=e.invert,d=e.width,p=e.height;return"none"!==a&&wp.element.createElement("div",{className:l()("wp-block-themeisle-blocks-advanced-columns-separators",t),style:!n&&d?{transform:"".concat(d?"scaleX( ".concat(d/100," )"):"")}:{}},"bigTriangle"===a&&!1===c&&wp.element.createElement(r,{id:"bigTriangle",fill:o,viewBox:"0 0 100 100",width:"100%",height:p?"".concat(p,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:l()({rotate:"bottom"===t})},wp.element.createElement(i,{d:"M0 0 L50 100 L100 0 Z"})),"bigTriangle"===a&&!0===c&&wp.element.createElement(r,{id:"bigTriangle",fill:o,viewBox:"0 0 100 100",width:"100%",height:p?"".concat(p,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:l()({rotate:"top"===t})},wp.element.createElement(i,{d:"M100, 0l-50, 100l-50, -100l0, 100l100, 0l0, -100Z"})),"rightCurve"===a&&!1===c&&wp.element.createElement(r,{id:"rightCurve",fill:o,viewBox:"0 0 100 100",width:"100%",height:p?"".concat(p,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:l()({rotate:"top"===t})},wp.element.createElement(i,{d:"M0 100 C 20 0 50 0 100 100 Z"})),"rightCurve"===a&&!0===c&&wp.element.createElement(r,{id:"rightCurve",fill:o,viewBox:"0 0 100 100",width:"100%",height:p?"".concat(p,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:l()({rotate:"top"===t})},wp.element.createElement(i,{d:"M0 100 C 50 0 70 0 100 100 Z"})),"curve"===a&&wp.element.createElement(r,{id:"curve",fill:o,viewBox:"0 0 100 100",width:"100%",height:p?"".concat(p,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:l()({rotate:"top"===t})},wp.element.createElement(i,{d:"M0 100 C40 0 60 0 100 100 Z"})),"slant"===a&&!1===c&&wp.element.createElement(r,{id:"slant",fill:o,viewBox:"0 0 100 100",width:"100%",height:p?"".concat(p,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:l()({rotate:"bottom"===t})},wp.element.createElement(i,{d:"M0 0 L100 100 L100 0 Z"})),"slant"===a&&!0===c&&wp.element.createElement(r,{id:"slant",fill:o,viewBox:"0 0 100 100",width:"100%",height:p?"".concat(p,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:l()({rotate:"bottom"===t})},wp.element.createElement(i,{d:"M0 0 L0 100 L100 0 Z"})),"cloud"===a&&wp.element.createElement(r,{id:"cloud",fill:o,viewBox:"0 0 100 100",width:"100%",height:p?"".concat(p,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:l()({rotate:"top"===t})},wp.element.createElement(i,{d:"M-5 100 Q 10 -100 15 100 Z M10 100 Q 20 -20 30 100 M25 100 Q 35 -70 45 100 M40 100 Q 50 -100 60 100 M55 100 Q 65 -20 75 100 M70 100 Q 75 -45 90 100 M85 100 Q 90 -50 95 100 M90 100 Q 95 -25 105 100 Z"})))}},function(e,t,n){"use strict";n.r(t);var a=n(0),l=n.n(a),o=(n(67),n(2)),r=wp.i18n.__,i=wp.components,c=i.Button,d=i.ButtonGroup,p=i.Icon,m=i.IconButton,s=i.Tooltip,u=wp.compose.withInstanceId;t.default=u((function(e){var t=e.label,n=e.instanceId,a=e.backgroundType,i=e.changeBackgroundType,u="inspector-background-control-".concat(n);return wp.element.createElement("div",{id:u,className:"components-base-control wp-block-themeisle-blocks-advanced-columns-background-control"},wp.element.createElement("div",{className:"components-base-control__field"},wp.element.createElement("div",{className:"components-base-control__title"},wp.element.createElement("label",{className:"components-base-control__label"},t),wp.element.createElement(d,{className:"linking-controls"},wp.element.createElement(m,{icon:"admin-customizer",label:r("Color"),className:l()("is-button",{"is-primary":"color"===a}),onClick:function(){i("color")}}),wp.element.createElement(m,{icon:"format-image",label:r("Image"),className:l()("is-button",{"is-primary":"image"===a}),onClick:function(){i("image")}}),wp.element.createElement(s,{text:r("Gradient")},wp.element.createElement(c,{label:r("Gradient"),className:l()("is-button",{"is-primary":"gradient"===a}),onClick:function(){i("gradient")}},wp.element.createElement(p,{icon:o.b})))))))}))},,function(e,t){e.exports=ReactDOM},function(e,t,n){"use strict";t.a={1:{equal:["100"]},2:{equal:["50","50"],oneTwo:["33.34","66.66"],twoOne:["66.66","33.34"]},3:{equal:["33.33","33.33","33.33"],oneOneTwo:["25","25","50"],twoOneOne:["50","25","25"],oneTwoOne:["25","50","25"],oneThreeOne:["20","60","20"]},4:{equal:["25","25","25","25"]},5:{equal:["20","20","20","20","20"]},6:{equal:["16.66","16.66","16.66","16.66","16.66","16.66"]}}},function(e,t,n){"use strict";n(68);var a=n(0),l=n.n(a),o=wp.components,r=o.Dashicon,i=o.Tooltip,c=function(e){var t=e.title,n=e.firstColor,a=e.secondColor,o=e.isSelected,c=e.onChange,d=wp.element.createElement("button",{type:"button","aria-pressed":o,className:l()("wp-block-themeisle-blocks-gradient-picker-control-option",{"is-active":o}),style:{background:"linear-gradient(90deg, ".concat(n," 0%, ").concat(a," 100%)")},onClick:function(){return c(n,0,a,100,"linear",90,"center center")}});return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-gradient-picker-control-option-wrapper"},t?wp.element.createElement(i,{text:t},d):d,o&&wp.element.createElement(r,{icon:"saved"}))},d=wp.i18n.__,p=[{title:d("Reef"),firstColor:"#36d1dc",secondColor:"#5b86e5"},{title:d("Mild"),firstColor:"#67B26F",secondColor:"#4ca2cd"},{title:d("Mojito"),firstColor:"#1D976C",secondColor:"#93F9B9"},{title:d("Nelson"),firstColor:"#f2709c",secondColor:"#ff9472"},{title:d("Orange Fun"),firstColor:"#fc4a1a",secondColor:"#f7b733"},{title:d("Evening Night"),firstColor:"#005AA7",secondColor:"#FFFDE4"},{title:d("Calm Darya"),firstColor:"#5f2c82",secondColor:"#49a09d"},{title:d("Opa"),firstColor:"#3D7EAA",secondColor:"#FFE47A"},{title:d("Bora Bora"),firstColor:"#2BC0E4",secondColor:"#EAECC6"},{title:d("Electric Violet"),firstColor:"#4776E6",secondColor:"#8E54E9"},{title:d("Pinky"),firstColor:"#DD5E89",secondColor:"#F7BB97"},{title:d("Purple Paradise"),firstColor:"#1D2B64",secondColor:"#F8CDDA"}],m=wp.i18n.__,s=wp.components,u=s.Button,b=s.ColorIndicator,g=s.Dropdown,h=s.RangeControl,f=s.SelectControl,y=wp.compose.withInstanceId,w=wp.blockEditor.ColorPalette,v=wp.element.Fragment;t.a=y((function(e){var t,n=e.label,a=e.instanceId,l=e.value,o=e.customGradient,r=void 0===o||o,i=e.onChange,d="inspector-gradient-picker-control-".concat(a),s=function(e){var t=e.firstColor,n=void 0===t?l.firstColor:t,a=e.firstLocation,o=void 0===a?l.firstLocation:a,r=e.secondColor,c=void 0===r?l.secondColor:r,d=e.secondLocation,p=void 0===d?l.secondLocation:d,m=e.type,s=void 0===m?l.type:m,u=e.angle,b=void 0===u?l.angle:u,g=e.position,h=void 0===g?l.position:g;i(n,o,c,p,s,b,h)};t="linear"===l.type?"".concat(l.angle,"deg"):"at ".concat(l.position);var y="".concat(l.type,"-gradient( ").concat(t,", ").concat(l.firstColor||"rgba( 0, 0, 0, 0 )"," ").concat(l.firstLocation,"%, ").concat(l.secondColor||"rgba( 0, 0, 0, 0 )"," ").concat(l.secondLocation,"% )"),k=p.some((function(e){return e.firstColor===l.firstColor&&e.secondColor===l.secondColor}));return wp.element.createElement("div",{id:d,className:"wp-block-themeisle-blocks-gradient-picker-control"},wp.element.createElement("div",{className:"components-base-control__field"},n&&wp.element.createElement("div",{className:"components-base-control__title"},wp.element.createElement("label",{className:"components-base-control__label"},n,!k&&wp.element.createElement(b,{colorValue:y}))),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-gradient-picker-control-presets"},p.map((function(e){return wp.element.createElement(c,{title:e.title,firstColor:e.firstColor,secondColor:e.secondColor,isSelected:e.firstColor===l.firstColor&&e.secondColor===l.secondColor,onChange:i})})),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-gradient-picker-control-custom-wrapper"},r&&wp.element.createElement(g,{className:"wp-block-themeisle-blocks-gradient-picker-control-dropdown-link-action",contentClassName:"wp-block-themeisle-blocks-gradient-picker-control-dropdown-content",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return wp.element.createElement(u,{"aria-expanded":t,onClick:n,isLink:!0},m("Custom Gradient"))},renderContent:function(){return wp.element.createElement(v,null,wp.element.createElement("p",null,m("First Color")),wp.element.createElement(w,{label:m("Color"),clearable:!1,value:l.firstColor,onChange:function(e){return s({firstColor:e})}}),wp.element.createElement(h,{label:m("Location"),value:l.firstLocation,min:0,max:100,onChange:function(e){return s({firstLocation:e})}}),wp.element.createElement("p",null,m("Second Color")),wp.element.createElement(w,{label:m("Color"),clearable:!1,value:l.secondColor,onChange:function(e){return s({secondColor:e})}}),wp.element.createElement(h,{label:m("Location"),value:l.secondLocation,min:0,max:100,onChange:function(e){return s({secondLocation:e})}}),wp.element.createElement(f,{label:m("Type"),value:l.type,options:[{label:"Linear",value:"linear"},{label:"Radial",value:"radial"}],onChange:function(e){return s({type:e})}}),"linear"===l.type?wp.element.createElement(h,{label:m("Angle"),value:l.angle,min:0,max:360,onChange:function(e){return s({angle:e})}}):wp.element.createElement(f,{label:m("Position"),value:l.position,options:[{label:"Top Left",value:"top left"},{label:"Top Center",value:"top center"},{label:"Top Right",value:"top right"},{label:"Center Left",value:"center left"},{label:"Center Center",value:"center center"},{label:"Center Right",value:"center right"},{label:"Bottom Left",value:"bottom left"},{label:"Bottom Center",value:"bottom center"},{label:"Bottom Right",value:"bottom right"}],onChange:function(e){return s({position:e})}}))}}),wp.element.createElement(u,{className:"wp-block-themeisle-blocks-gradient-picker-control-clear",type:"button",isSmall:!0,isDefault:!0,onClick:function(){return i("#ffffff",0,"#ffffff",100,"linear",90,"center center")}},m("Clear"))))))}))},,function(e,t,n){"use strict";var a=n(0),l=n.n(a),o=n(21);n(55);function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var i=wp.i18n.__,c=wp.apiFetch,d=wp.components,p=d.BaseControl,m=d.IconButton,s=d.Popover,u=wp.compose,b=u.compose,g=u.withInstanceId,h=wp.data.withSelect,f=wp.element,y=f.useEffect,w=f.useRef,v=f.useState,k=wp.keycodes,T=k.DOWN,E=k.ENTER,x=k.TAB,C=k.UP,S=wp.url.addQueryArgs;t.a=b(g,h((function(e){if(e("core/block-editor"))return{fetchLinkSuggestions:(0,e("core/block-editor").getSettings)().__experimentalFetchLinkSuggestions}})))((function(e){var t=e.instanceId,n=e.label,a=e.help,d=e.placeholder,u=e.value,b=e.className,g=e.onChange,h=e.children,f=e.fetchLinkSuggestions;y((function(){H&&null!==A&&void 0!==M[A]&&!B&&null!==k.current&&(B=!0,Object(o.a)(M[A],k.current,{onlyScrollIfNeeded:!0}),setTimeout((function(){B=!1}),100))}));var k=w(null),B=!1,M=[],O=[],R=r(v(!1),2),N=R[0],L=R[1],z=r(v(!1),2),H=z[0],_=z[1],P=r(v(null),2),A=P[0],I=P[1],F=r(v([]),2),j=F[0],V=F[1],G=function(e){return function(t){M[e]=t}},D=function(e){g(e),_(!1)},W="inspector-link-control-".concat(t);return wp.element.createElement(p,{label:n,id:W,help:a,className:b},wp.element.createElement("div",{className:l()("wp-block-themeisle-blocks-link-control-wrapper",{"is-open":N})},wp.element.createElement("input",{type:"url",placeholder:d,value:u,onChange:function(e){g(e.target.value),function(e){var t;1>=e.length||/^https?:/.test(e)?_(!1):(_(!0),(t=f?f(e):c({path:S("/wp/v2/search",{search:e,per_page:20,type:"post"})})).then((function(e){O===t&&(V(e),I(null))})),O=t)}(e.target.value)},onKeyDown:function(e){if(H&&1<=j.length){var t=j[A];switch(e.keyCode){case C:e.stopPropagation(),e.preventDefault();var n=A?A-1:j.length-1;I(n);break;case T:e.stopPropagation(),e.preventDefault();var a=null===A||A===j.length-1?0:A+1;I(a);break;case x:case E:null!==A&&(e.stopPropagation(),D(t.url))}}},className:l()("components-text-control__input",{"is-full":void 0===h})}),H&&0<j.length&&wp.element.createElement(s,{position:"bottom",noArrow:!0,focusOnMount:!1,className:"wp-block-themeisle-blocks-link-control-popover"},wp.element.createElement("div",{ref:k,className:"wp-block-themeisle-blocks-link-control-popover-container"},j.map((function(e,t){return wp.element.createElement("button",{key:e.id,role:"option",tabIndex:"-1",ref:G(t),className:l()("block-editor-url-input__suggestion","editor-url-input__suggestion",{"is-selected":t===A}),onClick:function(){return D(e.url)}},e.title||i("Untitled Post"))})))),void 0!==h&&wp.element.createElement(m,{icon:"admin-generic",tooltip:i("Link Options"),onClick:function(){return L(!N)}})),N&&h)}))},,,,function(e,t,n){"use strict";n.r(t);var a=n(0),l=n.n(a),o=(n(69),wp.i18n.__),r=wp.components,i=r.Button,c=r.Dashicon,d=r.Dropdown,p=r.IconButton,m=r.Path,s=r.Rect,u=r.SVG,b=r.Tooltip,g=wp.compose.withInstanceId,h=wp.element.Fragment;t.default=g((function(e){var t,n=e.label,a=e.instanceId,r=e.onClick,g=e.layout,f=e.layoutTablet,y=e.layoutMobile,w=e.columns,v=e.changeViewType,k=e.view,T="inspector-layout-control-".concat(a);return"desktop"===k?t=g:"tablet"===k?t=f:"mobile"===k&&(t=y),wp.element.createElement("div",{id:T,className:"wp-block-themeisle-blocks-advanced-columns-layout-control"},wp.element.createElement("div",{className:"components-base-control__field"},wp.element.createElement("div",{className:"components-base-control__title"},wp.element.createElement("label",{className:"components-base-control__label"},n),wp.element.createElement("div",{className:"linking-controls"},wp.element.createElement(d,{position:"top left",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return wp.element.createElement(p,{icon:"mobile"===k?"smartphone":k,label:o("Responsiveness Settings"),className:"is-button",onClick:n,"aria-expanded":t})},renderContent:function(e){var t=e.onToggle;return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-responsive-control-settings"},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-responsive-control-settings-title"},o("Responsiveness Settings")),wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-responsive-control-settings-item",{"is-selected":"desktop"===k}),onClick:function(){t(),v("desktop")}},wp.element.createElement(c,{icon:"desktop"}),wp.element.createElement("span",{className:"popover-title"},o("Desktop"))),wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-responsive-control-settings-item",{"is-selected":"tablet"===k}),onClick:function(){t(),v("tablet")}},wp.element.createElement(c,{icon:"tablet"}),wp.element.createElement("span",{className:"popover-title"},o("Tablet Devices"))),wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-responsive-control-settings-item",{"is-selected":"mobile"===k}),onClick:function(){t(),v("mobile")}},wp.element.createElement(c,{icon:"smartphone"}),wp.element.createElement("span",{className:"popover-title"},o("Smartphones"))))}}))),1===w&&wp.element.createElement(b,{text:o("Single Row")},wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"equal"===t}),onClick:function(){return r("equal")}},wp.element.createElement(u,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(m,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}))))||2===w&&wp.element.createElement(h,null,wp.element.createElement(b,{text:o("Equal")},wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"equal"===t}),onClick:function(){return r("equal")}},wp.element.createElement(u,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(m,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(s,{x:"22.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(b,{text:o("1:2")},wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"oneTwo"===t}),onClick:function(){return r("oneTwo")}},wp.element.createElement(u,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(m,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(s,{x:"16.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(b,{text:o("2:1")},wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"twoOne"===t}),onClick:function(){return r("twoOne")}},wp.element.createElement(u,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(m,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(s,{x:"28.9",y:"13",width:"2.2",height:"22"})))),("mobile"==k||"tablet"==k)&&wp.element.createElement(b,{text:o("Collapsed Rows")},wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"collapsedRows"===t}),onClick:function(){return r("collapsedRows")}},wp.element.createElement(u,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(m,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(s,{x:"6",y:"22.9",width:"36",height:"2.2"})))))||3===w&&wp.element.createElement(h,null,wp.element.createElement(b,{text:o("Equal")},wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"equal"===t}),onClick:function(){return r("equal")}},wp.element.createElement(u,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(m,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(s,{x:"28.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(s,{x:"16.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(b,{text:o("1:1:2")},wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"oneOneTwo"===t}),onClick:function(){return r("oneOneTwo")}},wp.element.createElement(u,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(m,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(s,{x:"22.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(s,{x:"12.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(b,{text:o("2:1:1")},wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"twoOneOne"===t}),onClick:function(){return r("twoOneOne")}},wp.element.createElement(u,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(m,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(s,{x:"22.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(s,{x:"32.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(b,{text:o("1:2:1")},wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"oneTwoOne"===t}),onClick:function(){return r("oneTwoOne")}},wp.element.createElement(u,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(m,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(s,{x:"13.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(s,{x:"31.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(b,{text:o("1:3:1")},wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"oneThreeOne"===t}),onClick:function(){return r("oneThreeOne")}},wp.element.createElement(u,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(m,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(s,{x:"11.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(s,{x:"33.9",y:"13",width:"2.2",height:"22"})))),("mobile"==k||"tablet"==k)&&wp.element.createElement(b,{text:o("Collapsed Rows")},wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"collapsedRows"===t}),onClick:function(){return r("collapsedRows")}},wp.element.createElement(u,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(m,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(s,{x:"6",y:"22.9",width:"36",height:"2.2"})))))||4===w&&wp.element.createElement(h,null,wp.element.createElement(b,{text:o("Equal")},wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"equal"===t}),onClick:function(){return r("equal")}},wp.element.createElement(u,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(m,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(s,{x:"13.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(s,{x:"32.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(s,{x:"22.9",y:"13",width:"2.2",height:"22"})))),("mobile"==k||"tablet"==k)&&wp.element.createElement(h,null,wp.element.createElement(b,{text:o("Two Column Grid")},wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"twoColumnGrid"===t}),onClick:function(){return r("twoColumnGrid")}},wp.element.createElement(u,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(m,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(s,{x:"4",y:"22.9",width:"40",height:"2.2"}),wp.element.createElement(s,{x:"22.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(b,{text:o("Collapsed Rows")},wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"collapsedRows"===t}),onClick:function(){return r("collapsedRows")}},wp.element.createElement(u,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(m,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(s,{x:"6",y:"22.9",width:"36",height:"2.2"}))))))||5===w&&wp.element.createElement(h,null,wp.element.createElement(b,{text:o("Equal")},wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"equal"===t}),onClick:function(){return r("equal")}},wp.element.createElement(u,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(m,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(s,{x:"10.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(s,{x:"34.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(s,{x:"26.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(s,{x:"18.9",y:"13",width:"2.2",height:"22"})))),("mobile"==k||"tablet"==k)&&wp.element.createElement(b,{text:o("Collapsed Rows")},wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"collapsedRows"===t}),onClick:function(){return r("collapsedRows")}},wp.element.createElement(u,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(m,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(s,{x:"6",y:"22.9",width:"36",height:"2.2"})))))||6===w&&wp.element.createElement(h,null,wp.element.createElement(b,{text:o("Equal")},wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"equal"===t}),onClick:function(){return r("equal")}},wp.element.createElement(u,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(m,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(s,{x:"10.4",y:"13",width:"2.2",height:"22"}),wp.element.createElement(s,{x:"35.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(s,{x:"29.4",y:"13",width:"2.2",height:"22"}),wp.element.createElement(s,{x:"16.4",y:"13",width:"2.2",height:"22"}),wp.element.createElement(s,{x:"22.9",y:"13",width:"2.2",height:"22"})))),("mobile"==k||"tablet"==k)&&wp.element.createElement(h,null,wp.element.createElement(b,{text:o("Two Column Grid")},wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"twoColumnGrid"===t}),onClick:function(){return r("twoColumnGrid")}},wp.element.createElement(u,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(m,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(s,{x:"4",y:"18.9",width:"40",height:"2.2"}),wp.element.createElement(s,{x:"22.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(s,{x:"4",y:"26.9",width:"40",height:"2.2"})))),wp.element.createElement(b,{text:o("Three Column Grid")},wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"threeColumnGrid"===t}),onClick:function(){return r("threeColumnGrid")}},wp.element.createElement(u,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(m,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(s,{x:"4",y:"22.9",width:"40",height:"2.2"}),wp.element.createElement(s,{x:"28.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(s,{x:"16.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(b,{text:o("Collapsed Rows")},wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"collapsedRows"===t}),onClick:function(){return r("collapsedRows")}},wp.element.createElement(u,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(m,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(s,{x:"6",y:"22.9",width:"36",height:"2.2"}))))))))}))},function(e,t,n){"use strict";n.r(t);n(72);var a=n(2),l=n(0),o=n.n(l),r=n(15),i=n.n(r);n(73);function c(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var d=lodash,p=d.startCase,m=d.toLower,s=wp.i18n.__,u=wp.components,b=u.Button,g=u.Dashicon,h=u.Icon,f=u.TextControl,y=u.Tooltip,w=u.SelectControl,v=function(e){var t,n=e.preview,l=e.tab,r=e.blocksCategories,i=e.templateCategories,d=e.selectedCategory,u=e.selectedTemplate,v=e.search,k=e.togglePreview,T=e.changeTab,E=e.close,x=e.importTemplate,C=e.selectCategory,S=e.changeSearch,B=(t=("block"===l?r:i).map((function(e){return{label:p(m(e)),value:e}})),[{label:s("All Categories"),value:"all"}].concat(c(t)));return wp.element.createElement("div",{className:"library-modal-control-panel"},wp.element.createElement("div",{className:"library-modal-header"},wp.element.createElement("div",{className:"library-modal-header-logo"},n?wp.element.createElement(b,{className:"library-modal-header-tabs-button back-to-library","aria-label":s("Back to Library"),onClick:k},wp.element.createElement(g,{icon:"arrow-left-alt"})," ",s("Back to Library")):wp.element.createElement("div",{className:"library-modal-header-tabs-button"},wp.element.createElement(h,{icon:a.l}))),!n&&wp.element.createElement("div",{className:"library-modal-header-tabs"},wp.element.createElement(b,{className:o()("library-modal-header-tabs-button",{"is-selected":"block"===l}),onClick:function(){return T("block")}},wp.element.createElement(g,{icon:"screenoptions"}),s("Blocks")),wp.element.createElement(b,{className:o()("library-modal-header-tabs-button",{"is-selected":"template"===l}),onClick:function(){return T("template")}},wp.element.createElement(g,{icon:"editor-table"}),s("Templates"))),wp.element.createElement("div",{className:"library-modal-header-actions"},n&&wp.element.createElement(b,{className:"library-modal-header-tabs-button insert-button",onClick:function(){return x(u.template_url)},tabindex:"0"},wp.element.createElement(g,{icon:"arrow-down-alt",size:16}),s("Insert")),wp.element.createElement(y,{text:s("Close")},wp.element.createElement(b,{className:"library-modal-header-tabs-button","aria-label":s("Close settings"),onClick:E},wp.element.createElement(g,{icon:"no-alt"}))))),!n&&wp.element.createElement("div",{className:"library-modal-actions"},wp.element.createElement(w,{className:"library-modal-category-control",value:"all"===d?"all":d,onChange:C,options:B}),wp.element.createElement(f,{type:"text",value:v||"",placeholder:s("Search"),className:"library-modal-search-control",onChange:S})))},k=wp.i18n.__,T=wp.components.Notice,E=wp.element.Fragment,x=function(e){var t=e.isError,n=e.removeError,a=e.isMissing,l=e.removeMissing,o=e.missingBlocks;return wp.element.createElement(E,null,!Boolean(themeisleGutenberg.isCompatible)&&wp.element.createElement("div",{className:"library-modal-error"},wp.element.createElement(T,{status:"warning",isDismissible:!1,className:"version-warning",actions:[{label:k("Update Now"),url:themeisleGutenberg.updatePath}]},k("You are using an older version of Otter. Use the latest version of Otter to have maximum compatibility with Template Library."))),t&&wp.element.createElement("div",{className:"library-modal-error"},wp.element.createElement(T,{status:"error",onRemove:n},k("There seems to be an error. Please try again."))),a&&wp.element.createElement("div",{className:"library-modal-error"},wp.element.createElement(T,{status:"warning",className:"library-modal-missing",onRemove:l},k("You seem to be missing some blocks that are required by your selected template."),wp.element.createElement("details",null,wp.element.createElement("summary",null,k("View Missing Blocks")),wp.element.createElement("ul",null,o.map((function(e){return wp.element.createElement("li",null,e)})))))))},C=n(22),S=n.n(C),B=wp.i18n.__,M=wp.components.Button,O=function(e){var t=e.template,n=e.togglePreview,a=e.importTemplate;return wp.element.createElement("div",{"aria-label":t.title||B("Untitled Gutenberg Template"),className:"library-modal-content__item",tabindex:"0"},wp.element.createElement("div",{className:"library-modal-content__preview"},wp.element.createElement(S.a,null,wp.element.createElement("img",{src:t.screenshot_url||"https://raw.githubusercontent.com/Codeinwp/gutenberg-templates/master/assets/images/default.jpg"}))),wp.element.createElement("div",{className:"library-modal-content__footer"},wp.element.createElement("div",{className:"library-modal-content__footer_meta"},t.title&&"template"===t.type&&wp.element.createElement("h4",{className:"library-modal-content__footer_meta_title"},t.title,t.author&&B(" by ")+t.author," "),t.author&&"block"===t.type&&wp.element.createElement("h4",{className:"library-modal-content__footer_meta_author"},B("Author:")," ",t.author)),wp.element.createElement("div",{className:"library-modal-content__footer_actions"},t.demo_url&&wp.element.createElement(M,{isDefault:!0,isLarge:!0,className:"library-modal-overlay__actions",onClick:function(){return n(t)},tabindex:"0"},B("Preview")),wp.element.createElement(M,{isPrimary:!0,isLarge:!0,className:"library-modal-overlay__actions",onClick:function(){return a(t.template_url)},tabindex:"0"},B("Insert")))))},R=wp.i18n.__,N=wp.components.Spinner,L=function(e){var t=e.preview,n=e.isLoaded,a=e.data,l=e.tab,o=e.selectedTemplate,r=e.selectedCategory,i=e.search,c=e.togglePreview,d=e.importTemplate;return t?wp.element.createElement("div",{className:"library-modal-preview"},wp.element.createElement("iframe",{src:o.demo_url})):n?wp.element.createElement("div",{className:"library-modal-content"},a.map((function(e){if(e.template_url&&("all"===r||e.categories&&e.categories.includes(r))&&(!i||e.keywords&&e.keywords.some((function(e){return e.toLowerCase().includes(i.toLowerCase())})))&&l===e.type)return wp.element.createElement(O,{template:e,togglePreview:c,importTemplate:d})})),wp.element.createElement("div",{"aria-label":R("Coming Soon"),className:"library-modal-content__item"},wp.element.createElement("div",{className:"library-modal-content__preview"},wp.element.createElement(S.a,null,wp.element.createElement("img",{src:"https://raw.githubusercontent.com/Codeinwp/gutenberg-templates/master/assets/images/coming-soon.jpg"}))))):wp.element.createElement("div",{className:"library-modal-loader"},wp.element.createElement(N,null))};function z(e){return(z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function H(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function _(e,t,n,a,l,o,r){try{var i=e[o](r),c=i.value}catch(e){return void n(e)}i.done?t(c):Promise.resolve(c).then(a,l)}function P(e){return function(){var t=this,n=arguments;return new Promise((function(a,l){var o=e.apply(t,n);function r(e){_(o,a,l,r,i,"next",e)}function i(e){_(o,a,l,r,i,"throw",e)}r(void 0)}))}}var A=wp.apiFetch,I=wp.components.Modal,F=wp.compose.compose,j=wp.data,V=j.withSelect,G=j.withDispatch,D=wp.element,W=D.useEffect,q=D.useState,Z=F(V((function(e,t){var n=t.clientId,a=e("core/block-editor").getBlock,l=e("core/blocks").getBlockTypes;return{block:a(n),availableBlocks:l()}})),G((function(e,t){var n=t.block,a=e("core/block-editor").replaceBlocks;return{importBlocks:function(e){return a(n.clientId,e)}}})))((function(e){var t=e.close,n=e.availableBlocks,a=e.importBlocks;W((function(){(function(){var e=P(regeneratorRuntime.mark((function e(){var t,n,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,A({path:"themeisle-gutenberg-blocks/v1/fetch_templates"});case 2:t=e.sent,n=[],a=[],t.map((function(e){e.categories&&e.template_url&&("block"===e.type&&e.categories.map((function(e){n.push(e)})),"template"===e.type&&e.categories.map((function(e){a.push(e)})))})),n=n.filter((function(e,t,n){return n.indexOf(e)===t})).sort(),a=a.filter((function(e,t,n){return n.indexOf(e)===t})).sort(),M(n),N(a),j(t),m(!0);case 12:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}})()()}),[]);var l=H(q("block"),2),r=l[0],c=l[1],d=H(q(!1),2),p=d[0],m=d[1],s=H(q(!1),2),u=s[0],b=s[1],g=H(q(!1),2),h=g[0],f=g[1],y=H(q("all"),2),w=y[0],k=y[1],T=H(q(""),2),E=T[0],C=T[1],S=H(q([]),2),B=S[0],M=S[1],O=H(q([]),2),R=O[0],N=O[1],_=H(q([]),2),F=_[0],j=_[1],V=H(q(!1),2),G=V[0],D=V[1],Z=H(q(null),2),U=Z[0],Q=Z[1],K=H(q([]),2),J=K[0],Y=K[1],X=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;D(!G),Q(e)},$=function e(t){return Array.isArray(t)?t.map((function(t){return e(t)})):"object"===z(t)&&Object.keys(t).map((function(n){"clientId"===n&&(t[n]=i()()),"innerBlocks"===n&&t[n].map((function(t){e(t)}))})),t},ee=function e(t){var a=!1,l=[];return Array.isArray(t)?t.map((function(t){return e(t)})):"object"===z(t)&&Object.keys(t).some((function(o){"name"===o&&(void 0===n.find((function(e){return e.name===t.name}))&&(l.push(t.name),a=!0));"innerBlocks"===o&&t[o].map((function(t){return e(t)}))})),l=l.concat(l).filter((function(e,t,n){return n.indexOf(e)===t})),Y(l),a},te=function(){var e=P(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return D(!1),m(!1),Y([]),e.next=5,A({path:"themeisle-gutenberg-blocks/v1/import_template?url=".concat(t)});case 5:n=e.sent,null!==(n=$(n))?(m(!0),ee(n)?f(!0):a(n)):(m(!0),b(!0));case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return wp.element.createElement(I,{className:o()("wp-block-themeisle-library-modal",{"is-preview":G}),onRequestClose:t,isDismissable:!1,shouldCloseOnClickOutside:!1},wp.element.createElement(v,{preview:G,tab:r,changeTab:function(e){c(e),k("all"),C("")},blocksCategories:B,templateCategories:R,selectedTemplate:U,selectedCategory:w,search:E,togglePreview:X,close:t,importTemplate:te,selectCategory:function(e){return k(e)},changeSearch:function(e){return C(e)}}),wp.element.createElement(x,{isError:u,isMissing:h,missingBlocks:J,removeError:function(){return b(!1)},removeMissing:function(){return f(!1)}}),wp.element.createElement(L,{preview:G,isLoaded:p,data:F,tab:r,selectedTemplate:U,selectedCategory:w,search:E,togglePreview:X,importTemplate:te}))}));function U(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var Q=wp.i18n.__,K=wp.components,J=K.Button,Y=K.Dashicon,X=K.Icon,$=K.Path,ee=K.Placeholder,te=K.Rect,ne=K.SVG,ae=K.Tooltip,le=wp.element.useState;t.default=function(e){var t=e.clientId,n=e.setupColumns,l=U(le(!1),2),o=l[0],r=l[1];return wp.element.createElement(ee,{label:Q("Select Layout"),instructions:Q("Select a layout to start with, or make one yourself."),icon:wp.element.createElement(X,{icon:a.f}),isColumnLayout:!0,className:"wp-block-themeisle-onboarding-component"},wp.element.createElement("div",{className:"wp-block-themeisle-layout-picker"},wp.element.createElement(ae,{text:Q("Equal")},wp.element.createElement(J,{isLarge:!0,className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return n(2,"equal")}},wp.element.createElement(ne,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement($,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(te,{x:"22.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(ae,{text:Q("1:2")},wp.element.createElement(J,{isLarge:!0,className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return n(2,"oneTwo")}},wp.element.createElement(ne,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement($,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(te,{x:"16.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(ae,{text:Q("2:1")},wp.element.createElement(J,{isLarge:!0,className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return n(2,"twoOne")}},wp.element.createElement(ne,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement($,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(te,{x:"28.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(ae,{text:Q("Equal")},wp.element.createElement(J,{isLarge:!0,className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return n(3,"equal")}},wp.element.createElement(ne,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement($,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(te,{x:"28.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(te,{x:"16.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(ae,{text:Q("1:1:2")},wp.element.createElement(J,{isLarge:!0,className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return n(3,"oneOneTwo")}},wp.element.createElement(ne,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement($,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(te,{x:"22.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(te,{x:"12.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(ae,{text:Q("2:1:1")},wp.element.createElement(J,{isLarge:!0,className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return n(3,"twoOneOne")}},wp.element.createElement(ne,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement($,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(te,{x:"22.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(te,{x:"32.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(ae,{text:Q("1:2:1")},wp.element.createElement(J,{isLarge:!0,className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return n(3,"oneTwoOne")}},wp.element.createElement(ne,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement($,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(te,{x:"13.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(te,{x:"31.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(ae,{text:Q("1:3:1")},wp.element.createElement(J,{isLarge:!0,className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return n(3,"oneThreeOne")}},wp.element.createElement(ne,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement($,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(te,{x:"11.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(te,{x:"33.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(ae,{text:Q("Equal")},wp.element.createElement(J,{isLarge:!0,className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return n(4,"equal")}},wp.element.createElement(ne,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement($,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(te,{x:"13.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(te,{x:"32.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(te,{x:"22.9",y:"13",width:"2.2",height:"22"}))))),wp.element.createElement(ae,{text:Q("Open Template Library")},wp.element.createElement(J,{isPrimary:!0,isLarge:!0,className:"wp-block-themeisle-template-library",onClick:function(){return r(!0)}},wp.element.createElement(Y,{icon:"category"}),Q("Template Library")),o&&wp.element.createElement(Z,{clientId:t,close:function(){return r(!1)}})),wp.element.createElement("div",{className:"wp-block-themeisle-layout-skipper"},wp.element.createElement(J,{isLink:!0,onClick:function(){return n(1,"equal")}},Q("Skip"))))}},function(e,t,n){"use strict";n.r(t);var a=n(0),l=n.n(a),o=n(7),r=wp.components,i=r.Placeholder,c=r.Spinner,d=(0,wp.data.withSelect)((function(e,t){var n=t.id,a=t.alt,l=t.size,o=n?e("core").getMedia(n):void 0,r=o?0<Object.keys(o.media_details.sizes).length&&o.media_details.sizes[l]?o.media_details.sizes[l].source_url:o.source_url:null;return o?{thumbnail:r,alt:o.alt_text||a}:{alt:a}}))((function(e){var t=e.alt,n=e.id,a=e.thumbnail,l=e.link,o=wp.element.createElement(i,null,wp.element.createElement(c,null));return a&&(o=wp.element.createElement("img",{src:a,alt:t,"data-id":n})),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-posts-grid-post-image"},wp.element.createElement("a",{href:l},o))})),p=wp.i18n,m=p.__,s=p.sprintf,u=function(e){var t=e.className,n=e.attributes,a=e.posts,r=e.categoriesList,i=e.authors,c=n.titleTag||"h5";return wp.element.createElement("div",{className:l()(t,"is-grid","wp-block-themeisle-blocks-posts-grid-columns-".concat(n.columns),{"has-shadow":n.imageBoxShadow})},a.map((function(e){var t,a;return r&&(t=r.find((function(t){return t.id===e.categories[0]}))),i&&(a=i.find((function(t){return t.id===e.author}))),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-posts-grid-post-blog wp-block-themeisle-blocks-posts-grid-post-plain"},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-posts-grid-post"},0!==e.featured_media&&n.displayFeaturedImage&&wp.element.createElement(d,{id:e.featured_media,link:e.link,alt:e.title.rendered,size:n.imageSize}),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-posts-grid-post-body"},n.template.map((function(l){return"category"===l&&void 0!==t&&n.displayCategory&&r?wp.element.createElement("span",{class:"wp-block-themeisle-blocks-posts-grid-post-category"},t.name):"title"===l&&n.displayTitle?wp.element.createElement(c,{className:"wp-block-themeisle-blocks-posts-grid-post-title"},wp.element.createElement("a",{href:e.link},Object(o.b)(e.title.rendered))):"meta"===l&&n.displayMeta&&(n.displayDate||n.displayAuthor)?wp.element.createElement("p",{className:"wp-block-themeisle-blocks-posts-grid-post-meta"},n.displayDate&&s(m("on %s"),Object(o.a)(e.date)),n.displayAuthor&&void 0!==a&&i&&s(m(" by %s"),a.name)):"description"===l&&0<n.excerptLength&&n.displayDescription?wp.element.createElement("p",{className:"wp-block-themeisle-blocks-posts-grid-post-description"},Object(o.b)(e.excerpt.rendered).substring(0,n.excerptLength)+"…"):void 0})))))})))},b=wp.i18n,g=b.__,h=b.sprintf,f=function(e){var t=e.className,n=e.attributes,a=e.posts,r=e.categoriesList,i=e.authors,c=n.titleTag||"h5";return wp.element.createElement("div",{className:l()(t,"is-list",{"has-shadow":n.imageBoxShadow})},a.map((function(e){var t,a;return r&&(t=r.find((function(t){return t.id===e.categories[0]}))),i&&(a=i.find((function(t){return t.id===e.author}))),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-posts-grid-post-blog wp-block-themeisle-blocks-posts-grid-post-plain"},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-posts-grid-post"},0!==e.featured_media&&n.displayFeaturedImage&&wp.element.createElement(d,{id:e.featured_media,link:e.link,alt:e.title.rendered,size:n.imageSize}),wp.element.createElement("div",{className:l()("wp-block-themeisle-blocks-posts-grid-post-body",{"is-full":!n.displayFeaturedImage})},n.template.map((function(l){return"category"===l&&void 0!==t&&n.displayCategory&&r?wp.element.createElement("span",{class:"wp-block-themeisle-blocks-posts-grid-post-category"},t.name):"title"===l&&n.displayTitle?wp.element.createElement(c,{className:"wp-block-themeisle-blocks-posts-grid-post-title"},wp.element.createElement("a",{href:e.link},Object(o.b)(e.title.rendered))):"meta"===l&&n.displayMeta&&(n.displayDate||n.displayAuthor)?wp.element.createElement("p",{className:"wp-block-themeisle-blocks-posts-grid-post-meta"},n.displayDate&&h(g("on %s"),Object(o.a)(e.date)),n.displayAuthor&&void 0!==a&&i&&h(g(" by %s"),a.name)):"description"===l&&0<n.excerptLength&&n.displayDescription?wp.element.createElement("p",{className:"wp-block-themeisle-blocks-posts-grid-post-description"},Object(o.b)(e.excerpt.rendered).substring(0,n.excerptLength)+"…"):void 0})))))})))};t.default=function(e){var t=e.className,n=e.attributes,a=e.posts,l=e.categoriesList,o=e.authors;return"grid"===n.style?wp.element.createElement(u,{className:t,attributes:n,posts:a,categoriesList:l,authors:o}):"list"===n.style?wp.element.createElement(f,{className:t,attributes:n,posts:a,categoriesList:l,authors:o}):void 0}},,,,,function(e,t,n){"use strict";n.r(t);var a,l=n(2);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var r=(o(a={id:{type:"string"},columns:{type:"number"},layout:{type:"string"},layoutTablet:{type:"string",default:"equal"},layoutMobile:{type:"string",default:"equal"},columnsGap:{type:"string",default:"default"},paddingType:{type:"string",default:"linked"},paddingTypeTablet:{type:"string",default:"linked"},paddingTypeMobile:{type:"string",default:"linked"},padding:{type:"number",default:20},paddingTablet:{type:"number"},paddingMobile:{type:"number"},paddingTop:{type:"number",default:20},paddingTopTablet:{type:"number"},paddingTopMobile:{type:"number"},paddingRight:{type:"number",default:20},paddingRightTablet:{type:"number"},paddingRightMobile:{type:"number"},paddingBottom:{type:"number",default:20},paddingBottomTablet:{type:"number"},paddingBottomMobile:{type:"number"},paddingLeft:{type:"number",default:20},paddingLeftTablet:{type:"number"},paddingLeftMobile:{type:"number"},marginType:{type:"string",default:"unlinked"},marginTypeTablet:{type:"string",default:"unlinked"},marginTypeMobile:{type:"string",default:"unlinked"},margin:{type:"number",default:20},marginTablet:{type:"number"},marginMobile:{type:"number"},marginTop:{type:"number",default:20},marginTopTablet:{type:"number"},marginTopMobile:{type:"number"},marginBottom:{type:"number",default:20},marginBottomTablet:{type:"number"},marginBottomMobile:{type:"number"},columnsWidth:{type:"number"},horizontalAlign:{type:"string",default:"unset"},columnsHeight:{type:"string",default:"auto"},columnsHeightCustom:{type:"number"},columnsHeightCustomTablet:{type:"number"},columnsHeightCustomMobile:{type:"number"},verticalAlign:{type:"string",default:"unset"},backgroundType:{type:"string",default:"color"},backgroundColor:{type:"string"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundAttachment:{type:"string",default:"scroll"},backgroundPosition:{type:"string",default:"top left"},backgroundRepeat:{type:"string",default:"repeat"},backgroundSize:{type:"string",default:"auto"},backgroundGradientFirstColor:{type:"string",default:"#36d1dc"},backgroundGradientFirstLocation:{type:"number",default:0},backgroundGradientSecondColor:{type:"string",default:"#5b86e5"},backgroundGradientSecondLocation:{type:"number",default:100},backgroundGradientType:{type:"string",default:"linear"},backgroundGradientAngle:{type:"number",default:90},backgroundGradientPosition:{type:"string",default:"center center"},backgroundOverlayOpacity:{type:"number",default:50},backgroundOverlayType:{type:"string",default:"color"},backgroundOverlayColor:{type:"string"},backgroundOverlayImageID:{type:"number"},backgroundOverlayImageURL:{type:"string"},backgroundOverlayAttachment:{type:"string",default:"scroll"},backgroundOverlayPosition:{type:"string",default:"top left"},backgroundOverlayRepeat:{type:"string",default:"repeat"},backgroundOverlaySize:{type:"string",default:"auto"},backgroundOverlayGradientFirstColor:{type:"string",default:"#36d1dc"},backgroundOverlayGradientFirstLocation:{type:"number",default:0},backgroundOverlayGradientSecondColor:{type:"string",default:"#5b86e5"},backgroundOverlayGradientSecondLocation:{type:"number",default:100},backgroundOverlayGradientType:{type:"string",default:"linear"},backgroundOverlayGradientAngle:{type:"number",default:90},backgroundOverlayGradientPosition:{type:"string",default:"center center"},backgroundOverlayFilterBlur:{type:"number",default:0},backgroundOverlayFilterBrightness:{type:"number",default:10},backgroundOverlayFilterContrast:{type:"number",default:10},backgroundOverlayFilterGrayscale:{type:"number",default:0},backgroundOverlayFilterHue:{type:"number",default:0},backgroundOverlayFilterSaturate:{type:"number",default:10},backgroundOverlayBlend:{type:"string",default:"normal"},borderType:{type:"string",default:"linked"},border:{type:"number",default:0},borderTop:{type:"number",default:0},borderRight:{type:"number",default:0},borderBottom:{type:"number",default:0},borderLeft:{type:"number",default:0},borderColor:{type:"string",default:"#000000"},borderRadiusType:{type:"string",default:"linked"},borderRadius:{type:"number",default:0},borderRadiusTop:{type:"number",default:0},borderRadiusRight:{type:"number",default:0},borderRadiusBottom:{type:"number",default:0},borderRadiusLeft:{type:"number",default:0},boxShadow:{type:"boolean",default:!1},boxShadowColor:{type:"string",default:"#000000"},boxShadowColorOpacity:{type:"number",default:50},boxShadowBlur:{type:"number",default:5},boxShadowSpread:{type:"number",default:0},boxShadowHorizontal:{type:"number",default:0},boxShadowVertical:{type:"number",default:0},dividerTopType:{type:"string",default:"none"},dividerTopColor:{type:"string",default:"#000000"},dividerTopWidth:{type:"number",default:100},dividerTopWidthTablet:{type:"number",default:100},dividerTopWidthMobile:{type:"number",default:100},dividerTopHeight:{type:"number",default:100},dividerTopHeightTablet:{type:"number",default:100},dividerTopHeightMobile:{type:"number",default:100},dividerTopInvert:{type:"boolean",default:!1},dividerBottomType:{type:"string",default:"none"},dividerBottomColor:{type:"string",default:"#000000"},dividerBottomWidth:{type:"number",default:100},dividerBottomWidthTablet:{type:"number",default:100},dividerBottomWidthMobile:{type:"number",default:100},dividerBottomHeight:{type:"number",default:100},dividerBottomHeightTablet:{type:"number",default:100},dividerBottomHeightMobile:{type:"number",default:100},dividerBottomInvert:{type:"boolean",default:!1},hide:{type:"boolean",default:!1},hideTablet:{type:"boolean",default:!1},hideMobile:{type:"boolean",default:!1},reverseColumnsTablet:{type:"boolean",default:!1}},"reverseColumnsTablet",{type:"boolean",default:!1}),o(a,"columnsHTMLTag",{type:"string",default:"div"}),a),i=n(0),c=n.n(i),d=n(6),p=n.n(d);function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){u(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var b=wp.blockEditor.InnerBlocks,g=wp.components,h=g.SVG,f=g.Path,y=function(e){var t=e.type,n=e.front,a=e.style,l=e.fill,o=e.invert,r=e.width,i=e.height;return"none"!==a&&wp.element.createElement("div",{className:c()("wp-block-themeisle-blocks-advanced-columns-separators",t),style:!n&&r?{transform:"".concat(r?"scaleX( ".concat(r/100," )"):"")}:{}},"bigTriangle"===a&&!1===o&&wp.element.createElement(h,{id:"bigTriangle",fill:l,viewBox:"0 0 100 100",width:"100%",height:i?"".concat(i,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"bottom"===t?{transform:"".concat("bottom"===t?"rotate(180deg)":"")}:{}},wp.element.createElement(f,{d:"M0 0 L50 100 L100 0 Z"})),"bigTriangle"===a&&!0===o&&wp.element.createElement(h,{id:"bigTriangle",fill:l,viewBox:"0 0 100 100",width:"100%",height:i?"".concat(i,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"top"===t?{transform:"".concat("top"===t?"rotate(180deg)":"")}:{}},wp.element.createElement(f,{d:"M100, 0l-50, 100l-50, -100l0, 100l100, 0l0, -100Z"})),"rightCurve"===a&&!1===o&&wp.element.createElement(h,{id:"rightCurve",fill:l,viewBox:"0 0 100 100",width:"100%",height:i?"".concat(i,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"top"===t?{transform:"".concat("top"===t?"rotate(180deg)":"")}:{}},wp.element.createElement(f,{d:"M0 100 C 20 0 50 0 100 100 Z"})),"rightCurve"===a&&!0===o&&wp.element.createElement(h,{id:"rightCurve",fill:l,viewBox:"0 0 100 100",width:"100%",height:i?"".concat(i,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"top"===t?{transform:"".concat("top"===t?"rotate(180deg)":"")}:{}},wp.element.createElement(f,{d:"M0 100 C 50 0 70 0 100 100 Z"})),"curve"===a&&wp.element.createElement(h,{id:"curve",fill:l,viewBox:"0 0 100 100",width:"100%",height:i?"".concat(i,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"top"===t?{transform:"".concat("top"===t?"rotate(180deg)":"")}:{}},wp.element.createElement(f,{d:"M0 100 C40 0 60 0 100 100 Z"})),"slant"===a&&!1===o&&wp.element.createElement(h,{id:"slant",fill:l,viewBox:"0 0 100 100",width:"100%",height:i?"".concat(i,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"bottom"===t?{transform:"".concat("bottom"===t?"rotate(180deg)":"")}:{}},wp.element.createElement(f,{d:"M0 0 L100 100 L100 0 Z"})),"slant"===a&&!0===o&&wp.element.createElement(h,{id:"slant",fill:l,viewBox:"0 0 100 100",width:"100%",height:i?"".concat(i,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"bottom"===t?{transform:"".concat("bottom"===t?"rotate(180deg)":"")}:{}},wp.element.createElement(f,{d:"M0 0 L0 100 L100 0 Z"})),"cloud"===a&&wp.element.createElement(h,{id:"cloud",fill:l,viewBox:"0 0 100 100",width:"100%",height:i?"".concat(i,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"top"===t?{transform:"".concat("top"===t?"rotate(180deg)":"")}:{}},wp.element.createElement(f,{d:"M-5 100 Q 10 -100 15 100 Z M10 100 Q 20 -20 30 100 M25 100 Q 35 -70 45 100 M40 100 Q 50 -100 60 100 M55 100 Q 65 -20 75 100 M70 100 Q 75 -45 90 100 M85 100 Q 90 -50 95 100 M90 100 Q 95 -25 105 100 Z"})))},w=[{attributes:{align:{type:"string"},id:{type:"string"},columns:{type:"number"},layout:{type:"string"},layoutTablet:{type:"string",default:"equal"},layoutMobile:{type:"string",default:"equal"},columnsGap:{type:"string",default:"default"},paddingType:{type:"string",default:"linked"},paddingTypeTablet:{type:"string",default:"linked"},paddingTypeMobile:{type:"string",default:"linked"},padding:{type:"number",default:20},paddingTablet:{type:"number",default:20},paddingMobile:{type:"number",default:20},paddingTop:{type:"number",default:20},paddingTopTablet:{type:"number",default:20},paddingTopMobile:{type:"number",default:20},paddingRight:{type:"number",default:20},paddingRightTablet:{type:"number",default:20},paddingRightMobile:{type:"number",default:20},paddingBottom:{type:"number",default:20},paddingBottomTablet:{type:"number",default:20},paddingBottomMobile:{type:"number",default:20},paddingLeft:{type:"number",default:20},paddingLeftTablet:{type:"number",default:20},paddingLeftMobile:{type:"number",default:20},marginType:{type:"string",default:"unlinked"},marginTypeTablet:{type:"string",default:"unlinked"},marginTypeMobile:{type:"string",default:"unlinked"},margin:{type:"number",default:20},marginTablet:{type:"number",default:20},marginMobile:{type:"number",default:20},marginTop:{type:"number",default:20},marginTopTablet:{type:"number",default:20},marginTopMobile:{type:"number",default:20},marginBottom:{type:"number",default:20},marginBottomTablet:{type:"number",default:20},marginBottomMobile:{type:"number",default:20},columnsWidth:{type:"number"},columnsHeight:{type:"string",default:"auto"},columnsHeightCustom:{type:"number"},columnsHeightCustomTablet:{type:"number"},columnsHeightCustomMobile:{type:"number"},horizontalAlign:{type:"string",default:"unset"},verticalAlign:{type:"string",default:"unset"},backgroundType:{type:"string",default:"color"},backgroundColor:{type:"string"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundAttachment:{type:"string",default:"scroll"},backgroundPosition:{type:"string",default:"top left"},backgroundRepeat:{type:"string",default:"repeat"},backgroundSize:{type:"string",default:"auto"},backgroundGradientFirstColor:{type:"string",default:"#36d1dc"},backgroundGradientFirstLocation:{type:"number",default:0},backgroundGradientSecondColor:{type:"string",default:"#5b86e5"},backgroundGradientSecondLocation:{type:"number",default:100},backgroundGradientType:{type:"string",default:"linear"},backgroundGradientAngle:{type:"number",default:90},backgroundGradientPosition:{type:"string",default:"center center"},backgroundOverlayOpacity:{type:"number",default:50},backgroundOverlayType:{type:"string",default:"color"},backgroundOverlayColor:{type:"string"},backgroundOverlayImageID:{type:"number"},backgroundOverlayImageURL:{type:"string"},backgroundOverlayAttachment:{type:"string",default:"scroll"},backgroundOverlayPosition:{type:"string",default:"top left"},backgroundOverlayRepeat:{type:"string",default:"repeat"},backgroundOverlaySize:{type:"string",default:"auto"},backgroundOverlayGradientFirstColor:{type:"string",default:"#36d1dc"},backgroundOverlayGradientFirstLocation:{type:"number",default:0},backgroundOverlayGradientSecondColor:{type:"string",default:"#5b86e5"},backgroundOverlayGradientSecondLocation:{type:"number",default:100},backgroundOverlayGradientType:{type:"string",default:"linear"},backgroundOverlayGradientAngle:{type:"number",default:90},backgroundOverlayGradientPosition:{type:"string",default:"center center"},backgroundOverlayFilterBlur:{type:"number",default:0},backgroundOverlayFilterBrightness:{type:"number",default:10},backgroundOverlayFilterContrast:{type:"number",default:10},backgroundOverlayFilterGrayscale:{type:"number",default:0},backgroundOverlayFilterHue:{type:"number",default:0},backgroundOverlayFilterSaturate:{type:"number",default:10},backgroundOverlayBlend:{type:"string",default:"normal"},borderType:{type:"string",default:"linked"},border:{type:"number",default:0},borderTop:{type:"number",default:0},borderRight:{type:"number",default:0},borderBottom:{type:"number",default:0},borderLeft:{type:"number",default:0},borderColor:{type:"string",default:"#000000"},borderRadiusType:{type:"string",default:"linked"},borderRadius:{type:"number",default:0},borderRadiusTop:{type:"number",default:0},borderRadiusRight:{type:"number",default:0},borderRadiusBottom:{type:"number",default:0},borderRadiusLeft:{type:"number",default:0},boxShadow:{type:"boolean",default:!1},boxShadowColor:{type:"string",default:"#000000"},boxShadowColorOpacity:{type:"number",default:50},boxShadowBlur:{type:"number",default:5},boxShadowSpread:{type:"number",default:0},boxShadowHorizontal:{type:"number",default:0},boxShadowVertical:{type:"number",default:0},dividerTopType:{type:"string",default:"none"},dividerTopColor:{type:"string",default:"#000000"},dividerTopWidth:{type:"number",default:100},dividerTopWidthTablet:{type:"number",default:100},dividerTopWidthMobile:{type:"number",default:100},dividerTopHeight:{type:"number",default:100},dividerTopHeightTablet:{type:"number",default:100},dividerTopHeightMobile:{type:"number",default:100},dividerTopInvert:{type:"boolean",default:!1},dividerBottomType:{type:"string",default:"none"},dividerBottomColor:{type:"string",default:"#000000"},dividerBottomWidth:{type:"number",default:100},dividerBottomWidthTablet:{type:"number",default:100},dividerBottomWidthMobile:{type:"number",default:100},dividerBottomHeight:{type:"number",default:100},dividerBottomHeightTablet:{type:"number",default:100},dividerBottomHeightMobile:{type:"number",default:100},dividerBottomInvert:{type:"boolean",default:!1},hide:{type:"boolean",default:!1},hideTablet:{type:"boolean",default:!1},hideMobile:{type:"boolean",default:!1},columnsHTMLTag:{type:"string",default:"div"}},supports:{align:["wide","full"],html:!1},save:function(e){var t,n,a,l,o,r,i=e.attributes,d=i.id,m=i.columns,u=i.layout,g=i.layoutTablet,h=i.layoutMobile,f=i.columnsGap,w=i.columnsWidth,v=i.horizontalAlign,k=i.verticalAlign,T=i.backgroundType,E=i.backgroundColor,x=i.backgroundImageURL,C=i.backgroundAttachment,S=i.backgroundPosition,B=i.backgroundRepeat,M=i.backgroundSize,O=i.backgroundGradientFirstColor,R=i.backgroundGradientFirstLocation,N=i.backgroundGradientSecondColor,L=i.backgroundGradientSecondLocation,z=i.backgroundGradientType,H=i.backgroundGradientAngle,_=i.backgroundGradientPosition,P=i.backgroundOverlayOpacity,A=i.backgroundOverlayType,I=i.backgroundOverlayColor,F=i.backgroundOverlayImageURL,j=i.backgroundOverlayAttachment,V=i.backgroundOverlayPosition,G=i.backgroundOverlayRepeat,D=i.backgroundOverlaySize,W=i.backgroundOverlayGradientFirstColor,q=i.backgroundOverlayGradientFirstLocation,Z=i.backgroundOverlayGradientSecondColor,U=i.backgroundOverlayGradientSecondLocation,Q=i.backgroundOverlayGradientType,K=i.backgroundOverlayGradientAngle,J=i.backgroundOverlayGradientPosition,Y=i.backgroundOverlayFilterBlur,X=i.backgroundOverlayFilterBrightness,$=i.backgroundOverlayFilterContrast,ee=i.backgroundOverlayFilterGrayscale,te=i.backgroundOverlayFilterHue,ne=i.backgroundOverlayFilterSaturate,ae=i.backgroundOverlayBlend,le=i.borderType,oe=i.border,re=i.borderTop,ie=i.borderRight,ce=i.borderBottom,de=i.borderLeft,pe=i.borderColor,me=i.borderRadiusType,se=i.borderRadius,ue=i.borderRadiusTop,be=i.borderRadiusRight,ge=i.borderRadiusBottom,he=i.borderRadiusLeft,fe=i.boxShadow,ye=i.boxShadowColor,we=i.boxShadowColorOpacity,ve=i.boxShadowBlur,ke=i.boxShadowSpread,Te=i.boxShadowHorizontal,Ee=i.boxShadowVertical,xe=i.dividerTopType,Ce=i.dividerTopColor,Se=i.dividerTopInvert,Be=i.dividerBottomType,Me=i.dividerBottomColor,Oe=i.dividerBottomInvert,Re=i.hide,Ne=i.hideTablet,Le=i.hideMobile,ze=i.columnsHTMLTag;("color"===T&&(t={background:E}),"image"===T&&(t={backgroundImage:"url( '".concat(x,"' )"),backgroundAttachment:C,backgroundPosition:S,backgroundRepeat:B,backgroundSize:M}),"gradient"===T)&&(r="linear"===z?"".concat(H,"deg"):"at ".concat(_),t={background:"".concat(z,"-gradient( ").concat(r,", ").concat(O||"rgba( 0, 0, 0, 0 )"," ").concat(R,"%, ").concat(N||"rgba( 0, 0, 0, 0 )"," ").concat(L,"% )")});"linked"===le&&(a={borderWidth:"".concat(oe,"px"),borderStyle:"solid",borderColor:pe}),"unlinked"===le&&(a={borderTopWidth:"".concat(re,"px"),borderRightWidth:"".concat(ie,"px"),borderBottomWidth:"".concat(ce,"px"),borderLeftWidth:"".concat(de,"px"),borderStyle:"solid",borderColor:pe}),"linked"===me&&(l={borderRadius:"".concat(se,"px")}),"unlinked"===me&&(l={borderTopLeftRadius:"".concat(ue,"px"),borderTopRightRadius:"".concat(be,"px"),borderBottomRightRadius:"".concat(ge,"px"),borderBottomLeftRadius:"".concat(he,"px")}),!0===fe&&(o={boxShadow:"".concat(Te,"px ").concat(Ee,"px ").concat(ve,"px ").concat(ke,"px ").concat(p()(ye||"#000000",we))});var He,_e=s({},t,{},a,{},l,{},o,{justifyContent:v});("color"===A&&(n={background:I,opacity:P/100}),"image"===A&&(n={backgroundImage:"url( '".concat(F,"' )"),backgroundAttachment:j,backgroundPosition:V,backgroundRepeat:G,backgroundSize:D,opacity:P/100}),"gradient"===A)&&(He="linear"===Q?"".concat(K,"deg"):"at ".concat(J),n={background:"".concat(Q,"-gradient( ").concat(He,", ").concat(W||"rgba( 0, 0, 0, 0 )"," ").concat(q,"%, ").concat(Z||"rgba( 0, 0, 0, 0 )"," ").concat(U,"% )"),opacity:P/100});var Pe=s({},n,{mixBlendMode:ae,filter:"blur( ".concat(Y/10,"px ) brightness( ").concat(X/10," ) contrast( ").concat(#x2F;10," ) grayscale( ").concat(ee/100," ) hue-rotate( ").concat(te,"deg ) saturate( ").concat(ne/10," )")}),Ae={};w&&(Ae={maxWidth:w+"px"});var Ie=Re?"":"has-desktop-".concat(u,"-layout"),Fe=Ne?"":"has-tablet-".concat(g,"-layout"),je=Le?"":"has-mobile-".concat(h,"-layout"),Ve=c()(e.className,"has-".concat(m,"-columns"),Ie,Fe,je,{"hide-in-desktop":Re},{"hide-in-tablet":Ne},{"hide-in-mobile":Le},"has-".concat(f,"-gap"),"has-vertical-".concat(k));return wp.element.createElement(ze,{className:Ve,id:d,style:_e},wp.element.createElement("div",{className:"wp-themeisle-block-overlay",style:Pe}),wp.element.createElement(y,{type:"top",front:!0,style:xe,fill:Ce,invert:Se}),wp.element.createElement("div",{className:"innerblocks-wrap",style:Ae},wp.element.createElement(b.Content,null)),wp.element.createElement(y,{type:"bottom",front:!0,style:Be,fill:Me,invert:Oe}))}},{attributes:{id:{type:"string"},columns:{type:"number"},layout:{type:"string"},layoutTablet:{type:"string",default:"equal"},layoutMobile:{type:"string",default:"equal"},columnsGap:{type:"string",default:"default"},paddingType:{type:"string",default:"linked"},paddingTypeTablet:{type:"string",default:"linked"},paddingTypeMobile:{type:"string",default:"linked"},padding:{type:"number",default:20},paddingTablet:{type:"number",default:20},paddingMobile:{type:"number",default:20},paddingTop:{type:"number",default:20},paddingTopTablet:{type:"number",default:20},paddingTopMobile:{type:"number",default:20},paddingRight:{type:"number",default:20},paddingRightTablet:{type:"number",default:20},paddingRightMobile:{type:"number",default:20},paddingBottom:{type:"number",default:20},paddingBottomTablet:{type:"number",default:20},paddingBottomMobile:{type:"number",default:20},paddingLeft:{type:"number",default:20},paddingLeftTablet:{type:"number",default:20},paddingLeftMobile:{type:"number",default:20},marginType:{type:"string",default:"unlinked"},marginTypeTablet:{type:"string",default:"unlinked"},marginTypeMobile:{type:"string",default:"unlinked"},margin:{type:"number",default:20},marginTablet:{type:"number",default:20},marginMobile:{type:"number",default:20},marginTop:{type:"number",default:20},marginTopTablet:{type:"number",default:20},marginTopMobile:{type:"number",default:20},marginBottom:{type:"number",default:20},marginBottomTablet:{type:"number",default:20},marginBottomMobile:{type:"number",default:20},columnsWidth:{type:"number"},horizontalAlign:{type:"string",default:"unset"},columnsHeight:{type:"string",default:"auto"},columnsHeightCustom:{type:"number"},columnsHeightCustomTablet:{type:"number"},columnsHeightCustomMobile:{type:"number"},verticalAlign:{type:"string",default:"unset"},backgroundType:{type:"string",default:"color"},backgroundColor:{type:"string"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundAttachment:{type:"string",default:"scroll"},backgroundPosition:{type:"string",default:"top left"},backgroundRepeat:{type:"string",default:"repeat"},backgroundSize:{type:"string",default:"auto"},backgroundGradientFirstColor:{type:"string",default:"#36d1dc"},backgroundGradientFirstLocation:{type:"number",default:0},backgroundGradientSecondColor:{type:"string",default:"#5b86e5"},backgroundGradientSecondLocation:{type:"number",default:100},backgroundGradientType:{type:"string",default:"linear"},backgroundGradientAngle:{type:"number",default:90},backgroundGradientPosition:{type:"string",default:"center center"},backgroundOverlayOpacity:{type:"number",default:50},backgroundOverlayType:{type:"string",default:"color"},backgroundOverlayColor:{type:"string"},backgroundOverlayImageID:{type:"number"},backgroundOverlayImageURL:{type:"string"},backgroundOverlayAttachment:{type:"string",default:"scroll"},backgroundOverlayPosition:{type:"string",default:"top left"},backgroundOverlayRepeat:{type:"string",default:"repeat"},backgroundOverlaySize:{type:"string",default:"auto"},backgroundOverlayGradientFirstColor:{type:"string",default:"#36d1dc"},backgroundOverlayGradientFirstLocation:{type:"number",default:0},backgroundOverlayGradientSecondColor:{type:"string",default:"#5b86e5"},backgroundOverlayGradientSecondLocation:{type:"number",default:100},backgroundOverlayGradientType:{type:"string",default:"linear"},backgroundOverlayGradientAngle:{type:"number",default:90},backgroundOverlayGradientPosition:{type:"string",default:"center center"},backgroundOverlayFilterBlur:{type:"number",default:0},backgroundOverlayFilterBrightness:{type:"number",default:10},backgroundOverlayFilterContrast:{type:"number",default:10},backgroundOverlayFilterGrayscale:{type:"number",default:0},backgroundOverlayFilterHue:{type:"number",default:0},backgroundOverlayFilterSaturate:{type:"number",default:10},backgroundOverlayBlend:{type:"string",default:"normal"},borderType:{type:"string",default:"linked"},border:{type:"number",default:0},borderTop:{type:"number",default:0},borderRight:{type:"number",default:0},borderBottom:{type:"number",default:0},borderLeft:{type:"number",default:0},borderColor:{type:"string",default:"#000000"},borderRadiusType:{type:"string",default:"linked"},borderRadius:{type:"number",default:0},borderRadiusTop:{type:"number",default:0},borderRadiusRight:{type:"number",default:0},borderRadiusBottom:{type:"number",default:0},borderRadiusLeft:{type:"number",default:0},boxShadow:{type:"boolean",default:!1},boxShadowColor:{type:"string",default:"#000000"},boxShadowColorOpacity:{type:"number",default:50},boxShadowBlur:{type:"number",default:5},boxShadowSpread:{type:"number",default:0},boxShadowHorizontal:{type:"number",default:0},boxShadowVertical:{type:"number",default:0},dividerTopType:{type:"string",default:"none"},dividerTopColor:{type:"string",default:"#000000"},dividerTopWidth:{type:"number",default:100},dividerTopWidthTablet:{type:"number",default:100},dividerTopWidthMobile:{type:"number",default:100},dividerTopHeight:{type:"number",default:100},dividerTopHeightTablet:{type:"number",default:100},dividerTopHeightMobile:{type:"number",default:100},dividerTopInvert:{type:"boolean",default:!1},dividerBottomType:{type:"string",default:"none"},dividerBottomColor:{type:"string",default:"#000000"},dividerBottomWidth:{type:"number",default:100},dividerBottomWidthTablet:{type:"number",default:100},dividerBottomWidthMobile:{type:"number",default:100},dividerBottomHeight:{type:"number",default:100},dividerBottomHeightTablet:{type:"number",default:100},dividerBottomHeightMobile:{type:"number",default:100},dividerBottomInvert:{type:"boolean",default:!1},hide:{type:"boolean",default:!1},hideTablet:{type:"boolean",default:!1},hideMobile:{type:"boolean",default:!1},columnsHTMLTag:{type:"string",default:"div"}},supports:{align:["wide","full"],html:!1},save:function(e){var t,n,a,l,o,r,i=e.attributes,d=e.className,m=i.columnsHTMLTag;("color"===i.backgroundType&&(t={background:i.backgroundColor}),"image"===i.backgroundType&&(t={backgroundImage:"url( '".concat(i.backgroundImageURL,"' )"),backgroundAttachment:i.backgroundAttachment,backgroundPosition:i.backgroundPosition,backgroundRepeat:i.backgroundRepeat,backgroundSize:i.backgroundSize}),"gradient"===i.backgroundType)&&(r="linear"===i.backgroundGradientType?"".concat(i.backgroundGradientAngle,"deg"):"at ".concat(i.backgroundGradientPosition),t={background:"".concat(i.backgroundGradientType,"-gradient( ").concat(r,", ").concat(i.backgroundGradientFirstColor||"rgba( 0, 0, 0, 0 )"," ").concat(i.backgroundGradientFirstLocation,"%, ").concat(i.backgroundGradientSecondColor||"rgba( 0, 0, 0, 0 )"," ").concat(i.backgroundGradientSecondLocation,"% )")});"linked"===i.borderType&&(a={borderWidth:"".concat(i.border,"px"),borderStyle:"solid",borderColor:i.borderColor}),"unlinked"===i.borderType&&(a={borderTopWidth:"".concat(i.borderTop,"px"),borderRightWidth:"".concat(i.borderRight,"px"),borderBottomWidth:"".concat(i.borderBottom,"px"),borderLeftWidth:"".concat(i.borderLeft,"px"),borderStyle:"solid",borderColor:i.borderColor}),"linked"===i.borderRadiusType&&(l={borderRadius:"".concat(i.borderRadius,"px")}),"unlinked"===i.borderRadiusType&&(l={borderTopLeftRadius:"".concat(i.borderRadiusTop,"px"),borderTopRightRadius:"".concat(i.borderRadiusRight,"px"),borderBottomRightRadius:"".concat(i.borderRadiusBottom,"px"),borderBottomLeftRadius:"".concat(i.borderRadiusLeft,"px")}),!0===i.boxShadow&&(o={boxShadow:"".concat(i.boxShadowHorizontal,"px ").concat(i.boxShadowVertical,"px ").concat(i.boxShadowBlur,"px ").concat(i.boxShadowSpread,"px ").concat(p()(i.boxShadowColor?i.boxShadowColor:"#000000",i.boxShadowColorOpacity))});var u,g=s({},t,{},a,{},l,{},o,{justifyContent:i.horizontalAlign});("color"===i.backgroundOverlayType&&(n={background:i.backgroundOverlayColor,opacity:i.backgroundOverlayOpacity/100}),"image"===i.backgroundOverlayType&&(n={backgroundImage:"url( '".concat(i.backgroundOverlayImageURL,"' )"),backgroundAttachment:i.backgroundOverlayAttachment,backgroundPosition:i.backgroundOverlayPosition,backgroundRepeat:i.backgroundOverlayRepeat,backgroundSize:i.backgroundOverlaySize,opacity:i.backgroundOverlayOpacity/100}),"gradient"===i.backgroundOverlayType)&&(u="linear"===i.backgroundOverlayGradientType?"".concat(i.backgroundOverlayGradientAngle,"deg"):"at ".concat(i.backgroundOverlayGradientPosition),n={background:"".concat(i.backgroundOverlayGradientType,"-gradient( ").concat(u,", ").concat(i.backgroundOverlayGradientFirstColor||"rgba( 0, 0, 0, 0 )"," ").concat(i.backgroundOverlayGradientFirstLocation,"%, ").concat(i.backgroundOverlayGradientSecondColor||"rgba( 0, 0, 0, 0 )"," ").concat(i.backgroundOverlayGradientSecondLocation,"% )"),opacity:i.backgroundOverlayOpacity/100});var h=s({},n,{mixBlendMode:i.backgroundOverlayBlend}),f={};i.columnsWidth&&(f={maxWidth:i.columnsWidth+"px"});var w=i.hide?"":"has-desktop-".concat(i.layout,"-layout"),v=i.hideTablet?"":"has-tablet-".concat(i.layoutTablet,"-layout"),k=i.hideMobile?"":"has-mobile-".concat(i.layoutMobile,"-layout"),T=c()(d,"has-".concat(i.columns,"-columns"),w,v,k,{"hide-in-desktop":i.hide},{"hide-in-tablet":i.hideTablet},{"hide-in-mobile":i.hideMobile},"has-".concat(i.columnsGap,"-gap"),"has-vertical-".concat(i.verticalAlign));return wp.element.createElement(m,{className:T,id:i.id,style:g},wp.element.createElement("div",{className:"wp-themeisle-block-overlay",style:h}),wp.element.createElement(y,{type:"top",front:!0,style:i.dividerTopType,fill:i.dividerTopColor,invert:i.dividerTopInvert}),wp.element.createElement("div",{className:"innerblocks-wrap",style:f},wp.element.createElement(b.Content,null)),wp.element.createElement(y,{type:"bottom",front:!0,style:i.dividerBottomType,fill:i.dividerBottomColor,invert:i.dividerBottomInvert}))}}],v=n(5),k=n(17),T=n(24),E=n(3),x=n(4),C=n(14),S=n(18),B=n(8);function M(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function O(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var R=wp.i18n.__,N=wp.components,L=N.BaseControl,z=N.Button,H=N.ButtonGroup,_=N.Dashicon,P=N.Icon,A=N.IconButton,I=N.PanelBody,F=N.Tooltip,j=N.ToggleControl,V=N.RangeControl,G=N.SelectControl,D=N.TextControl,W=wp.blockEditor,q=W.ColorPalette,Z=W.InspectorAdvancedControls,U=W.InspectorControls,Q=W.MediaPlaceholder,K=wp.element,J=K.Fragment,Y=K.useState,X=function(e){var t=e.attributes,n=e.setAttributes,a=e.updateColumnsWidth,o=e.dividerViewType,r=e.setDividerViewType,i=O(Y("layout"),2),d=i[0],p=i[1],m=O(Y("desktop"),2),s=m[0],u=m[1],b=O(Y("desktop"),2),g=b[0],h=b[1],f=O(Y("desktop"),2),y=f[0],w=f[1],v=O(Y("desktop"),2),k=v[0],N=v[1],W=O(Y("desktop"),2),K=W[0],X=W[1],$=O(Y("desktop"),2),ee=$[0],te=$[1],ne=function(){var e;return"desktop"===g&&(e=t.paddingType),"tablet"===g&&(e=t.paddingTypeTablet),"mobile"===g&&(e=t.paddingTypeMobile),e};ne=ne();var ae={top:"paddingTop",right:"paddingRight",bottom:"paddingBottom",left:"paddingLeft"},le={top:"paddingTopTablet",right:"paddingRightTablet",bottom:"paddingBottomTablet",left:"paddingLeftTablet"},oe={top:"paddingTopMobile",right:"paddingRightMobile",bottom:"paddingBottomMobile",left:"paddingLeftMobile"},re=function(e){var n;return"top"==e&&("desktop"===g&&(n="linked"===t.paddingType?t.padding:t.paddingTop),"tablet"===g&&(n="linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingTopTablet),"mobile"===g&&(n="linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingTopMobile)),"right"==e&&("desktop"===g&&(n="linked"===t.paddingType?t.padding:t.paddingRight),"tablet"===g&&(n="linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingRightTablet),"mobile"===g&&(n="linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingRightMobile)),"bottom"==e&&("desktop"===g&&(n="linked"===t.paddingType?t.padding:t.paddingBottom),"tablet"===g&&(n="linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingBottomTablet),"mobile"===g&&(n="linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingBottomMobile)),"left"==e&&("desktop"===g&&(n="linked"===t.paddingType?t.padding:t.paddingLeft),"tablet"===g&&(n="linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingLeftTablet),"mobile"===g&&(n="linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingLeftMobile)),n},ie=function(){var e;return"desktop"===y&&(e=t.marginType),"tablet"===y&&(e=t.marginTypeTablet),"mobile"===y&&(e=t.marginTypeMobile),e};ie=ie();var ce={top:"marginTop",bottom:"marginBottom"},de={top:"marginTopTablet",bottom:"marginBottomTablet"},pe={top:"marginTopMobile",bottom:"marginBottomMobile"},me=function(e){var n;return"top"==e&&("desktop"===y&&(n="linked"===t.marginType?t.margin:t.marginTop),"tablet"===y&&(n="linked"===t.marginTypeTablet?t.marginTablet:t.marginTopTablet),"mobile"===y&&(n="linked"===t.marginTypeMobile?t.marginMobile:t.marginTopMobile)),"bottom"==e&&("desktop"===y&&(n="linked"===t.marginType?t.margin:t.marginBottom),"tablet"===y&&(n="linked"===t.marginTypeTablet?t.marginTablet:t.marginBottomTablet),"mobile"===y&&(n="linked"===t.marginTypeMobile?t.marginMobile:t.marginBottomMobile)),n},se=function(e){if(t.horizontalAlign===e)return n({horizontalAlign:"unset"});n({horizontalAlign:e})},ue=function(){var e;return"desktop"===k&&(e=t.columnsHeightCustom),"tablet"===k&&(e=t.columnsHeightCustomTablet),"mobile"===k&&(e=t.columnsHeightCustomMobile),e};ue=ue();var be=function(e){if(t.verticalAlign===e)return n({verticalAlign:"unset"});n({verticalAlign:e})},ge=function(){n({backgroundImageID:"",backgroundImageURL:""})},he=function(){n({backgroundOverlayImageID:"",backgroundOverlayImageURL:""})},fe={top:"borderTop",right:"borderRight",bottom:"borderBottom",left:"borderLeft"},ye=function(e){var n;return"top"==e&&(n="linked"===t.borderType?t.border:t.borderTop),"right"==e&&(n="linked"===t.borderType?t.border:t.borderRight),"bottom"==e&&(n="linked"===t.borderType?t.border:t.borderBottom),"left"==e&&(n="linked"===t.borderType?t.border:t.borderLeft),n},we={top:"borderRadiusTop",right:"borderRadiusRight",bottom:"borderRadiusBottom",left:"borderRadiusLeft"},ve=function(e){var n;return"top"==e&&(n="linked"===t.borderRadiusType?t.borderRadius:t.borderRadiusTop),"right"==e&&(n="linked"===t.borderRadiusType?t.borderRadius:t.borderRadiusRight),"bottom"==e&&(n="linked"===t.borderRadiusType?t.borderRadius:t.borderRadiusBottom),"left"==e&&(n="linked"===t.borderRadiusType?t.borderRadius:t.borderRadiusLeft),n},ke=function(){var e;return"top"==o&&(e=t.dividerTopType),"bottom"==o&&(e=t.dividerBottomType),e};ke=ke();var Te=function(){var e;return"top"==o&&(e=t.dividerTopColor),"bottom"==o&&(e=t.dividerBottomColor),e};Te=Te();var Ee=function(){var e;return"top"==o&&("desktop"==K&&(e=t.dividerTopWidth),"tablet"==K&&(e=t.dividerTopWidthTablet),"mobile"==K&&(e=t.dividerTopWidthMobile)),"bottom"==o&&("desktop"==K&&(e=t.dividerBottomWidth),"tablet"==K&&(e=t.dividerBottomWidthTablet),"mobile"==K&&(e=t.dividerBottomWidthMobile)),e};Ee=Ee();var xe=function(){var e;return"top"==o&&("desktop"==ee&&(e=t.dividerTopHeight),"tablet"==ee&&(e=t.dividerTopHeightTablet),"mobile"==ee&&(e=t.dividerTopHeightMobile)),"bottom"==o&&("desktop"==ee&&(e=t.dividerBottomHeight),"tablet"==ee&&(e=t.dividerBottomHeightTablet),"mobile"==ee&&(e=t.dividerBottomHeightMobile)),e};xe=xe();var Ce=function(){var e;return"top"==o&&(e=t.dividerTopInvert),"bottom"==o&&(e=t.dividerBottomInvert),e};Ce=Ce();var Se=function(e,t){"desktop"===t&&n({hide:e}),"tablet"===t&&n({hideTablet:e}),"mobile"===t&&n({hideMobile:e})},Be=function(e,t){"tablet"===t&&n({reverseColumnsTablet:e}),"mobile"===t&&n({reverseColumnsMobile:e})};return wp.element.createElement(J,null,wp.element.createElement(U,null,wp.element.createElement(I,{className:"wp-block-themeisle-blocks-advanced-columns-header-panel"},wp.element.createElement(z,{className:c()("header-tab",{"is-selected":"layout"===d}),onClick:function(){return p("layout")}},wp.element.createElement("span",null,wp.element.createElement(_,{icon:"editor-table"}),R("Layout"))),wp.element.createElement(z,{className:c()("header-tab",{"is-selected":"style"===d}),onClick:function(){return p("style")}},wp.element.createElement("span",null,wp.element.createElement(_,{icon:"admin-customizer"}),R("Style"))),wp.element.createElement(z,{className:c()("header-tab",{"is-selected":"advanced"===d}),onClick:function(){return p("advanced")}},wp.element.createElement("span",null,wp.element.createElement(_,{icon:"admin-generic"}),R("Advanced")))),"layout"===d&&wp.element.createElement(J,null,wp.element.createElement(I,{title:R("Columns & Layout")},wp.element.createElement(V,{label:R("Columns"),value:t.columns,onChange:function(e){6>=e&&(n({columns:e,layout:"equal",layoutTablet:"equal",layoutMobile:"collapsedRows"}),a(e,"equal")),6<e&&(n({columns:6,layout:"equal",layoutTablet:"equal",layoutMobile:"collapsedRows"}),a(6,"equal")),1>=e&&(n({columns:1,layout:"equal",layoutTablet:"equal",layoutMobile:"equal"}),a(1,"equal"))},min:1,max:6}),wp.element.createElement(T.default,{label:R("Layout"),columns:t.columns,layout:t.layout,layoutTablet:t.layoutTablet,layoutMobile:t.layoutMobile,view:s,changeViewType:u,onClick:function(e){"desktop"===s&&(n({layout:e}),a(t.columns,e)),"tablet"===s&&n({layoutTablet:e}),"mobile"===s&&n({layoutMobile:e})}}),wp.element.createElement(G,{label:R("Columns Gap"),value:t.columnsGap,options:[{label:"Default (10px)",value:"default"},{label:"No Gap",value:"nogap"},{label:"Narrow (5px)",value:"narrow"},{label:"Extended (15px)",value:"extended"},{label:"Wide (20px)",value:"wide"},{label:"Wider (30px)",value:"wider"}],onChange:function(e){n({columnsGap:e})}})),wp.element.createElement(I,{title:R("Spacing"),initialOpen:!1},wp.element.createElement(x.a,{label:"Padding",view:g,changeViewType:h},wp.element.createElement(E.a,{type:ne,min:0,max:500,changeType:function(e){"desktop"===g&&n({paddingType:e}),"tablet"===g&&n({paddingTypeTablet:e}),"mobile"===g&&n({paddingTypeMobile:e})},onChange:function(e,a){"desktop"===g&&("linked"===t.paddingType?n({padding:a}):n(M({},ae[e],a))),"tablet"===g&&("linked"===t.paddingTypeTablet?n({paddingTablet:a}):n(M({},le[e],a))),"mobile"===g&&("linked"===t.paddingTypeMobile?n({paddingMobile:a}):n(M({},oe[e],a)))},options:[{label:R("Top"),type:"top",value:re("top")},{label:R("Right"),type:"right",value:re("right")},{label:R("Bottom"),type:"bottom",value:re("bottom")},{label:R("Left"),type:"left",value:re("left")}]})),wp.element.createElement(x.a,{label:"Margin",view:y,changeViewType:w},wp.element.createElement(E.a,{type:ie,min:-500,max:500,changeType:function(e){"desktop"===y&&n({marginType:e}),"tablet"===y&&n({marginTypeTablet:e}),"mobile"===y&&n({marginTypeMobile:e})},onChange:function(e,a){"desktop"===y&&("linked"===t.marginType?n({margin:a}):n(M({},ce[e],a))),"tablet"===y&&("linked"===t.marginTypeTablet?n({marginTablet:a}):n(M({},de[e],a))),"mobile"===y&&("linked"===t.marginTypeMobile?n({marginMobile:a}):n(M({},pe[e],a)))},options:[{label:R("Top"),type:"top",value:me("top")},{label:R("Right"),disabled:!0},{label:R("Bottom"),type:"bottom",value:me("bottom")},{label:R("Left"),disabled:!0}]}))),wp.element.createElement(I,{title:R("Section Structure"),initialOpen:!1},wp.element.createElement(V,{label:R("Maximum Content Width"),value:t.columnsWidth||"",onChange:function(e){(0<=e&&1200>=e||void 0===e)&&n({columnsWidth:e})},min:0,max:1200}),t.columnsWidth&&wp.element.createElement(L,{label:"Horizontal Align"},wp.element.createElement(H,{className:"icon-buttom-group"},wp.element.createElement(F,{text:R("Left")},wp.element.createElement(A,{icon:"editor-alignleft",className:"is-button is-large",isPrimary:"flex-start"===t.horizontalAlign,onClick:function(){return se("flex-start")}})),wp.element.createElement(F,{text:R("Center")},wp.element.createElement(A,{icon:"editor-aligncenter",className:"is-button is-large",isPrimary:"center"===t.horizontalAlign,onClick:function(){return se("center")}})),wp.element.createElement(F,{text:R("Right")},wp.element.createElement(A,{icon:"editor-alignright",className:"is-button is-large",isPrimary:"flex-end"===t.horizontalAlign,onClick:function(){return se("flex-end")}})))),wp.element.createElement(G,{label:R("Minimum Height"),value:t.columnsHeight,options:[{label:"Default",value:"auto"},{label:"Fit to Screen",value:"100vh"},{label:"Custom",value:"custom"}],onChange:function(e){n({columnsHeight:e})}}),"custom"===t.columnsHeight&&wp.element.createElement(x.a,{label:"Custom Height",view:k,changeViewType:N},wp.element.createElement(V,{value:ue||"",onChange:function(e){"desktop"===k&&n({columnsHeightCustom:e}),"tablet"===k&&n({columnsHeightCustomTablet:e}),"mobile"===k&&n({columnsHeightCustomMobile:e})},min:0,max:1e3})),wp.element.createElement(L,{label:"Vertical Align"},wp.element.createElement(H,{className:"icon-buttom-group"},wp.element.createElement(F,{text:R("Top")},wp.element.createElement(z,{className:"components-icon-button is-button is-large",isPrimary:"flex-start"===t.verticalAlign,onClick:function(){return be("flex-start")}},wp.element.createElement(P,{icon:l.s,size:20}))),wp.element.createElement(F,{text:R("Middle")},wp.element.createElement(z,{className:"components-icon-button is-button is-large",isPrimary:"center"===t.verticalAlign,onClick:function(){return be("center")}},wp.element.createElement(P,{icon:l.j,size:20}))),wp.element.createElement(F,{text:R("Bottom")},wp.element.createElement(z,{className:"components-icon-button is-button is-large",isPrimary:"flex-end"===t.verticalAlign,onClick:function(){return be("flex-end")}},wp.element.createElement(P,{icon:l.c,size:20})))))))||"style"===d&&wp.element.createElement(J,null,wp.element.createElement(I,{title:R("Background Settings"),className:"wp-block-themeisle-image-container"},wp.element.createElement(C.default,{label:R("Background Type"),backgroundType:t.backgroundType,changeBackgroundType:function(e){n({backgroundType:e})}}),"color"===t.backgroundType&&wp.element.createElement(J,null,wp.element.createElement("p",null,R("Background Color")),wp.element.createElement(q,{label:"Background Color",value:t.backgroundColor,onChange:function(e){n({backgroundColor:e})}}))||"image"===t.backgroundType&&(t.backgroundImageURL?wp.element.createElement(J,null,wp.element.createElement("div",{className:"image-body"},wp.element.createElement("div",{className:"image-container"},wp.element.createElement("div",{className:"image-holder",style:{backgroundImage:"url('".concat(t.backgroundImageURL,"')")}}),wp.element.createElement("div",{className:"image-delete",onClick:ge},wp.element.createElement(_,{icon:"trash"}),wp.element.createElement("span",null,R("Remove Image"))))),wp.element.createElement(z,{isDefault:!0,className:"image-delete-button",onClick:ge},R("Change or Remove Image")),wp.element.createElement(B.a,{label:"Background Settings"},wp.element.createElement(G,{label:R("Background Attachment"),value:t.backgroundAttachment,options:[{label:"Scroll",value:"scroll"},{label:"Fixed",value:"fixed"},{label:"Local",value:"local"}],onChange:function(e){n({backgroundAttachment:e})}}),wp.element.createElement(G,{label:R("Background Position"),value:t.backgroundPosition,options:[{label:"Default",value:"top left"},{label:"Top Left",value:"top left"},{label:"Top Center",value:"top center"},{label:"Top Right",value:"top right"},{label:"Center Left",value:"center left"},{label:"Center Center",value:"center center"},{label:"Center Right",value:"center right"},{label:"Bottom Left",value:"bottom left"},{label:"Bottom Center",value:"bottom center"},{label:"Bottom Right",value:"bottom right"}],onChange:function(e){n({backgroundPosition:e})}}),wp.element.createElement(G,{label:R("Background Repeat"),value:t.backgroundRepeat,options:[{label:"Repeat",value:"repeat"},{label:"No-repeat",value:"no-repeat"}],onChange:function(e){n({backgroundRepeat:e})}}),wp.element.createElement(G,{label:R("Background Size"),value:t.backgroundSize,options:[{label:"Auto",value:"auto"},{label:"Cover",value:"cover"},{label:"Contain",value:"contain"}],onChange:function(e){n({backgroundSize:e})}}))):wp.element.createElement(Q,{icon:"format-image",labels:{title:R("Background Image"),name:R("an image")},value:t.backgroundImageID,onSelect:function(e){n({backgroundImageID:e.id,backgroundImageURL:e.url})},accept:"image/*",allowedTypes:["image"]}))||"gradient"===t.backgroundType&&wp.element.createElement(S.a,{label:"Background Gradient",value:{firstColor:t.backgroundGradientFirstColor,firstLocation:t.backgroundGradientFirstLocation,secondColor:t.backgroundGradientSecondColor,secondLocation:t.backgroundGradientSecondLocation,type:t.backgroundGradientType,angle:t.backgroundGradientAngle,position:t.backgroundGradientPosition},onChange:function(e,t,a,l,o,r,i){n({backgroundGradientFirstColor:e,backgroundGradientFirstLocation:t,backgroundGradientSecondColor:a,backgroundGradientSecondLocation:l,backgroundGradientType:o,backgroundGradientAngle:r,backgroundGradientPosition:i})}})),wp.element.createElement(I,{title:R("Background Overlay"),className:"wp-block-themeisle-image-container",initialOpen:!1},wp.element.createElement(C.default,{label:R("Overlay Type"),backgroundType:t.backgroundOverlayType,changeBackgroundType:function(e){n({backgroundOverlayType:e})}}),wp.element.createElement(V,{label:R("Overlay Opacity"),value:t.backgroundOverlayOpacity,onChange:function(e){n({backgroundOverlayOpacity:e})},min:0,max:100}),"color"===t.backgroundOverlayType&&wp.element.createElement(J,null,wp.element.createElement("p",null,R("Overlay Color")),wp.element.createElement(q,{label:"Overlay Color",value:t.backgroundOverlayColor,onChange:function(e){n({backgroundOverlayColor:e})}}))||"image"===t.backgroundOverlayType&&(t.backgroundOverlayImageURL?wp.element.createElement(J,null,wp.element.createElement("div",{className:"image-body"},wp.element.createElement("div",{className:"image-container"},wp.element.createElement("div",{className:"image-holder",style:{backgroundImage:"url('".concat(t.backgroundOverlayImageURL,"')")}}),wp.element.createElement("div",{className:"image-delete",onClick:he},wp.element.createElement(_,{icon:"trash"}),wp.element.createElement("span",null,R("Remove Image"))))),wp.element.createElement(z,{isDefault:!0,className:"image-delete-button",onClick:he},R("Change or Remove Image")),wp.element.createElement(B.a,{label:"Background Settings"},wp.element.createElement(G,{label:R("Background Attachment"),value:t.backgroundOverlayAttachment,options:[{label:"Scroll",value:"scroll"},{label:"Fixed",value:"fixed"},{label:"Local",value:"local"}],onChange:function(e){n({backgroundOverlayAttachment:e})}}),wp.element.createElement(G,{label:R("Background Position"),value:t.backgroundOverlayPosition,options:[{label:"Default",value:"top left"},{label:"Top Left",value:"top left"},{label:"Top Center",value:"top center"},{label:"Top Right",value:"top right"},{label:"Center Left",value:"center left"},{label:"Center Center",value:"center center"},{label:"Center Right",value:"center right"},{label:"Bottom Left",value:"bottom left"},{label:"Bottom Center",value:"bottom center"},{label:"Bottom Right",value:"bottom right"}],onChange:function(e){n({backgroundOverlayPosition:e})}}),wp.element.createElement(G,{label:R("Background Repeat"),value:t.backgroundOverlayRepeat,options:[{label:"Repeat",value:"repeat"},{label:"No-repeat",value:"no-repeat"}],onChange:function(e){n({backgroundOverlayRepeat:e})}}),wp.element.createElement(G,{label:R("Background Size"),value:t.backgroundOverlaySize,options:[{label:"Auto",value:"auto"},{label:"Cover",value:"cover"},{label:"Contain",value:"contain"}],onChange:function(e){n({backgroundOverlaySize:e})}}))):wp.element.createElement(Q,{icon:"format-image",labels:{title:R("Background Image"),name:R("an image")},value:t.backgroundOverlayImageID,onSelect:function(e){n({backgroundOverlayImageID:e.id,backgroundOverlayImageURL:e.url})},accept:"image/*",allowedTypes:["image"]}))||"gradient"===t.backgroundOverlayType&&wp.element.createElement(S.a,{label:"Background Gradient",value:{firstColor:t.backgroundOverlayGradientFirstColor,firstLocation:t.backgroundOverlayGradientFirstLocation,secondColor:t.backgroundOverlayGradientSecondColor,secondLocation:t.backgroundOverlayGradientSecondLocation,type:t.backgroundOverlayGradientType,angle:t.backgroundOverlayGradientAngle,position:t.backgroundOverlayGradientPosition},onChange:function(e,t,a,l,o,r,i){n({backgroundOverlayGradientFirstColor:e,backgroundOverlayGradientFirstLocation:t,backgroundOverlayGradientSecondColor:a,backgroundOverlayGradientSecondLocation:l,backgroundOverlayGradientType:o,backgroundOverlayGradientAngle:r,backgroundOverlayGradientPosition:i})}}),wp.element.createElement(B.a,{label:"CSS Filters"},wp.element.createElement(V,{label:R("Blur"),value:t.backgroundOverlayFilterBlur,onChange:function(e){n({backgroundOverlayFilterBlur:e})},min:0,max:100}),wp.element.createElement(V,{label:R("Brightness"),value:t.backgroundOverlayFilterBrightness,onChange:function(e){n({backgroundOverlayFilterBrightness:e})},min:0,max:100}),wp.element.createElement(V,{label:R("Contrast"),value:t.backgroundOverlayFilterContrast,onChange:function(e){n({backgroundOverlayFilterContrast:e})},min:0,max:100}),wp.element.createElement(V,{label:R("Grayscale"),value:t.backgroundOverlayFilterGrayscale,onChange:function(e){n({backgroundOverlayFilterGrayscale:e})},min:0,max:100}),wp.element.createElement(V,{label:R("Hue"),value:t.backgroundOverlayFilterHue,onChange:function(e){n({backgroundOverlayFilterHue:e})},min:0,max:360}),wp.element.createElement(V,{label:R("Saturation"),value:t.backgroundOverlayFilterSaturate,onChange:function(e){n({backgroundOverlayFilterSaturate:e})},min:0,max:100})),wp.element.createElement(G,{label:R("Blend Mode"),value:t.backgroundOverlayBlend,options:[{label:"Normal",value:"normal"},{label:"Multiply",value:"multiply"},{label:"Screen",value:"screen"},{label:"Overlay",value:"ove